summaryrefslogtreecommitdiffstats
path: root/source/ap/ghostscript
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/ghostscript')
-rwxr-xr-xsource/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh4
-rwxr-xr-xsource/ap/ghostscript/ghostscript.SlackBuild6
2 files changed, 10 insertions, 0 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 5a3690db4..5cc9daf00 100755
--- a/source/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh
+++ b/source/ap/ghostscript/dump.unused.internal.libraries.from.sources.sh
@@ -10,9 +10,13 @@ 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 huge PDFs:
( cd ghostscript-${VERSION}
+ find . -name Ghostscript.pdf -exec rm {} \;
find . -name GS9_Color_Management.pdf -exec rm {} \;
rm -f doc/colormanage/figures/*.pdf
rm -f lcms2mt/doc/*
+ rm -f extract/test/*.pdf
+ rm -f toolbin/color/icc_creator/example/duotone.pdf toolbin/color/icc_creator/example/tritone.pdf toolbin/halftone/ETS/ei03.pdf
+ rm -f doc/pclxps/ghostpdl.pdf
)
tar cf ghostscript-${VERSION}.tar ghostscript-${VERSION}
rm -r ghostscript-${VERSION}
diff --git a/source/ap/ghostscript/ghostscript.SlackBuild b/source/ap/ghostscript/ghostscript.SlackBuild
index 485704b8b..454ea0209 100755
--- a/source/ap/ghostscript/ghostscript.SlackBuild
+++ b/source/ap/ghostscript/ghostscript.SlackBuild
@@ -121,6 +121,8 @@ CFLAGS="$SLKCFLAGS" \
--enable-dynamic \
--with-system-libtiff \
--enable-cups \
+ --disable-hidden-visibility \
+ --htmldir=/usr/share/ghostscript/$VERSION/doc \
--program-prefix= \
--program-suffix= \
--build=$ARCH-slackware-linux || exit 1
@@ -195,6 +197,10 @@ mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION
ln -sf /usr/share/ghostscript/$VERSION/doc doc
)
+# NOTE: The HTML documentation isn't being properly created in ghostscript-10,
+# and it seems to be due to missing Sphinx components. We'll look into this at
+# some point down the road...
+#
# Version 9.02 fails to install History9.htm, but also the full unabridged
# history of Ghostscript is not required here. See the source for that.
( cd doc