From 5f2fc562fdd9e16e681ff295209430f9b854d4fa Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 5 Sep 2023 16:04:15 -0400 Subject: graphics/mcomix: Updated for version 2.3.0. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- graphics/mcomix/mcomix.SlackBuild | 19 ++++++++++++++++--- graphics/mcomix/mcomix.info | 8 +++++--- 2 files changed, 21 insertions(+), 6 deletions(-) (limited to 'graphics') diff --git a/graphics/mcomix/mcomix.SlackBuild b/graphics/mcomix/mcomix.SlackBuild index 27ada6a954d24..5a05d2dae4d95 100644 --- a/graphics/mcomix/mcomix.SlackBuild +++ b/graphics/mcomix/mcomix.SlackBuild @@ -6,7 +6,10 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230905 bkw: update for v2.3.0 +# 20230822 bkw: update for v2.2.1. # 20230625 bkw: update for v2.1.1. + # Note to self: it would be possible to use bsdtar in place of unrar # and p7zip, but it would require too much patching. Better to talk # upstream into adding it as an option. @@ -20,7 +23,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mcomix -VERSION=${VERSION:-2.2.1} +VERSION=${VERSION:-2.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -56,12 +59,22 @@ cd $PRGNAM-$VERSION chown -R root:root . # Bad tarball permissions (every file is +x), please do not "fix" this # by reverting to template. -find . -type f -a -exec chmod 644 {} \+ -o \ - -type d -a -exec chmod 755 {} \+ +find . -type f -a -exec chmod 644 {} + -o \ + -type d -a -exec chmod 755 {} + sed -i 's,share/man,man,g' setup.py python3 setup.py install --root=$PKG +# 20230905 bkw: 2.2.1 has good icons. The ones in 2.3.0 are wrong-sized, +# e.g. the "32x32" one is actually 32x24. So I made a tarball of the old +# icons... which didn't include the giant 256x256 one. +rm -rf $PKG/usr/share/icons/hicolor/256x256 +( cd $PKG ; tar xvf $CWD/mcomix-good-icons.tar.xz ) +mkdir -p $PKG/usr/share/pixmaps + +# 20230905 bkw: old-style icon. +ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png + PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKGDOC cp -a COPYING README ChangeLog $PKGDOC diff --git a/graphics/mcomix/mcomix.info b/graphics/mcomix/mcomix.info index 3a191d43ba276..3f60de1f875c1 100644 --- a/graphics/mcomix/mcomix.info +++ b/graphics/mcomix/mcomix.info @@ -1,8 +1,10 @@ PRGNAM="mcomix" -VERSION="2.2.1" +VERSION="2.3.0" HOMEPAGE="https://sourceforge.net/projects/mcomix/" -DOWNLOAD="https://downloads.sourceforge.net/project/mcomix/MComix-2.2.1/mcomix-2.2.1.tar.gz" -MD5SUM="2360845c9d3de9763bfa16152200c9bd" +DOWNLOAD="https://downloads.sourceforge.net/project/mcomix/MComix-2.3.0/mcomix-2.3.0.tar.gz \ + https://slackware.uk/~urchlay/src/mcomix-good-icons.tar.xz" +MD5SUM="23042e3f7129fe5f876bd03c82dbc63f \ + dea5da6a93d316d3c4aad92ec40d1be1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3