SHA256
1
0
forked from pool/cairo
cairo/cairo.spec

406 lines
14 KiB
RPMSpec
Raw Normal View History

#
# spec file for package cairo (Version 1.8.6)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: cairo
BuildRequires: freetype2-devel
BuildRequires: gtk-doc
BuildRequires: libpng-devel
BuildRequires: pkg-config
BuildRequires: xorg-x11-devel
BuildRequires: xorg-x11-libxcb-devel
# These libraries are needed only for tests.
# Do not enable tests in build systems, it causes build loop!
#BuildRequires: librsvg-devel poppler-devel
License: LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
Group: Development/Libraries/X11
Summary: Vector Graphics Library with Cross-Device Output Support
Url: http://cairographics.org/
Version: 1.8.6
Release: 2
Source: %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM cairo-lcd-filter-fdo10301.patch fdo#10301 mboman@suse.de - fix_lcd_filtering
Patch0: cairo-lcd-filter-fdo10301.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Last present in SuSE Linux 10.0 (and NLD9):
Obsoletes: libpixman <= 0.1.1
Provides: libpixman <= 0.1.1
# bug437293
%ifarch ppc64
Obsoletes: cairo-64bit
%endif
#
%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
License: LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
Summary: Development environment for cairo
Group: Development/Libraries/X11
Requires: %{name} = %{version} freetype2-devel fontconfig-devel libpng-devel xorg-x11-devel xorg-x11-libXrender-devel xorg-x11-libX11-devel xorg-x11-libxcb-devel
# Last present in SuSE Linux 10.0 (and NLD9):
Obsoletes: libpixman-devel <= 0.1.1
Provides: libpixman-devel <= 0.1.1
# bug437293
%ifarch ppc64
Obsoletes: cairo-devel-64bit
%endif
#
%description devel
This package contains all files necessary to build binaries using
cairo.
Authors:
--------
Carl D. Worth <cworth@isi.edu>
%package doc
License: LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
Summary: Documentation for cairo
Group: Development/Libraries/X11
Requires: %{name} = %{version}
%description doc
This package contains the documentation for cairo.
Authors:
--------
Carl D. Worth <cworth@isi.edu>
%prep
%setup -q
%patch0 -p1
%build
autoreconf -f -i
# Only for tests: --enable-pdf --enable-svg
%configure \
--with-pic \
--enable-ps \
--enable-xcb \
--disable-gtk-doc \
--disable-static
%{__make} %{?jobs:-j %jobs}
%install
%makeinstall
%if 0%{?suse_version} > 1110
%{__rm} %{buildroot}/%{_libdir}/*.la
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
%{__rm} -rf ${RPM_BUILD_ROOT}
%files
%defattr(-, root, root)
%doc AUTHORS COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1 ChangeLog NEWS README
%{_libdir}/libcairo.so.*
%files devel
%defattr(-, root, root)
%doc PORTING_GUIDE
%{_includedir}/cairo
%{_libdir}/libcairo.so
%{_libdir}/pkgconfig/*.pc
%if 0%{?suse_version} <= 1110
%{_libdir}/*.la
%endif
%files doc
%defattr(-, root, root)
%{_datadir}/gtk-doc/html/*
%changelog
* Sun Feb 15 2009 mboman@suse.de
- Remove bugzilla-104365.patch. Symptoms as described
in bnc#104365 are no longer an issue.
- Remove cairo-ac.patch. Not needed anymore
- Replace cairo-1.4.10-lcd-filter-1.patch with
cairo-lcd-filter-fdo10301.patch and updated so that it applied to
our version of cairo.
* Wed Jan 21 2009 msuman@suse.de
- Continue to provide the "la" files for SUSE releases <= 11.1
* Tue Jan 13 2009 crrodriguez@suse.de
- remove static libraries and "la" files
* Sat Dec 20 2008 mboman@suse.de
- Update to version 1.8.6:
+ Many API changes, fixes and other updates. See NEWS for full details
* Wed Dec 10 2008 olh@suse.de
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
(bnc#437293)
* Mon Dec 08 2008 mboman@suse.de
- Update to version 1.8.4:
+ Many API changes, fixes and other updates. See NEWS for full details
* Tue Nov 11 2008 ro@suse.de
- SLE-11 uses PPC64 instead of PPC, adapt baselibs.conf
* Tue Nov 04 2008 maw@suse.de
- Disable the glitz backend (bnc#429280).
* Mon Nov 03 2008 vuntz@novell.com
- Remove cairo-1.0.2-depth-fix-1.patch: it's fixed upstream and I
trust upstream more than us about the right fix :-)
- Remove cairo-pixman-version.patch: not needed anymore.
* Thu Oct 30 2008 olh@suse.de
- obsolete old -XXbit packages (bnc#437293)
* Tue Sep 30 2008 mboman@suse.de
- Update to version 1.8.0:
+ Many API changes. See NEWS for full details
+ cairo-xlib: Improved performance with X server without Render
+ cairo-ft: respecting FC_FT_FACE
+ cairo-directfb: backend improvements
+ Misc other fixes
* Tue Sep 23 2008 maw@suse.de
- Add cairo-pixman-version.patch.
* Mon Sep 22 2008 maw@suse.de
- Update to version 1.7.6:
+ Build improvements
+ API changes since 1.7.4:
* Remove cairo_font_options_set_lcd_filter and
cairo_font_options_get_lcd_filter
* Replace cairo_has_show_glyphs with
cairo_surface_has_show_glyphs
* Add cairo_text_cluster_flags_t to
cairo_show_text_glyphs, cairo_scaled_font_text_to_glyphs,
and cairo_user_scaled_font_text_to_glyphs_func_t
* Note that there have been no API changes with respect to
previous stable versions of cairo (1.0.x, 1.2.x, 1.4.x, or
1.6.x).
+ Bugs fixed: bmo453199#c5, bfo#16819
+ Misc other fixes.
* Wed Aug 27 2008 mboman@novell.com
- Update to version 1.7.4:
+ Including the missing header file cairo-user-font-private.h
+ Improvements around cairo text API.
+ New API allowing the user of cairo API to provide drawings for glyphs
in a font.
+ show_text_glyphs - new API
+ LCD subpixel filtering using FreeType
+ Toy font face constructor and getter
+ FreeType: respecting FC_FT_FACE
+ PS/PDF: More efficient output
+ Xlib: Dithering
+ Xlib: Avoid rendering glyphs out of surface bounds
+ Xlib: Improved performance with Xrender-less X servers
+ Directfb: backend improvements
+ Countless bugs have been fixed and optimizations made
* Mon Jun 09 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 "win32 printing" 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.
* 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
- added baselibs.conf file to build xxbit packages
for multilib support
* 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.
* Fri Dec 21 2007 maw@suse.de
- 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.
* Wed Jul 04 2007 sbrabec@suse.cz
- 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
* Mon Jun 18 2007 maw@suse.de
- Add %%run_ldconfig to %%post and %%postun sections.
* Mon Mar 26 2007 sbrabec@suse.cz
- Disabled DirectFB by default (#256775).
- Ported bugzilla-104365.patch.
* Tue Mar 13 2007 sbrabec@suse.cz
- Updated to version 1.4.0:
* Performance improvements.
* API additions.
* Many bug fixes.
* Documentation improvements.
- Enabled XCB and DirectFB backends.
* Fri Feb 02 2007 sbrabec@suse.cz
- Removed references to /opt/gnome.
- Fixed devel dependencies.
* Fri Jan 26 2007 jhargadon@suse.de
- removed patch cairo-remove-requires-private.patch (#237155)
* Tue Jan 23 2007 ro@suse.de
- drop requires for gnome-filesystem
* Tue Oct 24 2006 jhargadon@suse.de
- update to version 1.2.4
- fixed several rendering bugs
- add cairo-1.2.4-lcd-filter-1.patch to resolve bug #213989
* Thu Sep 14 2006 sbrabec@suse.cz
- Create correct dependencies in older products.
* Thu Aug 17 2006 jhargadon@suse.de
- update to version 1.2.2
- Fix crashes with BGR X servers
- Fix the "disappearing text" bug
- Fix broken image fallback scaling
- Fix inadvertent semantic change of font matrix translation
- Fix create_similar to preserve fallback resolution and font options
* Wed Aug 16 2006 gekker@suse.de
- Disable gtk-doc, it comes prebuilt and this decreases build deps
* Fri Jul 28 2006 gekker@suse.de
- 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
* Fri May 12 2006 joeshaw@suse.de
- Add a patch to fix a crash in Nautilus, backported from 1.0.4.
bnc #174152
* Fri Apr 28 2006 mfabian@suse.de
- Bugzilla #104365: delete fontconfig pattern elements before
trying to add them if the intention is to override default
settings.
* Thu Mar 23 2006 gekker@suse.de
- Fixes cairo crash in evolution with specific mails (#159675)
- CVE-2006-0528
* Fri Jan 27 2006 ro@suse.de
- use -fstack-protector (merged from meissner)
* Fri Jan 27 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 25 2006 sbrabec@suse.cz
- Removed Xlib version fb repeating picture bug check (#100469).
* Mon Jan 23 2006 dreveman@suse.de
- Fix 16bpp issue.
* Wed Jan 11 2006 sbrabec@suse.cz
- Do not require libpixman, it's included now.
- Obsolete no longer needed libpixman.
* Wed Nov 23 2005 gekker@suse.de
- Fix broken build (Thanks to Richard Guenther for the patch).
* Tue Nov 01 2005 sbrabec@suse.cz
- Updated to version 1.0.2.
* Tue Oct 04 2005 sbrabec@suse.cz
- Enabled ps and pdf backends (#120049).
* Fri Sep 09 2005 sbrabec@suse.cz
- Re-enabled glitz backend (#116075).
* Fri Sep 02 2005 matz@suse.de
- Fix last change.
* Fri Sep 02 2005 gekker@suse.de
- Remove Requires.private from the cairo.pc file as it causes
build failures in gcc.
* Thu Sep 01 2005 gekker@suse.de
- Update to released version 1.0.0
- Remove upsteamed patch
* Tue Aug 30 2005 mfabian@suse.de
- 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
* Mon Aug 29 2005 mfabian@suse.de
- Bugzilla #113545: add patch by Zhe Su to support embedded
bitmaps.
* Thu Aug 18 2005 kukuk@suse.de
- RPM can calculate dependencies much better than using a
hardcoded list
* Wed Aug 17 2005 gekker@suse.de
- Update to version 0.9.2
* Wed Aug 03 2005 sbrabec@suse.cz
- Xlib version fb repeating picture bug check update (#100469).
* Tue Aug 02 2005 gekker@suse.de
- Fix requirements
* Mon Aug 01 2005 gekker@suse.de
- Updated to version 0.6.0.
* Wed Jun 01 2005 sbrabec@suse.cz
- Updated to version 0.5.0.
* Wed Jun 01 2005 sbrabec@suse.cz
- Fixed devel requirements.
* Mon May 09 2005 sbrabec@suse.cz
- Packaged license files.
* Mon May 09 2005 sbrabec@suse.cz
- Updated to version 0.4.0.
* Wed Jan 26 2005 sbrabec@suse.cz
- Updated to version 0.3.0.
* Wed Jan 26 2005 meissner@suse.de
- Added libpng-devel-packages to nfb #49052
* Wed May 19 2004 clahey@suse.de
- Updated to 0.1.23.
* Tue Apr 20 2004 uli@suse.de
- initial package