pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/libxshmfence Import libxshmfence-1.2 from pkgsrc-w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/02cd1c4280cd
branches:  trunk
changeset: 650963:02cd1c4280cd
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Apr 29 14:31:42 2015 +0000

description:
Import libxshmfence-1.2 from pkgsrc-wip as x11/libxshmfence.
(needed to build DRI3 support in MesaLib and modular-xorg-server on Linux)

This library offers a CPU-based synchronization primitive compatible
with the X SyncFence objects that can be shared between processes
using file descriptor passing.

There are three underlying implementations:

 1) On Linux, the library uses futexes

 2) On FreeBSD, the library uses umtx

 3) On other systems, the library uses posix mutexes and condition
    variables.

diffstat:

 x11/libxshmfence/DESCR         |  12 ++++++++++++
 x11/libxshmfence/Makefile      |  26 ++++++++++++++++++++++++++
 x11/libxshmfence/PLIST         |   4 ++++
 x11/libxshmfence/buildlink3.mk |  14 ++++++++++++++
 x11/libxshmfence/distinfo      |   5 +++++
 5 files changed, 61 insertions(+), 0 deletions(-)

diffs (81 lines):

diff -r c670fe322747 -r 02cd1c4280cd x11/libxshmfence/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libxshmfence/DESCR    Wed Apr 29 14:31:42 2015 +0000
@@ -0,0 +1,12 @@
+This library offers a CPU-based synchronization primitive compatible
+with the X SyncFence objects that can be shared between processes
+using file descriptor passing.
+
+There are three underlying implementations:
+
+ 1) On Linux, the library uses futexes
+
+ 2) On FreeBSD, the library uses umtx
+
+ 3) On other systems, the library uses posix mutexes and condition
+    variables.
diff -r c670fe322747 -r 02cd1c4280cd x11/libxshmfence/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libxshmfence/Makefile Wed Apr 29 14:31:42 2015 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2015/04/29 14:31:42 tnn Exp $
+
+DISTNAME=      libxshmfence-1.2
+CATEGORIES=    x11
+MASTER_SITES=  http://xorg.freedesktop.org/archive/individual/lib/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://xorg.freedesktop.org/
+COMMENT=       Shared memory 'SyncFence' synchronization primitive
+LICENSE=       mit
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config
+
+PKGCONFIG_OVERRIDE+=   xshmfence.pc.in
+
+# Needs additional pthread functions or alternative synchronization
+# implementation on NetBSD. See PR lib/49529.
+# (On FreeBSD, umtx is used.)
+
+ONLY_FOR_PLATFORM+=    Linux-*-* FreeBSD-*-*
+
+.include "../../x11/xproto/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c670fe322747 -r 02cd1c4280cd x11/libxshmfence/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libxshmfence/PLIST    Wed Apr 29 14:31:42 2015 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2015/04/29 14:31:42 tnn Exp $
+include/X11/xshmfence.h
+lib/libxshmfence.la
+lib/pkgconfig/xshmfence.pc
diff -r c670fe322747 -r 02cd1c4280cd x11/libxshmfence/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libxshmfence/buildlink3.mk    Wed Apr 29 14:31:42 2015 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2015/04/29 14:31:42 tnn Exp $
+
+BUILDLINK_TREE+=       libxshmfence
+
+.if !defined(LIBXSHMFENCE_BUILDLINK3_MK)
+LIBXSHMFENCE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libxshmfence+=   libxshmfence>=1.2
+BUILDLINK_PKGSRCDIR.libxshmfence?=     ../../x11/libxshmfence
+
+#.include "../../x11/xproto/buildlink3.mk"
+.endif # LIBXSHMFENCE_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libxshmfence
diff -r c670fe322747 -r 02cd1c4280cd x11/libxshmfence/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libxshmfence/distinfo Wed Apr 29 14:31:42 2015 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/04/29 14:31:42 tnn Exp $
+
+SHA1 (libxshmfence-1.2.tar.bz2) = a2ebe90e5595afca4db93a4359732af43b2b8c69
+RMD160 (libxshmfence-1.2.tar.bz2) = fe4b42d4ee01a993cd653d8f10334069bcc4791c
+Size (libxshmfence-1.2.tar.bz2) = 267170 bytes



Home | Main Index | Thread Index | Old Index