Package Details: bemenu-git 0.6.7.r1.g81b5091-2

Git Clone URL: https://aur.archlinux.org/bemenu-git.git (read-only, click to copy)
Package Base: bemenu-git
Description: Dynamic menu library and client program inspired by dmenu
Upstream URL: https://github.com/Cloudef/bemenu
Licenses: GPL3, LGPL3
Conflicts: bemenu
Provides: bemenu, libbemenu-git
Submitter: dacoit
Maintainer: TrialnError
Last Packager: TrialnError
Votes: 16
Popularity: 0.32
First Submitted: 2015-08-12 17:25 (UTC)
Last Updated: 2022-03-19 21:36 (UTC)

Latest Comments

TrialnError commented on 2022-03-19 07:35 (UTC)

Well... now we can see what happens if one decides: "Ah, it's fine. I can skip building in a clean chroot" :D Building works if bemenu is already installed...
In regards on the comment with users/aur pkg managers. Those are unsupported and I only need to care about makepkg.
If you have a patch available, we can talk about it. And later the day I will look again at this mess..

tmpm697 commented on 2022-03-19 07:27 (UTC)

screw it, even community packaged wrong, it should ask for install wayland/ncurses/x11.

this package also wrong as it should depends on wayland/ncurses/x11 and let users/aur pkg managers to install one of them.

tmpm697 commented on 2022-03-19 07:19 (UTC)

where is "bemenu-renderer-git"? can't build this package.

TrialnError commented on 2022-03-18 09:42 (UTC) (edited on 2022-03-18 09:43 (UTC) by TrialnError)

Will later update this PKGBUILD. I plan to closely follow the PKGBUILD from the repo, which means split packages.
Voices against such a change? Please with reasons :)

MarsSeed commented on 2022-02-22 23:03 (UTC)

I have triggered this package to become orphaned, so a new volunteer can adopt it and update it.

skrat commented on 2021-04-13 22:14 (UTC)

Dunno if this ever worked for you but for me it just can't find the renderers due to misused PREFIX. Should be

 build() {
   35     cd "$_pkgname"
~  36     make PREFIX="/usr"
   37 }
   38 
   39 package_bemenu-git() {
   40     cd "$_pkgname"
~  41     make DESTDIR="$pkgdir" PREFIX="/usr" install
+  42     make DESTDIR="$pkgdir" PREFIX="/usr" install-renderers
   43 }

xdavidwu commented on 2020-05-20 02:12 (UTC)

wayland-protocols should be in makedepends not optdepends. We only need it at compile time.

xdavidwu commented on 2020-05-19 18:37 (UTC)

wayland-scanner private-code < "$(pkg-config --variable=pkgdatadir wayland-protocols)/stable/xdg-shell/xdg-shell.xml" > lib/renderers/wayland/xdg-shell.c
wayland-scanner private-code < lib/renderers/wayland/wlr-layer-shell-unstable-v1.xml > lib/renderers/wayland/wlr-layer-shell-unstable-v1.c
wayland-scanner client-header < lib/renderers/wayland/wlr-layer-shell-unstable-v1.xml > lib/renderers/wayland/wlr-layer-shell-unstable-v1.h
/bin/sh: $(pkg-config --variable=pkgdatadir wayland-protocols)/stable/xdg-shell/xdg-shell.xml: No such file or directory
make: *** [GNUmakefile:68: lib/renderers/wayland/xdg-shell.c] Error 1

Seems like missing makedepends wayland-protocols

e-v commented on 2020-04-10 10:28 (UTC)

This should do it:

# Maintainer: Danny Bautista <pyrolagus at gmail.com>
# Contributor: elvirolo <elvirolo@posteo.net>

pkgname=bemenu-git
pkgver=r373.6343a65
pkgrel=1

pkgdesc='Dynamic menu library and client program inspired by dmenu with support for wayland compositors.'
url='https://github.com/Cloudef/bemenu'
arch=('i686' 'x86_64')
license=('GPL3' 'LGPL3')
depends=('pango')
makedepends=('git' 'libxkbcommon' 'libxinerama' 'wayland')
optdepends=('wayland: For the wayland backend.'
            'libxkbcommon: For the wayland backend.'
            'libxinerama: For the x11 backend.'
            'ncurses: For the curses backend.')

provides=('bemenu')
conflicts=('bemenu')

source=('git://github.com/Cloudef/bemenu')

md5sums=('SKIP')

pkgver() {
    cd bemenu
    printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd bemenu
    make PREFIX=/usr
}

package() {
    cd bemenu
    make install PREFIX=/usr DESTDIR="$pkgdir"
}

gmes78 commented on 2020-03-16 18:24 (UTC)

Build is broken (looks like it doesn't use cmake anymore, there's a GNUmakefile in the sources now):

CMake Error: The source directory does not appear to contain CMakeLists.txt.

Fandekasp commented on 2019-12-22 08:44 (UTC)

I can't build this package under wayland. the -DBEMENU_X11_RENDERER=ON requires X11, and setting it to OFF still triggers lot of errors like "Package 'xproto', required by 'x11', not found".

I didn't have any problem installing community/bemenu, and I couldn't find a way to tweak bemenu-git's PKGFILE to install successfully. Guess I'll have to wait a bit more before I can use bemenu --line-height.

yrotisoperresuhc commented on 2019-09-16 22:38 (UTC)

I can't post the build output right now but this might be dependent on the AUR helper being used. I am using pikaur.

PyroLagus commented on 2019-09-16 19:06 (UTC)

That's odd. The build output does say "-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)", but the build still succeeds as it should. Could you link the build output here? Also, sorry for the late answer, I really need to improve my email workflow.

yrotisoperresuhc commented on 2019-08-27 23:33 (UTC)

Not sure if anything changed upstream, but does this package now require doxygen in makedepends?

I was not able to build until I installed doxygen. (Build would fail at find_doxygen step.)

PyroLagus commented on 2019-05-13 13:37 (UTC)

I wrote an email already but didn't get a reply, so I'll write a comment here as well:

First of all, you should update the pkgver or pkgrel, so that AUR helpers automatically pull the new PKGBUILD. And it would also be nice if you could add -DBEMENU_WAYLAND_RENDERER=ON as suggested by ElVirolo. bemenu should still run under X with that option enabled afaik, but you should still test it first to be sure.

PS: If the email address listed on your profile is out-of-date, you should change it.

e-v commented on 2019-05-05 13:02 (UTC)

For Wayland support, one should add -DBEMENU_WAYLAND_RENDERER=ON at the end of the "cmake" line.

ruahcra commented on 2019-04-28 09:43 (UTC)

Has anyone tried to contact the maintainer?

mayhem commented on 2019-03-28 11:00 (UTC) (edited on 2019-03-28 11:01 (UTC) by mayhem)

==> Starting pkgver()... ==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace. ==> ERROR: pkgver() generated an invalid version: r273.0.1.0-7-g8ad07cf

This can be fixed by replacing

printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git describe --always)"

with

printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"

soloturn commented on 2019-02-02 19:01 (UTC)

true, this works, thanks cauebs! it does not provide a desktop file so it is visible in gnome, you know how to do this one?

timsn commented on 2019-02-02 18:25 (UTC)

@cauebs thanks for pointing this out! I just tried to install it. Adding a '.' at the end of the cmake invocation (in the PKGBUILD file) works well.

cauebs commented on 2019-02-02 12:18 (UTC)

I think the cmake invocation in the build step is missing the path as a positional argument. Adding '.' at the end does the job.