public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-libpanel] rawhide: Force on gtk4's v4_10 feature.
@ 2026-09-23 14:36 Jonathan Steffan
0 siblings, 0 replies; only message in thread
From: Jonathan Steffan @ 2026-09-23 14:36 UTC (permalink / raw)
To: git-commits
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",
]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-23 14:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 14:36 [rpms/rust-libpanel] rawhide: Force on gtk4's v4_10 feature Jonathan Steffan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox