wok-next rev 21131

Update fdupes (1.6.1), jdupes (1.11.1), paper-icon-theme (1.5.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 19 14:59:09 2019 +0200 (2019-01-19)
parents 0d186da10c16
children 9956c9a95aa1
files fdupes/receipt jdupes/receipt paper-icon-theme/.icon.png paper-icon-theme/receipt
line diff
     1.1 --- a/fdupes/receipt	Fri Jan 18 16:58:29 2019 +0200
     1.2 +++ b/fdupes/receipt	Sat Jan 19 14:59:09 2019 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="fdupes"
     1.7 -VERSION="1.40" # -> UPME, no 1.40 on Github
     1.8 +VERSION="1.6.1"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="Identify or delete duplicate files in specified directories"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -9,13 +9,10 @@
    1.13  WEB_SITE="https://github.com/adrianlopezroche/fdupes"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WGET_URL="http://fdupes.googlecode.com/files/$TARBALL" # FIXME
    1.17 +WGET_URL="https://github.com/adrianlopezroche/fdupes/archive/v$VERSION.tar.gz"
    1.18 +TARBALL_SHA1="e6c26e2012927ebecab33f00280cabbb0aef702d"
    1.19  
    1.20  compile_rules() {
    1.21  	make &&
    1.22 -	install -Dm755 $src/fdupes $install/usr/bin/fdupes
    1.23 +	make PREFIX=/usr install
    1.24  }
    1.25 -
    1.26 -genpkg_rules() {
    1.27 -	copy @std
    1.28 -}
     2.1 --- a/jdupes/receipt	Fri Jan 18 16:58:29 2019 +0200
     2.2 +++ b/jdupes/receipt	Sat Jan 19 14:59:09 2019 +0200
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt v2.
     2.5  
     2.6  PACKAGE="jdupes"
     2.7 -VERSION="1.10.4"
     2.8 +VERSION="1.11.1"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="A powerful duplicate file finder and an enhanced fork of 'fdupes'"
    2.11  MAINTAINER="al.bobylev@gmail.com"
    2.12 @@ -10,12 +10,9 @@
    2.13  
    2.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15  WGET_URL="https://github.com/jbruchon/jdupes/archive/v$VERSION.tar.gz"
    2.16 +TARBALL_SHA1="2e817052c2786cc67ebb4262f8ca9bf709ddd9e4"
    2.17  
    2.18  compile_rules() {
    2.19  	make &&
    2.20  	make install
    2.21  }
    2.22 -
    2.23 -genpkg_rules() {
    2.24 -	copy @std
    2.25 -}
     3.1 Binary file paper-icon-theme/.icon.png has changed
     4.1 --- a/paper-icon-theme/receipt	Fri Jan 18 16:58:29 2019 +0200
     4.2 +++ b/paper-icon-theme/receipt	Sat Jan 19 14:59:09 2019 +0200
     4.3 @@ -1,46 +1,45 @@
     4.4  # SliTaz package receipt v2.
     4.5  
     4.6  PACKAGE="paper-icon-theme"
     4.7 -VERSION="1.4.0.31"	# released v.1.4.0 + 31 commits since it
     4.8 -COMMIT="c153195"
     4.9 +VERSION="1.5.0"
    4.10  CATEGORY="customization"
    4.11  SHORT_DESC="Simple and modern icon theme with material design influences"
    4.12  MAINTAINER="al.bobylev@gmail.com"
    4.13  LICENSE="CC-BY-SA-4"
    4.14  WEB_SITE="https://snwh.org/paper"
    4.15 +HOST_ARCH="any"
    4.16  
    4.17  TARBALL="$PACKAGE-$COMMIT.tar.gz"
    4.18 -WGET_URL="$GITHUB/snwh/paper-icon-theme/tarball/${COMMIT:-$VERSION}"
    4.19 +WGET_URL="https://github.com/snwh/paper-icon-theme/archive/v.$VERSION.tar.gz"
    4.20 +TARBALL_SHA1="1a91245113971687a12f8fb2bc2e9ceae1e705f8"
    4.21  
    4.22 -BUILD_DEPENDS="automake" # svgcleaner"
    4.23 +BUILD_DEPENDS="meson ninja jdupes"
    4.24 +SPLIT="$PACKAGE-huge $PACKAGE-hidpi $PACKAGE"
    4.25 +
    4.26 +COPY_huge="512x512/"
    4.27 +COPY_hidpi="*@2x/"
    4.28 +
    4.29 +CAT_huge="customization|512x512 px"
    4.30 +CAT_hidpi="customization|for HiDPI screens"
    4.31 +
    4.32 +DEPENDS_huge="$PACKAGE"
    4.33 +DEPENDS_hidpi="$PACKAGE"
    4.34 +DEPENDS_std=" "
    4.35  
    4.36  compile_rules() {
    4.37 -	./autogen.sh &&
    4.38 -	sed -i 's|-Rv|-R|' Makefile &&
    4.39 -	make &&
    4.40 -	make install || return 1
    4.41 +	# Lots of files incorrectly have executable permissions.
    4.42 +	# Remove all such permissions, then restore the few that are correct.
    4.43 +	busybox find $src -type f -perm +111 ! -name '*.py' -exec chmod a-x '{}' \;
    4.44  
    4.45 -	# remove hdpi icons, and huge sizes
    4.46 -	it="$install/usr/share/icons/Paper/index.theme"
    4.47 -	for i in 8x8@2x 16x16@2x 24x24@2x 32x32@2x 48x48@2x 512x512@2x 512x512; do
    4.48 -		echo "Remove $i"
    4.49 -		rm -r $install/usr/share/icons/Paper/$i
    4.50 -		sed -i "s|$i[^,]*,||g" $it
    4.51 -		sed -i "/^\[$i/,/^\[/{/^\[/b;d}" $it
    4.52 -		sed -i "/^\[$i/d" $it
    4.53 -	done
    4.54 -	sed -i '/HiDPi/,$d' $it
    4.55 +	mkdir build
    4.56 +	cd    build
    4.57  
    4.58 -#	# remove duplicates (keep <name>.png, remove <name>.svg)
    4.59 -#	for svg in $(find $install -name '*.svg'); do
    4.60 -#		if [ -e "${svg%svg}png" ]; then
    4.61 -#			echo "Remove duplicate: ${svg#*Paper/}"
    4.62 -#			rm "$svg"
    4.63 -#		fi
    4.64 -#	done
    4.65 +	meson-wrapper &&
    4.66 +	ninja &&
    4.67 +	ninja install || return 1
    4.68 +
    4.69 +	jdupes -l -R $install/usr/share/icons/
    4.70 +
    4.71 +	cd $src
    4.72 +	cook_pick_docs AUTHORS COPYING LICENSE README.md
    4.73  }
    4.74 -
    4.75 -genpkg_rules() {
    4.76 -	cp -a $install/* $fs
    4.77 -	DEPENDS="librsvg"
    4.78 -}