public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-gfx/luminance-hdr/, media-gfx/luminance-hdr/files/
@ 2018-06-16  7:04 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2018-06-16  7:04 UTC (permalink / raw
  To: gentoo-commits

commit:     755c3249cba6db5b275ad58c972b1332d25605e5
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 14 19:51:51 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 16 07:03:50 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=755c3249

media-gfx/luminance-hdr: Drop 2.4.0

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-gfx/luminance-hdr/Manifest                   |  1 -
 .../files/luminance-hdr-2.3.1-docs.patch           | 17 ----
 .../files/luminance-hdr-2.3.1-no-git.patch         | 54 ------------
 .../luminance-hdr-2.3.1-openmp-automagic.patch     | 40 ---------
 .../files/luminance-hdr-2.4.0-fits-automagic.patch | 36 --------
 .../files/luminance-hdr-2.4.0-qtprinter.patch      | 99 ----------------------
 .../files/luminance-hdr-2.4.0-qtquick.patch        | 13 ---
 media-gfx/luminance-hdr/luminance-hdr-2.4.0.ebuild | 86 -------------------
 8 files changed, 346 deletions(-)

diff --git a/media-gfx/luminance-hdr/Manifest b/media-gfx/luminance-hdr/Manifest
index 2e474e03980..5a667dceda6 100644
--- a/media-gfx/luminance-hdr/Manifest
+++ b/media-gfx/luminance-hdr/Manifest
@@ -1,2 +1 @@
-DIST luminance-hdr-2.4.0.tar.bz2 10507522 BLAKE2B b8dc777211b63e4e03466612e1c4b7c685f921db292712c749fc14d9638a69fd735990fd5412c7376a7452911cb15212448afc03aa8407f0d6f9c65fac5d5769 SHA512 aa14a13d12ba382f5f8dcb79a57aa68864678db62f036ac2d8b8959da76f20b938481932a6fff3861eb6dbc5a1d4f06bc1f3e3ca9a6ce4f7a27a9db736aa8702
 DIST luminance-hdr-2.5.1.tar.bz2 10238826 BLAKE2B 02cc275e2433281e9305e07efb6f77a611ca8e8167ca478a0c4a4c16feab260203aeef501b24b52b54ff9ad92923fd52b2c6925d81e60b492f0ac2465e65b604 SHA512 5d2165ca69080b67426cbc7e30c3ad5545f1a9dacf09e76684c619633cd40b03ed2d0e32181a5dce9463addf20dce1afb58cbf4c0710688e143112687448be2c

diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.3.1-docs.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.3.1-docs.patch
deleted file mode 100644
index 514ded78220..00000000000
--- a/media-gfx/luminance-hdr/files/luminance-hdr-2.3.1-docs.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Don't install extra docs and fix install dir.
-
---- luminance-hdr-2.3.1/CMakeLists.txt
-+++ luminance-hdr-2.3.1/CMakeLists.txt
-@@ -250,12 +250,6 @@
- 
-     INSTALL(FILES ${CMAKE_SOURCE_DIR}/images/luminance-hdr.png DESTINATION share/icons/hicolor/48x48/apps) # icon
-     INSTALL(FILES ${CMAKE_SOURCE_DIR}/luminance-hdr.desktop DESTINATION share/applications) #desktop entry
--    INSTALL(FILES
--    ${CMAKE_SOURCE_DIR}/AUTHORS
--    ${CMAKE_SOURCE_DIR}/README
--    ${CMAKE_SOURCE_DIR}/LICENSE
--    ${CMAKE_SOURCE_DIR}/Changelog
--    DESTINATION share/luminance-hdr) #info files
-     INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/help DESTINATION share/luminance-hdr) # help directory
- # Microsoft Windows
- ELSEIF(WIN32)

diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.3.1-no-git.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.3.1-no-git.patch
deleted file mode 100644
index fe95265a684..00000000000
--- a/media-gfx/luminance-hdr/files/luminance-hdr-2.3.1-no-git.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-Don't try to define the git version of the release.
-
---- luminance-hdr-2.3.1/CMakeLists.txt
-+++ luminance-hdr-2.3.1/CMakeLists.txt
-@@ -32,12 +32,6 @@
-     ${QT_QTCORE_LIBRARIES} ${QT_QTGUI_LIBRARIES} ${QT_QTNETWORK_LIBRARIES}
-     ${QT_QTWEBKIT_LIBRARIES} ${QT_QTXML_LIBRARIES} ${QT_QTSQL_LIBRARIES})
- 
--FIND_PACKAGE(Git)
--IF(GIT_FOUND)
--    include(GetGitRevisionDescription)
--    get_git_head_revision(GIT_REFSPEC GIT_SHA1)
--ENDIF()
--
- IF(WIN32)
-     # Windows Section
-     
---- luminance-hdr-2.3.1.orig/src/Common/CMakeLists.txt
-+++ luminance-hdr-2.3.1/src/Common/CMakeLists.txt
-@@ -1,5 +1,3 @@
--CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/GitSHA1.cpp.in
--                ${CMAKE_CURRENT_BINARY_DIR}/GitSHA1.cpp @ONLY)
- CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/global.hxx.in
-                 ${CMAKE_CURRENT_BINARY_DIR}/global.hxx @ONLY)
- CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
-@@ -32,8 +30,7 @@
- 
- ADD_LIBRARY(common ${FILES_H} ${FILES_CPP} ${FILES_MOC} ${FILES_HXX} ${FILES_UI_H}
-     ${CMAKE_CURRENT_BINARY_DIR}/global.hxx
--    ${CMAKE_CURRENT_BINARY_DIR}/config.h
--    ${CMAKE_CURRENT_BINARY_DIR}/GitSHA1.cpp)
-+    ${CMAKE_CURRENT_BINARY_DIR}/config.h)
- 
- SET(FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${FILES_CPP} ${FILES_H} ${FILES_UI} ${FILES_HXX} PARENT_SCOPE)
- SET(LUMINANCE_MODULES_GUI ${LUMINANCE_MODULES_GUI} common PARENT_SCOPE)
---- luminance-hdr-2.3.1.orig/src/UI/UMessageBox.cpp
-+++ luminance-hdr-2.3.1/src/UI/UMessageBox.cpp
-@@ -28,7 +28,6 @@
- 
- #include "UI/UMessageBox.h"
- 
--#include "Common/GitSHA1.h"
- #include "Common/config.h"
- #include "Common/archs.h"
- #include "ui_about.h"
-@@ -92,7 +91,7 @@
-     ui.authorsBox->setOpenExternalLinks(true);
-     ui.thanksToBox->setOpenExternalLinks(true);
-     ui.GPLbox->setTextInteractionFlags(Qt::TextSelectableByMouse);
--    ui.label_version->setText(ui.label_version->text().append(QString(LUMINANCEVERSION)).append(" [Build ").append(QString(g_GIT_SHA1).left(6)).append("]"));
-+    ui.label_version->setText(ui.label_version->text().append(QString(LUMINANCEVERSION)));
- 
-     bool license_file_not_found=true;
-     QString docDir = QCoreApplication::applicationDirPath();

diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.3.1-openmp-automagic.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.3.1-openmp-automagic.patch
deleted file mode 100644
index 69fa0324c6a..00000000000
--- a/media-gfx/luminance-hdr/files/luminance-hdr-2.3.1-openmp-automagic.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-Only use openmp support if explicitly enabled.
-
---- luminance-hdr-2.3.1/cmake/CompilerSettings.cmake
-+++ luminance-hdr-2.3.1/cmake/CompilerSettings.cmake
-@@ -8,6 +8,8 @@
- ENDIF()
- ENDIF()
- 
-+OPTION(USE_OPENMP "Use openmp threading support." ON)
-+
- #Activate C++11 support, when available
- if("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU")
-     execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
-@@ -39,16 +41,18 @@
- endif()
- 
- #OpenMP Support under Linux, Windows with MSVC & MacOS X with GCC >= 4.3
--IF(MSVC)
--    FIND_PACKAGE(OpenMP REQUIRED)
--    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
--    SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
--ELSEIF(CMAKE_COMPILER_IS_GNUCC AND UNIX)
--    EXECUTE_PROCESS(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
--    IF(GCC_VERSION VERSION_GREATER 4.3 OR GCC_VERSION VERSION_EQUAL 4.3)
--        MESSAGE(STATUS "GCC >= 4.3")
-+IF(USE_OPENMP)
-+    IF(MSVC)
-         FIND_PACKAGE(OpenMP REQUIRED)
-         SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
-         SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
-+    ELSEIF(CMAKE_COMPILER_IS_GNUCC AND UNIX)
-+        EXECUTE_PROCESS(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
-+        IF(GCC_VERSION VERSION_GREATER 4.3 OR GCC_VERSION VERSION_EQUAL 4.3)
-+            MESSAGE(STATUS "GCC >= 4.3")
-+            FIND_PACKAGE(OpenMP REQUIRED)
-+            SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
-+            SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
-+        ENDIF()
-     ENDIF()
- ENDIF()

diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.4.0-fits-automagic.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.4.0-fits-automagic.patch
deleted file mode 100644
index e586c400e42..00000000000
--- a/media-gfx/luminance-hdr/files/luminance-hdr-2.4.0-fits-automagic.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Only use FITS support if explicitly enabled.
-
---- luminance-hdr-2.4.0/CMakeLists.txt
-+++ luminance-hdr-2.4.0/CMakeLists.txt
-@@ -10,6 +10,8 @@
- include(cmake/CompilerSettings.cmake)
- include(cmake/Internationalization.cmake)
- 
-+OPTION(USE_FITS "Enable FITS support." ON)
-+
- # find and setup Qt5 for this project
- 
- # Tell CMake to run moc when necessary:
-@@ -122,13 +124,15 @@
- INCLUDE_DIRECTORIES(${JPEGLIB_INCLUDE_DIR})
- INCLUDE_DIRECTORIES(${LCMS2_INCLUDE_DIR})
- 
--FIND_PACKAGE(CCfits)
--IF(CCFITS_FOUND)
--    INCLUDE_DIRECTORIES(${CCFITS_INCLUDE_DIRS})
--    SET(LIBS ${LIBS} ${CCFITS_LIBRARIES})
--    ADD_DEFINITIONS(-DHAVE_CCFITS)
--ELSE()
--    message(WARNING "CCfits not found! Building without FITS support!")
-+IF(USE_FITS)
-+    FIND_PACKAGE(CCfits REQUIRED)
-+    IF(CCFITS_FOUND)
-+        INCLUDE_DIRECTORIES(${CCFITS_INCLUDE_DIRS})
-+        SET(LIBS ${LIBS} ${CCFITS_LIBRARIES})
-+        ADD_DEFINITIONS(-DHAVE_CCFITS)
-+    ELSE()
-+        MESSAGE(FATAL_ERROR "CCfits not found!")
-+    ENDIF()
- ENDIF()
- 
- SET(LIBS ${LIBS} ${OPENEXR_LIBRARIES})

diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.4.0-qtprinter.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.4.0-qtprinter.patch
deleted file mode 100644
index c619308f813..00000000000
--- a/media-gfx/luminance-hdr/files/luminance-hdr-2.4.0-qtprinter.patch
+++ /dev/null
@@ -1,99 +0,0 @@
-From 07e36ef892343b01bf13545866823e6a55044382 Mon Sep 17 00:00:00 2001
-From: Davide Anastasia <davide.anastasia@gmail.com>
-Date: Mon, 29 Sep 2014 08:06:15 +0100
-Subject: [PATCH] Fix QPrinter support
-
----
- CMakeLists.txt                  | 25 +++++++++++++------------
- src/HelpBrowser/CMakeLists.txt  |  3 +--
- src/HelpBrowser/helpbrowser.cpp |  8 +++++---
- 3 files changed, 19 insertions(+), 17 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 1b07692..8a60ad4 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -18,19 +18,20 @@ include(cmake/Internationalization.cmake)
-   # to always look for includes there:
-   #set(CMAKE_INCLUDE_CURRENT_DIR ON)
- 
--find_package(Qt5Core)
--find_package(Qt5Concurrent)
--find_package(Qt5Widgets)
--find_package(Qt5Gui)
--find_package(Qt5Declarative)
--find_package(Qt5WebKit)
--find_package(Qt5WebKitWidgets)
--find_package(Qt5Xml)
--find_package(Qt5Sql)
--find_package(Qt5Network)
--find_package(Qt5LinguistTools)
-+find_package(Qt5Core REQUIRED)
-+find_package(Qt5Concurrent REQUIRED)
-+find_package(Qt5Widgets REQUIRED)
-+find_package(Qt5Gui REQUIRED)
-+find_package(Qt5Declarative REQUIRED)
-+find_package(Qt5WebKit REQUIRED)
-+find_package(Qt5WebKitWidgets REQUIRED)
-+find_package(Qt5Xml REQUIRED)
-+find_package(Qt5Sql REQUIRED)
-+find_package(Qt5Network REQUIRED)
-+find_package(Qt5LinguistTools REQUIRED)
-+find_package(Qt5PrintSupport REQUIRED)
- IF(WIN32)
--	find_package(Qt5WinExtras)
-+    find_package(Qt5WinExtras)
- ENDIF()
- 
- # Include the qtmain lib if we are on the windows platform
-diff --git a/src/HelpBrowser/CMakeLists.txt b/src/HelpBrowser/CMakeLists.txt
-index 04319a8..2f4916a 100644
---- a/src/HelpBrowser/CMakeLists.txt
-+++ b/src/HelpBrowser/CMakeLists.txt
-@@ -27,9 +27,8 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
- QT5_WRAP_CPP(FILES_MOC ${FILES_H})
- QT5_WRAP_UI(FILES_UI_H ${FILES_UI})
- 
--
- ADD_LIBRARY(helpbrowser ${FILES_H} ${FILES_CPP} ${FILES_MOC} ${FILES_UI_H} ${FILES_HXX})
--qt5_use_modules(helpbrowser Core Concurrent Gui Widgets Xml WebKit WebKitWidgets)
-+qt5_use_modules(helpbrowser Core Concurrent Gui Widgets Xml WebKit WebKitWidgets PrintSupport)
- 
- SET(FILES_TO_TRANSLATE ${FILES_TO_TRANSLATE} ${FILES_CPP} ${FILES_H} ${FILES_UI} ${FILES_HXX} PARENT_SCOPE)
- SET(LUMINANCE_MODULES_GUI ${LUMINANCE_MODULES_GUI} helpbrowser PARENT_SCOPE)
-diff --git a/src/HelpBrowser/helpbrowser.cpp b/src/HelpBrowser/helpbrowser.cpp
-index bfd2820..ce7f984 100644
---- a/src/HelpBrowser/helpbrowser.cpp
-+++ b/src/HelpBrowser/helpbrowser.cpp
-@@ -30,6 +30,7 @@ for which a new license (GPL+exception) is in place.
- #include "ui_HelpBrowser.h"
- #include "ui_HelpSideBar.h"
- 
-+#include <QDebug>
- #include <QAction>
- #include <QBuffer>
- #include <QDir>
-@@ -45,8 +46,6 @@ for which a new license (GPL+exception) is in place.
- #include <QModelIndex>
- #include <QModelIndexList>
- #include <QPainter>
--#include <QPrinter>
--#include <QPrintDialog>
- #include <QProcess>
- #include <QPushButton>
- #include <QString>
-@@ -56,7 +55,10 @@ for which a new license (GPL+exception) is in place.
- #include <QXmlDefaultHandler>
- #include <QDesktopServices>
- 
--#include <QDebug>
-+#include <QtPrintSupport/QPrinter>
-+#include <QtPrintSupport/QPrintDialog>
-+
-+
- 
- #include "Common/global.h"
- #include "HelpBrowser/schelptreemodel.h"
--- 
-2.2.2
-

diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.4.0-qtquick.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.4.0-qtquick.patch
deleted file mode 100644
index 6e1fc2f16ea..00000000000
--- a/media-gfx/luminance-hdr/files/luminance-hdr-2.4.0-qtquick.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Gentoo has a Qt5Quick cmake module instead of a Qt5Declarative one.
-
---- luminance-hdr-2.4.0/CMakeLists.txt
-+++ luminance-hdr-2.4.0/CMakeLists.txt
-@@ -22,7 +22,7 @@
- find_package(Qt5Concurrent REQUIRED)
- find_package(Qt5Widgets REQUIRED)
- find_package(Qt5Gui REQUIRED)
--find_package(Qt5Declarative REQUIRED)
-+find_package(Qt5Quick REQUIRED)
- find_package(Qt5WebKit REQUIRED)
- find_package(Qt5WebKitWidgets REQUIRED)
- find_package(Qt5Xml REQUIRED)

diff --git a/media-gfx/luminance-hdr/luminance-hdr-2.4.0.ebuild b/media-gfx/luminance-hdr/luminance-hdr-2.4.0.ebuild
deleted file mode 100644
index c3c5aab7eee..00000000000
--- a/media-gfx/luminance-hdr/luminance-hdr-2.4.0.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils toolchain-funcs eutils flag-o-matic
-
-MY_P=${P/_/.}
-DESCRIPTION="Graphical user interface that provides a workflow for HDR imaging"
-HOMEPAGE="http://qtpfsgui.sourceforge.net https://github.com/LuminanceHDR/LuminanceHDR"
-SRC_URI="mirror://sourceforge/qtpfsgui/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-LANGS=" cs de es fi fr hi hu id it pl ro ru sk tr zh"
-IUSE="cpu_flags_x86_sse2 fits openmp test ${LANGS// / l10n_}"
-
-RDEPEND="
-	dev-libs/boost:0=
-	dev-qt/qtconcurrent:5
-	dev-qt/qtcore:5
-	dev-qt/qtdeclarative:5
-	dev-qt/qtgui:5
-	dev-qt/qtnetwork:5
-	dev-qt/qtprintsupport:5
-	dev-qt/qtsql:5
-	dev-qt/qtwebkit:5
-	>=media-gfx/exiv2-0.14:0=
-	media-libs/lcms:2
-	media-libs/libpng:0=
-	>=media-libs/libraw-0.13.4:=
-	media-libs/ilmbase:=
-	>=media-libs/openexr-1.2.2-r2:=
-	>=media-libs/tiff-3.8.2-r2:0
-	sci-libs/fftw:3.0[threads]
-	fits? ( sci-libs/ccfits )
-	sci-libs/gsl
-	virtual/jpeg:0
-"
-DEPEND="${RDEPEND}
-	dev-qt/linguist-tools:5
-	test? ( dev-cpp/gtest )
-"
-
-DOCS=( AUTHORS BUGS Changelog README TODO )
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-2.3.1-no-git.patch
-	"${FILESDIR}"/${PN}-2.3.1-docs.patch
-	"${FILESDIR}"/${PN}-2.3.1-openmp-automagic.patch
-	"${FILESDIR}"/${P}-fits-automagic.patch
-	"${FILESDIR}"/${P}-qtprinter.patch
-	"${FILESDIR}"/${P}-qtquick.patch
-)
-
-pkg_pretend() {
-	if use cpu_flags_x86_sse2 ; then
-		append-flags -msse2
-	else
-		eerror "This package requires a CPU supporting the SSE2 instruction set."
-		die "SSE2 support missing"
-	fi
-
-	if use openmp ; then
-		tc-has-openmp || die "Please switch to an openmp compatible compiler"
-	fi
-}
-
-src_configure() {
-	mycmakeargs=(
-		$(cmake-utils_use_use openmp OPENMP)
-		$(cmake-utils_use_use fits FITS)
-	)
-	cmake-utils_src_configure
-}
-
-src_install() {
-	cmake-utils_src_install
-
-	for lang in ${LANGS} ; do
-		if ! use l10n_${lang} ; then
-			rm -f "${D}"/usr/share/${PN}/i18n/{lang,qt}_${lang}.qm || die
-		fi
-	done
-}


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

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/luminance-hdr/, media-gfx/luminance-hdr/files/
@ 2018-12-29 13:32 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2018-12-29 13:32 UTC (permalink / raw
  To: gentoo-commits

commit:     8f6a858f3f76ab3d0ba8acda28f2981d24cceeda
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 29 11:40:31 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 29 13:31:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f6a858f

media-gfx/luminance-hdr: Fix build with exiv2-0.27

Closes: https://bugs.gentoo.org/673728
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/luminance-hdr-2.5.1-exiv2-0.27.patch     | 25 ++++++++++++++++++++++
 .../luminance-hdr/luminance-hdr-2.5.1-r1.ebuild    |  3 ++-
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-exiv2-0.27.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-exiv2-0.27.patch
new file mode 100644
index 00000000000..7b52c883e40
--- /dev/null
+++ b/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-exiv2-0.27.patch
@@ -0,0 +1,25 @@
+From e733c24baf0c87e0b3c45351ff916c5f3a652826 Mon Sep 17 00:00:00 2001
+From: Benitoite <kd6kxr@gmail.com>
+Date: Sun, 16 Dec 2018 22:18:37 -0800
+Subject: [PATCH] Define EXIV2_TEST_VERSION by including exiv2.hpp
+
+AppleClang 10 did not allow compilation without exiv2/exiv2.hpp or exiv2/version.hpp
+Also, version.hpp says use exiv2.hpp
+
+* 2018-12-29 asturm@gentoo.org: Backported to 2.5.1
+---
+ src/TransplantExif/TransplantExifDialog.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/TransplantExif/TransplantExifDialog.cpp b/src/TransplantExif/TransplantExifDialog.cpp
+index c38a51e4..1fac2e0f 100644
+--- a/src/TransplantExif/TransplantExifDialog.cpp
++++ b/src/TransplantExif/TransplantExifDialog.cpp
+@@ -26,6 +26,7 @@
+ #include <QFileInfo>
+ #include <image.hpp>
+ #include <exif.hpp>
++#include <exiv2/exiv2.hpp>
+ 
+ #include "Common/global.h"
+ #include "Common/config.h"

diff --git a/media-gfx/luminance-hdr/luminance-hdr-2.5.1-r1.ebuild b/media-gfx/luminance-hdr/luminance-hdr-2.5.1-r1.ebuild
index 39c345486d1..e8bae1039b5 100644
--- a/media-gfx/luminance-hdr/luminance-hdr-2.5.1-r1.ebuild
+++ b/media-gfx/luminance-hdr/luminance-hdr-2.5.1-r1.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
@@ -50,6 +50,7 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-2.5.1-docs.patch
 	"${FILESDIR}"/${PN}-2.5.1-openmp-automagic.patch
 	"${FILESDIR}"/${PN}-2.5.1-fits-automagic.patch
+	"${FILESDIR}"/${PN}-2.5.1-exiv2-0.27.patch
 )
 
 pkg_pretend() {


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

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/luminance-hdr/, media-gfx/luminance-hdr/files/
@ 2019-11-13 21:25 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2019-11-13 21:25 UTC (permalink / raw
  To: gentoo-commits

commit:     218b73f64d95677b66183a5025f0a8c9df3f7a9a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 13 19:36:25 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 21:24:16 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=218b73f6

media-gfx/luminance-hdr: Drop 2.5.1-r1

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-gfx/luminance-hdr/Manifest                   |  1 -
 .../files/luminance-hdr-2.5.1-docs.patch           | 17 ----
 .../files/luminance-hdr-2.5.1-exiv2-0.27.1.patch   | 22 -----
 .../files/luminance-hdr-2.5.1-exiv2-0.27.patch     | 25 ------
 .../files/luminance-hdr-2.5.1-fits-automagic.patch | 17 ----
 .../files/luminance-hdr-2.5.1-no-git.patch         | 17 ----
 .../luminance-hdr/luminance-hdr-2.5.1-r1.ebuild    | 95 ----------------------
 7 files changed, 194 deletions(-)

diff --git a/media-gfx/luminance-hdr/Manifest b/media-gfx/luminance-hdr/Manifest
index 08af1d16280..ef8d09c6f1e 100644
--- a/media-gfx/luminance-hdr/Manifest
+++ b/media-gfx/luminance-hdr/Manifest
@@ -1,2 +1 @@
-DIST luminance-hdr-2.5.1.tar.bz2 10238826 BLAKE2B 02cc275e2433281e9305e07efb6f77a611ca8e8167ca478a0c4a4c16feab260203aeef501b24b52b54ff9ad92923fd52b2c6925d81e60b492f0ac2465e65b604 SHA512 5d2165ca69080b67426cbc7e30c3ad5545f1a9dacf09e76684c619633cd40b03ed2d0e32181a5dce9463addf20dce1afb58cbf4c0710688e143112687448be2c
 DIST luminance-hdr-2.6.0.tar.bz2 11556372 BLAKE2B 0026768202d35126b82101eb2dc7cdc2917728b519c1cadc62ffb6470204077b4b6ae220ebf09c7f903839fe0c714715efe796ee4830cc92174370cd2741d576 SHA512 6cfb21b1ddc9cac612e3d176323e34c5181333f1b52953c02ad5aec28cc86bf519ecede248847082085879c5c2fd2c5570b05f5d3bffa96ba3781ff8cd1967d1

diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-docs.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-docs.patch
deleted file mode 100644
index 48c156a382e..00000000000
--- a/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-docs.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Don't install extra docs and fix install dir.
-
---- luminance-hdr-2.3.1/CMakeLists.txt
-+++ luminance-hdr-2.3.1/CMakeLists.txt
-@@ -281,12 +281,6 @@
-     INSTALL(FILES ${CMAKE_SOURCE_DIR}/program-icons/luminance-hdr.png DESTINATION share/icons/hicolor/48x48/apps) # icon
-     INSTALL(FILES ${CMAKE_SOURCE_DIR}/luminance-hdr.desktop DESTINATION share/applications) #desktop entry
-     INSTALL(FILES ${CMAKE_SOURCE_DIR}/luminance-hdr.appdata.xml DESTINATION share/appdata) #appstream 
--    INSTALL(FILES
--    ${CMAKE_SOURCE_DIR}/AUTHORS
--    ${CMAKE_SOURCE_DIR}/README.md
--    ${CMAKE_SOURCE_DIR}/LICENSE
--    ${CMAKE_SOURCE_DIR}/Changelog
--    DESTINATION share/luminance-hdr) #info files
-     INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/help DESTINATION share/luminance-hdr) # help directory
-     INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/hdrhtml DESTINATION share/luminance-hdr) # hdrhtml directory
- # Microsoft Windows

diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-exiv2-0.27.1.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-exiv2-0.27.1.patch
deleted file mode 100644
index 16b5256e935..00000000000
--- a/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-exiv2-0.27.1.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 8c3f1571bfa7bb702228bb283e37e58c8b322d5b Mon Sep 17 00:00:00 2001
-From: Benitoite <kd6kxr@gmail.com>
-Date: Fri, 26 Apr 2019 18:07:52 -0700
-Subject: [PATCH] ExifOperations: include exiv2/exiv2.hpp
-
-Because type `AnyError` requires definition in the exiv2 namespace.
----
- src/Exif/ExifOperations.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/Exif/ExifOperations.cpp b/src/Exif/ExifOperations.cpp
-index 07ca742c..dd3d22a6 100644
---- a/src/Exif/ExifOperations.cpp
-+++ b/src/Exif/ExifOperations.cpp
-@@ -35,6 +35,7 @@
- #include <boost/assign/list_of.hpp>
- 
- #include <exif.hpp>
-+#include <exiv2/exiv2.hpp>
- #include <image.hpp>
- 
- #include "Common/config.h"
\ No newline at end of file

diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-exiv2-0.27.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-exiv2-0.27.patch
deleted file mode 100644
index 7b52c883e40..00000000000
--- a/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-exiv2-0.27.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From e733c24baf0c87e0b3c45351ff916c5f3a652826 Mon Sep 17 00:00:00 2001
-From: Benitoite <kd6kxr@gmail.com>
-Date: Sun, 16 Dec 2018 22:18:37 -0800
-Subject: [PATCH] Define EXIV2_TEST_VERSION by including exiv2.hpp
-
-AppleClang 10 did not allow compilation without exiv2/exiv2.hpp or exiv2/version.hpp
-Also, version.hpp says use exiv2.hpp
-
-* 2018-12-29 asturm@gentoo.org: Backported to 2.5.1
----
- src/TransplantExif/TransplantExifDialog.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/TransplantExif/TransplantExifDialog.cpp b/src/TransplantExif/TransplantExifDialog.cpp
-index c38a51e4..1fac2e0f 100644
---- a/src/TransplantExif/TransplantExifDialog.cpp
-+++ b/src/TransplantExif/TransplantExifDialog.cpp
-@@ -26,6 +26,7 @@
- #include <QFileInfo>
- #include <image.hpp>
- #include <exif.hpp>
-+#include <exiv2/exiv2.hpp>
- 
- #include "Common/global.h"
- #include "Common/config.h"

diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-fits-automagic.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-fits-automagic.patch
deleted file mode 100644
index c3b57861671..00000000000
--- a/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-fits-automagic.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 36cf008..1b75700 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -132,7 +132,11 @@ INCLUDE_DIRECTORIES(${GSL_INCLUDE_DIR} ${GSLCBLAS_INCLUDE_DIR})
- FIND_PACKAGE(JPEG REQUIRED)
- INCLUDE_DIRECTORIES(${JPEGLIB_INCLUDE_DIR})
- 
--FIND_PACKAGE(CFITSIO)
-+OPTION(USE_FITS "Enable FITS support." ON)
-+IF(USE_FITS)
-+    FIND_PACKAGE(CFITSIO REQUIRED)
-+ENDIF()
-+
- IF(CFITSIO_FOUND)
-     INCLUDE_DIRECTORIES(${CFITSIO_INCLUDE_DIR})
-     SET(LIBS ${LIBS} ${CFITSIO_LIBRARIES})

diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-no-git.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-no-git.patch
deleted file mode 100644
index 8665785736e..00000000000
--- a/media-gfx/luminance-hdr/files/luminance-hdr-2.5.1-no-git.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 7e8975f..2e5ea5b 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -59,11 +59,7 @@ set(LIBS ${LIBS}
-     ${QT_QTCORE_LIBRARIES} ${QT_QTGUI_LIBRARIES} ${QT_QTNETWORK_LIBRARIES}
-     ${QT_QTWEBENGINE_LIBRARIES} ${QT_QTXML_LIBRARIES} ${QT_QTSQL_LIBRARIES})
- 
--FIND_PACKAGE(Git)
--IF(GIT_FOUND)
--    include(GetGitRevisionDescription)
--    get_git_head_revision(GIT_REFSPEC GIT_SHA1)
--ENDIF()
-+SET(GIT_SHA1 "-- gentoo build --")
- 
- IF(WIN32)
-     # Windows Section

diff --git a/media-gfx/luminance-hdr/luminance-hdr-2.5.1-r1.ebuild b/media-gfx/luminance-hdr/luminance-hdr-2.5.1-r1.ebuild
deleted file mode 100644
index 33c04975b7f..00000000000
--- a/media-gfx/luminance-hdr/luminance-hdr-2.5.1-r1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# 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 xdg-utils
-
-MY_P=${P/_/.}
-DESCRIPTION="Graphical user interface that provides a workflow for HDR imaging"
-HOMEPAGE="http://qtpfsgui.sourceforge.net https://github.com/LuminanceHDR/LuminanceHDR"
-SRC_URI="mirror://sourceforge/qtpfsgui/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-LANGS=" cs de es fi fr hi hu id it pl ro ru sk tr zh"
-IUSE="cpu_flags_x86_sse2 fits openmp test ${LANGS// / l10n_}"
-
-RDEPEND="
-	dev-libs/boost:0=
-	dev-qt/qtconcurrent:5
-	dev-qt/qtcore:5
-	dev-qt/qtdeclarative:5
-	dev-qt/qtgui:5
-	dev-qt/qtnetwork:5
-	dev-qt/qtprintsupport:5
-	dev-qt/qtsql:5
-	dev-qt/qtwebengine:5[widgets]
-	>=media-gfx/exiv2-0.14:0=
-	media-libs/lcms:2
-	media-libs/libpng:0=
-	>=media-libs/libraw-0.13.4:=
-	media-libs/ilmbase:=
-	>=media-libs/openexr-1.2.2-r2:=
-	>=media-libs/tiff-3.8.2-r2:0
-	sci-libs/fftw:3.0=[threads]
-	fits? ( sci-libs/cfitsio:= )
-	sci-libs/gsl
-	virtual/jpeg:0
-"
-DEPEND="${RDEPEND}
-	dev-qt/linguist-tools:5
-	test? ( dev-cpp/gtest )
-"
-
-DOCS=( AUTHORS BUGS Changelog README.md TODO )
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-2.5.1-no-git.patch
-	"${FILESDIR}"/${PN}-2.5.1-docs.patch
-	"${FILESDIR}"/${PN}-2.5.1-openmp-automagic.patch
-	"${FILESDIR}"/${PN}-2.5.1-fits-automagic.patch
-	"${FILESDIR}"/${PN}-2.5.1-exiv2-0.27{,.1}.patch
-)
-
-pkg_pretend() {
-	if use cpu_flags_x86_sse2 ; then
-		append-flags -msse2
-	else
-		eerror "This package requires a CPU supporting the SSE2 instruction set."
-		die "SSE2 support missing"
-	fi
-
-	if use openmp ; then
-		tc-has-openmp || die "Please switch to an openmp compatible compiler"
-	fi
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DUSE_OPENMP="$(usex openmp)"
-		-DUSE_FITS="$(usex fits)"
-	)
-	cmake-utils_src_configure
-}
-
-src_install() {
-	cmake-utils_src_install
-
-	for lang in ${LANGS} ; do
-		if ! use l10n_${lang} ; then
-			rm -f "${D}"/usr/share/${PN}/i18n/{lang,qt}_${lang}.qm || die
-		fi
-	done
-}
-
-pkg_postinst() {
-	xdg_desktop_database_update
-	xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
-	xdg_desktop_database_update
-	xdg_mimeinfo_database_update
-}


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

