[Pkg-kde-extras] Re: libkexif, libkipi, kipi-plugins relibtoolize required

Achim Bohnet ach at mpe.mpg.de
Tue May 9 21:41:31 UTC 2006


On Tuesday 09 May 2006 22:11, Achim Bohnet wrote:
> On Tuesday 09 May 2006 18:20, Mark Purcell wrote:
[...]
> No difficult part:  patches/14_Makefile.am_use_only_used_libs.diff
> AFAIR (shame on me I did not commit upstream).   Mhmm, maybe replace
> -lqt3-mt  with $LIB_QT.  Maybe it applies then again.  If not it
> needs to be tweaked by hand.

While rebuilding for debugging digikam I played with these ideas.  Simplest
way I found to make LIB_QT=-lqt-mt, instead of
LIB_QT = -lqt-mt  $(LIBZ) $(LIBPNG) -lXext $(LIB_X11) $(LIBSM) -lpthread

was patching configure.  Then all Makefile(.in) do the right thing ;)

--- configure.orig	2006-04-29 12:06:43.000000000 +0200
+++ configure	2006-05-09 23:23:25.000000000 +0200
@@ -36832,7 +36832,7 @@
 s, at MOC@,$MOC,;t t
 s, at UIC@,$UIC,;t t
 s, at UIC_TR@,$UIC_TR,;t t
-s, at LIB_QT@,$LIB_QT,;t t
+s, at LIB_QT@,-lqt-mt,;t t
 s, at LIB_QPE@,$LIB_QPE,;t t
 s, at kde_qtver@,$kde_qtver,;t t
 s, at KDE_EXTRA_RPATH@,$KDE_EXTRA_RPATH,;t t
@@ -38452,7 +38452,7 @@
 s, at MOC@,$MOC,;t t
 s, at UIC@,$UIC,;t t
 s, at UIC_TR@,$UIC_TR,;t t
-s, at LIB_QT@,$LIB_QT,;t t
+s, at LIB_QT@,-lqt-mt,;t t
 s, at LIB_QPE@,$LIB_QPE,;t t
 s, at kde_qtver@,$kde_qtver,;t t
 s, at KDE_EXTRA_RPATH@,$KDE_EXTRA_RPATH,;t t
@@ -40073,7 +40073,7 @@
 s, at MOC@,$MOC,;t t
 s, at UIC@,$UIC,;t t
 s, at UIC_TR@,$UIC_TR,;t t
-s, at LIB_QT@,$LIB_QT,;t t
+s, at LIB_QT@,-lqt-mt,;t t
 s, at LIB_QPE@,$LIB_QPE,;t t
 s, at kde_qtver@,$kde_qtver,;t t
 s, at KDE_EXTRA_RPATH@,$KDE_EXTRA_RPATH,;t t
@@ -41977,7 +41977,7 @@
 s, at MOC@,$MOC,;t t
 s, at UIC@,$UIC,;t t
 s, at UIC_TR@,$UIC_TR,;t t
-s, at LIB_QT@,$LIB_QT,;t t
+s, at LIB_QT@,-lqt-mt,;t t
 s, at LIB_QPE@,$LIB_QPE,;t t
 s, at kde_qtver@,$kde_qtver,;t t
 s, at KDE_EXTRA_RPATH@,$KDE_EXTRA_RPATH,;t t


AFAIU this  can be used for all LIB_WHATEVER vars
that is a list of libs, and relibtoolization
requires just one lib.

If no better idea comes up maybe patching buildprep
script would be a good idea.

Achim
-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- reddy at lion.austin.ibm.com



More information about the pkg-kde-extras mailing list