Github messages for voidlinux
 help / color / mirror / Atom feed
From: mhmdanas <mhmdanas@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] ghostscript: update to 10.01.0.
Date: Wed, 29 Mar 2023 19:37:19 +0200	[thread overview]
Message-ID: <20230329173719.rM44BbyJ3nZc9W8IwWXl2wTt6v_W1mT7jhU-u6cBKyg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42988@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]

There is an updated pull request by mhmdanas against master on the void-packages repository

https://github.com/mhmdanas/void-packages ghostscript-10.01.0
https://github.com/void-linux/void-packages/pull/42988

ghostscript: update to 10.01.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/42988.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ghostscript-10.01.0-42988.patch --]
[-- Type: text/x-diff, Size: 5043 bytes --]

From 506e5176d7475fc3b1948bb5150e29d4e3fc554a Mon Sep 17 00:00:00 2001
From: mhmdanas <triallax@tutanota.com>
Date: Fri, 24 Mar 2023 21:41:50 +0000
Subject: [PATCH] ghostscript: update to 10.01.1.

---
 srcpkgs/ghostscript/patches/fix-cross.patch | 37 ---------------------
 srcpkgs/ghostscript/template                | 16 ++++-----
 2 files changed, 7 insertions(+), 46 deletions(-)
 delete mode 100644 srcpkgs/ghostscript/patches/fix-cross.patch

diff --git a/srcpkgs/ghostscript/patches/fix-cross.patch b/srcpkgs/ghostscript/patches/fix-cross.patch
deleted file mode 100644
index d3f70b435bb3..000000000000
--- a/srcpkgs/ghostscript/patches/fix-cross.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-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
-
diff --git a/srcpkgs/ghostscript/template b/srcpkgs/ghostscript/template
index dce91a71ae0e..51fef8519ffd 100644
--- a/srcpkgs/ghostscript/template
+++ b/srcpkgs/ghostscript/template
@@ -1,6 +1,6 @@
 # Template file for 'ghostscript'
 pkgname=ghostscript
-version=10.0.0
+version=10.01.1
 revision=1
 hostmakedepends="automake libtool pkg-config"
 makedepends="$(vopt_if cups cups-devel) dbus-devel fontconfig-devel jasper-devel jbig2dec-devel
@@ -12,7 +12,7 @@ license="AGPL-3.0-or-later, CPL-1.0"
 homepage="https://www.ghostscript.com/"
 changelog="https://ghostscript.readthedocs.io/en/latest/News.html"
 distfiles="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${version//./}/ghostscript-${version}.tar.xz"
-checksum=f1fa585f7c7d32adfa81ab389388100ac9df83444eb64db1fb92737141ef9f61
+checksum=c91193635aa2578f9508b8ba846106c1e3705fbd3fed5fd9a015f21b55f15d68
 
 build_options="cups"
 build_options_default="cups"
@@ -26,9 +26,7 @@ pre_configure() {
 	rm -rf $(vopt_if cups cups/libs) freetype jbig2dec jpeg lcms2mt libpng openjpeg tiff zlib
 
 	# add missing LDFLAGS
-	sed -i 's/-L$(BINDIR)/& $(LDFLAGS)/g' base/unix-dll.mak
-
-	autoreconf -fi
+	vsed -i 's/-L$(BINDIR)/& $(LDFLAGS)/g' base/unix-dll.mak
 
 	cd ijs
 	autoreconf -fi
@@ -41,12 +39,12 @@ do_configure() {
 		export CCAUX=cc CFLAGSAUX=${XBPS_CFLAGS}
 		export CUPSCONFIG=/usr/bin/cups-config
 	fi
-	./configure ${configure_args} --enable-dynamic --with-ijs \
-		--with-jbig2dec --with-omni --with-x --with-drivers=ALL \
+	./configure ${configure_args} --with-ijs --with-jbig2dec --with-x \
+		--with-drivers=ALL \
 		--with-fontpath=/usr/share/fonts/Type1:/usr/share/fonts \
 		--enable-fontconfig --enable-freetype --enable-openjpeg \
-		--with-libpaper --without-luratech --without-omni \
-		--with-system-libtiff --disable-compile-inits $(vopt_enable cups)
+		--with-libpaper --with-system-libtiff --disable-compile-inits \
+		$(vopt_enable cups)
 
 	# configure libijs
 	cd ijs

  parent reply	other threads:[~2023-03-29 17:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-24 21:48 [PR PATCH] " mhmdanas
2023-03-25 22:25 ` tornaria
2023-03-25 22:32 ` mhmdanas
2023-03-25 22:37 ` mhmdanas
2023-03-29 17:37 ` mhmdanas [this message]
2023-04-18 21:40 ` ghostscript: update to 10.01.1 tornaria
2023-04-19  0:30 ` [PR PATCH] [Updated] " mhmdanas
2023-05-19 15:29 ` [PR PATCH] [Merged]: " ahesford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230329173719.rM44BbyJ3nZc9W8IwWXl2wTt6v_W1mT7jhU-u6cBKyg@z \
    --to=mhmdanas@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).