public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/abrt] update-2.17.9-f44: applet: Update GLib constant name
@ 2026-08-03 11:05 Michal Srb
0 siblings, 0 replies; only message in thread
From: Michal Srb @ 2026-08-03 11:05 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/abrt
Branch : update-2.17.9-f44
Commit : c8a122775e01e31dcb0435ff904c1e61b6c64f55
Author : Michal Srb <michal@redhat.com>
Date : 2022-10-12T09:59:26+02:00
Stats : +49/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/abrt/c/c8a122775e01e31dcb0435ff904c1e61b6c64f55?branch=update-2.17.9-f44
Log:
applet: Update GLib constant name
This fixes FTBFS in F37+
Signed-off-by: Michal Srb <michal@redhat.com>
---
diff --git a/0003-applet-Update-GLib-constant-name.patch b/0003-applet-Update-GLib-constant-name.patch
new file mode 100644
index 0000000..ae96953
--- /dev/null
+++ b/0003-applet-Update-GLib-constant-name.patch
@@ -0,0 +1,48 @@
+From 8f67ddc99b4a72718290daae323fa5bc3c1d59eb Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Mat=C4=9Bj=20Grabovsk=C3=BD?= <mgrabovs@redhat.com>
+Date: Thu, 15 Sep 2022 12:59:23 +0200
+Subject: [PATCH] applet: Update GLib constant name
+
+The `G_APPLICATION_FLAGS_NONE` constant has apparently been deprecated
+and removed 2.73. Also bump the version constraint in the spec file.
+---
+ abrt.spec | 3 ++-
+ src/applet/abrt-applet-application.c | 2 +-
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/abrt.spec b/abrt.spec
+index 2f2c3027..03beca7d 100644
+--- a/abrt.spec
++++ b/abrt.spec
+@@ -43,6 +43,7 @@
+ %define docdirversion -%{version}
+ %endif
+
++%define glib_ver 2.73.3
+ %define libreport_ver 2.14.0
+ %define satyr_ver 0.24
+
+@@ -56,7 +57,7 @@ Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.ta
+ BuildRequires: %{dbus_devel}
+ BuildRequires: hostname
+ BuildRequires: gtk3-devel
+-BuildRequires: glib2-devel >= 2.43.4
++BuildRequires: glib2-devel >= %{glib_ver}
+ BuildRequires: rpm-devel >= 4.6
+ BuildRequires: desktop-file-utils
+ BuildRequires: libnotify-devel
+diff --git a/src/applet/abrt-applet-application.c b/src/applet/abrt-applet-application.c
+index 394d52b7..6faa8cf7 100644
+--- a/src/applet/abrt-applet-application.c
++++ b/src/applet/abrt-applet-application.c
+@@ -1215,6 +1215,6 @@ abrt_applet_application_new (void)
+ {
+ return g_object_new (ABRT_APPLET_TYPE_APPLICATION,
+ "application-id", ABRT_DBUS_NAME ".applet",
+- "flags", G_APPLICATION_FLAGS_NONE,
++ "flags", G_APPLICATION_DEFAULT_FLAGS,
+ NULL);
+ }
+--
+2.37.3
+
diff --git a/abrt.spec b/abrt.spec
index 201f845..e6c1ad1 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -55,6 +55,7 @@ URL: https://abrt.readthedocs.org/
Source: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0: 0001-Fix-for-rpm-4.18.patch
Patch1: 0002-abrt-journal-call-sd_journal_get_fd-right-after-sd_j.patch
+Patch2: 0003-applet-Update-GLib-constant-name.patch
BuildRequires: git-core
BuildRequires: %{dbus_devel}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-03 11:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-03 11:05 [rpms/abrt] update-2.17.9-f44: applet: Update GLib constant name Michal Srb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox