SHA256
1
0
forked from pool/cairo
OBS User unknown 2008-04-14 15:23:15 +00:00 committed by Git OBS Bridge
parent 382fdbbd4f
commit afe36978ac
3 changed files with 49 additions and 9 deletions

20
cairo-ac.patch Normal file
View File

@ -0,0 +1,20 @@
--- configure.in
+++ configure.in
@@ -20,6 +20,7 @@ AM_INIT_AUTOMAKE([1.7])
dnl ===========================================================================
# libtool shared library version
+m4_pattern_allow([^LT_(CURRENT|REVISION|AGE)$])dnl
# Increment if the interface has additions, changes, removals.
LT_CURRENT=13
@@ -56,7 +57,9 @@ AC_PATH_PROG(XARGS, xargs)
dnl ===========================================================================
AC_PROG_CC
+AC_PROG_CXX
AC_PROG_CPP
+AM_PROG_CC_C_O
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL dnl required version (1.4) DON'T REMOVE!
AC_STDC_HEADERS

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Apr 14 12:57:44 CEST 2008 - aj@suse.de
- Remove dependency on gtk-doc and own the directories instead.
- Properly provide libpixman.
- Change ldconfig usage in post scripts.
-------------------------------------------------------------------
Mon Apr 14 11:54:13 CEST 2008 - schwab@suse.de
- Fix configure script with patch cairo-ac.patch.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de

View File

@ -23,15 +23,14 @@ BuildRequires: DirectFB-devel
# These libraries are needed only for tests. # These libraries are needed only for tests.
# Do not enable tests in build systems, it causes build loop! # Do not enable tests in build systems, it causes build loop!
#BuildRequires: librsvg-devel poppler-devel #BuildRequires: librsvg-devel poppler-devel
# Needed only for directory ownership:
BuildRequires: gtk-doc
License: LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL) License: LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
Group: Development/Libraries/X11 Group: Development/Libraries/X11
Summary: Vector Graphics Library with Cross-Device Output Support Summary: Vector Graphics Library with Cross-Device Output Support
Url: http://cairographics.org/ Url: http://cairographics.org/
Version: 1.4.14 Version: 1.4.14
Release: 18 Release: 20
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Patch1: cairo-ac.patch
# This fixes a problem with libpixman getting the depth wrong for some # This fixes a problem with libpixman getting the depth wrong for some
# 16bpp image formats but still render things correctly. Using # 16bpp image formats but still render things correctly. Using
# surface->depth instead of image->depth for the ximage was a quick way to # surface->depth instead of image->depth for the ximage was a quick way to
@ -44,7 +43,8 @@ Patch6: bugzilla-104365.patch
Patch7: cairo-1.4.10-lcd-filter-1.patch Patch7: cairo-1.4.10-lcd-filter-1.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Last present in SuSE Linux 10.0 (and NLD9): # Last present in SuSE Linux 10.0 (and NLD9):
Obsoletes: libpixman Obsoletes: libpixman <= 0.1.1
Provides: libpixman <= 0.1.1
%description %description
Cairo is a vector graphics library with cross-device output support. Cairo is a vector graphics library with cross-device output support.
@ -75,7 +75,8 @@ Requires: xorg-x11-libxcb-devel
%endif %endif
%endif %endif
# Last present in SuSE Linux 10.0 (and NLD9): # Last present in SuSE Linux 10.0 (and NLD9):
Obsoletes: libpixman-devel Obsoletes: libpixman-devel <= 0.1.1
Provides: libpixman-devel <= 0.1.1
%description devel %description devel
This package contains all files necessary to build binaries using This package contains all files necessary to build binaries using
@ -104,6 +105,7 @@ Authors:
%prep %prep
%setup -q %setup -q
%patch1
%patch4 %patch4
%patch6 -p1 %patch6 -p1
# %patch7 -p1 # %patch7 -p1
@ -130,11 +132,9 @@ make %{?jobs:-j %jobs}
%install %install
%makeinstall %makeinstall
%post %post -p /sbin/ldconfig
%run_ldconfig
%postun %postun -p /sbin/ldconfig
%run_ldconfig
%clean %clean
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
@ -154,9 +154,17 @@ rm -rf ${RPM_BUILD_ROOT}
%files doc %files doc
%defattr(-, root, root) %defattr(-, root, root)
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/* %{_datadir}/gtk-doc/html/*
%changelog %changelog
* Mon Apr 14 2008 aj@suse.de
- Remove dependency on gtk-doc and own the directories instead.
- Properly provide libpixman.
- Change ldconfig usage in post scripts.
* Mon Apr 14 2008 schwab@suse.de
- Fix configure script with patch cairo-ac.patch.
* Thu Apr 10 2008 ro@suse.de * Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages - added baselibs.conf file to build xxbit packages
for multilib support for multilib support