On Sun, 19 Apr 2009 20:55:21 +0400, Stanislav Sedov wrote: > On Sun, 19 Apr 2009 09:47:12 -0500 > > Scot Hetzel <[email protected]> mentioned: > > > On Tuesday 14 April 2009, Stanislav Sedov wrote: > > > > On Tue, 14 Apr 2009 14:00:19 +0400 > > > > > > > > Max Brazhnikov <makc at freebsd.org> mentioned: > > > > > koffice (and most if not all of kde3 ports) uses both shared and > > > > > static libraries. And it seems kde3 is not supposed to build > > > > > without static libs, so I think lcms should be reverted. > > > > > > > > Then it is clearly a bug in kde build system and should be fixed > > > > there and submitted upstream. Furthermore, it is a security > > > > maintaince problem. > > > > > > KDE doesn't need static library, and don't use static library when a > > > dynamic library is available. And .la isn't a static library, but a > > > libtool archive which is needed by libtool to properly link. In > > > KDE4/KOffice2, libtool isn't used and therfore the problem has been > > > "fixed", but for KDE3/KOffice 1.x, the only solution is to use the > > > liblcms.la file (which in itself doesn't cause a security maitenance). > > > > > > -- > > > Cyrille Berger > > > > I can confirm that reverting the change that disables the install of > > liblcms.a and liblcms.la and rebuilding the graphics/lcms port allows > > editors/koffice-kde3 to install. > > > > ldd on PREFIX/lib/kde3/libkritagmagick{export,import}.so shows that > > editors/koffice-kde3 is using the shared liblcms.so.1 library. > > > > I have submitted PR 133856. The patch uses --enable-static=no to > > disable the install of the static library, and removes the change from > > the ports Makefile that disabled the install of the static library and > > liblcms.la file. > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=133856 > > ..la files is not used on FreeBSD to link applications. The problem > you're expireincing is probably because of stale .la files in > /usr/local/lib that contain references to lcms.la. Either reinstall > all ports that depend on lcms first (I suppose, it's ImageMagick for koffice depends on GraphicsMagick, which has to be rebuilt after lcms update.
> you), or grep /usr/local/lib for lcms.la and strip references by hand. _______________________________________________ kde-freebsd mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information
