From ea17a760dfebdffed3ca51a2e46e8449d03285d3d7e6b93663b609cd7aadc9b3 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 13 Feb 2012 10:06:06 +0000 Subject: [PATCH] Accepting request 104202 from home:jengelh:branches:X11:XOrg Replaces xorg-x11-libxcb. I'd also suggest to use in the oldpaths (like xorg-x11-libxcb) until their removal. That way you don't need the %dummy thing and going forth and back with it. OBS-URL: https://build.opensuse.org/request/show/104202 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libxcb?expand=0&rev=1 --- .gitattributes | 23 ++ .gitignore | 1 + baselibs.conf | 50 +++ bug-262309_xcb-xauthlocalhostname.diff | 27 ++ libxcb-1.8.tar.bz2 | 3 + libxcb.changes | 214 +++++++++++ libxcb.spec | 486 +++++++++++++++++++++++++ 7 files changed, 804 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 bug-262309_xcb-xauthlocalhostname.diff create mode 100644 libxcb-1.8.tar.bz2 create mode 100644 libxcb.changes create mode 100644 libxcb.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..98e399d --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,50 @@ +libxcb1 + provides "xorg-x11-libxcb- = 7.6_" + obsoletes "xorg-x11-libxcb- < 7.6_" +libxcb-composite0 +libxcb-damage0 +libxcb-dpms0 +libxcb-dri2-0 +libxcb-glx0 +libxcb-randr0 +libxcb-record0 +libxcb-render0 +libxcb-res0 +libxcb-screensaver0 +libxcb-shape0 +libxcb-shm0 +libxcb-sync0 +libxcb-xevie0 +libxcb-xf86dri0 +libxcb-xfixes0 +libxcb-xinerama0 +libxcb-xprint0 +libxcb-xtest0 +libxcb-xv0 +libxcb-xvmc0 +libxcb-devel + requires -libxcb- + requires "libxcb1- = " + requires "libxcb-composite0- = " + requires "libxcb-damage0- = " + requires "libxcb-dpms0- = " + requires "libxcb-dri2-0- = " + requires "libxcb-glx0- = " + requires "libxcb-randr0- = " + requires "libxcb-record0- = " + requires "libxcb-render0- = " + requires "libxcb-res0- = " + requires "libxcb-screensaver0- = " + requires "libxcb-shape0- = " + requires "libxcb-shm0- = " + requires "libxcb-sync0- = " + requires "libxcb-xevie0- = " + requires "libxcb-xf86dri0- = " + requires "libxcb-xfixes0- = " + requires "libxcb-xinerama0- = " + requires "libxcb-xprint0- = " + requires "libxcb-xtest0- = " + requires "libxcb-xv0- = " + requires "libxcb-xvmc0- = " + provides "xorg-x11-libxcb-devel- = 7.6_" + obsoletes "xorg-x11-libxcb-devel- < 7.6_" diff --git a/bug-262309_xcb-xauthlocalhostname.diff b/bug-262309_xcb-xauthlocalhostname.diff new file mode 100644 index 0000000..7182d05 --- /dev/null +++ b/bug-262309_xcb-xauthlocalhostname.diff @@ -0,0 +1,27 @@ +--- src/xcb_auth.c.orig 2009-05-29 17:48:24.000000000 +0200 ++++ src/xcb_auth.c 2009-05-29 17:56:01.000000000 +0200 +@@ -100,2 +100,3 @@ static Xauth *get_authptr(struct sockadd + int dispbuflen; ++ Xauth *authptr = NULL; + +@@ -143,6 +143,16 @@ static Xauth *get_authptr(struct sockadd + +- return XauGetBestAuthByAddr (family, +- (unsigned short) addrlen, addr, +- (unsigned short) dispbuflen, dispbuf, +- N_AUTH_PROTOS, authnames, authnameslen); ++ authptr = XauGetBestAuthByAddr (family, ++ (unsigned short) addrlen, addr, ++ (unsigned short) dispbuflen, dispbuf, ++ N_AUTH_PROTOS, authnames, authnameslen); ++ // && !phostname ++ if ((!authptr || !authptr->data_length) && family == FamilyLocal) { ++ if ( (addr = getenv("XAUTHLOCALHOSTNAME")) ) { ++ authptr = XauGetBestAuthByAddr (family, ++ (unsigned short) strlen(addr), addr, ++ (unsigned short) dispbuflen, dispbuf, ++ N_AUTH_PROTOS, authnames, authnameslen); ++ } ++ } ++ return authptr; + } diff --git a/libxcb-1.8.tar.bz2 b/libxcb-1.8.tar.bz2 new file mode 100644 index 0000000..0a1e9de --- /dev/null +++ b/libxcb-1.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:25c3600bec104c5aa6e9f559bfe0011b0e223bde726b849b58f758c2d4e6fc5e +size 372730 diff --git a/libxcb.changes b/libxcb.changes new file mode 100644 index 0000000..35c219c --- /dev/null +++ b/libxcb.changes @@ -0,0 +1,214 @@ +------------------------------------------------------------------- +Sun Feb 12 02:53:20 UTC 2012 - jengelh@medozas.de + +- Rename xorg-x11-libxcb to libxcb and utilize shlib policy + (The high amount of subpackages is because libxcb essentially + substitutes the entire libX* suite) + +------------------------------------------------------------------- +Mon Jan 16 20:40:48 UTC 2012 - vljn@ovi.com + +- update libxcb to 1.8 + * Needed for Mesa to create GL3 context + +------------------------------------------------------------------- +Sun Nov 20 06:49:34 UTC 2011 - coolo@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Tue Dec 21 02:49:39 UTC 2010 - sndirsch@novell.com + +- bumped version number to 7.6_1.7 + +------------------------------------------------------------------- +Sat Sep 4 19:03:26 UTC 2010 - sndirsch@novell.com + +- update to release 1.7 +- bumped version number to 7.5_1.7 +- fixed Summary/Group entries in -devel package + +------------------------------------------------------------------- +Sat Jul 3 07:16:57 UTC 2010 - jengelh@medozas.de + +- use gcc instead of ld, so that -m32/-m64 is passed to the linker + +------------------------------------------------------------------- +Fri Apr 2 18:09:02 CEST 2010 - sndirsch@suse.de + +- bumped version number to 7.5 + +------------------------------------------------------------------- +Mon Dec 14 18:42:16 CET 2009 - jengelh@medozas.de + +- add baselibs.conf as a source + +------------------------------------------------------------------- +Fri Dec 4 22:15:53 CET 2009 - sndirsch@suse.de + +- libxcb 1.5 + +------------------------------------------------------------------- +Tue Dec 1 21:31:02 CET 2009 - sndirsch@suse.de + +- libxcb-1.4_2009-10-15_e82c34c.diff + * update to git commit e82c34c (2009-10-15); required for XvMC + support in xf86-video-intel 2.10 RC1 + +------------------------------------------------------------------- +Thu Jul 16 07:43:30 CEST 2009 - sndirsch@suse.de + +- libxcb 1.4 + * Add majorCode, minorCode and resourceID fields to X generic + error + * Fix precedence bug: wrong length for big-requests preceded by + sync + * Fix libxcb-randr version info + +------------------------------------------------------------------- +Fri May 29 17:31:34 CEST 2009 - sndirsch@suse.de + +- libxcb 1.3 + * various issues fixed +- obsoletes commit-beccb0b.diff + +------------------------------------------------------------------- +Sat May 16 09:49:06 CEST 2009 - sndirsch@suse.de + +- commit-beccb0b.diff + * kludgily hand-merged xid fixes (bnc #423740, bfo #20254) + +------------------------------------------------------------------- +Thu Apr 30 21:53:45 CEST 2009 - eich@suse.de + +- pack .la files in devel package + +------------------------------------------------------------------- +Thu Apr 30 18:21:11 CEST 2009 - sndirsch@suse.de + +- reenabled build of static libs on openSUSE <= 11.1 + +------------------------------------------------------------------- +Tue Apr 21 20:36:43 CEST 2009 - crrodriguez@suse.de + +- remove static libraries and "la" files + +------------------------------------------------------------------- +Mon Mar 2 21:13:44 CET 2009 - sndirsch@suse.de + +- create fake libxcb-xlib.so.0 instead of faking the Provides for + it + +------------------------------------------------------------------- +Mon Mar 2 17:58:55 CET 2009 - ro@suse.de + +- extend last fix to baselibs.conf + +------------------------------------------------------------------- +Mon Mar 2 11:45:16 CET 2009 - sndirsch@suse.de + +- fake provide libxcb-xlib.so.0 + +------------------------------------------------------------------- +Sun Mar 1 19:07:51 CET 2009 - sndirsch@suse.de + +- libxcb 1.2 +- obsoletes always-sloppy.diff + +------------------------------------------------------------------- +Thu Sep 11 14:22:34 CEST 2008 - sndirsch@suse.de + +- bumped release number to 7.4 + +------------------------------------------------------------------- +Mon Jul 21 14:40:13 CEST 2008 - sndirsch@suse.de + +- back to libxcb 1.1, since libxcb 1.2-pre requires python for + building, which requires xorg-x11-libxcb for building + ==> autobuild loop + + +------------------------------------------------------------------- +Fri Jul 18 17:08:20 CEST 2008 - sndirsch@suse.de + +- libxcb 1.1.90.1 + +------------------------------------------------------------------- +Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de + +- added baselibs.conf file to build xxbit packages + for multilib support + +------------------------------------------------------------------- +Fri Feb 29 16:23:28 CET 2008 - dmueller@suse.de + +- add missing %postun ldconfig script + +------------------------------------------------------------------- +Mon Nov 5 14:58:18 CET 2007 - sndirsch@suse.de + +- always-sloppy.diff + * This patch prints out warnings only, the assert() is completely + gone now. As programs with this error typically trigger it + several times, each warning is printed only once. (Bug #251087) + +------------------------------------------------------------------- +Mon Nov 5 09:40:14 CET 2007 - sndirsch@suse.de + +- xcb-proto 1.1 + * In the eleven months since XCB's 1.0 release, a few portability + and correctness bugs have been found in libxcb. This release + fixes those, adds nicer handling of Xlib locking bugs, updates + pure-XCB extension support for RandR to version 1.2 and DAMAGE + to version 1.1, and enhances the libxcb documentation. +- obsoletes sloppy-lock.diff, xcb_parse_display.diff + +------------------------------------------------------------------- +Sat Sep 29 12:24:12 CEST 2007 - sndirsch@suse.de + +- bumped version to 7.3 + +------------------------------------------------------------------- +Tue Jul 3 17:40:34 CEST 2007 - sndirsch@suse.de + +- xcb_parse_display.diff: + * "Attempt to include more of the original display parsing. The + fix only attempts to address the unix: and [protocol/][host]: + issue. It doesn't even make the attempt to mimic the behavior + of the old code in libX11/src/ConnDis.c:_X11TransConnectDisplay(). + The patch is yet untested, it however does compile." + (Bug #289007) + * "Discovered two errors in my fix. One isn't likely to concern + us as it's related to DECnet transport, the other one is real." + (Bug #289007) + * "This patch should fix the problem with artefacts from Bug + #257830 which still had been in the tree." (Bug #289007) + * "fix segfault" (Bug #289007) + * "fix condition" (Bug #289007) + +------------------------------------------------------------------- +Tue May 29 15:21:21 CEST 2007 - sndirsch@suse.de + +- added "%post -p /sbin/ldconfig" to specfile to make rpmlint happy + +------------------------------------------------------------------- +Fri Apr 27 11:16:25 CEST 2007 - sndirsch@suse.de + +- bug-262309_xcb-xauthlocalhostname.diff: + * add code, which checks for XAUTHLOCALHOSTNAME now also for + libxcb, since Xtranssock.c has been replaced by XCB as + transport layer (Bug #262309) + +------------------------------------------------------------------- +Sun Mar 4 13:41:15 CET 2007 - sndirsch@suse.de + +- sloppy-lock.diff: + * workaround for "xcb_xlib.c:50: xcb_xlib_unlock: Assertion + `c->xlib.lock' failed"; set LIBXCB_ALLOW_SLOPPY_LOCK to enable + it (Bug #251087) + +------------------------------------------------------------------- +Sun Dec 3 15:40:06 CET 2006 - sndirsch@suse.de + +- created package + diff --git a/libxcb.spec b/libxcb.spec new file mode 100644 index 0000000..65ed91b --- /dev/null +++ b/libxcb.spec @@ -0,0 +1,486 @@ +# +# spec file for package libxcb +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# +Name: libxcb +%define lname libxcb1 +Version: 1.8 +Release: 0 +Summary: X11 core protocol C library +License: MIT +Group: Development/Libraries/C and C++ +URL: http://xcb.freedesktop.org/ + +#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libxcb +#Git-Web: http://cgit.freedesktop.org/xorg/lib/libxcb/ +Source: %name-%version.tar.bz2 +Patch1: bug-262309_xcb-xauthlocalhostname.diff + +BuildRoot: %_tmppath/%name-%version-build +#git#BuildRequires: autoconf >= 2.57, automake, libtool +BuildRequires: pkgconfig, python-base >= 2.6, python-xml +BuildRequires: pkgconfig(check) >= 0.9.4 +BuildRequires: pkgconfig(xcb-proto) >= 1.6 +BuildRequires: pkgconfig(pthread-stubs), pkgconfig(xau) >= 0.99.2 +#optional#BuildRequires: pkgconfig(xdmcp) +%if 0%{?suse_version} >= 1210 +BuildRequires: xsltproc +%else +BuildRequires: libxslt +%endif + +%description +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +%package -n libxcb1 +Summary: X11 core protocol C library +Group: System/Libraries +# O/P added for 12.2 +Provides: xorg-x11-libxcb = 7.6_%version-%release +Obsoletes: xorg-x11-libxcb < 7.6_%version-%release + +%description -n libxcb1 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +%package -n libxcb-composite0 +Summary: X11 Composite Extension C library +Group: System/Libraries + +%description -n libxcb-composite0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +The Composite extension causes a entire sub-tree of the window +hierarchy to be rendered to an off-screen buffer. Applications can +then take the contents of that buffer and do whatever they like. The +off-screen buffer can be automatically merged into the parent window +or merged by external programs, called compositing managers. + +%package -n libxcb-damage0 +Summary: X11 Damage Extension C library +Group: System/Libraries + +%description -n libxcb-damage0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +The X Damage Extension allows applications to track modified regions +of drawables. + +%package -n libxcb-dpms0 +Summary: X11 DPMS Extension C library +Group: System/Libraries + +%description -n libxcb-dpms0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +%package -n libxcb-dri2-0 +Summary: X11 DRI2 Extension C library +Group: System/Libraries + +%description -n libxcb-dri2-0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +%package -n libxcb-glx0 +Summary: X11 GLX Extension C library +Group: System/Libraries + +%description -n libxcb-glx0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +%package -n libxcb-randr0 +Summary: X11 RandR Extension C library +Group: System/Libraries + +%description -n libxcb-randr0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +The X Resize, Rotate and Reflect Extension (RandR) allows clients to +dynamically change X screens, so as to resize, to change the +orientation and layout of the root window of a screen. + +%package -n libxcb-record0 +Summary: X11 RECORD Extension C library +Group: System/Libraries + +%description -n libxcb-record0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +The RECORD extension supports the recording and reporting of all core +X protocol and arbitrary X extension protocol. + +%package -n libxcb-render0 +Summary: X11 Render Extension C library +Group: System/Libraries + +%description -n libxcb-render0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +%package -n libxcb-res0 +Summary: X11 Resource Extension C library +Group: System/Libraries + +%description -n libxcb-res0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +%package -n libxcb-screensaver0 +Summary: X11 ScreenSaver Extension C library +Group: System/Libraries + +%description -n libxcb-screensaver0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +The X Window System provides support for changing the image on a +display screen after a user-settable period of inactivity to avoid +burning the cathode ray tube phosphors. This extension allows an +external "screen saver" client to detect when the alternate image is +to be displayed and to provide the graphics. + +%package -n libxcb-shape0 +Summary: X11 Shape Extension C library +Group: System/Libraries + +%description -n libxcb-shape0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +- X11 Nonrectangular Window Shape extension (Xshape) + +%package -n libxcb-shm0 +Summary: X11 Shared Memory Extension C library +Group: System/Libraries + +%description -n libxcb-shm0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +The MIT Shared Memory (MIT-SHM) Extension allows exchanging image +data between client and server using shared memory, so that it does +not need to be transferred over sockets. + +%package -n libxcb-sync0 +Summary: X11 Sync Extension C library +Group: System/Libraries + +%description -n libxcb-sync0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +%package -n libxcb-xevie0 +Summary: X11 Xevie Extension C library +Group: System/Libraries + +%description -n libxcb-xevie0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +The EvIE (Event Interception Extension) allows for clients to be able +to intercept all events coming through the server and then decide +what to do with them, including being able to modify or discard +events. + +%package -n libxcb-xf86dri0 +Summary: X11 XFree86-DRI Extension C library +Group: System/Libraries + +%description -n libxcb-xf86dri0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +%package -n libxcb-xfixes0 +Summary: X11 Xfixes Extension C library +Group: System/Libraries + +%description -n libxcb-xfixes0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +The X Fixes extension provides applications with work-arounds for +various limitations in the core protocol. + +%package -n libxcb-xinerama0 +Summary: X11 Xinerama Extension C library +Group: System/Libraries + +%description -n libxcb-xinerama0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +Xinerama is an extension to the X Window System which enables +multi-headed X applications and window managers to use two or more +physical displays as one large virtual display. + +%package -n libxcb-xprint0 +Summary: X11 XPrint Extension C library +Group: System/Libraries + +%description -n libxcb-xprint0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +libxcb-xprint provides APIs to allow client applications to render to +non-display devices. + +%package -n libxcb-xtest0 +Summary: X11 XTEST Extension C library +Group: System/Libraries + +%description -n libxcb-xtest0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +The XTEST extension is a minimal set of client and server extensions +required to completely test the X11 server with no user intervention. +This extension is not intended to support general journaling and +playback of user actions. + +%package -n libxcb-xv0 +Summary: X11 video Extension C library +Group: System/Libraries + +%description -n libxcb-xv0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +The X Video Extension (Xv) extension provides support for video +adaptors attached to an X display. It takes the approach that a +display may have one or more video adaptors, each of which has one or +more ports through which independent video streams pass. + +%package -n libxcb-xvmc0 +Summary: X11 Video Motion Compensation Extension C library +Group: System/Libraries + +%description -n libxcb-xvmc0 +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +X-Video Motion Compensation (XvMC), is an extension of the X video +extension (Xv) for the X Window System. The XvMC API allows video +programs to offload portions of the video decoding process to the GPU +video-hardware. + +%package devel +Summary: Development files for the X11 protocol C library +Group: Development/Libraries/C and C++ +Requires: libxcb-composite0 = %version, libxcb-damage0 = %version +Requires: libxcb-dpms0 = %version, libxcb-dri2-0 = %version +Requires: libxcb-glx0 = %version, libxcb-randr0 = %version +Requires: libxcb-record0 = %version, libxcb-render0 = %version +Requires: libxcb-res0 = %version, libxcb-screensaver0 = %version +Requires: libxcb-shape0 = %version, libxcb-shm0 = %version +Requires: libxcb-sync0 = %version, libxcb-xevie0 = %version +Requires: libxcb-xf86dri0 = %version, libxcb-xfixes0 = %version +Requires: libxcb-xinerama0 = %version, libxcb-xprint0 = %version +Requires: libxcb-xtest0 = %version, libxcb-xv0 = %version +Requires: libxcb-xvmc0 = %version +# O/P added for 12.2 +Provides: xorg-x11-libxcb-devel = 7.6_%version-%release +Obsoletes: xorg-x11-libxcb-devel < 7.6_%version-%release + +%description devel +The X protocol C-language Binding (XCB) is a replacement for Xlib +featuring a small footprint, latency hiding, direct access to the +protocol, improved threading support, and extensibility. + +This package contains the development headers for the library found +in %lname. + +%prep +%setup -q +%patch -P 1 -p0 + +%build +%configure --docdir=%_docdir/%name --disable-static +make %{?_smp_mflags} + +%install +%makeinstall +rm -f "%buildroot/%_libdir"/*.la + +%post -n libxcb1 -p /sbin/ldconfig +%postun -n libxcb1 -p /sbin/ldconfig +%post -n libxcb-composite0 -p /sbin/ldconfig +%postun -n libxcb-composite0 -p /sbin/ldconfig +%post -n libxcb-damage0 -p /sbin/ldconfig +%postun -n libxcb-damage0 -p /sbin/ldconfig +%post -n libxcb-dpms0 -p /sbin/ldconfig +%postun -n libxcb-dpms0 -p /sbin/ldconfig +%post -n libxcb-dri2-0 -p /sbin/ldconfig +%postun -n libxcb-dri2-0 -p /sbin/ldconfig +%post -n libxcb-glx0 -p /sbin/ldconfig +%postun -n libxcb-glx0 -p /sbin/ldconfig +%post -n libxcb-randr0 -p /sbin/ldconfig +%postun -n libxcb-randr0 -p /sbin/ldconfig +%post -n libxcb-record0 -p /sbin/ldconfig +%postun -n libxcb-record0 -p /sbin/ldconfig +%post -n libxcb-render0 -p /sbin/ldconfig +%postun -n libxcb-render0 -p /sbin/ldconfig +%post -n libxcb-res0 -p /sbin/ldconfig +%postun -n libxcb-res0 -p /sbin/ldconfig +%post -n libxcb-screensaver0 -p /sbin/ldconfig +%postun -n libxcb-screensaver0 -p /sbin/ldconfig +%post -n libxcb-shape0 -p /sbin/ldconfig +%postun -n libxcb-shape0 -p /sbin/ldconfig +%post -n libxcb-shm0 -p /sbin/ldconfig +%postun -n libxcb-shm0 -p /sbin/ldconfig +%post -n libxcb-sync0 -p /sbin/ldconfig +%postun -n libxcb-sync0 -p /sbin/ldconfig +%post -n libxcb-xevie0 -p /sbin/ldconfig +%postun -n libxcb-xevie0 -p /sbin/ldconfig +%post -n libxcb-xf86dri0 -p /sbin/ldconfig +%postun -n libxcb-xf86dri0 -p /sbin/ldconfig +%post -n libxcb-xfixes0 -p /sbin/ldconfig +%postun -n libxcb-xfixes0 -p /sbin/ldconfig +%post -n libxcb-xinerama0 -p /sbin/ldconfig +%postun -n libxcb-xinerama0 -p /sbin/ldconfig +%post -n libxcb-xprint0 -p /sbin/ldconfig +%postun -n libxcb-xprint0 -p /sbin/ldconfig +%post -n libxcb-xtest0 -p /sbin/ldconfig +%postun -n libxcb-xtest0 -p /sbin/ldconfig +%post -n libxcb-xv0 -p /sbin/ldconfig +%postun -n libxcb-xv0 -p /sbin/ldconfig +%post -n libxcb-xvmc0 -p /sbin/ldconfig +%postun -n libxcb-xvmc0 -p /sbin/ldconfig + +%files -n libxcb1 +%defattr(-,root,root) +%_libdir/libxcb.so.1* + +%files -n libxcb-composite0 +%defattr(-,root,root) +%_libdir/libxcb-composite.so.0* + +%files -n libxcb-damage0 +%defattr(-,root,root) +%_libdir/libxcb-damage.so.0* + +%files -n libxcb-dpms0 +%defattr(-,root,root) +%_libdir/libxcb-dpms.so.0* + +%files -n libxcb-dri2-0 +%defattr(-,root,root) +%_libdir/libxcb-dri2.so.0* + +%files -n libxcb-glx0 +%defattr(-,root,root) +%_libdir/libxcb-glx.so.0* + +%files -n libxcb-randr0 +%defattr(-,root,root) +%_libdir/libxcb-randr.so.0* + +%files -n libxcb-record0 +%defattr(-,root,root) +%_libdir/libxcb-record.so.0* + +%files -n libxcb-render0 +%defattr(-,root,root) +%_libdir/libxcb-render.so.0* + +%files -n libxcb-res0 +%defattr(-,root,root) +%_libdir/libxcb-res.so.0* + +%files -n libxcb-screensaver0 +%defattr(-,root,root) +%_libdir/libxcb-screensaver.so.0* + +%files -n libxcb-shape0 +%defattr(-,root,root) +%_libdir/libxcb-shape.so.0* + +%files -n libxcb-shm0 +%defattr(-,root,root) +%_libdir/libxcb-shm.so.0* + +%files -n libxcb-sync0 +%defattr(-,root,root) +%_libdir/libxcb-sync.so.0* + +%files -n libxcb-xevie0 +%defattr(-,root,root) +%_libdir/libxcb-xevie.so.0* + +%files -n libxcb-xf86dri0 +%defattr(-,root,root) +%_libdir/libxcb-xf86dri.so.* + +%files -n libxcb-xfixes0 +%defattr(-,root,root) +%_libdir/libxcb-xfixes.so.* + +%files -n libxcb-xinerama0 +%defattr(-,root,root) +%_libdir/libxcb-xinerama.so.0* + +%files -n libxcb-xprint0 +%defattr(-,root,root) +%_libdir/libxcb-xprint.so.0* + +%files -n libxcb-xtest0 +%defattr(-,root,root) +%_libdir/libxcb-xtest.so.0* + +%files -n libxcb-xv0 +%defattr(-,root,root) +%_libdir/libxcb-xv.so.0* + +%files -n libxcb-xvmc0 +%defattr(-,root,root) +%_libdir/libxcb-xvmc.so.0* + +%files devel +%defattr(-,root,root) +%_includedir/xcb +%_libdir/libxcb*.so +%_libdir/pkgconfig/xcb*.pc +%_docdir/%name + +%changelog