From: oreo639 <oreo639@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] libjxl: update to 0.9.1.
Date: Tue, 30 Jan 2024 05:13:07 +0100 [thread overview]
Message-ID: <20240130041307.B1C4426749@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48435@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1240 bytes --]
There is an updated pull request by oreo639 against master on the void-packages repository
https://github.com/oreo639/void-packages libjxl
https://github.com/void-linux/void-packages/pull/48435
libjxl: update to 0.9.1.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/48435.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-libjxl-48435.patch --]
[-- Type: text/x-diff, Size: 21811 bytes --]
From cd3e31a46c26f22a4dccc80541eaef5b113bb5de Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 2 Jan 2024 20:32:58 -0800
Subject: [PATCH 1/6] highway: update to 1.0.7.
---
srcpkgs/highway/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/highway/template b/srcpkgs/highway/template
index 4d6898b62c746..96076dbac1535 100644
--- a/srcpkgs/highway/template
+++ b/srcpkgs/highway/template
@@ -1,6 +1,6 @@
# Template file for 'highway'
pkgname=highway
-version=1.0.4
+version=1.0.7
revision=1
build_style=cmake
configure_args="-DHWY_SYSTEM_GTEST=ON -DHWY_ENABLE_EXAMPLES=OFF"
@@ -11,7 +11,7 @@ license="Apache-2.0"
homepage="https://github.com/google/highway"
changelog="https://raw.githubusercontent.com/google/highway/master/debian/changelog"
distfiles="https://github.com/google/highway/archive/${version}.tar.gz"
-checksum=faccd343935c9e98afd1016e9d20e0b8b89d908508d1af958496f8c2d3004ac2
+checksum=5434488108186c170a5e2fca5e3c9b6ef59a1caa4d520b008a9b8be6b8abe6c5
if [ -z "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DBUILD_TESTING=OFF"
From 56e6ed354b96a3bbca93267ca7e97c8815be6303 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 2 Jan 2024 20:33:25 -0800
Subject: [PATCH 2/6] libjxl: update to 0.9.1.
---
common/shlibs | 6 +-
srcpkgs/libjxl/patches/fix-pixbuf.patch | 184 ++++++++++++++++++++++++
srcpkgs/libjxl/template | 24 ++--
3 files changed, 197 insertions(+), 17 deletions(-)
create mode 100644 srcpkgs/libjxl/patches/fix-pixbuf.patch
diff --git a/common/shlibs b/common/shlibs
index 71f172740e5c6..a7ebb86ac7c85 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4235,9 +4235,9 @@ libplayerctl.so.2 playerctl-2.4.1_1
libwireplumber-0.4.so.0 wireplumber-0.4.14_1
libjodycode.so.3 libjodycode-3.0.1_1
libgsoapssl++-2.8.124.so gsoap-2.8.124_1
-libjxl.so.0.8 libjxl-0.8.2_1
-libjxl_dec.so.0.8 libjxl-0.8.2_1
-libjxl_threads.so.0.8 libjxl-0.8.2_1
+libjxl.so.0.9 libjxl-0.9.0_1
+libjxl_dec.so.0.9 libjxl-0.9.0_1
+libjxl_threads.so.0.9 libjxl-0.9.0_1
libtext-engine-0.1.so.0 text-engine-0.1.1_1
libvmaf.so.1 vmaf-2.3.1_1
liblc3.so.1 liblc3-1.0.3_1
diff --git a/srcpkgs/libjxl/patches/fix-pixbuf.patch b/srcpkgs/libjxl/patches/fix-pixbuf.patch
new file mode 100644
index 0000000000000..47166a8f60d18
--- /dev/null
+++ b/srcpkgs/libjxl/patches/fix-pixbuf.patch
@@ -0,0 +1,184 @@
+From 7021ada76bd1c1ee44483027c40233cd2e412637 Mon Sep 17 00:00:00 2001
+From: Leo Izen <leo.izen@gmail.com>
+Date: Mon, 29 Jan 2024 09:21:10 -0500
+Subject: [PATCH] lib/jxl/decode.cc: deduplicate and correct min_size
+ calculation
+
+Code to calculate the proper size of the buffer exists in three places
+in this function - one for the standard buffer, one for the extra
+channel buffer, and one for the preview buffer. However, only the code
+for the preview buffer correctly took into account the last row size
+possibly being slightly smaller than the remaining rows.
+
+This commit separates the code out into a separate function to remove
+duplicate code, and uses the algorithm from the prevew buffer which was
+the only correct one.
+
+Signed-off-by: Leo Izen <leo.izen@gmail.com>
+---
+ lib/jxl/decode.cc | 63 ++++++++++++++++--------------------------
+ lib/jxl/decode_test.cc | 8 ++++--
+ 2 files changed, 30 insertions(+), 41 deletions(-)
+
+diff --git a/lib/jxl/decode.cc b/lib/jxl/decode.cc
+index b674d1ba885..953342d76e1 100644
+--- a/lib/jxl/decode.cc
++++ b/lib/jxl/decode.cc
+@@ -2348,29 +2348,40 @@ JXL_EXPORT JxlDecoderStatus JxlDecoderSetCms(JxlDecoder* dec,
+ return JXL_DEC_SUCCESS;
+ }
+
+-JXL_EXPORT JxlDecoderStatus JxlDecoderPreviewOutBufferSize(
+- const JxlDecoder* dec, const JxlPixelFormat* format, size_t* size) {
++static JxlDecoderStatus GetMinSize(const JxlDecoder* dec,
++ const JxlPixelFormat* format,
++ size_t num_channels, size_t* min_size,
++ bool preview) {
+ size_t bits;
+ JxlDecoderStatus status = PrepareSizeCheck(dec, format, &bits);
+ if (status != JXL_DEC_SUCCESS) return status;
+- if (format->num_channels < 3 &&
+- !dec->image_metadata.color_encoding.IsGray()) {
+- return JXL_API_ERROR("Number of channels is too low for color output");
++ size_t xsize, ysize;
++ if (preview) {
++ xsize = dec->metadata.oriented_preview_xsize(dec->keep_orientation);
++ ysize = dec->metadata.oriented_preview_ysize(dec->keep_orientation);
++ } else {
++ GetCurrentDimensions(dec, xsize, ysize);
+ }
+-
+- size_t xsize = dec->metadata.oriented_preview_xsize(dec->keep_orientation);
+- size_t ysize = dec->metadata.oriented_preview_ysize(dec->keep_orientation);
+-
++ if (num_channels == 0) num_channels = format->num_channels;
+ size_t row_size =
+- jxl::DivCeil(xsize * format->num_channels * bits, jxl::kBitsPerByte);
++ jxl::DivCeil(xsize * num_channels * bits, jxl::kBitsPerByte);
+ size_t last_row_size = row_size;
+ if (format->align > 1) {
+ row_size = jxl::DivCeil(row_size, format->align) * format->align;
+ }
+- *size = row_size * (ysize - 1) + last_row_size;
++ *min_size = row_size * (ysize - 1) + last_row_size;
+ return JXL_DEC_SUCCESS;
+ }
+
++JXL_EXPORT JxlDecoderStatus JxlDecoderPreviewOutBufferSize(
++ const JxlDecoder* dec, const JxlPixelFormat* format, size_t* size) {
++ if (format->num_channels < 3 &&
++ !dec->image_metadata.color_encoding.IsGray()) {
++ return JXL_API_ERROR("Number of channels is too low for color output");
++ }
++ return GetMinSize(dec, format, 0, size, true);
++}
++
+ JXL_EXPORT JxlDecoderStatus JxlDecoderSetPreviewOutBuffer(
+ JxlDecoder* dec, const JxlPixelFormat* format, void* buffer, size_t size) {
+ if (!dec->got_basic_info || !dec->metadata.m.have_preview ||
+@@ -2401,23 +2412,12 @@ JXL_EXPORT JxlDecoderStatus JxlDecoderSetPreviewOutBuffer(
+
+ JXL_EXPORT JxlDecoderStatus JxlDecoderImageOutBufferSize(
+ const JxlDecoder* dec, const JxlPixelFormat* format, size_t* size) {
+- size_t bits;
+- JxlDecoderStatus status = PrepareSizeCheck(dec, format, &bits);
+- if (status != JXL_DEC_SUCCESS) return status;
+ if (format->num_channels < 3 &&
+ !dec->image_metadata.color_encoding.IsGray()) {
+ return JXL_API_ERROR("Number of channels is too low for color output");
+ }
+- size_t xsize, ysize;
+- GetCurrentDimensions(dec, xsize, ysize);
+- size_t row_size =
+- jxl::DivCeil(xsize * format->num_channels * bits, jxl::kBitsPerByte);
+- if (format->align > 1) {
+- row_size = jxl::DivCeil(row_size, format->align) * format->align;
+- }
+- *size = row_size * ysize;
+
+- return JXL_DEC_SUCCESS;
++ return GetMinSize(dec, format, 0, size, false);
+ }
+
+ JxlDecoderStatus JxlDecoderSetImageOutBuffer(JxlDecoder* dec,
+@@ -2463,22 +2463,7 @@ JxlDecoderStatus JxlDecoderExtraChannelBufferSize(const JxlDecoder* dec,
+ return JXL_API_ERROR("Invalid extra channel index");
+ }
+
+- size_t num_channels = 1; // Do not use format's num_channels
+-
+- size_t bits;
+- JxlDecoderStatus status = PrepareSizeCheck(dec, format, &bits);
+- if (status != JXL_DEC_SUCCESS) return status;
+-
+- size_t xsize, ysize;
+- GetCurrentDimensions(dec, xsize, ysize);
+- size_t row_size =
+- jxl::DivCeil(xsize * num_channels * bits, jxl::kBitsPerByte);
+- if (format->align > 1) {
+- row_size = jxl::DivCeil(row_size, format->align) * format->align;
+- }
+- *size = row_size * ysize;
+-
+- return JXL_DEC_SUCCESS;
++ return GetMinSize(dec, format, 1, size, false);
+ }
+
+ JxlDecoderStatus JxlDecoderSetExtraChannelBuffer(JxlDecoder* dec,
+diff --git a/lib/jxl/decode_test.cc b/lib/jxl/decode_test.cc
+index caee6dbc568..310742f705f 100644
+--- a/lib/jxl/decode_test.cc
++++ b/lib/jxl/decode_test.cc
+@@ -2575,7 +2575,11 @@ TEST(DecodeTest, AlignTest) {
+ size_t align = 17;
+ JxlPixelFormat format = {3, JXL_TYPE_UINT8, JXL_LITTLE_ENDIAN, align};
+ // On purpose not using jxl::RoundUpTo to test it independently.
+- size_t expected_line_bytes = (1 * 3 * xsize + align - 1) / align * align;
++ size_t expected_line_size_last = 1 * 3 * xsize;
++ size_t expected_line_size =
++ ((expected_line_size_last + align - 1) / align) * align;
++ size_t expected_pixels_size =
++ expected_line_size * (ysize - 1) + expected_line_size_last;
+
+ for (int use_callback = 0; use_callback <= 1; ++use_callback) {
+ std::vector<uint8_t> pixels2 = jxl::DecodeWithAPI(
+@@ -2583,7 +2587,7 @@ TEST(DecodeTest, AlignTest) {
+ /*set_buffer_early=*/false,
+ /*use_resizable_runner=*/false, /*require_boxes=*/false,
+ /*expect_success=*/true);
+- EXPECT_EQ(expected_line_bytes * ysize, pixels2.size());
++ EXPECT_EQ(expected_pixels_size, pixels2.size());
+ EXPECT_EQ(0u, jxl::test::ComparePixels(pixels.data(), pixels2.data(), xsize,
+ ysize, format_orig, format));
+ }
+From c4ebb7e70ee09591ae0269410ebe8929f400713e Mon Sep 17 00:00:00 2001
+From: Leo Izen <leo.izen@gmail.com>
+Date: Mon, 29 Jan 2024 09:23:36 -0500
+Subject: [PATCH] plugins/gdk-pixbuf: consider stride when passing buffer to
+ libjxl
+
+This change uses gdk_pixbuf_get_pixels_with_length to get the actual
+size of the buffer, with stride taken into account. The previous code
+just multiplies width by height and ignores stride.
+
+Signed-off-by: Leo Izen <leo.izen@gmail.com>
+---
+ plugins/gdk-pixbuf/pixbufloader-jxl.c | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/plugins/gdk-pixbuf/pixbufloader-jxl.c b/plugins/gdk-pixbuf/pixbufloader-jxl.c
+index bafa57b1674..066468a5035 100644
+--- a/plugins/gdk-pixbuf/pixbufloader-jxl.c
++++ b/plugins/gdk-pixbuf/pixbufloader-jxl.c
+@@ -491,9 +491,8 @@ static gboolean load_increment(gpointer context, const guchar *buf, guint size,
+ decoder_state->frames->len - 1)
+ .data;
+ decoder_state->pixel_format.align = gdk_pixbuf_get_rowstride(output);
+- guchar *dst = gdk_pixbuf_get_pixels(output);
+- size_t num_pixels = decoder_state->xsize * decoder_state->ysize;
+- size_t size = num_pixels * decoder_state->pixel_format.num_channels;
++ guint size;
++ guchar *dst = gdk_pixbuf_get_pixels_with_length(output, &size);
+ if (JXL_DEC_SUCCESS != JxlDecoderSetImageOutBuffer(
+ decoder_state->decoder,
+ &decoder_state->pixel_format, dst, size)) {
diff --git a/srcpkgs/libjxl/template b/srcpkgs/libjxl/template
index cb2a08809b055..274a540b36a7e 100644
--- a/srcpkgs/libjxl/template
+++ b/srcpkgs/libjxl/template
@@ -1,16 +1,16 @@
# Template file for 'libjxl'
pkgname=libjxl
-version=0.8.2
-revision=2
-_testdata_hash=d6168ffb9e1cc24007e64b65dd84d822ad1fc759
-_skcms_hash=b25b07b4b07990811de121c0356155b2ba0f4318
+version=0.9.1
+revision=1
+_testdata_hash=ff8d743aaba05b3014f17e5475e576242fa979fc
build_style=cmake
build_wrksrc="libjxl-${version}"
configure_args="-DJPEGXL_ENABLE_BENCHMARK=OFF -DJPEGXL_ENABLE_EXAMPLES=OFF
- -DJPEGXL_ENABLE_SJPEG=OFF -DJPEGXL_ENABLE_PLUGINS=ON -DJPEGXL_VERSION=${version}"
+ -DJPEGXL_ENABLE_SJPEG=OFF -DJPEGXL_ENABLE_PLUGINS=ON -DJPEGXL_VERSION=${version}
+ -DJPEGXL_ENABLE_SKCMS=OFF"
hostmakedepends="tar pkg-config asciidoc"
makedepends="brotli-devel highway libpng-devel giflib-devel libjpeg-turbo-devel
- libopenexr-devel libwebp-devel gdk-pixbuf-devel gimp-devel"
+ libopenexr-devel libwebp-devel gdk-pixbuf-devel gimp-devel lcms2-devel"
checkdepends="gtest-devel xdg-utils"
short_desc="JPEG XL image format reference implementation"
maintainer="Joshua Krämer <joshua@kraemer.link>"
@@ -18,12 +18,10 @@ license="BSD-3-Clause, custom:Patent grant"
homepage="https://jpeg.org/jpegxl/"
changelog="https://raw.githubusercontent.com/libjxl/libjxl/main/CHANGELOG.md"
distfiles="https://github.com/libjxl/libjxl/archive/v${version}.tar.gz
- https://github.com/libjxl/testdata/archive/${_testdata_hash}.tar.gz>testdata-${_testdata_hash}.tar.gz
- https://skia.googlesource.com/skcms/+archive/${_skcms_hash}.tar.gz>skcms-${_skcms_hash}.tar.gz"
-checksum="c70916fb3ed43784eb840f82f05d390053a558e2da106e40863919238fa7b420
- 64658d3341bff2976899cb8b140242ffa4de1cd41aed507dfec4aa9e7e05ca24
- @8feb1e33c38ca13f91a0d5bd8ce25f976eb239edf38f49e6db8895ae9f1e833c"
-skip_extraction="skcms-${_skcms_hash}.tar.gz"
+ https://github.com/libjxl/testdata/archive/${_testdata_hash}.tar.gz>testdata-${_testdata_hash}.tar.gz"
+checksum="a0e72e9ece26878147069ad4888ac3382021d4bbee71c2e1b687d5bde7fd7e01
+ 9c45a108df32a002a69465df896d33acf77d97c88fb59dffa0dff5628370e96f"
+patch_args="-Np1 --directory=${build_wrksrc}"
if [ -z "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DBUILD_TESTING=OFF"
@@ -31,7 +29,6 @@ fi
post_extract() {
mv "testdata-${_testdata_hash}"/* "${build_wrksrc}/testdata/"
- bsdtar -xf "${XBPS_SRCDISTDIR}/${pkgname}-${version}/skcms-${_skcms_hash}.tar.gz" -C "${build_wrksrc}/third_party/skcms"
}
post_install() {
@@ -44,7 +41,6 @@ libjxl-devel_package() {
depends="${sourcepkg}>=${version}_${revision} highway brotli-devel"
pkg_install() {
vmove usr/include
- vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
From 56a5f78d972ad7221d48ceb23f52f5e8c09b12ab Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 2 Jan 2024 22:40:00 -0800
Subject: [PATCH 3/6] krita: rebuild for libjxl 0.9
---
srcpkgs/krita/patches/jxl09.patch | 71 +++++++++++++++++++++++++++++++
srcpkgs/krita/patches/sip68.patch | 23 ++++++++++
srcpkgs/krita/template | 2 +-
3 files changed, 95 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/krita/patches/jxl09.patch
create mode 100644 srcpkgs/krita/patches/sip68.patch
diff --git a/srcpkgs/krita/patches/jxl09.patch b/srcpkgs/krita/patches/jxl09.patch
new file mode 100644
index 0000000000000..50e2cd50bcc66
--- /dev/null
+++ b/srcpkgs/krita/patches/jxl09.patch
@@ -0,0 +1,71 @@
+From d9e258bf9d6af5f53467becf65bb21bf6f96a38e Mon Sep 17 00:00:00 2001
+From: Timo Gurr <timo.gurr@gmail.com>
+Date: Fri, 29 Dec 2023 11:10:26 +0100
+Subject: [PATCH] Fix build with libjxl 0.9.0
+
+BUG:478987
+---
+ plugins/impex/jxl/JPEGXLImport.cpp | 15 ++++++++++++++-
+ 1 file changed, 14 insertions(+), 1 deletion(-)
+
+diff --git a/plugins/impex/jxl/JPEGXLImport.cpp b/plugins/impex/jxl/JPEGXLImport.cpp
+index 573bae41247..f5b989b3b70 100644
+--- a/plugins/impex/jxl/JPEGXLImport.cpp
++++ b/plugins/impex/jxl/JPEGXLImport.cpp
+@@ -511,7 +511,9 @@ JPEGXLImport::convert(KisDocument *document, QIODevice *io, KisPropertiesConfigu
+ JxlColorEncoding colorEncoding{};
+ if (JXL_DEC_SUCCESS
+ == JxlDecoderGetColorAsEncodedProfile(dec.get(),
++#if JPEGXL_NUMERIC_VERSION < JPEGXL_COMPUTE_NUMERIC_VERSION(0, 9, 0)
+ nullptr,
++#endif
+ JXL_COLOR_PROFILE_TARGET_DATA,
+ &colorEncoding)) {
+ const TransferCharacteristics transferFunction = [&]() {
+@@ -635,7 +637,12 @@ JPEGXLImport::convert(KisDocument *document, QIODevice *io, KisPropertiesConfigu
+ size_t iccSize = 0;
+ QByteArray iccProfile;
+ if (JXL_DEC_SUCCESS
+- != JxlDecoderGetICCProfileSize(dec.get(), nullptr, JXL_COLOR_PROFILE_TARGET_DATA, &iccSize)) {
++ != JxlDecoderGetICCProfileSize(dec.get(),
++#if JPEGXL_NUMERIC_VERSION < JPEGXL_COMPUTE_NUMERIC_VERSION(0,9,0)
++ nullptr,
++#endif
++ JXL_COLOR_PROFILE_TARGET_DATA,
++ &iccSize)) {
+ errFile << "ICC profile size retrieval failed";
+ document->setErrorMessage(i18nc("JPEG-XL errors", "Unable to read the image profile."));
+ return ImportExportCodes::ErrorWhileReading;
+@@ -643,7 +650,9 @@ JPEGXLImport::convert(KisDocument *document, QIODevice *io, KisPropertiesConfigu
+ iccProfile.resize(static_cast<int>(iccSize));
+ if (JXL_DEC_SUCCESS
+ != JxlDecoderGetColorAsICCProfile(dec.get(),
++#if JPEGXL_NUMERIC_VERSION < JPEGXL_COMPUTE_NUMERIC_VERSION(0,9,0)
+ nullptr,
++#endif
+ JXL_COLOR_PROFILE_TARGET_DATA,
+ reinterpret_cast<uint8_t *>(iccProfile.data()),
+ static_cast<size_t>(iccProfile.size()))) {
+@@ -657,7 +666,9 @@ JPEGXLImport::convert(KisDocument *document, QIODevice *io, KisPropertiesConfigu
+ if (!d.m_info.uses_original_profile) {
+ if (JXL_DEC_SUCCESS
+ != JxlDecoderGetICCProfileSize(dec.get(),
++#if JPEGXL_NUMERIC_VERSION < JPEGXL_COMPUTE_NUMERIC_VERSION(0,9,0)
+ nullptr,
++#endif
+ JXL_COLOR_PROFILE_TARGET_ORIGINAL,
+ &iccTargetSize)) {
+ errFile << "ICC profile size retrieval failed";
+@@ -667,7 +678,9 @@ JPEGXLImport::convert(KisDocument *document, QIODevice *io, KisPropertiesConfigu
+ iccTargetProfile.resize(static_cast<int>(iccTargetSize));
+ if (JXL_DEC_SUCCESS
+ != JxlDecoderGetColorAsICCProfile(dec.get(),
++#if JPEGXL_NUMERIC_VERSION < JPEGXL_COMPUTE_NUMERIC_VERSION(0,9,0)
+ nullptr,
++#endif
+ JXL_COLOR_PROFILE_TARGET_ORIGINAL,
+ reinterpret_cast<uint8_t *>(iccTargetProfile.data()),
+ static_cast<size_t>(iccTargetProfile.size()))) {
+--
+GitLab
+
diff --git a/srcpkgs/krita/patches/sip68.patch b/srcpkgs/krita/patches/sip68.patch
new file mode 100644
index 0000000000000..e9e4544b7cc27
--- /dev/null
+++ b/srcpkgs/krita/patches/sip68.patch
@@ -0,0 +1,23 @@
+From 2d71c47661d43a4e3c1ab0c27803de980bdf2bb2 Mon Sep 17 00:00:00 2001
+From: Antonio Rojas <arojas@archlinux.org>
+Date: Mon, 11 Dec 2023 20:26:13 +0100
+Subject: [PATCH] Bump SIP ABI version to 12.8
+
+Fixes build with SIP 6.8
+---
+ cmake/modules/pyproject.toml.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cmake/modules/pyproject.toml.in b/cmake/modules/pyproject.toml.in
+index 090b2d4b0cb..085ddf41799 100644
+--- a/cmake/modules/pyproject.toml.in
++++ b/cmake/modules/pyproject.toml.in
+@@ -9,7 +9,7 @@ name = "@module_name_toml@"
+ sip-module = "@sip_name@"
+ sip-include-dirs = @sip_include_dirs@
+ sip-files-dir = "@module_srcs@"
+-abi-version = "12"
++abi-version = "12.8"
+
+ [tool.sip.bindings.@module_name_toml@]
+ tags = @module_tags@
diff --git a/srcpkgs/krita/template b/srcpkgs/krita/template
index d804b581a8689..4833f8bd33d86 100644
--- a/srcpkgs/krita/template
+++ b/srcpkgs/krita/template
@@ -1,7 +1,7 @@
# Template file for 'krita'
pkgname=krita
version=5.2.1
-revision=3
+revision=4
build_style=cmake
configure_args="-Wno-dev -DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules gettext pkg-config python3
From e50c986f296c7c5e9e79d4597f0929d5ac809f80 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 2 Jan 2024 22:40:19 -0800
Subject: [PATCH 4/6] imlib2: rebuild for libjxl 0.9
---
srcpkgs/imlib2/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/imlib2/template b/srcpkgs/imlib2/template
index bcbf607efa142..9f485b0b2f858 100644
--- a/srcpkgs/imlib2/template
+++ b/srcpkgs/imlib2/template
@@ -1,7 +1,7 @@
# Template file for 'imlib2'
pkgname=imlib2
version=1.12.1
-revision=1
+revision=2
build_style=gnu-configure
configure_args="--disable-static --sysconfdir=/etc/imlib2 --enable-visibility-hiding"
hostmakedepends="pkg-config"
From 486dbd97faa220332d78b1acffd65dbfe25ae1a0 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 2 Jan 2024 22:41:01 -0800
Subject: [PATCH 5/6] darktable: rebuild for libjxl 0.9
---
srcpkgs/darktable/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/darktable/template b/srcpkgs/darktable/template
index 97dfae3471e7c..af29d7cec18bb 100644
--- a/srcpkgs/darktable/template
+++ b/srcpkgs/darktable/template
@@ -1,7 +1,7 @@
# Template file for 'darktable'
pkgname=darktable
version=4.4.2
-revision=5
+revision=6
# upstream only supports these archs:
archs="x86_64* aarch64* ppc64le*"
build_style=cmake
From 39ea7f2e7b9ce1b0983e1db1aa8044cc4bce2588 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
Date: Tue, 2 Jan 2024 22:41:26 -0800
Subject: [PATCH 6/6] kimageformats: rebuild for libjxl 0.9
---
srcpkgs/kimageformats/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/kimageformats/template b/srcpkgs/kimageformats/template
index 9ff74b976eab0..9a6a9c6d3bf41 100644
--- a/srcpkgs/kimageformats/template
+++ b/srcpkgs/kimageformats/template
@@ -1,7 +1,7 @@
# Template file for 'kimageformats'
pkgname=kimageformats
version=5.113.0
-revision=1
+revision=2
build_style=cmake
configure_args="-DKIMAGEFORMATS_HEIF=ON"
hostmakedepends="kcoreaddons extra-cmake-modules qt5-qmake qt5-host-tools
next prev parent reply other threads:[~2024-01-30 4:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-29 23:11 [PR PATCH] " oreo639
2024-01-30 4:13 ` oreo639 [this message]
2024-01-30 20:42 ` [PR PATCH] [Updated] " oreo639
2024-01-31 0:27 ` oreo639
2024-02-03 5:30 ` oreo639
2024-02-03 9:01 ` oreo639
2024-02-04 5:42 ` oreo639
2024-02-04 11:51 ` oreo639
2024-02-04 11:52 ` oreo639
2024-02-05 6:50 ` [PR PATCH] [Merged]: " oreo639
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240130041307.B1C4426749@inbox.vuxu.org \
--to=oreo639@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).