public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/glib2] cve-2026-58016-f44: include upstream patch to fix gdbus-codegen with meson 0.46
Date: Tue, 11 Aug 2026 10:36:33 GMT [thread overview]
Message-ID: <178644459389.1.3275006699631647012.rpms-glib2-4c1e2ebdaa40@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/glib2
Branch : cve-2026-58016-f44
Commit : 4c1e2ebdaa40d2634f880d96b4710a846ec3b34c
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2018-05-13T15:06:56+02:00
Stats : +21/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/glib2/c/4c1e2ebdaa40d2634f880d96b4710a846ec3b34c?branch=cve-2026-58016-f44
Log:
include upstream patch to fix gdbus-codegen with meson 0.46
---
diff --git a/00-fix-gdbus-codegen.patch b/00-fix-gdbus-codegen.patch
new file mode 100644
index 0000000..9977f41
--- /dev/null
+++ b/00-fix-gdbus-codegen.patch
@@ -0,0 +1,13 @@
+diff --git a/gio/gdbus-2.0/codegen/codegen_main.py b/gio/gdbus-2.0/codegen/codegen_main.py
+index 9d9099f..1cfe7c1 100755
+--- a/gio/gdbus-2.0/codegen/codegen_main.py
++++ b/gio/gdbus-2.0/codegen/codegen_main.py
+@@ -209,7 +209,7 @@ def codegen_main():
+ print_error('Using --body requires --output')
+
+ c_file = args.output
+- header_name = os.path.splitext(c_file)[0] + '.h'
++ header_name = os.path.splitext(os.path.basename(c_file))[0] + '.h'
+
+ all_ifaces = []
+ for fname in args.files + args.xml_files:
diff --git a/glib2.spec b/glib2.spec
index ec87d88..e0ee2b9 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -5,13 +5,17 @@
Name: glib2
Version: 2.56.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A library of handy utility functions
License: LGPLv2+
URL: http://www.gtk.org
Source0: http://download.gnome.org/sources/glib/2.56/glib-%{version}.tar.xz
+# Include upstream patch to fix gdbus-codegen when used with meson 0.46
+# https://gitlab.gnome.org/GNOME/glib/commit/cd1f82d8fc741a2203582c12cc21b4dacf7e1872
+Patch0: 00-fix-gdbus-codegen.patch
+
BuildRequires: chrpath
BuildRequires: gettext
BuildRequires: perl-interpreter
@@ -217,6 +221,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/installed-tests
%changelog
+* Sun May 13 2018 Fabio Valentini <decathorpe@gmail.com> - 2.56.1-2
+- Include upstream patch to fix gdbus-codegen with meson 0.46.
+
* Sun Apr 08 2018 Kalev Lember <klember@redhat.com> - 2.56.1-1
- Update to 2.56.1
reply other threads:[~2026-08-11 10:36 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=178644459389.1.3275006699631647012.rpms-glib2-4c1e2ebdaa40@fedoraproject.org \
--to=decathorpe@gmail.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