# HG changeset patch # User Aleksej Bobylev # Date 1502621142 -10800 # Node ID fb775b657fbc6c7e00ae6c7494755801a18afa03 # Parent 94ab15b469abb0530d9b31c76f03f6616aaf1687 Up peazip: add plugins, add PCManFM integration, fix permissions, remove desktop entries for sub-tools. diff -r 94ab15b469ab -r fb775b657fbc peazip/description.peazip-plugin-additional.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/peazip/description.peazip-plugin-additional.txt Sun Aug 13 13:45:42 2017 +0300 @@ -0,0 +1,8 @@ +### Additional Formats Plugin 2 + +PeaZip Additional Formats Plugin 2 is needed to handle additional formats +supported by PeaZip: LPAQ1, LPAQ5, PAQ8F, PAQ8JD, PAQ8L, QUAD and BALZ +(browsing and extraction). + +Note for GNU/Linux users: contains 32 bit x86 executable software, so on Linux +64 bit systems it requires **ia32-libs**. diff -r 94ab15b469ab -r fb775b657fbc peazip/description.peazip-plugin-unace.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/peazip/description.peazip-plugin-unace.txt Sun Aug 13 13:45:42 2017 +0300 @@ -0,0 +1,13 @@ +### UNACE Plugin + +UNACE Plugin handles browsing and extraction of WinAce's +[ACE file format](http://en.wikipedia.org/wiki/ACE_%28compression_file_format%29) +and it is needed to +[open ACE files](http://www.peazip.org/ace-files-utility.html) in PeaZip. + +This package is meant to provide free ACE files support as separate plugin +since UNACE is released by WinACE as royalty free, but closed source, freeware +binaries. + +Note for GNU/Linux users: UNACE is a 32 bit executable, so on Linux 64 bit +systems it requires ia32-libs to extract ACE files. diff -r 94ab15b469ab -r fb775b657fbc peazip/description.peazip-plugin-unrar5.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/peazip/description.peazip-plugin-unrar5.txt Sun Aug 13 13:45:42 2017 +0300 @@ -0,0 +1,20 @@ +### UNRAR5 Plugin (optional, alternative unrar engine) + +On Windows and Linux systems recent PeaZip versions use by default the 7-Zip / +p7zip 15.06 (or more recent) unrar implementation, which is capable of reading +(browsing, extracting) RAR5 format natively, so **it is no longer needed to +separately install this plugin** - which it is still provided only as an +alternative rar5 files extraction engine. + +UNRAR5 Plugin is meant to [open RAR files](http://www.peazip.org/free-rar.html) +built with most recent [RARv5rar5](http://www.rarlab.com/technote.htm) format +standard file format specifications. + +RarLab's unrar is royalty-free, and sources are available, but due to unrar +[licensing restrictionis](http://www.scribd.com/doc/45654333/UnRAR-License#scribd) +(licensing terms of source code prohibits making a tool that can create +RAR-compatible archives) it is widely regarded +([Fedora project on unrar](https://fedoraproject.org/wiki/Licensing:Unrar?rd=Licensing/Unrar), +[Ubuntu forums unrar](http://ubuntuforums.org/archive/index.php/t-2012979.html)) +by Open Source community to not be OSI-compliant - and consequently needs to be +deployed as separate add-on for PeaZip project. diff -r 94ab15b469ab -r fb775b657fbc peazip/description.txt --- a/peazip/description.txt Sat Aug 12 05:16:49 2017 +0300 +++ b/peazip/description.txt Sun Aug 13 13:45:42 2017 +0300 @@ -5,3 +5,16 @@ PeaZip For Linux http://www.peazip.org/peazip-linux.html + + +### SliTaz GNU/Linux + +Please, report bugs to . + +Improvements and suggestions please visit our forum and leave your comment. + Thank you. + +Need help? See: + +[The SliTaz GNU/Linux DevTeam](http://people.slitaz.org) +[The SliTaz GNU/Linux Association](http://www.slitaz.org) diff -r 94ab15b469ab -r fb775b657fbc peazip/receipt --- a/peazip/receipt Sat Aug 12 05:16:49 2017 +0300 +++ b/peazip/receipt Sun Aug 13 13:45:42 2017 +0300 @@ -1,77 +1,91 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="peazip" -VERSION="6.0.0" -SYSTEM="LINUX" -ENV="GTK2" -CATEGORY="x-window" -SHORT_DESC="Open Source archive manager and data compression utility." -MAINTAINER="hackdorte@sapo.pt" -LICENSE="LGPL3" +VERSION="6.4.1" +CATEGORY="utilities" +SHORT_DESC="Open Source archive manager and data compression utility" +MAINTAINER="hackdorte@yandex.com" +LICENSE="LGPL3 GPL LGPL freeware" WEB_SITE="http://peazip.org/peazip-linux.html" -TARBALL="$PACKAGE-$VERSION.$SYSTEM.$ENV.tgz" +TARBALL="$PACKAGE-$VERSION.LINUX.GTK2.tgz" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +WGET_URL2="http://www.peazip.org/downloads/unace/peazip_unace_plugin-1.LINUX.ALL.tar.gz" +WGET_URL3="http://www.peazip.org/downloads/unrar5/peazip_unrar5_plugin-1.LINUX.ALL.tar.gz" +WGET_URL4="http://www.peazip.org/downloads/additional/peazip_additional_formats_plugin-2.LINUX.ALL.tar.gz" -DEPENDS="xorg-libX11 atk glibc-base cairo gtk+ gdk-pixbuf glib pango" +SPLIT="peazip-plugin-unace peazip-plugin-unrar5 peazip-plugin-additional peazip" # Rules to configure and make the package. compile_rules() { + # download/extract plugins + for i in $WGET_URL2 $WGET_URL3 $WGET_URL4; do + tarball="$SRC/$(basename $i)" + [ -e $tarball ] || wget -O $tarball $i + tar -xzf $tarball + done -mkdir -p $install/ -cp -a $src/* $install/ + bindir=$install/usr/bin + libdir=$install/usr/lib/peazip + appdir=$install/usr/share/applications + docdir=$install/usr/share/doc/$PACKAGE-$VERSION + icodir=$install/usr/share/icons/hicolor/256x256/apps + actdir=$install/usr/share/file-manager/actions + mkdir -p $bindir $libdir $appdir $docdir $icodir $actdir + + # Hierarchies for SliTaz GNU/Linux + cp -a $src/usr/local/share/PeaZip/res/ $libdir + cp -a $src/usr/local/share/PeaZip/peazip $libdir + cp -a $src/usr/local/share/PeaZip/copying.txt $libdir + cp -a $src/usr/local/share/PeaZip/peazip_help.pdf $libdir + cp -a $src/usr/local/share/icons/peazip.png $icodir + + # Desktop entry for Peazip + cp $stuff/*.desktop $appdir + # PCManFM desktop integration (PeaZip context menu) + cp $stuff/actions/*.desktop $actdir + + # Symbolic links + ln -s ../lib/peazip/res/pea $bindir + ln -s ../lib/peazip/res/pealauncher $bindir + ln -s ../lib/peazip/peazip $bindir + ln $libdir/peazip_help.pdf $docdir + + # Plugins + cp -a unace/ unrar/ lpaq/ paq/ quad/ $libdir/res/ + + # Fix permissions + find $install \( -name '*.txt' -o -name '*.7z' -o -name '*.bmp' -o \ + -name '*.readme' -o -name '*.diz' \) -exec chmod 0644 '{}' \; + find $install -type f \( -perm 0775 -o -perm 0777 \) -exec chmod 0755 '{}' \; + find $install -type d -exec chmod 0755 '{}' \; } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - - # Build Tree - mkdir -p $install/usr/share/applications - mkdir -p $install/usr/share/pixmaps - cp -a $install/usr/local/share/applications/* $install/usr/share/applications - cp -a $install/usr/local/share/icons/* $install/usr/share/pixmaps - - -# Writing (pea.desktop) File -cat > $install/usr/share/applications/pea.desktop < $install/usr/share/applications/pealauncher.desktop <