wok-next rev 19681

Up cookutils, cups, fontconfig, gtk+, ijs, paper-icon-theme, poppler, qpdf.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 07 17:30:10 2017 +0300 (2017-04-07)
parents 76490c6e292d
children 28f443011cb6
files cookutils-daemon/receipt cookutils/receipt cups-dev/receipt cups-doc/receipt cups-filters-dev/receipt cups-filters/description.txt cups-filters/receipt cups/receipt cups/stuff/cups.desktop cups/stuff/install-sh.u fontconfig-dev/receipt fontconfig/receipt gtk+-demo/receipt gtk+/receipt gtk+/stuff/patches/series gtk+/stuff/patches/undo_gen_icons.patch gtk+/stuff/undo_gen_icons.patch ijs-dev/receipt ijs/receipt libcups/receipt paper-icon-theme/receipt poppler-apps/receipt poppler-data/receipt poppler-dev/receipt poppler/receipt qpdf-dev/receipt qpdf/receipt
line diff
     1.1 --- a/cookutils-daemon/receipt	Wed Apr 05 16:47:26 2017 +0300
     1.2 +++ b/cookutils-daemon/receipt	Fri Apr 07 17:30:10 2017 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cookutils-daemon"
     1.7 -VERSION="892"
     1.8 +VERSION="894"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="SliTaz Cooker daemon script for build host."
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/cookutils/receipt	Wed Apr 05 16:47:26 2017 +0300
     2.2 +++ b/cookutils/receipt	Fri Apr 07 17:30:10 2017 +0300
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="cookutils"
     2.7 -VERSION="892"
     2.8 +VERSION="894"
     2.9  CATEGORY="base-system"
    2.10  SHORT_DESC="SliTaz packages builder new generation."
    2.11  MAINTAINER="pankso@slitaz.org"
     3.1 --- a/cups-dev/receipt	Wed Apr 05 16:47:26 2017 +0300
     3.2 +++ b/cups-dev/receipt	Fri Apr 07 17:30:10 2017 +0300
     3.3 @@ -1,19 +1,17 @@
     3.4  # SliTaz package receipt."
     3.5  
     3.6  PACKAGE="cups-dev"
     3.7 -VERSION="2.0.2"
     3.8 +VERSION="2.1.4"
     3.9  CATEGORY="development"
    3.10 -SHORT_DESC="Common UNIX Printing System dev files."
    3.11 +SHORT_DESC="Common UNIX Printing System (development files)"
    3.12  MAINTAINER="erjo@slitaz.org"
    3.13  LICENSE="GPL2 LGPL2"
    3.14 +WEB_SITE="https://www.cups.org/"
    3.15 +
    3.16  WANTED="cups"
    3.17 -WEB_SITE="http://www.cups.org/"
    3.18 -
    3.19  DEPENDS="cups"
    3.20  
    3.21  genpkg_rules()
    3.22  {
    3.23 -	mkdir -p $fs/usr/lib
    3.24 -	cp -a $install/usr/include $fs/usr
    3.25 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    3.26 +	cook_copy_files cups-config *.h
    3.27  }
     4.1 --- a/cups-doc/receipt	Wed Apr 05 16:47:26 2017 +0300
     4.2 +++ b/cups-doc/receipt	Fri Apr 07 17:30:10 2017 +0300
     4.3 @@ -1,12 +1,13 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="cups-doc"
     4.7 -VERSION="2.0.2"
     4.8 +VERSION="2.1.4"
     4.9  CATEGORY="misc"
    4.10 -SHORT_DESC="Docs for cups"
    4.11 +SHORT_DESC="Common UNIX Printing System (documentation)"
    4.12  MAINTAINER="slaxemulator@gmail.com"
    4.13  LICENSE="GPL2 LGPL2"
    4.14 -WEB_SITE="http://www.cups.org/"
    4.15 +WEB_SITE="https://www.cups.org/"
    4.16 +
    4.17  WANTED="cups"
    4.18  
    4.19  # Rules to gen a SliTaz package suitable for Tazpkg.
     5.1 --- a/cups-filters-dev/receipt	Wed Apr 05 16:47:26 2017 +0300
     5.2 +++ b/cups-filters-dev/receipt	Fri Apr 07 17:30:10 2017 +0300
     5.3 @@ -1,22 +1,18 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="cups-filters-dev"
     5.7 -VERSION="1.0.71"
     5.8 +VERSION="1.11.1"
     5.9  CATEGORY="development"
    5.10 -SHORT_DESC="OpenPrinting Cups Filters devel files"
    5.11 +SHORT_DESC="OpenPrinting Cups Filters (development files)"
    5.12  MAINTAINER="mojo@slitaz.org"
    5.13  LICENSE="GPL"
    5.14 +WEB_SITE="https://wiki.linuxfoundation.org/openprinting/start"
    5.15 +
    5.16  WANTED="cups-filters"
    5.17 -WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/openprinting"
    5.18 -
    5.19  DEPENDS="cups-filters"
    5.20  
    5.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.22  genpkg_rules()
    5.23  {
    5.24 -  mkdir -p $fs/usr/lib $fs/usr/share/cups
    5.25 -  cp -a $install/usr/include        $fs/usr
    5.26 -  cp -a $install/usr/lib/*.*a       $fs/usr/lib
    5.27 -  cp -a $install/usr/lib/pkgconfig  $fs/usr/lib
    5.28 -  cp -a $install/usr/share/cups/ppdc $fs/usr/share/cups 
    5.29 +	cook_copy_files *.h *.la *.pc
    5.30  }
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/cups-filters/description.txt	Fri Apr 07 17:30:10 2017 +0300
     6.3 @@ -0,0 +1,2 @@
     6.4 +The CUPS Filters package contains backends, filters and other software that was
     6.5 +once part of the core CUPS distribution but is no longer maintained by Apple Inc.
     7.1 --- a/cups-filters/receipt	Wed Apr 05 16:47:26 2017 +0300
     7.2 +++ b/cups-filters/receipt	Fri Apr 07 17:30:10 2017 +0300
     7.3 @@ -1,31 +1,33 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="cups-filters"
     7.7 -VERSION="1.0.71"
     7.8 +VERSION="1.11.1"
     7.9  CATEGORY="system-tools"
    7.10  SHORT_DESC="OpenPrinting CUPS Filters"
    7.11  MAINTAINER="mojo@slitaz.org"
    7.12  LICENSE="GPL"
    7.13 -WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/openprinting"
    7.14 +WEB_SITE="https://wiki.linuxfoundation.org/openprinting/start"
    7.15 +
    7.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    7.17 -WGET_URL="http://www.openprinting.org/download/cups-filters/$TARBALL"
    7.18 -EXTRA_SOURCE_FILES="$PACKAGE-7371.u"
    7.19 -WGET_URL2="http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/diff/7371"
    7.20 +WGET_URL="https://www.openprinting.org/download/cups-filters/$TARBALL"
    7.21  
    7.22 -DEPENDS="lcms poppler qpdf ghostscript gutenprint glib"
    7.23 -BUILD_DEPENDS="ijs-dev libpng-dev lcms-dev poppler-dev qpdf-dev dbus-dev \
    7.24 -cups-dev gmp-dev zlib-dev jpeg-dev tiff-dev freetype-dev fontconfig-dev"
    7.25 +DEPENDS="cups dbus fontconfig freetype glib ijs lcms2 libcups libgio libgnutls \
    7.26 +libjpeg-turbo libpng poppler qpdf tiff zlib"
    7.27 +BUILD_DEPENDS="cups-dev zlib-dev libjpeg-turbo-dev libpng-dev tiff-dev glib-dev \
    7.28 +lcms2-dev freetype-dev fontconfig-dev ijs-dev qpdf-dev poppler-dev dbus-dev"
    7.29  
    7.30  # Rules to configure and make the package.
    7.31  compile_rules()
    7.32  {
    7.33 -	[ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] ||
    7.34 -		wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
    7.35 -	patch -p0 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
    7.36 -
    7.37  	./configure \
    7.38 -		--prefix=/usr \
    7.39  		--sysconfdir=/etc \
    7.40 +		--localstatedir=/var \
    7.41 +		--without-rcdir \
    7.42 +		--disable-static \
    7.43 +		--disable-avahi \
    7.44 +		--with-gs-path=/usr/bin/gs \
    7.45 +		--with-pdftops-path=/usr/bin/gs \
    7.46 +		--docdir=/usr/share/doc/cups-filters-$VERSION \
    7.47  		$CONFIGURE_ARGS &&
    7.48  	make && make install
    7.49  }
    7.50 @@ -33,14 +35,7 @@
    7.51  # Rules to gen a SliTaz package suitable for Tazpkg.
    7.52  genpkg_rules()
    7.53  {
    7.54 -	mkdir -p $fs/usr/lib $fs/usr/share
    7.55 -	cp -a $install/etc            $fs
    7.56 -	cp -a $install/usr/bin        $fs/usr
    7.57 -	cp -a $install/usr/sbin       $fs/usr
    7.58 -	cp -a $install/usr/lib/*so*   $fs/usr/lib
    7.59 -	cp -a $install/usr/lib/cups   $fs/usr/lib
    7.60 -	cp -a $install/usr/share/ppd  $fs/usr/share
    7.61 -	cp -a $install/usr/share/cups $fs/usr/share
    7.62 -	rm -fr $fs/etc/rc*.d
    7.63 -	rm -fr $fs/usr/share/cups/ppdc
    7.64 +	cook_copy_folders etc bin sbin cups ppd
    7.65 +	cook_copy_files *.so*
    7.66 +	# rm -rf $fs/usr/share/cups/ppdc
    7.67  }
     8.1 --- a/cups/receipt	Wed Apr 05 16:47:26 2017 +0300
     8.2 +++ b/cups/receipt	Fri Apr 07 17:30:10 2017 +0300
     8.3 @@ -1,80 +1,74 @@
     8.4  # SliTaz package receipt.
     8.5  
     8.6  PACKAGE="cups"
     8.7 -VERSION="2.0.2"
     8.8 +VERSION="2.1.4"
     8.9  CATEGORY="system-tools"
    8.10  SHORT_DESC="Common UNIX Printing System."
    8.11  MAINTAINER="erjo@slitaz.org"
    8.12  LICENSE="GPL2 LGPL2"
    8.13 -TARBALL="$PACKAGE-$VERSION-source.tar.bz2"
    8.14 -WEB_SITE="http://www.cups.org/"
    8.15 -WGET_URL="http://www.cups.org/software/$VERSION/$TARBALL"
    8.16 +WEB_SITE="https://www.cups.org/"
    8.17  TAGS="printer printing"
    8.18  
    8.19 -DEPENDS="libssl dbus libcomerr cups-doc libkrb5 libusb-compat poppler-apps \
    8.20 -cups-filters libcups"
    8.21 -BUILD_DEPENDS="libgcrypt-dev gnutls-dev dbus-dev jpeg-dev libpng-dev \
    8.22 -tiff-dev zlib-dev libtasn1-dev openssl-dev libusb-compat-dev php-dev \
    8.23 -acl-dev poppler-apps"
    8.24 +TARBALL="$PACKAGE-$VERSION-source.tar.gz"
    8.25 +WGET_URL="https://github.com/apple/cups/releases/download/release-$VERSION/$TARBALL"
    8.26 +
    8.27 +DEPENDS="acl dbus libcups libgnutls libusb zlib"
    8.28 +BUILD_DEPENDS="automake libusb-dev zlib-dev dbus-dev gnutls-dev perl python \
    8.29 +acl-dev"
    8.30 +SPLIT="libcups cups-doc"
    8.31  
    8.32  # Rules to configure and make the package.
    8.33  compile_rules()
    8.34  {
    8.35 -	patch -Np1 -i $stuff/install-sh.u
    8.36 +	sed -i 's:555:755:g;s:444:644:g' Makedefs.in &&
    8.37 +	sed -i '/MAN.EXT/s:.gz::g' configure config-scripts/cups-manpages.m4 &&
    8.38 +	sed -i '/LIBGCRYPTCONFIG/d' config-scripts/cups-ssl.m4 &&
    8.39 +
    8.40 +	aclocal  -I config-scripts &&
    8.41 +	autoconf -I config-scripts &&
    8.42 +
    8.43 +	CC=gcc \
    8.44  	./configure \
    8.45 -		--prefix=/usr \
    8.46  		--sysconfdir=/etc \
    8.47 +		--libdir=/usr/lib \
    8.48  		--localstatedir=/var \
    8.49 -		--mandir=/usr/share/man \
    8.50 -		--enable-static \
    8.51 -		--disable-ldap \
    8.52 -		--disable-pam \
    8.53 -		--disable-gssapi \
    8.54 -		--disable-acl \
    8.55 -		--disable-slp \
    8.56 -		--enable-dbus \
    8.57 -		--with-dbusdir=/etc/dbus-1 \
    8.58 -		--with-cups-user=nobody \
    8.59 -		--with-cups-group=nogroup \
    8.60 -		--with-languages="de es fr pt_BR ru" \
    8.61 -		--with-pdftops=pdftops \
    8.62 +		--disable-systemd \
    8.63 +		--with-rcdir=/tmp/cupsinit \
    8.64 +		--with-system-groups=lpadmin \
    8.65 +		--with-docdir=/usr/share/doc/cups-$VERSION \
    8.66  		$CONFIGURE_ARGS &&
    8.67 -	make &&
    8.68 -	make BUILDROOT=$DESTDIR install
    8.69 -	cp -f $stuff/cups.desktop $install/usr/share/applications/cups.desktop
    8.70 +	make
    8.71 +	make BUILDROOT=$install install &&
    8.72 +	rm -rf $install/tmp &&
    8.73 +	ln -svnf ../doc/cups-$VERSION $install/usr/share/cups/doc-$VERSION
    8.74 +	echo "ServerName /var/run/cups/cups.sock" > $install/etc/cups/client.conf &&
    8.75 +
    8.76 +	sed -i 's|hostname:9100|&\n\n    parallel:/dev/usb/lp0|' \
    8.77 +		$install/usr/share/cups/templates/choose-uri.tmpl &&
    8.78 +	sed -i 's|htmlview|browser|' $install/usr/share/applications/cups.desktop
    8.79  }
    8.80  
    8.81  # Rules to gen a SliTaz package suitable for Tazpkg.
    8.82  genpkg_rules()
    8.83  {
    8.84 -	mkdir -p $fs/etc $fs/usr/lib $fs/usr/share
    8.85 +	cook_copy_folders dbus-1 bin sbin cups applications icons var
    8.86 +	cook_copy_files *.so*
    8.87  
    8.88 -	cp -a $install/etc/cups $fs/etc
    8.89 -	cp -a $install/etc/dbus* $fs/etc
    8.90 -	cp -a $install/usr/bin $fs/usr
    8.91 -	cp -a $install/usr/sbin $fs/usr
    8.92 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    8.93 -	cp -a $install/usr/lib/cups $fs/usr/lib
    8.94 -	cp -a $install/usr/share/cups $fs/usr/share
    8.95 -	cp -a $install/usr/share/icons $fs/usr/share
    8.96 -	cp -a $install/var $fs
    8.97 -
    8.98 -	# Remove files provided by cups-filters
    8.99 -	rm -f $fs/usr/share/cups/banners/*
   8.100 -	rm -f $fs/usr/share/cups/data/testprint
   8.101 -
   8.102 -	# Remove files provided by libcups
   8.103 +	# -> cups-dev
   8.104 +	rm -f $fs/usr/bin/cups-config
   8.105 +	rm -rf $fs/usr/include
   8.106 +	# -> libcups
   8.107  	rm -f $fs/usr/lib/libcups.so*
   8.108  
   8.109  	# Daemon script
   8.110  	cp -a $stuff/etc $fs
   8.111 +	chown -R root:root $fs/etc/init.d
   8.112  	sed -i 's|^#Group .*|Group lp|' $fs/etc/cups/cups-files.conf
   8.113  
   8.114  	# TazPanel link
   8.115  	cp -a $stuff/var $fs
   8.116 +	chown -R root:root $fs/var/www
   8.117  
   8.118 -	sed -i 's|hostname:9100|&\n\n    parallel:/dev/usb/lp0|' \
   8.119 -		$fs/usr/share/cups/templates/choose-uri.tmpl
   8.120  }
   8.121  
   8.122  post_install()
   8.123 @@ -83,7 +77,7 @@
   8.124  	if [ -z "$1" -a ! -s /aufs-umount.sh ]; then
   8.125  		/etc/init.d/cupsd start || continue
   8.126  	fi
   8.127 -	rm -f "$1"/var/cache/tazpanel/* 2> /dev/null
   8.128 +	rm -f "$1"/var/cache/tazpanel/* 2>/dev/null
   8.129  	if ! grep -q ^CUPSD_OPTIONS "$1/etc/daemons.conf"; then
   8.130  		cat >> "$1/etc/daemons.conf" <<EOT
   8.131  # CUPS printing daemon options.
   8.132 @@ -99,8 +93,3 @@
   8.133  	[ -z "$1" -a -x /etc/init.d/cupsd ] && /etc/init.d/cupsd stop
   8.134  	:
   8.135  }
   8.136 -
   8.137 -post_remove()
   8.138 -{
   8.139 -	ln -fs /bin/busybox "$1/usr/bin/lpr"
   8.140 -}
     9.1 --- a/cups/stuff/cups.desktop	Wed Apr 05 16:47:26 2017 +0300
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,46 +0,0 @@
     9.4 -[Desktop Entry]
     9.5 -Type=Application
     9.6 -Name=Manage Printing
     9.7 -Name[ca]=Gestor d'impressió
     9.8 -Name[cs]=Správa tisku CUPS
     9.9 -Name[de]=Druckerverwaltung
    9.10 -Name[es]=Administrar impresión
    9.11 -Name[et]=Trükkimise haldur
    9.12 -Name[eu]=Kudeatu inprimaketak
    9.13 -Name[fr]=Gestionnaire d'impression
    9.14 -Name[he]=נהל הדפסות
    9.15 -Name[id]=Manajemen Pencetakan
    9.16 -Name[it]=Gestione stampa
    9.17 -Name[ja]=印刷の管理
    9.18 -Name[pl]=Zarządzanie drukowaniem
    9.19 -Name[pt]=Gerenciamento de impressão
    9.20 -Name[pt_BR]=Gerenciamento de impressão
    9.21 -Name[ru]=Настройка печати
    9.22 -Name[sv]=Hantera skrivare
    9.23 -Name[zh]=打印机管理
    9.24 -Name[zh_TW]=印表管理
    9.25 -Comment=CUPS Web Interface
    9.26 -Comment[ca]=Interfície web de CUPS
    9.27 -Comment[cs]=Webové rozhraní CUPS
    9.28 -Comment[de]=CUPS Webinterface
    9.29 -Comment[es]=Interfaz Web de CUPS
    9.30 -Comment[et]=CUPS-i veebiliides
    9.31 -Comment[eu]=CUPSen web interfazea
    9.32 -Comment[fr]=Interface Web de CUPS
    9.33 -Comment[he]=ממשק דפדפן של CUPS
    9.34 -Comment[id]=Antarmuka Web CUPS
    9.35 -Comment[it]=Interfaccia web di CUPS
    9.36 -Comment[ja]=CUPS Web インタフェース
    9.37 -Comment[pl]=Interfejs WWW CUPS
    9.38 -Comment[pt]=Interface Web do CUPS
    9.39 -Comment[pt_BR]=Interface Web do CUPS
    9.40 -Comment[ru]=Веб-интерфейс CUPS
    9.41 -Comment[sv]=CUPS webb-gränssnitt
    9.42 -Comment[uk]=Веб-інтерфейс CUPS
    9.43 -Comment[zh]=CUPS网页界面
    9.44 -Comment[zh_TW]=CUPS 網頁介面
    9.45 -Terminal=false
    9.46 -StartupNotify=false
    9.47 -Exec=browser http://localhost:631/
    9.48 -Icon=cups
    9.49 -Categories=Settings;HardwareSettings;Printing;
    10.1 --- a/cups/stuff/install-sh.u	Wed Apr 05 16:47:26 2017 +0300
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,11 +0,0 @@
    10.4 ---- cups-1.5.3-ori/install-sh
    10.5 -+++ cups-1.5.3/install-sh
    10.6 -@@ -61,7 +61,7 @@
    10.7 - dst=""
    10.8 - dir_arg=""
    10.9 - 
   10.10 --function gzipcp {
   10.11 -+gzipcp() {
   10.12 - 	# gzipcp from to
   10.13 - 	$gzipprog -9 <"$1" >"$2"
   10.14 - }
    11.1 --- a/fontconfig-dev/receipt	Wed Apr 05 16:47:26 2017 +0300
    11.2 +++ b/fontconfig-dev/receipt	Fri Apr 07 17:30:10 2017 +0300
    11.3 @@ -6,11 +6,11 @@
    11.4  SHORT_DESC="Font configuration utilities and library devel files"
    11.5  MAINTAINER="pankso@slitaz.org"
    11.6  LICENSE="MIT"
    11.7 -WEB_SITE="http://www.fontconfig.org/wiki/"
    11.8 +WEB_SITE="https://www.freedesktop.org/wiki/Software/fontconfig/"
    11.9  HOST_ARCH="i486 arm"
   11.10  
   11.11  WANTED="fontconfig"
   11.12 -DEPENDS="fontconfig pkg-config"
   11.13 +DEPENDS="fontconfig freetype-dev libpng-dev libxml2-dev"
   11.14  
   11.15  # Rules to gen a SliTaz package suitable for Tazpkg.
   11.16  genpkg_rules()
    12.1 --- a/fontconfig/receipt	Wed Apr 05 16:47:26 2017 +0300
    12.2 +++ b/fontconfig/receipt	Fri Apr 07 17:30:10 2017 +0300
    12.3 @@ -6,13 +6,13 @@
    12.4  SHORT_DESC="Font configuration utilities and library"
    12.5  MAINTAINER="pankso@slitaz.org"
    12.6  LICENSE="MIT"
    12.7 -WEB_SITE="http://www.fontconfig.org/wiki/"
    12.8 +WEB_SITE="https://www.freedesktop.org/wiki/Software/fontconfig/"
    12.9  HOST_ARCH="i486 arm"
   12.10  
   12.11  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   12.12  WGET_URL="http://www.freedesktop.org/software/fontconfig/release/$TARBALL"
   12.13  
   12.14 -DEPENDS="bzlib expat freetype libxml2"
   12.15 +DEPENDS="bzlib freetype liblzma liblzma libpng libxml2 zlib"
   12.16  BUILD_DEPENDS="libxml2-dev freetype-dev"
   12.17  
   12.18  # Rules to configure and make the package.
    13.1 --- a/gtk+-demo/receipt	Wed Apr 05 16:47:26 2017 +0300
    13.2 +++ b/gtk+-demo/receipt	Fri Apr 07 17:30:10 2017 +0300
    13.3 @@ -1,22 +1,20 @@
    13.4  # SliTaz package receipt.
    13.5  
    13.6  PACKAGE="gtk+-demo"
    13.7 -VERSION="2.24.24"
    13.8 +VERSION="2.24.30"
    13.9  CATEGORY="development"
   13.10  SHORT_DESC="The GIMP Toolkit example code and demo."
   13.11  MAINTAINER="pankso@slitaz.org"
   13.12  LICENSE="GPL2"
   13.13 -WANTED="gtk+"
   13.14 -WEB_SITE="http://www.gtk.org/"
   13.15 +WEB_SITE="https://www.gtk.org/"
   13.16  HOST_ARCH="i486 arm"
   13.17  
   13.18 +WANTED="gtk+"
   13.19  DEPENDS="gtk+"
   13.20  
   13.21  # Rules to gen a SliTaz package suitable for Tazpkg.
   13.22  genpkg_rules()
   13.23  {
   13.24 -	mkdir -p $fs/usr/bin $fs/usr/share/applications
   13.25 -	cp -a $install/usr/bin/gtk-demo $fs/usr/bin
   13.26 -	cp -a $install/usr/share/gtk-2.0 $fs/usr/share
   13.27 -	cp $stuff/*.desktop $fs/usr/share/applications
   13.28 +	cook_copy_files gtk-demo
   13.29 +	cook_copy_folders demo
   13.30  }
    14.1 --- a/gtk+/receipt	Wed Apr 05 16:47:26 2017 +0300
    14.2 +++ b/gtk+/receipt	Fri Apr 07 17:30:10 2017 +0300
    14.3 @@ -6,19 +6,20 @@
    14.4  SHORT_DESC="The GIMP Toolkit."
    14.5  MAINTAINER="pankso@slitaz.org"
    14.6  LICENSE="GPL2"
    14.7 -SUGGESTED="cups gnutls libgcrypt libgpg-error"
    14.8 -TARBALL="$PACKAGE-$VERSION.tar.xz"
    14.9 -WEB_SITE="http://www.gtk.org/"
   14.10 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
   14.11 +WEB_SITE="https://www.gtk.org/"
   14.12  HOST_ARCH="i486 arm"
   14.13  CONF_FILES="/etc/gtk-2.0/im-multipress.conf"
   14.14 +SUGGESTED="cups gnutls libgcrypt libgpg-error"
   14.15 +
   14.16 +TARBALL="$PACKAGE-$VERSION.tar.xz"
   14.17 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
   14.18  
   14.19  DEPENDS="glibc-base expat libxcb xcb-util zlib glib cairo pango atk libpng \
   14.20  jpeg tiff gdk-pixbuf fontconfig freetype pixman libgio xorg-libX11 xorg-libXau \
   14.21  xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext \
   14.22  xorg-libXfixes xorg-libXinerama xorg-libXrender xorg-libXrandr harfbuzz"
   14.23  BUILD_DEPENDS="faenza-icon-theme optipng glib-dev atk-dev pango-dev cairo-dev \
   14.24 -gdk-pixbuf-dev cups-dev gobject-introspection-dev gtk-doc automake"
   14.25 +gdk-pixbuf-dev cups-dev gobject-introspection-dev gtk-doc automake gettext"
   14.26  BUILD_DEPENDS_arm="atk-dev pango-dev gdk-pixbuf-dev dbus-dev dbus-glib-dev \
   14.27  xorg-inputproto libxcb-dev fontconfig-dev freetype-dev pixman-dev libxml2-dev \
   14.28  libpng-dev libffi-dev xorg-xextproto harfbuzz-dev faenza-icon-theme optipng \
   14.29 @@ -32,26 +33,24 @@
   14.30  		--disable-papi --with-gdktarget=x11 --with-xinput gio_can_sniff=yes"
   14.31  		export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib"
   14.32  		export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include"
   14.33 -		export LIBTOOL=${HOST_SYSTEM}-libtool ;;
   14.34 +		export LIBTOOL=${HOST_SYSTEM}-libtool
   14.35 +		;;
   14.36  esac
   14.37  
   14.38  
   14.39  # Rules to configure and make the package.
   14.40  compile_rules()
   14.41  {
   14.42 +	while read i; do patch -p1 -i $stuff/patches/$i; done < $stuff/patches/series
   14.43  	. $stuff/replace-icons; cd $src
   14.44 -	patch -p0 < $stuff/undo_gen_icons.patch
   14.45 -	mkdir -p /usr/share/gtk-doc/html
   14.46  
   14.47  	./configure \
   14.48  		--prefix=/usr \
   14.49  		--sysconfdir=/etc \
   14.50  		--with-html-dir=/usr/share/doc \
   14.51  		$CONFIGURE_ARGS ${ARCH_ARGS} &&
   14.52 -	# https://bugzilla.gnome.org/show_bug.cgi?id=655517
   14.53 -	sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool &&
   14.54  	make $MAKEFLAGS $LIBTOOL &&
   14.55 -	make DESTDIR=$DESTDIR install
   14.56 +	make install
   14.57  }
   14.58  
   14.59  # Rules to gen a SliTaz package suitable for Tazpkg.
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/gtk+/stuff/patches/series	Fri Apr 07 17:30:10 2017 +0300
    15.3 @@ -0,0 +1,1 @@
    15.4 +undo_gen_icons.patch
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/gtk+/stuff/patches/undo_gen_icons.patch	Fri Apr 07 17:30:10 2017 +0300
    16.3 @@ -0,0 +1,24 @@
    16.4 +--- a/gtk/Makefile.am
    16.5 ++++ b/gtk/Makefile.am
    16.6 +@@ -1347,10 +1347,6 @@
    16.7 +         fi &&								\
    16.8 + 	for i in 16 24; do						\
    16.9 + 	   (cd stock-icons/$$i						\
   16.10 +-	   && $(RM) document-save.png 					\
   16.11 +-	   && $(LN_S) media-floppy.png document-save.png 		\
   16.12 +-	   && $(RM) folder-remote.png 					\
   16.13 +-	   && $(LN_S) folder.png folder-remote.png 			\
   16.14 + 	   && $(RM) go-first-rtl.png 					\
   16.15 + 	   && $(LN_S) go-last-ltr.png go-first-rtl.png 			\
   16.16 + 	   && $(RM) go-last-rtl.png 					\
   16.17 +@@ -1367,10 +1363,6 @@
   16.18 + 	   && $(LN_S) media-skip-forward-ltr.png media-skip-backward-rtl.png \
   16.19 + 	   && $(RM) media-skip-forward-rtl.png 				\
   16.20 + 	   && $(LN_S) media-skip-backward-ltr.png media-skip-forward-rtl.png \
   16.21 +-	   && $(RM) user-desktop.png 					\
   16.22 +-	   && $(LN_S) folder.png user-desktop.png 			\
   16.23 +-	   && $(RM) user-home.png 					\
   16.24 +-	   && $(LN_S) folder.png user-home.png 				\
   16.25 + 	) done 								\
   16.26 + 	&& touch stamp-icons
   16.27 + 
    17.1 --- a/gtk+/stuff/undo_gen_icons.patch	Wed Apr 05 16:47:26 2017 +0300
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,24 +0,0 @@
    17.4 ---- gtk/Makefile.am
    17.5 -+++ gtk/Makefile.am
    17.6 -@@ -1357,10 +1357,6 @@
    17.7 -         fi &&								\
    17.8 - 	for i in 16 24; do						\
    17.9 - 	   (cd stock-icons/$$i						\
   17.10 --	   && $(RM) document-save.png 					\
   17.11 --	   && $(LN_S) media-floppy.png document-save.png 		\
   17.12 --	   && $(RM) folder-remote.png 					\
   17.13 --	   && $(LN_S) folder.png folder-remote.png 			\
   17.14 - 	   && $(RM) go-first-rtl.png 					\
   17.15 - 	   && $(LN_S) go-last-ltr.png go-first-rtl.png 			\
   17.16 - 	   && $(RM) go-last-rtl.png 					\
   17.17 -@@ -1377,10 +1373,6 @@
   17.18 - 	   && $(LN_S) media-skip-forward-ltr.png media-skip-backward-rtl.png \
   17.19 - 	   && $(RM) media-skip-forward-rtl.png 				\
   17.20 - 	   && $(LN_S) media-skip-backward-ltr.png media-skip-forward-rtl.png \
   17.21 --	   && $(RM) user-desktop.png 					\
   17.22 --	   && $(LN_S) folder.png user-desktop.png 			\
   17.23 --	   && $(RM) user-home.png 					\
   17.24 --	   && $(LN_S) folder.png user-home.png 				\
   17.25 - 	) done 								\
   17.26 - 	&& touch stamp-icons
   17.27 - 
    18.1 --- a/ijs-dev/receipt	Wed Apr 05 16:47:26 2017 +0300
    18.2 +++ b/ijs-dev/receipt	Fri Apr 07 17:30:10 2017 +0300
    18.3 @@ -3,20 +3,16 @@
    18.4  PACKAGE="ijs-dev"
    18.5  VERSION="0.35"
    18.6  CATEGORY="office"
    18.7 -SHORT_DESC="IJS developement files"
    18.8 +SHORT_DESC="IJS (InkJet Server) API function (developement files)"
    18.9  MAINTAINER="mojo@slitaz.org"
   18.10  LICENSE="GPL3"
   18.11 +WEB_SITE="https://wiki.linuxfoundation.org/openprinting/start"
   18.12 +
   18.13  WANTED="ijs"
   18.14 -WEB_SITE="http://openprinting.org"
   18.15 -
   18.16  DEPENDS="ijs"
   18.17  
   18.18  # Rules to gen a SliTaz package suitable for Tazpkg.
   18.19  genpkg_rules()
   18.20  {
   18.21 -  mkdir -p $fs/usr/lib 
   18.22 -  mkdir -p $fs/usr/include	
   18.23 -  cp -a $install/usr/lib/*.la $fs/usr/lib
   18.24 -  cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   18.25 -  cp -a $install/usr/include/ijs $fs/usr/include
   18.26 +	cook_copy_files ijs-config *.h *.la *.pc
   18.27  }
    19.1 --- a/ijs/receipt	Wed Apr 05 16:47:26 2017 +0300
    19.2 +++ b/ijs/receipt	Fri Apr 07 17:30:10 2017 +0300
    19.3 @@ -3,31 +3,30 @@
    19.4  PACKAGE="ijs"
    19.5  VERSION="0.35"
    19.6  CATEGORY="office"
    19.7 -SHORT_DESC="IJS API function"
    19.8 +SHORT_DESC="IJS (InkJet Server) API function"
    19.9  MAINTAINER="mojo@slitaz.org"
   19.10  LICENSE="GPL3"
   19.11 -WEB_SITE="http://openprinting.org"
   19.12 +WEB_SITE="https://wiki.linuxfoundation.org/openprinting/start"
   19.13 +
   19.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   19.15  WGET_URL="https://www.openprinting.org/download/ijs/download/$TARBALL"
   19.16  
   19.17 -DEPENDS=""
   19.18 -BUILD_DEPENDS="wget"
   19.19 +BUILD_DEPENDS="gfortran"
   19.20  
   19.21  # Rules to configure and make the package.
   19.22  compile_rules()
   19.23  {
   19.24  	./configure \
   19.25 -                    --prefix=/usr \
   19.26 -                    --mandir=/usr/share/man \
   19.27 -                    --enable-shared \
   19.28 -                    --disable-static \
   19.29 -                    $CONFIGURE_ARGS && make && make install
   19.30 +		--enable-shared \
   19.31 +		--disable-static \
   19.32 +		$CONFIGURE_ARGS &&
   19.33 +	make && make install
   19.34  }
   19.35  
   19.36  # Rules to gen a SliTaz package suitable for Tazpkg.
   19.37  genpkg_rules()
   19.38  {
   19.39 -	mkdir -p $fs/usr/lib
   19.40 -        cp -a $install/usr/bin $fs/usr
   19.41 -        cp -a $install/usr/lib/*.so* $fs/usr/lib
   19.42 +	cook_copy_folders bin
   19.43 +	cook_copy_files *.so*
   19.44 +	rm $fs/usr/bin/ijs-config
   19.45  }
    20.1 --- a/libcups/receipt	Wed Apr 05 16:47:26 2017 +0300
    20.2 +++ b/libcups/receipt	Fri Apr 07 17:30:10 2017 +0300
    20.3 @@ -1,12 +1,12 @@
    20.4  # SliTaz package receipt.
    20.5  
    20.6  PACKAGE="libcups"
    20.7 -VERSION="2.0.2"
    20.8 +VERSION="2.1.4"
    20.9  CATEGORY="system-tools"
   20.10 -SHORT_DESC="Common UNIX Printing System."
   20.11 +SHORT_DESC="Common UNIX Printing System (common libraries)"
   20.12  MAINTAINER="erjo@slitaz.org"
   20.13  LICENSE="GPL2 LGPL2"
   20.14 -WEB_SITE="http://www.cups.org/"
   20.15 +WEB_SITE="https://www.cups.org/"
   20.16  TAGS="printer printing"
   20.17  
   20.18  WANTED="cups"
   20.19 @@ -15,6 +15,5 @@
   20.20  # Rules to gen a SliTaz package suitable for Tazpkg.
   20.21  genpkg_rules()
   20.22  {
   20.23 -	mkdir -p $fs/usr/lib
   20.24 -	cp -a $install/usr/lib/libcups.so* $fs/usr/lib
   20.25 +	cook_copy_files libcups.so*
   20.26  }
    21.1 --- a/paper-icon-theme/receipt	Wed Apr 05 16:47:26 2017 +0300
    21.2 +++ b/paper-icon-theme/receipt	Fri Apr 07 17:30:10 2017 +0300
    21.3 @@ -1,15 +1,16 @@
    21.4  # SliTaz package receipt.
    21.5  
    21.6  PACKAGE="paper-icon-theme"
    21.7 -VERSION="1.3.4"
    21.8 -COMMIT="712acc0"
    21.9 +VERSION="1.4.0.11"
   21.10 +COMMIT="579e9aa"
   21.11  CATEGORY="customization"
   21.12  SHORT_DESC="Simple and modern icon theme with material design influences"
   21.13  MAINTAINER="al.bobylev@gmail.com"
   21.14  LICENSE="CC-BY-SA-4"
   21.15  WEB_SITE="https://snwh.org/paper/"
   21.16 +
   21.17  TARBALL="$PACKAGE-$COMMIT.tar.gz"
   21.18 -WGET_URL="https://github.com/snwh/paper-icon-theme/archive/$COMMIT.tar.gz"
   21.19 +WGET_URL="$GITHUB/snwh/paper-icon-theme/tarball/${COMMIT:-$VERSION}"
   21.20  
   21.21  DEPENDS="librsvg"
   21.22  BUILD_DEPENDS="autoconf automake svgcleaner"
    22.1 --- a/poppler-apps/receipt	Wed Apr 05 16:47:26 2017 +0300
    22.2 +++ b/poppler-apps/receipt	Fri Apr 07 17:30:10 2017 +0300
    22.3 @@ -6,17 +6,13 @@
    22.4  SHORT_DESC="Poppler utilities to manipulate PDF file."
    22.5  MAINTAINER="pankso@slitaz.org"
    22.6  LICENSE="GPL2"
    22.7 +WEB_SITE="https://poppler.freedesktop.org/"
    22.8 +
    22.9  WANTED="poppler"
   22.10 -WEB_SITE="http://poppler.freedesktop.org/"
   22.11 -
   22.12 -DEPENDS="fontconfig poppler cairo zlib libpng gcc-lib-base"
   22.13 +DEPENDS="poppler cairo freetype lcms2 zlib"
   22.14  
   22.15  # Rules to gen a SliTaz package suitable for Tazpkg.
   22.16  genpkg_rules()
   22.17  {
   22.18 -	mkdir -p $fs/usr
   22.19 -	cp -a $install/usr/bin $fs/usr
   22.20 -	if [ -f $fs/usr/bin/poppler-glib-demo ]; then
   22.21 -		rm -rf $fs/usr/bin/poppler-glib-demo
   22.22 -	fi
   22.23 +	cook_copy_folders bin
   22.24  }
    23.1 --- a/poppler-data/receipt	Wed Apr 05 16:47:26 2017 +0300
    23.2 +++ b/poppler-data/receipt	Fri Apr 07 17:30:10 2017 +0300
    23.3 @@ -1,13 +1,14 @@
    23.4  # SliTaz package receipt.
    23.5  
    23.6  PACKAGE="poppler-data"
    23.7 -VERSION="0.4.6"
    23.8 -CATEGORY="office"
    23.9 -SHORT_DESC="Poppler encoding data."
   23.10 +VERSION="0.4.7"
   23.11 +CATEGORY="misc"
   23.12 +SHORT_DESC="Encoding files for use with poppler"
   23.13  MAINTAINER="rocky@slitaz.org"
   23.14  LICENSE="MIT"
   23.15 +WEB_SITE="https://poppler.freedesktop.org/"
   23.16 +
   23.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
   23.18 -WEB_SITE="http://poppler.freedesktop.org/"
   23.19  WGET_URL="http://poppler.freedesktop.org/$TARBALL"
   23.20  
   23.21  # Rules to configure and make the package.
   23.22 @@ -19,6 +20,5 @@
   23.23  # Rules to gen a SliTaz package suitable for Tazpkg.
   23.24  genpkg_rules()
   23.25  {
   23.26 -	mkdir -p $fs
   23.27 -	cp -a $install/usr $fs/
   23.28 +	cook_copy_folders usr
   23.29  }
    24.1 --- a/poppler-dev/receipt	Wed Apr 05 16:47:26 2017 +0300
    24.2 +++ b/poppler-dev/receipt	Fri Apr 07 17:30:10 2017 +0300
    24.3 @@ -3,31 +3,16 @@
    24.4  PACKAGE="poppler-dev"
    24.5  VERSION="0.49.0"
    24.6  CATEGORY="development"
    24.7 -SHORT_DESC="Poppler PDF rendering library devel files."
    24.8 +SHORT_DESC="PDF rendering library (development files)"
    24.9  MAINTAINER="pankso@slitaz.org"
   24.10  LICENSE="GPL2"
   24.11 +WEB_SITE="https://poppler.freedesktop.org/"
   24.12 +
   24.13  WANTED="poppler"
   24.14 -WEB_SITE="http://poppler.freedesktop.org/"
   24.15 -
   24.16 -DEPENDS="poppler pkg-config"
   24.17 +DEPENDS="poppler poppler-apps cairo-dev glib-dev libgio-dev"
   24.18  
   24.19  # Rules to gen a SliTaz package suitable for Tazpkg.
   24.20  genpkg_rules()
   24.21  {
   24.22 -	mkdir -p $fs/usr/lib \
   24.23 -		$fs/usr/include/poppler/goo \
   24.24 -		$fs/usr/include/poppler/splash \
   24.25 -		$fs/usr/include/poppler/fofi
   24.26 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   24.27 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   24.28 -	cp -a $install/usr/include $fs/usr
   24.29 -	cp $src/poppler/*.h $fs/usr/include/poppler
   24.30 -	cp $src/goo/*.h $fs/usr/include/poppler/goo
   24.31 -	cp $src/splash/*.h $fs/usr/include/poppler/splash
   24.32 -	cp $src/fofi/*.h $fs/usr/include/poppler/fofi
   24.33 -	#included in poppler-qt4-dev
   24.34 -	rm -r $fs/usr/include/poppler/qt4
   24.35 -	rm $fs/usr/lib/*qt4.*a
   24.36 -	rm $fs/usr/lib/pkgconfig/poppler-qt4.pc
   24.37 +	cook_copy_files *.h *.la *.pc
   24.38  }
   24.39 -
    25.1 --- a/poppler/receipt	Wed Apr 05 16:47:26 2017 +0300
    25.2 +++ b/poppler/receipt	Fri Apr 07 17:30:10 2017 +0300
    25.3 @@ -3,38 +3,41 @@
    25.4  PACKAGE="poppler"
    25.5  VERSION="0.49.0"
    25.6  CATEGORY="office"
    25.7 -SHORT_DESC="Poppler is a PDF rendering library."
    25.8 +SHORT_DESC="PDF rendering library"
    25.9  MAINTAINER="pankso@slitaz.org"
   25.10  LICENSE="GPL2"
   25.11 +WEB_SITE="https://poppler.freedesktop.org/"
   25.12 +
   25.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
   25.14 -WEB_SITE="http://poppler.freedesktop.org/"
   25.15  WGET_URL="http://poppler.freedesktop.org/$TARBALL"
   25.16  
   25.17 -DEPENDS="expat freetype glib jpeg xorg-libXdamage lcms \
   25.18 -gcc-lib-base cairo tiff bzlib libpng"
   25.19 -BUILD_DEPENDS="$DEPENDS expat-dev pkg-config jpeg-dev tiff-dev \
   25.20 -freetype-dev fontconfig-dev glib-dev lcms-dev zlib-dev cairo-dev \
   25.21 -automake bzip2-dev libpng-dev libtool Qt4-dev libxml2-dev"
   25.22 +DEPENDS="cairo fontconfig freetype glib lcms2 libgio libjpeg-turbo libpng tiff \
   25.23 +zlib"
   25.24 +BUILD_DEPENDS="tiff-dev zlib-dev libjpeg-turbo-dev libpng-dev freetype-dev \
   25.25 +fontconfig-dev cairo-dev lcms2-dev"
   25.26 +SPLIT="poppler-apps"
   25.27  
   25.28  # Rules to configure and make the package.
   25.29  compile_rules()
   25.30  {
   25.31 -	autoreconf -fi
   25.32  	./configure \
   25.33 -		--enable-zlib \
   25.34 -		--enable-cairo-output \
   25.35 -		--enable-poppler-qt4 \
   25.36 -		--disable-libopenjpeg \
   25.37 +		--sysconfdir=/etc \
   25.38 +		--disable-static \
   25.39 +		--enable-build-type=release \
   25.40 +		--enable-cmyk \
   25.41 +		--enable-xpdf-headers \
   25.42 +		--with-testdatadir=$PWD/testfiles \
   25.43  		$CONFIGURE_ARGS &&
   25.44 -	make &&	make install
   25.45 +	make && make install &&
   25.46 +
   25.47 +	docdir="$install/usr/share/doc/poppler-$VERSION" &&
   25.48 +	install -v -m755 -d        $docdir &&
   25.49 +	install -v -m644 README*   $docdir &&
   25.50 +	cp -vr glib/reference/html $docdir
   25.51  }
   25.52  
   25.53  # Rules to gen a SliTaz package suitable for Tazpkg.
   25.54  genpkg_rules()
   25.55  {
   25.56 -	mkdir -p $fs/usr/lib
   25.57 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   25.58 -	#following libs are included in poppler-qt4
   25.59 -	rm -r $fs/usr/lib/*qt4.so*
   25.60 +	cook_copy_files *.so*
   25.61  }
   25.62 -
    26.1 --- a/qpdf-dev/receipt	Wed Apr 05 16:47:26 2017 +0300
    26.2 +++ b/qpdf-dev/receipt	Fri Apr 07 17:30:10 2017 +0300
    26.3 @@ -1,21 +1,18 @@
    26.4  # SliTaz package receipt.
    26.5  
    26.6  PACKAGE="qpdf-dev"
    26.7 -VERSION="5.1.2"
    26.8 +VERSION="6.0.0"
    26.9  CATEGORY="development"
   26.10  SHORT_DESC="QPDF devel files"
   26.11  MAINTAINER="mojo@slitaz.org"
   26.12  LICENSE="Artistic-2.0"
   26.13 -WANTED="qpdf"
   26.14  WEB_SITE="http://qpdf.sourceforge.net/"
   26.15  
   26.16 +WANTED="qpdf"
   26.17  DEPENDS="qpdf"
   26.18  
   26.19  # Rules to gen a SliTaz package suitable for Tazpkg.
   26.20  genpkg_rules()
   26.21  {
   26.22 -  mkdir -p $fs/usr/lib $fs/usr/include	
   26.23 -  cp -a $install/usr/lib/libqpdf.*a $fs/usr/lib
   26.24 -  cp -a $install/usr/lib/pkgconfig  $fs/usr/lib
   26.25 -  cp -a $install/usr/include/qpdf   $fs/usr/include
   26.26 +	cook_copy_files *.h *.hh *.la *.pc
   26.27  }
    27.1 --- a/qpdf/receipt	Wed Apr 05 16:47:26 2017 +0300
    27.2 +++ b/qpdf/receipt	Fri Apr 07 17:30:10 2017 +0300
    27.3 @@ -1,28 +1,32 @@
    27.4  # SliTaz package receipt.
    27.5  
    27.6  PACKAGE="qpdf"
    27.7 -VERSION="5.1.2"
    27.8 +VERSION="6.0.0"
    27.9  CATEGORY="system-tools"
   27.10  SHORT_DESC="QPDF: A Content-Preserving PDF Transformation System"
   27.11  MAINTAINER="mojo@slitaz.org"
   27.12  LICENSE="Artistic-2.0"
   27.13  WEB_SITE="http://qpdf.sourceforge.net/"
   27.14 +
   27.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
   27.16  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
   27.17  
   27.18  DEPENDS="pcre zlib"
   27.19 -BUILD_DEPENDS="pcre-dev zlib-dev"
   27.20 +BUILD_DEPENDS="zlib-dev pcre-dev"
   27.21  
   27.22  # Rules to configure and make the package.
   27.23  compile_rules()
   27.24  {
   27.25 -	./configure $CONFIGURE_ARGS && make && make install
   27.26 +	./configure \
   27.27 +		--disable-static \
   27.28 +		--docdir=/usr/share/doc/qpdf-$VERSION \
   27.29 +		$CONFIGURE_ARGS &&
   27.30 +	make && make install
   27.31  }
   27.32  
   27.33  # Rules to gen a SliTaz package suitable for Tazpkg.
   27.34  genpkg_rules()
   27.35  {
   27.36 -	mkdir -p $fs/usr/lib
   27.37 -        cp -a $install/usr/bin $fs/usr
   27.38 -        cp -a $install/usr/lib/*.so* $fs/usr/lib
   27.39 +	cook_copy_folders bin
   27.40 +	cook_copy_files *.so*
   27.41  }