office/pdfarranger: upgraded to version 1.9.1

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
brobr 2022-11-22 14:10:44 +00:00 committed by Willy Sudiarto Raharjo
parent 71528d865b
commit 266dc0d9c1
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 34 additions and 4 deletions

View file

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pdfarranger
VERSION=${VERSION:-1.8.2}
VERSION=${VERSION:-1.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -71,6 +71,11 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
#simplify icon name from 'com.github.jeromerobert.pdfarranger' to 'pdfarranger'
patch -p 1 < $CWD/simplify_icon_name.patch
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
@ -88,6 +93,7 @@ mv $PKG/usr/share/man $PKG/usr/man
mv $PKG/usr/share/applications/com.github.jeromerobert.pdfarranger.desktop \
$PKG/usr/share/applications/pdfarranger.desktop
mv $PKG/usr/share/metainfo/com.github.jeromerobert.pdfarranger.metainfo.xml \
$PKG/usr/share/metainfo/pdfarranger.metainfo.xml

View file

@ -1,8 +1,8 @@
PRGNAM="pdfarranger"
VERSION="1.8.2"
VERSION="1.9.1"
HOMEPAGE="https://github.com/pdfarranger/pdfarranger"
DOWNLOAD="https://github.com/pdfarranger/pdfarranger/archive/refs/tags/1.8.2/pdfarranger-1.8.2.tar.gz"
MD5SUM="d38a47d5b5c6cfe16c0bbeb03971bb76"
DOWNLOAD="https://github.com/pdfarranger/pdfarranger/archive/refs/tags/1.9.1/pdfarranger-1.9.1.tar.gz"
MD5SUM="91f5c1c85da9d603b6ebb6936311d77e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pikepdf python-distutils-extra python3-dateutil img2pdf"

View file

@ -0,0 +1,24 @@
diff -Naur pdfarranger-1.8.2/data/com.github.jeromerobert.pdfarranger.desktop pdfarranger-1.8.2_icon/data/com.github.jeromerobert.pdfarranger.desktop
--- pdfarranger-1.8.2/data/com.github.jeromerobert.pdfarranger.desktop 2021-12-25 16:53:29.000000000 +0000
+++ pdfarranger-1.8.2_icon/data/com.github.jeromerobert.pdfarranger.desktop 2022-06-28 00:05:36.510916505 +0100
@@ -17,7 +17,7 @@
Comment[ko]=PDF 합치기, 재정렬, 나누기, 회전 및 잘라내기
Type=Application
Exec=pdfarranger %U
-Icon=com.github.jeromerobert.pdfarranger
+Icon=pdfarranger
MimeType=application/pdf;application/postscript;application/x-ext-pdf;image/x-bmp;image/bmp;image/gif;image/tiff;image/jp2;image/jpeg;image/jpg;image/png;image/x-icon;image/x-portable-pixmap;image/x-gray;image/x-ico;image/x-png;image/vnd.zbrush.pcx;image/x-pcx;
Categories=Office;
Terminal=false
diff -Naur pdfarranger-1.8.2/pdfarranger/pdfarranger.py pdfarranger-1.8.2_icon/pdfarranger/pdfarranger.py
--- pdfarranger-1.8.2/pdfarranger/pdfarranger.py 2021-12-25 16:53:29.000000000 +0000
+++ pdfarranger-1.8.2_icon/pdfarranger/pdfarranger.py 2022-06-28 00:04:05.856916851 +0100
@@ -54,7 +54,7 @@
pass # Gtk already prints a warning
DOMAIN = 'pdfarranger'
-ICON_ID = 'com.github.jeromerobert.' + DOMAIN
+ICON_ID = DOMAIN
if hasattr(locale, 'bindtextdomain'):
# glibc
locale.bindtextdomain(DOMAIN, localedir)