Tuesday, July 25, 2023

Re: [update] x11/pmenu

On 2023-07-25, Omar Polo wrote:
> I'd CC the previous maintainer before removing them. Or just add
> myself to the list.
>
> (+cc jerome)

Jerome, ok?

> it does not work for me anymore. I get this BadValue error when
> trying to use it:
>
> % echo 1 | pmenu
> X Error of failed request: BadValue (integer parameter out of range for operation)
> Major opcode of failed request: 53 (X_CreatePixmap)
> Value in failed request: 0x0
> Serial number of failed request: 33
> Current serial number in output stream: 41
>
> whereas the currently packaged version (2.2.0p0) works perfectly fine.

Your X server has probably has no or empty X resource (no ~/.Xdefaults
file or `xrdb path/to/resources` in your `~/.xsession).

Should be fixed now, sorry for that.


Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/pmenu/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile 11 Mar 2022 20:16:55 -0000 1.3
+++ Makefile 25 Jul 2023 17:15:52 -0000
@@ -2,19 +2,16 @@ COMMENT = contextual radial menu for X11

GH_ACCOUNT = phillbush
GH_PROJECT = pmenu
-GH_TAGNAME = v2.2.0
-REVISION = 0
+GH_TAGNAME = v3.1.1

CATEGORIES = x11

-MAINTAINER = Jerome Kasper <neon.king.fr@gmail.com>
-
-HOMEPAGE = https://github.com/phillbush/pmenu
+MAINTAINER = Lucas de Sena <lucas@seninha.org>

# MIT
PERMIT_PACKAGE =Yes

-WANTLIB += Imlib2 X11 Xext Xft Xinerama Xrender c fontconfig m
+WANTLIB += Imlib2 X11 Xext Xft Xinerama Xrender c fontconfig m

LIB_DEPENDS = graphics/imlib2

@@ -22,14 +19,8 @@ DEBUG_PACKAGES =${BUILD_PACKAGES}

NO_TEST = Yes

-MAKE_FLAGS = FREETYPEINC=${X11BASE}/include/freetype2 \
- MANPREFIX=${PREFIX}/man
-
-# ${WRKSRC}/config.mk ignores the environment, i.e. it should append to
-# (`+=') not set (`=') variables.
-# XXX CPPFLAGS is empty added to the end; abuse it to avoid patches and pass
-# CFLAGS such that DEBUG is honoured as required for DEBUG_PACKAGES to work.
-MAKE_FLAGS += CPPFLAGS='${CFLAGS}'
+MAKE_FLAGS = MANPREFIX=${PREFIX}/man \
+ PREFIX=${PREFIX}

post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pmenu
Index: distinfo
===================================================================
RCS file: /cvs/ports/x11/pmenu/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo 4 Mar 2021 22:46:21 -0000 1.1.1.1
+++ distinfo 25 Jul 2023 17:15:52 -0000
@@ -1,2 +1,2 @@
-SHA256 (pmenu-2.2.0.tar.gz) = KuvF+FfxyVb6W4qnpclN3cMiOY+iUvRyiy2KCDlMOIw=
-SIZE (pmenu-2.2.0.tar.gz) = 15264
+SHA256 (pmenu-3.1.1.tar.gz) = 8bcMKOnv1Ky7hTWLFSL4yEplHxjzudcVjMwJvgOPvVc=
+SIZE (pmenu-3.1.1.tar.gz) = 25414

No comments:

Post a Comment