Bug 2345874
Summary: | don't pull gtk, icon-themes, x11 libs and what not | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Anthony Messina <amessina> |
Component: | libdecor | Assignee: | Jonas Ådahl <jadahl> |
Status: | NEW --- | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 42 | CC: | amessina, h.reindl, jadahl, michael.schlechtinger |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 2253434 | Environment: | |
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Anthony Messina
2025-02-14 23:43:21 UTC
This is cloned for Fedora 41 and Fedora 42. I'd like some feedback from the packager as this issue can be easily resolved at the packaging level by splitting out the GTK plugin into a subpackage (perhaps then added as a Recommends to the main package). That would still allow headless installation of libdecor. diff --git a/libdecor.spec b/libdecor.spec index 964296e..f6d9cbd 100644 --- a/libdecor.spec +++ b/libdecor.spec @@ -31,6 +31,12 @@ Requires: %{name}%{?_isa} = %{version}-%{release} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. +%package gtk +Summary: GTK+3 plugin for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description gtk +%{summary} %prep %autosetup -p1 @@ -52,6 +58,8 @@ developing applications that use %{name}. %dir %{_libdir}/libdecor/ %dir %{_libdir}/libdecor/plugins-1 %{_libdir}/libdecor/plugins-1/libdecor-cairo.so + +%files gtk %{_libdir}/libdecor/plugins-1/libdecor-gtk.so %files devel Splitting it up seems fine. It would be good to have Requires: gtk3 on the -gtk plugin package. You could also split up libdecor-cairo to avoid depending on cairo for a very minimalistic variant (which doesn't provide decorations at all). Thank you Jonas. Is this a change you'll be able to make for the upcoming Fedora 42 release? |