wok rev 15110

Add some LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 18:02:00 2013 +0000 (2013-08-14)
parents 18261f3e9666
children 5c4ed10b36e4
files devilspie/receipt fbpanel/receipt fbxkb/receipt gcompris/receipt gitmail/receipt gkII/receipt gnome-ppp/receipt gqview/receipt gtklife/receipt gyrus/receipt hardinfo/receipt imagination/receipt klavaro/receipt libgcrypt/receipt matchbox-desktop/receipt matchbox-panel-manager/receipt matchbox-panel/receipt mscore/receipt orpheus/receipt rox-filer/receipt rtorrent/receipt surf/receipt xpat2/receipt
line diff
     1.1 --- a/devilspie/receipt	Wed Aug 14 17:22:29 2013 +0000
     1.2 +++ b/devilspie/receipt	Wed Aug 14 18:02:00 2013 +0000
     1.3 @@ -18,6 +18,7 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
     1.8  	sed -i \
     1.9  	  -e 's/gdk_display/GDK_DISPLAY_XDISPLAY(gdk_display_get_default())/' \
    1.10  	  -e 's/GDK_DISPLAY(/gdk_display_get_default(/' \
    1.11 @@ -30,5 +31,5 @@
    1.12  genpkg_rules()
    1.13  {
    1.14  	mkdir -p $fs/usr
    1.15 -	cp -a $_pkg/usr/bin $fs/usr
    1.16 +	cp -a $install/usr/bin $fs/usr
    1.17  }
     2.1 --- a/fbpanel/receipt	Wed Aug 14 17:22:29 2013 +0000
     2.2 +++ b/fbpanel/receipt	Wed Aug 14 18:02:00 2013 +0000
     2.3 @@ -15,6 +15,7 @@
     2.4  compile_rules()
     2.5  {
     2.6  	cd $src
     2.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
     2.8  	./configure && make && make install
     2.9  }
    2.10  
     3.1 --- a/fbxkb/receipt	Wed Aug 14 17:22:29 2013 +0000
     3.2 +++ b/fbxkb/receipt	Wed Aug 14 18:02:00 2013 +0000
     3.3 @@ -15,6 +15,7 @@
     3.4  compile_rules()
     3.5  {
     3.6  	cd $src
     3.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
     3.8  	unset LDFLAGS
     3.9  	patch -Np1 -i $stuff/$PACKAGE.patch
    3.10  	./configure &&
     4.1 --- a/gcompris/receipt	Wed Aug 14 17:22:29 2013 +0000
     4.2 +++ b/gcompris/receipt	Wed Aug 14 18:02:00 2013 +0000
     4.3 @@ -16,21 +16,22 @@
     4.4  # Rules to configure and make the package.
     4.5  compile_rules()
     4.6  {
     4.7 -    cd $src
     4.8 -    ./configure \
     4.9 -    	--enable-sdlmixer &&
    4.10 -    make CFLAGS="-DG_CONST_RETURN=const" && make install &&
    4.11 -    find | grep .png | xargs optipng -o7 > /dev/null
    4.12 +	cd $src
    4.13 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule"
    4.14 +	./configure \
    4.15 +		--enable-sdlmixer &&
    4.16 +	make CFLAGS="-DG_CONST_RETURN=const" && make install &&
    4.17 +	find | grep .png | xargs optipng -o7 > /dev/null
    4.18  }
    4.19  
    4.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.21  genpkg_rules()
    4.22  {
    4.23  	mkdir -p $fs/usr/lib/gcompris $fs/usr/share
    4.24 -	cp -a $_pkg/usr/bin $fs/usr
    4.25 -	cp -a $_pkg/usr/lib/gcompris/*.so* \
    4.26 +	cp -a $install/usr/bin $fs/usr
    4.27 +	cp -a $install/usr/lib/gcompris/*.so* \
    4.28  		$fs/usr/lib/gcompris
    4.29 -	cp -a $_pkg/usr/share/gcompris $fs/usr/share
    4.30 +	cp -a $install/usr/share/gcompris $fs/usr/share
    4.31  	# Music and voices are splited (gcompris-music, gcompris-fr, etc)
    4.32  	rm -rf $fs/usr/share/gcompris/boards/music
    4.33  	rm -rf $fs/usr/share/gcompris/boards/voices
     5.1 --- a/gitmail/receipt	Wed Aug 14 17:22:29 2013 +0000
     5.2 +++ b/gitmail/receipt	Wed Aug 14 18:02:00 2013 +0000
     5.3 @@ -15,9 +15,10 @@
     5.4  compile_rules()
     5.5  {
     5.6  	cd $src
     5.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lpthread"
     5.8  	./configure --prefix=/usr $CONFIGURE_ARGS &&
     5.9  	make &&
    5.10 -	make DESTDIR=$PWD/_pkg \
    5.11 +	make DESTDIR=$DESTDIR \
    5.12  	gitmaildocdir=/usr/share/doc/GhostInTheMail \
    5.13  	install
    5.14  }
    5.15 @@ -26,5 +27,5 @@
    5.16  genpkg_rules()
    5.17  {
    5.18  	mkdir -p $fs/usr
    5.19 -	cp -a $_pkg/usr/bin $fs/usr
    5.20 +	cp -a $install/usr/bin $fs/usr
    5.21  }
     6.1 --- a/gkII/receipt	Wed Aug 14 17:22:29 2013 +0000
     6.2 +++ b/gkII/receipt	Wed Aug 14 18:02:00 2013 +0000
     6.3 @@ -16,6 +16,7 @@
     6.4  compile_rules()
     6.5  {
     6.6  	cd $src/src
     6.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lm"
     6.8  	make
     6.9  }
    6.10  
     7.1 --- a/gnome-ppp/receipt	Wed Aug 14 17:22:29 2013 +0000
     7.2 +++ b/gnome-ppp/receipt	Wed Aug 14 18:02:00 2013 +0000
     7.3 @@ -13,19 +13,20 @@
     7.4  TAGS="modem 3G"
     7.5  
     7.6  # Rules to configure and make the package.
     7.7 -
     7.8 -compile_rules() {
     7.9 -  cd $src
    7.10 -  ./configure --prefix=/usr $CONFIGURE_ARGS &&
    7.11 -  make &&
    7.12 -  make DESTDIR=$PWD/_pkg install
    7.13 +compile_rules()
    7.14 +{
    7.15 +	cd $src
    7.16 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
    7.17 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    7.18 +	make &&
    7.19 +	make DESTDIR=$DESTDIR install
    7.20  }
    7.21  	
    7.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    7.23  genpkg_rules()
    7.24  {
    7.25  	mkdir -p $fs/usr/share
    7.26 -	cp -a $_pkg/usr/bin $fs/usr
    7.27 -	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    7.28 -	cp -a $_pkg/usr/share/icons $fs/usr/share
    7.29 +	cp -a $install/usr/bin $fs/usr
    7.30 +	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    7.31 +	cp -a $install/usr/share/icons $fs/usr/share
    7.32  }
     8.1 --- a/gqview/receipt	Wed Aug 14 17:22:29 2013 +0000
     8.2 +++ b/gqview/receipt	Wed Aug 14 18:02:00 2013 +0000
     8.3 @@ -15,6 +15,7 @@
     8.4  compile_rules()
     8.5  {
     8.6  	cd $src
     8.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lm"
     8.8  	./configure --prefix=/usr --mandir=/usr/share/man \
     8.9  	$CONFIGURE_ARGS &&
    8.10  	make &&
     9.1 --- a/gtklife/receipt	Wed Aug 14 17:22:29 2013 +0000
     9.2 +++ b/gtklife/receipt	Wed Aug 14 18:02:00 2013 +0000
     9.3 @@ -15,6 +15,7 @@
     9.4  compile_rules()
     9.5  {
     9.6  	cd $src
     9.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
     9.8  	./configure \
     9.9  		--prefix=/usr \
    9.10  		--bindir=/usr/games \
    10.1 --- a/gyrus/receipt	Wed Aug 14 17:22:29 2013 +0000
    10.2 +++ b/gyrus/receipt	Wed Aug 14 18:02:00 2013 +0000
    10.3 @@ -16,6 +16,7 @@
    10.4  # Rules to configure and make the package.
    10.5  compile_rules()
    10.6  {
    10.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lm"
    10.8  	./configure $CONFIGURE_ARGS && make && make install
    10.9  }
   10.10  
    11.1 --- a/hardinfo/receipt	Wed Aug 14 17:22:29 2013 +0000
    11.2 +++ b/hardinfo/receipt	Wed Aug 14 18:02:00 2013 +0000
    11.3 @@ -15,6 +15,7 @@
    11.4  compile_rules()
    11.5  {
    11.6  	cd $src
    11.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule"
    11.8  	while read file; do
    11.9  		[ -f done.$file ] && continue
   11.10  		patch -p0 < $stuff/$file || return 1
    12.1 --- a/imagination/receipt	Wed Aug 14 17:22:29 2013 +0000
    12.2 +++ b/imagination/receipt	Wed Aug 14 18:02:00 2013 +0000
    12.3 @@ -18,6 +18,7 @@
    12.4  compile_rules()
    12.5  {
    12.6     	cd $src
    12.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule"
    12.8  	./configure --prefix=/usr $CONFIGURE_ARGS &&
    12.9  	make &&
   12.10  	make DESTDIR=$DESTDIR install
    13.1 --- a/klavaro/receipt	Wed Aug 14 17:22:29 2013 +0000
    13.2 +++ b/klavaro/receipt	Wed Aug 14 18:02:00 2013 +0000
    13.3 @@ -6,30 +6,32 @@
    13.4  SHORT_DESC="Free touch typing tutor program."
    13.5  MAINTAINER="pankso@slitaz.org"
    13.6  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    13.7 +WEB_SITE="http://klavaro.sourceforge.net/en/"
    13.8 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    13.9 +TAGS="typing"
   13.10 +
   13.11  DEPENDS="gtk+ xorg-libXdamage gtkdatabox libcurl libsexy"
   13.12  BUILD_DEPENDS="$DEPENDS pkg-config gtk+-dev xorg-xproto gtkdatabox-dev \
   13.13  curl-dev libsexy-dev"
   13.14 -WEB_SITE="http://klavaro.sourceforge.net/en/"
   13.15 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   13.16 -TAGS="typing"
   13.17  
   13.18  # Rules to configure and make the package.
   13.19  compile_rules()
   13.20  {
   13.21  	cd $src
   13.22 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule"
   13.23  	./configure \
   13.24  		--prefix=/usr \
   13.25  		$CONFIGURE_ARGS &&
   13.26  	make &&
   13.27 -	make DESTDIR=$PWD/_pkg install
   13.28 +	make DESTDIR=$DESTDIR install
   13.29  }
   13.30  
   13.31  # Rules to gen a SliTaz package suitable for Tazpkg.
   13.32  genpkg_rules()
   13.33  {
   13.34  	mkdir -p $fs/usr/share/pixmaps
   13.35 -	cp -a $_pkg/usr/bin $fs/usr
   13.36 -	cp -a $_pkg/usr/share/klavaro $fs/usr/share
   13.37 -	cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \
   13.38 +	cp -a $install/usr/bin $fs/usr
   13.39 +	cp -a $install/usr/share/klavaro $fs/usr/share
   13.40 +	cp -a $install/usr/share/icons/hicolor/24x24/apps/* \
   13.41  		$fs/usr/share/pixmaps
   13.42  }
    14.1 --- a/libgcrypt/receipt	Wed Aug 14 17:22:29 2013 +0000
    14.2 +++ b/libgcrypt/receipt	Wed Aug 14 18:02:00 2013 +0000
    14.3 @@ -17,6 +17,7 @@
    14.4  compile_rules()
    14.5  {
    14.6  	cd $src
    14.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lgpg-error"
    14.8  	./configure \
    14.9  		--build=$HOST_SYSTEM \
   14.10  		--host=$HOST_SYSTEM &&
    15.1 --- a/matchbox-desktop/receipt	Wed Aug 14 17:22:29 2013 +0000
    15.2 +++ b/matchbox-desktop/receipt	Wed Aug 14 18:02:00 2013 +0000
    15.3 @@ -16,6 +16,7 @@
    15.4  compile_rules()
    15.5  {
    15.6  	cd $src
    15.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -ldl"
    15.8  	./configure \
    15.9  		--sysconfdir=/etc \
   15.10  		$CONFIGURE_ARGS &&
    16.1 --- a/matchbox-panel-manager/receipt	Wed Aug 14 17:22:29 2013 +0000
    16.2 +++ b/matchbox-panel-manager/receipt	Wed Aug 14 18:02:00 2013 +0000
    16.3 @@ -16,6 +16,7 @@
    16.4  compile_rules()
    16.5  {
    16.6  	cd $src
    16.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
    16.8  	./configure $CONFIGURE_ARGS &&
    16.9  	make && make install
   16.10  }
    17.1 --- a/matchbox-panel/receipt	Wed Aug 14 17:22:29 2013 +0000
    17.2 +++ b/matchbox-panel/receipt	Wed Aug 14 18:02:00 2013 +0000
    17.3 @@ -16,6 +16,7 @@
    17.4  compile_rules()
    17.5  {
    17.6  	cd $src
    17.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lm"
    17.8  	#--enable-small-icons
    17.9  	#--enable-acpi-linux
   17.10  	./configure \
    18.1 --- a/mscore/receipt	Wed Aug 14 17:22:29 2013 +0000
    18.2 +++ b/mscore/receipt	Wed Aug 14 18:02:00 2013 +0000
    18.3 @@ -17,6 +17,7 @@
    18.4  compile_rules()
    18.5  {
    18.6  	cd $src
    18.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lpthread"
    18.8  	export QT_PLUGINS_DIR=/usr/lib/qt/plugins
    18.9  	sed -i "s/usr\/local/usr/" Makefile
   18.10  	[ -d build ] && make clean
   18.11 @@ -27,7 +28,7 @@
   18.12  genpkg_rules()
   18.13  {
   18.14  	mkdir -p $fs/usr
   18.15 -	cp -a $_pkg/usr/bin $fs/usr
   18.16 -	cp -a $_pkg/usr/lib $fs/usr
   18.17 -	cp -a $_pkg/usr/share $fs/usr
   18.18 +	cp -a $install/usr/bin $fs/usr
   18.19 +	cp -a $install/usr/lib $fs/usr
   18.20 +	cp -a $install/usr/share $fs/usr
   18.21  }
    19.1 --- a/orpheus/receipt	Wed Aug 14 17:22:29 2013 +0000
    19.2 +++ b/orpheus/receipt	Wed Aug 14 18:02:00 2013 +0000
    19.3 @@ -19,6 +19,7 @@
    19.4  compile_rules()
    19.5  {
    19.6  	cd $src
    19.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -logg"
    19.8  	unset CFLAGS CXXFLAGS
    19.9  	./configure &&
   19.10  	make &&
    20.1 --- a/rox-filer/receipt	Wed Aug 14 17:22:29 2013 +0000
    20.2 +++ b/rox-filer/receipt	Wed Aug 14 18:02:00 2013 +0000
    20.3 @@ -16,6 +16,7 @@
    20.4  # Rules to configure and make the package.
    20.5  compile_rules()
    20.6  {
    20.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lm"
    20.8  	echo "patch"
    20.9  	[ -f done.menu.diff ] ||
   20.10  		patch $src/ROX-Filer/src/menu.c $stuff/menu.diff
    21.1 --- a/rtorrent/receipt	Wed Aug 14 17:22:29 2013 +0000
    21.2 +++ b/rtorrent/receipt	Wed Aug 14 18:02:00 2013 +0000
    21.3 @@ -18,6 +18,7 @@
    21.4  compile_rules()
    21.5  {
    21.6  	cd $src
    21.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lpthread"
    21.8  	./configure \
    21.9  		--with-xmlrpc-c \
   21.10  		$CONFIGURE_ARGS &&
    22.1 --- a/surf/receipt	Wed Aug 14 17:22:29 2013 +0000
    22.2 +++ b/surf/receipt	Wed Aug 14 18:02:00 2013 +0000
    22.3 @@ -5,19 +5,21 @@
    22.4  CATEGORY="network"
    22.5  SHORT_DESC="Surf is a simple web browser based on WebKit/GTK+"
    22.6  MAINTAINER="mallory@sweetpeople.org"
    22.7 -DEPENDS="libwebkit libsoup libxml2 gnutls gtk+"
    22.8 -BUILD_DEPENDS="libwebkit-dev libsoup-dev libxml2-dev gnutls-dev gtk+-dev"
    22.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
   22.10  WEB_SITE="http://surf.suckless.org/"
   22.11  WGET_URL="http://dl.suckless.org/$PACKAGE/$TARBALL"
   22.12  SUGGESTED="dmenu"
   22.13  TAGS="browser"
   22.14  
   22.15 +DEPENDS="libwebkit libsoup libxml2 gnutls gtk+"
   22.16 +BUILD_DEPENDS="libwebkit-dev libsoup-dev libxml2-dev gnutls-dev gtk+-dev"
   22.17 +
   22.18  # Rules to configure and make the package.
   22.19  compile_rules()
   22.20  {
   22.21  	cd $src
   22.22 -	make && make DESTDIR=$PWD/_pkg install
   22.23 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
   22.24 +	make && make DESTDIR=$DESTDIR install
   22.25  }
   22.26  
   22.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   22.28 @@ -25,6 +27,6 @@
   22.29  {
   22.30  	# Surf binary
   22.31  	mkdir -p $fs/usr
   22.32 -	cp -a $_pkg/usr/local/bin $fs/usr
   22.33 +	cp -a $install/usr/local/bin $fs/usr
   22.34  }
   22.35  
    23.1 --- a/xpat2/receipt	Wed Aug 14 17:22:29 2013 +0000
    23.2 +++ b/xpat2/receipt	Wed Aug 14 18:02:00 2013 +0000
    23.3 @@ -6,14 +6,16 @@
    23.4  SHORT_DESC="Soltaire games for X."
    23.5  MAINTAINER="b1+slitaz@nagel.org"
    23.6  WEB_SITE="http://manpages.ubuntu.com/manpages/intrepid/man6/xpat2.html"
    23.7 -DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw"
    23.8  TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    23.9  WGET_URL="http://www.ibiblio.org/pub/Linux/games/solitaires/$TARBALL"
   23.10  
   23.11 +DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw"
   23.12 +
   23.13  # Rules to configure and make the package.
   23.14  compile_rules()
   23.15  {
   23.16  	cd $src
   23.17 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lXmu"
   23.18  	for i in xpat2.patch layout.patch ; do
   23.19  		[ -f done.$i ] && continue
   23.20  		patch -p1 < $stuff/$i
   23.21 @@ -22,14 +24,14 @@
   23.22  	cd src
   23.23  	cp $stuff/Makefile .
   23.24  	make &&
   23.25 -	make DESTDIR=../_pkg install
   23.26 +	make DESTDIR=$DESTDIR install
   23.27  }
   23.28  
   23.29  # Rules to gen a SliTaz package suitable for Tazpkg.
   23.30  genpkg_rules()
   23.31  {
   23.32  	mkdir -p $fs/var/games/xpat2
   23.33 -	cp -a $_pkg/usr $fs
   23.34 +	cp -a $install/usr $fs
   23.35  	mkdir -p $fs/usr/share/X11/app-defaults/
   23.36  	cp -a $stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat
   23.37  	touch $fs/var/games/xpat2/xpat.log