Github messages for voidlinux
 help / color / mirror / Atom feed
From: benalb <benalb@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] qpdf: update to 11.0.0.
Date: Thu, 15 Sep 2022 16:11:42 +0200	[thread overview]
Message-ID: <20220915141142.eXzNH17VFwUaB_MZeH06cX6cxS_5oNLZ8zZmZE02Ep4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39230@inbox.vuxu.org>

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

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

https://github.com/benalb/void-packages qpdf
https://github.com/void-linux/void-packages/pull/39230

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

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

<!--
#### 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, (X86_64-LIBC)

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

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

From e57d8c62cfa09c63103b212ae2dd9c8a0db690f9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Benjam=C3=ADn=20Albi=C3=B1ana?= <benalb@gmail.com>
Date: Sun, 11 Sep 2022 16:51:20 +0200
Subject: [PATCH] qpdf: update to 11.0.0.

---
 common/shlibs                    |  2 +-
 srcpkgs/cups-filters/template    |  2 +-
 srcpkgs/python3-pikepdf/template |  4 ++--
 srcpkgs/qpdf/template            | 33 +++++++++++++++++---------------
 4 files changed, 22 insertions(+), 19 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index de889fceaf6c..b30194aa0bfd 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3887,7 +3887,7 @@ libbudgie-private.so.0 budgie-desktop-10.5.1_1
 libbudgietheme.so.0 budgie-desktop-10.5.1_1
 libbudgie-plugin.so.0 budgie-desktop-10.5.1_1
 libslirp.so.0 libslirp-4.2.0_1
-libqpdf.so.28 libqpdf-10.0.0_1
+libqpdf.so.29 libqpdf-11.0.0_1
 libstk-4.6.1.so libstk-4.6.1_1
 libc++utilities.so.5 cpp-utilities-5.2.0_1
 libtagparser.so.11 tagparser-11.0.0_1
diff --git a/srcpkgs/cups-filters/template b/srcpkgs/cups-filters/template
index 61472d26b0a9..bea2ff4f2d3f 100644
--- a/srcpkgs/cups-filters/template
+++ b/srcpkgs/cups-filters/template
@@ -1,7 +1,7 @@
 # Template file for 'cups-filters'
 pkgname=cups-filters
 version=1.28.15
-revision=1
+revision=2
 build_style=gnu-configure
 configure_args="--disable-static --with-rcdir=no --enable-avahi
  --with-browseremoteprotocols=DNSSD,CUPS
diff --git a/srcpkgs/python3-pikepdf/template b/srcpkgs/python3-pikepdf/template
index 1d7af9c3ce8b..631065b0beb4 100644
--- a/srcpkgs/python3-pikepdf/template
+++ b/srcpkgs/python3-pikepdf/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-pikepdf'
 pkgname=python3-pikepdf
-version=5.6.1
+version=6.0.0.post2
 revision=1
 wrksrc="pikepdf-${version}"
 build_style=python3-module
@@ -16,7 +16,7 @@ license="MPL-2.0"
 homepage="https://github.com/pikepdf/pikepdf"
 changelog="https://raw.githubusercontent.com/pikepdf/pikepdf/master/docs/releasenotes/version${version%%.*}.rst"
 distfiles="${PYPI_SITE}/p/pikepdf/pikepdf-${version}.tar.gz"
-checksum=03fb70ff4fada9cba864d04033f4166b5bf7fa85c90cdc05afd0ab87c9ccaa1a
+checksum=dae409c6434151498afc78e5fa636396b48e8a49dc46456012fc4917a0870078
 
 pre_check() {
 	cp -r src/pikepdf.egg-info "$(cd build/lib* && pwd)"
diff --git a/srcpkgs/qpdf/template b/srcpkgs/qpdf/template
index 324de5aefaa2..d99b08bbb9cc 100644
--- a/srcpkgs/qpdf/template
+++ b/srcpkgs/qpdf/template
@@ -1,35 +1,38 @@
 # Template file for 'qpdf'
 pkgname=qpdf
-version=10.6.3
+version=11.0.0
 revision=1
-wrksrc="qpdf-release-qpdf-${version}"
-build_style=gnu-configure
-hostmakedepends="perl gettext tar"
-makedepends="pcre-devel libjpeg-turbo-devel"
+build_style=cmake
+hostmakedepends="perl pkg-config"
+makedepends="zlib-devel libjpeg-turbo-devel"
 short_desc="Content-Preserving PDF Transformation System"
 maintainer="Benjamín Albiñana <benalb@gmail.com>"
 license="Apache-2.0"
 homepage="https://github.com/qpdf/qpdf"
 changelog="https://raw.githubusercontent.com/qpdf/qpdf/stable/manual/release-notes.rst"
-distfiles="${homepage}/archive/release-qpdf-${version}.tar.gz"
-checksum=64bbb654ec19b6812284ef1bc40c57b091de5281f265f1c3c83dd8ccf6bedcf5
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=ec3c0185fd0cdfc9beea3569c2c0519d3cc8200fa730bab555885d2cfc36ae4b
 
 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
 	makedepends+=" libatomic-devel"
-	LDFLAGS+=" -latomic"
+	case "$XBPS_TARGET_MACHINE" in
+	armv6l-musl)
+		LIBS="-latomic"
+		;;
+	*)
+		LDFLAGS+=" -latomic"
+		;;
+	esac
 fi
 
-do_check() {
-	# libtsdc++ throws an exception on musl if std::locale("") is used, since
-	# its generic locale implementation only supports the C locale.
-	# by forcing LANG=C, no exception is thrown and the test suite can run to completion
-	LANG=C make check
-}
+if [ "$CROSS_BUILD" ]; then
+	configure_args="-DLL_FMT=%lld -DRANDOM_DEVICE=/dev/urandom"
+fi
 
 libqpdf_package() {
 	short_desc+=" - shared library"
 	pkg_install() {
-		vmove "usr/lib/*.so.*"
+	vmove "usr/lib/*.so.*"
 	}
 }
 

  parent reply	other threads:[~2022-09-15 14:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-11 15:12 [PR PATCH] " benalb
2022-09-11 15:13 ` [PR PATCH] [Updated] " benalb
2022-09-11 16:26 ` benalb
2022-09-15 14:11 ` benalb [this message]
2022-09-20 15:25 ` [PR PATCH] [Merged]: " leahneukirchen
2022-11-27 14:10 ` [PR REVIEW] " tibequadorian
2022-11-27 14:11 ` tibequadorian
2022-11-27 16:01 ` benalb
2023-02-26  9:35 ` benalb

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=20220915141142.eXzNH17VFwUaB_MZeH06cX6cxS_5oNLZ8zZmZE02Ep4@z \
    --to=benalb@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).