Hi Ports;
The attached diff updates jgmenu to the latest stable version. The
changes to the port itself are relatively minor.
Interim changes:
https://github.com/johanmalm/jgmenu/blob/master/docs/relnotes/3.0.txt
https://github.com/johanmalm/jgmenu/blob/master/docs/relnotes/2.2.1.txt
https://github.com/johanmalm/jgmenu/blob/master/docs/relnotes/2.2.txt
Upstream's roadmap indicates that the port will need larger changes if
it is to include dmenu support. One option I'm considering is splitting
into -pmenu, -lx and -dmenu flavors. This is likely to occur after
6.6release.
Seeking testing and comments.
Thanks
--
J. Scott Heppler
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/jgmenu/Makefile,v
retrieving revision 1.5
diff -u -p -u -p -r1.5 Makefile
--- Makefile 17 May 2019 16:45:28 -0000 1.5
+++ Makefile 1 Jul 2019 15:16:16 -0000
@@ -5,11 +5,10 @@ CATEGORIES = x11
GH_ACCOUNT = johanmalm
GH_PROJECT = jgmenu
-GH_TAGNAME = v2.1
-REVISION = 1
+GH_TAGNAME = v3.0
# GPLv2 only
-PERMIT_PACKAGE_CDROM = Yes
+PERMIT_PACKAGE = Yes
WANTLIB += X11 Xrandr c cairo gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += gobject-2.0 iconv intl lzma m menu-cache pango-1.0
Index: distinfo
===================================================================
RCS file: /cvs/ports/x11/jgmenu/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo 26 Feb 2019 16:16:05 -0000 1.2
+++ distinfo 1 Jul 2019 15:16:16 -0000
@@ -1,2 +1,2 @@
-SHA256 (jgmenu-2.1.tar.gz) = rtB7PRVsAn4uS2Kvv5b4+RstWRRvT22Hc8SNMV81rz8=
-SIZE (jgmenu-2.1.tar.gz) = 330256
+SHA256 (jgmenu-3.0.tar.gz) = pXeLEQKMlVDN3/9eStCysxWOmb0+jTarRP3hx/Vn3YU=
+SIZE (jgmenu-3.0.tar.gz) = 338357
Index: patches/patch-Makefile
===================================================================
RCS file: /cvs/ports/x11/jgmenu/patches/patch-Makefile,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 patch-Makefile
--- patches/patch-Makefile 26 Feb 2019 16:16:05 -0000 1.1
+++ patches/patch-Makefile 1 Jul 2019 15:16:16 -0000
@@ -1,4 +1,4 @@
-$OpenBSD: patch-Makefile,v 1.1 2019/02/26 16:16:05 sthen Exp $
+$OpenBSD$
Index: Makefile
--- Makefile.orig
@@ -12,7 +12,7 @@ Index: Makefile
CFLAGS += -Wextra -Wdeclaration-after-statement -Wno-format-zero-length \
-Wold-style-definition -Woverflow -Wpointer-arith \
-Wstrict-prototypes -Wunused -Wvla -Wunused-result
-@@ -100,18 +100,18 @@ $(DEPDIR)/%.d: ;
+@@ -109,16 +109,16 @@ $(DEPDIR)/%.d: ;
.PRECIOUS: $(DEPDIR)/%.d
install: checkdeps $(PROGS)
@@ -36,9 +36,31 @@ Index: Makefile
+ install -d $(DESTDIR)$(datarootdir)/applications/
+ install -m644 ./data/jgmenu.svg
$(DESTDIR)$(datarootdir)/icons/hicolor/scalable/apps/
+ install -m644 ./data/jgmenu.desktop
$(DESTDIR)$(datarootdir)/applications/
- ifeq ($(NO_LX),1)
-- @echo "info: lx module not included as libmenu-cache >=1.1.0 not found"
-+ echo "info: lx module not included as libmenu-cache >=1.1.0 not found"
- endif
# We are not brave enough to uninstall in /usr/, /usr/local/ etc
+ uninstall:
+@@ -161,19 +161,19 @@ check:
+ REQUIRED_BINS := pkg-config xml2-config
+ REQUIRED_LIBS := x11 xrandr cairo pango pangocairo librsvg-2.0
+ checkdeps:
+- @echo ' CHECK build dependencies'
+- @for b in $(REQUIRED_BINS); do \
++ echo ' CHECK build dependencies'
++ for b in $(REQUIRED_BINS); do \
+ type $${b} >/dev/null 2>&1 || echo "warn: require ($${b})"; \
+ done
+- @for l in $(REQUIRED_LIBS); do \
++ for l in $(REQUIRED_LIBS); do \
+ pkg-config $${l} || echo "fatal: require ($${l})"; \
+ done
+- @if ! pkg-config "libmenu-cache >= 1.1.0" "glib-2.0"; then \
++ if ! pkg-config "libmenu-cache >= 1.1.0" "glib-2.0"; then \
+ echo " - Cannot install lx module as build dependencies
are missing"; \
+ echo " libmenu-cache >= 1.1.0 and glib-2.0 are needed"; \
+ echo " This will not prevent you from running jgmenu"; \
+ fi
+- @touch checkdeps
++ touch checkdeps
+
+ print-%:
+ @echo '$*=$($*)'
Index: patches/patch-docs_manual_Makefile
===================================================================
RCS file: /cvs/ports/x11/jgmenu/patches/patch-docs_manual_Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 patch-docs_manual_Makefile
--- patches/patch-docs_manual_Makefile 3 Feb 2019 15:47:09 -0000 1.1.1.1
+++ patches/patch-docs_manual_Makefile 1 Jul 2019 15:16:16 -0000
@@ -1,4 +1,4 @@
-$OpenBSD: patch-docs_manual_Makefile,v 1.1.1.1 2019/02/03 15:47:09 bcallah Exp
$
+$OpenBSD$
Index: docs/manual/Makefile
--- docs/manual/Makefile.orig
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/x11/jgmenu/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 PLIST
--- pkg/PLIST 26 Feb 2019 16:16:05 -0000 1.2
+++ pkg/PLIST 1 Jul 2019 15:16:16 -0000
@@ -1,17 +1,19 @@
-@comment $OpenBSD: PLIST,v 1.2 2019/02/26 16:16:05 sthen Exp $
+@comment $OpenBSD: PLIST,v$
@bin bin/jgmenu
bin/jgmenu_run
lib/jgmenu/
-lib/jgmenu/jgmenu-config.py
+@bin lib/jgmenu/jgmenu-apps
+@bin lib/jgmenu/jgmenu-config
@bin lib/jgmenu/jgmenu-greeneye
@bin lib/jgmenu/jgmenu-i18n
lib/jgmenu/jgmenu-init.sh
@bin lib/jgmenu/jgmenu-lx
@bin lib/jgmenu/jgmenu-ob
+@bin lib/jgmenu/jgmenu-obtheme
lib/jgmenu/jgmenu-pmenu.py
@bin lib/jgmenu/jgmenu-socket
+lib/jgmenu/jgmenu-themes.sh
lib/jgmenu/jgmenu-unity-hack.py
-@man man/man1/jgmenu-config.1
@man man/man1/jgmenu-lx.1
@man man/man1/jgmenu-ob.1
@man man/man1/jgmenu-pmenu.1