wok rev 17887

cups: add cups-filters to deps,remove common files
author Richard Dunbar <mojo@slitaz.org>
date Thu Apr 02 09:51:00 2015 -0400 (2015-04-02)
parents e9b024efaa14
children fb17943081e7
files cups-pam/receipt cups/receipt
line diff
     1.1 --- a/cups-pam/receipt	Thu Apr 02 08:54:32 2015 -0400
     1.2 +++ b/cups-pam/receipt	Thu Apr 02 09:51:00 2015 -0400
     1.3 @@ -13,7 +13,7 @@
     1.4  PROVIDE="cups:pam"
     1.5  
     1.6  DEPENDS="libssl libgcrypt cups-doc slitaz-base-files gnutls dbus jpeg libpng tiff \
     1.7 -zlib pam libcomerr libkrb5 acl libcomerr3"
     1.8 +zlib pam libcomerr libkrb5 acl libcomerr3 cups-filters"
     1.9  BUILD_DEPENDS="openssl-dev gnutls-dev dbus-dev jpeg-dev libpng-dev tiff-dev \
    1.10  pam libcomerr-dev pam-dev acl-dev libgcrypt-dev"
    1.11  
    1.12 @@ -54,6 +54,10 @@
    1.13  		 $fs/usr/share/pixmaps
    1.14  	cp -a $install/var $fs
    1.15  	
    1.16 +	# Remove files provided by cups-filters
    1.17 +	rm -f $fs/usr/share/cups/banners/*
    1.18 +	rm -f $fs/usr/share/cups/data/testprint
    1.19 +	
    1.20  	# PAM conf
    1.21  	cp -a $stuff/etc $fs
    1.22  
     2.1 --- a/cups/receipt	Thu Apr 02 08:54:32 2015 -0400
     2.2 +++ b/cups/receipt	Thu Apr 02 09:51:00 2015 -0400
     2.3 @@ -12,7 +12,8 @@
     2.4  TAGS="printer printing"
     2.5  
     2.6  DEPENDS="libssl slitaz-base-files libgcrypt gnutls dbus jpeg libpng tiff zlib \
     2.7 -libcomerr cups-doc libkrb5 libcomerr3 gcc-lib-base libusb-compat libtasn1 acl poppler-apps"
     2.8 +libcomerr cups-doc libkrb5 libcomerr3 gcc-lib-base libusb-compat libtasn1 acl \
     2.9 +poppler-apps cups-filters"
    2.10  BUILD_DEPENDS="libgcrypt-dev gnutls-dev dbus-dev jpeg-dev libpng-dev \
    2.11  tiff-dev zlib-dev libtasn1-dev openssl-dev libusb-compat-dev php-dev \
    2.12  acl-dev poppler-apps"
    2.13 @@ -60,6 +61,10 @@
    2.14  	cp -a $install/usr/share/icons/hicolor/32x32/apps/cups.png $fs/usr/share/pixmaps
    2.15  	cp -a $install/var $fs
    2.16  
    2.17 +        # Remove files provided by cups-filters
    2.18 +        rm -f $fs/usr/share/cups/banners/*
    2.19 +        rm -f $fs/usr/share/cups/data/testprint	
    2.20 +	
    2.21  	# Daemon script
    2.22  	cp -a $stuff/etc $fs
    2.23