Hello! I'm trying to get rid of X11 on my system, and one of the blockers is hard dependency on dmenu (which is X11-only) from j4-dmenu-desktop. Could this requirement be lifted, as j4-dmenu-desktop could use any dmenu replacement (I'm using bemenu with wayland backend, for example)?
Hi! I think, we can move that into an optfeature. How does bemenu work with x11-misc/j4-dmenu-desktop? Do you need to configure something?
My proposal is to have a use-flag, dmenu, (enabled by default), or no-dmenu (disabled by default), as j4-dmenu-desktop without any config uses dmenu. But if someone (like me) would want to drop dmenu, he could use this use-flag, and run j4-dmenu-desktop --dmenu="bemenu -i --fn 'DejaVu Sans Mono 13'"
Hi! I am sorry, that my answer took such long. I was most of the time on vacation ;-) Are you aware, if there are other alternatives among dmenu and bemenu?
(In reply to Conrad Kostecki from comment #3) > Hi! I am sorry, that my answer took such long. I was most of the time on > vacation ;-) Are you aware, if there are other alternatives among dmenu and > bemenu? Otherwise, I would introduce a new use flag "wayland", which based on choose either uses dmenu (non wayland) or bemenu (wayland).
No, I'm not aware of any alternatives. BTW, bemenu also could work on X11, so it's not quite wayland-only dep :)
Also, the flag will not guarantee that j3-dmenu-desktop will use bemenu, as it has to be specified with flag --dmenu... I think, it would be better to depend on || (dmenu, bemenu), so if bemenu is installed, than it means that user know what to do with it :) And by default, dmenu will be used, still
Okay, I thought about that one. Are you fine, if I will introduce a dmenu use flag, which will be by default on, since it's configured as default for it. If you disable USE="dmenu", it won't be pulled in.
Yeah, I think, it will work too.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f833556e2489f8610f7a463fdfe51f4729c62d7 commit 8f833556e2489f8610f7a463fdfe51f4729c62d7 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2020-08-23 16:45:45 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2020-08-23 17:21:43 +0000 x11-misc/j4-dmenu-desktop: make dmenu optional Since x11-misc/j4-dmenu-desktop uses dmenu as default, it's being installed as a dependency by default too. But there are also pure wayland users, but dmenu can't be used on wayland. As x11-misc/j4-dmenu-desktop is flexible, users can manually configure a dmenu alternative, like dev-libs/bemenu. The possibility of disabling dmenu also won't pull in any X11 dependencies from x11-misc/dmenu anymore. Also migrated from cmake-utils to cmake. Closes: https://bugs.gentoo.org/730740 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> .../j4-dmenu-desktop-2.17-r1.ebuild | 56 ++++++++++++++++++++++ x11-misc/j4-dmenu-desktop/metadata.xml | 3 ++ 2 files changed, 59 insertions(+)