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-gtkmm30] rawhide: Add gtkmm_generate-binding.patch
Date: Wed, 17 Jun 2026 21:50:11 GMT [thread overview]
Message-ID: <178173301157.1.9567296204106568268.rpms-mingw-gtkmm30-9e0f12d98082@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/mingw-gtkmm30
Branch : rawhide
Commit : 9e0f12d980829141b07475c7dedc9f553aa374f1
Author : Sandro Mani <manisandro@gmail.com>
Date : 2026-06-17T23:50:02+02:00
Stats : +15/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/mingw-gtkmm30/c/9e0f12d980829141b07475c7dedc9f553aa374f1?branch=rawhide
Log:
Add gtkmm_generate-binding.patch
---
diff --git a/gtkmm_generate-binding.patch b/gtkmm_generate-binding.patch
new file mode 100644
index 0000000..19ea5ae
--- /dev/null
+++ b/gtkmm_generate-binding.patch
@@ -0,0 +1,13 @@
+diff -rupN gtkmm-3.24.11/untracked/build_scripts/generate-binding.py gtkmm-3.24.11-new/untracked/build_scripts/generate-binding.py
+--- gtkmm-3.24.11/untracked/build_scripts/generate-binding.py 2026-06-09 19:26:15.914255400 +0200
++++ gtkmm-3.24.11-new/untracked/build_scripts/generate-binding.py 2026-06-17 23:47:24.185093947 +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-gtkmm30.spec b/mingw-gtkmm30.spec
index 3846d07..66fb04b 100644
--- a/mingw-gtkmm30.spec
+++ b/mingw-gtkmm30.spec
@@ -11,6 +11,8 @@ Summary: MinGW Windows C++ interface for the GTK+ library
License: LGPL-2.0-or-later
URL: http://www.gtkmm.org/
Source0: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/%{release_version}/gtkmm-%{version}.tar.xz
+# Fix DESTDIR handlin by generate-binding.py
+Patch0: gtkmm_generate-binding.patch
BuildArch: noarch
reply other threads:[~2026-06-17 21:50 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=178173301157.1.9567296204106568268.rpms-mingw-gtkmm30-9e0f12d98082@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