2007-01-16 00:06:30 +01:00
#
2008-06-22 02:26:02 +02:00
# spec file for package cairo (Version 1.6.4)
2007-01-16 00:06:30 +01:00
#
2008-02-01 21:08:33 +01:00
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
2007-01-16 00:06:30 +01:00
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
2008-04-10 13:09:49 +02:00
2007-01-16 00:06:30 +01:00
Name : cairo
2007-07-05 00:06:37 +02:00
# Use rpmbuild -D 'DIRECTFB_SUPPORT 1' to build wíth DirectFB support.
2007-03-27 01:26:10 +02:00
BuildRequires : freetype2-devel glitz-devel libpng-devel pkg-config xorg-x11-devel
2007-03-15 01:22:13 +01:00
%if %suse_version > 1020
BuildRequires : xorg-x11-libxcb-devel
%endif
2007-07-05 00:06:37 +02:00
%if 0%{?DIRECTFB_SUPPORT}
2007-03-27 01:26:10 +02:00
BuildRequires : DirectFB-devel
%endif
2007-03-15 01:22:13 +01:00
# These libraries are needed only for tests.
# Do not enable tests in build systems, it causes build loop!
#BuildRequires: librsvg-devel poppler-devel
2007-12-22 19:32:36 +01:00
License : LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
2007-01-16 00:06:30 +01:00
Group : Development/Libraries/X11
Summary : Vector Graphics Library with Cross-Device Output Support
2007-12-22 19:32:36 +01:00
Url : http://cairographics.org/
2008-06-22 02:26:02 +02:00
Version : 1.6.4
Release : 1
2007-02-04 18:20:20 +01:00
Source : %{name} -%{version} .tar.bz2
2008-04-14 17:23:15 +02:00
Patch1 : cairo-ac.patch
2007-03-27 01:26:10 +02:00
# This fixes a problem with libpixman getting the depth wrong for some
# 16bpp image formats but still render things correctly. Using
# surface->depth instead of image->depth for the ximage was a quick way to
# avoid this problem.
# It's not the appropriate fix and should probably not go upstream.
# libpixmap should be fixed if it hasn't already.
2008-06-22 02:26:02 +02:00
# PATCH-NEEDS-REBASE cairo-1.0.2-depth-fix-1.patch -- Well, it probably doesn't actually need a rebasing, but the comment above says it wrong, but it appears to have been landed upstream anyway.
2007-01-16 00:06:30 +01:00
Patch4 : cairo-1.0.2-depth-fix-1.patch
2008-06-22 02:26:02 +02:00
# PATCH-NEEDS-REBASE bugzilla-104365.patch bnc104365 -- it needs a rename too!
2007-01-16 00:06:30 +01:00
Patch6 : bugzilla-104365.patch
2008-06-22 02:26:02 +02:00
# PATCH-NEEDS-REBASE cairo-1.4.10-lcd-filter-1.patch
2007-07-05 00:06:37 +02:00
Patch7 : cairo-1.4.10-lcd-filter-1.patch
2007-01-16 00:06:30 +01:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2007-02-04 18:20:20 +01:00
# Last present in SuSE Linux 10.0 (and NLD9):
2008-04-14 17:23:15 +02:00
Obsoletes : libpixman <= 0.1.1
Provides : libpixman <= 0.1.1
2007-01-16 00:06:30 +01:00
%description
Cairo is a vector graphics library with cross-device output support.
Currently supported output targets include the X Window System,
in-memory image buffers, and PostScript. Cairo is designed to produce
identical output on all output media while taking advantage of display
hardware acceleration when available.
Authors:
--------
Carl D. Worth <cworth@isi.edu>
%package devel
2008-04-10 13:09:49 +02:00
License : LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
2007-01-16 00:06:30 +01:00
Summary : Development environment for cairo
Group : Development/Libraries/X11
2007-03-15 01:22:13 +01:00
Requires : %{name} = %{version} freetype2-devel fontconfig-devel xorg-x11-devel
2007-03-27 01:26:10 +02:00
Requires : libpng-devel glitz-devel
2007-07-05 00:06:37 +02:00
%if 0%{?DIRECTFB_SUPPORT}
2007-03-27 01:26:10 +02:00
Requires : DirectFB-devel
%endif
2008-06-22 02:26:02 +02:00
### %if %(rpm -q --queryformat=%%{version} xorg-x11-devel | sed 's/\..*$//') >= 7
2007-02-04 18:20:20 +01:00
Requires : xorg-x11-libXrender-devel xorg-x11-libX11-devel
2007-03-15 01:22:13 +01:00
%if %suse_version > 1020
Requires : xorg-x11-libxcb-devel
%endif
2008-06-22 02:26:02 +02:00
### %endif
2007-02-04 18:20:20 +01:00
# Last present in SuSE Linux 10.0 (and NLD9):
2008-04-14 17:23:15 +02:00
Obsoletes : libpixman-devel <= 0.1.1
Provides : libpixman-devel <= 0.1.1
2007-01-16 00:06:30 +01:00
%description devel
This package contains all files necessary to build binaries using
cairo.
Authors:
--------
Carl D. Worth <cworth@isi.edu>
%package doc
2008-04-10 13:09:49 +02:00
License : LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
2007-03-27 01:26:10 +02:00
Summary : Documentation for cairo
2007-01-16 00:06:30 +01:00
Group : Development/Libraries/X11
Requires : %{name} = %{version}
%description doc
2007-03-27 01:26:10 +02:00
This package contains the documentation for cairo.
2007-01-16 00:06:30 +01:00
Authors:
--------
Carl D. Worth <cworth@isi.edu>
%prep
2007-03-15 01:22:13 +01:00
%setup -q
2008-04-14 17:23:15 +02:00
%patch1
2008-06-22 02:26:02 +02:00
# %patch4
# %patch6 -p1
2007-12-22 19:32:36 +01:00
# %patch7 -p1
2007-01-16 00:06:30 +01:00
%build
2007-02-04 18:20:20 +01:00
autoreconf -f -i
2007-01-16 00:06:30 +01:00
%if %suse_version > 1000
2007-02-04 18:20:20 +01:00
export CFLAGS=" $RPM_OPT_FLAGS - f s t a c k - p r o t e c t o r "
2007-01-16 00:06:30 +01:00
%endif
2007-03-15 01:22:13 +01:00
# xcb-renderutil is not yet available in openSUSE 10.2
# Only for tests: --enable-pdf --enable-svg
2007-02-04 18:20:20 +01:00
%configure \
2007-01-16 00:06:30 +01:00
--enable-glitz\
2007-07-05 00:06:37 +02:00
%if 0%{?DIRECTFB_SUPPORT}
2007-03-15 01:22:13 +01:00
--enable-directfb\
2007-03-27 01:26:10 +02:00
%endif
2007-01-16 00:06:30 +01:00
--enable-ps\
2007-03-15 01:22:13 +01:00
%if %suse_version > 1020
--enable-xcb\
%endif
2007-01-16 00:06:30 +01:00
--disable-gtk-doc
make %{?jobs:-j %jobs}
%install
2007-02-04 18:20:20 +01:00
%makeinstall
2007-01-16 00:06:30 +01:00
2008-04-14 17:23:15 +02:00
%post -p /sbin/ldconfig
2007-06-19 02:21:14 +02:00
2008-04-14 17:23:15 +02:00
%postun -p /sbin/ldconfig
2007-06-19 02:21:14 +02:00
2007-01-16 00:06:30 +01:00
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr (-, root, root)
2008-06-22 02:26:02 +02:00
# %doc AUTHORS COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1 ChangeLog NEWS README ROADMAP TODO
%doc AUTHORS COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1 ChangeLog NEWS README
2007-01-16 00:06:30 +01:00
%{_libdir} /libcairo.so.*
%files devel
%defattr (-, root, root)
2007-03-15 01:22:13 +01:00
%doc PORTING_GUIDE
2007-02-04 18:20:20 +01:00
%{_includedir} /cairo
2007-01-16 00:06:30 +01:00
%{_libdir} /libcairo.so
2007-02-04 18:20:20 +01:00
%{_libdir} /libcairo.*a
2007-01-16 00:06:30 +01:00
%{_libdir} /pkgconfig/*.pc
%files doc
%defattr (-, root, root)
2008-04-14 17:23:15 +02:00
%dir %{_datadir} /gtk-doc
%dir %{_datadir} /gtk-doc/html
2007-02-04 18:20:20 +01:00
%{_datadir} /gtk-doc/html/*
2007-01-16 00:06:30 +01:00
2007-03-15 01:22:13 +01:00
%changelog
2008-06-22 02:26:02 +02:00
* Tue Jun 10 2008 maw@suse.de
- Update to version 1.6.4:
+ Improved PDF and PostScript output
+ Support for arbitrary X server visuals
+ A new Quartz backend and a new " w i n 3 2 p r i n t i n g " backend
+ Many bug fixes
+ For a fuller account of what's new, see the NEWS file
included in the distribution
- Tag patches; temporarily disable several pending rebasing.
2008-04-14 17:23:15 +02:00
* 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.
2008-04-10 13:09:49 +02:00
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
2008-02-01 21:08:33 +01:00
* Mon Jan 28 2008 maw@suse.de
- Update to version 1.4.14:
+ Fixes backported from the 1.5 development branch:
* Fix a regression (which first appeared in 1.4.12) where
stroking under a large scale would sometimes incorrectly
replace a miter join with a bevel join
+ Fix handling of fonts that contain a mixture of outline and
bitmapped glyphs; there was a change in this handling in
1.4.12 that improved some cases and also regressed other
cases; now, all cases should be handled quite well
+ Fix xlib backend to not consider recent X server release as
having a buggy repeat implementation in the Render extension
+ Fix several bugs in cairo's PostScript output; these include
making the PostScript output more compatible with recent
versions of ghostscript that are more strict about Type 3
fonts, for example.
2008-04-10 13:09:49 +02:00
* Fri Dec 21 2007 maw@suse.de
2007-12-22 19:32:36 +01:00
- Update to version 1.4.12:
+ Avoid overflow when allocating large buffers
+ Fix crash with cairo_pattern_set_user_data
+ Fix broken locking in cairo-ft error path
+ Avoid crash when cleaning up after Render extension
+ Avoid crash for zero-sized bitmap glyph
+ Avoid crash with type-1 fonts and ft and atsui enabled
+ Fix many error-handling cases in the Quartz/ATSUI code
+ Eliminate cairo_stroke crash with scaling near zero
+ Fix PDF linear gradients without stops at 0.0 and 1.0
+ Fix PDF CFF subsetting to work with Apple Preview
+ Report proper errors on out-of-memory on win32
+ Fix EXTEND_NONE gradients for cairo-quartz
+ Fix odd-number-of-dashes dashing for cairo-quartz
+ Fix erroneous results from cairo_stroke_extents
+ Force non-AA text when bitmap strikes are available
+ Fix cairo-atsui font metrics
+ Avoid drawing shutdown for glyph-not-found in font
+ Don't raise an error for creating an empty path
+ Free glyph surfaces after uploading to X server cache.
2008-02-01 21:08:33 +01:00
* Wed Jul 04 2007 sbrabec@suse.cz
2007-07-05 00:06:37 +02:00
- Updated to version 1.4.10:
* Eliminate X errors that were killing OO.o
* Use IncludeInferiors when using xlib surface as a source
* Optimize drawing of many rectangles
* Thread-safe surface-cache for solid patterns
* Surface cache for solid patterns
* Internal cleanup of error handling
* Repaired mutex initialization
* PDF Improvements
* Performance optimizations
* More malloc reduction
* Fix a crash due to a LOCK vs. UNLOCK typo
* Backend-specific fixes
* Miscellaneous fixes
2008-02-01 21:08:33 +01:00
* Mon Jun 18 2007 maw@suse.de
2007-06-19 02:21:14 +02:00
- Add %%run_ldconfig to %%post and %%postun sections.
2008-02-01 21:08:33 +01:00
* Mon Mar 26 2007 sbrabec@suse.cz
2007-03-27 01:26:10 +02:00
- Disabled DirectFB by default (#256775).
- Ported bugzilla-104365.patch.
2008-02-01 21:08:33 +01:00
* Tue Mar 13 2007 sbrabec@suse.cz
2007-03-15 01:22:13 +01:00
- Updated to version 1.4.0:
* Performance improvements.
* API additions.
* Many bug fixes.
* Documentation improvements.
- Enabled XCB and DirectFB backends.
2008-02-01 21:08:33 +01:00
* Fri Feb 02 2007 sbrabec@suse.cz
2007-02-04 18:20:20 +01:00
- Removed references to /opt/gnome.
- Fixed devel dependencies.
2008-02-01 21:08:33 +01:00
* Fri Jan 26 2007 jhargadon@suse.de
2007-01-26 23:03:59 +01:00
- removed patch cairo-remove-requires-private.patch (#237155)
2008-04-10 13:09:49 +02:00
* Tue Jan 23 2007 ro@suse.de
2007-01-23 01:50:36 +01:00
- drop requires for gnome-filesystem
2008-04-10 13:09:49 +02:00
* Wed Oct 25 2006 jhargadon@suse.de
2007-01-16 00:06:30 +01:00
- update to version 1.2.4
- fixed several rendering bugs
- add cairo-1.2.4-lcd-filter-1.patch to resolve bug #213989
2008-02-01 21:08:33 +01:00
* Thu Sep 14 2006 sbrabec@suse.cz
2007-01-16 00:06:30 +01:00
- Create correct dependencies in older products.
2008-04-10 13:09:49 +02:00
* Fri Aug 18 2006 jhargadon@suse.de
2007-01-16 00:06:30 +01:00
- update to version 1.2.2
- Fix crashes with BGR X servers
- Fix the " d i s a p p e a r i n g t e x t " bug
- Fix broken image fallback scaling
- Fix inadvertent semantic change of font matrix translation
- Fix create_similar to preserve fallback resolution and font options
2008-02-01 21:08:33 +01:00
* Wed Aug 16 2006 gekker@suse.de
2007-01-16 00:06:30 +01:00
- Disable gtk-doc, it comes prebuilt and this decreases build deps
2008-02-01 21:08:33 +01:00
* Fri Jul 28 2006 gekker@suse.de
2007-01-16 00:06:30 +01:00
- Update to version 1.2.0
- Remove upstreamed patches
- API addition: cairo_xlib_surface_get_width,cairo_xlib_surface_get_height
- new features:
Dots can now be drawn by using CAIRO_LINE_CAP_ROUND with
degenerate sub-paths, (cairo_move_to() followed by either
cairo_close_path() or a cairo_line_to() to the same location).
- many bugfixes
2008-04-10 13:09:49 +02:00
* Sat May 13 2006 joeshaw@suse.de
2007-01-16 00:06:30 +01:00
- Add a patch to fix a crash in Nautilus, backported from 1.0.4.
bnc #174152
2008-02-01 21:08:33 +01:00
* Fri Apr 28 2006 mfabian@suse.de
2007-01-16 00:06:30 +01:00
- Bugzilla #104365: delete fontconfig pattern elements before
trying to add them if the intention is to override default
settings.
2008-04-10 13:09:49 +02:00
* Fri Mar 24 2006 gekker@suse.de
2007-01-16 00:06:30 +01:00
- Fixes cairo crash in evolution with specific mails (#159675)
- CVE-2006-0528
2008-04-10 13:09:49 +02:00
* Fri Jan 27 2006 ro@suse.de
2007-01-16 00:06:30 +01:00
- use -fstack-protector (merged from meissner)
2008-04-10 13:09:49 +02:00
* Fri Jan 27 2006 mls@suse.de
2007-01-16 00:06:30 +01:00
- converted neededforbuild to BuildRequires
2008-02-01 21:08:33 +01:00
* Wed Jan 25 2006 sbrabec@suse.cz
2007-01-16 00:06:30 +01:00
- Removed Xlib version fb repeating picture bug check (#100469).
2008-02-01 21:08:33 +01:00
* Mon Jan 23 2006 dreveman@suse.de
2007-01-16 00:06:30 +01:00
- Fix 16bpp issue.
2008-02-01 21:08:33 +01:00
* Wed Jan 11 2006 sbrabec@suse.cz
2007-01-16 00:06:30 +01:00
- Do not require libpixman, it's included now.
- Obsolete no longer needed libpixman.
2008-02-01 21:08:33 +01:00
* Wed Nov 23 2005 gekker@suse.de
2007-01-16 00:06:30 +01:00
- Fix broken build (Thanks to Richard Guenther for the patch).
2008-02-01 21:08:33 +01:00
* Tue Nov 01 2005 sbrabec@suse.cz
2007-01-16 00:06:30 +01:00
- Updated to version 1.0.2.
2008-02-01 21:08:33 +01:00
* Tue Oct 04 2005 sbrabec@suse.cz
2007-01-16 00:06:30 +01:00
- Enabled ps and pdf backends (#120049).
2008-02-01 21:08:33 +01:00
* Fri Sep 09 2005 sbrabec@suse.cz
2007-01-16 00:06:30 +01:00
- Re-enabled glitz backend (#116075).
2008-04-10 13:09:49 +02:00
* Sat Sep 03 2005 matz@suse.de
2007-01-16 00:06:30 +01:00
- Fix last change.
2008-04-10 13:09:49 +02:00
* Sat Sep 03 2005 gekker@suse.de
2007-01-16 00:06:30 +01:00
- Remove Requires.private from the cairo.pc file as it causes
build failures in gcc.
2008-02-01 21:08:33 +01:00
* Thu Sep 01 2005 gekker@suse.de
2007-01-16 00:06:30 +01:00
- Update to released version 1.0.0
- Remove upsteamed patch
2008-02-01 21:08:33 +01:00
* Tue Aug 30 2005 mfabian@suse.de
2007-01-16 00:06:30 +01:00
- Bugzilla #113602: add patch from bugzilla.gnome.org to
fix crashes in pangocairo. See also:
http://bugzilla.gnome.org/show_bug.cgi?id=313685
http://bugzilla.gnome.org/attachment.cgi?id=50878&action=view
2008-02-01 21:08:33 +01:00
* Mon Aug 29 2005 mfabian@suse.de
2007-01-16 00:06:30 +01:00
- Bugzilla #113545: add patch by Zhe Su to support embedded
bitmaps.
2008-02-01 21:08:33 +01:00
* Thu Aug 18 2005 kukuk@suse.de
2007-01-16 00:06:30 +01:00
- RPM can calculate dependencies much better than using a
hardcoded list
2008-02-01 21:08:33 +01:00
* Wed Aug 17 2005 gekker@suse.de
2007-01-16 00:06:30 +01:00
- Update to version 0.9.2
2008-02-01 21:08:33 +01:00
* Wed Aug 03 2005 sbrabec@suse.cz
2007-01-16 00:06:30 +01:00
- Xlib version fb repeating picture bug check update (#100469).
2008-04-10 13:09:49 +02:00
* Tue Aug 02 2005 gekker@suse.de
2007-01-16 00:06:30 +01:00
- Fix requirements
2008-02-01 21:08:33 +01:00
* Mon Aug 01 2005 gekker@suse.de
2007-01-16 00:06:30 +01:00
- Updated to version 0.6.0.
2008-02-01 21:08:33 +01:00
* Wed Jun 01 2005 sbrabec@suse.cz
2007-01-16 00:06:30 +01:00
- Updated to version 0.5.0.
2008-02-01 21:08:33 +01:00
* Wed Jun 01 2005 sbrabec@suse.cz
2007-01-16 00:06:30 +01:00
- Fixed devel requirements.
2008-02-01 21:08:33 +01:00
* Mon May 09 2005 sbrabec@suse.cz
2007-01-16 00:06:30 +01:00
- Packaged license files.
2008-02-01 21:08:33 +01:00
* Mon May 09 2005 sbrabec@suse.cz
2007-01-16 00:06:30 +01:00
- Updated to version 0.4.0.
2008-02-01 21:08:33 +01:00
* Wed Jan 26 2005 sbrabec@suse.cz
2007-01-16 00:06:30 +01:00
- Updated to version 0.3.0.
2008-02-01 21:08:33 +01:00
* Wed Jan 26 2005 meissner@suse.de
2007-01-16 00:06:30 +01:00
- Added libpng-devel-packages to nfb #49052
2008-02-01 21:08:33 +01:00
* Wed May 19 2004 clahey@suse.de
2007-01-16 00:06:30 +01:00
- Updated to 0.1.23.
2008-02-01 21:08:33 +01:00
* Tue Apr 20 2004 uli@suse.de
2007-01-16 00:06:30 +01:00
- initial package