Github messages for voidlinux
 help / color / mirror / Atom feed
From: mhmdanas <mhmdanas@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] [ci skip] zxing-cpp: update to 2.0.0.
Date: Fri, 17 Feb 2023 22:11:02 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42335@inbox.vuxu.org> (raw)

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

There is a new pull request by mhmdanas against master on the void-packages repository

https://github.com/mhmdanas/void-packages zxing-cpp-2.0.0
https://github.com/void-linux/void-packages/pull/42335

[ci skip] zxing-cpp: update to 2.0.0.

<!-- Uncomment relevant sections and delete options which are not applicable -->

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

@Johnnynator

<!--
#### 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/42335.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-zxing-cpp-2.0.0-42335.patch --]
[-- Type: text/x-diff, Size: 3811 bytes --]

From da2dc986ff91a38cb64d1666b01f0e9be37f4683 Mon Sep 17 00:00:00 2001
From: mhmdanas <triallax@tutanota.com>
Date: Fri, 17 Feb 2023 16:59:42 +0000
Subject: [PATCH 1/3] zxing-cpp: update to 2.0.0.

---
 common/shlibs              |  2 +-
 srcpkgs/zxing-cpp/template | 15 +++++++++++----
 2 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 0c1d545fbe27..ecc9d1955f89 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -1603,7 +1603,7 @@ libKF5Kirigami2.so.5 kirigami2-5.47.0_1
 libtaskmanager.so.6 plasma-workspace-5.8.4_1
 libnotificationmanager.so.1 plasma-workspace-5.15.90_1
 libKPipeWire.so.5 kpipewire-5.26.0_1
-libZXing.so.1 zxing-cpp-1.2.0_1
+libZXing.so.3 zxing-cpp-2.0.0_1
 libfreerdp-client2.so.2 libfreerdp-2.2.0_3
 libfreerdp2.so.2 libfreerdp-2.2.0_3
 libwinpr2.so.2 libfreerdp-2.2.0_3
diff --git a/srcpkgs/zxing-cpp/template b/srcpkgs/zxing-cpp/template
index 8bc0a8a2b89b..8c3f10f294bf 100644
--- a/srcpkgs/zxing-cpp/template
+++ b/srcpkgs/zxing-cpp/template
@@ -1,15 +1,22 @@
 # Template file for 'zxing-cpp'
 pkgname=zxing-cpp
-version=1.2.0
+version=2.0.0
 revision=1
 build_style=cmake
-configure_args="-DBUILD_EXAMPLES=OFF -DBUILD_BLACKBOX_TESTS=OFF"
+configure_args="-DBUILD_EXAMPLES=OFF -DBUILD_BLACKBOX_TESTS=OFF -DBUILD_DEPENDENCIES=LOCAL"
+checkdepends="gtest-devel"
 short_desc="Multi-format 1D/2D barcode image processing library"
 maintainer="John <me@johnnynator.dev>"
-license="GPL-3.0-or-later"
+license="Apache-2.0"
 homepage="https://github.com/nu-book/zxing-cpp/"
 distfiles="https://github.com/nu-book/zxing-cpp/archive/refs/tags/v${version}.tar.gz"
-checksum=653d9e44195d86cf64a36af9ff3a1978ec5599df3882439fefa56e7064f55e8a
+checksum=12b76b7005c30d34265fc20356d340da179b0b4d43d2c1b35bcca86776069f76
+
+if [ "$XBPS_CHECK_PKGS" ]; then
+	configure_args+=" -DBUILD_UNIT_TESTS=ON"
+else
+	configure_args+=" -DBUILD_UNIT_TESTS=OFF"
+fi
 
 zxing-cpp-devel_package() {
 	depends="${sourcepkg}>=${version}_${revision}"

From 88fd73aa0acb62cfd340f818f1c580ba9004a1b2 Mon Sep 17 00:00:00 2001
From: mhmdanas <triallax@tutanota.com>
Date: Fri, 17 Feb 2023 17:01:55 +0000
Subject: [PATCH 2/3] libreoffice: revbump for zxing-cpp-2.0.0.

---
 srcpkgs/libreoffice/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/libreoffice/template b/srcpkgs/libreoffice/template
index 11e023847f1e..ebc76272d6d8 100644
--- a/srcpkgs/libreoffice/template
+++ b/srcpkgs/libreoffice/template
@@ -1,7 +1,7 @@
 # Template file for 'libreoffice'
 pkgname=libreoffice
 version=7.4.3.2
-revision=1
+revision=2
 build_style=meta
 make_build_target="build"
 nocross="Several dependencies are nocross=yes"

From 30bb0227e3ed799af1182aa8de14f3fc59d30d54 Mon Sep 17 00:00:00 2001
From: mhmdanas <triallax@tutanota.com>
Date: Fri, 17 Feb 2023 17:01:55 +0000
Subject: [PATCH 3/3] prison: revbump for zxing-cpp-2.0.0.

---
 srcpkgs/prison/template | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/prison/template b/srcpkgs/prison/template
index b5f4fa4f52b9..1294e2923c33 100644
--- a/srcpkgs/prison/template
+++ b/srcpkgs/prison/template
@@ -1,7 +1,7 @@
 # Template file for 'prison'
 pkgname=prison
 version=5.103.0
-revision=1
+revision=2
 build_style=cmake
 hostmakedepends="kcoreaddons extra-cmake-modules qt5-tools doxygen
  qt5-declarative-devel qt5-qmake qt5-host-tools"
@@ -14,6 +14,12 @@ homepage="https://community.kde.org/Frameworks"
 distfiles="${KDE_SITE}/frameworks/${version%.*}/prison-${version}.tar.xz"
 checksum=44c5f902fac041e6aeb2baa6f26a1b58b3531d500f40e0411e171d3607b0f288
 
+if [ "$XBPS_CHECK_PKGS" ]; then
+	configure_args="-DBUILD_TESTING=ON"
+else
+	configure_args="-DBUILD_TESTING=OFF"
+fi
+
 post_install() {
 	vlicense LICENSES/BSD-3-Clause.txt
 	vlicense LICENSES/MIT.txt

             reply	other threads:[~2023-02-17 21:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-17 21:11 mhmdanas [this message]
2023-02-18 17:22 ` Johnnynator
2023-02-18 18:41 ` [PR PATCH] [Updated] " mhmdanas
2023-02-19 14:29 ` mhmdanas
2023-02-19 14:29 ` [PR PATCH] [Closed]: " mhmdanas

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-42335@inbox.vuxu.org \
    --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).