# HG changeset patch # User Pascal Bellard # Date 1376503320 0 # Node ID 1ae5963f23dfa7be768ad138ca2ef5a60df2d0d0 # Parent 18261f3e9666fca9622e8dddad395649eceab2a5 Add some LDFLAGS diff -r 18261f3e9666 -r 1ae5963f23df devilspie/receipt --- a/devilspie/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/devilspie/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -18,6 +18,7 @@ compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" sed -i \ -e 's/gdk_display/GDK_DISPLAY_XDISPLAY(gdk_display_get_default())/' \ -e 's/GDK_DISPLAY(/gdk_display_get_default(/' \ @@ -30,5 +31,5 @@ genpkg_rules() { mkdir -p $fs/usr - cp -a $_pkg/usr/bin $fs/usr + cp -a $install/usr/bin $fs/usr } diff -r 18261f3e9666 -r 1ae5963f23df fbpanel/receipt --- a/fbpanel/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/fbpanel/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -15,6 +15,7 @@ compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" ./configure && make && make install } diff -r 18261f3e9666 -r 1ae5963f23df fbxkb/receipt --- a/fbxkb/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/fbxkb/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -15,6 +15,7 @@ compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" unset LDFLAGS patch -Np1 -i $stuff/$PACKAGE.patch ./configure && diff -r 18261f3e9666 -r 1ae5963f23df gcompris/receipt --- a/gcompris/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/gcompris/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -16,21 +16,22 @@ # Rules to configure and make the package. compile_rules() { - cd $src - ./configure \ - --enable-sdlmixer && - make CFLAGS="-DG_CONST_RETURN=const" && make install && - find | grep .png | xargs optipng -o7 > /dev/null + cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule" + ./configure \ + --enable-sdlmixer && + make CFLAGS="-DG_CONST_RETURN=const" && make install && + find | grep .png | xargs optipng -o7 > /dev/null } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib/gcompris $fs/usr/share - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/lib/gcompris/*.so* \ + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/gcompris/*.so* \ $fs/usr/lib/gcompris - cp -a $_pkg/usr/share/gcompris $fs/usr/share + cp -a $install/usr/share/gcompris $fs/usr/share # Music and voices are splited (gcompris-music, gcompris-fr, etc) rm -rf $fs/usr/share/gcompris/boards/music rm -rf $fs/usr/share/gcompris/boards/voices diff -r 18261f3e9666 -r 1ae5963f23df gitmail/receipt --- a/gitmail/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/gitmail/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -15,9 +15,10 @@ compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lpthread" ./configure --prefix=/usr $CONFIGURE_ARGS && make && - make DESTDIR=$PWD/_pkg \ + make DESTDIR=$DESTDIR \ gitmaildocdir=/usr/share/doc/GhostInTheMail \ install } @@ -26,5 +27,5 @@ genpkg_rules() { mkdir -p $fs/usr - cp -a $_pkg/usr/bin $fs/usr + cp -a $install/usr/bin $fs/usr } diff -r 18261f3e9666 -r 1ae5963f23df gkII/receipt --- a/gkII/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/gkII/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -16,6 +16,7 @@ compile_rules() { cd $src/src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lm" make } diff -r 18261f3e9666 -r 1ae5963f23df gnome-ppp/receipt --- a/gnome-ppp/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/gnome-ppp/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -13,19 +13,20 @@ TAGS="modem 3G" # Rules to configure and make the package. - -compile_rules() { - cd $src - ./configure --prefix=/usr $CONFIGURE_ARGS && - make && - make DESTDIR=$PWD/_pkg install +compile_rules() +{ + cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" + ./configure --prefix=/usr $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share - cp -a $_pkg/usr/share/icons $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/$PACKAGE $fs/usr/share + cp -a $install/usr/share/icons $fs/usr/share } diff -r 18261f3e9666 -r 1ae5963f23df gqview/receipt --- a/gqview/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/gqview/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -15,6 +15,7 @@ compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lm" ./configure --prefix=/usr --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && diff -r 18261f3e9666 -r 1ae5963f23df gtklife/receipt --- a/gtklife/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/gtklife/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -15,6 +15,7 @@ compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" ./configure \ --prefix=/usr \ --bindir=/usr/games \ diff -r 18261f3e9666 -r 1ae5963f23df gyrus/receipt --- a/gyrus/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/gyrus/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -16,6 +16,7 @@ # Rules to configure and make the package. compile_rules() { + export LDFLAGS="-Wl,--copy-dt-needed-entries -lm" ./configure $CONFIGURE_ARGS && make && make install } diff -r 18261f3e9666 -r 1ae5963f23df hardinfo/receipt --- a/hardinfo/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/hardinfo/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -15,6 +15,7 @@ compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule" while read file; do [ -f done.$file ] && continue patch -p0 < $stuff/$file || return 1 diff -r 18261f3e9666 -r 1ae5963f23df imagination/receipt --- a/imagination/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/imagination/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -18,6 +18,7 @@ compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule" ./configure --prefix=/usr $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install diff -r 18261f3e9666 -r 1ae5963f23df klavaro/receipt --- a/klavaro/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/klavaro/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -6,30 +6,32 @@ SHORT_DESC="Free touch typing tutor program." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://klavaro.sourceforge.net/en/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +TAGS="typing" + DEPENDS="gtk+ xorg-libXdamage gtkdatabox libcurl libsexy" BUILD_DEPENDS="$DEPENDS pkg-config gtk+-dev xorg-xproto gtkdatabox-dev \ curl-dev libsexy-dev" -WEB_SITE="http://klavaro.sourceforge.net/en/" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -TAGS="typing" # Rules to configure and make the package. compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule" ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && - make DESTDIR=$PWD/_pkg install + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/pixmaps - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/share/klavaro $fs/usr/share - cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \ + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/klavaro $fs/usr/share + cp -a $install/usr/share/icons/hicolor/24x24/apps/* \ $fs/usr/share/pixmaps } diff -r 18261f3e9666 -r 1ae5963f23df libgcrypt/receipt --- a/libgcrypt/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/libgcrypt/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -17,6 +17,7 @@ compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lgpg-error" ./configure \ --build=$HOST_SYSTEM \ --host=$HOST_SYSTEM && diff -r 18261f3e9666 -r 1ae5963f23df matchbox-desktop/receipt --- a/matchbox-desktop/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/matchbox-desktop/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -16,6 +16,7 @@ compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -ldl" ./configure \ --sysconfdir=/etc \ $CONFIGURE_ARGS && diff -r 18261f3e9666 -r 1ae5963f23df matchbox-panel-manager/receipt --- a/matchbox-panel-manager/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/matchbox-panel-manager/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -16,6 +16,7 @@ compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" ./configure $CONFIGURE_ARGS && make && make install } diff -r 18261f3e9666 -r 1ae5963f23df matchbox-panel/receipt --- a/matchbox-panel/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/matchbox-panel/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -16,6 +16,7 @@ compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lm" #--enable-small-icons #--enable-acpi-linux ./configure \ diff -r 18261f3e9666 -r 1ae5963f23df mscore/receipt --- a/mscore/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/mscore/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -17,6 +17,7 @@ compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lpthread" export QT_PLUGINS_DIR=/usr/lib/qt/plugins sed -i "s/usr\/local/usr/" Makefile [ -d build ] && make clean @@ -27,7 +28,7 @@ genpkg_rules() { mkdir -p $fs/usr - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/lib $fs/usr - cp -a $_pkg/usr/share $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr + cp -a $install/usr/share $fs/usr } diff -r 18261f3e9666 -r 1ae5963f23df orpheus/receipt --- a/orpheus/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/orpheus/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -19,6 +19,7 @@ compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -logg" unset CFLAGS CXXFLAGS ./configure && make && diff -r 18261f3e9666 -r 1ae5963f23df rox-filer/receipt --- a/rox-filer/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/rox-filer/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -16,6 +16,7 @@ # Rules to configure and make the package. compile_rules() { + export LDFLAGS="-Wl,--copy-dt-needed-entries -lm" echo "patch" [ -f done.menu.diff ] || patch $src/ROX-Filer/src/menu.c $stuff/menu.diff diff -r 18261f3e9666 -r 1ae5963f23df rtorrent/receipt --- a/rtorrent/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/rtorrent/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -18,6 +18,7 @@ compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lpthread" ./configure \ --with-xmlrpc-c \ $CONFIGURE_ARGS && diff -r 18261f3e9666 -r 1ae5963f23df surf/receipt --- a/surf/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/surf/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -5,19 +5,21 @@ CATEGORY="network" SHORT_DESC="Surf is a simple web browser based on WebKit/GTK+" MAINTAINER="mallory@sweetpeople.org" -DEPENDS="libwebkit libsoup libxml2 gnutls gtk+" -BUILD_DEPENDS="libwebkit-dev libsoup-dev libxml2-dev gnutls-dev gtk+-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://surf.suckless.org/" WGET_URL="http://dl.suckless.org/$PACKAGE/$TARBALL" SUGGESTED="dmenu" TAGS="browser" +DEPENDS="libwebkit libsoup libxml2 gnutls gtk+" +BUILD_DEPENDS="libwebkit-dev libsoup-dev libxml2-dev gnutls-dev gtk+-dev" + # Rules to configure and make the package. compile_rules() { cd $src - make && make DESTDIR=$PWD/_pkg install + export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11" + make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -25,6 +27,6 @@ { # Surf binary mkdir -p $fs/usr - cp -a $_pkg/usr/local/bin $fs/usr + cp -a $install/usr/local/bin $fs/usr } diff -r 18261f3e9666 -r 1ae5963f23df xpat2/receipt --- a/xpat2/receipt Wed Aug 14 17:22:29 2013 +0000 +++ b/xpat2/receipt Wed Aug 14 18:02:00 2013 +0000 @@ -6,14 +6,16 @@ SHORT_DESC="Soltaire games for X." MAINTAINER="b1+slitaz@nagel.org" WEB_SITE="http://manpages.ubuntu.com/manpages/intrepid/man6/xpat2.html" -DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw" TARBALL="$PACKAGE-$VERSION-src.tar.gz" WGET_URL="http://www.ibiblio.org/pub/Linux/games/solitaires/$TARBALL" +DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw" + # Rules to configure and make the package. compile_rules() { cd $src + export LDFLAGS="-Wl,--copy-dt-needed-entries -lXmu" for i in xpat2.patch layout.patch ; do [ -f done.$i ] && continue patch -p1 < $stuff/$i @@ -22,14 +24,14 @@ cd src cp $stuff/Makefile . make && - make DESTDIR=../_pkg install + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/var/games/xpat2 - cp -a $_pkg/usr $fs + cp -a $install/usr $fs mkdir -p $fs/usr/share/X11/app-defaults/ cp -a $stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat touch $fs/var/games/xpat2/xpat.log