commit dri3proto for openSUSE:Factory

2018-07-13 Thread root
Hello community,

here is the log from the commit of package dri3proto for openSUSE:Factory 
checked in at 2018-07-13 10:12:09

Comparing /work/SRC/openSUSE:Factory/dri3proto (Old)
 and  /work/SRC/openSUSE:Factory/.dri3proto.new (New)


Package is "dri3proto"

Fri Jul 13 10:12:09 2018 rev:4 rq:620944 version:1.2

Changes:

--- /work/SRC/openSUSE:Factory/dri3proto/dri3proto.changes  2014-09-23 
13:45:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.dri3proto.new/dri3proto.changes 2018-07-13 
10:12:20.917815983 +0200
@@ -1,0 +2,7 @@
+Tue May 22 19:20:45 UTC 2018 - sndir...@suse.com
+
+- n_dri3proto-1.2-2018.4.patch
+  * update to version 1.2 (patch generated from 
+xorgproto-2018.4 sources)
+
+---

New:

  n_dri3proto-1.2-2018.4.patch



Other differences:
--
++ dri3proto.spec ++
--- /var/tmp/diff_new_pack.1UeRjp/_old  2018-07-13 10:12:24.601820296 +0200
+++ /var/tmp/diff_new_pack.1UeRjp/_new  2018-07-13 10:12:24.601820296 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package dri3proto
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   dri3proto
-Version:1.0
+Version:1.2
 Release:0
 Url:http://xorg.freedesktop.org/
 Summary:The X11 Protocol: Direct Rendering Infrastructure 3 extension
@@ -26,7 +26,8 @@
 
 #Git-Clone:git://anongit.freedesktop.org/xorg/proto/dri3proto
 #Git-Web:  http://cgit.freedesktop.org/xorg/proto/dri3proto/
-Source: 
http://xorg.freedesktop.org/releases/individual/proto/%name-%version.tar.bz2
+Source: 
http://xorg.freedesktop.org/releases/individual/proto/%name-1.0.tar.bz2
+Patch0: n_dri3proto-1.2-2018.4.patch
 #BuildRequires:  autoconf >= 2.60
 #BuildRequires:  automake
 #BuildRequires:  pkgconfig(xorg-macros) >= 1.3
@@ -63,7 +64,8 @@
 which can be used to serialize access to shared render buffers.
 
 %prep
-%setup -q
+%setup -q -n dri3proto-1.0
+%patch0 -p1
 
 %build
 #autoreconf -fi

++ n_dri3proto-1.2-2018.4.patch ++
diff -u -r dri3proto-1.0/dri3proto.h dri3proto-1.2/dri3proto.h
--- dri3proto-1.0/dri3proto.h   2013-10-09 00:01:45.0 +0200
+++ dri3proto-1.2/dri3proto.h   2018-05-22 21:16:48.992928000 +0200
@@ -25,7 +25,7 @@
 
 #define DRI3_NAME  "DRI3"
 #define DRI3_MAJOR 1
-#define DRI3_MINOR 0
+#define DRI3_MINOR 2
 
 #define DRI3NumberErrors   0
 #define DRI3NumberEvents   0
@@ -37,7 +37,12 @@
 #define X_DRI3FenceFromFD   4
 #define X_DRI3FDFromFence   5
 
