New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bemenu: init at 0.1.0 #60661
bemenu: init at 0.1.0 #60661
Conversation
Looks really interesting as I have been having problems with dmenu in wayland. |
It seems there are options upstream to build for different renderers. Is this building all 3? |
@alexarice Yeah, it is building for all 3 renderers. You can change between them using |
Ah I was confused as the readme has changed since 0.1.0 |
@alexarice Whats the difference between |
If you write
then it automatically sets |
@alexarice Cool, done! |
Both executables seem to work to me. It would be nice but not essential if docs worked and there were options to enable/disable backends |
@etu Made the changes. @alexarice I added support to build only the backends the user wants. I tried to add documentation support, however the only output I got was either LaTeX or html, so I don't think it is much useful. |
@thiagokokada The commit message should also be: |
Also, something in this PR seems to break eval. But there's no details link. So here goes @GrahamcOfBorg eval |
@etu Fixed commit message. However, I have no idea why eval is breaking. Where could I see output from @GrahamcOfBorg? |
Bemenu is a dynamic menu library and client program inspired by dmenu with support for wayland compositors (and also X11 and ncurses). Build and tested in NixOS 19.03.172392.6d7ed96429 in X11 (i3wm), wayland (sway) and ncurses (kitty).
@alexarice @etu This should build now (at least seems to build fine locally). |
The eval is happy now at least :-) @GrahamcOfBorg build bemenu |
@AlexaIce Yeah, I know you can build with less dependencies, however you
get some warnings during build for missing libraries so I decided to be in
the safe side.
…On Fri, May 3, 2019, 04:45 alexarice ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In pkgs/applications/misc/bemenu/default.nix
<#60661 (comment)>:
> + sha256 = "11h55m9dx6ai12pqij52ydjm36dvrcc856pa834njihrp626pl4w";
+ };
+
+ nativeBuildInputs = [ cmake pkgconfig pcre ];
+
+ buildInputs = with stdenv.lib; [
+ cairo
+ fribidi
+ harfbuzz
+ libxkbcommon
+ pango
+ ] ++ optionals ncursesSupport [ ncurses ]
+ ++ optionals waylandSupport [ wayland ]
+ ++ optionals x11Support [
+ xlibs.libX11 xlibs.libXinerama xlibs.libXft
+ xorg.libXdmcp xorg.libpthreadstubs xorg.libxcb
I'm still not being clear, I can remove the dependencies starting with
xorg from the nix file and build it with x11 support
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#60661 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAGOEN5IPJLQWTHRC63C4YDPTPUQFANCNFSM4HJVXEGA>
.
|
Fair enough, It doesn't matter anyway I guess |
@etu @alexarice Can I get this PR merged? Or is there some other issue that needs to be fixed? |
@thiagokokada I am not able to merge things but don't see any problems |
@thiagokokada I've not been able to try this program locally. It builds fine but when I run it. Nothing happens. I've tried to supply the env-variable to force it to run in ncurses mode. And just no output. So I'm not sure how it's supposed to be used... |
@etu have you tried |
@alexarice Thanks, didn't notice that binary. I tabcompleted to bemenu and got confused by it's behaviour. But it all makes sense now :-) |
Why does it still not appear on the package search? https://nixos.org/nixos/packages.html?channel=nixpkgs-unstable&query=bemenu It's even in nixos 19.09 |
Also why is it that when I test it locally from nixpkgs, there is not font (all characters are unknown sign) but when I install it with |
Motivation for this change
Bemenu is a dynamic menu library and client program inspired by dmenu with support for wayland compositors (and also X11 and ncurses).
Build and tested in NixOS
19.03.172392.6d7ed96429
in X11 (i3wm
), wayland (sway
) and ncurses (kitty
).There seems to be a package for bemenu already in master, however this is based in a very old commit (~2017) when
bemenu
used to only run inorbment
. Nowadaysbemenu
also runs in other wayland compositors likesway
, so it is a interesting alternative todmenu
,rofi
for wayland users.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)