[packages/gthumb] upstream fix to use glib's bool instead of c's; rel 2
atler
atler at pld-linux.org
Thu Sep 18 19:19:09 CEST 2025
commit f081a2c6c36bcc3d94298c60e843c173a8f00307
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Sep 18 19:17:18 2025 +0200
upstream fix to use glib's bool instead of c's; rel 2
bool.patch | 35 +++++++++++++++++++++++++++++++++++
gthumb.spec | 4 +++-
2 files changed, 38 insertions(+), 1 deletion(-)
---
diff --git a/gthumb.spec b/gthumb.spec
index 497e854..4360bd7 100644
--- a/gthumb.spec
+++ b/gthumb.spec
@@ -2,12 +2,13 @@ Summary: An image viewer and browser for GNOME
Summary(pl.UTF-8): Przeglądarka obrazków dla GNOME
Name: gthumb
Version: 3.12.8
-Release: 1
+Release: 2
License: GPL v2+
Group: X11/Applications/Graphics
Source0: https://download.gnome.org/sources/gthumb/3.12/%{name}-%{version}.tar.xz
# Source0-md5: 76774d4145ce93d72b017a1dc263e085
Patch0: time-type.patch
+Patch1: bool.patch
URL: https://wiki.gnome.org/Apps/Gthumb
BuildRequires: AppStream-devel >= 0.14.6
BuildRequires: automake
@@ -93,6 +94,7 @@ rozszerzeń gThumb.
%prep
%setup -q
%patch -P 0 -p1
+%patch -P 1 -p1
%build
%meson \
diff --git a/bool.patch b/bool.patch
new file mode 100644
index 0000000..9097230
--- /dev/null
+++ b/bool.patch
@@ -0,0 +1,35 @@
+From 816883e1d74c4d3f7b379205876a54d45accace9 Mon Sep 17 00:00:00 2001
+From: Paolo Bacchilega <paobac at src.gnome.org>
+Date: Thu, 18 Sep 2025 16:16:46 +0200
+Subject: [PATCH] Use TRUE instead of true
+
+Fixes https://gitlab.gnome.org/GNOME/gthumb/-/issues/360
+---
+ extensions/image_rotation/rotation-utils.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/extensions/image_rotation/rotation-utils.c b/extensions/image_rotation/rotation-utils.c
+index c4d55a18..bc213311 100644
+--- a/extensions/image_rotation/rotation-utils.c
++++ b/extensions/image_rotation/rotation-utils.c
+@@ -226,7 +226,7 @@ _apply_transformation_async_thread (GTask *task,
+ else {
+ // No changes
+ g_free (buffer);
+- g_task_return_boolean (task, true);
++ g_task_return_boolean (task, TRUE);
+ return;
+ }
+
+@@ -244,7 +244,7 @@ _apply_transformation_async_thread (GTask *task,
+ g_task_return_error (task, error);
+ }
+ else {
+- g_task_return_boolean (task, true);
++ g_task_return_boolean (task, TRUE);
+ }
+ }
+
+--
+GitLab
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gthumb.git/commitdiff/f081a2c6c36bcc3d94298c60e843c173a8f00307
More information about the pld-cvs-commit
mailing list