[kde-freebsd] Fix for broken print/lyx15 freebsd port

Sumedh Wale sumwale at gmail.com
Tue Feb 5 10:14:03 CET 2008


The print/lyx15 port marked broken due to build problems seems to be due to
issues with qconfig.h created by the devel/qt4-corelib port. The
qconfig.hshipped with the package (at least in packages-6-stable) sets
QT_NO_SESSIONMANAGER by default. It also sets a bunch of other options like
QT_NO_RENDER, QT_NO_XCURSOR, QT_NO_FONTCONFIG etc. by default which will
cause incorrect behaviour or break other ports. I built devel/qt4-corelib
from source whose qconfig.h does not have these issues and print/lyx15 build
problems go away. The full diff between the two qconfig.h's is attached. No
idea how those issues arise in the available package other than a guess that
some Xorg or other libraries are not installed when qt4-corelib is built,
causing QT4 to unset those features. Ideally since the qconfig.h is
generated by qt4-corelib and used by all other packages including qt4-gui,
it should have the dependencies that other qt4 packages have so that the
relevant features are set correctly.

I also made a few other changes to the print/lyx15 port including correcting
the pkg-plist, adding lyx.desktop and link to lyx.xpm, adding /usr/local as
extra prefix (otherwise configure fails to find Aiksaurus) -- the diff is
attached. Please correct these issues and mark the port as unbroken. Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-freebsd/attachments/20080205/54b79093/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qconf.diff
Type: application/octet-stream
Size: 6098 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20080205/54b79093/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lyx15-port.diff
Type: application/octet-stream
Size: 7874 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20080205/54b79093/attachment-0001.obj 

More information about the kde-freebsd mailing list