public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michal Srb <michal@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/abrt] update-2.17.9-f44: applet: Update GLib constant name
Date: Mon, 03 Aug 2026 11:05:41 GMT [thread overview]
Message-ID: <178575514129.1.16477451031697586023.rpms-abrt-c8a122775e01@fedoraproject.org> (raw)
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}
reply other threads:[~2026-08-03 11:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=178575514129.1.16477451031697586023.rpms-abrt-c8a122775e01@fedoraproject.org \
--to=michal@redhat.com \
--cc=git-commits@fedoraproject.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