Accepting request 110562 from X11:XOrg

- Update to new upstream release 1.8.1
* Fallback to TCP if no protocol is specified and the UNIX
  connection fails

OBS-URL: https://build.opensuse.org/request/show/110562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxcb?expand=0&rev=2
This commit is contained in:
Stephan Kulow 2012-03-23 11:06:59 +00:00 committed by Git OBS Bridge
commit a38f1e248b
4 changed files with 118 additions and 64 deletions

3
libxcb-1.8.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2f46811e950710e7e79e45615d24f2c7ec318b9de9dc717972723da58bffa0d
size 375955

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25c3600bec104c5aa6e9f559bfe0011b0e223bde726b849b58f758c2d4e6fc5e
size 372730

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 21 10:00:05 UTC 2012 - jengelh@medozas.de
- Update to new upstream release 1.8.1
* Fallback to TCP if no protocol is specified and the UNIX
connection fails
-------------------------------------------------------------------
Sun Feb 12 02:53:20 UTC 2012 - jengelh@medozas.de

View File

@ -16,29 +16,33 @@
#
Name: libxcb
%define lname libxcb1
Version: 1.8
Version: 1.8.1
Release: 0
Summary: X11 core protocol C library
License: MIT
Group: Development/Libraries/C and C++
URL: http://xcb.freedesktop.org/
Url: http://xcb.freedesktop.org/
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libxcb
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libxcb/
#DL-URL: http://xcb.freedesktop.org/dist/
Source: %name-%version.tar.bz2
Patch1: bug-262309_xcb-xauthlocalhostname.diff
Patch1: bug-262309_xcb-xauthlocalhostname.diff
BuildRoot: %_tmppath/%name-%version-build
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
BuildRequires: pkgconfig
BuildRequires: python-base >= 2.6
BuildRequires: python-xml
BuildRequires: pkgconfig(check) >= 0.9.4
BuildRequires: pkgconfig(pthread-stubs)
BuildRequires: pkgconfig(xau) >= 0.99.2
BuildRequires: pkgconfig(xcb-proto) >= 1.7
#optional#BuildRequires: pkgconfig(xdmcp)
%if 0%{?suse_version} >= 1210
BuildRequires: xsltproc
BuildRequires: xsltproc
%else
BuildRequires: libxslt
BuildRequires: libxslt
%endif
%description
@ -74,8 +78,8 @@ 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
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
@ -86,8 +90,8 @@ 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
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
@ -95,8 +99,8 @@ 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
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
@ -104,8 +108,8 @@ 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
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
@ -113,8 +117,8 @@ 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
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
@ -126,8 +130,8 @@ 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
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
@ -138,8 +142,8 @@ 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
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
@ -147,8 +151,8 @@ 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
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
@ -156,8 +160,8 @@ 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
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
@ -171,8 +175,8 @@ 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
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
@ -182,8 +186,8 @@ 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
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
@ -195,8 +199,8 @@ 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
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
@ -204,8 +208,8 @@ 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
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
@ -218,8 +222,8 @@ 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
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
@ -227,8 +231,8 @@ 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
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
@ -239,8 +243,8 @@ 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
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
@ -252,8 +256,8 @@ 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
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
@ -264,8 +268,8 @@ 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
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
@ -278,8 +282,8 @@ 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
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
@ -292,8 +296,8 @@ 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
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
@ -308,17 +312,17 @@ 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
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
@ -344,48 +348,91 @@ make %{?_smp_mflags}
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