[Midnightbsd-cvs] mports [19104] trunk/x11: add missing ports

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat May 23 22:59:33 EDT 2015


Revision: 19104
          http://svnweb.midnightbsd.org/mports/?rev=19104
Author:   laffer1
Date:     2015-05-23 22:59:33 -0400 (Sat, 23 May 2015)
Log Message:
-----------
add missing ports

Modified Paths:
--------------
    trunk/x11/Makefile

Added Paths:
-----------
    trunk/x11/libxshmfence/
    trunk/x11/libxshmfence/Makefile
    trunk/x11/libxshmfence/distinfo
    trunk/x11/libxshmfence/files/
    trunk/x11/libxshmfence/files/patch-config.h.in
    trunk/x11/libxshmfence/files/patch-configure
    trunk/x11/libxshmfence/files/patch-src__xshmfence_alloc.c
    trunk/x11/libxshmfence/files/patch-src__xshmfence_futex.h
    trunk/x11/libxshmfence/files/patch-src__xshmfenceint.h
    trunk/x11/libxshmfence/pkg-descr
    trunk/x11/libxshmfence/pkg-plist
    trunk/x11/presentproto/
    trunk/x11/presentproto/Makefile
    trunk/x11/presentproto/distinfo
    trunk/x11/presentproto/pkg-descr
    trunk/x11/presentproto/pkg-plist

Modified: trunk/x11/Makefile
===================================================================
--- trunk/x11/Makefile	2015-05-24 02:55:23 UTC (rev 19103)
+++ trunk/x11/Makefile	2015-05-24 02:59:33 UTC (rev 19104)
@@ -81,6 +81,7 @@
 SUBDIR += libxkbfile
 SUBDIR += libxkbui
 SUBDIR += libxklavier
+SUBDIR += libxshmfence
 SUBDIR += linux-f10-xorg-libs
 SUBDIR += listres
 SUBDIR += luit
@@ -90,6 +91,7 @@
 SUBDIR += nvidia-settings
 SUBDIR += nvidia-xconfig
 SUBDIR += pixman
+SUBDIR += presentproto
 SUBDIR += printproto
 SUBDIR += qimageblitz
 SUBDIR += qt4-graphicssystems-opengl

Added: trunk/x11/libxshmfence/Makefile
===================================================================
--- trunk/x11/libxshmfence/Makefile	                        (rev 0)
+++ trunk/x11/libxshmfence/Makefile	2015-05-24 02:59:33 UTC (rev 19104)
@@ -0,0 +1,19 @@
+# $MidnightBSD$
+# $FreeBSD: head/x11/libxshmfence/Makefile 384234 2015-04-18 15:34:36Z kwm $
+
+PORTNAME=	libxshmfence
+PORTVERSION=	1.2
+CATEGORIES=	x11
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Shared memory 'SyncFence' synchronization primitive
+
+LICENSE=	mit
+
+USE_XORG=	xproto
+XORG_CAT=	lib
+
+test: build
+	@cd ${WRKSRC} && ${MAKE} check
+
+.include <bsd.port.mk>


Property changes on: trunk/x11/libxshmfence/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/libxshmfence/distinfo
===================================================================
--- trunk/x11/libxshmfence/distinfo	                        (rev 0)
+++ trunk/x11/libxshmfence/distinfo	2015-05-24 02:59:33 UTC (rev 19104)
@@ -0,0 +1,2 @@
+SHA256 (xorg/lib/libxshmfence-1.2.tar.bz2) = d21b2d1fd78c1efbe1f2c16dae1cb23f8fd231dcf891465b8debe636a9054b0c
+SIZE (xorg/lib/libxshmfence-1.2.tar.bz2) = 267170


