Bug 182068 - graphics/lprof-devel requires qt33 files not in dependency tree
Summary: graphics/lprof-devel requires qt33 files not in dependency tree
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-13 19:30 UTC by freebsd
Modified: 2013-09-25 00:33 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2013-09-13 19:30:00 UTC
The lprof-devel port (graphics/lprof-devel) builds and installs correctly, but when run complains about missing files for the help facility.  If you activate help it complains about missing files like "linguist.dcf".  These appear to have been part of the x11-toolkits/qt33 port which has been deleted.

It's not clear to me whether this is a missing dependency in the lprof-devel port, or a problem with the port not being properly upgraded to qt4.

How-To-Repeat: $ lprof
  You will get a message about QAssistantClient executable not found.
  click "OK"
  lprof will display its main screen.
  click "Monitor Profiler" tab.
  click "Help" button.
  "Qt Assistant by nokia" window will be displayed,
    along with a dialog that says "Documentation file /usr/local/share/doc/qt4/html/assistant.dcf does not exist!"
  Dismissing the dialog will run through a few other missing files:
    designer.dcf, linguist.dcf, qt.dcf, and qmake.dcf
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-13 19:44:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-09-14 02:22:53 UTC
Author: amdmi3
Date: Sat Sep 14 01:22:46 2013
New Revision: 327212
URL: http://svnweb.freebsd.org/changeset/ports/327212

Log:
  Fix path to qt4 assistant
  
  PR:		182068
  Submitted by:	Gary Aitken <freebsd@dreamchaser.org>

Added:
  head/graphics/lprof-devel/files/patch-src-lprofqt-config.cpp   (contents, props changed)

Added: head/graphics/lprof-devel/files/patch-src-lprofqt-config.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/lprof-devel/files/patch-src-lprofqt-config.cpp	Sat Sep 14 01:22:46 2013	(r327212)
@@ -0,0 +1,11 @@
+--- ./src/lprofqt/config.cpp.orig	2008-03-09 01:31:11.000000000 +0300
++++ ./src/lprofqt/config.cpp	2013-09-14 04:36:26.160226093 +0400
+@@ -206,7 +206,7 @@
+     const QString assist = QString::fromLocal8Bit("assistant.app/Contents/MacOS/assistant");
+ # else
+     QChar pathSep = QChar::fromLatin1(':');
+-    const QString assist = QString::fromLocal8Bit("assistant");
++    const QString assist = QString::fromLocal8Bit("assistant-qt4");
+ # endif /* __WIN32__ */
+     
+     QString Path = QString::fromLocal8Bit(getenv("PATH"));
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Dmitry Marakasov 2013-09-14 02:29:37 UTC
* Gary Aitken (freebsd@dreamchaser.org) wrote:

> The lprof-devel port (graphics/lprof-devel) builds and installs
> correctly, but when run complains about missing files for the help
> facility.  If you activate help it complains about missing files
> like "linguist.dcf".  These appear to have been part of the
> x11-toolkits/qt33 port which has been deleted.

I've fixed the path to Qt4 assistant in lprof (r327212), however the
help still won't be displayed because qt4-libqtassistantclient is
outdated: it calls assistant as

/usr/local/bin/assistant-qt4 -server -profile /usr/local/share/lprof/data/help/en/lprof-help.adp

while both -server and -profile are not supported by assistant.

Either qt4-libqtassistantclient should be updated to the later version
(I'm not sure if that's available at all) or lprof fixed so it doesn't
use it. Will investigate this more later.

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru    http://www.amdmi3.ru
Comment 4 Dmitry Marakasov freebsd_committer freebsd_triage 2013-09-25 00:33:44 UTC
State Changed
From-To: open->closed

Upstream problem; either libQtAssistantClient should be updated to 
support Qt 4.8 or lprof itself should be fixed