mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
ghostscript: update to 10.0.0.
This commit is contained in:
parent
603a659841
commit
ea17462cd5
4 changed files with 43 additions and 15 deletions
|
@ -1059,7 +1059,7 @@ libcupscgi.so.1 libcups-1.5.3_1
|
||||||
libcups.so.2 libcups-1.5.3_1
|
libcups.so.2 libcups-1.5.3_1
|
||||||
libcupsimage.so.2 libcups-1.5.3_1
|
libcupsimage.so.2 libcups-1.5.3_1
|
||||||
libijs-0.35.so libijs-0.8_1
|
libijs-0.35.so libijs-0.8_1
|
||||||
libgs.so.9 libgs-0.8_1
|
libgs.so.10 libgs-10.0.0_1
|
||||||
libssh2.so.1 libssh2-1.9.0_3
|
libssh2.so.1 libssh2-1.9.0_3
|
||||||
libvirt-glib-1.0.so.0 libvirt-glib-0.0.8_1
|
libvirt-glib-1.0.so.0 libvirt-glib-0.0.8_1
|
||||||
libsnmp.so.40 libnet-snmp-5.9_2
|
libsnmp.so.40 libnet-snmp-5.9_2
|
||||||
|
|
37
srcpkgs/ghostscript/patches/fix-cross.patch
Normal file
37
srcpkgs/ghostscript/patches/fix-cross.patch
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
From 4c3575346b9c7d394ebc73b4e5fabebadd8877ec Mon Sep 17 00:00:00 2001
|
||||||
|
From: Chris Liddell <chris.liddell@artifex.com>
|
||||||
|
Date: Thu, 24 Nov 2022 16:33:47 +0000
|
||||||
|
Subject: [PATCH] Fix a little bitrot in the cross-compiling logic
|
||||||
|
|
||||||
|
Removing the option to disable FAPI meant configuring for cross compiling would
|
||||||
|
fail because the option being passed to the sub-call to configure would include
|
||||||
|
an unknown command line option.
|
||||||
|
---
|
||||||
|
configure.ac | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index d5c68c4b3..738eb10a9 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -138,7 +138,7 @@ if test x"$host" != x"$build" ; then
|
||||||
|
echo $AUXFLAGS_MAK_LINE07 >> $AUXFLAGS_MAK.in
|
||||||
|
|
||||||
|
AC_MSG_NOTICE([Begin recursive call to configure script (for auxiliary tools)])
|
||||||
|
- "$absolute_source_path/configure" CC="$CCAUX" CFLAGS="$CFLAGSAUX" CPPFLAGS="$CPPFLAGSAUX" LDFLAGS="$LDFLAGSAUX" CCAUX= CFLAGSAUX= CFLAGSAUX= MAKEFILE=$AUXFLAGS_MAK --host=$build --build=$build --enable-auxtools_only --disable-hidden-visibility --with-local-zlib --without-libtiff --disable-contrib --disable-fontconfig --disable-dbus --disable-freetype --disable-fapi --disable-cups --disable-openjpeg --disable-gtk --with-libiconv=no --without-libidn --without-libpaper --without-pdftoraster --without-ijs --without-jbig2dec --without-x --with-drivers=""
|
||||||
|
+ "$absolute_source_path/configure" CC="$CCAUX" CFLAGS="$CFLAGSAUX" CPPFLAGS="$CPPFLAGSAUX" LDFLAGS="$LDFLAGSAUX" CCAUX= CFLAGSAUX= CFLAGSAUX= MAKEFILE=$AUXFLAGS_MAK --host=$build --build=$build --enable-auxtools_only --disable-hidden-visibility --with-local-zlib --without-libtiff --disable-contrib --disable-fontconfig --disable-dbus --disable-freetype --disable-cups --disable-openjpeg --disable-gtk --with-libiconv=no --without-libidn --without-libpaper --without-pdftoraster --without-ijs --without-jbig2dec --without-x --with-drivers=""
|
||||||
|
status=$?
|
||||||
|
cp config.log "$olddir/configaux.log"
|
||||||
|
if test $status -eq 0 ; then
|
||||||
|
@@ -2530,7 +2530,7 @@ PDF=
|
||||||
|
PDF_MAK="\$(GLSRCDIR)\$(D)stub.mak"
|
||||||
|
PDFROMFS_MAK="\$(GLSRCDIR)\$(D)stub.mak"
|
||||||
|
|
||||||
|
-if test x"$with_pdf" != x"no" ; then
|
||||||
|
+if test x"$with_pdf" != x"no" -a x"$enable_auxtools_only" != x"yes" ; then
|
||||||
|
|
||||||
|
if test x"$JBIG2_DECODER" = x""; then
|
||||||
|
AC_MSG_ERROR([No JBIG2 decoder available, required for PDF support])
|
||||||
|
--
|
||||||
|
2.25.1
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- ./base/gsicc_lcms2.c.jlg 2021-09-27 03:44:02.000000000 -0400
|
|
||||||
+++ ./base/gsicc_lcms2.c 2021-10-05 10:50:03.428000000 -0400
|
|
||||||
@@ -462,7 +462,7 @@
|
|
||||||
gscms_transform_color(gx_device *dev, gsicc_link_t *icclink, void *inputcolor,
|
|
||||||
void *outputcolor, int num_bytes)
|
|
||||||
{
|
|
||||||
- return gscms_transformm_color_const(dev, icclink, inputcolor, outputcolor, num_bytes);
|
|
||||||
+ return gscms_transform_color_const(dev, icclink, inputcolor, outputcolor, num_bytes);
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'ghostscript'
|
# Template file for 'ghostscript'
|
||||||
pkgname=ghostscript
|
pkgname=ghostscript
|
||||||
version=9.55.0
|
version=10.0.0
|
||||||
revision=1
|
revision=1
|
||||||
hostmakedepends="automake libtool pkg-config"
|
hostmakedepends="automake libtool pkg-config"
|
||||||
makedepends="$(vopt_if cups cups-devel) dbus-devel fontconfig-devel jasper-devel jbig2dec-devel
|
makedepends="$(vopt_if cups cups-devel) dbus-devel fontconfig-devel jasper-devel jbig2dec-devel
|
||||||
|
@ -10,9 +10,9 @@ short_desc="Interpreter for the PostScript language"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="AGPL-3.0-or-later, CPL-1.0"
|
license="AGPL-3.0-or-later, CPL-1.0"
|
||||||
homepage="https://www.ghostscript.com/"
|
homepage="https://www.ghostscript.com/"
|
||||||
changelog="https://www.ghostscript.com/doc/${version}/News.htm"
|
changelog="https://ghostscript.readthedocs.io/en/latest/News.html"
|
||||||
distfiles="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${version//./}/ghostscript-${version}.tar.xz"
|
distfiles="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${version//./}/ghostscript-${version}.tar.xz"
|
||||||
checksum=6ee3057773646d6a2c6d117eb53a17d6752feadc513828e4322f68b7b7789ff6
|
checksum=f1fa585f7c7d32adfa81ab389388100ac9df83444eb64db1fb92737141ef9f61
|
||||||
|
|
||||||
build_options="cups"
|
build_options="cups"
|
||||||
build_options_default="cups"
|
build_options_default="cups"
|
||||||
|
@ -28,6 +28,8 @@ pre_configure() {
|
||||||
# add missing LDFLAGS
|
# add missing LDFLAGS
|
||||||
sed -i 's/-L$(BINDIR)/& $(LDFLAGS)/g' base/unix-dll.mak
|
sed -i 's/-L$(BINDIR)/& $(LDFLAGS)/g' base/unix-dll.mak
|
||||||
|
|
||||||
|
autoreconf -fi
|
||||||
|
|
||||||
cd ijs
|
cd ijs
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue