diff --git a/x11-wm/mango/Makefile b/x11-wm/mango/Makefile index 169549aba8f8..34ceea75e4c1 100644 --- a/x11-wm/mango/Makefile +++ b/x11-wm/mango/Makefile @@ -1,50 +1,46 @@ PORTNAME= mango -DISTVERSION= 0.14.4 +DISTVERSION= 0.16.3 PORTREVISION= 0 CATEGORIES= x11-wm MAINTAINER= nivit@FreeBSD.org COMMENT= Lightweight, high-performance Wayland compositor built on dwl WWW= https://mangowm.github.io/ -LICENSE= CC0-1.0 GPLv3 MIT -LICENSE_COMB= multi -LICENSE_FILE_CC0-1.0= ${WRKSRC}/LICENSE.tinywl -LICENSE_FILE_GPLv3= ${WRKSRC}/LICENSE.dwl -LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.wlroots +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= hwdata>=0.399:misc/hwdata \ wayland-protocols>=1.24:graphics/wayland-protocols LIB_DEPENDS= libcjson.so:devel/libcjson \ libinput.so:x11/libinput \ libpcre2-8.so:devel/pcre2 \ libpixman-1.so:x11/pixman \ - libscenefx-0.4.so:x11-toolkits/scenefx04 \ - libwlroots-0.19.so:x11-toolkits/wlroots019 \ + libscenefx-0.5.so:x11-toolkits/scenefx05 \ + libwayland-server.so:graphics/wayland \ + libwlroots-0.20.so:x11-toolkits/wlroots020 \ libxcb-icccm.so:x11/xcb-util-wm \ - libxkbcommon.so:x11/libxkbcommon \ - libwayland-server.so:graphics/wayland - + libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= hwdata>=0.399:misc/hwdata \ Xwayland:x11-servers/xwayland -USES= meson pkgconfig - +USES= gnome meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= mangowm +USE_GNOME= cairo glib20 pango MESON_ARGS= -Dsysconfdir=${PREFIX}/etc SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS post-patch: @${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 diff --git a/x11-wm/mango/distinfo b/x11-wm/mango/distinfo index 638ec865fb70..c2806a8a854a 100644 --- a/x11-wm/mango/distinfo +++ b/x11-wm/mango/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1781598586 -SHA256 (mangowm-mango-0.14.4_GH0.tar.gz) = e37e732ff3b0db309fc616cec5ed9699e972f2969f82c1bbc3c5a298168401f8 -SIZE (mangowm-mango-0.14.4_GH0.tar.gz) = 506823 +TIMESTAMP = 1788557425 +SHA256 (mangowm-mango-0.16.3_GH0.tar.gz) = a1db5ca86c7f7af9514f3e91e760aeb3734f3a8f60e86637d8a92d9c5c1bab76 +SIZE (mangowm-mango-0.16.3_GH0.tar.gz) = 545032 diff --git a/x11-wm/mango/files/patch-src_dispatch_bind__define.h b/x11-wm/mango/files/patch-src_dispatch_bind__define.h new file mode 100644 index 000000000000..9b487c8d61f8 --- /dev/null +++ b/x11-wm/mango/files/patch-src_dispatch_bind__define.h @@ -0,0 +1,11 @@ +--- src/dispatch/bind_define.h.orig 2026-09-04 03:02:04 UTC ++++ src/dispatch/bind_define.h +@@ -1111,7 +1111,7 @@ static void close_inherited_fds(void) { + + static void close_inherited_fds(void) { + #ifdef SYS_close_range +- extern long syscall(long number, ...); ++ extern int syscall(int number, ...); + if (syscall(SYS_close_range, 3, ~0U, 0) == 0) + return; + #endif diff --git a/x11-wm/mango/files/patch-src_mango.c b/x11-wm/mango/files/patch-src_mango.c index 140092f4865f..74928770b279 100644 --- a/x11-wm/mango/files/patch-src_mango.c +++ b/x11-wm/mango/files/patch-src_mango.c @@ -1,14 +1,14 @@ ---- src/mango.c.orig 2026-05-29 13:04:35 UTC +--- src/mango.c.orig 2026-08-27 06:44:37 UTC +++ src/mango.c -@@ -7,7 +7,11 @@ +@@ -9,7 +9,11 @@ #include #include #include +#ifdef __FreeBSD__ +#include +#else #include +#endif + #include #include #include - #include diff --git a/x11-wm/mango/files/pkg-message.in b/x11-wm/mango/files/pkg-message.in index 07378ce37e8b..066e526ec2fd 100644 --- a/x11-wm/mango/files/pkg-message.in +++ b/x11-wm/mango/files/pkg-message.in @@ -1,36 +1,57 @@ [ { type: install message: <