[Midnightbsd-cvs] mports [23935] trunk/x11-drivers/xf86-video-qxl: add
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Aug 26 17:46:15 EDT 2018
Revision: 23935
http://svnweb.midnightbsd.org/mports/?rev=23935
Author: laffer1
Date: 2018-08-26 17:46:14 -0400 (Sun, 26 Aug 2018)
Log Message:
-----------
add
Added Paths:
-----------
trunk/x11-drivers/xf86-video-qxl/
trunk/x11-drivers/xf86-video-qxl/Makefile
trunk/x11-drivers/xf86-video-qxl/distinfo
trunk/x11-drivers/xf86-video-qxl/files/
trunk/x11-drivers/xf86-video-qxl/files/patch-qxl_option_helpers.h
trunk/x11-drivers/xf86-video-qxl/files/patch-spiceqxl_audio.c
trunk/x11-drivers/xf86-video-qxl/pkg-descr
trunk/x11-drivers/xf86-video-qxl/pkg-plist
Added: trunk/x11-drivers/xf86-video-qxl/Makefile
===================================================================
--- trunk/x11-drivers/xf86-video-qxl/Makefile (rev 0)
+++ trunk/x11-drivers/xf86-video-qxl/Makefile 2018-08-26 21:46:14 UTC (rev 23935)
@@ -0,0 +1,32 @@
+# $MidnightBSD$
+# $FreeBSD: head/x11-drivers/xf86-video-qxl/Makefile 462587 2018-02-22 12:53:13Z tobik $
+
+PORTNAME= xf86-video-qxl
+DISTVERSION= 0.1.5
+CATEGORIES= x11-drivers
+
+MAINTAINER= ports at MidnightBSD.org
+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>
Property changes on: trunk/x11-drivers/xf86-video-qxl/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/x11-drivers/xf86-video-qxl/distinfo
===================================================================
--- trunk/x11-drivers/xf86-video-qxl/distinfo (rev 0)
+++ trunk/x11-drivers/xf86-video-qxl/distinfo 2018-08-26 21:46:14 UTC (rev 23935)
@@ -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
Property changes on: trunk/x11-drivers/xf86-video-qxl/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/x11-drivers/xf86-video-qxl/files/patch-qxl_option_helpers.h
===================================================================
--- trunk/x11-drivers/xf86-video-qxl/files/patch-qxl_option_helpers.h (rev 0)
+++ trunk/x11-drivers/xf86-video-qxl/files/patch-qxl_option_helpers.h 2018-08-26 21:46:14 UTC (rev 23935)
@@ -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>
+
Property changes on: trunk/x11-drivers/xf86-video-qxl/files/patch-qxl_option_helpers.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/x11-drivers/xf86-video-qxl/files/patch-spiceqxl_audio.c
===================================================================
--- trunk/x11-drivers/xf86-video-qxl/files/patch-spiceqxl_audio.c (rev 0)
+++ trunk/x11-drivers/xf86-video-qxl/files/patch-spiceqxl_audio.c 2018-08-26 21:46:14 UTC (rev 23935)
@@ -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));
Property changes on: trunk/x11-drivers/xf86-video-qxl/files/patch-spiceqxl_audio.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/x11-drivers/xf86-video-qxl/pkg-descr
===================================================================
--- trunk/x11-drivers/xf86-video-qxl/pkg-descr (rev 0)
+++ trunk/x11-drivers/xf86-video-qxl/pkg-descr 2018-08-26 21:46:14 UTC (rev 23935)
@@ -0,0 +1,3 @@
+This package contains the X.Org xf86-video-qxl driver.
+
+WWW: https://www.x.org/
Property changes on: trunk/x11-drivers/xf86-video-qxl/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/x11-drivers/xf86-video-qxl/pkg-plist
===================================================================
--- trunk/x11-drivers/xf86-video-qxl/pkg-plist (rev 0)
+++ trunk/x11-drivers/xf86-video-qxl/pkg-plist 2018-08-26 21:46:14 UTC (rev 23935)
@@ -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
Property changes on: trunk/x11-drivers/xf86-video-qxl/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list