From 42fd13e4d7637a960df77ab5ce98fda838673ecbff7559facfb04c39627f2fad Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 7 Mar 2012 09:48:08 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libxcb?expand=0&rev=3 --- libxcb.spec | 164 +++++++++++++++++++++++++++++++++------------------- 1 file changed, 105 insertions(+), 59 deletions(-) diff --git a/libxcb.spec b/libxcb.spec index 65ed91b..8c5fd28 100644 --- a/libxcb.spec +++ b/libxcb.spec @@ -14,6 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + + Name: libxcb %define lname libxcb1 Version: 1.8 @@ -21,24 +24,24 @@ 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/ 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 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(pthread-stubs) pkgconfig(xau) >= 0.99.2 #optional#BuildRequires: pkgconfig(xdmcp) %if 0%{?suse_version} >= 1210 -BuildRequires: xsltproc +BuildRequires: xsltproc %else -BuildRequires: libxslt +BuildRequires: libxslt %endif %description @@ -74,8 +77,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 +89,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 +98,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 +107,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 +116,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 +129,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 +141,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 +150,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 +159,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 +174,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 +185,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 +198,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 +207,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 +221,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 +230,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 +242,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 +255,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 +267,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 +281,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 +295,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 +311,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 +347,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 From a313596b2c50d7b6dbb0121f231ff9407a8ad76d0c27a4530db9326b77301dcc Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 21 Mar 2012 10:11:41 +0000 Subject: [PATCH 2/2] Accepting request 110344 from home:jengelh:branches: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/110344 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libxcb?expand=0&rev=4 --- libxcb-1.8.1.tar.bz2 | 3 +++ libxcb-1.8.tar.bz2 | 3 --- libxcb.changes | 7 +++++++ libxcb.spec | 15 ++++++++------- 4 files changed, 18 insertions(+), 10 deletions(-) create mode 100644 libxcb-1.8.1.tar.bz2 delete mode 100644 libxcb-1.8.tar.bz2 diff --git a/libxcb-1.8.1.tar.bz2 b/libxcb-1.8.1.tar.bz2 new file mode 100644 index 0000000..f52e0db --- /dev/null +++ b/libxcb-1.8.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2f46811e950710e7e79e45615d24f2c7ec318b9de9dc717972723da58bffa0d +size 375955 diff --git a/libxcb-1.8.tar.bz2 b/libxcb-1.8.tar.bz2 deleted file mode 100644 index 0a1e9de..0000000 --- a/libxcb-1.8.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:25c3600bec104c5aa6e9f559bfe0011b0e223bde726b849b58f758c2d4e6fc5e -size 372730 diff --git a/libxcb.changes b/libxcb.changes index 35c219c..b567b6d 100644 --- a/libxcb.changes +++ b/libxcb.changes @@ -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 diff --git a/libxcb.spec b/libxcb.spec index 8c5fd28..43cb5dd 100644 --- a/libxcb.spec +++ b/libxcb.spec @@ -14,12 +14,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - - Name: libxcb %define lname libxcb1 -Version: 1.8 +Version: 1.8.1 Release: 0 Summary: X11 core protocol C library License: MIT @@ -28,15 +25,19 @@ 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.57, automake, libtool -BuildRequires: pkgconfig python-base >= 2.6 python-xml +BuildRequires: pkgconfig +BuildRequires: python-base >= 2.6 +BuildRequires: 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(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