svn commit: r459199 - in head/x11-drivers: . xf86-video-qxl xf86-video-qxl/files
Roman Bogorodskiy
novel at FreeBSD.org
Tue Jan 16 17:47:12 UTC 2018
Author: novel
Date: Tue Jan 16 17:47:09 2018
New Revision: 459199
URL: https://svnweb.freebsd.org/changeset/ports/459199
Log:
This package contains the X.Org xf86-video-qxl driver.
WWW: https://www.x.org/
PR: 225103
Submitted by: olevole at olevole.ru
Added:
head/x11-drivers/xf86-video-qxl/
head/x11-drivers/xf86-video-qxl/Makefile (contents, props changed)
head/x11-drivers/xf86-video-qxl/distinfo (contents, props changed)
head/x11-drivers/xf86-video-qxl/files/
head/x11-drivers/xf86-video-qxl/files/patch-qxl_option_helpers.h (contents, props changed)
head/x11-drivers/xf86-video-qxl/files/patch-spiceqxl_audio.c (contents, props changed)
head/x11-drivers/xf86-video-qxl/pkg-descr (contents, props changed)
head/x11-drivers/xf86-video-qxl/pkg-plist (contents, props changed)
Modified:
head/x11-drivers/Makefile
Modified: head/x11-drivers/Makefile
==============================================================================
--- head/x11-drivers/Makefile Tue Jan 16 17:42:19 2018 (r459198)
+++ head/x11-drivers/Makefile Tue Jan 16 17:47:09 2018 (r459199)
@@ -37,6 +37,7 @@
SUBDIR += xf86-video-neomagic
SUBDIR += xf86-video-nv
SUBDIR += xf86-video-openchrome
+ SUBDIR += xf86-video-qxl
SUBDIR += xf86-video-r128
SUBDIR += xf86-video-rendition
SUBDIR += xf86-video-s3
Added: head/x11-drivers/xf86-video-qxl/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-drivers/xf86-video-qxl/Makefile Tue Jan 16 17:47:09 2018 (r459199)
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME= xf86-video-qxl
+DISTVERSION= 0.1.5
+CATEGORIES= x11-drivers
+
+MAINTAINER= olevole at olevole.ru
+COMMENT= X.Org X server -- QXL display driver
+
+LICENSE= MIT
+
+BUILD_DEPENDS= spice-protocol>=0.12.10:devel/spice-protocol \
+ ${LOCALBASE}/include/linux/input.h:multimedia/v4l_compat
+LIB_DEPENDS= libspice-server.so:devel/libspice-server
+
+USES= localbase:ldflags pkgconfig python:2.7 shebangfix
+
+USE_XORG= xf86dgaproto xfont
+XORG_CAT= driver
+
+CONFIGURE_ARGS+=--enable-xspice
+
+python_OLD_CMD= "/usr/bin/python"
+SHEBANG_FILES= scripts/Xspice
+
+post-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/X11/xorg.conf.d
+ ${INSTALL_DATA} ${WRKSRC}/examples/spiceqxl.xorg.conf.example \
+ ${STAGEDIR}${PREFIX}/etc/X11/xorg.conf.d/spiceqxl.xorg.conf.example
+
+.include <bsd.port.mk>
Added: head/x11-drivers/xf86-video-qxl/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-drivers/xf86-video-qxl/distinfo Tue Jan 16 17:47:09 2018 (r459199)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1514372367
+SHA256 (xorg/driver/xf86-video-qxl-0.1.5.tar.bz2) = b18682e04503c6326f7bf7190f3ee50a3d4d69758a2a3cc9af102a6b3f114c92
+SIZE (xorg/driver/xf86-video-qxl-0.1.5.tar.bz2) = 508266
Added: head/x11-drivers/xf86-video-qxl/files/patch-qxl_option_helpers.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-drivers/xf86-video-qxl/files/patch-qxl_option_helpers.h Tue Jan 16 17:47:09 2018 (r459199)
@@ -0,0 +1,11 @@
+--- src/qxl_option_helpers.h.bak 2017-09-12 12:00:11 UTC
++++ src/qxl_option_helpers.h
+@@ -1,6 +1,8 @@
+ #ifndef OPTION_HELPERS_H
+ #define OPTION_HELPERS_H
+
++#define linux
++
+ #include <xf86Crtc.h>
+ #include <xf86Opt.h>
+
Added: head/x11-drivers/xf86-video-qxl/files/patch-spiceqxl_audio.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-drivers/xf86-video-qxl/files/patch-spiceqxl_audio.c Tue Jan 16 17:47:09 2018 (r459199)
@@ -0,0 +1,14 @@
+--- src/spiceqxl_audio.c.bak 2017-09-12 12:00:11 UTC
++++ src/spiceqxl_audio.c
+@@ -410,7 +410,10 @@
+ strcat(fname, "/");
+ strcat(fname, e->name);
+
+- f->fd = open(fname, O_RDONLY | O_RSYNC | O_NONBLOCK);
++// f->fd = open(fname, O_RDONLY | O_RSYNC | O_NONBLOCK);
++ // POSIX specifies three different flavors for synchronous I/O: O_SYNC, O_DSYNC, and O_RSYNC.
++ // In BSD, these are all equivalent.
++ f->fd = open(fname, O_RDONLY | O_SYNC | O_NONBLOCK);
+ free(fname);
+ if (f->fd < 0) {
+ ErrorF("playback: open FIFO '%s' failed: %s\n", e->name, strerror(errno));
Added: head/x11-drivers/xf86-video-qxl/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-drivers/xf86-video-qxl/pkg-descr Tue Jan 16 17:47:09 2018 (r459199)
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-video-qxl driver.
+
+WWW: https://www.x.org/
Added: head/x11-drivers/xf86-video-qxl/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-drivers/xf86-video-qxl/pkg-plist Tue Jan 16 17:47:09 2018 (r459199)
@@ -0,0 +1,5 @@
+lib/xorg/modules/drivers/spiceqxl_drv.so
+lib/xorg/modules/drivers/qxl_drv.so
+bin/Xspice
+%%PORTDOCS%%%%DOCSDIR%%/spiceqxl.xorg.conf.example
+ at sample etc/X11/xorg.conf.d/spiceqxl.xorg.conf.example etc/X11/xorg.conf.d/spiceqxl.xorg.conf
More information about the svn-ports-all
mailing list