# # spec file for package cairo # # Copyright (c) 2015 SUSE LINUX 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/ # %define build_xcb_backend 1 %define build_gl_backend 0 Name: cairo Version: 1.14.2 Release: 1.1 Summary: Vector Graphics Library with Cross-Device Output Support License: LGPL-2.1+ or MPL-1.1 Group: System/Libraries Url: http://cairographics.org/ Source: http://cairographics.org/releases/%{name}-%{version}.tar.xz Source99: baselibs.conf # PATCH-FIX-UPSTREAM cairo-modules-no-version.patch fdo#29319 dimstar@opensuse.org -- Build modules with -module -avoid-version. Patch0: cairo-modules-no-version.patch # PATCH-FIX-OPENSUSE cairo-disable-lto.patch idoenmez@suse.de -- Disable -flto on s390{x} Patch1: cairo-disable-lto.patch # PATCH-FIX-UPSTREAM cairo-render-thin-lines.patch fdo#77298 jw@suse.com -- Fix rendering of thin lines Patch2: cairo-render-thin-lines.patch # PATCH-FIX-UPSTREAM cairo-xlib-endianness.patch fdo#63461 bnc#882951 fcrozat@suse.com -- Fix crash when client and server have different endianness Patch3: cairo-xlib-endianness.patch BuildRequires: gtk-doc # Needed by patch0 BuildRequires: libtool BuildRequires: pkg-config BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(pixman-1) >= 0.30.0 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xrender) BuildRoot: %{_tmppath}/%{name}-%{version}-build # These libraries are needed only for tests. # Do not enable tests in build systems, it causes build loop! #BuildRequires: librsvg-devel poppler-devel %if %{build_gl_backend} BuildRequires: Mesa-devel %endif %if %{build_xcb_backend} BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb-shm) %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. %package -n libcairo2 Summary: Vector Graphics Library with Cross-Device Output Support License: LGPL-2.1+ or MPL-1.1 Group: System/Libraries Provides: cairo = %{version} Obsoletes: cairo < %{version} %description -n libcairo2 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. %package -n libcairo-gobject2 Summary: Vector Graphics Library with Cross-Device Output Support License: LGPL-2.1+ or MPL-1.1 Group: System/Libraries %description -n libcairo-gobject2 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. This library contains GType declarations for Cairo types. It is also meant to support gobject-introspection binding creation. %package -n libcairo-script-interpreter2 Summary: Vector Graphics Library with Cross-Device Output Support License: LGPL-2.1+ or MPL-1.1 Group: System/Libraries %description -n libcairo-script-interpreter2 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. %package tools Summary: Vector Graphics Library with Cross-Device Output Support -- Utilities License: GPL-3.0+ Group: Development/Libraries/X11 # We need an explicit requires since nothing links to the cairo library Requires: libcairo2 = %{version} # Named changed during development of 11.4 Provides: %{name}-utils = %{version} Obsoletes: %{name}-utils < %{version} %description tools 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. This package contains various cairo utilities. %package devel Summary: Development environment for cairo License: LGPL-2.1+ or MPL-1.1 Group: Development/Libraries/X11 Requires: libcairo-gobject2 = %{version} Requires: libcairo-script-interpreter2 = %{version} Requires: libcairo2 = %{version} Provides: cairo-doc = %{version} Obsoletes: cairo-doc < %{version} %description devel This package contains all files necessary to build binaries using cairo. %prep %setup -q %patch0 -p1 %ifarch s390 s390x %patch1 -p1 %endif # fix_for_fdo77298.patch %patch2 -p1 %patch3 -p1 %build # Needed by patch0 and patch1 NOCONFIGURE=1 ./autogen.sh %configure \ --with-pic \ --enable-fc \ --enable-ft \ %if %{build_gl_backend} --enable-gl \ %endif --enable-ps \ --enable-pdf \ --enable-script \ --enable-svg \ --enable-tee \ %if %{build_xcb_backend} --enable-xcb \ %endif --enable-xlib \ --disable-gtk-doc \ --enable-static make %{?_smp_mflags} V=1 %install make DESTDIR=%{buildroot} install %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print %post -n libcairo2 -p /sbin/ldconfig %postun -n libcairo2 -p /sbin/ldconfig %post -n libcairo-gobject2 -p /sbin/ldconfig %postun -n libcairo-gobject2 -p /sbin/ldconfig %post -n libcairo-script-interpreter2 -p /sbin/ldconfig %postun -n libcairo-script-interpreter2 -p /sbin/ldconfig %files -n libcairo2 %defattr(-, root, root) %doc AUTHORS COPYING COPYING-LGPL-2.1 COPYING-MPL-1.1 ChangeLog NEWS README %{_libdir}/libcairo.so.* %files -n libcairo-gobject2 %defattr(-, root, root) %{_libdir}/libcairo-gobject.so.2* %files -n libcairo-script-interpreter2 %defattr(-, root, root) %doc util/cairo-script/COPYING %{_libdir}/libcairo-script-interpreter.so.* %files tools %defattr(-, root, root) %doc util/cairo-trace/COPYING util/cairo-trace/COPYING-GPL-3 %{_bindir}/cairo-sphinx %{_bindir}/cairo-trace %dir %{_libdir}/cairo %{_libdir}/cairo/cairo-fdr.so %{_libdir}/cairo/cairo-sphinx.so %{_libdir}/cairo/libcairo-trace.so %files devel %defattr(-, root, root) %doc PORTING_GUIDE %doc %{_datadir}/gtk-doc/html/cairo %{_includedir}/cairo/ %{_libdir}/*.so %{_libdir}/*.a %{_libdir}/cairo/*.a %{_libdir}/pkgconfig/*.pc %changelog * Sat Mar 14 2015 opensuse@mirell.de - Update to version 1.14.2: + Features: - Improve xcb's handling of per-screen subpixel ordering. If no Xft.rgba property is specified, default to the screen's subpixel order. + Performance Optimizations: - Improve performance of cpu_to_be32 and be32_to_cpu, making truetype subsetting of large fonts run about 15%% faster. + Bug fixes: - Fix unaligned access on sparc with the compact font format (CFF). Unlike truetype, all data in CFF is not aligned. (Debian bug #712836) - Fix unaligned access on sparc with tor-scan-converter's memory pool. - Fix crash when loading a PDF with a transformed image. (fdo bug #85151) - Fix regression on mingw for bigendian test due to removal of file extension for executables. (fdo bug #85120) - Fix handling of backslash in PDF interpreter (fdo bug #85662) - Fix crash in xlib and xcb renderers when swapping a 0-sized glyph - Fix bug with RTL text in PDF operators (fdo bug #86461) - Fix compilation 'cairo-path-stroke-traps.c' with MSVC8 (fdo bug #84908) - Fix crash in _fill_xrgb32_lerp_opaque_spans when a span length is negative. - Fix valgrind error by releasing pattern created by cairo_pattern_create_rgb(). - Fix valgrind errors when running cairo-test-suite. - Fix memory leak in recording surface replays (fdo bug #87898) - Fix destruction of fonts in api-special-cases test. (fdo bug #87567) - Fix duplicated surface push on similar-image, preventing trivial GTK3 program traces from being replayable, with an error message about invalid values for the size of the input. (fdo bug #73580) - Fix crash when win32 surface's image size does not cover the entire surface. (fdo bug #53121) - Fix crash due to obsolete CGFontGetGlyphPath call (fdo bug #84324) - Fix several build issues on AIX (fdo bugs #89338, #89340, [#89356], #89354) - Fix various documentation warnings and errors - Remove cairo-tor-scan-convertor.patch. It was upstreamed. * Fri Jan 9 2015 tchvatal@suse.com - Spec-cleanify - Remove the obsoletes for sle10 64bit subpackages on ppc - Remove libtool archive always * Wed Jan 7 2015 dimstar@opensuse.org - Add cairo-tor-scan-convertor.patch: tor-scan-converter: can't do_fullrow when intersection in row + 0.5subrow (fdo#85151). * Wed Oct 15 2014 zaitor@opensuse.org - Update to version 1.14.0: + Features: - Filtering improvements for the image backend, in particular down-scaling of images produces filtered images that depend on all the pixels of the source. - Improve handling of device transformation and scaling, allowing Cairo to now support scaling at a device level, permitting easier, more transparent HiDPI support. - Support JBIG2 mime data in PDF. This allows embedding of more compressed JPEG formats within PDF, rather than including the full uncompressed image. Also, reduce the number of transparency groups used by PDF to keep the file size small and viewing/printing of the PDF fast. - Expand the embedding section to include stencil mask support. - Reorder font declarations to be in natural order. - Update the Skia backend to build against current Skia. - Drop Link-Time Optimization (LTO) support from build system. - Optimize VBO size on GL to 1M and to 16k for EGL. + API changes: - cairo_surface_set_device_scale, cairo_surface_get_device_scale. - cairo_egl_device_get_display, cairo_egl_device_get_context. + Dependency changes: - Cairo now requires glib 2.14 for its gobject helper functions, and pixman 0.30 for downscaling. + Bug fixes: - Don't embed CMYK Jpeg images in svg. - Fix tests to place output in proper location. - Fix determination of alpha for all surfaces when recording. - Extend oversize check to cairo_gl_surface_create_for_texture, so an error surface is returned if the texture is too large to render to. - Fix embedding of mime data in PDF and PS files. - Remove useless error handling in *_reply() functions in XCB. - Fix a double-free exposed by multithreaded apps creating and destroying the same font concurrently (fdo#69470). - Fix corrupt stacks produced by bugs in operand emission for trace. - Fix out of bounds array access in format cache for xlib. - Don't rename glyphs used by seac operator (fdo#70364). - Fix crash on calling cairo_create with a finished surface. - Fix SSIZE_T definition problem when making with MSYS on Windows7. - Fix one off issue in gl context cleanup. - Fix usage of CAIRO_STACK_ARRAY_LENGTH. - Fix rectangle stroke with non rectilinear pen. - Fix imagemask with pattern source failure on some printers (fdo#69485). - Fix whitespace in font names. - Fix page size in generated PDFs (fdo#73452). - Fix path-currentpoint test by preserving current-point in copy_path()/append_path() sequence. - Fix generation of HTML in code docs for cairo-format-stride-for-width (fdo#63257). - Fix spelling of "tessellator" throughout code (fdo#50411). - Fix crash in pixman_image_composite32. - Fix crash when trying to modify a (const) all-clipped cairo_clip_t (fdo#75819). - Add check_composite method to all compositors, to fix crashes in the test suite. - Fix crash in Firefox when scrolling on certain pages. - Fix memory leaks found by static analysis. - Fix build of any2ppm if fork is not available. - Fix broken build for Qt backend, due to missing libstdc++. - Fix typo in two cairo_uint128 functions. Fixes potential build issues on systems without a uint128 type. - Fix build when --enable-pdf=no. - Fix cache_frozen assertions for Win32 print. - Correctly check for xcb image surface for inplace upload. - Fix webkit-based web browser crashes due to empty boxes by skipping over them when tesselating. - Make pixman, libpng, and zlib paths commandline configurable for win32 builds. - Fix image scale on Win32 when GDI scale is not identity. - Fix float endian configure test when using clang -O4. - Fix compilation with Android bionic libc. - Don't try to build util/sphinx on Windows. - Fix loss of precision when emitting joins. - Fix loss of precision and associated rendering issues in cairo-tor-scan-converter from projection onto sample grid. - Fix pixman oversampling of neighbouring edges within a cell by eliminating self-intersections for the pixman traps compositor. - Fix multi-line string splitting in PDFs. - Various cleanups and fixes to warnings, documentation, tests, and build system. Improve error handling and return value checks. Cleanup XFAIL tests and reference images. Cover recently added functionality. * Tue Jul 8 2014 fcrozat@suse.com - Add cairo-xlib-endianness.patch: fix crash when client and server have different endianness [bnc#882951, fdo#63461] * Fri Apr 11 2014 jw@suse.com - Add cairo-render-thin-lines.patch: Fix rendering of thin lines, so that inkscape can export 0.01mm lines again to PDF. Regression introduced with 1.12.3. * Wed Aug 28 2013 idonmez@suse.com - Add cairo-disable-lto.patch to disable LTO on s390{x} to fix the build. * Tue Aug 27 2013 dimstar@opensuse.org - Update to version 1.12.16: + Set the correct orientation for simple boxes with a negative scale factor. + Fix the creation of the shading dictionary in PDF. + Avoid upscaling bitmap fonts if possible. + Fix an assertion failure within the mempool allocator for shared memory. + Fix allocation size for CFF subsets. + Export cairo_matrix_t for GObject bindings. + Stop leaking the image data when loading PNGs. + Prevent an assertion failure when creating similar GL surfaces larger than supported by hardware. + Bugs fixed: fdo#61451, fdo#62885, fdo#61876, fdo#63196, fdo#697357, fdo#61592, fdo#68014, fdo#63787. - Drop cairo-reduce-buddy-assertion.patch: fixed upstream. * Mon Jul 8 2013 sbrabec@suse.cz - Add cairo-reduce-buddy-assertion.patch: Fix eog crash on assertion, after pressing Next (bnc#828074). * Sat May 25 2013 dimstar@opensuse.org - Drop cairo-libpng16-v2.patch: in its current form, this patch causes issues as that cairo.ImageSurface.create_from_png errors out with 'MemoryError' in all cases (bnc#821766). * Tue Apr 2 2013 pgajdos@suse.com - Add cairo-libpng16-v2.patch: Fix png usage with libpng 1.6: call png_set_read_user_transform_fn() before png_read_update_info() (bnc#810701). * Thu Feb 14 2013 zaitor@opensuse.org - Update to version 1.12.14: + Prevent user callbacks accessing user-data during destroy to prevent use-after-free bugs (mozilla#722975). + Use standard names for glyphs in subset fonts (PDF) (fdo#60248) + Fix detection of Win98. The logic for detecting Win98 AlphaBlend() was inverted, disabling AlphaBlend() for everyone. + Prevent numeric overflow from extrapolating polygon edges to the clip boundary and causing severe render artifacts. (fdo#60489). + Fix computation of glyph string coordinates when breaking up runs for xlib. + Fix an assertion in the win32 backend for failing to clear its similar-images (fdo#60519). - Changes from version 1.12.12: + Avoid replacing the entire image when uploading subimages (fdo#59635). + Force synchronisation for scratch SHM image buffers, so that we do not overwrite data as it is being read by X (fdo#59635). + Fix typos in detecting multisampling for the GL (MSAA) backend. + Fix a memory leak in the GL (MSAA) backend. + Fix a reference counting bug when mapping a GL surface to an image. - Changes from version 1.12.10: + Append coincident elements to the recording's surface bbtree so that the list is not corrupted and the overlapping elements lost. + Fix cairo-trace to correctly record map-to-image/unmap-image and then replay them. + Ignore MappingNotifies when running the XCB testsuite as they are sent to all clients when the keyboard changes. The testsuite would detect the unexpected event and complain. + Handle very large images in the XCB backend. + Fix a memory leak in the xlib/shm layer, and prevent use of the SHM surfaces after the display is closed (fdo#58253). + Handle resizing of bitmap fonts, in preparation for a fix to fontconfig to correctly pass on the user request for scaling. + Always include subroutine 4 (hint replacement idion) when subsetting type 1 fonts in order to prevent a crash in cgpdftops on Mac OS/X. + Fix a couple of typos in the cairo-gobject.h header files for introspection. + Prevent a mutex deadlock when freeing a scaled-glyph containing a recording-surface that itself references another scaled-glyph (fdo#54950). + Make scaled-font cache actually thread-safe and prevent use-after-frees. + Restore support for older versions of XRender. A couple of typos and a few forgotten chunks prevented the xlib compositor from running correctly with XRender < 0.10. - Enable building of the GL Backend. * Tue Nov 6 2012 dimstar@opensuse.org - Update to version 1.12.8: + Expand the sanity checking for broken combinations of XSendEvent and ShmCompletionEvent. + Notice that "The X.Org Foundation" sometimes also identifies itself as "The Xorg Foundation". + Handle various ages of libXext and its Shm headers. + Fix the invalid clipping of the source drawable when using SHM transport to upload images (fdo#56547). + Handle all Type1 postscript operators for better font compatibility (fdo#56265). + Fix a couple of memory leaks in Type1 font subsetting (fdo#56566) + Tighten the evaluation of the start/stop pen vertices, and catch a few instances where we would use a fan instead of a bevel. (fdo#56432) + Fix assumption that geometric clipping always succeeds with the span-compositor (fdo#56574) + Fix call to spline intersection when evaluating whether a stoke is visible. + Remember to copy inferior sources when using SHM to readback the surface for use as a source. - Changes from version 1.12.6: + Fix the recording surface to actually snapshot the source and so fix PDF drawing. + Calling XSendEvent with an XShmCompletionEvent is incompatabile with older Xorg servers. + Reorder CloseDisplay chain so that XShm is not reinstantiated after shutdown, causing a potential crash if the Display was immediately recreated using the same memory address. + Make sure that the Xserver has attached to the SHM segment before deleting it from the global namespace on systems that do not support deferred deletion. + Type1 subsetting support for PDF (and PS) was once again improved to work with a larger number of PDF readers. + GLESv2 build fixes and improved support for embedded GPUs. + Tweak the invisible pen detection for applications that are currently using too large values for geometric tolerance. + A build fix for older freetype libraries. - Rebase cairo-modules-no-version.patch. * Fri Oct 12 2012 dimstar@opensuse.org - Update to version 1.12.4: + Interior boxes were being dropped when amalgamating regions during tesselation (fdo#49446) + Allow building without gtk-doc installed + Invalid edge generation whilst reducing complex polygons (fdo#50852) + Stroking around tight cusps + Use locale correct formats for reading font subsetting and valid buffers (fdo#51443) + Ensure that the type1 subset includes all the glyph encodings (fdo#53040) + Upload the whole source for a repeating pattern (fdo#51910) + Fix damage tracking to handle continuation chunks corectly and so prevent crashes on win32 (fdo#53384) + Avoid emitting miter joins for degenerate line segments (fdo#407107) + Convert the relative path semgents into the backend coordinates and then back again to user coordinates (fdo#54732) + Fix extents computations for a degenerate path consisting only of a move-to (fdo#54549) + Prevent crashing on a degenerate project edge after polygon intersection (fdo#54822). - Add pkgconfig(xext) BuildRequires: new verified dependency. * Sun Apr 29 2012 dimstar@opensuse.org - Update to version 1.12.2: + Allow applications to create 0x0 xlib surfaces, such as used by LibreOffice (fdo#49118) + Trim composite extents for SOURCE/CLEAR operators to the mask. + Use fallback fonts in PDF for unhandled computed glyph widths (fdo#48349) + Handle snapshots of recording surfaces for analysing pattern extents. Fixes a regression of reporting the PDF bounding box as being the page size. + Fix allocation size for PDF pattern ids. (fdo#49089) + Fix emission of rectilinear dashed segments, with and without scaling, and application of degenerate line joins. + Clamp unbounded fixup polygons to the clip extents. + Prevent infinite loop due to rounding errors whilst incrementing along dashes. + Prevent overflow for inline a8 span filling. + Miscellaneous build fixes for Cygwin on Windows and Solaris. - Drop cairo-fix-wrong-allocation.patch: fixed upstream. * Sat Apr 21 2012 jeffm@suse.com - Add cairo-fix-wrong-allocation: fix wrong allocation in _cairo_pdf_surface_add_source_surface (bnc#758422). * Mon Mar 26 2012 zaitor@opensuse.org - Update to version 1.12.0: + Introduction of a new procedural pattern: the mesh gradient. + New API to create a callback pattern: cairo_pattern_create_raster_source. + XCB is now a supported backend. + New common API to address any surface as an image and so allow direct modification of the raster data: cairo_surface_create_similar_image, cairo_surface_map_to_image, and cairo_surface_unmap_image. + Many performance improvements. + Introduction of new antialias hints (NONE, FAST, GOOD, BEST). + Introduction of a new observation architecture: cairo_surface_observer_t. + OpenGL backend has seen significant work including the port to GLESv2 and the exploitation of advanced hardware features. - Enable build of XCB backend as it's now officially supported: set %%build_xcb_backend macro to 1. - Note that we don't build Xlib/XCB support as it's disabled by default upstream. - Also add pkgconfig(xcb-shm) BuildRequires for XCB/SHM support. - Drop cairo-fix-libs.patch: fixed upstream. * Tue Feb 14 2012 vuntz@opensuse.org - Ship additional COPYING files that come with some utilities. - Fix license of the tool subpackage: it is GPL-3.0+ (bnc#739748). - Change the group of library subpackages from Development/Libraries/X11 to System/Libraries. * Fri Dec 9 2011 coolo@suse.com - fix license to be in spdx.org format * Fri Sep 30 2011 coolo@suse.com - add libtool as buildrequire to make the spec file more reliable * Sat Sep 17 2011 jengelh@medozas.de - Remove redundant tags/sections from specfile - Use %%_smp_mflags for parallel build - Fix baselibs requires for cairo-devel and make it available * Mon Aug 29 2011 coolo@novell.com - Add cairo-fix-libs.patch: disable lto for cairo-sphinx as it breaks with -Wl,--as-needed. * Tue Feb 22 2011 vuntz@opensuse.org - Add missing libcairo-gobject2 to baselibs.conf. * Mon Dec 27 2010 dimstar@opensuse.org - Update to version 1.10.2: + fdo#31632: Fix embedding of grayscale jpegs in PS. + Fix the reported path of extents containing a curve. + Fix the compositing of unaligned boxes. + Reset the clipper in PDF upon finish. + Fix degenerates arcs to become a degenerate line. + Build support for autoconf 2.67 + Fix painting of transformed patterns in PS + fdo#24688: Fix the EPS bounding box for PS and Fix the missing content for EPS + fdo#24691: Fix regression upon changing page size in PS/PDF + Only use ActualText with PDF-1.5 documents + Fix the bbox for type1 fallbacks. + fdo#31140: Reset the color after ending the context in PDF + fdo#31062: Fix the advance of subsetted type1 fonts + Fix handling of EXTEND_NONE gradients for PDF + Restrict in-place optimisation for a8 image masks with SOURCE * Tue Sep 7 2010 vuntz@opensuse.org - Do not build the xcb backend: upstream recommends to not use it for now. - Add a build_gl_backend define to easily enable the build of the gl backend, which will add a Mesa-devel BuildRequires. It's disabled by default. - Add a build_xcb_backend define to easily enable the build of the xcb backend, which will add a pkgconfig(xcb) BuildRequires. It's disabled by default. * Mon Sep 6 2010 vuntz@opensuse.org - Update to version 1.10.0: + Compared to 1.9.14, this version contains only small fixes. + The following is the major new changes in cairo 1.10, that were already in our previous packages of 1.9. + Inclusion of cairo-trace, a tracing utility. + Many performance improvements. + Better support for printing, including file size reductions when an image is included more than once in the document. + Resurrect RGB16 format. + Add cairo_region_t. + Better interoperation with acceleration architectures, thanks to the ability to share ardware resources through the new cairo_device_t. - Update cairo-modules-no-version.patch to add use -avoid-versoin for cairo-sphinx too. - Create a libcairo-gobject2 subpackage for a gobject integration library. Add pkgconfig(gobject-2.0) BuildRequires for this. - Rename cairo-utils to cairo-tools, to follow informal packaging convention. Add appropriate Provides/Obsoletes. - Explicitly pass --enable-fc, --enable-ft to configure. - Pass --enable-tee to fix build for the fdr (flight data recorder), as well as the sphinx tool. * Wed Jul 28 2010 dimstar@opensuse.org - Update to version 1.9.14: + fdo#29008: Clip doesn't work for text on the image backend + fdo#29114: Add explicit dependency for cxx + fdo#29120, fdo#29121, fdo#29122, fdo#29124, fdo#29125: Fix regressions in reporting clip extents * Wed Jul 21 2010 vuntz@opensuse.org - Clean up update to 1.9.12. - Split main package in libcairo2, libcairo-script-interpreter2 and cairo-utils subpackages, to follow the shared library policy. Note that libcairo2 provides/obsoletes cairo. - Change freetype2-devel, libpng-devel, xorg-x11-devel, xorg-x11-libxcb-devel BuildRequires to pkgconfig() BuildRequires for: fontconfig, freetype2, libpng, pixman-1, x11, xcb, xrender. - Remove Provides/Obsoletes for libpixman <= 0.1.1 (this was for very old versions of SUSE Linux). - Remove fontconfig-devel, freetype2-devel, libpng-devel, xorg-x11-devel, xorg-x11-libX11-devel, xorg-x11-libXrender-devel, xorg-x11-libxcb-devel Requires of devel package: they're now all required with the automatically added pkgconfig(). - Fix self-obsoletion of cairo-doc. * Mon Jul 19 2010 dimstar@opensuse.org - Update to version 1.9.12: + Various API additions (see NEWS for details). + Bug fixes. + Updated documentation. - Remove gcc-c++ BuildRequires. * Thu Jul 8 2010 dimstar@opensuse.org - Update to version 1.9.10: + Fix many bugs introduced in 1.9.x releases. + Add WGL interface for cairo-gl + Include the downstream patch to honour the user's LCD filtering preferences for subpixel rendering of fonts - Changes from version 1.9.8: + Various API additions (see NEWS for details). + Backend-specific improvements: - cairo-gl: many changes - cairo-xlib: . access to the underlying connection to the Display is now thread-safe . attempt to use PolyModeImprecise when compositing trapezoids - cairo-svg: enable SVG to reference external image through the use an extended MIME data type. - Changes from version 1.9.6: + Various API additions (see NEWS for details). + Completely drop cairo-glitz. + Many improvements for drawing of dashed strokes. + Optimize spans-based renderers for repeated rows. + Backend-specific improvements: - add cairo-drm backend - start using GLSL to accelerate many operations in cairo-gl - make cairo-image faster - cairo-quartz fixes - improvement to embedding jpeg/jpeg2000 data in cairo-pdf - fix printing of rotated user fonts in cairo-ps - Changes from version 1.9.4: + Various API additions (see NEWS for details). + New cairo-test-trace utility. + Add server-side gradients to xlib backend. + New experimental backends: Qt, OpenVG, OpenGL. + Fix long-standing bug with self-intersecting strokes. - Changes from version 1.9.2: + Various API additions (see NEWS for details). + New CairoScript experimental backend. + New cairo-trace and cairo-perf-trace utilities. + Test suite overhaul. + Add polygon rasterisation. + Add copy-on-write snapshot support. + Various bug fixes. - Add gcc-c++ BuildRequires: one linker stage requires it. - Add cairo-modules-no-version.patch to build the modules not as versioned shared objects - Drop cairo-1.8.6-repeat-modes.patch and cairo-lcd-filter.patch, obsoleted by upstream changes. * Sun Feb 21 2010 vuntz@opensuse.org - Update to version 1.8.10: + General Bug fixes: - Fix path construction for the case of cairo_curve_to immediately after cairo_new_sub_path followed at some point by cairo_close_path. - Fix for cairo_push_group or cairo_pop_group with a non-empty current path. - Fix to correctly report an error if cairo_surface_set_fallback_resolution is called with a value of 0 (in either axis) (fdo#23067). - Fix to handle a cairo_arc of radius 0 as equivalent to a cairo_line_to to the center coordinate. + cairo-xlib: - Fix to correctly copy from a Window source (fdo#12996). + cairo-ft: - Fix conversion of freetype index to UCS4 value. + cairo-pdf: - Fix Type 1 subsetting to avoid generating corrupt data (lp#419143). - Fix Type 1 subsetting to correctly identify binary eexec data. - Fix Type 1 subsetting to include fixed-content portion in the embedded font. - Fix Type 1 subsetting to append "cleartomark" operator for binary fonts that don't include it. + Build fixes: - Fix to compile on OpenBSD. * Wed Dec 16 2009 jengelh@medozas.de - Package baselibs.conf as a source - Add baselib definitions for SPARC * Mon Oct 5 2009 vuntz@opensuse.org - Go back to cairo 1.8.8, for maintenance reasons. Changes from 1.8.6 that we had before: + build fixes + fix uninitialised status return within _cairo_clip_intersect_mask(). + avoid transforming nearly-degenerate matrices into degenerate matrices (bmo#467423) + a few FreeType font handling bugs were fixed (fdo#21985, fdo#21706) + ensure win32 font backend sets the return value to -1 (indicating the absent glyph) if the font index lookup for the unicode character fails (fdo#20255) + improved documentation (fdo#20095, fdo#20154, fdo#20180, fdo#20183, fdo#20182, fdo#20441) - Drop cairo-missing-include-fdo22610.patch: not needed with this version. - Add cairo-1.8.6-repeat-modes.patch: this is a patch used by Fedora and Ubuntu to improve performance. - Add cairo-lcd-filter.patch, similar to the old cairo-lcd-filter-fdo10301.patch patch we had. But we're now using the Debian/Ubuntu/Mandriva version for better maintainability. - Explicitly pass --enable-pdf to configure because we require PDF support. * Sat Aug 1 2009 captain.magnus@opensuse.org - Fix packaging bug (Use %%{_libdir}/cairo/*.so.* instead of %%dir %%{_libdir}/cairo/*.so.*) * Fri Jul 3 2009 captain.magnus@opensuse.org - Update to version 1.9.2: + Many API changes, fixes and other updates. See NEWS for full details + New experimental backend: CairoScript + New utilities: cairo-trace and cairo-perf-trace - Remove cairo-lcd-filter-fdo10301.patch. This patch was added to cairo, but later removed in commit 5d887ad5dca5af0f8216830d1b04d08a5aba9bee - Don't use autoreconf -f -i - Enable CairoScript and svg backends with configure - Add cairo-missing-include-fdo22610.patch to fix a missing include. Keeps OBS happy. * 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 8 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 4 2008 maw@suse.de - Disable the glitz backend (bnc#429280). * Mon Nov 3 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) * Mon Sep 29 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 9 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 4 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 2 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 1 2005 sbrabec@suse.cz - Updated to version 1.0.2. * Tue Oct 4 2005 sbrabec@suse.cz - Enabled ps and pdf backends (#120049). * Fri Sep 9 2005 sbrabec@suse.cz - Re-enabled glitz backend (#116075). * Fri Sep 2 2005 matz@suse.de - Fix last change. * Fri Sep 2 2005 gekker@suse.de - Remove Requires.private from the cairo.pc file as it causes build failures in gcc. * Thu Sep 1 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 3 2005 sbrabec@suse.cz - Xlib version fb repeating picture bug check update (#100469). * Tue Aug 2 2005 gekker@suse.de - Fix requirements * Mon Aug 1 2005 gekker@suse.de - Updated to version 0.6.0. * Wed Jun 1 2005 sbrabec@suse.cz - Updated to version 0.5.0. * Wed Jun 1 2005 sbrabec@suse.cz - Fixed devel requirements. * Mon May 9 2005 sbrabec@suse.cz - Packaged license files. * Mon May 9 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