Property changes on: trunk/x11/libxshmfence/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/libxshmfence/files/patch-config.h.in
===================================================================
--- trunk/x11/libxshmfence/files/patch-config.h.in	                        (rev 0)
+++ trunk/x11/libxshmfence/files/patch-config.h.in	2015-05-24 02:59:33 UTC (rev 19104)
@@ -0,0 +1,12 @@
+--- config.h.in.orig	2015-03-04 15:18:49 UTC
++++ config.h.in
+@@ -22,6 +22,9 @@
+ /* Define to 1 if you have the <memory.h> header file. */
+ #undef HAVE_MEMORY_H
+ 
++/* Use mkostemp(3) */
++#undef HAVE_MKOSTEMP
++
+ /* Use pthread primitives */
+ #undef HAVE_PTHREAD
+ 


Property changes on: trunk/x11/libxshmfence/files/patch-config.h.in
___________________________________________________________________
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/libxshmfence/files/patch-configure
===================================================================
--- trunk/x11/libxshmfence/files/patch-configure	                        (rev 0)
+++ trunk/x11/libxshmfence/files/patch-configure	2015-05-24 02:59:33 UTC (rev 19104)
@@ -0,0 +1,17 @@
+--- configure.orig	2015-03-04 15:22:23 UTC
++++ configure
+@@ -18104,6 +18104,14 @@ else
+ fi
+ 
+ 
++ac_fn_c_check_func "$LINENO" "mkostemp" "ac_cv_func_mkostemp"
++if test "x$ac_cv_func_mkostemp" = xyes; then :
++
++$as_echo "#define HAVE_MKOSTEMP 1" >>confdefs.h
++
++fi
++
++
+ 
+ pkg_failed=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPROTO" >&5