* [gentoo-commits] repo/gentoo:master commit in: media-gfx/luminance-hdr/, media-gfx/luminance-hdr/files/
@ 2023-06-08 14:05 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2023-06-08 14:05 UTC (permalink / raw
  To: gentoo-commits

commit:     45054d191a69f21406abb12f69f42e2836dc2efa
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  8 13:44:08 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jun  8 14:05:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45054d19

media-gfx/luminance-hdr: Fix build with >=exiv2-0.28

Closes: https://bugs.gentoo.org/906490
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/luminance-hdr-2.6.1.1-exiv2-0.28.patch   | 143 +++++++++++++++++++++
 .../luminance-hdr/luminance-hdr-2.6.1.1-r1.ebuild  |   6 +-
 2 files changed, 146 insertions(+), 3 deletions(-)

diff --git a/media-gfx/luminance-hdr/files/luminance-hdr-2.6.1.1-exiv2-0.28.patch b/media-gfx/luminance-hdr/files/luminance-hdr-2.6.1.1-exiv2-0.28.patch
new file mode 100644
index 000000000000..704b768c005b
--- /dev/null
+++ b/media-gfx/luminance-hdr/files/luminance-hdr-2.6.1.1-exiv2-0.28.patch
@@ -0,0 +1,143 @@
+diff --git a/src/Exif/ExifOperations.cpp b/src/Exif/ExifOperations.cpp
+index dd3d22a6..4cfe6b70 100644
+--- a/src/Exif/ExifOperations.cpp
++++ b/src/Exif/ExifOperations.cpp
+@@ -108,7 +108,11 @@ void copyExifData(const std::string &from, const std::string &to,
+ #endif
+ 
+     try {
++#if EXIV2_TEST_VERSION (0, 28, 0)
++        Exiv2::Image::UniquePtr sourceImage;
++#else
+         Exiv2::Image::AutoPtr sourceImage;
++#endif
+         Exiv2::ExifData srcExifData;
+ 
+         if (!from.empty()) {
+@@ -128,7 +132,11 @@ void copyExifData(const std::string &from, const std::string &to,
+         }
+ 
+         // get destination exif data
++#if EXIV2_TEST_VERSION (0, 28, 0)
++        Exiv2::Image::UniquePtr destinationImage = Exiv2::ImageFactory::open(to);
++#else
+         Exiv2::Image::AutoPtr destinationImage = Exiv2::ImageFactory::open(to);
++#endif
+ 
+         if (dontOverwrite) {
+             // doesn't throw anything if it is empty
+@@ -212,7 +220,11 @@ void copyExifData(const std::string &from, const std::string &to,
+             destinationImage->setExifData(srcExifData);
+         }
+         destinationImage->writeMetadata();
++#if EXIV2_TEST_VERSION (0, 28, 0)
++    } catch (Exiv2::Error &e) {
++#else
+     } catch (Exiv2::AnyError &e) {
++#endif
+ #ifndef NDEBUG
+         qDebug() << e.what();
+ #endif
+@@ -338,7 +350,11 @@ allowed for ev computation purposes.
+ 
+ float getExposureTime(const std::string &filename) {
+     try {
++#if EXIV2_TEST_VERSION (0, 28, 0)
++        Exiv2::Image::UniquePtr image = Exiv2::ImageFactory::open(filename);
++#else
+         Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(filename);
++#endif
+         image->readMetadata();
+         Exiv2::ExifData &exifData = image->exifData();
+         if (exifData.empty()) return -1;
+@@ -374,14 +390,22 @@ float getExposureTime(const std::string &filename) {
+         } else {
+             return -1;
+         }
++#if EXIV2_TEST_VERSION (0, 28, 0)
++    } catch (Exiv2::Error &e) {
++#else
+     } catch (Exiv2::AnyError &e) {
++#endif
+         return -1;
+     }
+ }
+ 
+ float getAverageLuminance(const std::string &filename) {
+     try {
++#if EXIV2_TEST_VERSION (0, 28, 0)
++        Exiv2::Image::UniquePtr image = Exiv2::ImageFactory::open(filename);
++#else
+         Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(filename);
++#endif
+         image->readMetadata();
+         Exiv2::ExifData &exifData = image->exifData();
+ 
+@@ -403,7 +427,11 @@ float getAverageLuminance(const std::string &filename) {
+                   << std::endl;
+ 
+         return -1.0;
++#if EXIV2_TEST_VERSION (0, 28, 0)
++    } catch (Exiv2::Error &e) {
++#else
+     } catch (Exiv2::AnyError &e) {
++#endif
+         return -1.0;
+     }
+ }
+diff --git a/src/Libpfs/exif/exifdata.cpp b/src/Libpfs/exif/exifdata.cpp
+index 38472eff..79085e43 100644
+--- a/src/Libpfs/exif/exifdata.cpp
++++ b/src/Libpfs/exif/exifdata.cpp
+@@ -52,7 +52,11 @@ ExifData::ExifData(const std::string &filename) { fromFile(filename); }
+ void ExifData::fromFile(const std::string &filename) {
+     reset();
+     try {
++#if EXIV2_TEST_VERSION (0, 28, 0)
++        ::Exiv2::Image::UniquePtr image = Exiv2::ImageFactory::open(filename);
++#else
+         ::Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(filename);
++#endif
+         image->readMetadata();
+         ::Exiv2::ExifData &exifData = image->exifData();
+ 
+@@ -121,7 +125,11 @@ void ExifData::fromFile(const std::string &filename) {
+          */
+         if ((it = exifData.findKey(Exiv2::ExifKey("Exif.Image.Orientation"))) !=
+             exifData.end()) {
++#if EXIV2_TEST_VERSION (0, 28, 0)
++            long rotation = it->toUint32();
++#else
+             long rotation = it->toLong();
++#endif
+             switch (rotation) {
+                 case 3:
+                     m_orientation = 180;
+@@ -134,7 +142,11 @@ void ExifData::fromFile(const std::string &filename) {
+                     break;
+             }
+         }
++#if EXIV2_TEST_VERSION (0, 28, 0)
++    } catch (Exiv2::Error &e) {
++#else
+     } catch (Exiv2::AnyError &e) {
++#endif
+         return;
+     }
+ }
+diff --git a/src/TransplantExif/TransplantExifDialog.cpp b/src/TransplantExif/TransplantExifDialog.cpp
+index 8364b595..a7683703 100644
+--- a/src/TransplantExif/TransplantExifDialog.cpp
++++ b/src/TransplantExif/TransplantExifDialog.cpp
+@@ -347,7 +347,11 @@ void TransplantExifDialog::transplant_requested() {
+                 QFile::encodeName((*i_dest)).constData(),
+                 m_Ui->checkBox_dont_overwrite->isChecked());
+             m_Ui->rightlist->item(index)->setBackground(QBrush("#a0ff87"));
++#if EXIV2_TEST_VERSION (0, 28, 0)
++        } catch (Exiv2::Error &e) {
++#else
+         } catch (Exiv2::AnyError &e) {
++#endif
+             add_log_message("ERROR:" + QString::fromStdString(e.what()));
+             m_Ui->rightlist->item(index)->setBackground(QBrush("#ff743d"));
+         }

diff --git a/media-gfx/luminance-hdr/luminance-hdr-2.6.1.1-r1.ebuild b/media-gfx/luminance-hdr/luminance-hdr-2.6.1.1-r1.ebuild
index 1b286cc00976..ab363c98a273 100644
--- a/media-gfx/luminance-hdr/luminance-hdr-2.6.1.1-r1.ebuild
+++ b/media-gfx/luminance-hdr/luminance-hdr-2.6.1.1-r1.ebuild
@@ -15,9 +15,6 @@ KEYWORDS="amd64 ~x86"
 IUSE="cpu_flags_x86_sse2 fits openmp test"
 RESTRICT="!test? ( test )"
 
-BDEPEND="
-	dev-qt/linguist-tools:5
-"
 RDEPEND="
 	dev-libs/boost:=
 	dev-qt/qtconcurrent:5
@@ -46,6 +43,7 @@ DEPEND="${RDEPEND}
 	dev-cpp/eigen:3
 	test? ( dev-cpp/gtest )
 "
+BDEPEND="dev-qt/linguist-tools:5"
 
 PATCHES=(
 	"${FILESDIR}"/${P}-openexr3.patch
@@ -54,6 +52,8 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-2.6.0-no-git.patch
 	"${FILESDIR}"/${PN}-2.6.0-docs.patch
 	"${FILESDIR}"/${PN}-2.5.1-openmp-automagic.patch
+	# patch by ArchLinux
+	"${FILESDIR}"/${P}-exiv2-0.28.patch
 )
 
 pkg_pretend() {


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

end of thread, other threads:[~2023-06-08 14:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-29 13:32 [gentoo-commits] repo/gentoo:master commit in: media-gfx/luminance-hdr/, media-gfx/luminance-hdr/files/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2023-06-08 14:05 Andreas Sturmlechner
2019-11-13 21:25 Andreas Sturmlechner
2018-06-16  7:04 Andreas Sturmlechner

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