Date: Tue, 09 Jun 2026 15:07:11 +0000 From: Nicola Vitale <nivit@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a58383f2eb06 - main - x11-wm/mango: Update to 0.14.2 Message-ID: <6a282c1f.19660.4dd67e49@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=a58383f2eb0681399a37ddd246a31e42a30d6cd0 commit a58383f2eb0681399a37ddd246a31e42a30d6cd0 Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2026-06-09 14:55:47 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2026-06-09 15:06:51 +0000 x11-wm/mango: Update to 0.14.2 - Add DOCS option - Add an update message for users, because mango has some breaing changes starting with version 0.14.0 ChangeLog: - https://github.com/mangowm/mango/releases/tag/0.14.0 - https://github.com/mangowm/mango/releases/tag/0.14.1 - https://github.com/mangowm/mango/releases/tag/0.14.2 Reported by: portscout! --- x11-wm/mango/Makefile | 30 ++++++++++------------------- x11-wm/mango/distinfo | 6 +++--- x11-wm/mango/files/patch-meson.build | 8 +++++--- x11-wm/mango/files/patch-src_mango.c | 4 ++-- x11-wm/mango/files/pkg-message.in | 16 ++++++++++++++++ x11-wm/mango/pkg-plist | 37 ++++++++++++++++++++++++++++++++++++ 6 files changed, 73 insertions(+), 28 deletions(-) diff --git a/x11-wm/mango/Makefile b/x11-wm/mango/Makefile index 1da8c60af88c..7f60b446a4ef 100644 --- a/x11-wm/mango/Makefile +++ b/x11-wm/mango/Makefile @@ -1,5 +1,5 @@ PORTNAME= mango -DISTVERSION= 0.13.1 +DISTVERSION= 0.14.2 PORTREVISION= 0 CATEGORIES= x11-wm @@ -15,22 +15,15 @@ LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.wlroots BUILD_DEPENDS= hwdata>=0.399:misc/hwdata \ wayland-protocols>=1.24:graphics/wayland-protocols -LIB_DEPENDS= libdisplay-info.so:sysutils/libdisplay-info \ - libdrm.so:graphics/libdrm \ - libevdev.so:devel/libevdev \ +LIB_DEPENDS= libcjson.so:devel/libcjson \ libinput.so:x11/libinput \ - libjson-c.so:devel/json-c \ - libliftoff.so:graphics/libliftoff \ libpcre2-8.so:devel/pcre2 \ libpixman-1.so:x11/pixman \ libscenefx-0.4.so:x11-toolkits/scenefx04 \ - libseat.so:sysutils/seatd \ - libudev.so:devel/libudev-devd \ - libwayland-egl.so:graphics/wayland \ libwlroots-0.19.so:x11-toolkits/wlroots019 \ libxcb-icccm.so:x11/xcb-util-wm \ - libxcb.so:x11/libxcb \ - libxkbcommon.so:x11/libxkbcommon + libxkbcommon.so:x11/libxkbcommon \ + libwayland-server.so:graphics/wayland RUN_DEPENDS= hwdata>=0.399:misc/hwdata \ Xwayland:x11-servers/xwayland @@ -44,17 +37,14 @@ MESON_ARGS= -Dsysconfdir=${PREFIX}/etc SUB_FILES= pkg-message -PLIST_FILES= bin/mango \ - bin/mmsg \ - "@sample etc/mango/config.conf.sample" \ - share/wayland-sessions/mango.desktop \ - share/xdg-desktop-portal/mango-portals.conf +OPTIONS_DEFINE= DOCS post-patch: -# Fix C flags -# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275328 - @${REINPLACE_CMD} -E -e 's|_POSIX_C_SOURCE=200809L|_XOPEN_SOURCE=700|' \ - -e "s|(assets/(config.conf))|\1', rename : '\2.sample|1" \ + @${REINPLACE_CMD} -E -e "s|(assets/(config.conf))|\1', rename : '\2.sample|1" \ ${WRKSRC}/meson.build +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + .include <bsd.port.mk> diff --git a/x11-wm/mango/distinfo b/x11-wm/mango/distinfo index 034515569f97..07f55c4b91d2 100644 --- a/x11-wm/mango/distinfo +++ b/x11-wm/mango/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1779123263 -SHA256 (mangowm-mango-0.13.1_GH0.tar.gz) = bc23d06834e1a5222b8ce1f3ee3d68937e1321ef5446640a4f3dac53639569d8 -SIZE (mangowm-mango-0.13.1_GH0.tar.gz) = 497057 +TIMESTAMP = 1780906758 +SHA256 (mangowm-mango-0.14.2_GH0.tar.gz) = c0ac17979d8024d332955b47a54e7fbf058359fdbeaf903f0a64a56e06bd2b33 +SIZE (mangowm-mango-0.14.2_GH0.tar.gz) = 505978 diff --git a/x11-wm/mango/files/patch-meson.build b/x11-wm/mango/files/patch-meson.build index 69f9787894de..8aec00d03050 100644 --- a/x11-wm/mango/files/patch-meson.build +++ b/x11-wm/mango/files/patch-meson.build @@ -1,4 +1,4 @@ ---- meson.build.orig 2026-02-18 05:26:24 UTC +--- meson.build.orig 2026-05-29 13:04:35 UTC +++ meson.build @@ -12,12 +12,16 @@ endif endif @@ -19,9 +19,11 @@ # 确保 sysconfdir 是绝对路径 if not sysconfdir.startswith('/') sysconfdir = '/' + sysconfdir -@@ -72,7 +76,7 @@ c_args = [ +@@ -72,9 +76,8 @@ c_args = [ + '-g', + '-Wno-unused-function', '-DWLR_USE_UNSTABLE', - '-D_POSIX_C_SOURCE=200809L', +- '-D_POSIX_C_SOURCE=200809L', '-DVERSION="@0@"'.format(version_with_hash), - '-DSYSCONFDIR="@0@"'.format('/etc'), + '-DSYSCONFDIR="@0@"'.format(sysconfdir), diff --git a/x11-wm/mango/files/patch-src_mango.c b/x11-wm/mango/files/patch-src_mango.c index 3c03410bec14..140092f4865f 100644 --- a/x11-wm/mango/files/patch-src_mango.c +++ b/x11-wm/mango/files/patch-src_mango.c @@ -1,6 +1,6 @@ ---- src/mango.c.orig 2025-12-03 10:15:56 UTC +--- src/mango.c.orig 2026-05-29 13:04:35 UTC +++ src/mango.c -@@ -6,7 +6,11 @@ +@@ -7,7 +7,11 @@ #include <getopt.h> #include <libinput.h> #include <limits.h> diff --git a/x11-wm/mango/files/pkg-message.in b/x11-wm/mango/files/pkg-message.in index c26711c2d8da..07378ce37e8b 100644 --- a/x11-wm/mango/files/pkg-message.in +++ b/x11-wm/mango/files/pkg-message.in @@ -17,4 +17,20 @@ and the keyboard shortcut to launch a terminal (replace foot with your preferred terminal emulator). EOM } +{ type: upgrade + maximum_version: "0.14.0" + message: <<EOM + Version 0.14.0 of Mango has some breaking changes: + + - IPC Protocol Upgrade: The old dwl IPC protocol is now deprecated and will + be removed in the next version. + - Socket Restructuring: mmsg(1) now restricts the use of independent sockets. + This structural change delivers a more powerful, concise, and reliable + syntax, allowing you to seamlessly retrieve data for all clients, tags, + monitors, and messages. + + As a result, you must adapt any script that uses the mmsg(1) command to + the new syntax. +EOM +} ] diff --git a/x11-wm/mango/pkg-plist b/x11-wm/mango/pkg-plist new file mode 100644 index 000000000000..4a2609f090ea --- /dev/null +++ b/x11-wm/mango/pkg-plist @@ -0,0 +1,37 @@ +bin/mango +bin/mmsg +%%ETCDIR%%/config.conf.sample +%%PORTDOCS%%%%DOCSDIR%%/bindings/index.mdx +%%PORTDOCS%%%%DOCSDIR%%/bindings/keys.md +%%PORTDOCS%%%%DOCSDIR%%/bindings/meta.json +%%PORTDOCS%%%%DOCSDIR%%/bindings/mouse-gestures.md +%%PORTDOCS%%%%DOCSDIR%%/configuration/basics.md +%%PORTDOCS%%%%DOCSDIR%%/configuration/index.mdx +%%PORTDOCS%%%%DOCSDIR%%/configuration/input.md +%%PORTDOCS%%%%DOCSDIR%%/configuration/meta.json +%%PORTDOCS%%%%DOCSDIR%%/configuration/miscellaneous.md +%%PORTDOCS%%%%DOCSDIR%%/configuration/monitors.md +%%PORTDOCS%%%%DOCSDIR%%/configuration/xdg-portals.md +%%PORTDOCS%%%%DOCSDIR%%/faq.md +%%PORTDOCS%%%%DOCSDIR%%/index.md +%%PORTDOCS%%%%DOCSDIR%%/installation.md +%%PORTDOCS%%%%DOCSDIR%%/ipc.md +%%PORTDOCS%%%%DOCSDIR%%/meta.json +%%PORTDOCS%%%%DOCSDIR%%/nix-options.md +%%PORTDOCS%%%%DOCSDIR%%/quick-start.md +%%PORTDOCS%%%%DOCSDIR%%/screenshot.md +%%PORTDOCS%%%%DOCSDIR%%/visuals/animations.md +%%PORTDOCS%%%%DOCSDIR%%/visuals/effects.md +%%PORTDOCS%%%%DOCSDIR%%/visuals/index.mdx +%%PORTDOCS%%%%DOCSDIR%%/visuals/meta.json +%%PORTDOCS%%%%DOCSDIR%%/visuals/status-bar.md +%%PORTDOCS%%%%DOCSDIR%%/visuals/theming.md +%%PORTDOCS%%%%DOCSDIR%%/window-management/index.mdx +%%PORTDOCS%%%%DOCSDIR%%/window-management/layouts.md +%%PORTDOCS%%%%DOCSDIR%%/window-management/meta.json +%%PORTDOCS%%%%DOCSDIR%%/window-management/overview.md +%%PORTDOCS%%%%DOCSDIR%%/window-management/rules.md +%%PORTDOCS%%%%DOCSDIR%%/window-management/scratchpad.md +share/man/man1/mmsg.1.gz +share/wayland-sessions/mango.desktop +share/xdg-desktop-portal/mango-portals.confhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a282c1f.19660.4dd67e49>
