[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2024-04-27 Thread Ben Kohler
commit: 5ffa40747a6564c3341d7a02c8f32c3e2b38d377
Author: Ben Kohler  gentoo  org>
AuthorDate: Sat Apr 27 10:27:30 2024 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Sat Apr 27 12:16:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ffa4074

media-gfx/rawtherapee: drop 5.9-r3

Signed-off-by: Ben Kohler  gentoo.org>

 media-gfx/rawtherapee/Manifest  |  1 -
 media-gfx/rawtherapee/rawtherapee-5.9-r3.ebuild | 80 -
 2 files changed, 81 deletions(-)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index 173500760c5d..23e17c128f5e 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.9.tar.xz 16219076 BLAKE2B 
32039d6927eb4a4efbb49f3ad2bd019bd9f73c92a5e7125b7c560aaf7b6a42a5f1a2f67b24a713e4b255867539eda2bf63ea4e988453ec9634c917a11432a7fb
 SHA512 
0d848a36293eb5cac3212910eaf1d011315269c6bbe780c4c2e5f91719721e25a7d1678a7e4453fa4a9694618978b04828612dc03e1d50cb9c11ad4d238e7ca8

diff --git a/media-gfx/rawtherapee/rawtherapee-5.9-r3.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.9-r3.ebuild
deleted file mode 100644
index 199a2170f1e1..
--- a/media-gfx/rawtherapee/rawtherapee-5.9-r3.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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;
-
-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-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"
-
-S="${WORKDIR}/${MY_P}"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2024-04-26 Thread Ben Kohler
commit: b4612a94ab553a59579d48a30d6b83825b83c0f0
Author: Ben Kohler  gentoo  org>
AuthorDate: Fri Apr 26 14:22:34 2024 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Fri Apr 26 14:31:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4612a94

media-gfx/rawtherapee: stabilize 5.10-r1 for amd64, x86

Signed-off-by: Ben Kohler  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.10-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.10-r1.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.10-r1.ebuild
index 37ad5a9abaaf..96a46d2ad16f 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.10-r1.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.10-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
+KEYWORDS="amd64 ~riscv x86"
 IUSE="openmp tcmalloc"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2024-03-10 Thread Ben Kohler
commit: 0895a232631150cfd3b67e1cc8187434c8014b08
Author: Ben Kohler  gentoo  org>
AuthorDate: Thu Mar  7 16:21:04 2024 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Sun Mar 10 13:11:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0895a232

media-gfx/rawtherapee: EAPI 7 -> 8

Signed-off-by: Ben Kohler  gentoo.org>

 .../rawtherapee/{rawtherapee-5.10.ebuild => rawtherapee-5.10-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.10.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.10-r1.ebuild
similarity index 99%
rename from media-gfx/rawtherapee/rawtherapee-5.10.ebuild
rename to media-gfx/rawtherapee/rawtherapee-5.10-r1.ebuild
index e4a69dd837de..37ad5a9abaaf 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.10.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.10-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 MY_P=${P/_rc/-rc}
 inherit cmake flag-o-matic toolchain-funcs xdg-utils



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2024-02-19 Thread Ben Kohler
commit: 268de19d48358a01944a3d13882dac96e61c4c4e
Author: Ben Kohler  gentoo  org>
AuthorDate: Sun Feb 18 16:07:18 2024 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Mon Feb 19 13:15:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=268de19d

media-gfx/rawtherapee: add 5.10

Signed-off-by: Ben Kohler  gentoo.org>

 media-gfx/rawtherapee/Manifest|  1 +
 media-gfx/rawtherapee/rawtherapee-5.10.ebuild | 81 +++
 2 files changed, 82 insertions(+)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index f0e2ae008708..173500760c5d 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1 +1,2 @@
+DIST rawtherapee-5.10.tar.xz 16943724 BLAKE2B 
2d1250a03f2902ffcff666514f9785036c808e9883957f674bfdb9545b2feac8f2313ab819e0cb64f39196bd3db36e8084b52bda6194de9197215824e695809c
 SHA512 
79d6d54f90fec6006d3dff53aca00ccd385c398ebede2f06a223905d69e1045c6ab772bd5aca4bde01d9086c3c03183be22c0df521166b1af63b60bd7d0e1cfc
 DIST rawtherapee-5.9.tar.xz 16219076 BLAKE2B 
32039d6927eb4a4efbb49f3ad2bd019bd9f73c92a5e7125b7c560aaf7b6a42a5f1a2f67b24a713e4b255867539eda2bf63ea4e988453ec9634c917a11432a7fb
 SHA512 
0d848a36293eb5cac3212910eaf1d011315269c6bbe780c4c2e5f91719721e25a7d1678a7e4453fa4a9694618978b04828612dc03e1d50cb9c11ad4d238e7ca8

diff --git a/media-gfx/rawtherapee/rawtherapee-5.10.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.10.ebuild
new file mode 100644
index ..e4a69dd837de
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-5.10.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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;
+
+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"
+
+S="${WORKDIR}/${MY_P}"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2023-03-30 Thread Ben Kohler
commit: e6bbf0e815c444fedf84cc508d564ee47de36539
Author: Ben Kohler  gentoo  org>
AuthorDate: Thu Mar 30 17:01:05 2023 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Thu Mar 30 18:05:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6bbf0e8

media-gfx/rawtherapee: drop 5.9-r2

Signed-off-by: Ben Kohler  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild | 80 -
 1 file changed, 80 deletions(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild
deleted file mode 100644
index c52de5903d78..
--- a/media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~riscv x86"
-IUSE="openmp tcmalloc"
-
-RDEPEND="
-   dev-cpp/atkmm:0
-   dev-cpp/cairomm:=
-   dev-cpp/glibmm:=
-   dev-cpp/gtkmm:3.0
-   dev-cpp/pangomm:=
-   dev-libs/expat
-   dev-libs/glib:=
-   dev-libs/libsigc++:2
-   gnome-base/librsvg
-   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"
-
-S="${WORKDIR}/${MY_P}"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2023-03-08 Thread Ben Kohler
commit: 5f9f6aeab7b106860441cd567405f19989dc092d
Author: Ben Kohler  gentoo  org>
AuthorDate: Wed Mar  8 20:37:40 2023 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Wed Mar  8 21:25:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f9f6aea

media-gfx/rawtherapee: use correct slots for more deps

Bug: https://bugs.gentoo.org/876715

Signed-off-by: Ben Kohler  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.9-r3.ebuild | 80 +
 1 file changed, 80 insertions(+)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.9-r3.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.9-r3.ebuild
new file mode 100644
index ..199a2170f1e1
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-5.9-r3.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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;
+
+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-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"
+
+S="${WORKDIR}/${MY_P}"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2023-02-25 Thread Ben Kohler
commit: 49ca4ca3727a017a41b097494f40912f0b36e7cb
Author: Ben Kohler  gentoo  org>
AuthorDate: Fri Feb 24 19:13:56 2023 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Sat Feb 25 14:09:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49ca4ca3

media-gfx/rawtherapee: add myself as a maintainer

Signed-off-by: Ben Kohler  gentoo.org>

 media-gfx/rawtherapee/metadata.xml | 12 
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/media-gfx/rawtherapee/metadata.xml 
b/media-gfx/rawtherapee/metadata.xml
index c7ac550451f2..aa20bff17b1d 100644
--- a/media-gfx/rawtherapee/metadata.xml
+++ b/media-gfx/rawtherapee/metadata.xml
@@ -1,12 +1,8 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   viv...@gmail.com
-   Francesco Riosa
+   
+   bkoh...@gentoo.org
+   Ben Kohler

-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   
-   
+



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/, media-gfx/rawtherapee/files/

2023-02-18 Thread Andreas Sturmlechner
commit: bb7aef31bd067df47065449f3677bae2dd8ceb8f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Feb  9 13:35:35 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Feb 18 13:55:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb7aef31

media-gfx/rawtherapee: drop 5.8-r4

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-gfx/rawtherapee/Manifest|   1 -
 media-gfx/rawtherapee/files/RT_5.8_fix_crop.patch | 221 ---
 media-gfx/rawtherapee/files/RT_5.8_glibc234.patch | 683 --
 media-gfx/rawtherapee/rawtherapee-5.8-r4.ebuild   |  85 ---
 4 files changed, 990 deletions(-)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index b6972135aeee..f0e2ae008708 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1,2 +1 @@
-DIST rawtherapee-5.8.tar.xz 12653148 BLAKE2B 
f6d4b9b177ad3b6a32b460ecfc7caf5d42a01b5dd4f24da29739f5a2e5936a8d36f9857c0e24bca11f077ab0626f08bbad59ef756792d12f93ef9516427cd2c4
 SHA512 
bc79586cd937dcaefc053e65faa2162de887d514e44980956d937c157c6d55c4f6e6a7a9b8f91f2d657ed2054814737b96d5d741674c1e5a961d7177433efe4e
 DIST rawtherapee-5.9.tar.xz 16219076 BLAKE2B 
32039d6927eb4a4efbb49f3ad2bd019bd9f73c92a5e7125b7c560aaf7b6a42a5f1a2f67b24a713e4b255867539eda2bf63ea4e988453ec9634c917a11432a7fb
 SHA512 
0d848a36293eb5cac3212910eaf1d011315269c6bbe780c4c2e5f91719721e25a7d1678a7e4453fa4a9694618978b04828612dc03e1d50cb9c11ad4d238e7ca8

diff --git a/media-gfx/rawtherapee/files/RT_5.8_fix_crop.patch 
b/media-gfx/rawtherapee/files/RT_5.8_fix_crop.patch
deleted file mode 100644
index 24cbfdcb41db..
--- a/media-gfx/rawtherapee/files/RT_5.8_fix_crop.patch
+++ /dev/null
@@ -1,221 +0,0 @@
-From 15db8cdb57161d57af8307bf85aeda02ea69ddde Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Fl=C3=B6ssie?= 
-Date: Sun, 5 Apr 2020 11:26:47 +0200
-Subject: [PATCH] Guard accesses to `Crop::crop_ratios` (#5701)
-

- rtgui/crop.cc | 125 +++---
- rtgui/crop.h  |  11 ++---
- 2 files changed, 92 insertions(+), 44 deletions(-)
-
-diff --git a/rtgui/crop.cc b/rtgui/crop.cc
-index d9d496523..f092f07a5 100644
 a/rtgui/crop.cc
-+++ b/rtgui/crop.cc
-@@ -16,6 +16,8 @@
-  *  You should have received a copy of the GNU General Public License
-  *  along with RawTherapee.  If not, see .
-  */
-+#include 
-+
- #include "crop.h"
- 
- #include "options.h"
-@@ -46,39 +48,82 @@ inline void get_custom_ratio(int w, int h, double , 
double )
- 
- } // namespace
- 
-+class Crop::CropRatios final
-+{
-+public:
-+CropRatios() :
-+ratios{
-+{M("GENERAL_ASIMAGE"), 0.0},
-+{M("GENERAL_CURRENT"), -1.0},
-+{"3:2", 3.0 / 2.0}, // L1.5,P0.666...
-+{"4:3", 4.0 / 3.0}, // L1.333...,   P0.75
-+{"16:9", 16.0 / 9.0},   // L1.777...,   P0.5625
-+{"16:10", 16.0 / 10.0}, // L1.6,P0.625
-+{"1:1", 1.0 / 1.0}, // L1,  P1
-+{"2:1", 2.0 / 1.0}, // L2,  P0.5
-+{"3:1", 3.0 / 1.0}, // L3,  P0.333...
-+{"4:1", 4.0 / 1.0}, // L4,  P0.25
-+{"5:1", 5.0 / 1.0}, // L5,  P0.2
-+{"6:1", 6.0 / 1.0}, // L6,  P0.1666...
-+{"7:1", 7.0 / 1.0}, // L7,  P0.142...
-+{"4:5", 4.0 / 5.0}, // L1.25,   P0.8
-+{"5:7", 5.0 / 7.0}, // L1.4,P0.714...
-+{"6:7", 6.0 / 7.0}, // L1.166...,   P0.857...
-+{"6:17", 6.0 / 17.0},   // L2.833...,   P0.352...
-+{"24:65 - XPAN", 24.0 / 65.0},  // L2.708...,   P0.369...
-+{"1.414 - DIN EN ISO 216", 1.414},  // L1.414,  P0.707...
-+{"3.5:5", 3.5 / 5.0},   // L1.428...,   P0.7
-+{"8.5:11 - US Letter", 8.5 / 11.0}, // L1.294...,   P0.772...
-+{"9.5:12", 9.5 / 12.0}, // L1.263...,   P0.791...
-+{"10:12", 10.0 / 12.0}, // L1.2,P0.833...
-+{"11:14", 11.0 / 14.0}, // L1.272...,   P0.785...
-+{"11:17 - Tabloid", 11.0 / 17.0},   // L1.545...,   P0.647...
-+{"13:19", 13.0 / 19.0}, // L1.461...,   P0.684...
-+{"17:22", 17.0 / 22.0}, // L1.294...,   P0.772...
-+{"45:35 - ePassport", 45.0 / 35.0}, // L1.285,...   P0.777...
-+{"64:27", 64.0 / 27.0}, // L2.370...,   P0.421...
-+}
-+{
-+}
-+
-+std::vector getLabels() const
-+{
-+std::vector res;
-+
-+res.reserve(ratios.size());
-+
-+for (const auto& ratio : ratios) {

[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2023-02-09 Thread Joonas Niilola
commit: 60b44e9443c52855a491ac49593bc32b4cbdf921
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Feb  9 13:32:18 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Feb  9 13:32:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60b44e94

media-gfx/rawtherapee: Stabilize 5.9-r2 amd64, #892425

Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild
index b9dedd4ce79c..c52de5903d78 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv x86"
+KEYWORDS="amd64 ~riscv x86"
 IUSE="openmp tcmalloc"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2023-02-09 Thread Joonas Niilola
commit: e619752a99e88f65d4ce0c832132bb81e6ae4043
Author: Joonas Niilola  gentoo  org>
AuthorDate: Thu Feb  9 08:49:24 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Feb  9 08:49:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e619752a

media-gfx/rawtherapee: Stabilize 5.9-r2 x86, #892425

Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild
index f0320ecbccc6..b9dedd4ce79c 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv ~x86"
+KEYWORDS="~amd64 ~riscv x86"
 IUSE="openmp tcmalloc"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2022-12-22 Thread Ben Kohler
commit: 40d3e9601fa43007bc56e64f6fca3b79be1c9252
Author: Ben Kohler  gentoo  org>
AuthorDate: Thu Dec 22 17:45:49 2022 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Thu Dec 22 17:49:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40d3e960

media-gfx/rawtherapee: use atkmm:0 explicitly

The other slot was never able to be used, and this will allow that
deprecated slot to be depcleaned.

Signed-off-by: Ben Kohler  gentoo.org>

 .../{rawtherapee-5.8-r3.ebuild => rawtherapee-5.8-r4.ebuild}| 2 +-
 .../{rawtherapee-5.9-r1.ebuild => rawtherapee-5.9-r2.ebuild}| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.8-r3.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.8-r4.ebuild
similarity index 99%
rename from media-gfx/rawtherapee/rawtherapee-5.8-r3.ebuild
rename to media-gfx/rawtherapee/rawtherapee-5.8-r4.ebuild
index 0a49b2a46441..95411c1105e7 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.8-r3.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.8-r4.ebuild
@@ -16,7 +16,7 @@ KEYWORDS="amd64 ~riscv x86"
 IUSE="openmp tcmalloc"
 
 RDEPEND="
-   dev-cpp/atkmm:=
+   dev-cpp/atkmm:0
dev-cpp/cairomm:=
dev-cpp/glibmm:=
dev-cpp/gtkmm:3.0

diff --git a/media-gfx/rawtherapee/rawtherapee-5.9-r1.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild
similarity index 99%
rename from media-gfx/rawtherapee/rawtherapee-5.9-r1.ebuild
rename to media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild
index 29147172e67c..f0320ecbccc6 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.9-r1.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.9-r2.ebuild
@@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~riscv ~x86"
 IUSE="openmp tcmalloc"
 
 RDEPEND="
-   dev-cpp/atkmm:=
+   dev-cpp/atkmm:0
dev-cpp/cairomm:=
dev-cpp/glibmm:=
dev-cpp/gtkmm:3.0



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2022-12-17 Thread Sam James
commit: 7e249d8949fe06eca27f6fa1c2a517fc7cc87140
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 18 07:31:14 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 18 07:46:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e249d89

media-gfx/rawtherapee: fix revbump order

Sorry for the noise. The script didn't get ordering right
in all cases.

Signed-off-by: Sam James  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.8-r2.ebuild| 75 --
 ...pee-5.8-r1.ebuild => rawtherapee-5.8-r3.ebuild} |  0
 ...erapee-5.9.ebuild => rawtherapee-5.9-r1.ebuild} | 11 +++-
 3 files changed, 8 insertions(+), 78 deletions(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.8-r2.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.8-r2.ebuild
deleted file mode 100644
index dc930b95e291..
--- a/media-gfx/rawtherapee/rawtherapee-5.8-r2.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="openmp tcmalloc"
-
-RDEPEND="
-   dev-libs/expat
-   dev-libs/libsigc++:2
-   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}
-   dev-cpp/gtkmm:3.0
-   gnome-base/librsvg"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-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
-}

diff --git a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.8-r3.ebuild
similarity index 100%
rename from media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
rename to media-gfx/rawtherapee/rawtherapee-5.8-r3.ebuild

diff --git a/media-gfx/rawtherapee/rawtherapee-5.9.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.9-r1.ebuild
similarity index 92%
rename from media-gfx/rawtherapee/rawtherapee-5.9.ebuild
rename to media-gfx/rawtherapee/rawtherapee-5.9-r1.ebuild
index ce58450f30cb..29147172e67c 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.9.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.9-r1.ebuild
@@ -16,8 +16,15 @@ KEYWORDS="~amd64 ~riscv ~x86"
 IUSE="openmp tcmalloc"
 
 RDEPEND="
+   dev-cpp/atkmm:=
+   dev-cpp/cairomm:=
+   dev-cpp/glibmm:=
+   dev-cpp/gtkmm:3.0
+   dev-cpp/pangomm:=
dev-libs/expat
+   dev-libs/glib:=
dev-libs/libsigc++:2
+   gnome-base/librsvg
media-libs/lcms:2
media-libs/lensfun
media-libs/libcanberra[gtk3]
@@ -29,9 +36,7 @@ RDEPEND="
sys-libs/zlib
x11-libs/gtk+:3
tcmalloc? ( dev-util/google-perftools )"
-DEPEND="${RDEPEND}
-   dev-cpp/gtkmm:3.0
-   gnome-base/librsvg"
+DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2022-12-17 Thread Yixun Lan
commit: 19147837764bc93219e25e9577c51d742f23bff5
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun Dec 18 05:27:41 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Dec 18 05:28:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19147837

media-gfx/rawtherapee: Keyword 5.9 riscv, #886515

Signed-off-by: Yixun Lan  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.9.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.9.ebuild
index cd447210a715..ce58450f30cb 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.9.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.9.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~riscv ~x86"
 IUSE="openmp tcmalloc"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2022-12-17 Thread Sam James
commit: 1ab357496e1cdb1685866539ab7b4cacfca6a907
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 18 01:40:18 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 18 01:40:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ab35749

media-gfx/rawtherapee: destabilize 5.9 for ~amd64, ~x86

Drop back to ~arch. Unintentionally pushed to stable.

Signed-off-by: Sam James  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.9.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.9.ebuild
index dc930b95e291..cd447210a715 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.9.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.9.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
 IUSE="openmp tcmalloc"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2022-12-17 Thread Ben Kohler
commit: 619d904507086b649e84bccfa9d90c4cec10
Author: Ben Kohler  gentoo  org>
AuthorDate: Sat Dec 17 22:36:02 2022 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Sat Dec 17 22:37:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=619d

media-gfx/rawtherapee: add 5.9

Bug: https://bugs.gentoo.org/886307

Signed-off-by: Ben Kohler  gentoo.org>

 media-gfx/rawtherapee/Manifest   |  1 +
 media-gfx/rawtherapee/rawtherapee-5.9.ebuild | 75 
 2 files changed, 76 insertions(+)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index a0fd4310fad0..b6972135aeee 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1 +1,2 @@
 DIST rawtherapee-5.8.tar.xz 12653148 BLAKE2B 
f6d4b9b177ad3b6a32b460ecfc7caf5d42a01b5dd4f24da29739f5a2e5936a8d36f9857c0e24bca11f077ab0626f08bbad59ef756792d12f93ef9516427cd2c4
 SHA512 
bc79586cd937dcaefc053e65faa2162de887d514e44980956d937c157c6d55c4f6e6a7a9b8f91f2d657ed2054814737b96d5d741674c1e5a961d7177433efe4e
+DIST rawtherapee-5.9.tar.xz 16219076 BLAKE2B 
32039d6927eb4a4efbb49f3ad2bd019bd9f73c92a5e7125b7c560aaf7b6a42a5f1a2f67b24a713e4b255867539eda2bf63ea4e988453ec9634c917a11432a7fb
 SHA512 
0d848a36293eb5cac3212910eaf1d011315269c6bbe780c4c2e5f91719721e25a7d1678a7e4453fa4a9694618978b04828612dc03e1d50cb9c11ad4d238e7ca8

diff --git a/media-gfx/rawtherapee/rawtherapee-5.9.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.9.ebuild
new file mode 100644
index ..dc930b95e291
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-5.9.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="openmp tcmalloc"
+
+RDEPEND="
+   dev-libs/expat
+   dev-libs/libsigc++:2
+   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}
+   dev-cpp/gtkmm:3.0
+   gnome-base/librsvg"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2022-09-16 Thread Ben Kohler
commit: 04a1eea4936442187c7c7a892fe85bb55cf490a9
Author: Ben Kohler  gentoo  org>
AuthorDate: Fri Sep 16 13:50:40 2022 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Fri Sep 16 13:51:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04a1eea4

media-gfx/rawtherapee: add libs to RDEPEND as well

Closes: https://bugs.gentoo.org/870115

Signed-off-by: Ben Kohler  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
index 295e9dcfcfe8..6bf90c0abf73 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
@@ -19,10 +19,12 @@ RDEPEND="
dev-cpp/atkmm:=
dev-cpp/cairomm:=
dev-cpp/glibmm:=
+   dev-cpp/gtkmm:3.0
dev-cpp/pangomm:=
dev-libs/expat
dev-libs/glib:=
dev-libs/libsigc++:2
+   gnome-base/librsvg
media-libs/lcms:2
media-libs/lensfun
media-libs/libcanberra[gtk3]
@@ -34,9 +36,7 @@ RDEPEND="
virtual/jpeg:0
x11-libs/gtk+:3
tcmalloc? ( dev-util/google-perftools )"
-DEPEND="${RDEPEND}
-   dev-cpp/gtkmm:3.0
-   gnome-base/librsvg"
+DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
 
 S="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2022-08-12 Thread Yixun Lan
commit: c9a794a1c934e913925f265da3680c95c666fd3c
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Aug 12 09:38:34 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Aug 12 13:20:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9a794a1

media-gfx/rawtherapee: keyword 5.8-r1 for ~riscv

Signed-off-by: Yixun Lan  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
index 6bc9d3808b2d..295e9dcfcfe8 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~riscv x86"
 IUSE="openmp tcmalloc"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2022-05-14 Thread David Seifert
commit: ee0173be9a357e05a3d50108752dbb5ee47cd3c7
Author: David Seifert  gentoo  org>
AuthorDate: Sat May 14 21:30:15 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat May 14 21:30:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee0173be

media-gfx/rawtherapee: [QA] tc-has-openmp → tc-check-openmp

Signed-off-by: David Seifert  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild |  8 +---
 media-gfx/rawtherapee/rawtherapee-5.8.ebuild| 10 ++
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
index ea59ec8cbd19..6bc9d3808b2d 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
@@ -47,9 +47,11 @@ PATCHES=(
 )
 
 pkg_pretend() {
-   if use openmp ; then
-   tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
-   fi
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }
 
 src_configure() {

diff --git a/media-gfx/rawtherapee/rawtherapee-5.8.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.8.ebuild
index ef4b8c6fd287..9df073266f82 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.8.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -37,9 +37,11 @@ BDEPEND="virtual/pkgconfig"
 S="${WORKDIR}/${MY_P}"
 
 pkg_pretend() {
-   if use openmp ; then
-   tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
-   fi
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+   [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2022-04-28 Thread Sam James
commit: 6ff99950aa9e22f56c8b036408f6dc765433d02a
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 29 03:06:24 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 29 03:06:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ff99950

media-gfx/rawtherapee: fix WhitespaceFound

Signed-off-by: Sam James  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
index 211e0087f8e0..ea59ec8cbd19 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
@@ -42,8 +42,8 @@ BDEPEND="virtual/pkgconfig"
 S="${WORKDIR}/${MY_P}"
 
 PATCHES=(
-"${FILESDIR}/RT_5.8_fix_crop.patch"
-"${FILESDIR}/RT_5.8_glibc234.patch"
+   "${FILESDIR}/RT_5.8_fix_crop.patch"
+   "${FILESDIR}/RT_5.8_glibc234.patch"
 )
 
 pkg_pretend() {



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2022-02-13 Thread Jakov Smolić
commit: 3f1752d15e9b57456559640712c228c94e55d479
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sun Feb 13 08:39:27 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sun Feb 13 08:39:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f1752d1

media-gfx/rawtherapee: Stabilize 5.8-r1 x86, #828360

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

 media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
index 355493cb4aa7..211e0087f8e0 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="openmp tcmalloc"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2021-12-09 Thread Agostino Sarubbo
commit: cd611b8478ebeb1ae65e1c0a8e0352d1761b7811
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec  9 16:22:01 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec  9 16:22:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd611b84

media-gfx/rawtherapee: amd64 stable wrt bug #828360

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
index 9986f490f4b0..355493cb4aa7 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="openmp tcmalloc"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/, media-gfx/rawtherapee/files/

2021-08-11 Thread Joonas Niilola
commit: 5e84258847804bd1073a078b1a5881accad9d2ee
Author: Francesco Riosa  gmail  com>
AuthorDate: Wed Aug 11 15:09:18 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug 11 15:18:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e842588

media-gfx/rawtherapee: import some fedora patches to fix gcc:11 comp

GCC 11 in combination with glibc-2.34 braek overloading some functions
see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101747

Closes: https://bugs.gentoo.org/807658
Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/rawtherapee/files/RT_5.8_fix_crop.patch | 221 +++
 media-gfx/rawtherapee/files/RT_5.8_glibc234.patch | 683 ++
 media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild   |  78 +++
 3 files changed, 982 insertions(+)

diff --git a/media-gfx/rawtherapee/files/RT_5.8_fix_crop.patch 
b/media-gfx/rawtherapee/files/RT_5.8_fix_crop.patch
new file mode 100644
index 000..24cbfdcb41d
--- /dev/null
+++ b/media-gfx/rawtherapee/files/RT_5.8_fix_crop.patch
@@ -0,0 +1,221 @@
+From 15db8cdb57161d57af8307bf85aeda02ea69ddde Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Fl=C3=B6ssie?= 
+Date: Sun, 5 Apr 2020 11:26:47 +0200
+Subject: [PATCH] Guard accesses to `Crop::crop_ratios` (#5701)
+
+---
+ rtgui/crop.cc | 125 +++---
+ rtgui/crop.h  |  11 ++---
+ 2 files changed, 92 insertions(+), 44 deletions(-)
+
+diff --git a/rtgui/crop.cc b/rtgui/crop.cc
+index d9d496523..f092f07a5 100644
+--- a/rtgui/crop.cc
 b/rtgui/crop.cc
+@@ -16,6 +16,8 @@
+  *  You should have received a copy of the GNU General Public License
+  *  along with RawTherapee.  If not, see .
+  */
++#include 
++
+ #include "crop.h"
+ 
+ #include "options.h"
+@@ -46,39 +48,82 @@ inline void get_custom_ratio(int w, int h, double , 
double )
+ 
+ } // namespace
+ 
++class Crop::CropRatios final
++{
++public:
++CropRatios() :
++ratios{
++{M("GENERAL_ASIMAGE"), 0.0},
++{M("GENERAL_CURRENT"), -1.0},
++{"3:2", 3.0 / 2.0}, // L1.5,P0.666...
++{"4:3", 4.0 / 3.0}, // L1.333...,   P0.75
++{"16:9", 16.0 / 9.0},   // L1.777...,   P0.5625
++{"16:10", 16.0 / 10.0}, // L1.6,P0.625
++{"1:1", 1.0 / 1.0}, // L1,  P1
++{"2:1", 2.0 / 1.0}, // L2,  P0.5
++{"3:1", 3.0 / 1.0}, // L3,  P0.333...
++{"4:1", 4.0 / 1.0}, // L4,  P0.25
++{"5:1", 5.0 / 1.0}, // L5,  P0.2
++{"6:1", 6.0 / 1.0}, // L6,  P0.1666...
++{"7:1", 7.0 / 1.0}, // L7,  P0.142...
++{"4:5", 4.0 / 5.0}, // L1.25,   P0.8
++{"5:7", 5.0 / 7.0}, // L1.4,P0.714...
++{"6:7", 6.0 / 7.0}, // L1.166...,   P0.857...
++{"6:17", 6.0 / 17.0},   // L2.833...,   P0.352...
++{"24:65 - XPAN", 24.0 / 65.0},  // L2.708...,   P0.369...
++{"1.414 - DIN EN ISO 216", 1.414},  // L1.414,  P0.707...
++{"3.5:5", 3.5 / 5.0},   // L1.428...,   P0.7
++{"8.5:11 - US Letter", 8.5 / 11.0}, // L1.294...,   P0.772...
++{"9.5:12", 9.5 / 12.0}, // L1.263...,   P0.791...
++{"10:12", 10.0 / 12.0}, // L1.2,P0.833...
++{"11:14", 11.0 / 14.0}, // L1.272...,   P0.785...
++{"11:17 - Tabloid", 11.0 / 17.0},   // L1.545...,   P0.647...
++{"13:19", 13.0 / 19.0}, // L1.461...,   P0.684...
++{"17:22", 17.0 / 22.0}, // L1.294...,   P0.772...
++{"45:35 - ePassport", 45.0 / 35.0}, // L1.285,...   P0.777...
++{"64:27", 64.0 / 27.0}, // L2.370...,   P0.421...
++}
++{
++}
++
++std::vector getLabels() const
++{
++std::vector res;
++
++res.reserve(ratios.size());
++
++for (const auto& ratio : ratios) {
++res.push_back(ratio.label);
++}
++
++return res;
++}
++
++double getValue(std::size_t index) const
++{
++return
++index < ratios.size()
++? ratios[index].value
++: ratios[0].value;
++}
++
++void updateCurrentRatio(double value)
++{
++ratios[1].value = value;
++}
++
++private:
++struct CropRatio {
++Glib::ustring label;
++double value;
++};
++
++std::vector ratios;
++};
++
+ Crop::Crop():
+ FoldableToolPanel(this, "crop", M("TP_CROP_LABEL"), false, true),
+-crop_ratios{
+-{M("GENERAL_ASIMAGE"), 0.0},
+-{M("GENERAL_CURRENT"), -1.0},
+-

[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2021-08-11 Thread Joonas Niilola
commit: 60b300b38a5f14567f77e5ae43bae4e6b46f7e34
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Aug 11 15:13:32 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug 11 15:18:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60b300b3

media-gfx/rawtherapee: add some missing deps to 5.8-r1

Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild | 5 +
 1 file changed, 5 insertions(+)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
index 8d30e2bd5ad..fd673b58474 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
@@ -16,7 +16,12 @@ KEYWORDS="amd64 x86"
 IUSE="openmp tcmalloc"
 
 RDEPEND="
+   dev-cpp/atkmm:=
+   dev-cpp/cairomm:=
+   dev-cpp/glibmm:=
+   dev-cpp/pangomm:=
dev-libs/expat
+   dev-libs/glib:=
dev-libs/libsigc++:2
media-libs/lcms:2
media-libs/lensfun



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2021-08-11 Thread Joonas Niilola
commit: 6f94940fc07f0c21921755dbc107bf124f3e493d
Author: Joonas Niilola  gentoo  org>
AuthorDate: Wed Aug 11 15:14:18 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug 11 15:18:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f94940f

media-gfx/rawtherapee: ekeyword ~all 5.8-r1 due to new patches

Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
index fd673b58474..9986f490f4b 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
 IUSE="openmp tcmalloc"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2020-09-04 Thread Sam James
commit: b07e7f56ad98ee5140317d288125b0c3179dfa05
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  4 14:04:50 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  4 14:04:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b07e7f56

media-gfx/rawtherapee: Stabilize 5.8 amd64, #735388

Signed-off-by: Sam James  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.8.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.8.ebuild
index a991adb3c73..ef4b8c6fd28 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.8.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.8.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="openmp tcmalloc"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2020-09-03 Thread Thomas Deutschmann
commit: b994e88aef7832ef6f2aea0551d6653fbf845e2c
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Sep  3 14:22:23 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Sep  3 14:22:23 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b994e88a

media-gfx/rawtherapee: x86 stable (bug #735388)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.8.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.8.ebuild
index 425c6e3abbc..a991adb3c73 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.8.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.8.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="openmp tcmalloc"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2020-02-26 Thread Andreas Sturmlechner
commit: 666bf49931d7ac9897343ebb765837f8a5f9cc8b
Author: Francesco Riosa  gaikai  com>
AuthorDate: Fri Feb  7 09:43:34 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Feb 26 18:35:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=666bf499

media-gfx/rawtherapee: version bump to 5.8

Signed-off-by: Francesco Riosa  gmail.com>
Closes: https://bugs.gentoo.org/708202
Closes: https://github.com/gentoo/gentoo/pull/14590
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-gfx/rawtherapee/Manifest   |  1 +
 media-gfx/rawtherapee/rawtherapee-5.8.ebuild | 73 
 2 files changed, 74 insertions(+)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index 7026f26c132..dd0e0a324de 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1,2 +1,3 @@
 DIST rawtherapee-5.6.tar.xz 12083264 BLAKE2B 
a0eb09e98e1041b393ad3aa671641a2a4855379cef6245ca3cca2588ff5f50fedf8becd88bad1ab70f63dfb575f5f22c141040defa10b47268947415999d8e79
 SHA512 
2c751c7631ea2ef65c334fa0baab16d4c3161fae66487870c476f07f1ea3604a5e28a251fd98d9688cafc088302af7aa6e28e9b27a37f916715708ed5e731f0f
 DIST rawtherapee-5.7.tar.xz 12092496 BLAKE2B 
40d97d09106d7d2b843376b4c58daac87f99315604bd8e704e1f231c17d01896cd732da2449f84a59ed221fbf6a929a5db8e728977431fdcc07f3d30120b633a
 SHA512 
8101ec66d9be4cab0c0b91336a3f83a32a6220a2f342f1c74d604c15686ee08bc7dbc090232916f13d5436957d800b64b284a8a9d3352f2f721266b07e005162
+DIST rawtherapee-5.8.tar.xz 12653148 BLAKE2B 
f6d4b9b177ad3b6a32b460ecfc7caf5d42a01b5dd4f24da29739f5a2e5936a8d36f9857c0e24bca11f077ab0626f08bbad59ef756792d12f93ef9516427cd2c4
 SHA512 
bc79586cd937dcaefc053e65faa2162de887d514e44980956d937c157c6d55c4f6e6a7a9b8f91f2d657ed2054814737b96d5d741674c1e5a961d7177433efe4e

diff --git a/media-gfx/rawtherapee/rawtherapee-5.8.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.8.ebuild
new file mode 100644
index 000..425c6e3abbc
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-5.8.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="openmp tcmalloc"
+
+RDEPEND="
+   dev-libs/expat
+   dev-libs/libsigc++:2
+   media-libs/lcms:2
+   media-libs/lensfun
+   media-libs/libcanberra[gtk3]
+   media-libs/libiptcdata
+   media-libs/libpng:0=
+   media-libs/tiff:0
+   sci-libs/fftw:3.0=
+   sys-libs/zlib
+   virtual/jpeg:0
+   x11-libs/gtk+:3
+   tcmalloc? ( dev-util/google-perftools )"
+DEPEND="${RDEPEND}
+   dev-cpp/gtkmm:3.0
+   gnome-base/librsvg"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_pretend() {
+   if use openmp ; then
+   tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
+   fi
+}
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2019-09-26 Thread Joonas Niilola
commit: 8ff12a58497d55cbde453f2de6ec1d8088724dd1
Author: Francesco Riosa  gmail  com>
AuthorDate: Thu Sep 26 10:36:24 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Sep 26 15:48:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff12a58

media-gfx/rawtherapee: version bump to 5.7

Signed-off-by: Francesco Riosa  gmail.com>
Closes: https://bugs.gentoo.org/695408
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Closes: https://github.com/gentoo/gentoo/pull/13046
Signed-off-by: Joonas Niilola  gentoo.org>

 media-gfx/rawtherapee/Manifest   |  1 +
 media-gfx/rawtherapee/rawtherapee-5.7.ebuild | 72 
 2 files changed, 73 insertions(+)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index e45ab3b82ab..7026f26c132 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1 +1,2 @@
 DIST rawtherapee-5.6.tar.xz 12083264 BLAKE2B 
a0eb09e98e1041b393ad3aa671641a2a4855379cef6245ca3cca2588ff5f50fedf8becd88bad1ab70f63dfb575f5f22c141040defa10b47268947415999d8e79
 SHA512 
2c751c7631ea2ef65c334fa0baab16d4c3161fae66487870c476f07f1ea3604a5e28a251fd98d9688cafc088302af7aa6e28e9b27a37f916715708ed5e731f0f
+DIST rawtherapee-5.7.tar.xz 12092496 BLAKE2B 
40d97d09106d7d2b843376b4c58daac87f99315604bd8e704e1f231c17d01896cd732da2449f84a59ed221fbf6a929a5db8e728977431fdcc07f3d30120b633a
 SHA512 
8101ec66d9be4cab0c0b91336a3f83a32a6220a2f342f1c74d604c15686ee08bc7dbc090232916f13d5436957d800b64b284a8a9d3352f2f721266b07e005162

diff --git a/media-gfx/rawtherapee/rawtherapee-5.7.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.7.ebuild
new file mode 100644
index 000..48b8dca754d
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-5.7.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P=${P/_rc/-rc}
+inherit cmake-utils 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;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="openmp"
+
+RDEPEND="
+   dev-libs/expat
+   dev-libs/libsigc++:2
+   media-libs/lcms:2
+   media-libs/lensfun
+   media-libs/libcanberra[gtk3]
+   media-libs/libiptcdata
+   media-libs/libpng:0
+   media-libs/tiff:0
+   sci-libs/fftw:3.0
+   sys-libs/zlib
+   virtual/jpeg:0
+   x11-libs/gtk+:3"
+DEPEND="${RDEPEND}
+   dev-cpp/gtkmm:3.0
+   gnome-base/librsvg"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_pretend() {
+   if use openmp ; then
+   tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
+   fi
+}
+
+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"
+   )
+   cmake-utils_src_configure
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   xdg_icon_cache_update
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2019-09-22 Thread Andreas Sturmlechner
commit: ac3f9a6ccc9b7912198bd9c259646e2ba9af28d9
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Sep 22 17:21:11 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Sep 22 20:48:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac3f9a6c

media-gfx/rawtherapee: Drop 5.5

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-gfx/rawtherapee/Manifest   |  1 -
 media-gfx/rawtherapee/rawtherapee-5.5.ebuild | 72 
 2 files changed, 73 deletions(-)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index 0d26d26e000..e45ab3b82ab 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1,2 +1 @@
-DIST rawtherapee-5.5.tar.xz 12163556 BLAKE2B 
6251655b5bcc8b805eda584e386771b14dec15a2d8a96518bdb79d7e31354c78eb263f6964d7f6ffaeb35a127d3f775c9c39dfebf072a0bfc14d284358acd03c
 SHA512 
fcb546ad6e420200a821c89555ec259140995a3bc69429d2ecb648632c02e10ffceebbd7296e879c93b53ad8efa45ea71336d936cd90cead723e70e8932a413a
 DIST rawtherapee-5.6.tar.xz 12083264 BLAKE2B 
a0eb09e98e1041b393ad3aa671641a2a4855379cef6245ca3cca2588ff5f50fedf8becd88bad1ab70f63dfb575f5f22c141040defa10b47268947415999d8e79
 SHA512 
2c751c7631ea2ef65c334fa0baab16d4c3161fae66487870c476f07f1ea3604a5e28a251fd98d9688cafc088302af7aa6e28e9b27a37f916715708ed5e731f0f

diff --git a/media-gfx/rawtherapee/rawtherapee-5.5.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.5.ebuild
deleted file mode 100644
index 707036915c1..000
--- a/media-gfx/rawtherapee/rawtherapee-5.5.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils flag-o-matic gnome2-utils toolchain-funcs xdg-utils
-
-MY_P=${P/_rc/-rc}
-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;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE="openmp"
-
-RDEPEND="
-   dev-libs/expat
-   dev-libs/libsigc++:2
-   media-libs/lcms:2
-   media-libs/lensfun
-   media-libs/libcanberra[gtk3]
-   media-libs/libiptcdata
-   media-libs/libpng:0
-   media-libs/tiff:0
-   sci-libs/fftw:3.0
-   sys-libs/zlib
-   virtual/jpeg:0
-   x11-libs/gtk+:3"
-DEPEND="${RDEPEND}
-   app-arch/xz-utils
-   dev-cpp/gtkmm:3.0
-   virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_pretend() {
-   if use openmp ; then
-   tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
-   fi
-}
-
-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"
-   )
-   cmake-utils_src_configure
-}
-
-pkg_postinst() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
-}
-
-pkg_postrm() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2019-07-18 Thread Andreas Sturmlechner
commit: b1b6b5b7176918846c671bf1cf6e58a83e0a79fe
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Jul 18 15:18:41 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Jul 18 15:30:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1b6b5b7

media-gfx/rawtherapee: Drop 5.4

Signed-off-by: Andreas Sturmlechner  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

 media-gfx/rawtherapee/Manifest   |  1 -
 media-gfx/rawtherapee/rawtherapee-5.4.ebuild | 71 
 2 files changed, 72 deletions(-)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index f2dc3083cd0..0d26d26e000 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1,3 +1,2 @@
-DIST rawtherapee-5.4.tar.xz 11991988 BLAKE2B 
625b4e04b82f34d994e0f23f6aea6af4b0a2af2b6a325e916e7b51f8a83b568b65bef47a489be547d1e2437f9637b2ecea0d69d95bfabd53b61b11b46d9e36bc
 SHA512 
6dc9a82202b80675f90eeb8f08c4484700561861f296546ae9425c6e9603f6e84bdc0859896c333d2367cc0b371c6bb6ab2fe36ff3d6f56419cbf18a58d8ef89
 DIST rawtherapee-5.5.tar.xz 12163556 BLAKE2B 
6251655b5bcc8b805eda584e386771b14dec15a2d8a96518bdb79d7e31354c78eb263f6964d7f6ffaeb35a127d3f775c9c39dfebf072a0bfc14d284358acd03c
 SHA512 
fcb546ad6e420200a821c89555ec259140995a3bc69429d2ecb648632c02e10ffceebbd7296e879c93b53ad8efa45ea71336d936cd90cead723e70e8932a413a
 DIST rawtherapee-5.6.tar.xz 12083264 BLAKE2B 
a0eb09e98e1041b393ad3aa671641a2a4855379cef6245ca3cca2588ff5f50fedf8becd88bad1ab70f63dfb575f5f22c141040defa10b47268947415999d8e79
 SHA512 
2c751c7631ea2ef65c334fa0baab16d4c3161fae66487870c476f07f1ea3604a5e28a251fd98d9688cafc088302af7aa6e28e9b27a37f916715708ed5e731f0f

diff --git a/media-gfx/rawtherapee/rawtherapee-5.4.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.4.ebuild
deleted file mode 100644
index 0b50baaa01c..000
--- a/media-gfx/rawtherapee/rawtherapee-5.4.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils toolchain-funcs flag-o-matic gnome2-utils xdg-utils
-
-MY_P=${P/_rc/-rc}
-DESCRIPTION="A powerful cross-platform raw image processing program"
-HOMEPAGE="http://www.rawtherapee.com/;
-SRC_URI="http://rawtherapee.com/shared/source/${MY_P}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE="openmp"
-
-RDEPEND="x11-libs/gtk+:3
-   dev-libs/expat
-   dev-libs/libsigc++:2
-   media-libs/libcanberra[gtk3]
-   media-libs/tiff:0
-   media-libs/libpng:0
-   media-libs/libiptcdata
-   media-libs/lcms:2
-   media-libs/lensfun
-   sci-libs/fftw:3.0
-   sys-libs/zlib
-   virtual/jpeg:0"
-DEPEND="${RDEPEND}
-   app-arch/xz-utils
-   virtual/pkgconfig
-   dev-cpp/gtkmm:3.0"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_pretend() {
-   if use openmp ; then
-   tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
-   fi
-}
-
-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"
-   )
-   cmake-utils_src_configure
-}
-
-pkg_postinst() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
-}
-
-pkg_postrm() {
-   gnome2_icon_cache_update
-   xdg_desktop_database_update
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2019-07-18 Thread Agostino Sarubbo
commit: b219f929fa9baa0824c5811fd31a8322e3f3b90c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul 18 11:43:49 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul 18 11:43:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b219f929

media-gfx/rawtherapee: x86 stable wrt bug #688812

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="x86"

 media-gfx/rawtherapee/rawtherapee-5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.6.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.6.ebuild
index a64e78dd02a..e59d05f213b 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.6.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.6.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 IUSE="openmp"
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2019-07-18 Thread Agostino Sarubbo
commit: aed2a2dc4f7714fb8f04c8c564be48cf04742207
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul 18 09:54:01 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul 18 09:54:01 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aed2a2dc

media-gfx/rawtherapee: amd64 stable wrt bug #688812

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 media-gfx/rawtherapee/rawtherapee-5.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.6.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.6.ebuild
index 48b8dca754d..a64e78dd02a 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.6.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.6.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 IUSE="openmp"
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2019-05-15 Thread Andreas Sturmlechner
commit: 1e804ecf2b0730e495affc67b82a62e2ad150aa6
Author: Francesco Riosa  gmail  com>
AuthorDate: Wed Apr 24 23:20:36 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed May 15 12:24:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e804ecf

media-gfx/rawtherapee: bump to EAPI=7

Follow juippis suggestions to bump eapi.

Signed-off-by: Francesco Riosa  gmail.com>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.6.ebuild | 15 +++
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.6.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.6.ebuild
index 328a0379142..48b8dca754d 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.6.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.6.ebuild
@@ -1,11 +1,11 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-
-inherit cmake-utils flag-o-matic gnome2-utils toolchain-funcs xdg-utils
+EAPI=7
 
 MY_P=${P/_rc/-rc}
+inherit cmake-utils 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;
@@ -30,10 +30,9 @@ RDEPEND="
virtual/jpeg:0
x11-libs/gtk+:3"
 DEPEND="${RDEPEND}
-   app-arch/xz-utils
dev-cpp/gtkmm:3.0
-   gnome-base/librsvg
-   virtual/pkgconfig"
+   gnome-base/librsvg"
+BDEPEND="virtual/pkgconfig"
 
 S="${WORKDIR}/${MY_P}"
 
@@ -63,11 +62,11 @@ src_configure() {
 }
 
 pkg_postinst() {
-   gnome2_icon_cache_update
+   xdg_icon_cache_update
xdg_desktop_database_update
 }
 
 pkg_postrm() {
-   gnome2_icon_cache_update
+   xdg_icon_cache_update
xdg_desktop_database_update
 }



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2019-05-15 Thread Andreas Sturmlechner
commit: 167198e5d3506c980b9d6e3e472e066192196d07
Author: Francesco Riosa  gmail  com>
AuthorDate: Wed Apr 24 07:12:02 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed May 15 12:24:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=167198e5

media-gfx/rawtherapee: version bump to 5.6

also added dependancy on librsvg >= 2.40, see
https://rawtherapee.com/blog/rawtherapee-5.6-released

Closes: https://bugs.gentoo.org/684154

Signed-off-by: Francesco Riosa  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11809
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-gfx/rawtherapee/Manifest   |  1 +
 media-gfx/rawtherapee/rawtherapee-5.6.ebuild | 73 
 2 files changed, 74 insertions(+)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index 6d394054842..f2dc3083cd0 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1,2 +1,3 @@
 DIST rawtherapee-5.4.tar.xz 11991988 BLAKE2B 
625b4e04b82f34d994e0f23f6aea6af4b0a2af2b6a325e916e7b51f8a83b568b65bef47a489be547d1e2437f9637b2ecea0d69d95bfabd53b61b11b46d9e36bc
 SHA512 
6dc9a82202b80675f90eeb8f08c4484700561861f296546ae9425c6e9603f6e84bdc0859896c333d2367cc0b371c6bb6ab2fe36ff3d6f56419cbf18a58d8ef89
 DIST rawtherapee-5.5.tar.xz 12163556 BLAKE2B 
6251655b5bcc8b805eda584e386771b14dec15a2d8a96518bdb79d7e31354c78eb263f6964d7f6ffaeb35a127d3f775c9c39dfebf072a0bfc14d284358acd03c
 SHA512 
fcb546ad6e420200a821c89555ec259140995a3bc69429d2ecb648632c02e10ffceebbd7296e879c93b53ad8efa45ea71336d936cd90cead723e70e8932a413a
+DIST rawtherapee-5.6.tar.xz 12083264 BLAKE2B 
a0eb09e98e1041b393ad3aa671641a2a4855379cef6245ca3cca2588ff5f50fedf8becd88bad1ab70f63dfb575f5f22c141040defa10b47268947415999d8e79
 SHA512 
2c751c7631ea2ef65c334fa0baab16d4c3161fae66487870c476f07f1ea3604a5e28a251fd98d9688cafc088302af7aa6e28e9b27a37f916715708ed5e731f0f

diff --git a/media-gfx/rawtherapee/rawtherapee-5.6.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.6.ebuild
new file mode 100644
index 000..328a0379142
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-5.6.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils flag-o-matic gnome2-utils toolchain-funcs xdg-utils
+
+MY_P=${P/_rc/-rc}
+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;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="openmp"
+
+RDEPEND="
+   dev-libs/expat
+   dev-libs/libsigc++:2
+   media-libs/lcms:2
+   media-libs/lensfun
+   media-libs/libcanberra[gtk3]
+   media-libs/libiptcdata
+   media-libs/libpng:0
+   media-libs/tiff:0
+   sci-libs/fftw:3.0
+   sys-libs/zlib
+   virtual/jpeg:0
+   x11-libs/gtk+:3"
+DEPEND="${RDEPEND}
+   app-arch/xz-utils
+   dev-cpp/gtkmm:3.0
+   gnome-base/librsvg
+   virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_pretend() {
+   if use openmp ; then
+   tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
+   fi
+}
+
+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"
+   )
+   cmake-utils_src_configure
+}
+
+pkg_postinst() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2019-04-13 Thread Agostino Sarubbo
commit: 88d958b73ed61b3304a7a3df46c7d625845f9e7d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Apr 13 19:09:35 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Apr 13 19:09:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88d958b7

