Bug 1005447

Summary: Please enable xpyb xcb for pycairo
Product: [Fedora] Fedora Reporter: Tomas DabaĊĦinskas <tdabasin>
Component: pycairoAssignee: John (J5) Palmieri <john.j5live>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: i, john.j5live, pbrobinson, samuel-rhbugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-27 10:47:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 980071    
Bug Blocks:    
Attachments:
Description Flags
spec none

Description Tomas DabaĊĦinskas 2013-09-07 03:20:25 UTC
Created attachment 795047 [details]
spec

Hi, 
I'm working on packaging qtile window manager for fedora, qtile requires pycairo with xpyb xcb enabled. I have built python-xpyb 980071 and ran pycairo scratch build with xpyb and xcb enabled http://koji.fedoraproject.org/koji/taskinfo?taskID=5907022 I'd appreciate if you could please pull my spec file attached, you can also download spec file here: http://people.fedoraproject.org/~tdabasin/pycairo.spec


diff --git a/pycairo.spec b/pycairo.spec
index 46a31ca..d9e1c97 100644
--- a/pycairo.spec
+++ b/pycairo.spec
@@ -2,7 +2,7 @@

 Name: pycairo
 Version: 1.8.10
-Release: 7%{?dist}
+Release: 8%{?dist}
 License: MPLv1.1 or LGPLv2
 Group: Development/Languages
 Summary: Python bindings for the cairo library
@@ -12,6 +12,8 @@ Source: http://cairographics.org/releases/py2cairo-%{version}.tar.gz
 BuildRequires: cairo-devel
 BuildRequires: pkgconfig
 BuildRequires: python-devel
+BuildRequires: libxcb-devel
+BuildRequires: python-xpyb-devel

 %description
 Python bindings for the cairo library.
@@ -32,7 +34,8 @@ libraries so that they interoperate with pycairo.
 %setup -q

 %build
-%configure
+%configure --enable-xcb \
+       --enable-xpyb
 make %{?_smp_mflags}

 %install
@@ -51,6 +54,9 @@ find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f
 %{_libdir}/pkgconfig/pycairo.pc

 %changelog
+* Sat Sep 07 2013 Tomas Dabasinskas <tdabasin> - 1.8.10-8
+- Enabling xcb and xpyb
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng.org> - 1.8.10-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild



Many thanks,
Tomas