Hello community, here is the log from the commit of package glib2 for openSUSE:Factory checked in at 2018-05-22 17:00:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/glib2 (Old) and /work/SRC/openSUSE:Factory/.glib2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "glib2" Tue May 22 17:00:34 2018 rev:198 rq:609852 version:2.56.1 Changes: -------- --- /work/SRC/openSUSE:Factory/glib2/glib2.changes 2018-04-19 15:21:58.085387493 +0200 +++ /work/SRC/openSUSE:Factory/.glib2.new/glib2.changes 2018-05-22 17:00:39.247081324 +0200 @@ -1,0 +2,6 @@ +Wed May 16 16:05:46 UTC 2018 - [email protected] + +- Add glib2-codegen-headers.patch: gdbus-codegen: Fix header + include in the body file (bgo#795802). + +------------------------------------------------------------------- New: ---- glib2-codegen-headers.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glib2.spec ++++++ --- /var/tmp/diff_new_pack.WDZEzE/_old 2018-05-22 17:00:40.027052942 +0200 +++ /var/tmp/diff_new_pack.WDZEzE/_new 2018-05-22 17:00:40.031052797 +0200 @@ -53,6 +53,8 @@ Patch16: glib2-gdbus-codegen-version.patch # PATCH-FIX-UPSTREAM glib2-gsettings-overrides-per-session.patch bgo#746592 bsc#1070090 [email protected] -- gsettings default value can be overridden depending on session Patch18: glib2-gsettings-overrides-per-session.patch +# PATCH-FIx-UPSTREAM glib2-codegen-headers.patch bgo#795802 [email protected] -- gdbus-codegen: Fix header include in the body file +Patch19: glib2-codegen-headers.patch BuildRequires: automake BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes @@ -257,6 +259,7 @@ %patch14 -p1 %patch16 -p1 %patch18 -p1 +%patch19 -p1 cp -a %{SOURCE1} %{SOURCE2} %{SOURCE5} . cp -a %{SOURCE4} gnome_defaults.conf if ! test -f %{_datadir}/aclocal/gtk-doc.m4 ; then ++++++ glib2-codegen-headers.patch ++++++ 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:
