public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jonathan Steffan <jsteffan@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-libpanel] rawhide: Force on gtk4's v4_10 feature.
Date: Wed, 23 Sep 2026 14:36:19 GMT [thread overview]
Message-ID: <179017417931.1.15878275219864150264.rpms-rust-libpanel-514f4d345380@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-libpanel
Branch : rawhide
Commit : 514f4d345380ba2f937313fd0e2cb7b80a1f40a5
Author : Jonathan Steffan <jsteffan@fedoraproject.org>
Date : 2026-09-23T08:36:07-06:00
Stats : +8/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-libpanel/c/514f4d345380ba2f937313fd0e2cb7b80a1f40a5?branch=rawhide
Log:
Force on gtk4's v4_10 feature.
---
diff --git a/rust-libpanel.spec b/rust-libpanel.spec
index 8f4cc62..b629630 100644
--- a/rust-libpanel.spec
+++ b/rust-libpanel.spec
@@ -177,6 +177,10 @@ use the "v1_8" feature of the "%{crate}" crate.
rm -rf examples
# Drop the [[bin]] and [[example]] targets that reference them
sed -i '/^\[\[bin\]\]/,/^$/d; /^\[\[example\]\]/,/^$/d' Cargo.toml
+# Force on gtk4's v4_10 feature: the generated bindings use gtk::Accessible
+# unconditionally (e.g. src/auto/dock.rs), but gtk4-rs only exposes that type
+# behind its own v4_10 feature, which libpanel never enables on its own.
+sed -i '/^\[dependencies.gtk\]$/a features = ["v4_10"]' Cargo.toml
%generate_buildrequires
%cargo_generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 08c9be9..ed449d0 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -10,4 +10,8 @@ post = [
"rm -rf examples",
"# Drop the [[bin]] and [[example]] targets that reference them",
"sed -i '/^\\[\\[bin\\]\\]/,/^$/d; /^\\[\\[example\\]\\]/,/^$/d' Cargo.toml",
+ "# Force on gtk4's v4_10 feature: the generated bindings use gtk::Accessible",
+ "# unconditionally (e.g. src/auto/dock.rs), but gtk4-rs only exposes that type",
+ "# behind its own v4_10 feature, which libpanel never enables on its own.",
+ "sed -i '/^\\[dependencies.gtk\\]$/a features = [\"v4_10\"]' Cargo.toml",
]
reply other threads:[~2026-09-23 14: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=179017417931.1.15878275219864150264.rpms-rust-libpanel-514f4d345380@fedoraproject.org \
--to=jsteffan@fedoraproject.org \
--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