On Mon, Dec 26, 2005 at 12:04:45AM +0100, Christoffer Sawicki wrote: > > The current version of gtk-qt-engine fails to build on > > GNU/kFreeBSD, because of outdated libtool. > > > > The version of libtool in gtk-qt-engine is too old to correctly > > support Debian GNU/k*BSD. > > > > Here is how to update the libtool in your package: > > cp -f /usr/share/libtool/libtool.m4 admin/libtool.m4.in > > cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh > > cp -f /usr/share/misc/config.guess admin/config.guess > > cp -f /usr/share/misc/config.sub admin/config.sub > > > > (alternatively you can update the admin/ directory from the latest > > KDE SVN [1] instead). > > > > make -f admin/Makefile.common > > Following these instructions stop the binaries from linking correctly. > I was suggested that this is a problem with some other part of the upstream > sources. I'd be very grateful if you could give some more clues or possibly > take a stab at it. > Oops, sorry about that. I have tested the update of libtool on GNU/kFreeBSD, and not on GNU/Linux, where a new functionality to prune unused libs has been enabled. It has not been enabled yet on GNU/kFreeBSD, but a bug report has been sent to enable it.
In your case your case, gtk-qt-engine is missing a link with libqt, and libkdecore. With the old libtool those links come from libkdeui. With the new libtool, those links should be explicitly given. You could find more information about reducing dependencies on: http://lists.debian.org/debian-devel-announce/2005/11/msg00016.html I have made a patch to fix the problem, please find it attached. You could then look at the dependencies of the Debian package, and see that they are far less dependencies then before. Bye, Aurelien -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net
--- gtk-qt-engine-0.60.orig/kcm_gtk/Makefile.am +++ gtk-qt-engine-0.60/kcm_gtk/Makefile.am @@ -6,7 +6,7 @@ kcmgtkmodule_LTLIBRARIES = kcm_kcmgtk.la kcm_kcmgtk_la_SOURCES = kcmgtkwidget.ui kcmgtk.cpp -kcm_kcmgtk_la_LIBADD = $(LIB_KDEUI) +kcm_kcmgtk_la_LIBADD = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) kcm_kcmgtk_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined