At least with net-misc/unison-2.51.3_rc2 (and earlier versions likely, too) enabling "gtk" USE flag doesn't actually build the GTK GUI. This is because the package ebuild calls "make" on the default target, while the unison top-level Makefile overrides the UISTYLE var to text for this target: > default: text > > text: > $(MAKE) -C src UISTYLE=text In order to have a switchable UISTYLE the "all" target should be built instead, the required ebuild change is below: > src_compile() { > local myconf > > + myconf="all" > + > if use threads; then > myconf="$myconf THREADS=true" > fi The above fixes the GTK build.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfcfaa586a6aee2b81100c59995480f632f669dc commit dfcfaa586a6aee2b81100c59995480f632f669dc Author: Sam James <sam@gentoo.org> AuthorDate: 2020-10-20 03:08:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-10-20 03:09:22 +0000 net-misc/unison: fix .desktop and GUI build Closes: https://bugs.gentoo.org/360161 Closes: https://bugs.gentoo.org/750125 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org> .../unison/{unison-2.48.15_p4.ebuild => unison-2.48.15_p4-r1.ebuild} | 4 ++-- net-misc/unison/unison-2.51.3_rc3.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)