wok diff epdfview/receipt @ rev 19963

samba: CVE-2017-7494 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 29 18:22:04 2017 +0200 (2017-05-29)
parents feb2e0c63d21
children e3f377fbc5f0
line diff
     1.1 --- a/epdfview/receipt	Thu Jul 16 01:48:33 2015 +0200
     1.2 +++ b/epdfview/receipt	Mon May 29 18:22:04 2017 +0200
     1.3 @@ -23,18 +23,19 @@
     1.4  		src/epdfview.h
     1.5  	find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
     1.6  	patch -Np1 -i $stuff/0001-When-using-Poppler-0.17.0-I-needed-to-swap-the-blue-.patch
     1.7 +	patch -p1 -i $stuff/no-stock-icons.patch
     1.8  	./configure \
     1.9  		--without-cups \
    1.10  		$CONFIGURE_ARGS &&
    1.11  	make && make install
    1.12 +	cp -f $stuff/*.desktop $install/usr/share/applications
    1.13  }
    1.14  
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16  genpkg_rules()
    1.17  {
    1.18 -	mkdir -p $fs/usr/share
    1.19 -	cp -a $install/usr/bin $fs/usr
    1.20 -	cp -a $install/usr/share/epdfview $fs/usr/share
    1.21 -	find $fs -name 'icon*[83]*' -delete
    1.22 +	cook_copy_files epdfview *.desktop *.xml
    1.23 +	mkdir -p $fs/usr/share/icons/hicolor/48x48/apps
    1.24 +	cp $install/usr/share/epdfview/pixmaps/icon_epdfview-48.png \
    1.25 +		$fs/usr/share/icons/hicolor/48x48/apps/epdfview.png
    1.26  }
    1.27 -