# HG changeset patch # User Aleksej Bobylev # Date 1547902749 -7200 # Node ID 0872dcbd1d7427e1b178379666097b596c39507d # Parent 0d186da10c166cae437c810029669efd2aafec5c Update fdupes (1.6.1), jdupes (1.11.1), paper-icon-theme (1.5.0) diff -r 0d186da10c16 -r 0872dcbd1d74 fdupes/receipt --- a/fdupes/receipt Fri Jan 18 16:58:29 2019 +0200 +++ b/fdupes/receipt Sat Jan 19 14:59:09 2019 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="fdupes" -VERSION="1.40" # -> UPME, no 1.40 on Github +VERSION="1.6.1" CATEGORY="misc" SHORT_DESC="Identify or delete duplicate files in specified directories" MAINTAINER="pascal.bellard@slitaz.org" @@ -9,13 +9,10 @@ WEB_SITE="https://github.com/adrianlopezroche/fdupes" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="http://fdupes.googlecode.com/files/$TARBALL" # FIXME +WGET_URL="https://github.com/adrianlopezroche/fdupes/archive/v$VERSION.tar.gz" +TARBALL_SHA1="e6c26e2012927ebecab33f00280cabbb0aef702d" compile_rules() { make && - install -Dm755 $src/fdupes $install/usr/bin/fdupes + make PREFIX=/usr install } - -genpkg_rules() { - copy @std -} diff -r 0d186da10c16 -r 0872dcbd1d74 jdupes/receipt --- a/jdupes/receipt Fri Jan 18 16:58:29 2019 +0200 +++ b/jdupes/receipt Sat Jan 19 14:59:09 2019 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="jdupes" -VERSION="1.10.4" +VERSION="1.11.1" CATEGORY="development" SHORT_DESC="A powerful duplicate file finder and an enhanced fork of 'fdupes'" MAINTAINER="al.bobylev@gmail.com" @@ -10,12 +10,9 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/jbruchon/jdupes/archive/v$VERSION.tar.gz" +TARBALL_SHA1="2e817052c2786cc67ebb4262f8ca9bf709ddd9e4" compile_rules() { make && make install } - -genpkg_rules() { - copy @std -} diff -r 0d186da10c16 -r 0872dcbd1d74 paper-icon-theme/.icon.png Binary file paper-icon-theme/.icon.png has changed diff -r 0d186da10c16 -r 0872dcbd1d74 paper-icon-theme/receipt --- a/paper-icon-theme/receipt Fri Jan 18 16:58:29 2019 +0200 +++ b/paper-icon-theme/receipt Sat Jan 19 14:59:09 2019 +0200 @@ -1,46 +1,45 @@ # SliTaz package receipt v2. PACKAGE="paper-icon-theme" -VERSION="1.4.0.31" # released v.1.4.0 + 31 commits since it -COMMIT="c153195" +VERSION="1.5.0" CATEGORY="customization" SHORT_DESC="Simple and modern icon theme with material design influences" MAINTAINER="al.bobylev@gmail.com" LICENSE="CC-BY-SA-4" WEB_SITE="https://snwh.org/paper" +HOST_ARCH="any" TARBALL="$PACKAGE-$COMMIT.tar.gz" -WGET_URL="$GITHUB/snwh/paper-icon-theme/tarball/${COMMIT:-$VERSION}" +WGET_URL="https://github.com/snwh/paper-icon-theme/archive/v.$VERSION.tar.gz" +TARBALL_SHA1="1a91245113971687a12f8fb2bc2e9ceae1e705f8" -BUILD_DEPENDS="automake" # svgcleaner" +BUILD_DEPENDS="meson ninja jdupes" +SPLIT="$PACKAGE-huge $PACKAGE-hidpi $PACKAGE" + +COPY_huge="512x512/" +COPY_hidpi="*@2x/" + +CAT_huge="customization|512x512 px" +CAT_hidpi="customization|for HiDPI screens" + +DEPENDS_huge="$PACKAGE" +DEPENDS_hidpi="$PACKAGE" +DEPENDS_std=" " compile_rules() { - ./autogen.sh && - sed -i 's|-Rv|-R|' Makefile && - make && - make install || return 1 + # Lots of files incorrectly have executable permissions. + # Remove all such permissions, then restore the few that are correct. + busybox find $src -type f -perm +111 ! -name '*.py' -exec chmod a-x '{}' \; - # remove hdpi icons, and huge sizes - it="$install/usr/share/icons/Paper/index.theme" - for i in 8x8@2x 16x16@2x 24x24@2x 32x32@2x 48x48@2x 512x512@2x 512x512; do - echo "Remove $i" - rm -r $install/usr/share/icons/Paper/$i - sed -i "s|$i[^,]*,||g" $it - sed -i "/^\[$i/,/^\[/{/^\[/b;d}" $it - sed -i "/^\[$i/d" $it - done - sed -i '/HiDPi/,$d' $it + mkdir build + cd build -# # remove duplicates (keep .png, remove .svg) -# for svg in $(find $install -name '*.svg'); do -# if [ -e "${svg%svg}png" ]; then -# echo "Remove duplicate: ${svg#*Paper/}" -# rm "$svg" -# fi -# done + meson-wrapper && + ninja && + ninja install || return 1 + + jdupes -l -R $install/usr/share/icons/ + + cd $src + cook_pick_docs AUTHORS COPYING LICENSE README.md } - -genpkg_rules() { - cp -a $install/* $fs - DEPENDS="librsvg" -}