summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2024-10-03 13:53:48 -0500
committerBen Kohler <bkohler@gentoo.org>2024-10-04 09:51:36 -0500
commit4bd269657c961e89032ca053f62919a912553115 (patch)
tree76b3558d1d0d2eee7662ab9dc7e4821a7fbaca15 /media-gfx
parentmedia-gfx/fotocx: drop 24.21-r1, 24.30, 24.40 (diff)
downloadgentoo-4bd269657c961e89032ca053f62919a912553115.tar.gz
gentoo-4bd269657c961e89032ca053f62919a912553115.tar.bz2
gentoo-4bd269657c961e89032ca053f62919a912553115.zip
media-gfx/rawtherapee: drop 5.10-r1
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/rawtherapee/Manifest1
-rw-r--r--media-gfx/rawtherapee/files/rawtherapee-5.10-fix-linking-with-libjpeg-turbo.patch63
-rw-r--r--media-gfx/rawtherapee/rawtherapee-5.10-r1.ebuild82
3 files changed, 0 insertions, 146 deletions
diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index 1b8ab516b025..f37bdcec16b2 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1,2 +1 @@
-DIST rawtherapee-5.10.tar.xz 16943724 BLAKE2B 2d1250a03f2902ffcff666514f9785036c808e9883957f674bfdb9545b2feac8f2313ab819e0cb64f39196bd3db36e8084b52bda6194de9197215824e695809c SHA512 79d6d54f90fec6006d3dff53aca00ccd385c398ebede2f06a223905d69e1045c6ab772bd5aca4bde01d9086c3c03183be22c0df521166b1af63b60bd7d0e1cfc
DIST rawtherapee-5.11.tar.xz 18005652 BLAKE2B d4b4cb45042faf7eadb1c5bfbd7d1db2a452397d10eb12349d1d0a2ae4b9254beb3ee943cf3ddf40380f31abc653ec2c85fb0d4c8e2b1121402bbd41e74afaf0 SHA512 a37af6d99569a6b427379b76b980be8dca5007bf4ec8fc65663e9e8d13850dd2f547e1633f69ee495df105ca6f0f9ab4daf12beec29c9fff63e2e7e5083813b2
diff --git a/media-gfx/rawtherapee/files/rawtherapee-5.10-fix-linking-with-libjpeg-turbo.patch b/media-gfx/rawtherapee/files/rawtherapee-5.10-fix-linking-with-libjpeg-turbo.patch
deleted file mode 100644
index f65309fc64e6..000000000000
--- a/media-gfx/rawtherapee/files/rawtherapee-5.10-fix-linking-with-libjpeg-turbo.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-From efdc5bce3b9794847093baeb040937ab55eba86e Mon Sep 17 00:00:00 2001
-From: Richard E Barber <kd6kxr@gmail.com>
-Date: Sun, 19 May 2024 04:27:10 -0700
-Subject: [PATCH] Fix linking with jpeg-turbo
-
-patch via Termux PR
-https://github.com/termux-user-repository/tur/pull/1027
----
- rtengine/jdatasrc.cc | 28 ++--------------------------
- 1 file changed, 2 insertions(+), 26 deletions(-)
-
-diff --git a/rtengine/jdatasrc.cc b/rtengine/jdatasrc.cc
-index fa13b9dd13..a0d12657f2 100644
---- a/rtengine/jdatasrc.cc
-+++ b/rtengine/jdatasrc.cc
-@@ -247,20 +247,6 @@ my_error_exit (j_common_ptr cinfo)
- #endif
- }
-
--
--#ifdef _WIN32
--#define JVERSION "6b 27-Mar-1998"
--#define JCOPYRIGHT_SHORT "(C) 1998, Thomas G. Lane"
--#define JMESSAGE(code,string) string ,
--
--const char * const jpeg_std_message_table[] = {
--#include "jerror.h"
-- NULL
--};
--#else
--extern const char * const jpeg_std_message_table[];
--#endif
--
- /*
- * Actual output of an error or trace message.
- * Applications may override this method to send JPEG messages somewhere
-@@ -409,24 +395,14 @@ reset_error_mgr (j_common_ptr cinfo)
- GLOBAL(struct jpeg_error_mgr *)
- my_jpeg_std_error (struct jpeg_error_mgr * err)
- {
-+ err = jpeg_std_error(err);
-
-+ /* override these functions */
- err->error_exit = my_error_exit;
- err->emit_message = emit_message;
- err->output_message = output_message;
- err->format_message = format_message;
- err->reset_error_mgr = reset_error_mgr;
-
-- err->trace_level = 0; /* default = no tracing */
-- err->num_warnings = 0; /* no warnings emitted yet */
-- err->msg_code = 0; /* may be useful as a flag for "no error" */
--
-- /* Initialize message table pointers */
-- err->jpeg_message_table = jpeg_std_message_table;
-- err->last_jpeg_message = (int) JMSG_LASTMSGCODE - 1;
--
-- err->addon_message_table = nullptr;
-- err->first_addon_message = 0; /* for safety */
-- err->last_addon_message = 0;
--
- return err;
- }
diff --git a/media-gfx/rawtherapee/rawtherapee-5.10-r1.ebuild b/media-gfx/rawtherapee/rawtherapee-5.10-r1.ebuild
deleted file mode 100644
index bc3e9aa37d1b..000000000000
--- a/media-gfx/rawtherapee/rawtherapee-5.10-r1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_P=${P/_rc/-rc}
-inherit cmake flag-o-matic toolchain-funcs xdg-utils
-
-DESCRIPTION="A powerful cross-platform raw image processing program"
-HOMEPAGE="https://www.rawtherapee.com/"
-SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~riscv x86"
-IUSE="openmp tcmalloc"
-
-RDEPEND="
- dev-cpp/atkmm:0
- dev-cpp/cairomm:0
- dev-cpp/glibmm:2
- dev-cpp/gtkmm:3.0
- dev-cpp/pangomm:1.4
- dev-libs/expat
- dev-libs/glib:2
- dev-libs/libsigc++:2
- gnome-base/librsvg:2
- media-gfx/exiv2:=
- media-libs/lcms:2
- media-libs/lensfun
- media-libs/libcanberra[gtk3]
- media-libs/libiptcdata
- media-libs/libjpeg-turbo:=
- media-libs/libpng:0=
- media-libs/tiff:=
- sci-libs/fftw:3.0=
- sys-libs/zlib
- x11-libs/gtk+:3
- tcmalloc? ( dev-util/google-perftools )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/rawtherapee-5.10-fix-linking-with-libjpeg-turbo.patch )
-
-pkg_pretend() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_configure() {
- # upstream tested that "fast-math" give wrong results, so filter it
- # https://bugs.gentoo.org/show_bug.cgi?id=606896#c2
- filter-flags -ffast-math
- # -Ofast enable "fast-math" both in gcc and clang
- replace-flags -Ofast -O3
- # In case we add an ebuild for klt we can (i)use that one,
- # see http://cecas.clemson.edu/~stb/klt/
- local mycmakeargs=(
- -DOPTION_OMP=$(usex openmp)
- -DDOCDIR=/usr/share/doc/${PF}
- -DCREDITSDIR=/usr/share/${PN}
- -DLICENCEDIR=/usr/share/${PN}
- -DCACHE_NAME_SUFFIX=""
- -DWITH_SYSTEM_KLT="off"
- -DENABLE_TCMALLOC=$(usex tcmalloc)
- )
- cmake_src_configure
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
- xdg_desktop_database_update
-}