This release fixes rendering issues under HiDPI configuraitons Notable new features:
1. --scrollbar none 2. BEMENU_SCALE env variable which can be used to force scaling factor. Build and run-tested on amd64 Index: Makefile =================================================================== RCS file: /cvs/ports/x11/bemenu/Makefile,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 Makefile --- Makefile 3 Jul 2020 17:27:50 -0000 1.1.1.1 +++ Makefile 10 Jul 2020 15:32:31 -0000 @@ -3,11 +3,11 @@ COMMENT = menu library inspired by dmenu CATEGORIES = x11 -SHARED_LIBS += bemenu 0.0 # 0.4.1 +SHARED_LIBS += bemenu 0.0 # 0.5.0 GH_ACCOUNT = Cloudef GH_PROJECT = bemenu -GH_TAGNAME = 0.4.1 +GH_TAGNAME = 0.5.0 MAINTAINER = Dimitri Karamazov <deserter...@danwin1210.me> Index: distinfo =================================================================== RCS file: /cvs/ports/x11/bemenu/distinfo,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 distinfo --- distinfo 3 Jul 2020 17:27:50 -0000 1.1.1.1 +++ distinfo 10 Jul 2020 15:32:31 -0000 @@ -1,2 +1,2 @@ -SHA256 (bemenu-0.4.1.tar.gz) = +15J8yMYlFw+7vrnIY/1/DVHmWQJ8yT79qAQblFWE4A= -SIZE (bemenu-0.4.1.tar.gz) = 110388 +SHA256 (bemenu-0.5.0.tar.gz) = VuSgvQb5Pn382rv37h7Zc85Od9ZIEyBk8m8wZixAVfE= +SIZE (bemenu-0.5.0.tar.gz) = 110749 Index: patches/patch-GNUmakefile =================================================================== RCS file: /cvs/ports/x11/bemenu/patches/patch-GNUmakefile,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 patch-GNUmakefile --- patches/patch-GNUmakefile 3 Jul 2020 17:27:50 -0000 1.1.1.1 +++ patches/patch-GNUmakefile 10 Jul 2020 15:32:31 -0000 @@ -10,8 +10,8 @@ Don't relink the shared library during i Don't install library symlinks but do install the shared library. Index: GNUmakefile ---- GNUmakefile.orig -+++ GNUmakefile +--- GNUmakefile.orig Fri Jul 10 20:11:17 2020 ++++ GNUmakefile Fri Jul 10 20:17:07 2020 @@ -20,7 +20,7 @@ override CPPFLAGS += -D_DEFAULT_SOURCE -Ilib libs = libbemenu.so pkgconfigs = bemenu.pc @@ -29,10 +29,10 @@ Index: GNUmakefile +$(libs): private override full=$(addsuffix .$(LIBbemenu_VERSION), $@) $(libs): private override major=$(addsuffix .$(firstword $(subst ., ,$(VERSION))), $@) $(libs): %: VERSION .git/index -- $(LINK.c) -shared -fPIC $(filter %.c %.a,$^) $(LDLIBS) -o $(full) -Wl,-soname=$(major) +- $(LINK.c) -shared -fPIC $(filter %.c %.a,$^) $(LDLIBS) -o $(full) -Wl,-soname,$(major) - ln -fs $(full) $(major) - ln -fs $(full) $@ -+ $(LINK.c) -shared -fPIC $(filter %.c %.a,$^) $(LDLIBS) -o $(full) -Wl,-soname=$(full) ++ $(LINK.c) -shared -fPIC $(filter %.c %.a,$^) $(LDLIBS) -o $(full) -Wl,-soname,$(full) $(pkgconfigs): %: VERSION %.in sed "s/@VERSION@/$(VERSION)/;s,@PREFIX@,$(PREFIX),;s,@LIBDIR@,$(libdir)," $(addsuffix .in, $@) > $@ @@ -45,8 +45,8 @@ Index: GNUmakefile -bemenu-renderer-curses.so: private override LDLIBS += $(shell pkg-config --libs ncursesw) -lm -bemenu-renderer-curses.so: private override CPPFLAGS += $(shell pkg-config --cflags-only-I ncursesw) -+bemenu-renderer-curses.so: private override CPPFLAGS += -D_XOPEN_SOURCE_EXTENDED +bemenu-renderer-curses.so: private override LDLIBS += -lncursesw -lm ++bemenu-renderer-curses.so: private override CPPFLAGS += -D_XOPEN_SOURCE_EXTENDED bemenu-renderer-curses.so: lib/renderers/curses/curses.c bemenu-renderer-x11.so: private override LDLIBS += $(shell pkg-config --libs x11 xinerama cairo pango pangocairo) @@ -62,12 +62,12 @@ Index: GNUmakefile install-lib-symlinks: $(libs) | install-libs cp -RP $^ $(addsuffix .$(firstword $(subst ., ,$(VERSION))), $^) "$(DESTDIR)$(PREFIX)$(libdir)" -@@ -113,7 +110,7 @@ install-man: man/bemenu.1 man/bemenu-run.1 - mkdir -p "$(DESTDIR)$(PREFIX)$(mandir)" - cp $^ "$(DESTDIR)$(PREFIX)$(mandir)" +@@ -123,7 +120,7 @@ install-x11: + mkdir -p "$(DESTDIR)$(PREFIX)$(libdir)/bemenu" + -cp bemenu-renderer-x11.so "$(DESTDIR)$(PREFIX)$(libdir)/bemenu" --install: install-pkgconfig install-include install-lib-symlinks install-renderers install-bins install-man -+install: install-pkgconfig install-include install-libs install-renderers install-bins install-man - @echo "Install OK!" +-install-base: install-pkgconfig install-include install-lib-symlinks install-bins install-man ++install-base: install-pkgconfig install-include install-libs install-bins install-man - doxygen: + install: install-base install-renderers + @echo "Install OK!"