Property changes on: trunk/x11/libxshmfence/files/patch-configure
___________________________________________________________________
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/libxshmfence/files/patch-src__xshmfence_alloc.c
===================================================================
--- trunk/x11/libxshmfence/files/patch-src__xshmfence_alloc.c	                        (rev 0)
+++ trunk/x11/libxshmfence/files/patch-src__xshmfence_alloc.c	2015-05-24 02:59:33 UTC (rev 19104)
@@ -0,0 +1,24 @@
+--- src/xshmfence_alloc.c.orig	2015-03-04 15:28:23 UTC
++++ src/xshmfence_alloc.c
+@@ -67,15 +67,19 @@ int
+ xshmfence_alloc_shm(void)
+ {
+ 	char	template[] = SHMDIR "/shmfd-XXXXXX";
+-	int	fd;
++	int	fd = -1;
+ 
+ #if HAVE_MEMFD_CREATE
+ 	fd = memfd_create("xshmfence", MFD_CLOEXEC|MFD_ALLOW_SEALING);
+ 	if (fd < 0)
+ #endif
+ 	{
+-#ifdef O_TMPFILE
++#if defined(O_CLOEXEC)
++#if defined(HAVE_MKOSTEMP)
++		fd = mkostemp(template, O_CLOEXEC);
++#elif defined(O_TMPFILE)
+ 		fd = open(SHMDIR, O_TMPFILE|O_RDWR|O_CLOEXEC|O_EXCL, 0666);
++#endif
+ 		if (fd < 0)
+ #endif
+ 		{


Property changes on: trunk/x11/libxshmfence/files/patch-src__xshmfence_alloc.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/libxshmfence/files/patch-src__xshmfence_futex.h
===================================================================
--- trunk/x11/libxshmfence/files/patch-src__xshmfence_futex.h	                        (rev 0)
+++ trunk/x11/libxshmfence/files/patch-src__xshmfence_futex.h	2015-05-24 02:59:33 UTC (rev 19104)
@@ -0,0 +1,10 @@
+--- src/xshmfence_futex.h.orig	2014-06-17 16:46:42.000000000 -0400
++++ src/xshmfence_futex.h	2015-04-18 12:16:21.953572000 -0400
+@@ -28,6 +28,7 @@
+ 
+ #ifdef HAVE_UMTX
+ 
++#include <sys/limits.h>
+ #include <sys/types.h>
+ #include <sys/umtx.h>
+ 


Property changes on: trunk/x11/libxshmfence/files/patch-src__xshmfence_futex.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/libxshmfence/files/patch-src__xshmfenceint.h
===================================================================
--- trunk/x11/libxshmfence/files/patch-src__xshmfenceint.h	                        (rev 0)
+++ trunk/x11/libxshmfence/files/patch-src__xshmfenceint.h	2015-05-24 02:59:33 UTC (rev 19104)
@@ -0,0 +1,10 @@
+--- src/xshmfenceint.h.orig	2015-03-04 15:38:56 UTC
++++ src/xshmfenceint.h
+@@ -23,6 +23,7 @@
+ #ifndef _XSHMFENCEINT_H_
+ #define _XSHMFENCEINT_H_
+ 
++#include <fcntl.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <sys/mman.h>


Property changes on: trunk/x11/libxshmfence/files/patch-src__xshmfenceint.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/libxshmfence/pkg-descr
===================================================================
--- trunk/x11/libxshmfence/pkg-descr	                        (rev 0)
+++ trunk/x11/libxshmfence/pkg-descr	2015-05-24 02:59:33 UTC (rev 19104)
@@ -0,0 +1,5 @@
+This library offers a CPU-based synchronization primitive compatible
+with the X SyncFence objects that can be shared between processes
+using file descriptor passing.
+
+WWW: http://www.freedesktop.org/Software/xlibs


Property changes on: trunk/x11/libxshmfence/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/libxshmfence/pkg-plist
===================================================================
--- trunk/x11/libxshmfence/pkg-plist	                        (rev 0)
+++ trunk/x11/libxshmfence/pkg-plist	2015-05-24 02:59:33 UTC (rev 19104)
@@ -0,0 +1,6 @@
+include/X11/xshmfence.h
+lib/libxshmfence.a
+lib/libxshmfence.so
+lib/libxshmfence.so.1
+lib/libxshmfence.so.1.0.0
+libdata/pkgconfig/xshmfence.pc


Property changes on: trunk/x11/libxshmfence/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
Added: trunk/x11/presentproto/Makefile
===================================================================
--- trunk/x11/presentproto/Makefile	                        (rev 0)
+++ trunk/x11/presentproto/Makefile	2015-05-24 02:59:33 UTC (rev 19104)
@@ -0,0 +1,14 @@
+# $MidnightBSD$
+
+PORTNAME=	presentproto
+PORTVERSION=	1.0
+CATEGORIES=	x11
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Present protocol specification
+
+LICENSE=	mit
+
+XORG_CAT=	proto
+
+.include <bsd.port.mk>


Property changes on: trunk/x11/presentproto/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/presentproto/distinfo
===================================================================
--- trunk/x11/presentproto/distinfo	                        (rev 0)
+++ trunk/x11/presentproto/distinfo	2015-05-24 02:59:33 UTC (rev 19104)
@@ -0,0 +1,2 @@
+SHA256 (xorg/proto/presentproto-1.0.tar.bz2) = 812c7d48721f909a0f7a2cb1e91f6eead76159a36c4712f4579ca587552839ce
+SIZE (xorg/proto/presentproto-1.0.tar.bz2) = 107998


Property changes on: trunk/x11/presentproto/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/presentproto/pkg-descr
===================================================================
--- trunk/x11/presentproto/pkg-descr	                        (rev 0)
+++ trunk/x11/presentproto/pkg-descr	2015-05-24 02:59:33 UTC (rev 19104)
@@ -0,0 +1 @@
+This package contains X.Org Present protocol specification.


Property changes on: trunk/x11/presentproto/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/presentproto/pkg-plist
===================================================================
--- trunk/x11/presentproto/pkg-plist	                        (rev 0)
+++ trunk/x11/presentproto/pkg-plist	2015-05-24 02:59:33 UTC (rev 19104)
@@ -0,0 +1,4 @@
+include/X11/extensions/presentproto.h
+include/X11/extensions/presenttokens.h
+libdata/pkgconfig/presentproto.pc
+share/doc/presentproto/presentproto.txt


Property changes on: trunk/x11/presentproto/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