[gentoo-commits] repo/gentoo:master commit in: media-libs/zint/

2025-12-19 Thread Sam James
commit: cf3d3128ab22d3fac33ddfd56dd38818aff2d49a
Author: Alfred Wingate  protonmail  com>
AuthorDate: Fri Dec 19 20:57:55 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Dec 20 02:38:10 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf3d3128

media-libs/zint: add 2.16.0

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45100
Closes: https://github.com/gentoo/gentoo/pull/45100
Signed-off-by: Sam James  gentoo.org>

 media-libs/zint/Manifest   |  1 +
 media-libs/zint/zint-2.16.0.ebuild | 64 ++
 2 files changed, 65 insertions(+)

diff --git a/media-libs/zint/Manifest b/media-libs/zint/Manifest
index 5c8890f52405..0ade424b1cb8 100644
--- a/media-libs/zint/Manifest
+++ b/media-libs/zint/Manifest
@@ -1 +1,2 @@
 DIST zint-2.15.0-src.tar.gz 6355115 BLAKE2B 
15fd6521a504250f6c53e00790e162e1d2ad607dd9162288052b64eb695f62006ef8bb4f4024dacfd0fcfd50c66b0dd7826de2cdd2f7a86e3c522d81ec4a82f9
 SHA512 
7b5f44837a3a16637be5871ce848747ef520d623d86c88602c4ba8f0fe76705836ccee67a83e7ad0544e56b041dadbe88c5ed0b3219946be924213be18d74e2a
+DIST zint-2.16.0-src.tar.gz 6423511 BLAKE2B 
d3a8cf1f5810d248e643579a865aa4723f766bc4e36f67f7e23fa4918b5867d5b0066324b495d87302ba68dc69f485f95860984f65756b97c344ebb5faf21534
 SHA512 
f9148492e97550f1fb0d23fd611ead315a3b5c7f135feba88a00ea198216e9b0fef53f325e123d2705ca355ce2165863e1ea76aab560361e970b0da72c63136b

diff --git a/media-libs/zint/zint-2.16.0.ebuild 
b/media-libs/zint/zint-2.16.0.ebuild
new file mode 100644
index ..dcaee1a89356
--- /dev/null
+++ b/media-libs/zint/zint-2.16.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake desktop dot-a xdg
+
+DESCRIPTION="Barcode encoding library supporting over 50 symbologies"
+HOMEPAGE="https://www.zint.org.uk/";
+SRC_URI="
+   https://downloads.sourceforge.net/${PN}/${P}-src.tar.gz
+"
+S="${WORKDIR}/${P}-src"
+
+# see LICENSE
+LICENSE="BSD GPL-3+"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~riscv"
+IUSE="gui png test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   gui? (
+   dev-qt/qtbase:6[gui,widgets]
+   dev-qt/qtsvg:6
+   dev-qt/qttools:6[widgets]
+   )
+   png? (
+   media-libs/libpng:=
+   )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+   lto-guarantee-fat
+
+   # Follow order in CMakeListst.txt
+   local mycmakeargs=(
+   -DZINT_TEST=$(usex test)
+   -DZINT_FRONTEND=ON
+   -DZINT_USE_GS1SE=OFF # unpackaged dependency
+   -DZINT_USE_PNG=$(usex png)
+   -DZINT_USE_QT=$(usex gui)
+   -DZINT_QT6=$(usex gui)
+   -DZINT_UNINSTALL=OFF
+   )
+   cmake_src_configure
+}
+
+src_test() {
+   local -x QT_QPA_PLATFORM=offscreen
+   cmake_src_test -j1 # parallel tests cause failures to each other
+}
+
+src_install() {
+   cmake_src_install
+   einstalldocs
+   if use gui; then
+   domenu zint-qt.desktop
+   doicon zint-qt.png
+   fi
+
+   strip-lto-bytecode
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/zint/

2025-06-12 Thread Sam James
commit: ee1aa9bef0633d90cbeead0fdfa7c9d88e9aa38c
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu Jun 12 10:23:31 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 12 10:55:55 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee1aa9be

media-libs/zint: drop 2.14.0

Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42558
Signed-off-by: Sam James  gentoo.org>

 media-libs/zint/Manifest   |  1 -
 media-libs/zint/zint-2.14.0.ebuild | 58 --
 2 files changed, 59 deletions(-)

diff --git a/media-libs/zint/Manifest b/media-libs/zint/Manifest
index 0da97c660c1e..5c8890f52405 100644
--- a/media-libs/zint/Manifest
+++ b/media-libs/zint/Manifest
@@ -1,2 +1 @@
-DIST zint-2.14.0-src.tar.gz 6261059 BLAKE2B 
77bed36f42536fa96f1a69206c221d6f5b09eb25008bfe5e389b3f713eefc0299cf5dbb76f98037bb2af01bf21d6dd0c471ccc24876f7be0829e5d331822dde5
 SHA512 
ef6b7eb32f7df94ad277877741fbfd0e4f3e534107eeb2938425c51a4e83002a87571dbabe0d6449c41bd42978be575a69955105d6323a0b41b58f7bb8e7ab97
 DIST zint-2.15.0-src.tar.gz 6355115 BLAKE2B 
15fd6521a504250f6c53e00790e162e1d2ad607dd9162288052b64eb695f62006ef8bb4f4024dacfd0fcfd50c66b0dd7826de2cdd2f7a86e3c522d81ec4a82f9
 SHA512 
7b5f44837a3a16637be5871ce848747ef520d623d86c88602c4ba8f0fe76705836ccee67a83e7ad0544e56b041dadbe88c5ed0b3219946be924213be18d74e2a

diff --git a/media-libs/zint/zint-2.14.0.ebuild 
b/media-libs/zint/zint-2.14.0.ebuild
deleted file mode 100644
index 543ef8d6fd42..
--- a/media-libs/zint/zint-2.14.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake desktop xdg
-
-DESCRIPTION="Barcode encoding library supporting over 50 symbologies"
-HOMEPAGE="https://www.zint.org.uk/";
-SRC_URI="
-   https://downloads.sourceforge.net/${PN}/${P}-src.tar.gz
-"
-S="${WORKDIR}/${P}-src"
-
-# see LICENSE
-LICENSE="BSD GPL-3+"
-SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~amd64"
-IUSE="gui png test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   gui? (
-   dev-qt/qtbase:6[gui,widgets]
-   dev-qt/qtsvg:6
-   dev-qt/qttools:6[widgets]
-   )
-   png? (
-   media-libs/libpng:=
-   )
-"
-RDEPEND="${DEPEND}"
-
-src_configure() {
-   local mycmakeargs=(
-   -DZINT_FRONTEND=ON
-   -DZINT_QT6=$(usex gui)
-   -DZINT_TEST=$(usex test)
-   -DZINT_UNINSTALL=OFF
-   -DZINT_USE_PNG=$(usex png)
-   -DZINT_USE_QT=$(usex gui)
-   )
-   cmake_src_configure
-}
-
-src_test() {
-   local -x QT_QPA_PLATFORM=offscreen
-   cmake_src_test -j1 # parallel tests cause failures to each other
-}
-
-src_install() {
-   cmake_src_install
-   einstalldocs
-   if use gui; then
-   domenu zint-qt.desktop
-   doicon zint-qt.png
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/zint/

2025-06-12 Thread Sam James
commit: c76f0551146d1229036a626478ba17c01ee4c185
Author: Alfred Wingate  protonmail  com>
AuthorDate: Thu Jun 12 10:21:37 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 12 10:55:57 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c76f0551

media-libs/zint: use dot-a.eclass

... to avoid installing broken static libraries w/ LTO.

There is build switch for static libraries, but it doesn't apply to all
static libraries and it would require a revbump to add.

Closes: https://bugs.gentoo.org/957922
Signed-off-by: Alfred Wingate  protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42558
Closes: https://github.com/gentoo/gentoo/pull/42558
Signed-off-by: Sam James  gentoo.org>

 media-libs/zint/zint-2.15.0.ebuild | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-libs/zint/zint-2.15.0.ebuild 
b/media-libs/zint/zint-2.15.0.ebuild
index f9e83c738ed1..58cf089d284f 100644
--- a/media-libs/zint/zint-2.15.0.ebuild
+++ b/media-libs/zint/zint-2.15.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake desktop xdg
+inherit cmake desktop dot-a xdg
 
 DESCRIPTION="Barcode encoding library supporting over 50 symbologies"
 HOMEPAGE="https://www.zint.org.uk/";
@@ -32,6 +32,8 @@ DEPEND="
 RDEPEND="${DEPEND}"
 
 src_configure() {
+   lto-guarantee-fat
+
local mycmakeargs=(
-DZINT_FRONTEND=ON
-DZINT_QT6=$(usex gui)
@@ -55,4 +57,6 @@ src_install() {
domenu zint-qt.desktop
doicon zint-qt.png
fi
+
+   strip-lto-bytecode
 }



[gentoo-commits] repo/gentoo:master commit in: media-libs/zint/

2025-03-08 Thread Jakov Smolić
commit: 2ed7d123f3bd03801d73a3ddcc06c9fbea6e5236
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Mar  8 22:13:15 2025 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Mar  8 22:13:15 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ed7d123

media-libs/zint: keyword 2.15.0 for ~riscv

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/zint/zint-2.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/zint/zint-2.15.0.ebuild 
b/media-libs/zint/zint-2.15.0.ebuild
index 543ef8d6fd42..f9e83c738ed1 100644
--- a/media-libs/zint/zint-2.15.0.ebuild
+++ b/media-libs/zint/zint-2.15.0.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${P}-src"
 # see LICENSE
 LICENSE="BSD GPL-3+"
 SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
 IUSE="gui png test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/zint/

2025-03-05 Thread Sam James
commit: e3175e7d5bf6f5c0f088c602c3ff645aabfba70d
Author: Alfred Wingate  protonmail  com>
AuthorDate: Fri Feb 28 15:42:33 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar  5 11:38:35 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3175e7d

media-libs/zint: add 2.15.0

Signed-off-by: Alfred Wingate  protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40818
Signed-off-by: Sam James  gentoo.org>

 media-libs/zint/Manifest   |  1 +
 media-libs/zint/zint-2.15.0.ebuild | 58 ++
 2 files changed, 59 insertions(+)

diff --git a/media-libs/zint/Manifest b/media-libs/zint/Manifest
index de2859089c15..0da97c660c1e 100644
--- a/media-libs/zint/Manifest
+++ b/media-libs/zint/Manifest
@@ -1 +1,2 @@
 DIST zint-2.14.0-src.tar.gz 6261059 BLAKE2B 
77bed36f42536fa96f1a69206c221d6f5b09eb25008bfe5e389b3f713eefc0299cf5dbb76f98037bb2af01bf21d6dd0c471ccc24876f7be0829e5d331822dde5
 SHA512 
ef6b7eb32f7df94ad277877741fbfd0e4f3e534107eeb2938425c51a4e83002a87571dbabe0d6449c41bd42978be575a69955105d6323a0b41b58f7bb8e7ab97
+DIST zint-2.15.0-src.tar.gz 6355115 BLAKE2B 
15fd6521a504250f6c53e00790e162e1d2ad607dd9162288052b64eb695f62006ef8bb4f4024dacfd0fcfd50c66b0dd7826de2cdd2f7a86e3c522d81ec4a82f9
 SHA512 
7b5f44837a3a16637be5871ce848747ef520d623d86c88602c4ba8f0fe76705836ccee67a83e7ad0544e56b041dadbe88c5ed0b3219946be924213be18d74e2a

diff --git a/media-libs/zint/zint-2.15.0.ebuild 
b/media-libs/zint/zint-2.15.0.ebuild
new file mode 100644
index ..543ef8d6fd42
--- /dev/null
+++ b/media-libs/zint/zint-2.15.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake desktop xdg
+
+DESCRIPTION="Barcode encoding library supporting over 50 symbologies"
+HOMEPAGE="https://www.zint.org.uk/";
+SRC_URI="
+   https://downloads.sourceforge.net/${PN}/${P}-src.tar.gz
+"
+S="${WORKDIR}/${P}-src"
+
+# see LICENSE
+LICENSE="BSD GPL-3+"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+IUSE="gui png test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   gui? (
+   dev-qt/qtbase:6[gui,widgets]
+   dev-qt/qtsvg:6
+   dev-qt/qttools:6[widgets]
+   )
+   png? (
+   media-libs/libpng:=
+   )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DZINT_FRONTEND=ON
+   -DZINT_QT6=$(usex gui)
+   -DZINT_TEST=$(usex test)
+   -DZINT_UNINSTALL=OFF
+   -DZINT_USE_PNG=$(usex png)
+   -DZINT_USE_QT=$(usex gui)
+   )
+   cmake_src_configure
+}
+
+src_test() {
+   local -x QT_QPA_PLATFORM=offscreen
+   cmake_src_test -j1 # parallel tests cause failures to each other
+}
+
+src_install() {
+   cmake_src_install
+   einstalldocs
+   if use gui; then
+   domenu zint-qt.desktop
+   doicon zint-qt.png
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/zint/

2025-02-22 Thread Sam James
commit: d1edc2534baa6f4d6adde8ee1442abf117939760
Author: Alfred Wingate  protonmail  com>
AuthorDate: Sat Feb 22 16:16:21 2025 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 22 20:51:10 2025 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1edc253

media-libs/zint: new package, add 2.14.0

Signed-off-by: Alfred Wingate  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 media-libs/zint/Manifest   |  1 +
 media-libs/zint/metadata.xml   | 17 +++
 media-libs/zint/zint-2.14.0.ebuild | 58 ++
 3 files changed, 76 insertions(+)

diff --git a/media-libs/zint/Manifest b/media-libs/zint/Manifest
new file mode 100644
index ..de2859089c15
--- /dev/null
+++ b/media-libs/zint/Manifest
@@ -0,0 +1 @@
+DIST zint-2.14.0-src.tar.gz 6261059 BLAKE2B 
77bed36f42536fa96f1a69206c221d6f5b09eb25008bfe5e389b3f713eefc0299cf5dbb76f98037bb2af01bf21d6dd0c471ccc24876f7be0829e5d331822dde5
 SHA512 
ef6b7eb32f7df94ad277877741fbfd0e4f3e534107eeb2938425c51a4e83002a87571dbabe0d6449c41bd42978be575a69955105d6323a0b41b58f7bb8e7ab97

diff --git a/media-libs/zint/metadata.xml b/media-libs/zint/metadata.xml
new file mode 100644
index ..133ccd50c190
--- /dev/null
+++ b/media-libs/zint/metadata.xml
@@ -0,0 +1,17 @@
+
+https://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   [email protected]
+   Alfred Wingate
+   
+   
+   [email protected]
+   Proxy Maintainers
+   
+   
+   https://www.zint.org.uk/manual/
+   zint/zint
+   zint
+   
+

diff --git a/media-libs/zint/zint-2.14.0.ebuild 
b/media-libs/zint/zint-2.14.0.ebuild
new file mode 100644
index ..543ef8d6fd42
--- /dev/null
+++ b/media-libs/zint/zint-2.14.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake desktop xdg
+
+DESCRIPTION="Barcode encoding library supporting over 50 symbologies"
+HOMEPAGE="https://www.zint.org.uk/";
+SRC_URI="
+   https://downloads.sourceforge.net/${PN}/${P}-src.tar.gz
+"
+S="${WORKDIR}/${P}-src"
+
+# see LICENSE
+LICENSE="BSD GPL-3+"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+IUSE="gui png test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   gui? (
+   dev-qt/qtbase:6[gui,widgets]
+   dev-qt/qtsvg:6
+   dev-qt/qttools:6[widgets]
+   )
+   png? (
+   media-libs/libpng:=
+   )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+   local mycmakeargs=(
+   -DZINT_FRONTEND=ON
+   -DZINT_QT6=$(usex gui)
+   -DZINT_TEST=$(usex test)
+   -DZINT_UNINSTALL=OFF
+   -DZINT_USE_PNG=$(usex png)
+   -DZINT_USE_QT=$(usex gui)
+   )
+   cmake_src_configure
+}
+
+src_test() {
+   local -x QT_QPA_PLATFORM=offscreen
+   cmake_src_test -j1 # parallel tests cause failures to each other
+}
+
+src_install() {
+   cmake_src_install
+   einstalldocs
+   if use gui; then
+   domenu zint-qt.desktop
+   doicon zint-qt.png
+   fi
+}