pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import x11/modular-xorg-xwayland, update to 24.1.8



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Fri Sep 12 17:48:14 2025 +0200
Changeset:	cd629cc76f97f8dcede88d9393dbc5d147c4e54b

Modified Files:
	Makefile
Added Files:
	modular-xorg-xwayland/DESCR
	modular-xorg-xwayland/Makefile
	modular-xorg-xwayland/PLIST
	modular-xorg-xwayland/buildlink3.mk
	modular-xorg-xwayland/distinfo

Log Message:
Import x11/modular-xorg-xwayland, update to 24.1.8

Add buildlink3.mk

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cd629cc76f97f8dcede88d9393dbc5d147c4e54b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                            |  1 +
 modular-xorg-xwayland/DESCR         |  8 ++++++
 modular-xorg-xwayland/Makefile      | 53 +++++++++++++++++++++++++++++++++++++
 modular-xorg-xwayland/PLIST         |  5 ++++
 modular-xorg-xwayland/buildlink3.mk | 13 +++++++++
 modular-xorg-xwayland/distinfo      |  5 ++++
 6 files changed, 85 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 0a0723414c..8d20f83b3c 100644
--- a/Makefile
+++ b/Makefile
@@ -2426,6 +2426,7 @@ SUBDIR+=	modular-xorg-server-dfbsd
 SUBDIR+=	modular-xorg-server-dfbsd-meson
 SUBDIR+=	modular-xorg-server-linux
 SUBDIR+=	modular-xorg-xspice
+SUBDIR+=	modular-xorg-xwayland
 SUBDIR+=	moe
 SUBDIR+=	mofilereader
 SUBDIR+=	mona
diff --git a/modular-xorg-xwayland/DESCR b/modular-xorg-xwayland/DESCR
new file mode 100644
index 0000000000..3092639c39
--- /dev/null
+++ b/modular-xorg-xwayland/DESCR
@@ -0,0 +1,8 @@
+XWayland is a fully fledged X server implementation that acts as a proxy
+between X11 clients and a Wayland compositor.
+
+It runs as a specialized Wayland client, while optionally using a set of
+XWayland specific Wayland protocols for implementing certain functionality.
+
+The Wayland compositor acts both as the Wayland display server XWayland
+connects to, as well as the window manager.
diff --git a/modular-xorg-xwayland/Makefile b/modular-xorg-xwayland/Makefile
new file mode 100644
index 0000000000..aedcd014e0
--- /dev/null
+++ b/modular-xorg-xwayland/Makefile
@@ -0,0 +1,53 @@
+# $NetBSD: Makefile,v 1.20 2025/01/24 20:50:27 riastradh Exp $
+
+DISTNAME=	xwayland-24.1.8
+PKGNAME=	modular-xorg-${DISTNAME}
+CATEGORIES=	x11
+MASTER_SITES=	${MASTER_SITE_XORG:=xserver/}
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://xorg.freedesktop.org/
+COMMENT=	Server for running X clients under Wayland from modular X.org
+LICENSE=	mit AND modified-bsd AND x11 # with no-advertising clause
+
+USE_TOOLS+=	pkg-config
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+MESON_ARGS+=	-Dsecure-rpc=false
+.  if ${OPSYS_VERSION} < 100000
+CPPFLAGS+=	-D_OPENBSD_SOURCE # reallocarray
+.  endif
+.endif
+
+.include "../../devel/wayland/platform.mk"
+
+.if empty(PLATFORM_SUPPORTS_WAYLAND:M[Yy][Ee][Ss])
+PKG_SKIP_REASON+=	"Platform does not support Wayland"
+.endif
+
+post-install:
+	${RM} ${DESTDIR}${PREFIX}/lib/xorg/protocol.txt
+	${RM} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/Xserver.1
+	if [ -f ${DESTDIR}${PREFIX}/share/doc/xorg-server/Xserver-DTrace.xml ]; then \
+		${RM} ${DESTDIR}${PREFIX}/share/doc/xorg-server/Xserver-DTrace.xml; \
+	fi
+
+# New package
+.include "../../wip/input-headers/buildlink3.mk"
+
+.include "../../devel/wayland/buildlink3.mk"
+.include "../../devel/wayland-protocols/buildlink3.mk"
+.include "../../x11/xorgproto/buildlink3.mk"
+.include "../../graphics/libepoxy/buildlink3.mk"
+.include "../../x11/libXfont2/buildlink3.mk"
+.include "../../x11/libxcvt/buildlink3.mk"
+.include "../../x11/libdrm/buildlink3.mk"
+.include "../../x11/libei/buildlink3.mk"
+.include "../../x11/libxkbfile/buildlink3.mk"
+.include "../../x11/pixman/buildlink3.mk"
+.include "../../x11/xtrans/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/modular-xorg-xwayland/PLIST b/modular-xorg-xwayland/PLIST
new file mode 100644
index 0000000000..86cb194133
--- /dev/null
+++ b/modular-xorg-xwayland/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.2 2023/03/30 08:45:05 wiz Exp $
+bin/Xwayland
+lib/pkgconfig/xwayland.pc
+man/man1/Xwayland.1
+share/applications/org.freedesktop.Xwayland.desktop
diff --git a/modular-xorg-xwayland/buildlink3.mk b/modular-xorg-xwayland/buildlink3.mk
new file mode 100644
index 0000000000..ec8571193d
--- /dev/null
+++ b/modular-xorg-xwayland/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	modular-xorg-xwayland
+
+.if !defined(MODULAR_XORG_XWAYLAND_BUILDLINK3_MK)
+MODULAR_XORG_XWAYLAND_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.modular-xorg-xwayland+=	modular-xorg-xwayland>=24.1.8
+BUILDLINK_PKGSRCDIR.modular-xorg-xwayland?=	../../wip/modular-xorg-xwayland
+
+.endif	# MODULAR_XORG_XWAYLAND_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-modular-xorg-xwayland
diff --git a/modular-xorg-xwayland/distinfo b/modular-xorg-xwayland/distinfo
new file mode 100644
index 0000000000..ff100a8a2d
--- /dev/null
+++ b/modular-xorg-xwayland/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/03/30 08:45:19 wiz Exp $
+
+BLAKE2s (xwayland-24.1.8.tar.xz) = acdf29ff06043260371d917bb8cc0471b13c988e7f3c86ffae734c7b22b18a41
+SHA512 (xwayland-24.1.8.tar.xz) = 417498baa87e6bfc11a778d31788a2b2d381efa08f2ac8308cfd8b1828ea62ba1da43542f798f124c25b51e8229ad1bdffc252462c0abf51be8fa0337f26d7e2
+Size (xwayland-24.1.8.tar.xz) = 1303408 bytes


Home | Main Index | Thread Index | Old Index