|
|
5b67f4 |
Name: libxcb
|
|
|
5b67f4 |
Version: 1.9
|
|
|
5b67f4 |
Release: 3%{?dist}
|
|
|
5b67f4 |
Summary: A C binding to the X11 protocol
|
|
|
5b67f4 |
|
|
|
5b67f4 |
Group: System Environment/Libraries
|
|
|
5b67f4 |
License: MIT
|
|
|
5b67f4 |
URL: http://xcb.freedesktop.org/
|
|
|
5b67f4 |
Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
|
|
|
5b67f4 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
5b67f4 |
# This is stolen straight from the pthread-stubs source:
|
|
|
5b67f4 |
# http://cgit.freedesktop.org/xcb/pthread-stubs/blob/?id=6900598192bacf5fd9a34619b11328f746a5956d
|
|
|
5b67f4 |
# we don't need the library because glibc has working pthreads, but we need
|
|
|
5b67f4 |
# the pkgconfig file so libs that link against libxcb know this...
|
|
|
5b67f4 |
Source1: pthread-stubs.pc.in
|
|
|
5b67f4 |
|
|
|
5b67f4 |
Patch01: 0001-integer-overflow-in-read_packet-CVE-2013-2064.patch
|
|
|
5b67f4 |
|
|
|
5b67f4 |
BuildRequires: autoconf automake libtool pkgconfig
|
|
|
5b67f4 |
BuildRequires: doxygen
|
|
|
5b67f4 |
BuildRequires: graphviz
|
|
|
5b67f4 |
BuildRequires: libXau-devel
|
|
|
5b67f4 |
BuildRequires: libxslt
|
|
|
5b67f4 |
BuildRequires: xcb-proto >= 1.7-3
|
|
|
5b67f4 |
BuildRequires: xorg-x11-proto-devel
|
|
|
5b67f4 |
BuildRequires: xorg-x11-util-macros
|
|
|
5b67f4 |
|
|
|
5b67f4 |
%description
|
|
|
5b67f4 |
The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a
|
|
|
5b67f4 |
small footprint, latency hiding, direct access to the protocol, improved
|
|
|
5b67f4 |
threading support, and extensibility.
|
|
|
5b67f4 |
|
|
|
5b67f4 |
%package devel
|
|
|
5b67f4 |
Summary: Development files for %{name}
|
|
|
5b67f4 |
Group: Development/Libraries
|
|
|
5b67f4 |
Requires: %{name} = %{version}-%{release}
|
|
|
5b67f4 |
Requires: pkgconfig
|
|
|
5b67f4 |
|
|
|
5b67f4 |
%description devel
|
|
|
5b67f4 |
The %{name}-devel package contains libraries and header files for
|
|
|
5b67f4 |
developing applications that use %{name}.
|
|
|
5b67f4 |
|
|
|
5b67f4 |
%package doc
|
|
|
5b67f4 |
Summary: Documentation for %{name}
|
|
|
5b67f4 |
Group: Documentation
|
|
|
5b67f4 |
BuildArch: noarch
|
|
|
5b67f4 |
|
|
|
5b67f4 |
%description doc
|
|
|
5b67f4 |
The %{name}-doc package contains documentation for the %{name} library.
|
|
|
5b67f4 |
|
|
|
5b67f4 |
%prep
|
|
|
5b67f4 |
%setup -q
|
|
|
5b67f4 |
%patch01 -p1
|
|
|
5b67f4 |
|
|
|
5b67f4 |
%build
|
|
|
5b67f4 |
sed -i 's/pthread-stubs //' configure.ac
|
|
|
5b67f4 |
autoreconf -v --install
|
|
|
5b67f4 |
%configure --disable-static --docdir=%{_datadir}/doc/%{name}-%{version} \
|
|
|
5b67f4 |
--enable-selinux --enable-xkb --disable-xprint
|
|
|
5b67f4 |
make %{?_smp_mflags}
|
|
|
5b67f4 |
|
|
|
5b67f4 |
%install
|
|
|
5b67f4 |
rm -rf $RPM_BUILD_ROOT
|
|
|
5b67f4 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
5b67f4 |
install -m 644 COPYING NEWS README $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
|
|
|
5b67f4 |
sed 's,@libdir@,%{_libdir},;s,@prefix@,%{_prefix},;s,@exec_prefix@,%{_exec_prefix},' %{SOURCE1} > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/pthread-stubs.pc
|
|
|
5b67f4 |
|
|
|
5b67f4 |
find $RPM_BUILD_ROOT -name '*.la' -delete
|
|
|
5b67f4 |
|
|
|
5b67f4 |
%clean
|
|
|
5b67f4 |
rm -rf $RPM_BUILD_ROOT
|
|
|
5b67f4 |
|
|
|
5b67f4 |
%post -p /sbin/ldconfig
|
|
|
5b67f4 |
%postun -p /sbin/ldconfig
|
|
|
5b67f4 |
|
|
|
5b67f4 |
%files
|
|
|
5b67f4 |
%defattr(-,root,root,-)
|
|
|
5b67f4 |
%{_libdir}/libxcb-composite.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-damage.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-dpms.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-dri2.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-glx.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-randr.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-record.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-render.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-res.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-screensaver.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-shape.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-shm.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-sync.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-xevie.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-xf86dri.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-xfixes.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-xinerama.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-xkb.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-xselinux.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-xtest.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-xv.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb-xvmc.so.0*
|
|
|
5b67f4 |
%{_libdir}/libxcb.so.1*
|
|
|
5b67f4 |
|
|
|
5b67f4 |
%files devel
|
|
|
5b67f4 |
%defattr(-,root,root,-)
|
|
|
5b67f4 |
%{_includedir}/xcb
|
|
|
5b67f4 |
%{_libdir}/*.so
|
|
|
5b67f4 |
%{_libdir}/pkgconfig/*.pc
|
|
|
5b67f4 |
%{_mandir}/man3/*.3*
|
|
|
5b67f4 |
|
|
|
5b67f4 |
%files doc
|
|
|
5b67f4 |
%defattr(-,root,root,-)
|
|
|
5b67f4 |
%{_datadir}/doc/%{name}-%{version}
|
|
|
5b67f4 |
|
|
|
5b67f4 |
%changelog
|
|
|
5b67f4 |
* Fri May 24 2013 Peter Hutterer <peter.hutterer@redhat.com> 1.9-3
|
|
|
5b67f4 |
- Fix integer overflow in read_packet (CVE-2013-2064)
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9-2
|
|
|
5b67f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Tue Oct 16 2012 Adam Jackson <ajax@redhat.com> 1.9-1
|
|
|
5b67f4 |
- libxcb 1.9
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Tue Sep 04 2012 Adam Jackson <ajax@redhat.com> 1.8.1-4
|
|
|
5b67f4 |
- --enable-xkb for weston
|
|
|
5b67f4 |
- --disable-xprint instead of manual rm
|
|
|
5b67f4 |
- BuildRequire an updated xcb-proto for XKB and DRI2 fixes
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.1-2
|
|
|
5b67f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Mon Apr 09 2012 Adam Jackson <ajax@redhat.com> 1.8.1-1
|
|
|
5b67f4 |
- libxcb 1.8.1
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Fri Jan 13 2012 Adam Jackson <ajax@redhat.com> 1.8-2
|
|
|
5b67f4 |
- Don't %%doc in the base package, that pulls in copies of things we only
|
|
|
5b67f4 |
want in -doc subpackage.
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Wed Jan 11 2012 Adam Jackson <ajax@redhat.com> 1.8-1
|
|
|
5b67f4 |
- libxcb 1.8
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Thu Jun 23 2011 Adam Jackson <ajax@redhat.com> 1.7-3
|
|
|
5b67f4 |
- libxcb-1.7-xts-fixes.patch: Backport some XTS5 fixes from git.
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Tue Feb 08 2011 Adam Jackson <ajax@redhat.com> 1.7-2
|
|
|
5b67f4 |
- Fix FTBFS.
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-2
|
|
|
5b67f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Thu Aug 26 2010 Adam Jackson <ajax@redhat.com> 1.7-2
|
|
|
5b67f4 |
- Drop python bindings, nothing's using them.
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Mon Aug 16 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.7-1
|
|
|
5b67f4 |
- libxcb 1.7
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.5-3
|
|
|
5b67f4 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Thu Jul 08 2010 Adam Jackson <ajax@redhat.com> 1.5-2
|
|
|
5b67f4 |
- Include COPYING in base package too
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Wed Jan 13 2010 Dave Airlie <airlied@redhat.com> 1.5-1
|
|
|
5b67f4 |
- libxcb 1.5
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Wed Dec 02 2009 Adam Jackson <ajax@redhat.com> 1.4-2
|
|
|
5b67f4 |
- libxcb-1.4-keepalive.patch: setsockopt(SO_KEEPALIVE) for TCP (#476415)
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Thu Aug 27 2009 Adam Jackson <ajax@redhat.com> 1.4-1
|
|
|
5b67f4 |
- libxcb 1.4 (#518597)
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
5b67f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Tue Jul 14 2009 Adam Jackson <ajax@redhat.com> 1.3-1
|
|
|
5b67f4 |
- libxcb 1.3
|
|
|
5b67f4 |
- List DSO versions explicitly.
|
|
|
5b67f4 |
- Don't package any xprint bits. Seriously, no.
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Mon Jul 13 2009 Adam Jackson <ajax@redhat.com> 1.2-8
|
|
|
5b67f4 |
- Really fix xpyb build.
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Mon Jul 06 2009 Adam Jackson <ajax@redhat.com> 1.2-7
|
|
|
5b67f4 |
- Fix xpyb build
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Mon Jun 29 2009 Adam Jackson <ajax@redhat.com> 1.2-6
|
|
|
5b67f4 |
- BuildRequires: xcb-proto >= 1.5
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Wed Jun 24 2009 Adam Jackson <ajax@redhat.com> 1.2-5
|
|
|
5b67f4 |
- libxcb-1.2-no-nagle.patch: Disable Nagle's algorithm on TCP. (#442158)
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Tue May 19 2009 Adam Jackson <ajax@redhat.com> 1.2-4
|
|
|
5b67f4 |
- Add libxcb-python subpackage
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Tue Apr 07 2009 Adam Jackson <ajax@redhat.com> 1.2-3
|
|
|
5b67f4 |
- libxcb-1.2-to-git-6e2e87d.patch: Various updates from git, XID generation
|
|
|
5b67f4 |
being the most important.
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Tue Feb 24 2009 Matthias Clasen <mclasen@redhat.com> 1.2-2
|
|
|
5b67f4 |
- Make -doc noarch
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Wed Feb 18 2009 Adam Jackson <ajax@redhat.com> 1.2-1
|
|
|
5b67f4 |
- libxcb 1.2
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Tue Feb 10 2009 Adam Jackson <ajax@redhat.com> 1.1.93-4
|
|
|
5b67f4 |
- Fix selinux module build. (#474249)
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Sun Feb 08 2009 Adam Jackson <ajax@redhat.com> 1.1.93-3
|
|
|
5b67f4 |
- Remove aforementioned egregious hack. Now I can sleep easier.
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Thu Dec 18 2008 Adam Jackson <ajax@redhat.com> 1.1.93-2
|
|
|
5b67f4 |
- Egregious hack to make the next libX11 build work. Hands... won't come
|
|
|
5b67f4 |
clean...
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Wed Dec 17 2008 Adam Jackson <ajax@redhat.com> 1.1.93-1
|
|
|
5b67f4 |
- libxcb 1.1.93
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Sun Oct 19 2008 Adam Jackson <ajax@redhat.com> 1.1.91-5
|
|
|
5b67f4 |
- Add pthread-stubs.pc
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Mon Oct 13 2008 Adam Jackson <ajax@redhat.com> 1.1.91-4
|
|
|
5b67f4 |
- libxcb-1.1-abstract-socket.patch: Drop.
|
|
|
5b67f4 |
- libxcb-1.1.91-git.patch: Update to git master.
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Wed Sep 17 2008 Adam Jackson <ajax@redhat.com> 1.1.91-3
|
|
|
5b67f4 |
- libxcb-1.1-xreply-leak.patch: Plug a memory leak in _XReply when the
|
|
|
5b67f4 |
caller has a non-fatal error handler. (mclasen, fdo #17616)
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Thu Sep 11 2008 Adam Jackson <ajax@redhat.com> 1.1.91-2
|
|
|
5b67f4 |
- Enable x-selinux bindings.
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Wed Sep 10 2008 Adam Jackson <ajax@redhat.com> 1.1.91-1
|
|
|
5b67f4 |
- libxcb 1.1.91
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Tue Apr 22 2008 Adam Jackson <ajax@redhat.com> 1.1-4
|
|
|
5b67f4 |
- libxcb-1.1-sloppy-lock.patch: Turn sloppy locking on all the time. I'm
|
|
|
5b67f4 |
tired of fighting it. (#390261)
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1-2
|
|
|
5b67f4 |
- Autorebuild for GCC 4.3
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Mon Nov 12 2007 Adam Jackson <ajax@redhat.com> 1.1-1
|
|
|
5b67f4 |
- libxcb 1.1
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 1.0-3
|
|
|
5b67f4 |
- libxcb-1.0-abstract-socket.patch: When connecting to the X server, prefer
|
|
|
5b67f4 |
abstract-namespace unix sockets to filesystem-bound sockets.
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.0-2
|
|
|
5b67f4 |
- Rebuild for PPC toolchain bug
|
|
|
5b67f4 |
|
|
|
5b67f4 |
* Fri Jun 29 2007 Adam Jackson <ajax@redhat.com> 1.0-1
|
|
|
5b67f4 |
- Initial revision.
|