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

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

There is a new 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: 2653 bytes --]

From 77abf1c02747b5c1f97fa4800ee245ec69933434 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/qpdf/template | 34 +++++++++++++++++++---------------
 2 files changed, 20 insertions(+), 16 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/qpdf/template b/srcpkgs/qpdf/template
index 324de5aefaa2..9a1d92323545 100644
--- a/srcpkgs/qpdf/template
+++ b/srcpkgs/qpdf/template
@@ -1,35 +1,39 @@
 # 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"
+wrksrc="qpdf-${version}"
+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.*"
 	}
 }
 

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

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-11 15:12 benalb [this message]
2022-09-11 15:13 ` [PR PATCH] [Updated] " benalb
2022-09-11 16:26 ` benalb
2022-09-15 14:11 ` benalb
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39230@inbox.vuxu.org \
    --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).