Add x11/modular-xorg-xwayland. 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 -r1.119 -r1.120 pkgsrc/x11/modular-xorg-server/Makefile
(nia)
@@ -1,23 +1,24 @@ | @@ -1,23 +1,24 @@ | |||
1 | # $NetBSD: Makefile,v 1.119 2019/07/20 22:46:57 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.120 2019/08/22 19:52:29 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= xorg-server-${XORG_VERSION} | 3 | DISTNAME= xorg-server-${XORG_VERSION} | |
4 | PKGNAME= modular-${DISTNAME} | 4 | PKGNAME= modular-${DISTNAME} | |
5 | PKGREVISION= 1 | 5 | PKGREVISION= 1 | |
6 | 6 | |||
7 | MAINTAINER= pkgsrc-users@NetBSD.org | 7 | MAINTAINER= pkgsrc-users@NetBSD.org | |
8 | COMMENT= Modular X11 server from modular X.org | 8 | COMMENT= Modular X11 server from modular X.org | |
9 | 9 | |||
10 | SPECIAL_PERMS+= bin/Xorg ${SETUID_ROOT_PERMS} | 10 | SPECIAL_PERMS+= bin/Xorg ${SETUID_ROOT_PERMS} | |
11 | 11 | |||
12 | NOT_FOR_PLATFORM= Darwin-*-* | 12 | NOT_FOR_PLATFORM= Darwin-*-* | |
13 | 13 | |||
14 | .include "Makefile.common" | 14 | .include "Makefile.common" | |
15 | 15 | |||
16 | CONFIGURE_ARGS+= --enable-xorg | 16 | CONFIGURE_ARGS+= --enable-xorg | |
17 | CONFIGURE_ARGS+= --disable-xephyr | 17 | CONFIGURE_ARGS+= --disable-xephyr | |
18 | CONFIGURE_ARGS+= --disable-xwayland | |||
18 | CONFIGURE_ARGS+= --disable-kdrive | 19 | CONFIGURE_ARGS+= --disable-kdrive | |
19 | CONFIGURE_ARGS.SunOS+= --disable-input-thread | 20 | CONFIGURE_ARGS.SunOS+= --disable-input-thread | |
20 | 21 | |||
21 | .include "options.mk" | 22 | .include "options.mk" | |
22 | 23 | |||
23 | .include "../../mk/bsd.pkg.mk" | 24 | .include "../../mk/bsd.pkg.mk" |
@@ -1,16 +1,17 @@ | @@ -1,16 +1,17 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.27 2019/02/27 16:32:58 wiz Exp $ | 1 | # $NetBSD: Makefile.common,v 1.28 2019/08/22 19:52:29 nia Exp $ | |
2 | # used by x11/modular-xorg-server/Makefile | 2 | # used by x11/modular-xorg-server/Makefile | |
3 | # used by x11/modular-xorg-xephyr/Makefile | 3 | # used by x11/modular-xorg-xephyr/Makefile | |
4 | # used by x11/modular-xorg-xwayland/Makefile | |||
4 | 5 | |||
5 | XORG_VERSION= 1.20.4 | 6 | XORG_VERSION= 1.20.4 | |
6 | CATEGORIES= x11 | 7 | CATEGORIES= x11 | |
7 | MASTER_SITES= ${MASTER_SITE_XORG:=xserver/} | 8 | MASTER_SITES= ${MASTER_SITE_XORG:=xserver/} | |
8 | EXTRACT_SUFX= .tar.bz2 | 9 | EXTRACT_SUFX= .tar.bz2 | |
9 | 10 | |||
10 | HOMEPAGE= http://xorg.freedesktop.org/ | 11 | HOMEPAGE= http://xorg.freedesktop.org/ | |
11 | LICENSE= mit AND modified-bsd AND x11 # with no-advertising clause | 12 | LICENSE= mit AND modified-bsd AND x11 # with no-advertising clause | |
12 | 13 | |||
13 | GNU_CONFIGURE= yes | 14 | GNU_CONFIGURE= yes | |
14 | USE_LIBTOOL= yes | 15 | USE_LIBTOOL= yes | |
15 | USE_TOOLS+= gmake pkg-config | 16 | USE_TOOLS+= gmake pkg-config | |
16 | USE_LANGUAGES+= c99 | 17 | USE_LANGUAGES+= c99 |
@@ -1,19 +1,18 @@ | @@ -1,19 +1,18 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.29 2019/08/22 13:12:31 nia Exp $ | 1 | @comment $NetBSD: PLIST,v 1.30 2019/08/22 19:52:29 nia Exp $ | |
2 | bin/X | 2 | bin/X | |
3 | bin/Xnest | 3 | bin/Xnest | |
4 | bin/Xorg | 4 | bin/Xorg | |
5 | bin/Xvfb | 5 | bin/Xvfb | |
6 | ${PLIST.wayland}bin/Xwayland | |||
7 | bin/cvt | 6 | bin/cvt | |
8 | bin/gtf | 7 | bin/gtf | |
9 | include/xorg/BT.h | 8 | include/xorg/BT.h | |
10 | include/xorg/IBM.h | 9 | include/xorg/IBM.h | |
11 | include/xorg/TI.h | 10 | include/xorg/TI.h | |
12 | include/xorg/XIstubs.h | 11 | include/xorg/XIstubs.h | |
13 | include/xorg/Xprintf.h | 12 | include/xorg/Xprintf.h | |
14 | include/xorg/callback.h | 13 | include/xorg/callback.h | |
15 | include/xorg/client.h | 14 | include/xorg/client.h | |
16 | include/xorg/closestr.h | 15 | include/xorg/closestr.h | |
17 | include/xorg/closure.h | 16 | include/xorg/closure.h | |
18 | include/xorg/colormap.h | 17 | include/xorg/colormap.h | |
19 | include/xorg/colormapst.h | 18 | include/xorg/colormapst.h |
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: options.mk,v 1.20 2019/08/22 13:12:31 nia Exp $ | 1 | # $NetBSD: options.mk,v 1.21 2019/08/22 19:52:29 nia Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.modular-xorg-server | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.modular-xorg-server | |
4 | PKG_SUPPORTED_OPTIONS= inet6 dri debug dtrace wayland | 4 | PKG_SUPPORTED_OPTIONS= inet6 dri debug dtrace | |
5 | PKG_SUGGESTED_OPTIONS= inet6 dri | 5 | PKG_SUGGESTED_OPTIONS= inet6 dri | |
6 | 6 | |||
7 | .include "../../mk/bsd.options.mk" | 7 | .include "../../mk/bsd.options.mk" | |
8 | 8 | |||
9 | PLIST_VARS+= dri dtrace wayland | 9 | PLIST_VARS+= dri dtrace wayland | |
10 | 10 | |||
11 | .if !empty(PKG_OPTIONS:Mdri) | 11 | .if !empty(PKG_OPTIONS:Mdri) | |
12 | .include "../../graphics/libepoxy/buildlink3.mk" | 12 | .include "../../graphics/libepoxy/buildlink3.mk" | |
13 | BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=11 | 13 | BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=11 | |
14 | .include "../../graphics/MesaLib/buildlink3.mk" | 14 | .include "../../graphics/MesaLib/buildlink3.mk" | |
15 | .include "../../x11/xorgproto/buildlink3.mk" | 15 | .include "../../x11/xorgproto/buildlink3.mk" | |
16 | .include "../../x11/libdrm/buildlink3.mk" | 16 | .include "../../x11/libdrm/buildlink3.mk" | |
17 | .include "../../x11/libxshmfence/buildlink3.mk" | 17 | .include "../../x11/libxshmfence/buildlink3.mk" | |
@@ -45,23 +45,13 @@ CONFIGURE_ARGS+= --disable-ipv6 | @@ -45,23 +45,13 @@ CONFIGURE_ARGS+= --disable-ipv6 | |||
45 | .endif | 45 | .endif | |
46 | 46 | |||
47 | .if !empty(PKG_OPTIONS:Mdebug) | 47 | .if !empty(PKG_OPTIONS:Mdebug) | |
48 | CONFIGURE_ARGS+= --enable-debug | 48 | CONFIGURE_ARGS+= --enable-debug | |
49 | CFLAGS+= -ggdb | 49 | CFLAGS+= -ggdb | |
50 | .endif | 50 | .endif | |
51 | 51 | |||
52 | .if !empty(PKG_OPTIONS:Mdtrace) | 52 | .if !empty(PKG_OPTIONS:Mdtrace) | |
53 | PLIST.dtrace= yes | 53 | PLIST.dtrace= yes | |
54 | CONFIGURE_ARGS+= --with-dtrace | 54 | CONFIGURE_ARGS+= --with-dtrace | |
55 | .else | 55 | .else | |
56 | CONFIGURE_ARGS+= --without-dtrace | 56 | CONFIGURE_ARGS+= --without-dtrace | |
57 | .endif | 57 | .endif | |
58 | ||||
59 | .if !empty(PKG_OPTIONS:Mwayland) | |||
60 | PLIST.wayland= yes | |||
61 | CONFIGURE_ARGS+= --enable-xwayland | |||
62 | CONFIGURE_ARGS+= --disable-xwayland-eglstream | |||
63 | .include "../../devel/wayland/buildlink3.mk" | |||
64 | .include "../../devel/wayland-protocols/buildlink3.mk" | |||
65 | .else | |||
66 | CONFIGURE_ARGS+= --disable-xwayland | |||
67 | .endif |
@@ -1,31 +1,32 @@ | @@ -1,31 +1,32 @@ | |||
1 | # $NetBSD: Makefile,v 1.14 2019/07/20 22:46:57 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.15 2019/08/22 19:52:29 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= xorg-server-${XORG_VERSION} | 3 | DISTNAME= xorg-server-${XORG_VERSION} | |
4 | PKGNAME= modular-xorg-xephyr-${XORG_VERSION} | 4 | PKGNAME= modular-xorg-xephyr-${XORG_VERSION} | |
5 | PKGREVISION= 1 | 5 | PKGREVISION= 1 | |
6 | 6 | |||
7 | DISTINFO_FILE= ${.CURDIR}/../../x11/modular-xorg-server/distinfo | 7 | DISTINFO_FILE= ${.CURDIR}/../../x11/modular-xorg-server/distinfo | |
8 | PATCHDIR= ${.CURDIR}/../../x11/modular-xorg-server/patches | 8 | PATCHDIR= ${.CURDIR}/../../x11/modular-xorg-server/patches | |
9 | 9 | |||
10 | MAINTAINER= khorben@defora.org | 10 | MAINTAINER= khorben@defora.org | |
11 | COMMENT= Xephyr server based on kdrive from modular X.org | 11 | COMMENT= Xephyr server based on kdrive from modular X.org | |
12 | 12 | |||
13 | BROKEN_ON_PLATFORM+= Darwin-*-* | 13 | BROKEN_ON_PLATFORM+= Darwin-*-* | |
14 | 14 | |||
15 | .include "../../x11/modular-xorg-server/Makefile.common" | 15 | .include "../../x11/modular-xorg-server/Makefile.common" | |
16 | 16 | |||
17 | CONFIGURE_ARGS+= --disable-xorg | 17 | CONFIGURE_ARGS+= --disable-xorg | |
18 | CONFIGURE_ARGS+= --disable-xnest | 18 | CONFIGURE_ARGS+= --disable-xnest | |
19 | CONFIGURE_ARGS+= --disable-xwayland | |||
19 | CONFIGURE_ARGS+= --enable-xephyr | 20 | CONFIGURE_ARGS+= --enable-xephyr | |
20 | CONFIGURE_ARGS+= --enable-kdrive | 21 | CONFIGURE_ARGS+= --enable-kdrive | |
21 | CONFIGURE_ARGS+= --disable-xvfb | 22 | CONFIGURE_ARGS+= --disable-xvfb | |
22 | 23 | |||
23 | post-install: | 24 | post-install: | |
24 | ${RM} ${DESTDIR}${PREFIX}/lib/xorg/protocol.txt | 25 | ${RM} ${DESTDIR}${PREFIX}/lib/xorg/protocol.txt | |
25 | ${RM} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/Xserver.1 | 26 | ${RM} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/Xserver.1 | |
26 | if [ -f ${DESTDIR}${PREFIX}/share/doc/xorg-server/Xserver-DTrace.xml ]; then \ | 27 | if [ -f ${DESTDIR}${PREFIX}/share/doc/xorg-server/Xserver-DTrace.xml ]; then \ | |
27 | ${RM} ${DESTDIR}${PREFIX}/share/doc/xorg-server/Xserver-DTrace.xml; \ | 28 | ${RM} ${DESTDIR}${PREFIX}/share/doc/xorg-server/Xserver-DTrace.xml; \ | |
28 | fi | 29 | fi | |
29 | 30 | |||
30 | .include "../../x11/modular-xorg-server/options.mk" | 31 | .include "../../x11/modular-xorg-server/options.mk" | |
31 | 32 |
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.
# $NetBSD: Makefile,v 1.1 2019/08/22 19:52:29 nia Exp $
DISTNAME= xorg-server-${XORG_VERSION}
PKGNAME= modular-xorg-xwayland-${XORG_VERSION}
DISTINFO_FILE= ${.CURDIR}/../../x11/modular-xorg-server/distinfo
PATCHDIR= ${.CURDIR}/../../x11/modular-xorg-server/patches
MAINTAINER= nia@NetBSD.org
COMMENT= Server for running X clients under Wayland from modular X.org
.include "../../x11/modular-xorg-server/Makefile.common"
CONFIGURE_ARGS+= --disable-xorg
CONFIGURE_ARGS+= --disable-xephyr
CONFIGURE_ARGS+= --disable-xnest
CONFIGURE_ARGS+= --disable-xvfb
CONFIGURE_ARGS+= --disable-xwayland-eglstream
CONFIGURE_ARGS+= --enable-xwayland
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
.include "../../x11/modular-xorg-server/options.mk"
.include "../../devel/wayland/buildlink3.mk"
.include "../../devel/wayland-protocols/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2019/08/22 19:52:29 nia Exp $
bin/Xwayland