media-gfx/rawtherapee: amd64 stable wrt bug #681522

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 media-gfx/rawtherapee/rawtherapee-5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.5.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.5.ebuild
index 0994a1f97e0..a47d21b7863 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.5.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.5.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 IUSE="openmp"
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2019-01-04 Thread Andreas Sturmlechner
commit: 144205441119ced2e7feb55961018dbc7f6f42e3
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Jan  4 13:02:22 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Jan  4 13:02:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14420544

media-gfx/rawtherapee: https

Signed-off-by: Andreas Sturmlechner  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-gfx/rawtherapee/rawtherapee-5.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.5.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.5.ebuild
index 0a6873bf787..0994a1f97e0 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.5.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.5.ebuild
@@ -7,8 +7,8 @@ inherit cmake-utils flag-o-matic gnome2-utils toolchain-funcs 
xdg-utils
 
 MY_P=${P/_rc/-rc}
 DESCRIPTION="A powerful cross-platform raw image processing program"
-HOMEPAGE="http://www.rawtherapee.com/;
-SRC_URI="http://rawtherapee.com/shared/source/${MY_P}.tar.xz;
+HOMEPAGE="https://www.rawtherapee.com/;
+SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2019-01-04 Thread Andreas Sturmlechner
commit: bc7008ef1e5392f5dae299102e48ca8718984b1f
Author: Francesco Riosa  gmail  com>
AuthorDate: Tue Dec 18 08:34:40 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Jan  4 12:59:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc7008ef

