[i3lock/f17: 2/2] Build without cairo support on F17, no xcb cairo backend there

Martin Preisler mpreisle at fedoraproject.org
Wed Jun 6 14:33:34 UTC 2012


commit d9413b6e0a28846fa41328e1bda413c52c8760e0
Author: Martin Preisler <mpreisle at redhat.com>
Date:   Wed Jun 6 16:31:32 2012 +0200

    Build without cairo support on F17, no xcb cairo backend there

 i3lock.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/i3lock.spec b/i3lock.spec
index 4e159fc..1f98fdc 100644
--- a/i3lock.spec
+++ b/i3lock.spec
@@ -1,6 +1,6 @@
 Name:           i3lock
 Version:        2.4.1
-Release:        1
+Release:        2
 Summary:        Simple X display locker
 
 Group:          User Interface/Desktops
@@ -13,7 +13,6 @@ BuildRequires:  libX11-devel
 BuildRequires:  pam-devel
 BuildRequires:  libXext-devel
 BuildRequires:  libXpm-devel
-BuildRequires:  cairo-devel
 BuildRequires:  libev-devel
 BuildRequires:  libxcb-devel
 BuildRequires:  xcb-util-keysyms-devel
@@ -41,7 +40,7 @@ sed \
 
 %build
 # we have to add libev cflags because the Makefile doesn't list them
-CFLAGS="%{optflags} `pkg-config --cflags libev`" make %{?_smp_mflags}
+CFLAGS="%{optflags} `pkg-config --cflags libev`" make NOLIBCAIRO=y %{?_smp_mflags}
 
 
 %install
@@ -67,6 +66,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Wed Jun 06 2012 Martin Preisler <mpreisle at redhat.com> - 2.4.1-2
+- Don't build with cairo support, cairo in f17 doesn't have the required XCB backend
+
 * Wed Jun 06 2012 Martin Preisler <mpreisle at redhat.com - 2.4.1-1
 - Updated to upstream stable 2.4.1 release
 


More information about the scm-commits mailing list