|
|
0536de8 |
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
0536de8 |
|
|
|
0536de8 |
%define xpyb_version 1.1
|
|
|
0536de8 |
|
|
|
08b6265 |
# Define this when bootstrapping to avoid the xpyb loop
|
|
|
08b6265 |
#define bootstrap 1
|
|
|
08b6265 |
|
|
|
2ad023d |
Name: libxcb
|
|
Peter Hutterer |
99b83a3 |
Version: 1.7
|
|
Peter Hutterer |
99b83a3 |
Release: 1%{?dist}
|
|
|
2ad023d |
Summary: A C binding to the X11 protocol
|
|
|
2ad023d |
|
|
|
2ad023d |
Group: System Environment/Libraries
|
|
|
2ad023d |
License: MIT
|
|
|
2ad023d |
URL: http://xcb.freedesktop.org/
|
|
|
2ad023d |
Source0: http://xcb.freedesktop.org/dist/%{name}-%{version}.tar.bz2
|
|
|
2ad023d |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
7baf952 |
# This is stolen straight from the pthread-stubs source:
|
|
|
7baf952 |
# http://cgit.freedesktop.org/xcb/pthread-stubs/blob/?id=6900598192bacf5fd9a34619b11328f746a5956d
|
|
|
7baf952 |
# we don't need the library because glibc has working pthreads, but we need
|
|
|
7baf952 |
# the pkgconfig file so libs that link against libxcb know this...
|
|
|
7baf952 |
Source1: pthread-stubs.pc.in
|
|
|
0536de8 |
Source2: http://xcb.freedesktop.org/dist/xpyb-%{xpyb_version}.tar.bz2
|
|
|
2ad023d |
|
|
|
3848026 |
|
|
|
2ad023d |
BuildRequires: autoconf automake libtool pkgconfig
|
|
|
2ad023d |
BuildRequires: doxygen
|
|
|
2ad023d |
BuildRequires: graphviz
|
|
|
2ad023d |
BuildRequires: libXau-devel
|
|
|
2ad023d |
BuildRequires: libxslt
|
|
|
0a0f5bf |
BuildRequires: python-devel
|
|
|
7b943f0 |
BuildRequires: xcb-proto >= 1.6
|
|
|
2ad023d |
BuildRequires: xorg-x11-proto-devel
|
|
|
2ad023d |
BuildRequires: xorg-x11-util-macros
|
|
|
08b6265 |
%if !0%{?bootstrap}
|
|
|
08b6265 |
BuildRequires: libxcb-devel
|
|
|
08b6265 |
%endif
|
|
|
2ad023d |
|
|
|
2ad023d |
%description
|
|
|
2ad023d |
The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a
|
|
|
2ad023d |
small footprint, latency hiding, direct access to the protocol, improved
|
|
|
2ad023d |
threading support, and extensibility.
|
|
|
2ad023d |
|
|
|
2ad023d |
%package devel
|
|
|
2ad023d |
Summary: Development files for %{name}
|
|
|
2ad023d |
Group: Development/Libraries
|
|
|
2ad023d |
Requires: %{name} = %{version}-%{release}
|
|
|
2ad023d |
Requires: pkgconfig
|
|
|
2ad023d |
|
|
|
2ad023d |
%description devel
|
|
|
2ad023d |
The %{name}-devel package contains libraries and header files for
|
|
|
2ad023d |
developing applications that use %{name}.
|
|
|
2ad023d |
|
|
|
2ad023d |
%package doc
|
|
|
2ad023d |
Summary: Documentation for %{name}
|
|
|
2ad023d |
Group: Documentation
|
|
|
e5c72c3 |
BuildArch: noarch
|
|
|
2ad023d |
|
|
|
2ad023d |
%description doc
|
|
|
2ad023d |
The %{name}-doc package contains documentation for the %{name} library.
|
|
|
2ad023d |
|
|
|
08b6265 |
%if !0%{?bootstrap}
|
|
|
0536de8 |
%package python
|
|
|
0536de8 |
Summary: Python bindings for %{name}
|
|
|
0536de8 |
Group: Development/Libraries
|
|
|
0536de8 |
Provides: xpyb
|
|
|
0536de8 |
|
|
|
0536de8 |
%description python
|
|
|
0536de8 |
Python bindings for %{name}.
|
|
|
08b6265 |
%endif
|
|
|
0536de8 |
|
|
|
2ad023d |
%prep
|
|
|
0536de8 |
%setup -q -b2
|
|
|
2ad023d |
|
|
|
4f22f36 |
%if !0%{?bootstrap}
|
|
|
4f22f36 |
pushd ../xpyb-%{xpyb_version}
|
|
|
4f22f36 |
# XXX fix me upstream please
|
|
|
4f22f36 |
sed -i 's@$(pythondir)@$(pyexecdir)@' src/Makefile.am
|
|
|
4f22f36 |
popd
|
|
|
4f22f36 |
%endif
|
|
|
4f22f36 |
|
|
|
2ad023d |
%build
|
|
|
2ad023d |
autoreconf -v --install
|
|
|
81bea9c |
%configure --disable-static --docdir=%{_datadir}/doc/%{name}-%{version} \
|
|
|
f61b6a2 |
--enable-selinux
|
|
|
2ad023d |
make %{?_smp_mflags}
|
|
|
2ad023d |
|
|
|
08b6265 |
%if !0%{?bootstrap}
|
|
|
0536de8 |
pushd ../xpyb-%{xpyb_version}
|
|
|
4f22f36 |
autoreconf -v --install
|
|
|
0536de8 |
%configure
|
|
|
0536de8 |
make %{?_smp_mflags}
|
|
|
0536de8 |
popd
|
|
|
08b6265 |
%endif
|
|
|
0536de8 |
|
|
|
2ad023d |
%install
|
|
|
2ad023d |
rm -rf $RPM_BUILD_ROOT
|
|
|
2ad023d |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
fd3394e |
rm -f $RPM_BUILD_ROOT/%{_libdir}/libxcb-xprint.so*
|
|
|
fd3394e |
rm -f $RPM_BUILD_ROOT/%{_includedir}/xcb/xprint.h
|
|
|
2ad023d |
install -m 644 COPYING NEWS README $RPM_BUILD_ROOT/%{_datadir}/doc/%{name}-%{version}
|
|
|
7baf952 |
sed 's,@libdir@,%{_libdir},;s,@prefix@,%{_prefix},;s,@exec_prefix@,%{_exec_prefix},' %{SOURCE1} > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/pthread-stubs.pc
|
|
|
2ad023d |
|
|
|
08b6265 |
%if !0%{?bootstrap}
|
|
|
0536de8 |
pushd ../xpyb-%{xpyb_version}
|
|
|
0536de8 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
0536de8 |
popd
|
|
|
08b6265 |
%endif
|
|
|
0536de8 |
|
|
|
0536de8 |
find $RPM_BUILD_ROOT -name '*.la' -delete
|
|
|
0536de8 |
|
|
|
2ad023d |
%clean
|
|
|
2ad023d |
rm -rf $RPM_BUILD_ROOT
|
|
|
2ad023d |
|
|
|
2ad023d |
%post -p /sbin/ldconfig
|
|
|
2ad023d |
%postun -p /sbin/ldconfig
|
|
|
2ad023d |
|
|
|
2ad023d |
%files
|
|
|
2ad023d |
%defattr(-,root,root,-)
|
|
|
900f866 |
%doc COPYING
|
|
|
fd3394e |
%{_libdir}/libxcb-composite.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-damage.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-dpms.so.0*
|
|
|
c9f4771 |
%{_libdir}/libxcb-dri2.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-glx.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-randr.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-record.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-render.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-res.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-screensaver.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-shape.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-shm.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-sync.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-xevie.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-xf86dri.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-xfixes.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-xinerama.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-xselinux.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-xtest.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-xv.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb-xvmc.so.0*
|
|
|
fd3394e |
%{_libdir}/libxcb.so.1*
|
|
|
2ad023d |
|
|
|
2ad023d |
%files devel
|
|
|
2ad023d |
%defattr(-,root,root,-)
|
|
|
2ad023d |
%{_includedir}/xcb
|
|
|
2ad023d |
%{_libdir}/*.so
|
|
|
2ad023d |
%{_libdir}/pkgconfig/*.pc
|
|
|
2ad023d |
|
|
|
2ad023d |
%files doc
|
|
|
2ad023d |
%defattr(-,root,root,-)
|
|
|
2ad023d |
%{_datadir}/doc/%{name}-%{version}
|
|
|
2ad023d |
|
|
|
08b6265 |
%if !0%{?bootstrap}
|
|
|
0536de8 |
%files python
|
|
|
0536de8 |
%defattr(-,root,root,-)
|
|
|
0536de8 |
%{python_sitearch}/xcb
|
|
|
08b6265 |
%endif
|
|
|
0536de8 |
|
|
|
2ad023d |
%changelog
|
|
Peter Hutterer |
99b83a3 |
* Mon Aug 16 2010 Peter Hutterer <peter.hutterer@redhat.com> 1.7-1
|
|
Peter Hutterer |
99b83a3 |
- libxcb 1.7
|
|
Peter Hutterer |
99b83a3 |
|
|
|
1a4038d |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 1.5-3
|
|
|
1a4038d |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
1a4038d |
|
|
|
900f866 |
* Thu Jul 08 2010 Adam Jackson <ajax@redhat.com> 1.5-2
|
|
|
900f866 |
- Include COPYING in base package too
|
|
|
900f866 |
|
|
|
7b943f0 |
* Wed Jan 13 2010 Dave Airlie <airlied@redhat.com> 1.5-1
|
|
|
7b943f0 |
- libxcb 1.5
|
|
|
7b943f0 |
|
|
|
3848026 |
* Wed Dec 02 2009 Adam Jackson <ajax@redhat.com> 1.4-2
|
|
|
3848026 |
- libxcb-1.4-keepalive.patch: setsockopt(SO_KEEPALIVE) for TCP (#476415)
|
|
|
3848026 |
|
|
|
adaa485 |
* Thu Aug 27 2009 Adam Jackson <ajax@redhat.com> 1.4-1
|
|
|
adaa485 |
- libxcb 1.4 (#518597)
|
|
|
adaa485 |
|
|
|
5738112 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
|
|
|
5738112 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
5738112 |
|
|
|
fd3394e |
* Tue Jul 14 2009 Adam Jackson <ajax@redhat.com> 1.3-1
|
|
|
fd3394e |
- libxcb 1.3
|
|
|
fd3394e |
- List DSO versions explicitly.
|
|
|
fd3394e |
- Don't package any xprint bits. Seriously, no.
|
|
|
fd3394e |
|
|
|
0a0f5bf |
* Mon Jul 13 2009 Adam Jackson <ajax@redhat.com> 1.2-8
|
|
|
0a0f5bf |
- Really fix xpyb build.
|
|
|
0a0f5bf |
|
|
|
08b6265 |
* Mon Jul 06 2009 Adam Jackson <ajax@redhat.com> 1.2-7
|
|
|
08b6265 |
- Fix xpyb build
|
|
|
08b6265 |
|
|
|
c526c1a |
* Mon Jun 29 2009 Adam Jackson <ajax@redhat.com> 1.2-6
|
|
|
c526c1a |
- BuildRequires: xcb-proto >= 1.5
|
|
|
c526c1a |
|
|
|
75deaf2 |
* Wed Jun 24 2009 Adam Jackson <ajax@redhat.com> 1.2-5
|
|
|
75deaf2 |
- libxcb-1.2-no-nagle.patch: Disable Nagle's algorithm on TCP. (#442158)
|
|
|
75deaf2 |
|
|
|
0536de8 |
* Tue May 19 2009 Adam Jackson <ajax@redhat.com> 1.2-4
|
|
|
0536de8 |
- Add libxcb-python subpackage
|
|
|
0536de8 |
|
|
|
f1edd1f |
* Tue Apr 07 2009 Adam Jackson <ajax@redhat.com> 1.2-3
|
|
|
f1edd1f |
- libxcb-1.2-to-git-6e2e87d.patch: Various updates from git, XID generation
|
|
|
f1edd1f |
being the most important.
|
|
|
f1edd1f |
|
|
|
e5c72c3 |
* Tue Feb 24 2009 Matthias Clasen <mclasen@redhat.com> 1.2-2
|
|
|
e5c72c3 |
- Make -doc noarch
|
|
|
e5c72c3 |
|
|
|
ced11bc |
* Wed Feb 18 2009 Adam Jackson <ajax@redhat.com> 1.2-1
|
|
|
ced11bc |
- libxcb 1.2
|
|
|
ced11bc |
|
|
|
f61b6a2 |
* Tue Feb 10 2009 Adam Jackson <ajax@redhat.com> 1.1.93-4
|
|
|
f61b6a2 |
- Fix selinux module build. (#474249)
|
|
|
f61b6a2 |
|
|
|
453872d |
* Sun Feb 08 2009 Adam Jackson <ajax@redhat.com> 1.1.93-3
|
|
|
453872d |
- Remove aforementioned egregious hack. Now I can sleep easier.
|
|
|
453872d |
|
|
|
b6f593b |
* Thu Dec 18 2008 Adam Jackson <ajax@redhat.com> 1.1.93-2
|
|
|
b6f593b |
- Egregious hack to make the next libX11 build work. Hands... won't come
|
|
|
b6f593b |
clean...
|
|
|
b6f593b |
|
|
|
6b8823c |
* Wed Dec 17 2008 Adam Jackson <ajax@redhat.com> 1.1.93-1
|
|
|
6b8823c |
- libxcb 1.1.93
|
|
|
6b8823c |
|
|
|
7baf952 |
* Sun Oct 19 2008 Adam Jackson <ajax@redhat.com> 1.1.91-5
|
|
|
7baf952 |
- Add pthread-stubs.pc
|
|
|
7baf952 |
|
|
|
5e40d1c |
* Mon Oct 13 2008 Adam Jackson <ajax@redhat.com> 1.1.91-4
|
|
|
5e40d1c |
- libxcb-1.1-abstract-socket.patch: Drop.
|
|
|
5e40d1c |
- libxcb-1.1.91-git.patch: Update to git master.
|
|
|
5e40d1c |
|
|
|
6c92f0e |
* Wed Sep 17 2008 Adam Jackson <ajax@redhat.com> 1.1.91-3
|
|
|
6c92f0e |
- libxcb-1.1-xreply-leak.patch: Plug a memory leak in _XReply when the
|
|
|
6c92f0e |
caller has a non-fatal error handler. (mclasen, fdo #17616)
|
|
|
6c92f0e |
|
|
|
81bea9c |
* Thu Sep 11 2008 Adam Jackson <ajax@redhat.com> 1.1.91-2
|
|
|
81bea9c |
- Enable x-selinux bindings.
|
|
|
81bea9c |
|
|
|
d7bc8d0 |
* Wed Sep 10 2008 Adam Jackson <ajax@redhat.com> 1.1.91-1
|
|
|
d7bc8d0 |
- libxcb 1.1.91
|
|
|
d7bc8d0 |
|
|
|
db30cb0 |
* Tue Apr 22 2008 Adam Jackson <ajax@redhat.com> 1.1-4
|
|
|
34f608a |
- libxcb-1.1-sloppy-lock.patch: Turn sloppy locking on all the time. I'm
|
|
|
34f608a |
tired of fighting it. (#390261)
|
|
|
34f608a |
|
|
|
9a8aa95 |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1-2
|
|
|
9a8aa95 |
- Autorebuild for GCC 4.3
|
|
|
9a8aa95 |
|
|
|
3bf5959 |
* Mon Nov 12 2007 Adam Jackson <ajax@redhat.com> 1.1-1
|
|
|
3bf5959 |
- libxcb 1.1
|
|
|
3bf5959 |
|
|
|
b6f56cd |
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 1.0-3
|
|
|
b6f56cd |
- libxcb-1.0-abstract-socket.patch: When connecting to the X server, prefer
|
|
|
b6f56cd |
abstract-namespace unix sockets to filesystem-bound sockets.
|
|
|
b6f56cd |
|
|
|
ee43f98 |
* Wed Aug 22 2007 Adam Jackson <ajax@redhat.com> - 1.0-2
|
|
|
ee43f98 |
- Rebuild for PPC toolchain bug
|
|
|
ee43f98 |
|
|
|
2ad023d |
* Fri Jun 29 2007 Adam Jackson <ajax@redhat.com> 1.0-1
|
|
|
2ad023d |
- Initial revision.
|