public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pillow-jxl-plugin] f43: Update to 1.3.6
@ 2026-06-29 14:51 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-29 14:51 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pillow-jxl-plugin
Branch : f43
Commit : b5ce3ef28f75a05b2fdfb14a29a701fe83808d17
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-06-29T15:28:31+01:00
Stats : +28/-22 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/python-pillow-jxl-plugin/c/b5ce3ef28f75a05b2fdfb14a29a701fe83808d17?branch=f43
Log:
Update to 1.3.6
---
diff --git a/.gitignore b/.gitignore
index 3c4372c..2377c0d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/pillow_jxl_plugin-1.3.3.tar.gz
/pillow_jxl_plugin-1.3.4.tar.gz
/pillow-jpegxl-plugin-1.3.5.tar.gz
+/pillow-jpegxl-plugin-1.3.6.tar.gz
diff --git a/0001-Unconditionally-dynamically-link-libjxl.patch b/0001-Unconditionally-dynamically-link-libjxl.patch
index a19e912..98a82e9 100644
--- a/0001-Unconditionally-dynamically-link-libjxl.patch
+++ b/0001-Unconditionally-dynamically-link-libjxl.patch
@@ -1,28 +1,28 @@
-From fb32a0ea3a8399d1d7ddcac9b14008a0790050d1 Mon Sep 17 00:00:00 2001
+From c14770600d9a77354a95a0d5da0b3c165f4f3354 Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Sat, 22 Mar 2025 13:30:36 +0100
Subject: [PATCH 1/2] Unconditionally dynamically link libjxl
---
Cargo.toml | 4 +---
- build.rs | 52 +-------------------------------------------------
+ build.rs | 54 +-------------------------------------------------
pyproject.toml | 2 +-
- 3 files changed, 3 insertions(+), 55 deletions(-)
+ 3 files changed, 3 insertions(+), 57 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
-index 82fb871..95f0939 100644
+index 2a236f1..24b3cac 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,7 +2,6 @@
name = "pillow-jxl-plugin"
- version = "1.3.5"
+ version = "1.3.6"
edition = "2021"
-build = "build.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
-@@ -14,6 +13,5 @@ pyo3 = { version="0.26.0", features = ["extension-module", "generate-import-lib"
- jpegxl-rs = { version="0.11.2", default-features = false }
+@@ -15,6 +14,5 @@ jpegxl-rs = { version="0.11.2", default-features = false }
+ half = "2.7.1"
[features]
-# Enables parallel processing support by enabling the "rayon" feature of jpeg-decoder.
@@ -30,12 +30,13 @@ index 82fb871..95f0939 100644
+default = ["dynamic"]
dynamic = []
diff --git a/build.rs b/build.rs
-index e8f0895..4eddb1f 100644
+index 028f2b2..4eddb1f 100644
--- a/build.rs
+++ b/build.rs
-@@ -1,55 +1,5 @@
+@@ -1,57 +1,5 @@
-use std::env;
-
+-#[allow(dead_code)]
-fn dynamic_link() {
+fn main() {
println!("cargo:rustc-link-lib=jxl");
@@ -43,17 +44,18 @@ index e8f0895..4eddb1f 100644
-
println!("cargo:rustc-link-lib=hwy");
- if let Ok(path) = env::var("DEP_HWY_LIB") {
-- println!("cargo:rustc-link-search=native={}", path);
+- println!("cargo:rustc-link-search=native={path}");
- }
-
- println!("cargo:rustc-link-lib:+whole-archive=brotlidec");
- println!("cargo:rustc-link-lib=brotlienc");
- println!("cargo:rustc-link-lib=brotlicommon");
- if let Ok(path) = env::var("DEP_BROTLI_LIB") {
-- println!("cargo:rustc-link-search=native={}", path);
+- println!("cargo:rustc-link-search=native={path}");
- }
-}
-
+-#[allow(dead_code)]
-fn static_link() {
- println!("cargo:rustc-link-lib=static=jxl");
- println!("cargo:rustc-link-lib=static=jxl_cms");
@@ -61,14 +63,14 @@ index e8f0895..4eddb1f 100644
-
- println!("cargo:rustc-link-lib=static=hwy");
- if let Ok(path) = env::var("DEP_HWY_LIB") {
-- println!("cargo:rustc-link-search=native={}", path);
+- println!("cargo:rustc-link-search=native={path}");
- }
-
- println!("cargo:rustc-link-lib=static:+whole-archive=brotlidec");
- println!("cargo:rustc-link-lib=static=brotlienc");
- println!("cargo:rustc-link-lib=static=brotlicommon");
- if let Ok(path) = env::var("DEP_BROTLI_LIB") {
-- println!("cargo:rustc-link-search=native={}", path);
+- println!("cargo:rustc-link-search=native={path}");
- }
-}
-
@@ -91,15 +93,18 @@ index e8f0895..4eddb1f 100644
- }
}
diff --git a/pyproject.toml b/pyproject.toml
-index 11dc6fa..dd9e8bc 100644
+index 3ee5317..4f64dfd 100644
--- a/pyproject.toml
+++ b/pyproject.toml
-@@ -31,4 +31,4 @@ dev = ["numpy", "pytest", "pyexiv2"]
+@@ -40,7 +40,7 @@ dev = [
"Releases" = "https://github.com/Isotr0py/pillow-jpegxl-plugin/releases"
[tool.maturin]
-features = ["pyo3/extension-module", "vendored"]
+features = ["pyo3/extension-module"]
+
+ [tool.ruff]
+ target-version = "py39"
--
2.54.0
diff --git a/0002-Downstream-only-patch-out-the-generate-import-lib-fe.patch b/0002-Downstream-only-patch-out-the-generate-import-lib-fe.patch
index 6c77a98..fb5348c 100644
--- a/0002-Downstream-only-patch-out-the-generate-import-lib-fe.patch
+++ b/0002-Downstream-only-patch-out-the-generate-import-lib-fe.patch
@@ -1,4 +1,4 @@
-From bec7e8c03bd844c9444623f7df38d0c80847371b Mon Sep 17 00:00:00 2001
+From c8be4e96e83e8de602e85f70558b08da3de9db2a Mon Sep 17 00:00:00 2001
From: "Benjamin A. Beasley" <code@musicinmybrain.net>
Date: Sat, 20 Jun 2026 22:02:36 +0100
Subject: [PATCH 2/2] Downstream-only: patch out the generate-import-lib
@@ -14,18 +14,18 @@ feature – which is not packaged for that reason.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
-index 95f0939..b3c362a 100644
+index 24b3cac..be2476c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,7 +9,7 @@ name = "pillow_jxl"
crate-type = ["cdylib"]
[dependencies]
--pyo3 = { version="0.26.0", features = ["extension-module", "generate-import-lib"] }
-+pyo3 = { version="0.26.0", features = ["extension-module"] }
+-pyo3 = { version="0.27.1", features = ["extension-module", "generate-import-lib"] }
++pyo3 = { version="0.27.1", features = ["extension-module"] }
jpegxl-rs = { version="0.11.2", default-features = false }
+ half = "2.7.1"
- [features]
--
2.54.0
diff --git a/python-pillow-jxl-plugin.spec b/python-pillow-jxl-plugin.spec
index 5a037ef..6a759df 100644
--- a/python-pillow-jxl-plugin.spec
+++ b/python-pillow-jxl-plugin.spec
@@ -1,5 +1,5 @@
Name: python-pillow-jxl-plugin
-Version: 1.3.5
+Version: 1.3.6
Release: %autorelease
Summary: Pillow plugin for JPEG-XL
# GPL-3.0-or-later for code
diff --git a/sources b/sources
index 6b63dd0..dc53488 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pillow-jpegxl-plugin-1.3.5.tar.gz) = 96cd759800b45d00b586e0b6f804f9fd600b31f63ff7030f928b62cb6b68e132348706bde0de28f0fab666c27f2c49e3694385f6edb6ce1fb557ea59bc4d31a9
+SHA512 (pillow-jpegxl-plugin-1.3.6.tar.gz) = beb5e1d35ec1030eeaaee901e73d03c4fa7ecf48a6699eec456a8622d51a7b0cef456e2b1d30c7c9b9ab2ddc1e560027b92b16f1d45fe4bd12b59fdb3647e66f
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-29 14:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 14:51 [rpms/python-pillow-jxl-plugin] f43: Update to 1.3.6 Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox