git: ccbba7643cce - main - x11/mangobar: Update to 0.2.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Sep 2026 09:40:23 UTC
The branch main has been updated by nivit:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ccbba7643cce72d9876ada28547b2de5b1d0e56d
commit ccbba7643cce72d9876ada28547b2de5b1d0e56d
Author: Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2026-09-16 09:36:33 +0000
Commit: Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2026-09-16 09:36:33 +0000
x11/mangobar: Update to 0.2.2
- Update list of build dependencies
- Use shebangfix
ChangeLog:
1. https://github.com/mangowm/mangobar/releases/tag/0.2.2
Reported by: DreamMaoMao <notifications@github.com>
---
x11/mangobar/Makefile | 14 +++++++++++---
x11/mangobar/distinfo | 6 +++---
x11/mangobar/files/patch-mangobar.c | 14 --------------
x11/mangobar/files/patch-meson.build | 23 ++++++++++++++++++-----
4 files changed, 32 insertions(+), 25 deletions(-)
diff --git a/x11/mangobar/Makefile b/x11/mangobar/Makefile
index 64f360fd944f..86a808b86bca 100644
--- a/x11/mangobar/Makefile
+++ b/x11/mangobar/Makefile
@@ -1,5 +1,5 @@
PORTNAME= mangobar
-DISTVERSION= 0.2.1
+DISTVERSION= 0.2.2
CATEGORIES= x11
MAINTAINER= nivit@FreeBSD.org
@@ -9,7 +9,8 @@ WWW= https://github.com/mangowm/mangobar
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= tllist>=1.1.0:devel/tllist \
+BUILD_DEPENDS= evdev-proto>=5.8:devel/evdev-proto \
+ tllist>=1.1.0:devel/tllist \
wayland-protocols>=1.24:graphics/wayland-protocols \
wayland-scanner:graphics/wayland
LIB_DEPENDS= libasound.so:audio/alsa-lib \
@@ -21,17 +22,24 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \
libudev.so:devel/libudev-devd \
libwayland-server.so:graphics/wayland
-USES= gnome meson ninja pkgconfig
+USES= gnome meson ninja pkgconfig python:build shebangfix
USE_GITHUB= yes
GH_ACCOUNT= mangowm
USE_GNOME= cairo gdkpixbuf pango
+SHEBANG_FILES= scripts/gen_defaults.py
+
SUB_FILES= pkg-message
PLIST_FILES= bin/mangobar \
share/mangobar/config.jsonc \
share/mangobar/style.css
+post-patch:
+ ${REINPLACE_CMD} \
+ -e 's,%%PYTHON_VERSION%%,${PYTHON_VERSION},1' \
+ ${WRKSRC}/meson.build
+
post-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/config.jsonc ${STAGEDIR}${DATADIR}/
diff --git a/x11/mangobar/distinfo b/x11/mangobar/distinfo
index ed44c067bd40..52aa34431ba3 100644
--- a/x11/mangobar/distinfo
+++ b/x11/mangobar/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1788363531
-SHA256 (mangowm-mangobar-0.2.1_GH0.tar.gz) = 83ace53cca7b0702baee0453998e8ac2ca9f7e3033737ce617df18bff8a37613
-SIZE (mangowm-mangobar-0.2.1_GH0.tar.gz) = 87378
+TIMESTAMP = 1789548661
+SHA256 (mangowm-mangobar-0.2.2_GH0.tar.gz) = 3e673fcf8b2d87da9e7fa072ca15ce722f686086e4cbcf2d22311cc7e5d506ae
+SIZE (mangowm-mangobar-0.2.2_GH0.tar.gz) = 97256
diff --git a/x11/mangobar/files/patch-mangobar.c b/x11/mangobar/files/patch-mangobar.c
deleted file mode 100644
index 999e947f245c..000000000000
--- a/x11/mangobar/files/patch-mangobar.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- mangobar.c.orig 2026-09-01 09:23:05 UTC
-+++ mangobar.c
-@@ -10,7 +10,11 @@
- #include <fcft/fcft.h>
- #include <fcntl.h>
- #include <locale.h>
-+#ifdef __FreeBSD__
-+#include <dev/evdev/input-event-codes.h>
-+#else
- #include <linux/input-event-codes.h>
-+#endif
- #include <libudev.h>
- #include <pixman.h>
- #include <poll.h>
diff --git a/x11/mangobar/files/patch-meson.build b/x11/mangobar/files/patch-meson.build
index 00e744154494..b758609b41cd 100644
--- a/x11/mangobar/files/patch-meson.build
+++ b/x11/mangobar/files/patch-meson.build
@@ -1,14 +1,27 @@
---- meson.build.orig 2026-09-01 09:23:05 UTC
+--- meson.build.orig 2026-09-16 06:12:24 UTC
+++ meson.build
-@@ -22,10 +22,10 @@ deps = [
+@@ -19,6 +19,7 @@ deps = [
+ dependency('fcft'),
+ dependency('pixman-1'),
+ dependency('cairo'),
++ dependency('libcjson'),
+ dependency('pango'),
+ dependency('pangocairo'),
dependency('libpulse'),
- sdbus_dep,
+@@ -26,7 +27,6 @@ deps = [
dependency('libudev'),
-+ dependency('libcjson'),
dependency('gdk-pixbuf-2.0'),
- dependency('alsa'),
cc.find_library('rt'),
- cc.find_library('cjson'),
]
scanner = find_program('wayland-scanner')
+@@ -59,7 +59,7 @@ defaults_h = custom_target('defaults-h',
+ output: 'defaults.h',
+ input: ['config.jsonc', 'style.css'],
+ command: [
+- find_program('python3'),
++ find_program('%%PYTHON_VERSION%%'),
+ files('scripts/gen_defaults.py'),
+ '@INPUT0@',
+ '@INPUT1@',