media-gfx/rawtherapee: remove old 5.{2,3}

Signed-off-by: Francesco Riosa  gmail.com>
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-gfx/rawtherapee/Manifest   |  2 -
 media-gfx/rawtherapee/rawtherapee-5.2.ebuild | 65 ---
 media-gfx/rawtherapee/rawtherapee-5.3.ebuild | 66 
 3 files changed, 133 deletions(-)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index 0baf64c88ae..6d394054842 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1,4 +1,2 @@
-DIST rawtherapee-5.2.tar.xz 10819936 BLAKE2B 
6f4474fdf86efe177861a1a4da2178f75c3589b9d5649d43f7b70a13e51c9658af74fbaea4528e5dc34287b8109cc30608028ca348eb2186d7a2452322139169
 SHA512 
ed2ff2e96ad4f0c50ebbc8a232d85b8c5b118bc956bc26aa72beb4741f464c46900aa668127fe7bdc963fabb5c2e2931c50cf784d1fc4fbc4dce3090412a1b5d
-DIST rawtherapee-5.3.tar.xz 11042548 BLAKE2B 
7e0697fc0c0e8b3078ccf1f9079a4adebf7c12e8e91e1d5499f304e93bda1d025540d3744b719535133f249941e2b4dcee98189d20e3009eceeb8531252bfd1a
 SHA512 
