public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/glib2] cve-2026-58016-f44: include upstream patch to fix gdbus-codegen with meson 0.46
@ 2026-08-11 10:36 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-08-11 10:36 UTC (permalink / raw)
  To: git-commits

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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-11 10:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 10:36 [rpms/glib2] cve-2026-58016-f44: include upstream patch to fix gdbus-codegen with meson 0.46 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox