From b77d213e8a25115567dd9c95c315f5e8e44ba92c Mon Sep 17 00:00:00 2001 From: Hervy Qurrotul Ainur Rozi Date: Tue, 6 Dec 2022 12:05:32 +0700 Subject: [PATCH 1/2] openexr: update to 3.1.5 --- srcpkgs/openexr/patches/musl-_fpstate.patch | 21 ------------------- .../openexr/patches/pkgconfig-prefix.patch | 10 ++++++--- srcpkgs/openexr/template | 6 +++--- 3 files changed, 10 insertions(+), 27 deletions(-) delete mode 100644 srcpkgs/openexr/patches/musl-_fpstate.patch diff --git a/srcpkgs/openexr/patches/musl-_fpstate.patch b/srcpkgs/openexr/patches/musl-_fpstate.patch deleted file mode 100644 index 0584598bb38f..000000000000 --- a/srcpkgs/openexr/patches/musl-_fpstate.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/IlmBase/IexMath/IexMathFpu.cpp 2019-12-01 15:42:08.143387128 +0100 -+++ b/IlmBase/IexMath/IexMathFpu.cpp 2019-12-01 15:43:02.402389927 +0100 -@@ -281,10 +281,18 @@ - inline void - restoreControlRegs (const ucontext_t & ucon, bool clearExceptions) - { -+#if defined(__GLIBC__) || defined(__i386__) - setCw ((ucon.uc_mcontext.fpregs->cw & cwRestoreMask) | cwRestoreVal); -+#else -+ setCw ((ucon.uc_mcontext.fpregs->cwd & cwRestoreMask) | cwRestoreVal); -+#endif - - _fpstate * kfp = reinterpret_cast<_fpstate *> (ucon.uc_mcontext.fpregs); -+#if defined(__GLIBC__) || defined(__i386__) - setMxcsr (kfp->magic == 0 ? kfp->mxcsr : 0, clearExceptions); -+#else -+ setMxcsr (kfp->mxcsr, clearExceptions); -+#endif - } - - #endif diff --git a/srcpkgs/openexr/patches/pkgconfig-prefix.patch b/srcpkgs/openexr/patches/pkgconfig-prefix.patch index d28d9a6e33d9..e24b7b4ff872 100644 --- a/srcpkgs/openexr/patches/pkgconfig-prefix.patch +++ b/srcpkgs/openexr/patches/pkgconfig-prefix.patch @@ -1,6 +1,10 @@ ---- a/OpenEXR/OpenEXR.pc.in 2019-09-18 03:02:06.000000000 +0200 -+++ b/OpenEXR/OpenEXR.pc.in 2019-12-01 17:30:08.680721453 +0100 -@@ -6,8 +6,8 @@ +diff --git a/cmake/OpenEXR.pc.in b/cmake/OpenEXR.pc.in +index 24741b7..802903c 100644 +--- a/cmake/OpenEXR.pc.in ++++ b/cmake/OpenEXR.pc.in +@@ -4,10 +4,10 @@ + ## + prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ diff --git a/srcpkgs/openexr/template b/srcpkgs/openexr/template index 3f1b59753c1b..2ca91b373316 100644 --- a/srcpkgs/openexr/template +++ b/srcpkgs/openexr/template @@ -1,7 +1,7 @@ # Template file for 'openexr' pkgname=openexr -version=2.4.1 -revision=2 +version=3.1.5 +revision=1 build_style=cmake build_helper="qemu" hostmakedepends="pkg-config" @@ -11,7 +11,7 @@ maintainer="Orphaned " license="BSD-3-Clause" homepage="https://www.openexr.com/" distfiles="https://github.com/openexr/openexr/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" -checksum=3ebbe9a8e67edb4a25890b98c598e9fe23b10f96d1416d6a3ff0732e99d001c1 +checksum=93925805c1fc4f8162b35f0ae109c4a75344e6decae5a240afdfce25f8a433ec pre_configure() { if [ "$CROSS_BUILD" ]; then From 7655e472953514d490488e16d2da9323e70e129e Mon Sep 17 00:00:00 2001 From: Hervy Qurrotul Ainur Rozi Date: Tue, 6 Dec 2022 12:05:43 +0700 Subject: [PATCH 2/2] krita: update to 5.1.3 --- srcpkgs/krita/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/krita/template b/srcpkgs/krita/template index 0ad47a7fb9ef..b8a2a11443b2 100644 --- a/srcpkgs/krita/template +++ b/srcpkgs/krita/template @@ -1,7 +1,7 @@ # Template file for 'krita' pkgname=krita -version=5.0.8 -revision=2 +version=5.1.3 +revision=1 build_style=cmake configure_args="-Wno-dev -DBUILD_TESTING=OFF" hostmakedepends="extra-cmake-modules gettext pkg-config python3 @@ -22,7 +22,7 @@ maintainer="John " license="GPL-3.0-only" homepage="https://krita.org/" distfiles="${KDE_SITE}/krita/${version}/krita-${version}.tar.xz" -checksum=4c221a3c7bbbb8d3297ffe9032c8946cbd835623f22b27f08f617aaa4e496083 +checksum=896e6455baf1110b3572340e164fc80651bbc72f7149c2276fafcc08ac94d8cc python_version=3 replaces="calligra-krita>=0" make_check=no