8a9a7fe98ba0c8e03e964c809afc90afcc03a31b8b88e0f9e2ab4ecdc1fbe4712231f692d0585d95d638cae7171393e01860296149fc9dfbd86ecb35c3709284
 DIST rawtherapee-5.4.tar.xz 11991988 BLAKE2B 
625b4e04b82f34d994e0f23f6aea6af4b0a2af2b6a325e916e7b51f8a83b568b65bef47a489be547d1e2437f9637b2ecea0d69d95bfabd53b61b11b46d9e36bc
 SHA512 
6dc9a82202b80675f90eeb8f08c4484700561861f296546ae9425c6e9603f6e84bdc0859896c333d2367cc0b371c6bb6ab2fe36ff3d6f56419cbf18a58d8ef89
 DIST rawtherapee-5.5.tar.xz 12163556 BLAKE2B 
6251655b5bcc8b805eda584e386771b14dec15a2d8a96518bdb79d7e31354c78eb263f6964d7f6ffaeb35a127d3f775c9c39dfebf072a0bfc14d284358acd03c
 SHA512 
fcb546ad6e420200a821c89555ec259140995a3bc69429d2ecb648632c02e10ffceebbd7296e879c93b53ad8efa45ea71336d936cd90cead723e70e8932a413a

diff --git a/media-gfx/rawtherapee/rawtherapee-5.2.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.2.ebuild
deleted file mode 100644
index 652e35577ae..000
--- a/media-gfx/rawtherapee/rawtherapee-5.2.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils toolchain-funcs flag-o-matic
-
-DESCRIPTION="A powerful cross-platform raw image processing program"
-HOMEPAGE="http://www.rawtherapee.com/;
-
-MY_P=${P/_rc/-rc}
-SRC_URI="http://rawtherapee.com/shared/source/${MY_P}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE="openmp"
-
-RDEPEND="x11-libs/gtk+:3
-   dev-libs/expat
-   dev-libs/libsigc++:2
-   media-libs/libcanberra[gtk3]
-   media-libs/tiff:0
-   media-libs/libpng:0
-   media-libs/libiptcdata
-   media-libs/lcms:2
-   sci-libs/fftw:3.0
-   sys-libs/zlib
-   virtual/jpeg:0"
-DEPEND="${RDEPEND}
-   app-arch/xz-utils
-   virtual/pkgconfig
-   dev-cpp/gtkmm:3.0"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_pretend() {
-   if use openmp ; then
-   tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
-   fi
-   # https://bugs.gentoo.org/show_bug.cgi?id=606896#c2
-   # https://github.com/vivo75/vivovl/issues/2
-   if [[ $(get-flag -O3) != "-O3" ]] ; then
-   ewarn "upstream suggest using {C,CXX}FLAGS+=\"-O3\" for better 
performances"
-   ewarn "see bug#606896#c2"
-   ewarn "take a look at 
https://wiki.gentoo.org/wiki//etc/portage/package.env;
-   ewarn "for suggestion on how to change environment for a single 
package"
-   fi
-}
-
-src_configure() {
-   filter-flags -ffast-math
-   # 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"
-   )
-   cmake-utils_src_configure
-}

