mirror of
https://git.freebsd.org/ports.git
synced 2025-05-22 11:48:35 -04:00
XWayland is an X Server running as a Wayland client, thus capable of displaying
native X11 client applications in a Wayland compositor environment. WWW: https://wayland.freedesktop.org/xserver.html
This commit is contained in:
parent
be5779eecc
commit
d70b127b51
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433900
9 changed files with 53 additions and 7 deletions
|
@ -12,5 +12,6 @@
|
||||||
SUBDIR += xorg-nestserver
|
SUBDIR += xorg-nestserver
|
||||||
SUBDIR += xorg-server
|
SUBDIR += xorg-server
|
||||||
SUBDIR += xorg-vfbserver
|
SUBDIR += xorg-vfbserver
|
||||||
|
SUBDIR += xwayland
|
||||||
|
|
||||||
.include <bsd.port.subdir.mk>
|
.include <bsd.port.subdir.mk>
|
||||||
|
|
|
@ -21,7 +21,7 @@ OPTIONS_EXCLUDE=DEVD HAL SUID
|
||||||
USE_XORG= x11 xcb
|
USE_XORG= x11 xcb
|
||||||
|
|
||||||
CONFIGURE_ARGS+=--enable-xephyr --disable-dmx --disable-xnest --disable-xvfb \
|
CONFIGURE_ARGS+=--enable-xephyr --disable-dmx --disable-xnest --disable-xvfb \
|
||||||
--enable-kdrive
|
--enable-kdrive --disable-xwayland
|
||||||
|
|
||||||
PLIST_FILES= bin/Xephyr man/man1/Xephyr.1.gz
|
PLIST_FILES= bin/Xephyr man/man1/Xephyr.1.gz
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,8 @@ OPTIONS_EXCLUDE=DEVD HAL SUID
|
||||||
|
|
||||||
USE_XORG= dmx dmxproto x11 xaw7 xext xfixes xi xmu xpm xrender xres xt xtst
|
USE_XORG= dmx dmxproto x11 xaw7 xext xfixes xi xmu xpm xrender xres xt xtst
|
||||||
|
|
||||||
CONFIGURE_ARGS+=--enable-dmx --disable-xephyr --disable-xnest --disable-xvfb
|
CONFIGURE_ARGS+=--enable-dmx --disable-xephyr --disable-xnest --disable-xvfb \
|
||||||
|
--disable-xwayland
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
cd ${WRKSRC}/hw/dmx; DESTDIR=${STAGEDIR} ${MAKE} install
|
cd ${WRKSRC}/hw/dmx; DESTDIR=${STAGEDIR} ${MAKE} install
|
||||||
|
|
|
@ -21,7 +21,8 @@ OPTIONS_EXCLUDE=DEVD HAL SUID
|
||||||
|
|
||||||
USE_XORG= x11 xext xfont2
|
USE_XORG= x11 xext xfont2
|
||||||
|
|
||||||
CONFIGURE_ARGS+=--enable-xnest --disable-dmx --disable-xephyr --disable-xvfb
|
CONFIGURE_ARGS+=--enable-xnest --disable-dmx --disable-xephyr --disable-xvfb \
|
||||||
|
--disable-xwayland
|
||||||
|
|
||||||
PLIST_FILES= bin/Xnest man/man1/Xnest.1.gz
|
PLIST_FILES= bin/Xnest man/man1/Xnest.1.gz
|
||||||
|
|
||||||
|
|
|
@ -44,10 +44,10 @@ USE_XORG+= bigreqsproto compositeproto damageproto dri2proto dri3proto \
|
||||||
xineramaproto xkbfile xproto xshmfence xtrans
|
xineramaproto xkbfile xproto xshmfence xtrans
|
||||||
CONFIGURE_ARGS+=--without-doxygen --without-xmlto --without-fop \
|
CONFIGURE_ARGS+=--without-doxygen --without-xmlto --without-fop \
|
||||||
--localstatedir=/var --with-shared-memory-dir=/tmp \
|
--localstatedir=/var --with-shared-memory-dir=/tmp \
|
||||||
--without-dtrace --disable-xwayland --enable-glamor
|
--without-dtrace --enable-glamor
|
||||||
INSTALL_TARGET= install-strip
|
INSTALL_TARGET= install-strip
|
||||||
|
|
||||||
.if ${SLAVE_PORT} == "no" || ${PORTNAME} == "xephyr"
|
.if ${SLAVE_PORT} == "no" || ${PORTNAME} == "xephyr" || ${PORTNAME} == "xwayland"
|
||||||
LIB_DEPENDS+= libdrm.so:graphics/libdrm \
|
LIB_DEPENDS+= libdrm.so:graphics/libdrm \
|
||||||
libepoxy.so:graphics/libepoxy
|
libepoxy.so:graphics/libepoxy
|
||||||
.else
|
.else
|
||||||
|
@ -57,7 +57,8 @@ BUILD_DEPENDS+= libepoxy>0:graphics/libepoxy # only for configure
|
||||||
.if ${SLAVE_PORT} == "no"
|
.if ${SLAVE_PORT} == "no"
|
||||||
USE_GL+= gbm
|
USE_GL+= gbm
|
||||||
USE_XORG+= pciaccess xf86dgaproto xf86vidmodeproto
|
USE_XORG+= pciaccess xf86dgaproto xf86vidmodeproto
|
||||||
CONFIGURE_ARGS+=--disable-dmx --disable-xephyr --disable-xnest --disable-xvfb
|
CONFIGURE_ARGS+=--disable-dmx --disable-xephyr --disable-xnest --disable-xvfb \
|
||||||
|
--disable-xwayland
|
||||||
SUB_FILES= pkg-install pkg-deinstall
|
SUB_FILES= pkg-install pkg-deinstall
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+=--disable-xorg
|
CONFIGURE_ARGS+=--disable-xorg
|
||||||
|
|
|
@ -19,7 +19,8 @@ OPTIONS_EXCLUDE=DEVD HAL SUID
|
||||||
|
|
||||||
USE_XORG= xfont2
|
USE_XORG= xfont2
|
||||||
|
|
||||||
CONFIGURE_ARGS+=--enable-xvfb --disable-dmx --disable-xephyr --disable-xnest
|
CONFIGURE_ARGS+=--enable-xvfb --disable-dmx --disable-xephyr --disable-xnest \
|
||||||
|
--disable-xwayland
|
||||||
|
|
||||||
PLIST_FILES= bin/Xvfb man/man1/Xvfb.1.gz
|
PLIST_FILES= bin/Xvfb man/man1/Xvfb.1.gz
|
||||||
|
|
||||||
|
|
34
x11-servers/xwayland/Makefile
Normal file
34
x11-servers/xwayland/Makefile
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= xwayland
|
||||||
|
PORTVERSION= 1.19.1
|
||||||
|
|
||||||
|
COMMENT= X Clients under Wayland
|
||||||
|
|
||||||
|
LICENSE= MIT
|
||||||
|
|
||||||
|
BUILD_DEPENDS= /usr/local/libdata/pkgconfig/wayland-protocols.pc:graphics/wayland-protocols
|
||||||
|
LIB_DEPENDS= libwayland-client.so:graphics/wayland \
|
||||||
|
libinput.so:x11/libinput
|
||||||
|
|
||||||
|
MASTERDIR= ${.CURDIR}/../xorg-server
|
||||||
|
DESCR= ${.CURDIR}/pkg-descr
|
||||||
|
DISTINFO_FILE= ${.CURDIR}/distinfo
|
||||||
|
PATCHDIR= ${.CURDIR}/files
|
||||||
|
|
||||||
|
SLAVE_PORT= yes
|
||||||
|
OPTIONS_EXCLUDE=DEVD HAL SUID
|
||||||
|
|
||||||
|
USE_XORG= x11 xext xfont2
|
||||||
|
USE_GL+= egl gbm
|
||||||
|
|
||||||
|
CONFIGURE_ARGS+= --disable-docs --disable-devel-docs \
|
||||||
|
--enable-xwayland --disable-xorg --disable-xvfb --disable-xnest \
|
||||||
|
--disable-xquartz --disable-xwin
|
||||||
|
|
||||||
|
PLIST_FILES= bin/Xwayland
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
cd ${WRKSRC}/hw/xwayland; DESTDIR=${STAGEDIR} ${MAKE_CMD} install
|
||||||
|
|
||||||
|
.include "${MASTERDIR}/Makefile"
|
3
x11-servers/xwayland/distinfo
Normal file
3
x11-servers/xwayland/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1484388904
|
||||||
|
SHA256 (xorg/xserver/xorg-server-1.19.1.tar.bz2) = 79ae2cf39d3f6c4a91201d8dad549d1d774b3420073c5a70d390040aa965a7fb
|
||||||
|
SIZE (xorg/xserver/xorg-server-1.19.1.tar.bz2) = 6041792
|
4
x11-servers/xwayland/pkg-descr
Normal file
4
x11-servers/xwayland/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
XWayland is an X Server running as a Wayland client, thus capable of displaying
|
||||||
|
native X11 client applications in a Wayland compositor environment.
|
||||||
|
|
||||||
|
WWW: https://wayland.freedesktop.org/xserver.html
|
Loading…
Add table
Reference in a new issue