Index: head/x11-drivers/Makefile =================================================================== --- head/x11-drivers/Makefile (revision 459198) +++ head/x11-drivers/Makefile (revision 459199) @@ -1,58 +1,59 @@ # $FreeBSD$ # COMMENT = X11 drivers SUBDIR += xf86-input-acecad SUBDIR += xf86-input-egalax SUBDIR += xf86-input-elographics SUBDIR += xf86-input-evdev SUBDIR += xf86-input-fpit SUBDIR += xf86-input-hyperpen SUBDIR += xf86-input-joystick SUBDIR += xf86-input-keyboard SUBDIR += xf86-input-libinput SUBDIR += xf86-input-mouse SUBDIR += xf86-input-mutouch SUBDIR += xf86-input-penmount SUBDIR += xf86-input-synaptics SUBDIR += xf86-input-vmmouse SUBDIR += xf86-input-void SUBDIR += xf86-input-wacom SUBDIR += xf86-video-amdgpu SUBDIR += xf86-video-apm SUBDIR += xf86-video-ark SUBDIR += xf86-video-ast SUBDIR += xf86-video-ati SUBDIR += xf86-video-chips SUBDIR += xf86-video-cirrus SUBDIR += xf86-video-dummy SUBDIR += xf86-video-geode SUBDIR += xf86-video-glint SUBDIR += xf86-video-i128 SUBDIR += xf86-video-i740 SUBDIR += xf86-video-intel SUBDIR += xf86-video-mach64 SUBDIR += xf86-video-mga 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 SUBDIR += xf86-video-s3virge SUBDIR += xf86-video-savage SUBDIR += xf86-video-scfb SUBDIR += xf86-video-siliconmotion SUBDIR += xf86-video-sis SUBDIR += xf86-video-sunffb SUBDIR += xf86-video-tdfx SUBDIR += xf86-video-trident SUBDIR += xf86-video-tseng SUBDIR += xf86-video-vesa SUBDIR += xf86-video-vmware SUBDIR += xf86-video-voodoo SUBDIR += xorg-drivers SUBDIR += xorgxrdp .include Index: head/x11-drivers/xf86-video-qxl/Makefile =================================================================== --- head/x11-drivers/xf86-video-qxl/Makefile (nonexistent) +++ head/x11-drivers/xf86-video-qxl/Makefile (revision 459199) @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= xf86-video-qxl +DISTVERSION= 0.1.5 +CATEGORIES= x11-drivers + +MAINTAINER= olevole@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 Property changes on: head/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 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/x11-drivers/xf86-video-qxl/distinfo =================================================================== --- head/x11-drivers/xf86-video-qxl/distinfo (nonexistent) +++ head/x11-drivers/xf86-video-qxl/distinfo (revision 459199) @@ -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: head/x11-drivers/xf86-video-qxl/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property 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 Index: head/x11-drivers/xf86-video-qxl/files/patch-qxl_option_helpers.h =================================================================== --- head/x11-drivers/xf86-video-qxl/files/patch-qxl_option_helpers.h (nonexistent) +++ head/x11-drivers/xf86-video-qxl/files/patch-qxl_option_helpers.h (revision 459199) @@ -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 + #include + Property changes on: head/x11-drivers/xf86-video-qxl/files/patch-qxl_option_helpers.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property 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 Index: head/x11-drivers/xf86-video-qxl/files/patch-spiceqxl_audio.c =================================================================== --- head/x11-drivers/xf86-video-qxl/files/patch-spiceqxl_audio.c (nonexistent) +++ head/x11-drivers/xf86-video-qxl/files/patch-spiceqxl_audio.c (revision 459199) @@ -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: head/x11-drivers/xf86-video-qxl/files/patch-spiceqxl_audio.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property 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 Index: head/x11-drivers/xf86-video-qxl/pkg-descr =================================================================== --- head/x11-drivers/xf86-video-qxl/pkg-descr (nonexistent) +++ head/x11-drivers/xf86-video-qxl/pkg-descr (revision 459199) @@ -0,0 +1,3 @@ +This package contains the X.Org xf86-video-qxl driver. + +WWW: https://www.x.org/ Property changes on: head/x11-drivers/xf86-video-qxl/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property 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 Index: head/x11-drivers/xf86-video-qxl/pkg-plist =================================================================== --- head/x11-drivers/xf86-video-qxl/pkg-plist (nonexistent) +++ head/x11-drivers/xf86-video-qxl/pkg-plist (revision 459199) @@ -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 +@sample etc/X11/xorg.conf.d/spiceqxl.xorg.conf.example etc/X11/xorg.conf.d/spiceqxl.xorg.conf Property changes on: head/x11-drivers/xf86-video-qxl/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property 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