diff --git a/media-gfx/rawtherapee/rawtherapee-5.3.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.3.ebuild
deleted file mode 100644
index a345df7ead1..000
--- a/media-gfx/rawtherapee/rawtherapee-5.3.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils toolchain-funcs flag-o-matic
-
-DESCRIPTION="A powerful cross-platform raw image processing program"
-HOMEPAGE="http://www.rawtherapee.com/;
-
-MY_P=${P/_rc/-rc}

[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2019-01-04 Thread Andreas Sturmlechner
commit: f648cee6a5d8081bf41b86df2054f0280114af82
Author: Francesco Riosa  gmail  com>
AuthorDate: Mon Dec 17 17:40:06 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Jan  4 12:59:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f648cee6

media-gfx/rawtherapee: version bump to 5.5

see announcement, section "News Relevant to Package Maintainers" to the
end of the page:
https://rawtherapee.com/blog/rawtherapee-5.5-released

Signed-off-by: Francesco Riosa  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10652
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 media-gfx/rawtherapee/Manifest   |  1 +
 media-gfx/rawtherapee/rawtherapee-5.5.ebuild | 71 
 2 files changed, 72 insertions(+)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index 7e3e38763d1..0baf64c88ae 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1,3 +1,4 @@
 DIST rawtherapee-5.2.tar.xz 10819936 BLAKE2B 
6f4474fdf86efe177861a1a4da2178f75c3589b9d5649d43f7b70a13e51c9658af74fbaea4528e5dc34287b8109cc30608028ca348eb2186d7a2452322139169
 SHA512 
ed2ff2e96ad4f0c50ebbc8a232d85b8c5b118bc956bc26aa72beb4741f464c46900aa668127fe7bdc963fabb5c2e2931c50cf784d1fc4fbc4dce3090412a1b5d
 DIST rawtherapee-5.3.tar.xz 11042548 BLAKE2B 
7e0697fc0c0e8b3078ccf1f9079a4adebf7c12e8e91e1d5499f304e93bda1d025540d3744b719535133f249941e2b4dcee98189d20e3009eceeb8531252bfd1a
 SHA512 
8a9a7fe98ba0c8e03e964c809afc90afcc03a31b8b88e0f9e2ab4ecdc1fbe4712231f692d0585d95d638cae7171393e01860296149fc9dfbd86ecb35c3709284
 DIST rawtherapee-5.4.tar.xz 11991988 BLAKE2B 
625b4e04b82f34d994e0f23f6aea6af4b0a2af2b6a325e916e7b51f8a83b568b65bef47a489be547d1e2437f9637b2ecea0d69d95bfabd53b61b11b46d9e36bc
 SHA512 
6dc9a82202b80675f90eeb8f08c4484700561861f296546ae9425c6e9603f6e84bdc0859896c333d2367cc0b371c6bb6ab2fe36ff3d6f56419cbf18a58d8ef89
+DIST rawtherapee-5.5.tar.xz 12163556 BLAKE2B 
6251655b5bcc8b805eda584e386771b14dec15a2d8a96518bdb79d7e31354c78eb263f6964d7f6ffaeb35a127d3f775c9c39dfebf072a0bfc14d284358acd03c
 SHA512 
fcb546ad6e420200a821c89555ec259140995a3bc69429d2ecb648632c02e10ffceebbd7296e879c93b53ad8efa45ea71336d936cd90cead723e70e8932a413a

diff --git a/media-gfx/rawtherapee/rawtherapee-5.5.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.5.ebuild
new file mode 100644
index 000..7ac0084fb60
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-5.5.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils toolchain-funcs flag-o-matic gnome2-utils xdg-utils
+
+MY_P=${P/_rc/-rc}
+DESCRIPTION="A powerful cross-platform raw image processing program"
+HOMEPAGE="http://www.rawtherapee.com/;
+SRC_URI="http://rawtherapee.com/shared/source/${MY_P}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="openmp"
+
+RDEPEND="x11-libs/gtk+:3
+   dev-libs/expat
+   dev-libs/libsigc++:2
+   media-libs/libcanberra[gtk3]
+   media-libs/tiff:0
+   media-libs/libpng:0
+   media-libs/libiptcdata
+   media-libs/lcms:2
+   media-libs/lensfun
+   sci-libs/fftw:3.0
+   sys-libs/zlib
+   virtual/jpeg:0"
+DEPEND="${RDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   dev-cpp/gtkmm:3.0"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_pretend() {
+   if use openmp ; then
+   tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
+   fi
+}
+
+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"
+   )
+   cmake-utils_src_configure
+}
+
+pkg_postinst() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2019-01-04 Thread Andreas Sturmlechner
commit: 8adcdf4c5ca3bb6f9112b3304c9234b08e978591
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Jan  4 11:36:54 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Jan  4 12:59:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8adcdf4c

media-gfx/rawtherapee: Sort DEPENDs

Signed-off-by: Andreas Sturmlechner  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-gfx/rawtherapee/rawtherapee-5.5.ebuild | 21 +++--
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.5.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.5.ebuild
index 7ac0084fb60..0a6873bf787 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.5.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.5.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit cmake-utils toolchain-funcs flag-o-matic gnome2-utils xdg-utils
+inherit cmake-utils flag-o-matic gnome2-utils toolchain-funcs xdg-utils
 
 MY_P=${P/_rc/-rc}
 DESCRIPTION="A powerful cross-platform raw image processing program"
@@ -16,22 +16,23 @@ KEYWORDS="~amd64 ~x86"
 
 IUSE="openmp"
 
-RDEPEND="x11-libs/gtk+:3
+RDEPEND="
dev-libs/expat
dev-libs/libsigc++:2
-   media-libs/libcanberra[gtk3]
-   media-libs/tiff:0
-   media-libs/libpng:0
-   media-libs/libiptcdata
media-libs/lcms:2
media-libs/lensfun
+   media-libs/libcanberra[gtk3]
+   media-libs/libiptcdata
+   media-libs/libpng:0
+   media-libs/tiff:0
sci-libs/fftw:3.0
sys-libs/zlib
-   virtual/jpeg:0"
+   virtual/jpeg:0
+   x11-libs/gtk+:3"
 DEPEND="${RDEPEND}
app-arch/xz-utils
-   virtual/pkgconfig
-   dev-cpp/gtkmm:3.0"
+   dev-cpp/gtkmm:3.0
+   virtual/pkgconfig"
 
 S="${WORKDIR}/${MY_P}"
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2018-10-27 Thread Mikle Kolyada
commit: efa1e684a0dc929e967cded0f236e542a1eb7200
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Oct 27 19:00:10 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Oct 27 19:00:10 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efa1e684

media-gfx/rawtherapee: amd64 stable wrt bug #668498

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 media-gfx/rawtherapee/rawtherapee-5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.4.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.4.ebuild
index 02f58d5e2e5..0b50baaa01c 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.4.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.4.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 IUSE="openmp"
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2018-10-25 Thread Thomas Deutschmann
commit: 2c0790125b948de893d47278f7bd33917db38b3d
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Oct 26 00:37:17 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Oct 26 00:51:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c079012

