- Update to 1.9.12 snapshot
- Remove now unnecessary patch
This commit is contained in:
parent
4ea3c6261e
commit
6e8a357e6a
@ -1 +1 @@
|
|||||||
cairo-1.9.10.tar.gz
|
cairo-1.9.12.tar.gz
|
||||||
|
14
cairo.spec
14
cairo.spec
@ -4,18 +4,14 @@
|
|||||||
|
|
||||||
Summary: A 2D graphics library
|
Summary: A 2D graphics library
|
||||||
Name: cairo
|
Name: cairo
|
||||||
Version: 1.9.10
|
Version: 1.9.12
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
URL: http://cairographics.org
|
URL: http://cairographics.org
|
||||||
Source0: http://cairographics.org/snapshots/%{name}-%{version}.tar.gz
|
Source0: http://cairographics.org/snapshots/%{name}-%{version}.tar.gz
|
||||||
#Source0: http://cairographics.org/releases/%{name}-%{version}.tar.gz
|
#Source0: http://cairographics.org/releases/%{name}-%{version}.tar.gz
|
||||||
License: LGPLv2 or MPLv1.1
|
License: LGPLv2 or MPLv1.1
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
|
|
||||||
# Due to libcairo potentially including C++ backends, it gets linked with g++.
|
|
||||||
# We don't enable those backends, so we can link with gcc.
|
|
||||||
Patch0: link-with-cc.patch
|
|
||||||
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: libXrender-devel
|
BuildRequires: libXrender-devel
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
@ -67,8 +63,6 @@ This package contains tools for working with the cairo graphics library.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%patch0 -p1 -b .link
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
--enable-warnings \
|
--enable-warnings \
|
||||||
@ -111,6 +105,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/cairo
|
%{_libdir}/cairo
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jul 04 2010 Benjamin Otte <otte@redhat.com> - 1.9.12-1
|
||||||
|
- Update to 1.9.12 snapshot
|
||||||
|
- Remove now unnecessary patch
|
||||||
|
|
||||||
* Sun Jul 04 2010 Benjamin Otte <otte@redhat.com> - 1.9.10-3
|
* Sun Jul 04 2010 Benjamin Otte <otte@redhat.com> - 1.9.10-3
|
||||||
- Add patch to force linking with gcc, not g++. (#606523)
|
- Add patch to force linking with gcc, not g++. (#606523)
|
||||||
|
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
--- a/src/Makefile.in 2010-06-26 15:32:39.000000000 +0200
|
|
||||||
+++ b/src/Makefile.in 2010-07-05 02:20:07.960075657 +0200
|
|
||||||
@@ -607,9 +607,9 @@
|
|
||||||
nodist_libcairo_la_OBJECTS =
|
|
||||||
libcairo_la_OBJECTS = $(am_libcairo_la_OBJECTS) \
|
|
||||||
$(nodist_libcairo_la_OBJECTS)
|
|
||||||
-libcairo_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
|
|
||||||
- $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
|
|
||||||
- $(CXXFLAGS) $(libcairo_la_LDFLAGS) $(LDFLAGS) -o $@
|
|
||||||
+libcairo_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
|
|
||||||
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CCFLAGS) \
|
|
||||||
+ $(CFLAGS) $(libcairo_la_LDFLAGS) $(LDFLAGS) -o $@
|
|
||||||
check_link_SOURCES = check-link.c
|
|
||||||
check_link_OBJECTS = check-link.$(OBJEXT)
|
|
||||||
check_link_DEPENDENCIES = libcairo.la
|
|
Loading…
Reference in New Issue
Block a user