2007-01-16 00:06:30 +01:00
|
|
|
|
#
|
|
|
|
|
# spec file for package cairo (Version 1.2.4)
|
|
|
|
|
#
|
2007-01-23 01:50:36 +01:00
|
|
|
|
# Copyright (c) 2007 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
|
|
|
|
|
|
|
|
|
|
Name: cairo
|
|
|
|
|
BuildRequires: freetype2-devel glitz-devel libpng-devel
|
2007-02-04 18:20:20 +01:00
|
|
|
|
# FIXME: Only for directory ownership:
|
|
|
|
|
BuildRequires: gtk-doc
|
2007-01-16 00:06:30 +01:00
|
|
|
|
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL), MOZILLA PUBLIC LICENSE (MPL/NPL)
|
|
|
|
|
Group: Development/Libraries/X11
|
|
|
|
|
Summary: Vector Graphics Library with Cross-Device Output Support
|
|
|
|
|
URL: http://cairographics.org/
|
|
|
|
|
Version: 1.2.4
|
2007-02-04 18:20:20 +01:00
|
|
|
|
Release: 20
|
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2007-01-16 00:06:30 +01:00
|
|
|
|
Patch2: cairo-remove-requires-private.patch
|
|
|
|
|
Patch3: cairo-defines.patch
|
|
|
|
|
Patch4: cairo-1.0.2-depth-fix-1.patch
|
|
|
|
|
Patch6: bugzilla-104365.patch
|
|
|
|
|
Patch7: cairo-1.2.4-lcd-filter-1.patch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-02-04 18:20:20 +01:00
|
|
|
|
# Last present in SuSE Linux 10.0 (and NLD9):
|
2007-01-16 00:06:30 +01:00
|
|
|
|
Obsoletes: libpixman
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
Summary: Development environment for cairo
|
|
|
|
|
Group: Development/Libraries/X11
|
|
|
|
|
Requires: %{name} = %{version} freetype2-devel fontconfig-devel xorg-x11-devel libpng-devel glitz-devel
|
2007-02-04 18:20:20 +01:00
|
|
|
|
%if %(rpm -q --queryformat=%%{version} xorg-x11-devel | sed 's/\..*$//') >= 7
|
|
|
|
|
Requires: xorg-x11-libXrender-devel xorg-x11-libX11-devel
|
2007-01-16 00:06:30 +01:00
|
|
|
|
%endif
|
2007-02-04 18:20:20 +01:00
|
|
|
|
# Last present in SuSE Linux 10.0 (and NLD9):
|
2007-01-16 00:06:30 +01:00
|
|
|
|
Obsoletes: libpixman-devel
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package contains all files necessary to build binaries using
|
|
|
|
|
cairo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Carl D. Worth <cworth@isi.edu>
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Development environment for cairo
|
|
|
|
|
Group: Development/Libraries/X11
|
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
This package contains all files necessary to build binaries using
|
|
|
|
|
cairo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Carl D. Worth <cworth@isi.edu>
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup
|
2007-01-26 23:03:59 +01:00
|
|
|
|
#%patch2
|
2007-01-16 00:06:30 +01:00
|
|
|
|
%patch3 -p1
|
|
|
|
|
%patch4
|
|
|
|
|
#%patch6 -p1
|
|
|
|
|
%patch7 -p1
|
|
|
|
|
|
|
|
|
|
%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 -fstack-protector"
|
2007-01-16 00:06:30 +01:00
|
|
|
|
%endif
|
2007-02-04 18:20:20 +01:00
|
|
|
|
%configure\
|
2007-01-16 00:06:30 +01:00
|
|
|
|
--enable-glitz\
|
|
|
|
|
--enable-ps\
|
|
|
|
|
--enable-pdf\
|
|
|
|
|
--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
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-, root, root)
|
|
|
|
|
%doc AUTHORS COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1 ChangeLog INSTALL NEWS README TODO
|
|
|
|
|
%{_libdir}/libcairo.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-, root, root)
|
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)
|
2007-02-04 18:20:20 +01:00
|
|
|
|
%{_datadir}/gtk-doc/html/*
|
2007-01-16 00:06:30 +01:00
|
|
|
|
|
|
|
|
|
%changelog -n cairo
|
2007-02-04 18:20:20 +01:00
|
|
|
|
* Fri Feb 02 2007 - sbrabec@suse.cz
|
|
|
|
|
- Removed references to /opt/gnome.
|
|
|
|
|
- Fixed devel dependencies.
|
2007-01-26 23:03:59 +01:00
|
|
|
|
* Fri Jan 26 2007 - jhargadon@suse.de
|
|
|
|
|
- removed patch cairo-remove-requires-private.patch (#237155)
|
2007-01-23 01:50:36 +01:00
|
|
|
|
* Tue Jan 23 2007 - ro@suse.de
|
|
|
|
|
- drop requires for gnome-filesystem
|
2007-01-16 00:06:30 +01:00
|
|
|
|
* 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.
|
|
|
|
|
* Fri Aug 18 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).
|
|
|
|
|
* Sat Sep 03 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
|