public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Mani <manisandro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mingw-glibmm24] rawhide: Add glibmm_generate-binding.patch
Date: Sun, 28 Jun 2026 21:07:54 GMT [thread overview]
Message-ID: <178268087419.1.16024097740941820968.rpms-mingw-glibmm24-048cb17b596b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/mingw-glibmm24
Branch : rawhide
Commit : 048cb17b596b8367e45f0e37eb54ab2a3995327c
Author : Sandro Mani <manisandro@gmail.com>
Date : 2026-06-28T23:07:43+02:00
Stats : +17/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/mingw-glibmm24/c/048cb17b596b8367e45f0e37eb54ab2a3995327c?branch=rawhide
Log:
Add glibmm_generate-binding.patch
---
diff --git a/glibmm_export-symbols.patch b/glibmm_export-symbols.patch
index 6e8d63d..2d5e5e2 100644
--- a/glibmm_export-symbols.patch
+++ b/glibmm_export-symbols.patch
@@ -1,6 +1,6 @@
diff -rupN --no-dereference glibmm-2.66.9/glib/src/threads.hg glibmm-2.66.9-new/glib/src/threads.hg
--- glibmm-2.66.9/glib/src/threads.hg 2026-06-28 13:00:16.000000000 +0200
-+++ glibmm-2.66.9-new/glib/src/threads.hg 2026-06-28 21:02:35.216954900 +0200
++++ glibmm-2.66.9-new/glib/src/threads.hg 2026-06-28 23:07:27.272046768 +0200
@@ -197,7 +197,7 @@ class GLIBMM_API Thread::Exit
*
* @deprecated Please use std::thread instead.
@@ -30,7 +30,7 @@ diff -rupN --no-dereference glibmm-2.66.9/glib/src/threads.hg glibmm-2.66.9-new/
* It is similar to a Mutex in that it allows
diff -rupN --no-dereference glibmm-2.66.9/untracked/glib/glibmm/threads.h glibmm-2.66.9-new/untracked/glib/glibmm/threads.h
--- glibmm-2.66.9/untracked/glib/glibmm/threads.h 2026-06-28 13:58:51.197699000 +0200
-+++ glibmm-2.66.9-new/untracked/glib/glibmm/threads.h 2026-06-28 21:02:35.217371915 +0200
++++ glibmm-2.66.9-new/untracked/glib/glibmm/threads.h 2026-06-28 23:07:27.272570124 +0200
@@ -226,7 +226,7 @@ class GLIBMM_API Thread::Exit
*
* @deprecated Please use std::thread instead.
diff --git a/glibmm_generate-binding.patch b/glibmm_generate-binding.patch
new file mode 100644
index 0000000..2486c21
--- /dev/null
+++ b/glibmm_generate-binding.patch
@@ -0,0 +1,13 @@
+diff -rupN --no-dereference glibmm-2.66.9/untracked/build_scripts/generate-binding.py glibmm-2.66.9-new/untracked/build_scripts/generate-binding.py
+--- glibmm-2.66.9/untracked/build_scripts/generate-binding.py 2026-06-28 13:58:51.785579700 +0200
++++ glibmm-2.66.9-new/untracked/build_scripts/generate-binding.py 2026-06-28 23:07:27.461020052 +0200
+@@ -91,7 +91,8 @@ def install_built_h_files():
+ # <built_h_dir> is an absolute path in the build directory or source directory.
+ # <install_subdir> is an installation directory, relative to {prefix}.
+ built_h_dir = sys.argv[2]
+- install_dir = os.path.join(os.getenv('MESON_INSTALL_DESTDIR_PREFIX'), sys.argv[3])
++ buildroot = os.getenv('MESON_INSTALL_DESTDIR_PREFIX', "").removesuffix(os.getenv('MESON_INSTALL_PREFIX', ''))
++ install_dir = buildroot + sys.argv[3]
+
+ # Create the installation directory, if it does not exist.
+ os.makedirs(os.path.join(install_dir, 'private'), exist_ok=True)
diff --git a/mingw-glibmm24.spec b/mingw-glibmm24.spec
index 9d0fdde..d2495fb 100644
--- a/mingw-glibmm24.spec
+++ b/mingw-glibmm24.spec
@@ -13,6 +13,8 @@ URL: http://www.gtkmm.org/
Source0: http://ftp.gnome.org/pub/GNOME/sources/glibmm/%{release_version}/glibmm-%{version}.tar.xz
# Export Glib::Threads::wrap symbols (#2017676)
Patch0: glibmm_export-symbols.patch
+# Fix DESTDIR handling by generate-binding.py
+Patch1: glibmm_generate-binding.patch
BuildArch: noarch
reply other threads:[~2026-06-28 21:07 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=178268087419.1.16024097740941820968.rpms-mingw-glibmm24-048cb17b596b@fedoraproject.org \
--to=manisandro@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