public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenraw/files/, media-libs/libopenraw/
@ 2023-04-13  2:57 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2023-04-13  2:57 UTC (permalink / raw
  To: gentoo-commits

commit:     100ec30cc96818c5f08d48c46b0e1f79e6c3c4a9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 13 02:25:38 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 13 02:25:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=100ec30c

media-libs/libopenraw: add 0.3.4

Closes: https://bugs.gentoo.org/895374
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libopenraw/Manifest                     |   1 +
 .../libopenraw/files/libopenraw-0.3.4-gcc13.patch  |  24 +++++
 media-libs/libopenraw/libopenraw-0.3.4.ebuild      | 106 +++++++++++++++++++++
 3 files changed, 131 insertions(+)

diff --git a/media-libs/libopenraw/Manifest b/media-libs/libopenraw/Manifest
index 8df0f491f1f0..8480effce524 100644
--- a/media-libs/libopenraw/Manifest
+++ b/media-libs/libopenraw/Manifest
@@ -16,6 +16,7 @@ DIST libc-0.2.126.crate 590481 BLAKE2B 1000de6b9fa2b3ff025b961e504d6d20b401f37cd
 DIST libopenraw-0.1.3.tar.bz2 565458 BLAKE2B dec7cda78b6ff4b1411b93c0d48758920b73e087eaca3c262a0850eb5a3423fee38ba7537694b1a04bdafa6bbb34b290c059f483a5a6af339b76c132ac77c413 SHA512 c56d84610f0cf5da970c4c0c791fccf2f7e9f7c7dacf2aeac0b2702ce9a0cd3aaa2f6db0794b0466e1dd8316771973db1e64d013f635c1166b7ff2eebdcbf029
 DIST libopenraw-0.3.2.tar.xz 563624 BLAKE2B 055d550af564f3b2c6c5e79f8875cbb1e996752b3a72f0b87ff1721efc008bd480b819f755b9e92bda63e69171d1533ce7f4a725aeaf69e819e5d8f3769e1d10 SHA512 de6c6b0bdc3847f615a159749648aa58700ad9213fb182853c43fc761c8606a07350f1980f76eb955c7629d16d82f4276108db617ecbd892069ba2daec5183bf
 DIST libopenraw-0.3.3.tar.xz 570284 BLAKE2B 3c0902e4d525aab919e8856041c563c4a56a58db70771b24d3c12bc9db268bb0a7a32a9a64604dcf6d1719c632663bea8e1d9c94c160ba3468466f333598ab93 SHA512 8c4894a0119c7f58fe965002b69cb2caa0c5b9d2e3656dddc0da0c07674290b155d50338a3f4b62e4faccaa908028ecf4c26a80b8a95d51638bf4bd7bec6c9e1
+DIST libopenraw-0.3.4.tar.xz 570500 BLAKE2B 5d90c07b60ada2daf2110f6e935b33b429e20666c95ae0ed684ea36f09bd27fef67a07c6f359ee1ea3397d1bd48ae5630c95d48327511f56d6a1d81b973804dc SHA512 01bb42cbfb4f88fc8580bdce562243be796829ed943e184299ed54046776e580a9595d5676bded92ed897a6a2267cb2d54c19e31ee8f25804704c558c29b971b
 DIST log-0.4.17.crate 38028 BLAKE2B b46be3719fc0a53e50b1f342762e188587e9f1ceb692c72473ce2663edfb8253742d30024e68c1444780ab7fc0e2d5b0601b8ea7228dc3405a9342a57548e605 SHA512 2477d88db42b1d92c30708d88823212e236f613b3465e85eb425f83f8d16fadfaf0352f06c2999a1852102edd2f6ffb10ecb539d8a3b6c48f552a25622ccffa2
 DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa
 DIST num-traits-0.2.15.crate 49262 BLAKE2B 942ab170b2acce1cb40e6847f766bf810a79edd293d34f3a27864f464c16fe2b99fb13171ba429cc6d584248de879434beaadf1b231a4001b0e8389ed6c1be04 SHA512 5228498af0f15daeac3c9210f3e6e71cfaaeb30beea81dd37f8eb06b9592c8bf3226a47597cd8592ad4c513964a9a40f1ab2c33102ef3dfe3800d22c8d4528e8

diff --git a/media-libs/libopenraw/files/libopenraw-0.3.4-gcc13.patch b/media-libs/libopenraw/files/libopenraw-0.3.4-gcc13.patch
new file mode 100644
index 000000000000..a76630023591
--- /dev/null
+++ b/media-libs/libopenraw/files/libopenraw-0.3.4-gcc13.patch
@@ -0,0 +1,24 @@
+https://gitlab.freedesktop.org/libopenraw/libopenraw/-/commit/03f8270d6bb255ca6618505e83169ab9d95ccef1
+https://bugs.gentoo.org/895374
+
+From 03f8270d6bb255ca6618505e83169ab9d95ccef1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Hubert=20Figui=C3=A8re?= <hub@figuiere.net>
+Date: Tue, 21 Feb 2023 18:45:00 -0500
+Subject: [PATCH] Issue #12 - Include stdint.h where needed
+
+- This fixes an issue building with gcc 13
+
+https://gitlab.freedesktop.org/libopenraw/libopenraw/-/issues/12
+--- a/lib/trace.hpp
++++ b/lib/trace.hpp
+@@ -20,6 +20,8 @@
+ 
+ #pragma once
+ 
++#include <stdint.h>
++
+ #include <string>
+ #include <vector>
+ #include <algorithm>
+-- 
+GitLab

diff --git a/media-libs/libopenraw/libopenraw-0.3.4.ebuild b/media-libs/libopenraw/libopenraw-0.3.4.ebuild
new file mode 100644
index 000000000000..e8416de6083c
--- /dev/null
+++ b/media-libs/libopenraw/libopenraw-0.3.4.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# Run cargo-build or cargo fetch in lib/mp4 to get this list
+# TODO: >0.3.4 should contain vendored crates in the tarball?
+CRATES="
+ahash-0.7.6
+aho-corasick-0.7.18
+atty-0.2.14
+autocfg-1.0.0
+bitreader-0.3.2
+byteorder-1.2.2
+cfg-if-0.1.10
+cfg-if-1.0.0
+env_logger-0.8.4
+fallible_collections-0.4.4
+getrandom-0.2.7
+hashbrown-0.11.2
+hermit-abi-0.1.8
+humantime-2.1.0
+libc-0.2.126
+log-0.4.17
+memchr-2.5.0
+num-traits-0.2.15
+once_cell-1.12.0
+regex-1.5.6
+regex-syntax-0.6.26
+static_assertions-1.1.0
+termcolor-1.1.3
+version_check-0.9.4
+wasi-0.11.0+wasi-snapshot-preview1
+winapi-0.3.8
+winapi-i686-pc-windows-gnu-0.4.0
+winapi-util-0.1.5
+winapi-x86_64-pc-windows-gnu-0.4.0
+"
+
+inherit cargo gnome2-utils
+
+DESCRIPTION="RAW image formats decoding library"
+HOMEPAGE="https://libopenraw.freedesktop.org/"
+SRC_URI="https://${PN}.freedesktop.org/download/${P}.tar.xz"
+SRC_URI+=" $(cargo_crate_uris)"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0/9"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+IUSE="gtk test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-libs/libxml2
+	media-libs/libjpeg-turbo:=
+	gtk? (
+		dev-libs/glib:2
+		>=x11-libs/gdk-pixbuf-2.24.0:2
+	)
+"
+DEPEND="
+	${RDEPEND}
+	dev-libs/boost
+"
+BDEPEND="
+	virtual/pkgconfig
+	test? ( net-misc/curl )
+"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-gcc13.patch
+)
+
+src_configure() {
+	econf \
+		--with-boost="${EPREFIX}"/usr \
+		$(use_enable gtk gnome)
+}
+
+src_compile() {
+	# Avoid cargo_src_compile
+	default
+}
+
+src_test() {
+	# Avoid cargo_src_test
+	default
+}
+
+src_install() {
+	default
+
+	find "${ED}" -name '*.la' -delete || die
+}
+
+pkg_preinst() {
+	use gtk && gnome2_gdk_pixbuf_savelist
+}
+
+pkg_postinst() {
+	use gtk && gnome2_gdk_pixbuf_update
+}
+
+pkg_postrm() {
+	use gtk && gnome2_gdk_pixbuf_update
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenraw/files/, media-libs/libopenraw/
@ 2023-05-03  7:49 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2023-05-03  7:49 UTC (permalink / raw
  To: gentoo-commits

commit:     e274d3211c531915a4ee527c49789d93772e95ed
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May  3 07:38:18 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May  3 07:38:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e274d321

media-libs/libopenraw: drop 0.3.2, 0.3.4

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libopenraw/Manifest                     |   2 -
 .../libopenraw/files/libopenraw-0.3.4-gcc13.patch  |  24 -----
 media-libs/libopenraw/libopenraw-0.3.2.ebuild      | 101 --------------------
 media-libs/libopenraw/libopenraw-0.3.4.ebuild      | 106 ---------------------
 4 files changed, 233 deletions(-)

diff --git a/media-libs/libopenraw/Manifest b/media-libs/libopenraw/Manifest
index 079f35b4dc25..804c2f658210 100644
--- a/media-libs/libopenraw/Manifest
+++ b/media-libs/libopenraw/Manifest
@@ -14,9 +14,7 @@ DIST hermit-abi-0.1.8.crate 7581 BLAKE2B 90fef564dd39973c5ff8ee3d4a9b129f1ca0080
 DIST humantime-2.1.0.crate 16749 BLAKE2B e2ae8325b037fb175b9200cc5c1944ce579056c6662cce307beb6701894552362a25e371aad65f8fb9384945b48815ca74bb8b544a32e0a5845b7edd30b918c9 SHA512 3bf29ddd1391d82897c22baa0ff3ed58ef6d6959859f1f8ed54d324caba5b6fb4422e56790511ce82f902cd11467f93c8ab7fc7b0e0bdb719308a4d0a446ae0c
 DIST libc-0.2.126.crate 590481 BLAKE2B 1000de6b9fa2b3ff025b961e504d6d20b401f37cdeda6710187d18ad2dfe8ec89142bba65486d7853f1796897b58f343c5a34dd6381a0d0794b615635ac31175 SHA512 9bbb17f64a7503819616a71076ebe8ee317daf07b17b9fff783a4459da0439aecee535c09e7185bf148b1993e6fc958d182a490fc9c9a7b9fb635429c491ca44
 DIST libopenraw-0.1.3.tar.bz2 565458 BLAKE2B dec7cda78b6ff4b1411b93c0d48758920b73e087eaca3c262a0850eb5a3423fee38ba7537694b1a04bdafa6bbb34b290c059f483a5a6af339b76c132ac77c413 SHA512 c56d84610f0cf5da970c4c0c791fccf2f7e9f7c7dacf2aeac0b2702ce9a0cd3aaa2f6db0794b0466e1dd8316771973db1e64d013f635c1166b7ff2eebdcbf029
-DIST libopenraw-0.3.2.tar.xz 563624 BLAKE2B 055d550af564f3b2c6c5e79f8875cbb1e996752b3a72f0b87ff1721efc008bd480b819f755b9e92bda63e69171d1533ce7f4a725aeaf69e819e5d8f3769e1d10 SHA512 de6c6b0bdc3847f615a159749648aa58700ad9213fb182853c43fc761c8606a07350f1980f76eb955c7629d16d82f4276108db617ecbd892069ba2daec5183bf
 DIST libopenraw-0.3.3.tar.xz 570284 BLAKE2B 3c0902e4d525aab919e8856041c563c4a56a58db70771b24d3c12bc9db268bb0a7a32a9a64604dcf6d1719c632663bea8e1d9c94c160ba3468466f333598ab93 SHA512 8c4894a0119c7f58fe965002b69cb2caa0c5b9d2e3656dddc0da0c07674290b155d50338a3f4b62e4faccaa908028ecf4c26a80b8a95d51638bf4bd7bec6c9e1
-DIST libopenraw-0.3.4.tar.xz 570500 BLAKE2B 5d90c07b60ada2daf2110f6e935b33b429e20666c95ae0ed684ea36f09bd27fef67a07c6f359ee1ea3397d1bd48ae5630c95d48327511f56d6a1d81b973804dc SHA512 01bb42cbfb4f88fc8580bdce562243be796829ed943e184299ed54046776e580a9595d5676bded92ed897a6a2267cb2d54c19e31ee8f25804704c558c29b971b
 DIST libopenraw-0.3.5.tar.xz 2533200 BLAKE2B 8d708640951c9dae1bf0c809219d7fbf94cb4df6d0568cbaf6927968b63d3ce32d054766e0708ddd4d492f8d54cbd8797fdf8a67ceb8985ddde644ebbc45fa4b SHA512 deaa5e8c95be4eba0d0bd6f8cbb38e16ab6dd0ea0a93885ef79719154ece0bb2d1ca13b2ef75481ced4a282c9c788c5372f01df51d0f3ebc965e85dddf423a58
 DIST log-0.4.17.crate 38028 BLAKE2B b46be3719fc0a53e50b1f342762e188587e9f1ceb692c72473ce2663edfb8253742d30024e68c1444780ab7fc0e2d5b0601b8ea7228dc3405a9342a57548e605 SHA512 2477d88db42b1d92c30708d88823212e236f613b3465e85eb425f83f8d16fadfaf0352f06c2999a1852102edd2f6ffb10ecb539d8a3b6c48f552a25622ccffa2
 DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa

diff --git a/media-libs/libopenraw/files/libopenraw-0.3.4-gcc13.patch b/media-libs/libopenraw/files/libopenraw-0.3.4-gcc13.patch
deleted file mode 100644
index a76630023591..000000000000
--- a/media-libs/libopenraw/files/libopenraw-0.3.4-gcc13.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-https://gitlab.freedesktop.org/libopenraw/libopenraw/-/commit/03f8270d6bb255ca6618505e83169ab9d95ccef1
-https://bugs.gentoo.org/895374
-
-From 03f8270d6bb255ca6618505e83169ab9d95ccef1 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Hubert=20Figui=C3=A8re?= <hub@figuiere.net>
-Date: Tue, 21 Feb 2023 18:45:00 -0500
-Subject: [PATCH] Issue #12 - Include stdint.h where needed
-
-- This fixes an issue building with gcc 13
-
-https://gitlab.freedesktop.org/libopenraw/libopenraw/-/issues/12
---- a/lib/trace.hpp
-+++ b/lib/trace.hpp
-@@ -20,6 +20,8 @@
- 
- #pragma once
- 
-+#include <stdint.h>
-+
- #include <string>
- #include <vector>
- #include <algorithm>
--- 
-GitLab

diff --git a/media-libs/libopenraw/libopenraw-0.3.2.ebuild b/media-libs/libopenraw/libopenraw-0.3.2.ebuild
deleted file mode 100644
index e88f8d2faa0c..000000000000
--- a/media-libs/libopenraw/libopenraw-0.3.2.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Run cargo-build or cargo fetch in lib/mp4 to get this list
-CRATES="
-ahash-0.7.6
-aho-corasick-0.7.18
-atty-0.2.14
-autocfg-1.0.0
-bitreader-0.3.2
-byteorder-1.2.2
-cfg-if-0.1.10
-cfg-if-1.0.0
-env_logger-0.8.4
-fallible_collections-0.4.4
-getrandom-0.2.7
-hashbrown-0.11.2
-hermit-abi-0.1.8
-humantime-2.1.0
-libc-0.2.126
-log-0.4.17
-memchr-2.5.0
-num-traits-0.2.15
-once_cell-1.12.0
-regex-1.5.6
-regex-syntax-0.6.26
-static_assertions-1.1.0
-termcolor-1.1.3
-version_check-0.9.4
-wasi-0.11.0+wasi-snapshot-preview1
-winapi-0.3.8
-winapi-i686-pc-windows-gnu-0.4.0
-winapi-util-0.1.5
-winapi-x86_64-pc-windows-gnu-0.4.0
-"
-
-inherit cargo gnome2-utils
-
-DESCRIPTION="RAW image formats decoding library"
-HOMEPAGE="https://libopenraw.freedesktop.org/"
-SRC_URI="https://${PN}.freedesktop.org/download/${P}.tar.xz"
-SRC_URI+=" $(cargo_crate_uris)"
-
-LICENSE="GPL-3 LGPL-3"
-SLOT="0/9"
-KEYWORDS="amd64 arm arm64 ~mips ~ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
-IUSE="gtk test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	dev-libs/libxml2
-	media-libs/libjpeg-turbo:=
-	gtk? (
-		dev-libs/glib:2
-		>=x11-libs/gdk-pixbuf-2.24.0:2
-	)
-"
-DEPEND="
-	${RDEPEND}
-	dev-libs/boost
-"
-BDEPEND="
-	virtual/pkgconfig
-	test? ( net-misc/curl )
-"
-
-src_configure() {
-	econf \
-		--with-boost="${EPREFIX}"/usr \
-		$(use_enable gtk gnome)
-}
-
-src_compile() {
-	# Avoid cargo_src_compile
-	default
-}
-
-src_test() {
-	# Avoid cargo_src_test
-	default
-}
-
-src_install() {
-	default
-
-	find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_preinst() {
-	use gtk && gnome2_gdk_pixbuf_savelist
-}
-
-pkg_postinst() {
-	use gtk && gnome2_gdk_pixbuf_update
-}
-
-pkg_postrm() {
-	use gtk && gnome2_gdk_pixbuf_update
-}

diff --git a/media-libs/libopenraw/libopenraw-0.3.4.ebuild b/media-libs/libopenraw/libopenraw-0.3.4.ebuild
deleted file mode 100644
index e8416de6083c..000000000000
--- a/media-libs/libopenraw/libopenraw-0.3.4.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Run cargo-build or cargo fetch in lib/mp4 to get this list
-# TODO: >0.3.4 should contain vendored crates in the tarball?
-CRATES="
-ahash-0.7.6
-aho-corasick-0.7.18
-atty-0.2.14
-autocfg-1.0.0
-bitreader-0.3.2
-byteorder-1.2.2
-cfg-if-0.1.10
-cfg-if-1.0.0
-env_logger-0.8.4
-fallible_collections-0.4.4
-getrandom-0.2.7
-hashbrown-0.11.2
-hermit-abi-0.1.8
-humantime-2.1.0
-libc-0.2.126
-log-0.4.17
-memchr-2.5.0
-num-traits-0.2.15
-once_cell-1.12.0
-regex-1.5.6
-regex-syntax-0.6.26
-static_assertions-1.1.0
-termcolor-1.1.3
-version_check-0.9.4
-wasi-0.11.0+wasi-snapshot-preview1
-winapi-0.3.8
-winapi-i686-pc-windows-gnu-0.4.0
-winapi-util-0.1.5
-winapi-x86_64-pc-windows-gnu-0.4.0
-"
-
-inherit cargo gnome2-utils
-
-DESCRIPTION="RAW image formats decoding library"
-HOMEPAGE="https://libopenraw.freedesktop.org/"
-SRC_URI="https://${PN}.freedesktop.org/download/${P}.tar.xz"
-SRC_URI+=" $(cargo_crate_uris)"
-
-LICENSE="GPL-3 LGPL-3"
-SLOT="0/9"
-KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
-IUSE="gtk test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	dev-libs/libxml2
-	media-libs/libjpeg-turbo:=
-	gtk? (
-		dev-libs/glib:2
-		>=x11-libs/gdk-pixbuf-2.24.0:2
-	)
-"
-DEPEND="
-	${RDEPEND}
-	dev-libs/boost
-"
-BDEPEND="
-	virtual/pkgconfig
-	test? ( net-misc/curl )
-"
-
-PATCHES=(
-	"${FILESDIR}"/${P}-gcc13.patch
-)
-
-src_configure() {
-	econf \
-		--with-boost="${EPREFIX}"/usr \
-		$(use_enable gtk gnome)
-}
-
-src_compile() {
-	# Avoid cargo_src_compile
-	default
-}
-
-src_test() {
-	# Avoid cargo_src_test
-	default
-}
-
-src_install() {
-	default
-
-	find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_preinst() {
-	use gtk && gnome2_gdk_pixbuf_savelist
-}
-
-pkg_postinst() {
-	use gtk && gnome2_gdk_pixbuf_update
-}
-
-pkg_postrm() {
-	use gtk && gnome2_gdk_pixbuf_update
-}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenraw/files/, media-libs/libopenraw/
@ 2025-01-05 12:54 Miroslav Šulc
  0 siblings, 0 replies; 3+ messages in thread
From: Miroslav Šulc @ 2025-01-05 12:54 UTC (permalink / raw
  To: gentoo-commits

commit:     3427a8e29fa37c461866d293f31f662276c8d1d3
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  5 12:54:28 2025 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Jan  5 12:54:38 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3427a8e2

media-libs/libopenraw: fixed boost detection

Closes: https://bugs.gentoo.org/919349
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 .../files/libopenraw-0.3.7-fix-boost-detection.patch         | 12 ++++++++++++
 media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild             |  3 ++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/media-libs/libopenraw/files/libopenraw-0.3.7-fix-boost-detection.patch b/media-libs/libopenraw/files/libopenraw-0.3.7-fix-boost-detection.patch
new file mode 100644
index 000000000000..1ca47ea5cc90
--- /dev/null
+++ b/media-libs/libopenraw/files/libopenraw-0.3.7-fix-boost-detection.patch
@@ -0,0 +1,12 @@
+--- a/m4/boost.m4
++++ b/m4/boost.m4
+@@ -229,6 +229,9 @@ AC_LANG_POP([C++])dnl
+                     [#include <boost/version.hpp>
+ boost-lib-version = BOOST_LIB_VERSION],
+     [boost_cv_lib_version=`cat conftest.i`])])
++    if test x"$boost_cv_lib_version" = x; then
++      boost_cv_lib_version=$(grep "#define BOOST_LIB_VERSION" /usr/include/boost/version.hpp | sed 's/.*"\(.*\)".*/\1/')
++    fi
+     # e.g. "134" for 1_34_1 or "135" for 1_35
+     boost_major_version=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'`
+     case $boost_major_version in #(

diff --git a/media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild b/media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild
index 4825810f5604..9d8e94968f46 100644
--- a/media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild
+++ b/media-libs/libopenraw/libopenraw-0.3.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -39,6 +39,7 @@ BDEPEND="
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-0.3.7-slibtool.patch #913723
+	"${FILESDIR}"/${PN}-0.3.7-fix-boost-detection.patch #919349
 )
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-01-05 12:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-05 12:54 [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenraw/files/, media-libs/libopenraw/ Miroslav Šulc
  -- strict thread matches above, loose matches on Subject: below --
2023-05-03  7:49 Sam James
2023-04-13  2:57 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox