wok-next rev 20570

More fix libtool; audit: apply patch.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 13 09:28:50 2018 +0300 (2018-04-13)
parents 835b3b8ce6ac
children 8bc836234d57
files alpine/receipt audit/stuff/patches/audit-auvirt-get-inline-functions-work-with-C99.patch audit/stuff/patches/series c-ares/receipt clamav/receipt gajim/receipt galculator/receipt gambas2/receipt gamin/receipt gavl/receipt gc/receipt gcolor2/receipt gdal/receipt gdbm/receipt gdk-pixbuf/receipt geany-plugins/receipt geany/receipt gegl/receipt geoip/receipt geos/receipt gf2x/receipt ggseq/receipt ghex/receipt giac/receipt giblib/receipt giflib/receipt gimp/receipt gitmail/receipt glade/receipt glade3/receipt glib-networking/receipt glu/receipt glw/receipt gmerlin/receipt gmp/receipt gmpc/receipt gnet/receipt gnome-commander/receipt gnome-desktop/receipt gnome-js-common/receipt gnome-keyring/receipt gnome-menus/receipt
line diff
     1.1 --- a/alpine/receipt	Fri Apr 13 07:14:16 2018 +0300
     1.2 +++ b/alpine/receipt	Fri Apr 13 09:28:50 2018 +0300
     1.3 @@ -14,6 +14,8 @@
     1.4  BUILD_DEPENDS="openssl10-dev pam-dev ncurses-dev gfortran gettext"
     1.5  
     1.6  compile_rules() {
     1.7 +	export LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.0 -lcrypto"
     1.8 +
     1.9  	CPPFLAGS="$CPPFLAGS -I/usr/include/openssl-1.0" \
    1.10  	./configure \
    1.11  		--without-tcl \
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/audit/stuff/patches/audit-auvirt-get-inline-functions-work-with-C99.patch	Fri Apr 13 09:28:50 2018 +0300
     2.3 @@ -0,0 +1,51 @@
     2.4 +From 15036dd4fa9eb209f5e148c6f7ee081f5ca78fa4 Mon Sep 17 00:00:00 2001
     2.5 +From: Wenzong Fan <wenzong.fan at windriver.com>
     2.6 +Date: Fri, 11 Sep 2015 03:37:13 -0400
     2.7 +Subject: [PATCH] audit/auvirt: get inline functions work with C99
     2.8 +
     2.9 +This fixes link errors:
    2.10 +
    2.11 +  auvirt.c:484: undefined reference to `copy_str'
    2.12 +  auvirt.c:667: undefined reference to `is_resource'
    2.13 +
    2.14 +As gcc5 doc about "Different semantics for inline functions":
    2.15 +
    2.16 +  > C99 extern inline: An externally visible function is generated; \
    2.17 +  > same as GNU89 inline.
    2.18 +
    2.19 +  > To fix this, either mark the function foo as extern, or add the \
    2.20 +  > following declaration: extern inline int foo (void);
    2.21 +
    2.22 +(from https://gcc.gnu.org/gcc-5/porting_to.html)
    2.23 +
    2.24 +Upstream Status: pending
    2.25 +
    2.26 +Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
    2.27 +---
    2.28 + tools/auvirt/auvirt.c | 4 ++--
    2.29 + 1 file changed, 2 insertions(+), 2 deletions(-)
    2.30 +
    2.31 +diff --git a/tools/auvirt/auvirt.c b/tools/auvirt/auvirt.c
    2.32 +index 655c454..b16d718 100644
    2.33 +--- a/tools/auvirt/auvirt.c
    2.34 ++++ b/tools/auvirt/auvirt.c
    2.35 +@@ -138,7 +138,7 @@ void event_free(struct event *event)
    2.36 + 	}
    2.37 + }
    2.38 + 
    2.39 +-inline char *copy_str(const char *str)
    2.40 ++extern inline char *copy_str(const char *str)
    2.41 + {
    2.42 + 	return (str) ? strdup(str) : NULL;
    2.43 + }
    2.44 +@@ -650,7 +650,7 @@ int process_control_event(auparse_state_t *au)
    2.45 + 	return 0;
    2.46 + }
    2.47 + 
    2.48 +-inline int is_resource(const char *res)
    2.49 ++extern inline int is_resource(const char *res)
    2.50 + {
    2.51 + 	if (res == NULL ||
    2.52 + 	    res[0] == '\0' ||
    2.53 +-- 
    2.54 +1.9.1
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/audit/stuff/patches/series	Fri Apr 13 09:28:50 2018 +0300
     3.3 @@ -0,0 +1,2 @@
     3.4 +# from https://lists.yoctoproject.org/pipermail/yocto/2015-September/026405.html
     3.5 +audit-auvirt-get-inline-functions-work-with-C99.patch
     4.1 --- a/c-ares/receipt	Fri Apr 13 07:14:16 2018 +0300
     4.2 +++ b/c-ares/receipt	Fri Apr 13 09:28:50 2018 +0300
     4.3 @@ -14,6 +14,9 @@
     4.4  SPLIT="c-ares-dev"
     4.5  
     4.6  compile_rules() {
     4.7 +	export CFLAGS=${CFLAGS/-D_GLIBCXX_USE_C99_MATH=1/}
     4.8 +	export CPPFLAGS="$CPPFLAGS -D_GLIBCXX_USE_C99_MATH=1"
     4.9 +
    4.10  	./configure $CONFIGURE_ARGS &&
    4.11  	fix libtool &&
    4.12  	make &&
     5.1 --- a/clamav/receipt	Fri Apr 13 07:14:16 2018 +0300
     5.2 +++ b/clamav/receipt	Fri Apr 13 09:28:50 2018 +0300
     5.3 @@ -89,7 +89,7 @@
     5.4  	#chown -R ${user}:${group} "$1/var/lib/clamav"
     5.5  
     5.6  	# Fix perms
     5.7 -	chroot "$1/" chown -R ${user}.${group} /var/log/clamav \
     5.8 +	chroot "$1/" chown -R $user.$group /var/log/clamav \
     5.9  		/run/clamav /var/lib/clamav
    5.10  }
    5.11  
     6.1 --- a/gajim/receipt	Fri Apr 13 07:14:16 2018 +0300
     6.2 +++ b/gajim/receipt	Fri Apr 13 09:28:50 2018 +0300
     6.3 @@ -1,35 +1,28 @@
     6.4 -# SliTaz package receipt.
     6.5 +# SliTaz package receipt v2.
     6.6  
     6.7  PACKAGE="gajim"
     6.8  VERSION="0.14.1"
     6.9  CATEGORY="network"
    6.10 -SHORT_DESC="Gtk Jabber client."
    6.11 +SHORT_DESC="GTK Jabber client"
    6.12  MAINTAINER="rocky@slitaz.org"
    6.13  LICENSE="GPL3"
    6.14 +WEB_SITE="http://www.gajim.org/"
    6.15 +
    6.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    6.17 -WEB_SITE="http://www.gajim.org/"
    6.18  WGET_URL="http://www.gajim.org/downloads/${VERSION%.*}/$TARBALL"
    6.19  
    6.20 -DEPENDS="gtkspell python dbus-python pygtk pygobject pyopenssl python-pysqlite \
    6.21 -xorg-libXScrnSaver bind-client"
    6.22  BUILD_DEPENDS="gettext xorg-xcb-util-dev enchant-dev xorg-scrnsaverproto \
    6.23  xorg-xextproto python-dev libffi-dev intltool pygtk-dev"
    6.24  
    6.25 -# Rules to configure and make the package.
    6.26 -compile_rules()
    6.27 -{
    6.28 +compile_rules() {
    6.29  	./configure $CONFIGURE_ARGS &&
    6.30 -	make && make install
    6.31 +	fix libtool &&
    6.32 +	make &&
    6.33 +	make install
    6.34  }
    6.35  
    6.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    6.37 -genpkg_rules()
    6.38 -{
    6.39 -	mkdir -p $fs/usr/share/pixmaps
    6.40 -	cp -a $install/usr/bin $fs/usr
    6.41 -	cp -a $install/usr/share/gajim $fs/usr/share
    6.42 -	cp -a $install/usr/share/icons/hicolor/64x64/apps/gajim.png \
    6.43 -		$fs/usr/share/pixmaps
    6.44 -	cp -a $install/usr/share/applications $fs/usr/share
    6.45 -	chmod +x $fs/usr/bin/*
    6.46 +genpkg_rules() {
    6.47 +	copy @std
    6.48 +	DEPENDS="gtkspell python dbus-python pygtk pygobject pyopenssl \
    6.49 +	python-pysqlite xorg-libXScrnSaver bind-client"
    6.50  }
     7.1 --- a/galculator/receipt	Fri Apr 13 07:14:16 2018 +0300
     7.2 +++ b/galculator/receipt	Fri Apr 13 09:28:50 2018 +0300
     7.3 @@ -1,22 +1,21 @@
     7.4 -# SliTaz package receipt.
     7.5 +# SliTaz package receipt v2.
     7.6  
     7.7  PACKAGE="galculator"
     7.8  VERSION="2.1.3"
     7.9  CATEGORY="system-tools"
    7.10 -SHORT_DESC="Graphical scientific calculator."
    7.11 +SHORT_DESC="Graphical scientific calculator"
    7.12  MAINTAINER="pankso@slitaz.org"
    7.13  LICENSE="GPL2"
    7.14  WEB_SITE="http://galculator.sourceforge.net/"
    7.15 +
    7.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    7.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    7.18 -GENERIC_PIXMAPS="no"; GENERIC_MENUS="no"
    7.19  
    7.20 -DEPENDS="gtk+"
    7.21  BUILD_DEPENDS="gtk+-dev flex sdft intltool"
    7.22  
    7.23 -# Rules to configure and make the package.
    7.24 -compile_rules()
    7.25 -{
    7.26 +COOKOPTS="!pixmaps !menus"
    7.27 +
    7.28 +compile_rules() {
    7.29  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
    7.30  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
    7.31  
    7.32 @@ -24,7 +23,10 @@
    7.33  		--disable-gtk3 \
    7.34  		--disable-quadmath \
    7.35  		$CONFIGURE_ARGS &&
    7.36 -	make && make install
    7.37 +	fix libtool &&
    7.38 +	make &&
    7.39 +	make install || return 1
    7.40 +
    7.41  	sdft $install/usr/share/applications/galculator.desktop -i -tf \
    7.42  		-a "Name[fr]=Calculatrice scientifique" \
    7.43  		-a "Name[pt]=Calculadora Científica" \
    7.44 @@ -36,18 +38,10 @@
    7.45  		-s "Categories=Utility;Calculator;"
    7.46  }
    7.47  
    7.48 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.49 -genpkg_rules()
    7.50 -{
    7.51 -	mkdir -p $fs/usr/share/icons/hicolor/48x48
    7.52 -
    7.53 -	cp -a $install/usr/bin $fs/usr
    7.54 -
    7.55 -	cp -a $install/usr/share/galculator $fs/usr/share
    7.56 -	find $fs/usr/share/galculator -name '*gtk3*' -delete
    7.57 +genpkg_rules() {
    7.58 +	copy @std
    7.59 +	rm -r $fs/usr/share/pixmaps
    7.60 +	find $fs -name '*gtk3*' -delete
    7.61  	sed -i 's|^[ ]*||g' $fs/usr/share/galculator/ui/*
    7.62 -
    7.63 -	cp -a $install/usr/share/icons/hicolor/48x48/apps $fs/usr/share/icons/hicolor/48x48
    7.64 -
    7.65 -	cp -a $install/usr/share/applications $fs/usr/share
    7.66 +	DEPENDS="gtk+"
    7.67  }
     8.1 --- a/gambas2/receipt	Fri Apr 13 07:14:16 2018 +0300
     8.2 +++ b/gambas2/receipt	Fri Apr 13 09:28:50 2018 +0300
     8.3 @@ -14,18 +14,17 @@
     8.4  BUILD_DEPENDS="poppler-dev util-linux-uuid-dev lcms2-dev tiff-dev jpeg-dev \
     8.5  libpng16-dev autoconf automake libtool freetype-dev fontconfig-dev"
     8.6  
     8.7 +COOKOPTS="skip-log-errors"
     8.8 +
     8.9  compile_rules() {
    8.10  	sed -i '/0.17.0 poppler/{N;p;s/17/20/g}'  gb.pdf/configure.ac
    8.11  	cp $stuff/CPdfDocument.cpp gb.pdf/src/CPdfDocument.cpp
    8.12  	./reconf-all
    8.13 -	./configure \
    8.14 -		--prefix=/usr \
    8.15 -		--infodir=/usr/share/info \
    8.16 -		--mandir=/usr/share/man \
    8.17 -		$CONFIGURE_ARGS &&
    8.18 +
    8.19 +	./configure $CONFIGURE_ARGS &&
    8.20 +	fix libtool &&
    8.21  	make &&
    8.22 -	make DESTDIR=$DESTDIR install 2>&1 | \
    8.23 -	sed 's/ERROR:/Error:/;s/: No such file/: no such file/'
    8.24 +	make DESTDIR=$DESTDIR install
    8.25  }
    8.26  
    8.27  genpkg_rules() {
     9.1 --- a/gamin/receipt	Fri Apr 13 07:14:16 2018 +0300
     9.2 +++ b/gamin/receipt	Fri Apr 13 09:28:50 2018 +0300
     9.3 @@ -31,6 +31,7 @@
     9.4  	./configure \
     9.5  		--libexecdir=/usr/lib/gamin \
     9.6  		$CONFIGURE_ARGS &&
     9.7 +	fix libtool &&
     9.8  	make &&
     9.9  	mkdir -p $DESTDIR/usr/include &&
    9.10  	make -j1 DESTDIR=$DESTDIR install
    10.1 --- a/gavl/receipt	Fri Apr 13 07:14:16 2018 +0300
    10.2 +++ b/gavl/receipt	Fri Apr 13 09:28:50 2018 +0300
    10.3 @@ -18,7 +18,9 @@
    10.4  		--without-doxygen \
    10.5  		--with-cpuflags=none \
    10.6  		$CONFIGURE_ARGS &&
    10.7 -	make && make install
    10.8 +	fix libtool &&
    10.9 +	make &&
   10.10 +	make install
   10.11  }
   10.12  
   10.13  genpkg_rules() {
    11.1 --- a/gc/receipt	Fri Apr 13 07:14:16 2018 +0300
    11.2 +++ b/gc/receipt	Fri Apr 13 09:28:50 2018 +0300
    11.3 @@ -17,6 +17,7 @@
    11.4  	./configure \
    11.5  		--enable-cplusplus \
    11.6  		$CONFIGURE_ARGS &&
    11.7 +	fix libtool &&
    11.8  	make &&
    11.9  	make DESTDIR=$DESTDIR install || return 1
   11.10  
    12.1 --- a/gcolor2/receipt	Fri Apr 13 07:14:16 2018 +0300
    12.2 +++ b/gcolor2/receipt	Fri Apr 13 09:28:50 2018 +0300
    12.3 @@ -13,22 +13,19 @@
    12.4  
    12.5  BUILD_DEPENDS="gfortran intltool perl-xml-parser gtk+-dev file"
    12.6  
    12.7 -# Rules to configure and make the package.
    12.8 -compile_rules()
    12.9 -{
   12.10 +compile_rules() {
   12.11  	cp $stuff/*.po* $src/po
   12.12  	sed -i 's|@CATALOGS@|ru.gmo|' po/Makefile.in.in
   12.13  
   12.14  	./configure $CONFIGURE_ARGS &&
   12.15 +	fix libtool &&
   12.16  	make &&
   12.17  	make DESTDIR=$DESTDIR install
   12.18  }
   12.19  
   12.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
   12.21 -genpkg_rules()
   12.22 -{
   12.23 +genpkg_rules() {
   12.24 +	COOKOPTS="!pixmaps"
   12.25  	copy bin/
   12.26 -	GENERIC_PIXMAPS="no"
   12.27  	DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ libffi \
   12.28  	libharfbuzz liblzma libpng16 libxml2 pango pcre util-linux-blkid \
   12.29  	util-linux-mount util-linux-uuid xorg-libX11 xorg-libXau xorg-libXdmcp \
    13.1 --- a/gdal/receipt	Fri Apr 13 07:14:16 2018 +0300
    13.2 +++ b/gdal/receipt	Fri Apr 13 09:28:50 2018 +0300
    13.3 @@ -18,7 +18,7 @@
    13.4  COOKOPTS="skip-log-errors"
    13.5  
    13.6  compile_rules() {
    13.7 -	fix math
    13.8 +#	fix math
    13.9  	./configure \
   13.10  		--datadir=/usr/share/gdal \
   13.11  		--with-threads \
   13.12 @@ -27,6 +27,7 @@
   13.13  		--with-geos \
   13.14  		--with-sqlite3=no \
   13.15  		--with-ogr &&
   13.16 +	fix libtool &&
   13.17  	make &&
   13.18  	make install BINDINGS="perl python"
   13.19  }
    14.1 --- a/gdbm/receipt	Fri Apr 13 07:14:16 2018 +0300
    14.2 +++ b/gdbm/receipt	Fri Apr 13 09:28:50 2018 +0300
    14.3 @@ -20,7 +20,9 @@
    14.4  		--disable-static \
    14.5  		--enable-libgdbm-compat \
    14.6  		$CONFIGURE_ARGS &&
    14.7 -	make && make install
    14.8 +	fix libtool &&
    14.9 +	make &&
   14.10 +	make install
   14.11  }
   14.12  
   14.13  genpkg_rules() {
    15.1 --- a/gdk-pixbuf/receipt	Fri Apr 13 07:14:16 2018 +0300
    15.2 +++ b/gdk-pixbuf/receipt	Fri Apr 13 09:28:50 2018 +0300
    15.3 @@ -11,10 +11,10 @@
    15.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
    15.5  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    15.6  
    15.7 +BUILD_DEPENDS_arm="glib-dev gettext tiff-dev libpng16-dev libjpeg-turbo-dev \
    15.8 +xorg-libX11-dev gtk-doc"
    15.9  BUILD_DEPENDS="glib-dev gettext tiff-dev libpng16-dev libjpeg-turbo-dev \
   15.10  xorg-libX11-dev gobject-introspection-dev gtk-doc util-linux-mount-dev"
   15.11 -BUILD_DEPENDS_arm="glib-dev gettext tiff-dev libpng16-dev libjpeg-turbo-dev \
   15.12 -xorg-libX11-dev gtk-doc"
   15.13  SPLIT="gdk-pixbuf-dev"
   15.14  
   15.15  compile_rules() {
   15.16 @@ -28,9 +28,11 @@
   15.17  	./configure \
   15.18  		--with-x11 \
   15.19  		$CONFIGURE_ARGS $ARCH_ARGS &&
   15.20 -	make && make install &&
   15.21 +	fix libtool &&
   15.22 +	make &&
   15.23 +	make install || return 1
   15.24  
   15.25 -	mkdir -p $install/usr/lib/gdk-pixbuf-2.0/2.10.0 &&
   15.26 +	mkdir -p $install/usr/lib/gdk-pixbuf-2.0/2.10.0
   15.27  	touch    $install/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
   15.28  }
   15.29  
    16.1 --- a/geany-plugins/receipt	Fri Apr 13 07:14:16 2018 +0300
    16.2 +++ b/geany-plugins/receipt	Fri Apr 13 09:28:50 2018 +0300
    16.3 @@ -17,6 +17,7 @@
    16.4  
    16.5  compile_rules() {
    16.6  	./configure $CONFIGURE_ARGS &&
    16.7 +	fix libtool &&
    16.8  	make &&
    16.9  	make install
   16.10  }
    17.1 --- a/geany/receipt	Fri Apr 13 07:14:16 2018 +0300
    17.2 +++ b/geany/receipt	Fri Apr 13 09:28:50 2018 +0300
    17.3 @@ -27,14 +27,15 @@
    17.4  
    17.5  	./configure \
    17.6  		$ARCH_ARGS $CONFIGURE_ARGS &&
    17.7 -	make && make install
    17.8 +	fix libtool &&
    17.9 +	make &&
   17.10 +	make install
   17.11  }
   17.12  
   17.13  genpkg_rules() {
   17.14  	case $PACKAGE in
   17.15  		geany)
   17.16 -			copy @std
   17.17 -			rm -r $fs/usr/share/icons/; cook_copy_icons
   17.18 +			copy @std @ico
   17.19  			DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
   17.20  			libffi libharfbuzz liblzma libpng16 libxml2 pango pcre python \
   17.21  			util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
    18.1 --- a/gegl/receipt	Fri Apr 13 07:14:16 2018 +0300
    18.2 +++ b/gegl/receipt	Fri Apr 13 09:28:50 2018 +0300
    18.3 @@ -25,7 +25,9 @@
    18.4  		--without-libavformat \
    18.5  		--without-libv4l \
    18.6  		$CONFIGURE_ARGS &&
    18.7 -	make && make install
    18.8 +	fix libtool &&
    18.9 +	make &&
   18.10 +	make install
   18.11  }
   18.12  
   18.13  genpkg_rules() {
    19.1 --- a/geoip/receipt	Fri Apr 13 07:14:16 2018 +0300
    19.2 +++ b/geoip/receipt	Fri Apr 13 09:28:50 2018 +0300
    19.3 @@ -19,6 +19,7 @@
    19.4  	./configure \
    19.5  		--sysconfdir=/etc/geoip \
    19.6  		$CONFIGURE_ARGS &&
    19.7 +	fix libtool &&
    19.8  	make &&
    19.9  	make DESTDIR=$DESTDIR install
   19.10  }
    20.1 --- a/geos/receipt	Fri Apr 13 07:14:16 2018 +0300
    20.2 +++ b/geos/receipt	Fri Apr 13 09:28:50 2018 +0300
    20.3 @@ -15,6 +15,7 @@
    20.4  
    20.5  compile_rules() {
    20.6  	./configure $CONFIGURE_ARGS &&
    20.7 +	fix libtool &&
    20.8  	make &&
    20.9  	make install
   20.10  }
    21.1 --- a/gf2x/receipt	Fri Apr 13 07:14:16 2018 +0300
    21.2 +++ b/gf2x/receipt	Fri Apr 13 09:28:50 2018 +0300
    21.3 @@ -14,7 +14,10 @@
    21.4  SPLIT="gf2x-dev"
    21.5  
    21.6  compile_rules() {
    21.7 -	./configure $CONFIGURE_ARGS && make && make install
    21.8 +	./configure $CONFIGURE_ARGS &&
    21.9 +	fix libtool &&
   21.10 +	make &&
   21.11 +	make install
   21.12  }
   21.13  
   21.14  genpkg_rules() {
    22.1 --- a/ggseq/receipt	Fri Apr 13 07:14:16 2018 +0300
    22.2 +++ b/ggseq/receipt	Fri Apr 13 09:28:50 2018 +0300
    22.3 @@ -1,33 +1,28 @@
    22.4 -# SliTaz package receipt.
    22.5 +# SliTaz package receipt v2.
    22.6  
    22.7  PACKAGE="ggseq"
    22.8  VERSION="0.3.1"
    22.9  CATEGORY="multimedia"
   22.10 -SHORT_DESC="Gungirl Sequencer is an easy to use Audiosequencer."
   22.11 +SHORT_DESC="Gungirl Sequencer is an easy to use Audiosequencer"
   22.12  MAINTAINER="pankso@slitaz.org"
   22.13  LICENSE="GPL2"
   22.14 +WEB_SITE="http://ggseq.sourceforge.net/"
   22.15 +
   22.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   22.17 -WEB_SITE="http://ggseq.sourceforge.net/"
   22.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   22.19  
   22.20 -DEPENDS="wxWidgets28 libsndfile libsamplerate"
   22.21  BUILD_DEPENDS="wxWidgets28-dev libsndfile-dev libsamplerate-dev"
   22.22  
   22.23 -# Rules to configure and make the package.
   22.24 -compile_rules()
   22.25 -{
   22.26 +compile_rules() {
   22.27  	sed -i 's/SoundTouch::getVersionId/getVersionId/' src/SoundTouch/SoundTouch.h
   22.28 -	./configure \
   22.29 -		--prefix=/usr \
   22.30 -		--infodir=/usr/share/info \
   22.31 -		--mandir=/usr/share/man \
   22.32 -		$CONFIGURE_ARGS &&
   22.33 -	make && make DESTDIR=$DESTDIR install
   22.34 +
   22.35 +	./configure $CONFIGURE_ARGS &&
   22.36 +	fix libtool &&
   22.37 +	make &&
   22.38 +	make DESTDIR=$DESTDIR install
   22.39  }
   22.40  
   22.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
   22.42 -genpkg_rules()
   22.43 -{
   22.44 -	mkdir -p $fs/usr
   22.45 -	cp -a $install/usr/bin $fs/usr
   22.46 +genpkg_rules() {
   22.47 +	copy @std
   22.48 +	DEPENDS="wxWidgets28 libsndfile libsamplerate"
   22.49  }
    23.1 --- a/ghex/receipt	Fri Apr 13 07:14:16 2018 +0300
    23.2 +++ b/ghex/receipt	Fri Apr 13 09:28:50 2018 +0300
    23.3 @@ -25,7 +25,8 @@
    23.4  		--disable-schemas-install \
    23.5  		--disable-scrollkeeper \
    23.6  		$CONFIGURE_ARGS &&
    23.7 -	make && 
    23.8 +	fix libtool &&
    23.9 +	make &&
   23.10  	make DESTDIR=$install install
   23.11  }
   23.12  
    24.1 --- a/giac/receipt	Fri Apr 13 07:14:16 2018 +0300
    24.2 +++ b/giac/receipt	Fri Apr 13 09:28:50 2018 +0300
    24.3 @@ -1,4 +1,4 @@
    24.4 -# SliTaz package receipt.
    24.5 +# SliTaz package receipt v2.
    24.6  
    24.7  PACKAGE="giac"
    24.8  VERSION="1.4.9"
    24.9 @@ -7,32 +7,32 @@
   24.10  MAINTAINER="al.bobylev@gmail.com"
   24.11  LICENSE="GPL3"
   24.12  WEB_SITE="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
   24.13 +
   24.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   24.15  WGET_URL="http://www-fourier.ujf-grenoble.fr/~parisse/giac/$TARBALL"
   24.16  
   24.17 -DEPENDS="gmp mpfr libpng16 gsl pari ntl readline cocoalib fltk gf2x"
   24.18  BUILD_DEPENDS="gmp-dev mpfr-dev libpng16-dev gsl-dev pari-dev ntl readline-dev \
   24.19  cocoalib fltk-dev xorg-libX11-dev gf2x-dev xorg-libXinerama-dev libxml2-dev \
   24.20  fltk-2.0.x-gl bison gfortran mesa-dev expat-dev gf2x-dev libboost-dev \
   24.21  libboost-system xorg-libxshmfence-dev" # lapack
   24.22  
   24.23 -# Rules to configure and make the package.
   24.24 -compile_rules()
   24.25 -{
   24.26 +compile_rules() {
   24.27  	sed -i 's| doc | |' Makefile*
   24.28 -	cp /usr/include/FL/Fl_PostScript.H /usr/include/FL/Fl_PostScript.H.ORG
   24.29 -	cp /usr/include/FL/Fl_Input.H /usr/include/FL/Fl_Input.H.ORG
   24.30 -	sed -i 's/protected:/public:/' /usr/include/FL/Fl_Input.H /usr/include/FL/Fl_PostScript.H
   24.31 +	sed -i.ORG 's/protected:/public:/' \
   24.32 +		/usr/include/FL/Fl_Input.H \
   24.33 +		/usr/include/FL/Fl_PostScript.H
   24.34  	export LDFLAGS="$LDFLAGS -lgf2x -lboost_system"
   24.35 +
   24.36  	./configure $CONFIGURE_ARGS &&
   24.37 +	fix libtool &&
   24.38  	make &&
   24.39 -	make install
   24.40 +	make install || return 1
   24.41 +
   24.42  	mv -f /usr/include/FL/Fl_PostScript.H.ORG /usr/include/FL/Fl_PostScript.H
   24.43 -	mv -f /usr/include/FL/Fl_Input.H.ORG /usr/include/FL/Fl_Input.H
   24.44 +	mv -f /usr/include/FL/Fl_Input.H.ORG      /usr/include/FL/Fl_Input.H
   24.45  }
   24.46  
   24.47 -# Rules to gen a SliTaz package suitable for Tazpkg.
   24.48 -genpkg_rules()
   24.49 -{
   24.50 -	cp -a $install/* $fs
   24.51 +genpkg_rules() {
   24.52 +	copy @std @dev
   24.53 +	DEPENDS="gmp mpfr libpng16 gsl pari ntl readline cocoalib fltk gf2x"
   24.54  }
    25.1 --- a/giblib/receipt	Fri Apr 13 07:14:16 2018 +0300
    25.2 +++ b/giblib/receipt	Fri Apr 13 09:28:50 2018 +0300
    25.3 @@ -11,7 +11,8 @@
    25.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    25.5  WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL"
    25.6  
    25.7 -BUILD_DEPENDS="imlib2-dev imlib2 xorg-xproto freetype-dev xorg-libXext-dev"
    25.8 +BUILD_DEPENDS="gfortran imlib2-dev imlib2 xorg-xproto freetype-dev \
    25.9 +xorg-libXext-dev"
   25.10  SPLIT="giblib-dev"
   25.11  
   25.12  compile_rules() {
   25.13 @@ -20,9 +21,8 @@
   25.14  	esac
   25.15  
   25.16  	sed -i 's|/doc|/share&|' Makefile*
   25.17 -	./configure \
   25.18 -		--prefix=/usr \
   25.19 -		$CONFIGURE_ARGS &&
   25.20 +	./configure $CONFIGURE_ARGS &&
   25.21 +	fix libtool &&
   25.22  	make &&
   25.23  	make DESTDIR=$DESTDIR install
   25.24  }
    26.1 --- a/giflib/receipt	Fri Apr 13 07:14:16 2018 +0300
    26.2 +++ b/giflib/receipt	Fri Apr 13 09:28:50 2018 +0300
    26.3 @@ -17,7 +17,9 @@
    26.4  	./configure \
    26.5  		--disable-static \
    26.6  		$CONFIGURE_ARGS &&
    26.7 -	make && make install
    26.8 +	fix libtool &&
    26.9 +	make &&
   26.10 +	make install
   26.11  }
   26.12  
   26.13  genpkg_rules() {
    27.1 --- a/gimp/receipt	Fri Apr 13 07:14:16 2018 +0300
    27.2 +++ b/gimp/receipt	Fri Apr 13 09:28:50 2018 +0300
    27.3 @@ -30,6 +30,7 @@
    27.4  		--without-dbus \
    27.5  		--without-webkit \
    27.6  		$CONFIGURE_ARGS &&
    27.7 +	fix libtool &&
    27.8  	make $MAKEFLAGS &&
    27.9  	make install
   27.10  }
    28.1 --- a/gitmail/receipt	Fri Apr 13 07:14:16 2018 +0300
    28.2 +++ b/gitmail/receipt	Fri Apr 13 09:28:50 2018 +0300
    28.3 @@ -1,33 +1,33 @@
    28.4 -# SliTaz package receipt.
    28.5 +# SliTaz package receipt v2.
    28.6  
    28.7  PACKAGE="gitmail"
    28.8  VERSION="0.4"
    28.9  CATEGORY="network"
   28.10 -SHORT_DESC="Ghost In The Mail is a simple mail client."
   28.11 +SHORT_DESC="Ghost In The Mail is a simple mail client"
   28.12  MAINTAINER="pankso@slitaz.org"
   28.13  LICENSE="GPL2"
   28.14 +WEB_SITE="http://gitmail.sourceforge.net/"
   28.15 +
   28.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   28.17 -WEB_SITE="http://gitmail.sourceforge.net/"
   28.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   28.19  
   28.20 -DEPENDS="gtk+ xorg-libXdamage"
   28.21  BUILD_DEPENDS="gtk+-dev"
   28.22  
   28.23 -# Rules to configure and make the package.
   28.24 -compile_rules()
   28.25 -{
   28.26 -	cd $src
   28.27 +COOKOPTS="skip-log-errors"
   28.28 +
   28.29 +compile_rules() {
   28.30  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpthread"
   28.31 -	./configure --prefix=/usr $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath &&
   28.32 +
   28.33 +	./configure $CONFIGURE_ARGS &&
   28.34 +	fix libtool &&
   28.35  	make &&
   28.36 -	make DESTDIR=$DESTDIR \
   28.37 -	gitmaildocdir=/usr/share/doc/GhostInTheMail \
   28.38 -	install
   28.39 +	make \
   28.40 +		DESTDIR=$DESTDIR \
   28.41 +		gitmaildocdir=/usr/share/doc/GhostInTheMail \
   28.42 +		install
   28.43  }
   28.44  
   28.45 -# Rules to gen a SliTaz package suitable for Tazpkg.
   28.46 -genpkg_rules()
   28.47 -{
   28.48 -	mkdir -p $fs/usr
   28.49 -	cp -a $install/usr/bin $fs/usr
   28.50 +genpkg_rules() {
   28.51 +	copy @std
   28.52 +	DEPENDS="gtk+ xorg-libXdamage"
   28.53  }
    29.1 --- a/glade/receipt	Fri Apr 13 07:14:16 2018 +0300
    29.2 +++ b/glade/receipt	Fri Apr 13 09:28:50 2018 +0300
    29.3 @@ -24,7 +24,9 @@
    29.4  		--disable-introspection \
    29.5  		--enable-gladeui \
    29.6  		$CONFIGURE_ARGS &&
    29.7 -	make && make install
    29.8 +	fix libtool &&
    29.9 +	make &&
   29.10 +	make install
   29.11  }
   29.12  
   29.13  genpkg_rules() {
    30.1 --- a/glade3/receipt	Fri Apr 13 07:14:16 2018 +0300
    30.2 +++ b/glade3/receipt	Fri Apr 13 09:28:50 2018 +0300
    30.3 @@ -15,7 +15,10 @@
    30.4  SPLIT="glade3-python glade3 glade3-dev"
    30.5  
    30.6  compile_rules() {
    30.7 -	./configure $CONFIGURE_ARGS && make && make install
    30.8 +	./configure $CONFIGURE_ARGS &&
    30.9 +	fix libtool &&
   30.10 +	make &&
   30.11 +	make install
   30.12  }
   30.13  
   30.14  genpkg_rules() {
    31.1 --- a/glib-networking/receipt	Fri Apr 13 07:14:16 2018 +0300
    31.2 +++ b/glib-networking/receipt	Fri Apr 13 09:28:50 2018 +0300
    31.3 @@ -11,14 +11,15 @@
    31.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
    31.5  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    31.6  
    31.7 +BUILD_DEPENDS_arm="glib-dev gnutls-dev"
    31.8  BUILD_DEPENDS="intltool gnutls-dev gsettings-desktop-schemas"
    31.9 -BUILD_DEPENDS_arm="glib-dev gnutls-dev"
   31.10  
   31.11  compile_rules() {
   31.12  	./configure \
   31.13  		--with-ca-certificates=/etc/ssl/ca-bundle.crt \
   31.14  		--disable-static \
   31.15  		$CONFIGURE_ARGS &&
   31.16 +	fix libtool &&
   31.17  	make &&
   31.18  	make install
   31.19  }
    32.1 --- a/glu/receipt	Fri Apr 13 07:14:16 2018 +0300
    32.2 +++ b/glu/receipt	Fri Apr 13 09:28:50 2018 +0300
    32.3 @@ -20,7 +20,9 @@
    32.4  	./configure \
    32.5  		--disable-static \
    32.6  		$CONFIGURE_ARGS &&
    32.7 -	make $MAKEFLAGS && make install
    32.8 +	fix libtool &&
    32.9 +	make $MAKEFLAGS &&
   32.10 +	make install
   32.11  }
   32.12  
   32.13  genpkg_rules() {
    33.1 --- a/glw/receipt	Fri Apr 13 07:14:16 2018 +0300
    33.2 +++ b/glw/receipt	Fri Apr 13 09:28:50 2018 +0300
    33.3 @@ -19,7 +19,9 @@
    33.4  	./configure \
    33.5  		--disable-static \
    33.6  		$CONFIGURE_ARGS &&
    33.7 -	make $MAKEFLAGS && make install
    33.8 +	fix libtool &&
    33.9 +	make $MAKEFLAGS &&
   33.10 +	make install
   33.11  }
   33.12  
   33.13  genpkg_rules() {
    34.1 --- a/gmerlin/receipt	Fri Apr 13 07:14:16 2018 +0300
    34.2 +++ b/gmerlin/receipt	Fri Apr 13 09:28:50 2018 +0300
    34.3 @@ -22,10 +22,12 @@
    34.4  	./configure \
    34.5  		--without-doxygen \
    34.6  		$CONFIGURE_ARGS &&
    34.7 +	fix libtool &&
    34.8  	sed -i 's|LIBS = -lgavl|LIBS = -lgavl -ldl -lpthread -lgtk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lxml2 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11|' \
    34.9  		apps/*/Makefile lib/Makefile tests/Makefile &&
   34.10  	sed -i 's|ln -sf $(DESTDIR)$(pkgdatadir)|ln -sf $(pkgdatadir)|' icons/Makefile &&
   34.11 -	make && make -j 1 install
   34.12 +	make &&
   34.13 +	make -j 1 install
   34.14  }
   34.15  
   34.16  genpkg_rules() {
    35.1 --- a/gmp/receipt	Fri Apr 13 07:14:16 2018 +0300
    35.2 +++ b/gmp/receipt	Fri Apr 13 09:28:50 2018 +0300
    35.3 @@ -13,7 +13,7 @@
    35.4  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    35.5  
    35.6  BUILD_DEPENDS="binutils m4 ncurses-dev readline-dev texinfo"
    35.7 -SPLIT="gmp gmp-dev"
    35.8 +SPLIT="gmp-dev"
    35.9  
   35.10  compile_rules() {
   35.11  	# Create generic libraries
   35.12 @@ -24,8 +24,10 @@
   35.13  		--enable-cxx \
   35.14  		--disable-static \
   35.15  		$CONFIGURE_ARGS &&
   35.16 +	fix libtool &&
   35.17  	# -j > 1 make install fails.
   35.18 -	make && make html && make install && make install-html
   35.19 +	make && make html &&
   35.20 +	make install && make install-html
   35.21  }
   35.22  
   35.23  testsuite() {
    36.1 --- a/gmpc/receipt	Fri Apr 13 07:14:16 2018 +0300
    36.2 +++ b/gmpc/receipt	Fri Apr 13 09:28:50 2018 +0300
    36.3 @@ -25,6 +25,7 @@
    36.4  		--disable-shave \
    36.5  		--disable-unique \
    36.6  		$CONFIGURE_ARGS &&
    36.7 +	fix libtool &&
    36.8  	make || return 1
    36.9  	sed -i 's|GNOME;AudioVideo;|GTK;AudioVideo;Player;|' data/$PACKAGE.desktop
   36.10  	make install
   36.11 @@ -33,18 +34,12 @@
   36.12  genpkg_rules() {
   36.13  	case $PACKAGE in
   36.14  		gmpc)
   36.15 -			mkdir -p $fs/usr/share/icons/hicolor
   36.16 -			cp -a $install/usr/bin $fs/usr
   36.17 -			cp -a $install/usr/share/$PACKAGE $fs/usr/share
   36.18 -			cp -a $install/usr/share/icons/hicolor/16x16 \
   36.19 -				$fs/usr/share/icons/hicolor
   36.20 +			copy @std
   36.21  			DEPENDS="libglade libmpd curl xorg-libSM libsoup libsexy mpd \
   36.22  			sqlite3 libtasn1"
   36.23  			;;
   36.24  		*-dev)
   36.25 -			mkdir -p $fs/usr/lib
   36.26 -			cp -a $install/usr/include $fs/usr
   36.27 -			cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   36.28 +			copy @dev
   36.29  			;;
   36.30  	esac
   36.31  }
    37.1 --- a/gnet/receipt	Fri Apr 13 07:14:16 2018 +0300
    37.2 +++ b/gnet/receipt	Fri Apr 13 09:28:50 2018 +0300
    37.3 @@ -9,7 +9,7 @@
    37.4  WEB_SITE="http://www.gnetlibrary.org/"
    37.5  
    37.6  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    37.7 -WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gnet/${VERSION%.*}/$TARBALL"
    37.8 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    37.9  
   37.10  BUILD_DEPENDS="glib-dev util-linux-uuid-dev xorg-libXt"
   37.11  SPLIT="gnet-dev"
   37.12 @@ -17,11 +17,9 @@
   37.13  compile_rules() {
   37.14  	# Binutils 2.22 break many packages build without LDFLAGS set correctly.
   37.15  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lXt"
   37.16 -	./configure \
   37.17 -		--prefix=/usr \
   37.18 -		--infodir=/usr/share/info \
   37.19 -		--mandir=/usr/share/man \
   37.20 -		$CONFIGURE_ARGS &&
   37.21 +
   37.22 +	./configure $CONFIGURE_ARGS &&
   37.23 +	fix libtool &&
   37.24  	make &&
   37.25  	make DESTDIR=$DESTDIR install
   37.26  }
    38.1 --- a/gnome-commander/receipt	Fri Apr 13 07:14:16 2018 +0300
    38.2 +++ b/gnome-commander/receipt	Fri Apr 13 09:28:50 2018 +0300
    38.3 @@ -25,6 +25,7 @@
    38.4  	./configure \
    38.5  		--disable-scrollkeeper \
    38.6  		$CONFIGURE_ARGS &&
    38.7 +	fix libtool &&
    38.8  	# update-mime-database is useless in DESTDIR install, and although it is
    38.9  	# disabled, install-data-hook produces non-zero return code from `make install`
   38.10  	# and cooker believe package is broken; here we remove install-data-hook call
    39.1 --- a/gnome-desktop/receipt	Fri Apr 13 07:14:16 2018 +0300
    39.2 +++ b/gnome-desktop/receipt	Fri Apr 13 09:28:50 2018 +0300
    39.3 @@ -25,6 +25,7 @@
    39.4  		--disable-static \
    39.5  		--with-gnome-distributor="SliTaz GNU/Linux" \
    39.6  		$CONFIGURE_ARGS &&
    39.7 +	fix libtool &&
    39.8  	make &&
    39.9  	make DESTDIR=$DESTDIR install
   39.10  }
   39.11 @@ -32,11 +33,7 @@
   39.12  genpkg_rules() {
   39.13  	case $PACKAGE in
   39.14  		gnome-desktop)
   39.15 -			mkdir -p $fs/usr/lib $fs/usr/share
   39.16 -			#cp -a $install/etc $fs
   39.17 -			cp -a $install/usr/bin $fs/usr
   39.18 -			cp -a $install/usr/lib/*.so* $fs/usr/lib
   39.19 -			#cp -a $install/usr/share/dbus-1 $fs/usr/share
   39.20 +			copy bin/ *.so*
   39.21  			DEPENDS="GConf gtk+ startup-notification"
   39.22  			;;
   39.23  		*-dev)
    40.1 --- a/gnome-js-common/receipt	Fri Apr 13 07:14:16 2018 +0300
    40.2 +++ b/gnome-js-common/receipt	Fri Apr 13 09:28:50 2018 +0300
    40.3 @@ -1,30 +1,25 @@
    40.4 -# SliTaz package receipt.
    40.5 +# SliTaz package receipt v2.
    40.6  
    40.7  PACKAGE="gnome-js-common"
    40.8  VERSION="0.1.2"
    40.9  CATEGORY="system-tools"
   40.10 -SHORT_DESC="Gnome JS common files."
   40.11 +SHORT_DESC="Gnome JS common files"
   40.12  MAINTAINER="pankso@slitaz.org"
   40.13  LICENSE="GPL3"
   40.14 +WEB_SITE="http://www.gnome.org/"
   40.15 +
   40.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   40.17 -WEB_SITE="http://www.gnome.org/"
   40.18  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
   40.19  
   40.20 -DEPENDS=""
   40.21  BUILD_DEPENDS="intltool"
   40.22  
   40.23 -# Rules to configure and make the package.
   40.24 -compile_rules()
   40.25 -{
   40.26 -	cd $src
   40.27 -	./configure \
   40.28 -		$CONFIGURE_ARGS &&
   40.29 -	make && make install
   40.30 +compile_rules() {
   40.31 +	./configure $CONFIGURE_ARGS &&
   40.32 +	fix libtool &&
   40.33 +	make &&
   40.34 +	make install
   40.35  }
   40.36  
   40.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
   40.38 -genpkg_rules()
   40.39 -{
   40.40 -	mkdir -p $fs/usr
   40.41 -	cp -a $install/usr/lib $fs/usr
   40.42 +genpkg_rules() {
   40.43 +	copy @std @dev
   40.44  }
    41.1 --- a/gnome-keyring/receipt	Fri Apr 13 07:14:16 2018 +0300
    41.2 +++ b/gnome-keyring/receipt	Fri Apr 13 09:28:50 2018 +0300
    41.3 @@ -23,6 +23,7 @@
    41.4  		--libexecdir=/usr/lib/$PACKAGE \
    41.5  		--sysconfdir=/etc/gnome \
    41.6  		--disable-pam &&
    41.7 +	fix libtool &&
    41.8  	make &&
    41.9  	make install
   41.10  }
    42.1 --- a/gnome-menus/receipt	Fri Apr 13 07:14:16 2018 +0300
    42.2 +++ b/gnome-menus/receipt	Fri Apr 13 09:28:50 2018 +0300
    42.3 @@ -16,6 +16,7 @@
    42.4  
    42.5  compile_rules() {
    42.6  	./configure $CONFIGURE_ARGS &&
    42.7 +	fix libtool &&
    42.8  	make &&
    42.9  	make DESTDIR=$DESTDIR install
   42.10  }