summaryrefslogtreecommitdiff
path: root/source/ap/ghostscript
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2021-09-28 01:37:33 +0000
committerEric Hameleers <alien@slackware.com>2021-09-28 08:59:55 +0200
commit14c5bb40d1dfae2acc1a0c84ef261d09fbea0001 (patch)
tree9c80f8cc7ce6d76bce0aaec0576c758ef31b8f2c /source/ap/ghostscript
parentd66220bda595fffe9e5d8bf506be65e4a3dc7e50 (diff)
downloadcurrent-14c5bb40d1dfae2acc1a0c84ef261d09fbea0001.tar.gz
Tue Sep 28 01:37:33 UTC 202120210928013733
n/nftables-1.0.0-x86_64-2.txz: Rebuilt. Added options --with-json and --enable-python needed for firewalld. Thanks to stormtracknole. xap/mozilla-thunderbird-91.1.2-x86_64-1.txz: Upgraded. This is a bugfix release. For more information, see: https://www.mozilla.org/en-US/thunderbird/91.1.2/releasenotes/
Diffstat (limited to 'source/ap/ghostscript')
-rwxr-xr-xsource/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh b/source/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh
index c4f1ce80..5a3690db 100755
--- a/source/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh
+++ b/source/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh
@@ -8,8 +8,12 @@ VERSION=${VERSION:-$(echo ghostscript-*.tar.?z* | rev | cut -f 3- -d . | cut -f
tar xf ghostscript-${VERSION}.tar.xz || exit 1
mv ghostscript-${VERSION}.tar.xz ghostscript-${VERSION}.tar.xz.orig
( cd ghostscript-${VERSION} && rm -rf freetype jpeg lcms2 lcms2art/doc/* libpng libtiff png tiff zlib )
-# Dump this huge PDF:
-( cd ghostscript-${VERSION} && find . -name GS9_Color_Management.pdf -exec rm {} \; )
+# Dump huge PDFs:
+( cd ghostscript-${VERSION}
+ find . -name GS9_Color_Management.pdf -exec rm {} \;
+ rm -f doc/colormanage/figures/*.pdf
+ rm -f lcms2mt/doc/*
+)
tar cf ghostscript-${VERSION}.tar ghostscript-${VERSION}
rm -r ghostscript-${VERSION}
plzip -9 -n 6 ghostscript-${VERSION}.tar