diff --git a/x11-wm/xdgmenumaker/Makefile b/x11-wm/xdgmenumaker/Makefile index b73f174a8736..1b2f4c84b51e 100644 --- a/x11-wm/xdgmenumaker/Makefile +++ b/x11-wm/xdgmenumaker/Makefile @@ -1,18 +1,18 @@ PORTNAME= xdgmenumaker -PORTVERSION= 2.2 -PORTREVISION= 1 +PORTVERSION= 2.3 CATEGORIES= x11-wm python -MAINTAINER= danfe@FreeBSD.org -COMMENT= Generates XDG menus for several window managers +MAINTAINER= ports@FreeBSD.org +COMMENT= Generate XDG menus for various window managers WWW= https://github.com/gapan/xdgmenumaker LICENSE= GPLv3 BUILD_DEPENDS= txt2tags:textproc/txt2tags RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>=0:devel/py-xdg@${PY_FLAVOR} +TEST_DEPENDS:= ${RUN_DEPENDS} -USES= gnome python:run shebangfix +USES= display:test gnome python:run shebangfix USE_GNOME= gtk30 pygobject3 USE_GITHUB= yes GH_ACCOUNT= gapan @@ -22,4 +22,10 @@ ALL_TARGET= man TEST_ENV= PYTHON=${PYTHON_CMD} TEST_TARGET= test +post-patch: +# This should have improved locale-specific tests, but 10 out of 24 still fail +# (note that it is normal for tests that produce menus with icons to fail as +# they expect the exact same icon theme and applications the author is using). + @${REINPLACE_CMD} -e 's,utf8,UTF-8,' ${WRKSRC}/tests/Makefile + .include diff --git a/x11-wm/xdgmenumaker/distinfo b/x11-wm/xdgmenumaker/distinfo index ac8e9e665d38..4c77c211dd6a 100644 --- a/x11-wm/xdgmenumaker/distinfo +++ b/x11-wm/xdgmenumaker/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1720911082 -SHA256 (gapan-xdgmenumaker-2.2_GH0.tar.gz) = 1e9fa73413f46f74b28085e412d42570dd892862437bbd85fcff7d4cb934d657 -SIZE (gapan-xdgmenumaker-2.2_GH0.tar.gz) = 309431 +TIMESTAMP = 1721913050 +SHA256 (gapan-xdgmenumaker-2.3_GH0.tar.gz) = 585d9a54e4b0031e1dc8c70d551e177e9b5b31987918dab982cd8fa9ca53845c +SIZE (gapan-xdgmenumaker-2.3_GH0.tar.gz) = 311160