-#define DRI3NumberRequests 6
+/* v1.2 */
+#define xDRI3GetSupportedModifiers  6
+#define xDRI3PixmapFromBuffers  7
+#define xDRI3BuffersFromPixmap  8
+
+#define DRI3NumberRequests 9
 
 typedef struct {
 CARD8   reqType;
@@ -164,4 +169,81 @@
 
 #define sz_xDRI3FDFromFenceReply   32
 
+/* v1.2 */
+
+typedef struct {
+CARD8   reqType;
+CARD8   dri3ReqType;
+CARD16  length B16;
+CARD32  window B32;
+CARD8   depth;
+CARD8   bpp;
+CARD16  pad10 B16;
+} xDRI3GetSupportedModifiersReq;
+#define sz_xDRI3GetSupportedModifiersReq 12
+
+typedef struct {
+BYTEtype;   /* X_Reply */
+CARD8   pad1;
+CARD16  sequenceNumber B16;
+CARD32  length B32;
+CARD32  numWindowModifiers B32;
+CARD32  numScreenModifiers B32;
+CARD32  pad16 B32;
+CARD32  pad20 B32;
+CARD32  pad24 B32;
+CARD32  pad28 B32;
+} xDRI3GetSupportedModifiersReply;
+#define sz_xDRI3GetSupportedModifiersReply   32
+
+typedef struct {
+CARD8   reqType;
+CARD8   dri3ReqType;
+CARD16  length B16;
+CARD32  pixmap B32;
+CARD32  window B32;
+CARD8   num_buffers; /* Number of file descriptors passed */
+CARD8   pad13;
+CARD16  pad14 B16;
+CARD16  width B16;
+CARD16  height B16;
+CARD32  stride0 B32;
+CARD32  offset0 B32;
+CARD32  stride1 B32;
+CARD32  offset1 B32;
+CARD32  stride2 B32;
+CARD32  offset2 B32;
+CARD32  stride3 B32;
+CARD32  offset3 B32;
+CARD8   depth;
+CARD8   bpp;
+CARD16  pad54 B16;
+CARD64  modifier;
+} xDRI3PixmapFromBuffersReq;
+#define sz_xDRI3PixmapFromBuffersReq 64
+
+typedef struct {
+CARD8   reqType;
+CARD8   dri3ReqType;
+CARD16  length B16;
+CARD32  pixmap B32;
+} xDRI3BuffersFromPixmapReq;
+#define sz_xDRI3BuffersFromPixmapReq 8
+

commit dri3proto for openSUSE:Factory

2014-09-23 Thread h_root
Hello community,

here is the log from the commit of package dri3proto for openSUSE:Factory 
checked in at 2014-09-23 13:45:45

Comparing /work/SRC/openSUSE:Factory/dri3proto (Old)
 and  /work/SRC/openSUSE:Factory/.dri3proto.new (New)


Package is dri3proto

Changes:

--- /work/SRC/openSUSE:Factory/dri3proto/dri3proto.changes  2014-05-05 
21:10:01.0 +0200
+++ /work/SRC/openSUSE:Factory/.dri3proto.new/dri3proto.changes 2014-09-23 
13:45:47.0 +0200
@@ -1,0 +2,8 @@
+Thu Sep 18 11:33:19 UTC 2014 - jeng...@inai.de
+
+- Update description and other metadata
+- Use full %configure for build, and remove CFLAGS (nothing is
+  compiled)
+- Make file list more compact
+
+---



Other differences:
--
++ dri3proto.spec ++
--- /var/tmp/diff_new_pack.HHiaND/_old  2014-09-23 13:45:48.0 +0200
+++ /var/tmp/diff_new_pack.HHiaND/_new  2014-09-23 13:45:48.0 +0200
@@ -15,53 +15,68 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   dri3proto
 Version:1.0
-BuildRequires:  pkg-config
+Release:0
+Url:http://xorg.freedesktop.org/
+Summary:The X11 Protocol: Direct Rendering Infrastructure 3 extension
+License:MIT
+Group:  Development/Libraries/X11
 
+#Git-Clone:git://anongit.freedesktop.org/xorg/proto/dri3proto
+#Git-Web:  http://cgit.freedesktop.org/xorg/proto/dri3proto/
+Source: 
http://xorg.freedesktop.org/releases/individual/proto/%name-%version.tar.bz2
 #BuildRequires:  autoconf = 2.60
 #BuildRequires:  automake
-#BuildRequires:  libtool
-
-Url:http://xorg.freedesktop.org/
-Release:0
+#BuildRequires:  pkgconfig(xorg-macros) = 1.3
+BuildRequires:  pkg-config
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Summary:The X Protocol
-License:MIT
-Group:  Development/Libraries/X11 
-#Source URL:http://xorg.freedesktop.org/releases/individual/proto/
-Source: %{name}-%{version}.tar.bz2
 
 %description
-The DRI3 Protocol Headers for X development
+The DRI3 protocol headers for X11 development.
+The DRI3 extension provides mechanisms to translate between direct
+rendered buffers and X pixmaps. When combined with the Present
+extension, a complete direct rendering solution for OpenGL is
+provided.
 
-%package -n %{name}-devel
-Summary:The X Protocol
+%package devel
+Summary:The X11 Protocol: Direct Rendering Infrastructure 3 extension
 Group:  Development/Libraries/X11
 
 # Added within the 13.2 Development Cycle
-Provides:   xorg-x11-proto-devel://usr/%{_lib}/pkgconfig/dri3proto.pc
+Provides:   xorg-x11-proto-devel:%_libdir/pkgconfig/dri3proto.pc
 
-%description -n %{name}-devel
-The DRI3 Protocol Headers for X development
+%description devel
+The DRI3 protocol headers for X11 development.
+The DRI3 extension provides mechanisms to translate between direct
+rendered buffers and X pixmaps. When combined with the Present
+extension, a complete direct rendering solution for OpenGL is
+provided.
+
+The direct rendered buffers are passed across the protocol via
+standard POSIX file descriptor passing mechanisms. On Linux, these
+buffers are DMA-BUF objects.
+
+DRI3 also includes a mechanism to translate between Linux Futexes and
+X Sync extension fences. This provides a synchronization mechanism
+which can be used to serialize access to shared render buffers.
 
 %prep
 %setup -q
 
 %build
 #autoreconf -fi
-./configure CFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing \
-  --prefix=/usr --libdir=%{_libdir}
+%configure
 make %{?_smp_mflags}
 
 %install
 make install DESTDIR=%buildroot
 
-%files -n %{name}-devel
+%files devel
 %defattr(-,root,root)
-%doc /usr/share/doc/*
-%dir /usr/include/X11/extensions
-/usr/include/X11/extensions/*.h
-/usr/%{_lib}/pkgconfig/*.pc
+%doc %_datadir/doc/*
+%_includedir/X11/extensions/
+%_libdir/pkgconfig/*.pc
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org