pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/kimageformats kimageformats: build with openexr3
details: https://anonhg.NetBSD.org/pkgsrc/rev/dc24e0370c28
branches: trunk
changeset: 455698:dc24e0370c28
user: markd <markd%pkgsrc.org@localhost>
date: Thu Jul 08 21:31:49 2021 +0000
description:
kimageformats: build with openexr3
diffstat:
graphics/kimageformats/Makefile | 4 +-
graphics/kimageformats/distinfo | 5 ++-
graphics/kimageformats/patches/patch-CMakeLists.txt | 15 ++++++++++
graphics/kimageformats/patches/patch-src_imageformats_CMakeLists.txt | 15 ++++++++++
graphics/kimageformats/patches/patch-src_imageformats_exr.cpp | 14 +++++++++
5 files changed, 50 insertions(+), 3 deletions(-)
diffs (83 lines):
diff -r 9265221ebb25 -r dc24e0370c28 graphics/kimageformats/Makefile
--- a/graphics/kimageformats/Makefile Thu Jul 08 21:31:13 2021 +0000
+++ b/graphics/kimageformats/Makefile Thu Jul 08 21:31:49 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2021/04/21 11:41:55 adam Exp $
+# $NetBSD: Makefile,v 1.32 2021/07/08 21:31:49 markd Exp $
DISTNAME= kimageformats-${KF5VER}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= graphics
HOMEPAGE= https://community.kde.org/Frameworks
diff -r 9265221ebb25 -r dc24e0370c28 graphics/kimageformats/distinfo
--- a/graphics/kimageformats/distinfo Thu Jul 08 21:31:13 2021 +0000
+++ b/graphics/kimageformats/distinfo Thu Jul 08 21:31:49 2021 +0000
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.11 2021/03/30 10:58:25 markd Exp $
+$NetBSD: distinfo,v 1.12 2021/07/08 21:31:49 markd Exp $
SHA1 (kimageformats-5.80.0.tar.xz) = 1a12823981369bc893ef9c858d27058c8d583722
RMD160 (kimageformats-5.80.0.tar.xz) = 255c6a8c5dd40c430d14d2f596d9f7a67ce41a87
SHA512 (kimageformats-5.80.0.tar.xz) = 07669deb80af6ed3055f34ca5ef82583deeafde4a7d2591dd479fa10db48e39007e82cf70645363b742c7f90c73d6d3f5cfcfed7e5cd80ca8856e4d0aa9e9d39
Size (kimageformats-5.80.0.tar.xz) = 590368 bytes
+SHA1 (patch-CMakeLists.txt) = ac96040c8da9cc316ab418c4f10d0a131557828a
+SHA1 (patch-src_imageformats_CMakeLists.txt) = fc82f4aa7009403d82751d583f866b10dd5c7c17
+SHA1 (patch-src_imageformats_exr.cpp) = 91db996c0cfa9fb7e70b8ebf6242dee8c9cae8d8
diff -r 9265221ebb25 -r dc24e0370c28 graphics/kimageformats/patches/patch-CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/kimageformats/patches/patch-CMakeLists.txt Thu Jul 08 21:31:49 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2021/07/08 21:31:49 markd Exp $
+
+use openexr 3.x
+
+--- CMakeLists.txt.orig 2021-07-07 22:42:12.771880448 +0000
++++ CMakeLists.txt
+@@ -42,7 +42,7 @@ if (UNIX)
+ endif()
+ endif()
+
+-find_package(OpenEXR)
++find_package(OpenEXR CONFIG)
+ set_package_properties(OpenEXR PROPERTIES
+ TYPE OPTIONAL
+ PURPOSE "Required for the QImage plugin for OpenEXR images"
diff -r 9265221ebb25 -r dc24e0370c28 graphics/kimageformats/patches/patch-src_imageformats_CMakeLists.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/kimageformats/patches/patch-src_imageformats_CMakeLists.txt Thu Jul 08 21:31:49 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_imageformats_CMakeLists.txt,v 1.1 2021/07/08 21:31:49 markd Exp $
+
+use openexr 3.x
+
+--- src/imageformats/CMakeLists.txt.orig 2021-03-04 21:57:23.000000000 +0000
++++ src/imageformats/CMakeLists.txt
+@@ -58,7 +58,7 @@ install(FILES jp2.desktop DESTINATION ${
+
+ if(OpenEXR_FOUND)
+ kimageformats_add_plugin(kimg_exr JSON "exr.json" SOURCES exr.cpp)
+- target_link_libraries(kimg_exr OpenEXR::IlmImf)
++ target_link_libraries(kimg_exr OpenEXR::OpenEXR)
+ kde_target_enable_exceptions(kimg_exr PRIVATE)
+
+ install(FILES exr.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/qimageioplugins/)
diff -r 9265221ebb25 -r dc24e0370c28 graphics/kimageformats/patches/patch-src_imageformats_exr.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/kimageformats/patches/patch-src_imageformats_exr.cpp Thu Jul 08 21:31:49 2021 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_imageformats_exr.cpp,v 1.1 2021/07/08 21:31:49 markd Exp $
+
+use openexr 3.x
+
+--- src/imageformats/exr.cpp.orig 2021-03-04 21:57:23.000000000 +0000
++++ src/imageformats/exr.cpp
+@@ -13,6 +13,7 @@
+ #include <ImfStandardAttributes.h>
+ #include <ImathBox.h>
+ #include <ImfInputFile.h>
++#include <ImfInt64.h>
+ #include <ImfBoxAttribute.h>
+ #include <ImfChannelListAttribute.h>
+ #include <ImfCompressionAttribute.h>
Home |
Main Index |
Thread Index |
Old Index