* [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenraw/, media-libs/libopenraw/files/
@ 2017-02-19 2:33 Michael Palimaka
0 siblings, 0 replies; 3+ messages in thread
From: Michael Palimaka @ 2017-02-19 2:33 UTC (permalink / raw
To: gentoo-commits
commit: b8b0d3d717a857aa1d86a027f245b09a83d542d7
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 19 02:32:56 2017 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Feb 19 02:33:23 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8b0d3d7
media-libs/libopenraw: version bump 0.1.0
Gentoo-bug: 601240
Package-Manager: Portage-2.3.3, Repoman-2.3.1
media-libs/libopenraw/Manifest | 1 +
.../files/libopenraw-0.1.0-jpeg-9a.patch | 24 +++++++++
media-libs/libopenraw/libopenraw-0.1.0.ebuild | 60 ++++++++++++++++++++++
3 files changed, 85 insertions(+)
diff --git a/media-libs/libopenraw/Manifest b/media-libs/libopenraw/Manifest
index 3acd570a30..b267853e7e 100644
--- a/media-libs/libopenraw/Manifest
+++ b/media-libs/libopenraw/Manifest
@@ -1 +1,2 @@
DIST libopenraw-0.0.9.tar.bz2 478687 SHA256 49fd1adf0a0228c7a17a79bf98d8d03664195feae1e50f4ddd1b20162626e18f SHA512 88d475d27719212686a0a5a08da04d6879fd456ec8f7531f401217df97f4f3d4c52dc8c4fb1c6ca88c12d6a67ecd516b151c5e9dceba9cbfcd13150fe81d6db5 WHIRLPOOL 52d407b1d443fe7c38c59274b3267feb4dffeca9114a39cad925c346ae21d1378cbceba4ce1973657073f8890bf50a18c476ba3451d806fe7f50824bb935c559
+DIST libopenraw-0.1.0.tar.bz2 525449 SHA256 4dede1db9b85c9c22a1ddaf37839f2713746a00b81a6d4623d66556000cb76cf SHA512 f3b867d831d03350e487a98f08cadf6a24d5e4296129a401c0066cfdf0e628663e821ed0b7e42613d1533513a9c36a1693d6c3cbbd918246dbdfbb111b5a470a WHIRLPOOL 4101f34e20d4f73560086ed849b5c648eb3f399610ee77285361a13f1343255d2f95bd6b045b80505695e4f0125d491cec37e0f8c525d953a7bf12009f031875
diff --git a/media-libs/libopenraw/files/libopenraw-0.1.0-jpeg-9a.patch b/media-libs/libopenraw/files/libopenraw-0.1.0-jpeg-9a.patch
new file mode 100644
index 0000000000..e5156a9532
--- /dev/null
+++ b/media-libs/libopenraw/files/libopenraw-0.1.0-jpeg-9a.patch
@@ -0,0 +1,24 @@
+https://bugs.gentoo.org/520888
+https://sourceforge.net/p/fink/package-submissions/4336/
+
+
+--- a/lib/jfifcontainer.cpp
++++ b/lib/jfifcontainer.cpp
+@@ -157,7 +157,7 @@
+ m_file->seek(0, SEEK_SET);
+
+ if (::setjmp(m_jpegjmp) == 0) {
+- int ret = JPEG::jpeg_read_header(&m_cinfo, TRUE);
++ int ret = JPEG::jpeg_read_header(&m_cinfo, JPEG::TRUE);
+ //Trace(DEBUG1) << "jpeg_read_header " << ret << "\n";
+
+ JPEG::jpeg_calc_output_dimensions(&m_cinfo);
+@@ -194,7 +194,7 @@
+ src->pub.next_input_byte = nullptr;
+ src->pub.bytes_in_buffer = 0;
+ }
+- return TRUE;
++ return JPEG::TRUE;
+ }
+
+
diff --git a/media-libs/libopenraw/libopenraw-0.1.0.ebuild b/media-libs/libopenraw/libopenraw-0.1.0.ebuild
new file mode 100644
index 0000000000..29ddc8b3a6
--- /dev/null
+++ b/media-libs/libopenraw/libopenraw-0.1.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils gnome2-utils
+
+DESCRIPTION="A decoding library for RAW image formats"
+HOMEPAGE="https://libopenraw.freedesktop.org/wiki/"
+SRC_URI="https://${PN}.freedesktop.org/download/${P}.tar.bz2"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0/7"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+IUSE="gtk static-libs test"
+
+RDEPEND="
+ dev-libs/libxml2
+ virtual/jpeg:0
+ gtk? (
+ dev-libs/glib:2
+ >=x11-libs/gdk-pixbuf-2.24.0:2
+ )
+"
+DEPEND="${RDEPEND}
+ >=dev-libs/boost-1.35
+ virtual/pkgconfig
+ test? ( net-misc/curl )
+"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_prepare() {
+ has_version '>=media-libs/jpeg-9a:0' && epatch "${FILESDIR}"/${P}-jpeg-9a.patch
+ default
+}
+
+src_configure() {
+ econf \
+ --with-boost="${EPREFIX}"/usr \
+ $(use_enable static-libs static) \
+ $(use_enable gtk gnome)
+}
+
+src_install() {
+ default
+ prune_libtool_files --all
+}
+
+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/, media-libs/libopenraw/files/
@ 2018-09-30 17:45 Andreas Sturmlechner
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2018-09-30 17:45 UTC (permalink / raw
To: gentoo-commits
commit: 8f1172d90e36370fe233457b989536175f777ecf
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 30 17:14:25 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Sep 30 17:45:32 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f1172d9
media-libs/libopenraw: Drop old
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
media-libs/libopenraw/Manifest | 2 -
.../files/libopenraw-0.1.0-jpeg-9a.patch | 24 ---------
media-libs/libopenraw/libopenraw-0.1.0.ebuild | 59 ----------------------
media-libs/libopenraw/libopenraw-0.1.1.ebuild | 54 --------------------
4 files changed, 139 deletions(-)
diff --git a/media-libs/libopenraw/Manifest b/media-libs/libopenraw/Manifest
index 639b940e467..74487bd9877 100644
--- a/media-libs/libopenraw/Manifest
+++ b/media-libs/libopenraw/Manifest
@@ -1,4 +1,2 @@
DIST libopenraw-0.0.9.tar.bz2 478687 BLAKE2B d51410aa2a4ce297c660f80f99c912374faf05c0920be0c9dff78c5979c553cd74aafed0591bd62d479825cb0fd7064b47b86747ecddc75cc177b54184eb42b1 SHA512 88d475d27719212686a0a5a08da04d6879fd456ec8f7531f401217df97f4f3d4c52dc8c4fb1c6ca88c12d6a67ecd516b151c5e9dceba9cbfcd13150fe81d6db5
-DIST libopenraw-0.1.0.tar.bz2 525449 BLAKE2B b2ad6cbeb13bb2ece2c782e404c8ad75a3e0906a6ae7c6dfeee706c0b6adf1df7f0e094c6da129405f06837bfb61ec0d9ca0c4492fa1c876e661a646e46c5d70 SHA512 f3b867d831d03350e487a98f08cadf6a24d5e4296129a401c0066cfdf0e628663e821ed0b7e42613d1533513a9c36a1693d6c3cbbd918246dbdfbb111b5a470a
-DIST libopenraw-0.1.1.tar.bz2 561718 BLAKE2B 90ddf5f3d195954418291251aee52d04c7bb4011c8ed20599c5149c056a41f55df8022ed88d9da97aa4884da4114ee7bcc9226c85a5cda0194d42bc99056503c SHA512 ac8195fddc165d32337f518cc89297b91a8c2805132e380a261e9855f88ecbe074d6090f1f7b547c18fd2016b313a19e04e0428f9ba85b18928115b9dc0c1bc2
DIST libopenraw-0.1.2.tar.bz2 563981 BLAKE2B 60332274c72602e5b3eea3e41dfee8c62303a2f09028df4a637cea6f07391d912f354752cb6f354e06dd9e223dfabe5dbed1d50e0f325d85be42fb5012ecede6 SHA512 edd7e5a71feecbce1d5a20622bd3c7111acd2d4792038fd19920367ebb55d2cc7614627b9739512bbe34d6b5ae2eb65a4da9cee70c400b5cb846bf5fff08efc8
diff --git a/media-libs/libopenraw/files/libopenraw-0.1.0-jpeg-9a.patch b/media-libs/libopenraw/files/libopenraw-0.1.0-jpeg-9a.patch
deleted file mode 100644
index e5156a95321..00000000000
--- a/media-libs/libopenraw/files/libopenraw-0.1.0-jpeg-9a.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-https://bugs.gentoo.org/520888
-https://sourceforge.net/p/fink/package-submissions/4336/
-
-
---- a/lib/jfifcontainer.cpp
-+++ b/lib/jfifcontainer.cpp
-@@ -157,7 +157,7 @@
- m_file->seek(0, SEEK_SET);
-
- if (::setjmp(m_jpegjmp) == 0) {
-- int ret = JPEG::jpeg_read_header(&m_cinfo, TRUE);
-+ int ret = JPEG::jpeg_read_header(&m_cinfo, JPEG::TRUE);
- //Trace(DEBUG1) << "jpeg_read_header " << ret << "\n";
-
- JPEG::jpeg_calc_output_dimensions(&m_cinfo);
-@@ -194,7 +194,7 @@
- src->pub.next_input_byte = nullptr;
- src->pub.bytes_in_buffer = 0;
- }
-- return TRUE;
-+ return JPEG::TRUE;
- }
-
-
diff --git a/media-libs/libopenraw/libopenraw-0.1.0.ebuild b/media-libs/libopenraw/libopenraw-0.1.0.ebuild
deleted file mode 100644
index 0378ec2dc56..00000000000
--- a/media-libs/libopenraw/libopenraw-0.1.0.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils gnome2-utils
-
-DESCRIPTION="A decoding library for RAW image formats"
-HOMEPAGE="https://libopenraw.freedesktop.org/wiki/"
-SRC_URI="https://${PN}.freedesktop.org/download/${P}.tar.bz2"
-
-LICENSE="GPL-3 LGPL-3"
-SLOT="0/7"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
-IUSE="gtk static-libs test"
-
-RDEPEND="
- dev-libs/libxml2
- virtual/jpeg:0
- gtk? (
- dev-libs/glib:2
- >=x11-libs/gdk-pixbuf-2.24.0:2
- )
-"
-DEPEND="${RDEPEND}
- >=dev-libs/boost-1.35
- virtual/pkgconfig
- test? ( net-misc/curl )
-"
-
-DOCS=( AUTHORS ChangeLog NEWS README TODO )
-
-src_prepare() {
- has_version '>=media-libs/jpeg-9a:0' && epatch "${FILESDIR}"/${P}-jpeg-9a.patch
- default
-}
-
-src_configure() {
- econf \
- --with-boost="${EPREFIX}"/usr \
- $(use_enable static-libs static) \
- $(use_enable gtk gnome)
-}
-
-src_install() {
- default
- prune_libtool_files --all
-}
-
-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.1.1.ebuild b/media-libs/libopenraw/libopenraw-0.1.1.ebuild
deleted file mode 100644
index 9306d7d2660..00000000000
--- a/media-libs/libopenraw/libopenraw-0.1.1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit gnome2-utils ltprune
-
-DESCRIPTION="A decoding library for RAW image formats"
-HOMEPAGE="https://libopenraw.freedesktop.org/wiki/"
-SRC_URI="https://${PN}.freedesktop.org/download/${P}.tar.bz2"
-
-LICENSE="GPL-3 LGPL-3"
-SLOT="0/7"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
-IUSE="gtk static-libs test"
-
-RDEPEND="
- dev-libs/libxml2
- virtual/jpeg:0
- gtk? (
- dev-libs/glib:2
- >=x11-libs/gdk-pixbuf-2.24.0:2
- )
-"
-DEPEND="${RDEPEND}
- >=dev-libs/boost-1.35
- virtual/pkgconfig
- test? ( net-misc/curl )
-"
-
-DOCS=( AUTHORS ChangeLog NEWS README TODO )
-
-src_configure() {
- econf \
- --with-boost="${EPREFIX}"/usr \
- $(use_enable static-libs static) \
- $(use_enable gtk gnome)
-}
-
-src_install() {
- default
- prune_libtool_files --all
-}
-
-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/, media-libs/libopenraw/files/
@ 2024-03-21 2:24 Sam James
0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2024-03-21 2:24 UTC (permalink / raw
To: gentoo-commits
commit: b1449661e505efe64abd07cf7d8fe42ecba1eaf9
Author: orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sat Mar 16 19:09:49 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 21 02:22:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1449661
media-libs/libopenraw: remove typo
The libtool flag is '-all-static' and not '--all-static' which causes
slibtool to fail while GNU libtool silently ignores the unknown flag.
Additionally fixing the typo causes the build to fail with undefined
references so just remove it instead.
Upstream already removed it themselves, but their change is not trivial
to backport.
Closes: https://bugs.gentoo.org/913723
Upstream-Commit: https://gitlab.freedesktop.org/libopenraw/libopenraw/-/commit/eb873c75b09074d710e3f105b9c988a28058db53
Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35789
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../libopenraw/files/libopenraw-0.3.7-slibtool.patch | 16 ++++++++++++++++
media-libs/libopenraw/libopenraw-0.3.7.ebuild | 11 ++++++++++-
2 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/media-libs/libopenraw/files/libopenraw-0.3.7-slibtool.patch b/media-libs/libopenraw/files/libopenraw-0.3.7-slibtool.patch
new file mode 100644
index 000000000000..1109a332402e
--- /dev/null
+++ b/media-libs/libopenraw/files/libopenraw-0.3.7-slibtool.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/913723
+https://gitlab.freedesktop.org/libopenraw/libopenraw/-/commit/eb873c75b09074d710e3f105b9c988a28058db53
+
+--- a/lib/Makefile.am
++++ b/lib/Makefile.am
+@@ -118,10 +118,8 @@ clean-local:
+ CARGO_TARGET_DIR=$(CARGO_TARGET_DIR) cargo clean $(CARGO_VERBOSE) $(CARGO_RELEASE_ARGS)
+ rm -f $(CARGO_TARGET_DIR)/.rustc_info.json
+
+-# The use of --all-static is necesary for the RUST_LIB
+ libopenraw_la_LDFLAGS = \
+ -version-info @LIBOPENRAW_VERSION_INFO@ \
+- --all-static \
+ -lpthread -ldl
+ libopenraw_la_LIBADD = -ljpeg $(RUST_LIB) libopenraw_internals.la
+ libopenraw_la_SOURCES = \
diff --git a/media-libs/libopenraw/libopenraw-0.3.7.ebuild b/media-libs/libopenraw/libopenraw-0.3.7.ebuild
index 51dac50a7387..f31d6215774d 100644
--- a/media-libs/libopenraw/libopenraw-0.3.7.ebuild
+++ b/media-libs/libopenraw/libopenraw-0.3.7.ebuild
@@ -4,7 +4,7 @@
EAPI=8
CRATES=" "
-inherit cargo gnome2-utils
+inherit autotools cargo gnome2-utils
DESCRIPTION="RAW image formats decoding library"
HOMEPAGE="https://libopenraw.freedesktop.org/"
@@ -34,6 +34,15 @@ BDEPEND="
test? ( net-misc/curl )
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.3.7-slibtool.patch #913723
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
econf \
--with-boost="${EPREFIX}"/usr \
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-21 2:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-30 17:45 [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenraw/, media-libs/libopenraw/files/ Andreas Sturmlechner
-- strict thread matches above, loose matches on Subject: below --
2024-03-21 2:24 Sam James
2017-02-19 2:33 Michael Palimaka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox