The ebuild removes /usr/bin/wxrc so that it does not collide with eselect-wxwidgets but only when USE=X. The upstream logic of whether to install wxrc or not changed in 3.1. Previously it was based on the --enable-xrc option, which we've never specified at all, but it is disabled by --disable-gui. That option is still there, but now the logic is based on --with-expat instead, which we pass unconditionally. This seems odd, and I have no idea why it changed, but that's how it is. The addition of the wayland USE flag should also be considered here. Perhaps we should just rm -f wxrc. Basing --disable-gui solely on the X flag also seems wrong.
thanks for the analysis, I've removed the conditionals to get ~/.../repo/x11-libs/wxGTK$ tar -xOf /var/cache/binpkgs/x11-libs/wxGTK/wxGTK-3.2.2.1-r2-1.gpkg.tar wxGTK-3.2.2.1-r2-1/image.tar.bz2 | bzip2 -d - | tar -tf - | grep 'bin.*xrc' image/usr/bin/wxrc-3.2-gtk3 image/usr/lib/debug/usr/bin/wxrc-3.2-gtk3.debug with USE=-X. I'll push that now. apologies for the delay. wrt USE=X really being GUI, the wayland support upstream doesn't really exist without X AFAICT, so I'm not sure what we ought to be doing about that.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ea54579e1ca07511b81fd648d2e8b1583ee41ee commit 5ea54579e1ca07511b81fd648d2e8b1583ee41ee Author: Arsen Arsenović <arsen@gentoo.org> AuthorDate: 2023-04-30 15:24:55 +0000 Commit: Arsen Arsenović <arsen@gentoo.org> CommitDate: 2023-04-30 15:25:58 +0000 x11-libs/wxGTK: fix the wxrc link not being deleted with USE=-X Closes: https://bugs.gentoo.org/903885 Signed-off-by: Arsen Arsenović <arsen@gentoo.org> x11-libs/wxGTK/wxGTK-3.2.2.1-r2.ebuild | 225 +++++++++++++++++++++++++++++++++ 1 file changed, 225 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63d7507fbcf008d12ff05dd5258e94eec4827f34 commit 63d7507fbcf008d12ff05dd5258e94eec4827f34 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-05-01 02:31:01 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-01 02:31:04 +0000 x11-libs/wxGTK: stabilize 3.2.2.1-r2 for amd64, arm, arm64, x86 Forward stable kw to avoid file collision. Bug: https://bugs.gentoo.org/903885 Bug: https://bugs.gentoo.org/903688 Signed-off-by: Sam James <sam@gentoo.org> x11-libs/wxGTK/wxGTK-3.2.2.1-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)