media-gfx/rawtherapee: x86 stable (bug #668498)

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-gfx/rawtherapee/rawtherapee-5.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.4.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.4.ebuild
index 443bc8c4378..02f58d5e2e5 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.4.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,7 +12,7 @@ SRC_URI="http://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 IUSE="openmp"
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2018-03-29 Thread Michał Górny
commit: 74218d23a8e2b45a651dc9ecbac74c5dd6cd3607
Author: Francesco Riosa  gmail  com>
AuthorDate: Sat Mar 24 20:20:52 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 29 12:34:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74218d23

media-gfx/rawtherapee: version bump to 5.4

Package-Manager: Portage-2.3.24, Repoman-2.3.6

.

 media-gfx/rawtherapee/Manifest   |  1 +
 media-gfx/rawtherapee/rawtherapee-5.4.ebuild | 71 
 2 files changed, 72 insertions(+)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index b4dd5dca02c..dff37b91cae 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1,3 +1,4 @@
 DIST rawtherapee-5.1.tar.xz 10785516 BLAKE2B 
5c8ae3f90c4ef4bc352b95761a5a2fd94e1541f6c7cec749c0985c95b85a7fd7cd5e96d439639513715b463c318d0f7b000cf48582b5391b944fc7a6ecaa3be8
 SHA512 
6a881fe24a4109c7db39cb8bee500eb2f9357c479ddb32b3c9b7987aa5d12e4f10083533b5657a0e0f0713fe4ebc58e0dcf204eb8d5c5b656f3e7867a775ab19
 DIST rawtherapee-5.2.tar.xz 10819936 BLAKE2B 
6f4474fdf86efe177861a1a4da2178f75c3589b9d5649d43f7b70a13e51c9658af74fbaea4528e5dc34287b8109cc30608028ca348eb2186d7a2452322139169
 SHA512 
ed2ff2e96ad4f0c50ebbc8a232d85b8c5b118bc956bc26aa72beb4741f464c46900aa668127fe7bdc963fabb5c2e2931c50cf784d1fc4fbc4dce3090412a1b5d
 DIST rawtherapee-5.3.tar.xz 11042548 BLAKE2B 
7e0697fc0c0e8b3078ccf1f9079a4adebf7c12e8e91e1d5499f304e93bda1d025540d3744b719535133f249941e2b4dcee98189d20e3009eceeb8531252bfd1a
 SHA512 
8a9a7fe98ba0c8e03e964c809afc90afcc03a31b8b88e0f9e2ab4ecdc1fbe4712231f692d0585d95d638cae7171393e01860296149fc9dfbd86ecb35c3709284
+DIST rawtherapee-5.4.tar.xz 11991988 BLAKE2B 
625b4e04b82f34d994e0f23f6aea6af4b0a2af2b6a325e916e7b51f8a83b568b65bef47a489be547d1e2437f9637b2ecea0d69d95bfabd53b61b11b46d9e36bc
 SHA512 
6dc9a82202b80675f90eeb8f08c4484700561861f296546ae9425c6e9603f6e84bdc0859896c333d2367cc0b371c6bb6ab2fe36ff3d6f56419cbf18a58d8ef89

diff --git a/media-gfx/rawtherapee/rawtherapee-5.4.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.4.ebuild
new file mode 100644
index 000..443bc8c4378
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-5.4.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils toolchain-funcs flag-o-matic gnome2-utils xdg-utils
+
+MY_P=${P/_rc/-rc}
+DESCRIPTION="A powerful cross-platform raw image processing program"
+HOMEPAGE="http://www.rawtherapee.com/;
+SRC_URI="http://rawtherapee.com/shared/source/${MY_P}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="openmp"
+
+RDEPEND="x11-libs/gtk+:3
+   dev-libs/expat
+   dev-libs/libsigc++:2
+   media-libs/libcanberra[gtk3]
+   media-libs/tiff:0
+   media-libs/libpng:0
+   media-libs/libiptcdata
+   media-libs/lcms:2
+   media-libs/lensfun
+   sci-libs/fftw:3.0
+   sys-libs/zlib
+   virtual/jpeg:0"
+DEPEND="${RDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   dev-cpp/gtkmm:3.0"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_pretend() {
+   if use openmp ; then
+   tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
+   fi
+}
+
+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"
+   )
+   cmake-utils_src_configure
+}
+
+pkg_postinst() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+}
+
+pkg_postrm() {
+   gnome2_icon_cache_update
+   xdg_desktop_database_update
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2018-03-29 Thread Michał Górny
commit: 957948b71d97656663b95fd770e687306df2e863
Author: Francesco Riosa  gmail  com>
AuthorDate: Sat Mar 24 20:24:39 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 29 12:38:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=957948b7

media-gfx/rawtherapee: remove old

Closes: https://github.com/gentoo/gentoo/pull/7536
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-gfx/rawtherapee/Manifest   |  1 -
 media-gfx/rawtherapee/rawtherapee-5.1.ebuild | 64 
 2 files changed, 65 deletions(-)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index dff37b91cae..7e3e38763d1 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1,4 +1,3 @@
-DIST rawtherapee-5.1.tar.xz 10785516 BLAKE2B 
5c8ae3f90c4ef4bc352b95761a5a2fd94e1541f6c7cec749c0985c95b85a7fd7cd5e96d439639513715b463c318d0f7b000cf48582b5391b944fc7a6ecaa3be8
 SHA512 
6a881fe24a4109c7db39cb8bee500eb2f9357c479ddb32b3c9b7987aa5d12e4f10083533b5657a0e0f0713fe4ebc58e0dcf204eb8d5c5b656f3e7867a775ab19
 DIST rawtherapee-5.2.tar.xz 10819936 BLAKE2B 
6f4474fdf86efe177861a1a4da2178f75c3589b9d5649d43f7b70a13e51c9658af74fbaea4528e5dc34287b8109cc30608028ca348eb2186d7a2452322139169
 SHA512 
ed2ff2e96ad4f0c50ebbc8a232d85b8c5b118bc956bc26aa72beb4741f464c46900aa668127fe7bdc963fabb5c2e2931c50cf784d1fc4fbc4dce3090412a1b5d
 DIST rawtherapee-5.3.tar.xz 11042548 BLAKE2B 
7e0697fc0c0e8b3078ccf1f9079a4adebf7c12e8e91e1d5499f304e93bda1d025540d3744b719535133f249941e2b4dcee98189d20e3009eceeb8531252bfd1a
 SHA512 
8a9a7fe98ba0c8e03e964c809afc90afcc03a31b8b88e0f9e2ab4ecdc1fbe4712231f692d0585d95d638cae7171393e01860296149fc9dfbd86ecb35c3709284
 DIST rawtherapee-5.4.tar.xz 11991988 BLAKE2B 
625b4e04b82f34d994e0f23f6aea6af4b0a2af2b6a325e916e7b51f8a83b568b65bef47a489be547d1e2437f9637b2ecea0d69d95bfabd53b61b11b46d9e36bc
 SHA512 
6dc9a82202b80675f90eeb8f08c4484700561861f296546ae9425c6e9603f6e84bdc0859896c333d2367cc0b371c6bb6ab2fe36ff3d6f56419cbf18a58d8ef89

diff --git a/media-gfx/rawtherapee/rawtherapee-5.1.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.1.ebuild
deleted file mode 100644
index 543edfb7101..000
--- a/media-gfx/rawtherapee/rawtherapee-5.1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils toolchain-funcs flag-o-matic
-
-DESCRIPTION="A powerful cross-platform raw image processing program"
-HOMEPAGE="http://www.rawtherapee.com/;
-
-MY_P=${P/_rc/-rc}
-SRC_URI="http://rawtherapee.com/shared/source/${MY_P}.tar.xz;
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="bzip2 openmp"
-
-RDEPEND="bzip2? ( app-arch/bzip2 )
-   x11-libs/gtk+:3
-   dev-libs/expat
-   dev-libs/libsigc++:2
-   media-libs/libcanberra[gtk3]
-   media-libs/tiff:0
-   media-libs/libpng:0
-   media-libs/libiptcdata
-   media-libs/lcms:2
-   sci-libs/fftw:3.0
-   sys-libs/zlib
-   virtual/jpeg:0"
-DEPEND="${RDEPEND}
-   app-arch/xz-utils
-   virtual/pkgconfig
-   dev-cpp/gtkmm:3.0"
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_pretend() {
-   if use openmp ; then
-   tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
-   fi
-   # https://bugs.gentoo.org/show_bug.cgi?id=606896#c2
-   # https://github.com/vivo75/vivovl/issues/2
-   if [[ $(get-flag -O3) != "-O3" ]] ; then
-   ewarn "upstream suggest using {C,CXX}FLAGS+=\"-O3\" for better 
performances"
-   ewarn "see bug#606896#c2"
-   ewarn "take a look at 
https://wiki.gentoo.org/wiki//etc/portage/package.env;
-   ewarn "for suggestion on how to change environment for a single 
package"
-   fi
-}
-
-src_configure() {
-   filter-flags -ffast-math
-   local mycmakeargs=(
-   -DOPTION_OMP=$(usex openmp)
-   -DBZIP=$(usex bzip2)
-   -DDOCDIR=/usr/share/doc/${PF}
-   -DCREDITSDIR=/usr/share/${PN}
-   -DLICENCEDIR=/usr/share/${PN}
-   -DCACHE_NAME_SUFFIX=""
-   -DCMAKE_CXX_FLAGS="-std=c++11"
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2017-10-26 Thread Thomas Deutschmann
commit: b01fb55f432adf3ace805d750d87790316d34219
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu Oct 26 18:45:52 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu Oct 26 18:53:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b01fb55f

media-gfx/rawtherapee: x86 stable (bug #618324)

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 media-gfx/rawtherapee/rawtherapee-5.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-5.2.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.2.ebuild
index 38848a678a8..02b87f29039 100644
--- a/media-gfx/rawtherapee/rawtherapee-5.2.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-5.2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://rawtherapee.com/shared/source/${MY_P}.tar.xz;
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 IUSE="openmp"
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2017-10-03 Thread Patrice Clement
commit: 91b75294cb4e2e73a852b1000848a699ecf53ce2
Author: Francesco Riosa  gmail  com>
AuthorDate: Mon Oct  2 13:10:49 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue Oct  3 21:52:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91b75294

media-gfx/rawtherapee: version bump to 5.3.

Closes: https://github.com/gentoo/gentoo/pull/5837

 media-gfx/rawtherapee/Manifest   |  1 +
 media-gfx/rawtherapee/rawtherapee-5.3.ebuild | 66 
 2 files changed, 67 insertions(+)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index 67032d336ab..761e9363690 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1,2 +1,3 @@
 DIST rawtherapee-5.1.tar.xz 10785516 SHA256 
fb742065a6b2e1b89df67c70395e52ee1ebd537c86dfc473b41e7af171655b67 SHA512 
6a881fe24a4109c7db39cb8bee500eb2f9357c479ddb32b3c9b7987aa5d12e4f10083533b5657a0e0f0713fe4ebc58e0dcf204eb8d5c5b656f3e7867a775ab19
 WHIRLPOOL 
0fc24843015750ab4747311d5ac6f40e5ebd9cedaa9c78e73c7fa7250dcbda9ea1260b7f6fc9a0c91559be4530a84e3826f991d9b9199d7caf25691ad78fd78b
 DIST rawtherapee-5.2.tar.xz 10819936 SHA256 
5c32679bfb77eca36c26288483be75696086459b7a59bd4437e371ea1bf827b6 SHA512 
ed2ff2e96ad4f0c50ebbc8a232d85b8c5b118bc956bc26aa72beb4741f464c46900aa668127fe7bdc963fabb5c2e2931c50cf784d1fc4fbc4dce3090412a1b5d
 WHIRLPOOL 
02c71705b76df25e86b6ba5bf6439a3a2966e84dfa968b0a82c1dbe0c6297af826d26e973a56db21f5821d0a4eead6c05422bc6cb36269ed18b829bad1df
+DIST rawtherapee-5.3.tar.xz 11042548 SHA256 
97959c946b7cc346affce53efc4bf6eca4125873343f96d1fbe43a5c717f3ef8 SHA512 
8a9a7fe98ba0c8e03e964c809afc90afcc03a31b8b88e0f9e2ab4ecdc1fbe4712231f692d0585d95d638cae7171393e01860296149fc9dfbd86ecb35c3709284
 WHIRLPOOL 
4ad4824ec499a3c10ca20fae5d95e36bc5503a5c878219d4fae12116b96d99c8f02a4017932e753284a93d6d01302cb64363fb953af600fb223b11758ae286ff

diff --git a/media-gfx/rawtherapee/rawtherapee-5.3.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.3.ebuild
new file mode 100644
index 000..a345df7ead1
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-5.3.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils toolchain-funcs flag-o-matic
+
+DESCRIPTION="A powerful cross-platform raw image processing program"
+HOMEPAGE="http://www.rawtherapee.com/;
+
+MY_P=${P/_rc/-rc}
+SRC_URI="http://rawtherapee.com/shared/source/${MY_P}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="openmp"
+
+RDEPEND="x11-libs/gtk+:3
+   dev-libs/expat
+   dev-libs/libsigc++:2
+   media-libs/libcanberra[gtk3]
+   media-libs/tiff:0
+   media-libs/libpng:0
+   media-libs/libiptcdata
+   media-libs/lcms:2
+   media-libs/lensfun
+   sci-libs/fftw:3.0
+   sys-libs/zlib
+   virtual/jpeg:0"
+DEPEND="${RDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   dev-cpp/gtkmm:3.0"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_pretend() {
+   if use openmp ; then
+   tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
+   fi
+   # https://bugs.gentoo.org/show_bug.cgi?id=606896#c2
+   # https://github.com/vivo75/vivovl/issues/2
+   if [[ $(get-flag -O3) != "-O3" ]] ; then
+   ewarn "upstream suggest using {C,CXX}FLAGS+=\"-O3\" for better 
performances"
+   ewarn "see bug#606896#c2"
+   ewarn "take a look at 
https://wiki.gentoo.org/wiki//etc/portage/package.env;
+   ewarn "for suggestion on how to change environment for a single 
package"
+   fi
+}
+
+src_configure() {
+   filter-flags -ffast-math
+   # 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"
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/files/, media-gfx/rawtherapee/

2017-08-06 Thread Patrice Clement
commit: f4a7cee26469d2116e815c907e618707054a7467
Author: Francesco Riosa  gmail  com>
AuthorDate: Sun Aug  6 16:30:09 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Aug  6 22:03:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4a7cee2

media-gfx/rawtherapee-5.2: version bump + cleanup.

Gentoo-Bug: https://bugs.gentoo.org/626108
Gentoo-Bug: https://bugs.gentoo.org/520932
Gentoo-Bug: https://bugs.gentoo.org/615058

Closes: https://github.com/gentoo/gentoo/pull/5326

 media-gfx/rawtherapee/Manifest |  3 +-
 .../files/rawtherapee-4.2-CVE-2015-3885.patch  | 28 --
 .../files/rawtherapee-4.2-build-cxx11-2.patch  | 14 -
 .../files/rawtherapee-4.2-build-cxx11.patch| 20 ---
 .../rawtherapee/files/rawtherapee-4.2-cxx11.patch  | 27 --
 .../rawtherapee/files/rawtherapee-4.2-sigc26.patch | 47 -
 media-gfx/rawtherapee/metadata.xml |  2 +-
 media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild| 61 --
 ...wtherapee-5.0.ebuild => rawtherapee-5.2.ebuild} | 17 +++---
 9 files changed, 11 insertions(+), 208 deletions(-)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index 63d0437721a..67032d336ab 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1,3 +1,2 @@
-DIST rawtherapee-4.2.tar.xz 7787664 SHA256 
fa4c13e8842df096b19d2dabaed5a61f5f9d4547f7b4f0dc6b77f80bdec16479 SHA512 
feec61aeb84804cf01ff03fa9d7309f0eb3c04c43818c8397cc6f3ee762aca19484bce7594414d2141248b9740bdd4269fd86f76dcf391c61d4647fa169d48f6
 WHIRLPOOL 
56cc3e95ae7484cb91cd6c5fd32504b3fbfb17b9d50a38fa490300ff1b096e80a1d5060db3619c34f8b214dd413bfaab57a9748f5a365a87d257e75c753f307a
-DIST rawtherapee-5.0-gtk3.tar.xz 10442940 SHA256 
25c6bb738535d1efa905bd21fb732bdea352d589d9740a730ec409a49e7eacd8 SHA512 
febcde98ada1059d6553a1dc2a86235adaf5fb8ca81b9f744748d3e8ef52109048ce43996f261796b2f345f2ce4a27c4ccc219b33ccfb79c2c2fa6476f19b41a
 WHIRLPOOL 
479a7f37f523c533cf268edc8f2c710ded867febc13df3c4156040ca4d36ad86ff4af2613e9155506eb6a4620d4323fdc3d3f1374c4332393ba57b4b01bcc948
 DIST rawtherapee-5.1.tar.xz 10785516 SHA256 
fb742065a6b2e1b89df67c70395e52ee1ebd537c86dfc473b41e7af171655b67 SHA512 
6a881fe24a4109c7db39cb8bee500eb2f9357c479ddb32b3c9b7987aa5d12e4f10083533b5657a0e0f0713fe4ebc58e0dcf204eb8d5c5b656f3e7867a775ab19
 WHIRLPOOL 
0fc24843015750ab4747311d5ac6f40e5ebd9cedaa9c78e73c7fa7250dcbda9ea1260b7f6fc9a0c91559be4530a84e3826f991d9b9199d7caf25691ad78fd78b
+DIST rawtherapee-5.2.tar.xz 10819936 SHA256 
5c32679bfb77eca36c26288483be75696086459b7a59bd4437e371ea1bf827b6 SHA512 
ed2ff2e96ad4f0c50ebbc8a232d85b8c5b118bc956bc26aa72beb4741f464c46900aa668127fe7bdc963fabb5c2e2931c50cf784d1fc4fbc4dce3090412a1b5d
 WHIRLPOOL 
02c71705b76df25e86b6ba5bf6439a3a2966e84dfa968b0a82c1dbe0c6297af826d26e973a56db21f5821d0a4eead6c05422bc6cb36269ed18b829bad1df

diff --git a/media-gfx/rawtherapee/files/rawtherapee-4.2-CVE-2015-3885.patch 
b/media-gfx/rawtherapee/files/rawtherapee-4.2-CVE-2015-3885.patch
deleted file mode 100644
index 3de7d7e6b12..000
--- a/media-gfx/rawtherapee/files/rawtherapee-4.2-CVE-2015-3885.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Author: Philip Rinn 
-Description: Fix CVE-2015-3885
-Source: 
https://github.com/rawstudio/rawstudio/commit/983bda1f0fa5fa86884381208274198a620f006e
-Last-update: 2015-05-14
 a/rtengine/dcraw.c
-+++ b/rtengine/dcraw.c
-@@ -824,7 +824,8 @@
- 
- int CLASS ljpeg_start (struct jhead *jh, int info_only)
- {
--  int c, tag, len;
-+  int c, tag;
-+  ushort len;
-   uchar data[0x1];
-   const uchar *dp;
- 
 a/rtengine/dcraw.cc
-+++ b/rtengine/dcraw.cc
-@@ -787,7 +787,8 @@
- 
- int CLASS ljpeg_start (struct jhead *jh, int info_only)
- {
--  int c, tag, len;
-+  int c, tag;
-+  ushort len;
-   uchar data[0x1];
-   const uchar *dp;
- 

diff --git a/media-gfx/rawtherapee/files/rawtherapee-4.2-build-cxx11-2.patch 
b/media-gfx/rawtherapee/files/rawtherapee-4.2-build-cxx11-2.patch
deleted file mode 100644
index 0d79e25d649..000
--- a/media-gfx/rawtherapee/files/rawtherapee-4.2-build-cxx11-2.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Author: Philip Rinn 
-Description: Fix build with C++11 as char is unsigned on some architectures
-Last-update: 2015-11-04
 a/rtengine/dcraw.cc
-+++ b/rtengine/dcraw.cc
-@@ -2054,7 +2054,7 @@
- 
- void CLASS kodak_radc_load_raw()
- {
--  static const char src[] = {
-+  static const signed char src[] = {
- 1,1, 2,3, 3,4, 4,2, 5,7, 6,5, 7,6, 7,8,
- 1,0, 2,1, 3,3, 4,4, 5,2, 6,7, 7,6, 8,5, 8,8,
- 2,1, 2,3, 3,0, 3,2, 3,4, 4,6, 5,5, 6,7, 6,8,

diff --git a/media-gfx/rawtherapee/files/rawtherapee-4.2-build-cxx11.patch 
b/media-gfx/rawtherapee/files/rawtherapee-4.2-build-cxx11.patch
deleted file mode 100644
index 4832dc3f67a..000
--- a/media-gfx/rawtherapee/files/rawtherapee-4.2-build-cxx11.patch
+++ /dev/null
@@ -1,20 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2017-05-23 Thread Patrice Clement
commit: 0a484189d652c46a45824f1d10e046280bc1dd93
Author: Francesco Riosa  gmail  com>
AuthorDate: Tue May 16 19:28:22 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue May 23 21:31:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a484189

media-gfx/rawtherapee: version bump 5.1.

Gentoo-Bug: https://bugs.gentoo.org/618152
Closes: https://github.com/gentoo/gentoo/pull/4647

 media-gfx/rawtherapee/Manifest  |  1 +
 media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild |  8 ++--
 media-gfx/rawtherapee/rawtherapee-5.1.ebuild| 64 +
 3 files changed, 69 insertions(+), 4 deletions(-)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index efc46b3bc7b..63d0437721a 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1,2 +1,3 @@
 DIST rawtherapee-4.2.tar.xz 7787664 SHA256 
fa4c13e8842df096b19d2dabaed5a61f5f9d4547f7b4f0dc6b77f80bdec16479 SHA512 
feec61aeb84804cf01ff03fa9d7309f0eb3c04c43818c8397cc6f3ee762aca19484bce7594414d2141248b9740bdd4269fd86f76dcf391c61d4647fa169d48f6
 WHIRLPOOL 
56cc3e95ae7484cb91cd6c5fd32504b3fbfb17b9d50a38fa490300ff1b096e80a1d5060db3619c34f8b214dd413bfaab57a9748f5a365a87d257e75c753f307a
 DIST rawtherapee-5.0-gtk3.tar.xz 10442940 SHA256 
25c6bb738535d1efa905bd21fb732bdea352d589d9740a730ec409a49e7eacd8 SHA512 
febcde98ada1059d6553a1dc2a86235adaf5fb8ca81b9f744748d3e8ef52109048ce43996f261796b2f345f2ce4a27c4ccc219b33ccfb79c2c2fa6476f19b41a
 WHIRLPOOL 
479a7f37f523c533cf268edc8f2c710ded867febc13df3c4156040ca4d36ad86ff4af2613e9155506eb6a4620d4323fdc3d3f1374c4332393ba57b4b01bcc948
+DIST rawtherapee-5.1.tar.xz 10785516 SHA256 
fb742065a6b2e1b89df67c70395e52ee1ebd537c86dfc473b41e7af171655b67 SHA512 
6a881fe24a4109c7db39cb8bee500eb2f9357c479ddb32b3c9b7987aa5d12e4f10083533b5657a0e0f0713fe4ebc58e0dcf204eb8d5c5b656f3e7867a775ab19
 WHIRLPOOL 
0fc24843015750ab4747311d5ac6f40e5ebd9cedaa9c78e73c7fa7250dcbda9ea1260b7f6fc9a0c91559be4530a84e3826f991d9b9199d7caf25691ad78fd78b

diff --git a/media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild 
b/media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild
index 3c58e53eea2..71ee7204dde 100644
--- a/media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -21,13 +21,13 @@ RDEPEND="bzip2? ( app-arch/bzip2 )
dev-libs/expat
dev-libs/libsigc++:2
media-libs/libcanberra[gtk]
-   media-libs/tiff
-   media-libs/libpng
+   media-libs/tiff:0
+   media-libs/libpng:0
media-libs/libiptcdata
media-libs/lcms:2
sci-libs/fftw:3.0
sys-libs/zlib
-   virtual/jpeg"
+   virtual/jpeg:0"
 DEPEND="${RDEPEND}
app-arch/xz-utils
virtual/pkgconfig"

diff --git a/media-gfx/rawtherapee/rawtherapee-5.1.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.1.ebuild
new file mode 100644
index 000..543edfb7101
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-5.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils toolchain-funcs flag-o-matic
+
+DESCRIPTION="A powerful cross-platform raw image processing program"
+HOMEPAGE="http://www.rawtherapee.com/;
+
+MY_P=${P/_rc/-rc}
+SRC_URI="http://rawtherapee.com/shared/source/${MY_P}.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bzip2 openmp"
+
+RDEPEND="bzip2? ( app-arch/bzip2 )
+   x11-libs/gtk+:3
+   dev-libs/expat
+   dev-libs/libsigc++:2
+   media-libs/libcanberra[gtk3]
+   media-libs/tiff:0
+   media-libs/libpng:0
+   media-libs/libiptcdata
+   media-libs/lcms:2
+   sci-libs/fftw:3.0
+   sys-libs/zlib
+   virtual/jpeg:0"
+DEPEND="${RDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   dev-cpp/gtkmm:3.0"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_pretend() {
+   if use openmp ; then
+   tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
+   fi
+   # https://bugs.gentoo.org/show_bug.cgi?id=606896#c2
+   # https://github.com/vivo75/vivovl/issues/2
+   if [[ $(get-flag -O3) != "-O3" ]] ; then
+   ewarn "upstream suggest using {C,CXX}FLAGS+=\"-O3\" for better 
performances"
+   ewarn "see bug#606896#c2"
+   ewarn "take a look at 
https://wiki.gentoo.org/wiki//etc/portage/package.env;
+   ewarn "for suggestion on how to change environment for a single 
package"
+   fi
+}
+
+src_configure() {
+   filter-flags -ffast-math
+   local mycmakeargs=(
+   -DOPTION_OMP=$(usex openmp)
+   -DBZIP=$(usex bzip2)
+   -DDOCDIR=/usr/share/doc/${PF}
+   

[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2017-03-22 Thread Marek Szuba
commit: ad4ca02df6effafc2e920b96f4e17f6200d687c3
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Mar 22 10:44:29 2017 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Mar 22 10:45:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad4ca02d

media-gfx/rawtherapee: new maintainer

Gentoo-Bug: 613308

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-gfx/rawtherapee/metadata.xml | 16 
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/media-gfx/rawtherapee/metadata.xml 
b/media-gfx/rawtherapee/metadata.xml
index 19bf1be2581..c6263623297 100644
--- a/media-gfx/rawtherapee/metadata.xml
+++ b/media-gfx/rawtherapee/metadata.xml
@@ -1,8 +1,16 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-   graph...@gentoo.org
-   Gentoo Graphics Project
-
+   
+   vivo75+gentoo_bugzi...@gmail.com
+   Francesco Riosa
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   graph...@gentoo.org
+   Gentoo Graphics Project
+   
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2017-03-20 Thread Luca Barbato
commit: 31190d713dfa98b06b29646786e6ab2d3b5653ed
Author: Francesco Riosa  gaikai  com>
AuthorDate: Mon Mar 20 12:00:05 2017 +
Commit: Luca Barbato  gentoo  org>
CommitDate: Mon Mar 20 13:31:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31190d71

media-gfx/rawtherapee: version bump

New version, with a lot of new features and a switch from gtk2 to gtk3.
Thanks Franz Fellner for converting the ebuild fromn git to tarballs
and Marek Szuba (marecki) for suggestion on how to improve it.

See bug #606896 for details, #c13 for Franz ebuild and #c17 for Marek
suggestions.

Signed-off-by: Luca Barbato  gentoo.org>

 media-gfx/rawtherapee/Manifest   |  1 +
 media-gfx/rawtherapee/rawtherapee-5.0.ebuild | 64 
 2 files changed, 65 insertions(+)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index 69203b49593..efc46b3bc7b 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1 +1,2 @@
 DIST rawtherapee-4.2.tar.xz 7787664 SHA256 
fa4c13e8842df096b19d2dabaed5a61f5f9d4547f7b4f0dc6b77f80bdec16479 SHA512 
feec61aeb84804cf01ff03fa9d7309f0eb3c04c43818c8397cc6f3ee762aca19484bce7594414d2141248b9740bdd4269fd86f76dcf391c61d4647fa169d48f6
 WHIRLPOOL 
56cc3e95ae7484cb91cd6c5fd32504b3fbfb17b9d50a38fa490300ff1b096e80a1d5060db3619c34f8b214dd413bfaab57a9748f5a365a87d257e75c753f307a
+DIST rawtherapee-5.0-gtk3.tar.xz 10442940 SHA256 
25c6bb738535d1efa905bd21fb732bdea352d589d9740a730ec409a49e7eacd8 SHA512 
febcde98ada1059d6553a1dc2a86235adaf5fb8ca81b9f744748d3e8ef52109048ce43996f261796b2f345f2ce4a27c4ccc219b33ccfb79c2c2fa6476f19b41a
 WHIRLPOOL 
479a7f37f523c533cf268edc8f2c710ded867febc13df3c4156040ca4d36ad86ff4af2613e9155506eb6a4620d4323fdc3d3f1374c4332393ba57b4b01bcc948

diff --git a/media-gfx/rawtherapee/rawtherapee-5.0.ebuild 
b/media-gfx/rawtherapee/rawtherapee-5.0.ebuild
new file mode 100644
index 000..141d13abcc1
--- /dev/null
+++ b/media-gfx/rawtherapee/rawtherapee-5.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils toolchain-funcs flag-o-matic
+
+DESCRIPTION="A powerful cross-platform raw image processing program"
+HOMEPAGE="http://www.rawtherapee.com/;
+
+MY_P=${P/_p1/-r1}
+SRC_URI="http://rawtherapee.com/shared/source/${MY_P}-gtk3.tar.xz;
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bzip2 openmp"
+
+RDEPEND="bzip2? ( app-arch/bzip2 )
+   x11-libs/gtk+:3
+   dev-libs/expat
+   dev-libs/libsigc++:2
+   media-libs/libcanberra[gtk3]
+   media-libs/tiff:0
+   media-libs/libpng:0
+   media-libs/libiptcdata
+   media-libs/lcms:2
+   sci-libs/fftw:3.0
+   sys-libs/zlib
+   virtual/jpeg:0"
+DEPEND="${RDEPEND}
+   app-arch/xz-utils
+   virtual/pkgconfig
+   dev-cpp/gtkmm:3.0"
+
+S="${WORKDIR}/${MY_P}-gtk3"
+
+pkg_pretend() {
+   if use openmp ; then
+   tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
+   fi
+   # https://bugs.gentoo.org/show_bug.cgi?id=606896#c2
+   # https://github.com/vivo75/vivovl/issues/2
+   if [[ $(get-flag -O3) != "-O3" ]] ; then
+   ewarn "upstream suggest using {C,CXX}FLAGS+=\"-O3\" for better 
performances"
+   ewarn "see bug#606896#c2"
+   ewarn "take a look at 
https://wiki.gentoo.org/wiki//etc/portage/package.env;
+   ewarn "for suggestion on how to change environment for a single 
package"
+   fi
+}
+
+src_configure() {
+   filter-flags -ffast-math
+   local mycmakeargs=(
+   -DOPTION_OMP=$(usex openmp)
+   -DBZIP=$(usex bzip2)
+   -DDOCDIR=/usr/share/doc/${PF}
+   -DCREDITSDIR=/usr/share/${PN}
+   -DLICENCEDIR=/usr/share/${PN}
+   -DCACHE_NAME_SUFFIX=""
+   -DCMAKE_CXX_FLAGS="-std=c++11"
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/files/, media-gfx/rawtherapee/

2017-02-22 Thread Aaron Bauman
commit: f3dd0d0fe575c93a58a231c658281bee78070764
Author: Aaron Bauman  gentoo  org>
AuthorDate: Wed Feb 22 10:27:14 2017 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed Feb 22 10:27:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3dd0d0f

media-gfx/rawtherapee: cleanup vulnerable wrt bug #549340

Package-Manager: portage-2.3.3

 media-gfx/rawtherapee/Manifest |  5 --
 .../files/rawtherapee-4.0.9-desktop.patch  |  9 
 .../files/rawtherapee-4.0.9-no-hg.patch| 60 --
 media-gfx/rawtherapee/rawtherapee-4.0.10.ebuild| 55 
 media-gfx/rawtherapee/rawtherapee-4.0.11.ebuild| 55 
 media-gfx/rawtherapee/rawtherapee-4.0.12.ebuild| 50 --
 media-gfx/rawtherapee/rawtherapee-4.0.9-r1.ebuild  | 58 -
 media-gfx/rawtherapee/rawtherapee-4.1.ebuild   | 51 --
 media-gfx/rawtherapee/rawtherapee-4.2.ebuild   | 52 ---
 9 files changed, 395 deletions(-)

diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest
index 7ed0bc1264..69203b4959 100644
--- a/media-gfx/rawtherapee/Manifest
+++ b/media-gfx/rawtherapee/Manifest
@@ -1,6 +1 @@
-DIST rawtherapee-4.0.10.tar.xz 11823324 SHA256 
4f80a00b0fe0a69c8cc09fda155aa81cf47dccb516c6c6b249875f3c456d7ac5 SHA512 
8e8e94cc50130297137d4d4f8ea057b9d954192fd698c327c88591b5ff1e0c66de5e2a1e1ba0c2b223a3633efa26f06b2ba2004dded3b72d025d8a18fef43481
 WHIRLPOOL 
6cc3b75fdaf9fcc1af7e2f3a96d56a9a467abb4fb531e32665e22ecbb7526b20905314e5c574b8944a76d02d6f83eea2960298b3f0f7bb7420b34efb66fbb47a
-DIST rawtherapee-4.0.11.tar.xz 14913984 SHA256 
8f6f35339c9ec5865641fc4cef060f2cbd32be60054700775951148a26de36f6 SHA512 
c31b1c3ef50806d25cdd211d3296b62a1e5fcac66ae0225aa92eaf25ec6470cb946651396b52bb64b247c1be093d2745f0b78bbd5257d61d7b87d53f0bcbac40
 WHIRLPOOL 
a1ea6c442a9e2e75e42a430d5690c1484c37f4f01215a1df34064396772446966eb886312d613cc98b9f398db06324fabb1583d677b184503bb9f86f1141addd
-DIST rawtherapee-4.0.12.tar.xz 15063860 SHA256 
6ef923f4a0e39ee487fd50b4e528db3f8ca7e27613284e309b0625cdb86a03d9 SHA512 
acb7225565b58f556d0c3fc0257ccb8297fe113a8ea3fec31372514434ae4e6cf99b956bbf4d6a5bb9eaca94553ee44815d981f20ec049bdc93e33bdfb86ef1e
 WHIRLPOOL 
9de7831dba2190ab5422280aa553581e1bffa5a831929f8a5c13cb9e8ba5746117f4b5797a3f5da0921cd2ad61ebd7b27863e02eb28e186d0a63d74e55564d2b
-DIST rawtherapee-4.0.9.tar.xz 40201920 SHA256 
4ad49b5d3aae9a178b1cfa5efca653982f0a52763ddd37f89500e8fedfb187d2 SHA512 
885414f0becfaa174b6e0d5689259e88cccf779d25bb92e1015fdb562c57eb70621e952681309aa66f05295b249ba39cca9c73459e6c0ad3266c57389e3c9ab9
 WHIRLPOOL 
cb74a9079c513ac7feb5f9cdd09b9f3474462228023b5a529cf779014476401ad2a2ea24489699c6caa5051ea332ded028407a9f50e4744b504ec41e1e137cfe
-DIST rawtherapee-4.1.tar.xz 7670916 SHA256 
0a36fe407daca95a06f2d3ee28ec91c9c0c95d62a91214bd67a97fd854938307 SHA512 
77f9b6e055c4c2944373dc2abb059da10daace2c503b8f783fe4775161fdcd2b1bacf144065983402eedbd336f65a6a7976008924731e724e9268f39506e8b1b
 WHIRLPOOL 
7fdd4d5b8ca8ce0ebd477ae19a62c11aac37a1f6c8fccddc8fe8688370aaf7003dc76d0ef539877828be98aefcc91a81cf0dc2a97a640a746bafc8eb22451700
 DIST rawtherapee-4.2.tar.xz 7787664 SHA256 
fa4c13e8842df096b19d2dabaed5a61f5f9d4547f7b4f0dc6b77f80bdec16479 SHA512 
feec61aeb84804cf01ff03fa9d7309f0eb3c04c43818c8397cc6f3ee762aca19484bce7594414d2141248b9740bdd4269fd86f76dcf391c61d4647fa169d48f6
 WHIRLPOOL 
56cc3e95ae7484cb91cd6c5fd32504b3fbfb17b9d50a38fa490300ff1b096e80a1d5060db3619c34f8b214dd413bfaab57a9748f5a365a87d257e75c753f307a

diff --git a/media-gfx/rawtherapee/files/rawtherapee-4.0.9-desktop.patch 
b/media-gfx/rawtherapee/files/rawtherapee-4.0.9-desktop.patch
deleted file mode 100644
index 61748428fb..00
--- a/media-gfx/rawtherapee/files/rawtherapee-4.0.9-desktop.patch
+++ /dev/null
@@ -1,9 +0,0 @@
 rawtherapee-4.0.9/rtdata/icons/rawtherapee.desktop.in
-+++ rawtherapee-4.0.9/rtdata/icons/rawtherapee.desktop.in
-@@ -13,5 +13,5 @@
- Icon=rawtherapee
- Exec=rawtherapee %f
- Terminal=false
--MimeType=image/jpeg;image/png;image/tiff;image/x-adobe-dng;image/x-canon-cr2;image/x-canon-crf;image/x-canon-crw;image/x-fuji-raf;image/x-jpg;image/x-kodak-dcr;image/x-kodak-k25;image/x-kodak-kdc;image/x-mamiya-mef;image/x-minolta-mrw;image/x-nikon-nef;image/x-nikon-nrw;image/x-olympus-orf;image/x-panasonic-raw;image/x-panasonic-rw2;image/x-pentax-pef;image/x-pentax-raw;image/x-raw;image/x-rwz;image/x-samsung-srw;image/x-sony-arw;image/x-sony-sr2;image/x-sony-srf;image/x-tif;inode/directory;

[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/, media-gfx/rawtherapee/files/

2015-12-15 Thread Pacho Ramos
commit: cc701dd19ce61eaa29889b185ca4c55298b75126
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Dec 15 20:15:39 2015 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Dec 15 20:16:34 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc701dd1

media-gfx/rawtherapee: Fix building with latest glibmm/libsigc++ (#568136), fix 
CVE-2015-3885

Package-Manager: portage-2.2.26

 .../files/rawtherapee-4.2-CVE-2015-3885.patch  | 28 ++
 .../files/rawtherapee-4.2-build-cxx11-2.patch  | 14 +
 .../files/rawtherapee-4.2-build-cxx11.patch| 20 +++
 .../rawtherapee/files/rawtherapee-4.2-cxx11.patch  | 27 ++
 .../rawtherapee/files/rawtherapee-4.2-sigc26.patch | 47 
 media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild| 62 ++
 6 files changed, 198 insertions(+)

diff --git a/media-gfx/rawtherapee/files/rawtherapee-4.2-CVE-2015-3885.patch 
b/media-gfx/rawtherapee/files/rawtherapee-4.2-CVE-2015-3885.patch
new file mode 100644
index 000..3de7d7e
--- /dev/null
+++ b/media-gfx/rawtherapee/files/rawtherapee-4.2-CVE-2015-3885.patch
@@ -0,0 +1,28 @@
+Author: Philip Rinn 
+Description: Fix CVE-2015-3885
+Source: 
https://github.com/rawstudio/rawstudio/commit/983bda1f0fa5fa86884381208274198a620f006e
+Last-update: 2015-05-14
+--- a/rtengine/dcraw.c
 b/rtengine/dcraw.c
+@@ -824,7 +824,8 @@
+ 
+ int CLASS ljpeg_start (struct jhead *jh, int info_only)
+ {
+-  int c, tag, len;
++  int c, tag;
++  ushort len;
+   uchar data[0x1];
+   const uchar *dp;
+ 
+--- a/rtengine/dcraw.cc
 b/rtengine/dcraw.cc
+@@ -787,7 +787,8 @@
+ 
+ int CLASS ljpeg_start (struct jhead *jh, int info_only)
+ {
+-  int c, tag, len;
++  int c, tag;
++  ushort len;
+   uchar data[0x1];
+   const uchar *dp;
+ 

diff --git a/media-gfx/rawtherapee/files/rawtherapee-4.2-build-cxx11-2.patch 
b/media-gfx/rawtherapee/files/rawtherapee-4.2-build-cxx11-2.patch
new file mode 100644
index 000..0d79e25
--- /dev/null
+++ b/media-gfx/rawtherapee/files/rawtherapee-4.2-build-cxx11-2.patch
@@ -0,0 +1,14 @@
+Author: Philip Rinn 
+Description: Fix build with C++11 as char is unsigned on some architectures
+Last-update: 2015-11-04
+--- a/rtengine/dcraw.cc
 b/rtengine/dcraw.cc
+@@ -2054,7 +2054,7 @@
+ 
+ void CLASS kodak_radc_load_raw()
+ {
+-  static const char src[] = {
++  static const signed char src[] = {
+ 1,1, 2,3, 3,4, 4,2, 5,7, 6,5, 7,6, 7,8,
+ 1,0, 2,1, 3,3, 4,4, 5,2, 6,7, 7,6, 8,5, 8,8,
+ 2,1, 2,3, 3,0, 3,2, 3,4, 4,6, 5,5, 6,7, 6,8,

diff --git a/media-gfx/rawtherapee/files/rawtherapee-4.2-build-cxx11.patch 
b/media-gfx/rawtherapee/files/rawtherapee-4.2-build-cxx11.patch
new file mode 100644
index 000..4832dc3
--- /dev/null
+++ b/media-gfx/rawtherapee/files/rawtherapee-4.2-build-cxx11.patch
@@ -0,0 +1,20 @@
+Author: Philip Rinn 
+Description: Fix build with C++11
+Last-update: 2015-11-03
+--- a/rtengine/dcraw.cc
 b/rtengine/dcraw.cc
+@@ -136,10 +136,10 @@
+ 
+ #define SQR(x) rtengine::SQR(x)
+ #define ABS(x) (((int)(x) ^ ((int)(x) >> 31)) - ((int)(x) >> 31))
+-#define MIN(a,b) rtengine::min(a,static_cast(b))
+-#define MAX(a,b) rtengine::max(a,static_cast(b))
+-#define LIM(x,min,max) 
rtengine::LIM(x,static_cast(min),static_cast(max))
+-#define ULIM(x,y,z) 
rtengine::ULIM(x,static_cast(y),static_cast(z))
++#define MIN(a,b) rtengine::min(a,static_cast<__typeof__(a)>(b))
++#define MAX(a,b) rtengine::max(a,static_cast<__typeof__(a)>(b))
++#define LIM(x,min,max) 
rtengine::LIM(x,static_cast<__typeof__(x)>(min),static_cast<__typeof__(x)>(max))
++#define ULIM(x,y,z) 
rtengine::ULIM(x,static_cast<__typeof__(x)>(y),static_cast(z))
+ #define CLIP(x) rtengine::CLIP(x)
+ #define SWAP(a,b) { a=a+b; b=a-b; a=a-b; }
+ 

diff --git a/media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch 
b/media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch
new file mode 100644
index 000..48acb5f
--- /dev/null
+++ b/media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch
@@ -0,0 +1,27 @@
+From 39ef59ddeb7679c71274b1da3faadd395b650c73 Mon Sep 17 00:00:00 2001
+From: Adam Reichold 
+Date: Sun, 29 Nov 2015 11:48:30 +0100
+Subject: [PATCH] Build with '-std=c++11' if libsigc++ version 2.5.1 is used as
+ it does require it.
+
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index dd5fcbc..6153484 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -278,10 +278,10 @@ if (OPTION_OMP)
+ endif (OPENMP_FOUND)
+ endif (OPTION_OMP)
+ 
+-if(USE_EXPERIMENTAL_LANG_VERSIONS)
++if(USE_EXPERIMENTAL_LANG_VERSIONS OR NOT (SIGC_VERSION VERSION_LESS 2.5.1))
+   SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu1x")
+   SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++0x")
+-endif 

[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/

2015-12-15 Thread Pacho Ramos
commit: 004a79724f8b0640dedbf5b2e327d085e9fb50c7
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Dec 15 20:16:14 2015 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Dec 15 20:16:37 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=004a7972

media-gfx/rawtherapee: Make repoman happier

Package-Manager: portage-2.2.26

 media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild 
b/media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild
index 2723b91..6aa7c2e 100644
--- a/media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-4.2-r1.ebuild
@@ -36,7 +36,7 @@ DEPEND="${RDEPEND}
 PATCHES=(
# Upstream patches for fixing build with current libstdc++
# A newer snapshot/version will make this unneeded
-"${FILESDIR}"/${P}-cxx11.patch
+   "${FILESDIR}"/${P}-cxx11.patch
"${FILESDIR}"/${P}-CVE-2015-3885.patch
"${FILESDIR}"/${P}-build-cxx11.patch
"${FILESDIR}"/${P}-build-cxx11-2.patch



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/files/, media-gfx/rawtherapee/

2015-12-15 Thread Pacho Ramos
commit: 54bde0d76f9295685225547a1e05d037fb5543e2
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Dec 15 20:02:04 2015 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Dec 15 20:16:30 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54bde0d7

media-gfx/rawtherapee: Fix building with latest glibmm/libsigc++ (#568136)

Package-Manager: portage-2.2.26

 .../rawtherapee/files/rawtherapee-4.2-cxx11.patch  | 27 ++
 media-gfx/rawtherapee/rawtherapee-4.2.ebuild   |  4 
 2 files changed, 31 insertions(+)

diff --git a/media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch 
b/media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch
new file mode 100644
index 000..48acb5f
--- /dev/null
+++ b/media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch
@@ -0,0 +1,27 @@
+From 39ef59ddeb7679c71274b1da3faadd395b650c73 Mon Sep 17 00:00:00 2001
+From: Adam Reichold 
+Date: Sun, 29 Nov 2015 11:48:30 +0100
+Subject: [PATCH] Build with '-std=c++11' if libsigc++ version 2.5.1 is used as
+ it does require it.
+
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index dd5fcbc..6153484 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -278,10 +278,10 @@ if (OPTION_OMP)
+ endif (OPENMP_FOUND)
+ endif (OPTION_OMP)
+ 
+-if(USE_EXPERIMENTAL_LANG_VERSIONS)
++if(USE_EXPERIMENTAL_LANG_VERSIONS OR NOT (SIGC_VERSION VERSION_LESS 2.5.1))
+   SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu1x")
+   SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++0x")
+-endif (USE_EXPERIMENTAL_LANG_VERSIONS)
++endif ()
+ 
+ # find out whether we are building out of source
+ get_filename_component(ABS_SOURCE_DIR "${PROJECT_SOURCE_DIR}" ABSOLUTE)

diff --git a/media-gfx/rawtherapee/rawtherapee-4.2.ebuild 
b/media-gfx/rawtherapee/rawtherapee-4.2.ebuild
index 6ae07a5..6702661 100644
--- a/media-gfx/rawtherapee/rawtherapee-4.2.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-4.2.ebuild
@@ -33,6 +33,10 @@ DEPEND="${RDEPEND}
app-arch/xz-utils
virtual/pkgconfig"
 
+PATCHES=(
+"${FILESDIR}"/${P}-cxx11.patch # Upstream patch for fixing bug #568136
+)
+
 pkg_pretend() {
if use openmp ; then
tc-has-openmp || die "Please switch to an openmp compatible 
compiler"



[gentoo-commits] repo/gentoo:master commit in: media-gfx/rawtherapee/, media-gfx/rawtherapee/files/

2015-12-15 Thread Pacho Ramos
commit: 043e8de5728b09812035580454fd9b88123e7a06
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Dec 15 20:07:07 2015 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Dec 15 20:16:32 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=043e8de5

Revert "media-gfx/rawtherapee: Fix building with latest glibmm/libsigc++ 
(#568136)"

This reverts commit 519fe2b101ec4914e62246b72e9ba6139581e0c8.

 .../rawtherapee/files/rawtherapee-4.2-cxx11.patch  | 27 --
 media-gfx/rawtherapee/rawtherapee-4.2.ebuild   |  4 
 2 files changed, 31 deletions(-)

diff --git a/media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch 
b/media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch
deleted file mode 100644
index 48acb5f..000
--- a/media-gfx/rawtherapee/files/rawtherapee-4.2-cxx11.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 39ef59ddeb7679c71274b1da3faadd395b650c73 Mon Sep 17 00:00:00 2001
-From: Adam Reichold 
-Date: Sun, 29 Nov 2015 11:48:30 +0100
-Subject: [PATCH] Build with '-std=c++11' if libsigc++ version 2.5.1 is used as
- it does require it.
-

- CMakeLists.txt | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index dd5fcbc..6153484 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -278,10 +278,10 @@ if (OPTION_OMP)
- endif (OPENMP_FOUND)
- endif (OPTION_OMP)
- 
--if(USE_EXPERIMENTAL_LANG_VERSIONS)
-+if(USE_EXPERIMENTAL_LANG_VERSIONS OR NOT (SIGC_VERSION VERSION_LESS 2.5.1))
-   SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu1x")
-   SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++0x")
--endif (USE_EXPERIMENTAL_LANG_VERSIONS)
-+endif ()
- 
- # find out whether we are building out of source
- get_filename_component(ABS_SOURCE_DIR "${PROJECT_SOURCE_DIR}" ABSOLUTE)

diff --git a/media-gfx/rawtherapee/rawtherapee-4.2.ebuild 
b/media-gfx/rawtherapee/rawtherapee-4.2.ebuild
index 6702661..6ae07a5 100644
--- a/media-gfx/rawtherapee/rawtherapee-4.2.ebuild
+++ b/media-gfx/rawtherapee/rawtherapee-4.2.ebuild
@@ -33,10 +33,6 @@ DEPEND="${RDEPEND}
app-arch/xz-utils
virtual/pkgconfig"
 
-PATCHES=(
-"${FILESDIR}"/${P}-cxx11.patch # Upstream patch for fixing bug #568136
-)
-
 pkg_pretend() {
if use openmp ; then
tc-has-openmp || die "Please switch to an openmp compatible 
compiler"