Avoid indirect Gtk3 dependency in xwayland-devel where libdecor is enabled by "batteries included" policy but in practice only useful for GNOME (see bug 258042).
Details
Details
- Reviewers
pizzamig - Group Reviewers
portmgr - Commits
- R11:1a1e43198c5a: x11-toolkits/libdecor: convert to subpackages
Runtime is fine without pango and gtk3 subpackages:
$ pkg install xwayland-devel $ Xwayland -decorate :3 Couldn't open plugin directory: No such file or directory No plugins found, falling back on no decorations [...]
$ poudriere testport -j 132i386 x11-toolkits/libdecor [...] =========================================================================== =>> Checking shared library dependencies 0x00000001 NEEDED Shared library: [libc.so.7] 0x00000001 NEEDED Shared library: [libdl.so.1] 0x00000001 NEEDED Shared library: [libwayland-client.so.0] $ poudriere testport -j 132i386 x11-toolkits/libdecor~pango [...] =========================================================================== =>> Checking shared library dependencies 0x00000001 NEEDED Shared library: [libc.so.7] 0x00000001 NEEDED Shared library: [libcairo.so.2] 0x00000001 NEEDED Shared library: [libdbus-1.so.3] 0x00000001 NEEDED Shared library: [libdecor-0.so.0] 0x00000001 NEEDED Shared library: [libgobject-2.0.so.0] 0x00000001 NEEDED Shared library: [libm.so.5] 0x00000001 NEEDED Shared library: [libpango-1.0.so.0] 0x00000001 NEEDED Shared library: [libpangocairo-1.0.so.0] 0x00000001 NEEDED Shared library: [libwayland-client.so.0] 0x00000001 NEEDED Shared library: [libwayland-cursor.so.0] $ poudriere testport -j 132i386 x11-toolkits/libdecor~gtk3 [...] =========================================================================== =>> Checking shared library dependencies 0x00000001 NEEDED Shared library: [libc.so.7] 0x00000001 NEEDED Shared library: [libcairo.so.2] 0x00000001 NEEDED Shared library: [libdbus-1.so.3] 0x00000001 NEEDED Shared library: [libdecor-0.so.0] 0x00000001 NEEDED Shared library: [libgdk-3.so.0] 0x00000001 NEEDED Shared library: [libglib-2.0.so.0] 0x00000001 NEEDED Shared library: [libgobject-2.0.so.0] 0x00000001 NEEDED Shared library: [libgtk-3.so.0] 0x00000001 NEEDED Shared library: [libm.so.5] 0x00000001 NEEDED Shared library: [libwayland-client.so.0] 0x00000001 NEEDED Shared library: [libwayland-cursor.so.0]
Diff Detail
Diff Detail
- Repository
- R11 FreeBSD ports repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
x11-toolkits/libdecor/Makefile | ||
---|---|---|
49 | It seems that you are overwriting LIB_DEPENDS.gtk3 from 5 lines above |
Comment Actions
It would be preferable to have pkg-descr.gtk3 and pkg-descr.pango to provide an appropriate description for the subpackages.
Maybe there is room for improvement in the framework, to provide a more meaningful default (like for COMMENT.subpkg)
Comment Actions
Landed after cleanup: mixing subpackage-only with option + subpackage was too error-prone and facilitated messy style.