[packages/cairo] - up to 1.12.4; enable GL by default

arekm arekm at pld-linux.org
Sun Oct 7 07:26:12 CEST 2012


commit 8e5484895a772b2accbaf433f5ce9a425c4f2864
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Oct 7 07:26:08 2012 +0200

    - up to 1.12.4; enable GL by default

 cairo-link.patch | 10 +++++-----
 cairo.spec       |  9 +++++----
 2 files changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/cairo.spec b/cairo.spec
index c193192..3935caf 100644
--- a/cairo.spec
+++ b/cairo.spec
@@ -2,7 +2,7 @@
 # Conditional build:
 %bcond_without	apidocs		# disable gtk-doc
 %bcond_without	svg		# disable SVG support (to boostrap librsvg)
-%bcond_with	gl		# enable OpenGL support
+%bcond_without	gl		# enable OpenGL support
 %if "%{pld_release}" == "ac"
 %bcond_with	xcb		# XCB backend
 %else
@@ -13,12 +13,12 @@
 Summary:	Cairo - multi-platform 2D graphics library
 Summary(pl.UTF-8):	Cairo - wieloplatformowa biblioteka graficzna 2D
 Name:		cairo
-Version:	1.12.2
-Release:	10
+Version:	1.12.4
+Release:	1
 License:	LGPL v2.1 or MPL v1.1
 Group:		Libraries
 Source0:	http://cairographics.org/releases/%{name}-%{version}.tar.xz
-# Source0-md5:	87649eb75789739d517c743e94879e51
+# Source0-md5:	a64bb8774a1e476e5cdd69e635794dfb
 Patch0:		%{name}-link.patch
 URL:		http://cairographics.org/
 BuildRequires:	autoconf >= 2.63
@@ -247,6 +247,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/cairo
 %exclude %{_includedir}/cairo/cairo-gobject.h
 %{_pkgconfigdir}/cairo.pc
+%{?with_gl:%{_pkgconfigdir}/cairo-egl.pc}
 %{?with_gl:%{_pkgconfigdir}/cairo-gl.pc}
 %{?with_gl:%{_pkgconfigdir}/cairo-glx.pc}
 %{_pkgconfigdir}/cairo-fc.pc
diff --git a/cairo-link.patch b/cairo-link.patch
index 39c36aa..8bce68a 100644
--- a/cairo-link.patch
+++ b/cairo-link.patch
@@ -1,11 +1,11 @@
---- cairo-1.8.10/configure.ac.orig	2010-02-19 19:38:03.000000000 +0100
-+++ cairo-1.8.10/configure.ac	2010-02-23 08:25:04.000000000 +0100
-@@ -43,7 +43,7 @@
+--- cairo-1.12.4/configure.ac~	2012-09-13 13:38:21.000000000 +0200
++++ cairo-1.12.4/configure.ac	2012-10-07 07:13:25.814449494 +0200
+@@ -71,7 +71,7 @@ CAIRO_ENABLE_SURFACE_BACKEND(xlib, Xlib,
  		     if test "x$no_x" = xyes; then
  		       use_xlib="no (requires X development libraries)"
  		     else
--		       xlib_NONPKGCONFIG_LIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
-+		       xlib_NONPKGCONFIG_LIBS="$X_LIBS -lX11 $X_EXTRA_LIBS"
+-		       xlib_NONPKGCONFIG_LIBS="$X_PRE_LIBS $X_LIBS -lX11 -lXext $X_EXTRA_LIBS"
++		       xlib_NONPKGCONFIG_LIBS="$X_LIBS -lX11 -lXext $X_EXTRA_LIBS"
  		       xlib_NONPKGCONFIG_CFLAGS=$X_CFLAGS
  		     fi])
  ])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cairo.git/commitdiff/8e5484895a772b2accbaf433f5ce9a425c4f2864



More information about the pld-cvs-commit mailing list