public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/loupe] f45: Update to version 51.beta; Fixes RHBZ#2494430
@ 2026-08-12 20:44 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-08-12 20:44 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/loupe
Branch : f45
Commit : dd3fcaf36aaa76d26b191f2a35d94587ad852f0a
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-08-11T17:29:29+02:00
Stats : +48/-3 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/loupe/c/dd3fcaf36aaa76d26b191f2a35d94587ad852f0a?branch=f45
Log:
Update to version 51.beta; Fixes RHBZ#2494430
---
diff --git a/0001-Backport-support-for-gufo-0.5.0-beta.1.patch b/0001-Backport-support-for-gufo-0.5.0-beta.1.patch
new file mode 100644
index 0000000..4fd1c6d
--- /dev/null
+++ b/0001-Backport-support-for-gufo-0.5.0-beta.1.patch
@@ -0,0 +1,39 @@
+From 8c4916261cf3cdad965b2b7d422b2d900303c0bd Mon Sep 17 00:00:00 2001
+From: Fabio Valentini <decathorpe@gmail.com>
+Date: Tue, 11 Aug 2026 17:17:25 +0200
+Subject: [PATCH] Backport support for gufo 0.5.0-beta.1
+
+---
+ Cargo.toml | 2 +-
+ src/metadata.rs | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Cargo.toml b/Cargo.toml
+index 06a4502..f04679c 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -36,7 +36,7 @@ gtk = { package = "gtk4", version = "0.11.0", features = [
+ "v4_14",
+ "xml_validation",
+ ] }
+-gufo = { version = "0.5.0-beta", features = ["chrono"] }
++gufo = { version = "0.5.0-beta.1", features = ["chrono"] }
+ gvdb-macros = "0.1.6"
+ indexmap = "2.0.0"
+ libc = "0.2.158"
+diff --git a/src/metadata.rs b/src/metadata.rs
+index 755ec5c..207941a 100644
+--- a/src/metadata.rs
++++ b/src/metadata.rs
+@@ -512,7 +512,7 @@ impl Metadata {
+ let transfer = match cicp.transfer_characteristics {
+ cicp::TransferCharacteristics::Dci => gettext("DCI"),
+ cicp::TransferCharacteristics::Pq => gettext("PQ"),
+- cicp::TransferCharacteristics::Gamma24 => gettext("Gamma 2.4"),
++ cicp::TransferCharacteristics::Srgb => gettext("Gamma 2.4"),
+ cicp::TransferCharacteristics::Unknown(n) => {
+ gettext_f("Unknown ({})", [n.to_string()])
+ }
+--
+2.55.0
+
diff --git a/loupe.spec b/loupe.spec
index a9d49c8..f3f91ff 100644
--- a/loupe.spec
+++ b/loupe.spec
@@ -3,7 +3,7 @@
%bcond bundled_rust_deps %{defined rhel}
Name: loupe
-Version: 51~alpha
+Version: 51~beta
Release: %autorelease
Summary: Image viewer
@@ -14,6 +14,7 @@ Summary: Image viewer
# Apache-2.0 OR MIT
# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
# BSD-2-Clause OR Apache-2.0 OR MIT
+# BSD-3-Clause OR Apache-2.0
# GPL-3.0-or-later
# ISC
# MIT
@@ -30,6 +31,7 @@ License: %{shrink:
AND (Apache-2.0 OR MIT)
AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT)
AND (BSD-2-Clause OR Apache-2.0 OR MIT)
+ AND (BSD-3-Clause OR Apache-2.0)
AND (MPL-2.0 OR LGPL-2.1-or-later)
AND (Unlicense OR MIT)
AND (Zlib OR Apache-2.0 OR MIT)
@@ -45,6 +47,10 @@ Source0: https://download.gnome.org/sources/loupe/%{gnome_major_version}/
# popd
Source1: loupe-%{gnome_tarball_version}-vendor.tar.xz
+# backport https://gitlab.gnome.org/GNOME/loupe/-/commit/7ea1175
+# to account for https://github.com/gufo-rs/gufo/commit/a8a4905
+Patch: 0001-Backport-support-for-gufo-0.5.0-beta.1.patch
+
%gnome_check_version
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
diff --git a/sources b/sources
index 93426d2..5c38b8a 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (loupe-51.alpha.tar.xz) = 8e1b2b7b4101fbc470ead0b926f0fc5fd23799aa3ebd1fe8a01bf96275ed8667e76082860178ca47853f0b3ee8935b3744d790e03e65523a7bb165353855b98c
-SHA512 (loupe-51.alpha-vendor.tar.xz) = 653dcb5572ef1853125dc8755355c03518fef3441e2b7af3da2b2c07dd62271dea901809f2c7980556bc85b085ffb81026d826c49c3dc1945af7ed20d81e24eb
+SHA512 (loupe-51.beta.tar.xz) = 6367be15cdcbf437d8d807e4bdae2008cb104dfac01b606755c0d41f45e6f4732b1660ec085e49b00275165c08c6f4fa060c1f0eec7960f59c9bcb785fb40fb7
+SHA512 (loupe-51.beta-vendor.tar.xz) = a2ac418b0ec303f155791fc8868af50ba657ceb7c7a6e89b9d230c68a871d1b1a12f0ec2e1cb457a8a2618b199822224042ceb57c90a1f5b60ae05605f076cd8
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-12 20:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12 20:44 [rpms/loupe] f45: Update to version 51.beta; Fixes RHBZ#2494430 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox