Hello community,

here is the log from the commit of package cairo.2743 for openSUSE:13.1:Update 
checked in at 2014-04-22 12:45:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1:Update/cairo.2743 (Old)
 and      /work/SRC/openSUSE:13.1:Update/.cairo.2743.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cairo.2743"

Changes:
--------
New Changes file:

--- /dev/null   2014-04-17 09:46:44.096034755 +0200
+++ /work/SRC/openSUSE:13.1:Update/.cairo.2743.new/cairo.changes        
2014-04-22 12:45:04.000000000 +0200
@@ -0,0 +1,939 @@
+-------------------------------------------------------------------
+Fri Apr 11 12:57:09 UTC 2014 - j...@suse.com
+
+- Added fix_for_fdo77298.patch
+  So that inkscape can export 0.01mm lines again to PDF. Was broken in 1.12.3
+
+-------------------------------------------------------------------
+Wed Aug 28 20:42:58 UTC 2013 - idon...@suse.com
+
+- Add cairo-disable-lto.patch to disable LTO on s390{x} to fix the
+  build.
+
+-------------------------------------------------------------------
+Tue Aug 27 06:41:01 UTC 2013 - dims...@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 18:49:31 CEST 2013 - sbra...@suse.cz
+
+- Add cairo-reduce-buddy-assertion.patch: Fix eog crash on
+  assertion, after pressing Next (bnc#828074).
+
+-------------------------------------------------------------------
+Sat May 25 20:58:42 UTC 2013 - dims...@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 11:57:02 UTC 2013 - pgaj...@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 17:42:09 UTC 2013 - zai...@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 12:21:53 UTC 2012 - dims...@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 12:00:24 UTC 2012 - dims...@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 21:09:19 UTC 2012 - dims...@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.
+
++++ 742 more lines (skipped)
++++ between /dev/null
++++ and /work/SRC/openSUSE:13.1:Update/.cairo.2743.new/cairo.changes

New:
----
  baselibs.conf
  cairo-1.12.16.tar.xz
  cairo-disable-lto.patch
  cairo-modules-no-version.patch
  cairo.changes
  cairo.spec
  fix_for_fdo77298.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cairo.spec ++++++
#
# spec file for package cairo
#
# Copyright (c) 2014 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/
#


%define build_xcb_backend 1
%define build_gl_backend 1

Name:           cairo
Version:        1.12.16
Release:        0
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 
dims...@opensuse.org -- Build modules with -module -avoid-version.
Patch0:         cairo-modules-no-version.patch
# PATCH-FIX-OPENSUSE cairo-disable-lto.patch idoen...@suse.de -- Disable -flto 
on s390{x}
Patch1:         cairo-disable-lto.patch
# https://bugs.freedesktop.org/show_bug.cgi?id=77298
Patch2:         fix_for_fdo77298.patch
# 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
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.16.0
BuildRequires:  pkgconfig(x11)
%if %build_xcb_backend
BuildRequires:  pkgconfig(xcb)
BuildRequires:  pkgconfig(xcb-shm)
%endif
BuildRequires:  pkgconfig(xext)
BuildRequires:  pkgconfig(xrender)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%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}
# bug437293
%ifarch ppc64
Obsoletes:      cairo-64bit
%endif
#

%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}
# bug437293
%ifarch ppc64
Obsoletes:      cairo-devel-64bit
%endif
#

%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

%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 \
    --disable-static
make %{?_smp_mflags} V=1

%install
%makeinstall
%if 0%{?suse_version} > 1110
find %{buildroot} -type f -name "*.la" -delete -print
%endif

%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}/pkgconfig/*.pc
%if 0%{?suse_version} <= 1110
%{_libdir}/*.la
%endif

%changelog
++++++ baselibs.conf ++++++
libcairo2
  provides "cairo-<targettype> = <version>"
  obsoletes "cairo-<targettype> < <version>"
libcairo-gobject2
libcairo-script-interpreter2
cairo-devel
  requires -cairo-<targettype>
  requires "libcairo2-<targettype> = <version>"
  requires "libcairo-gobject2-<targettype> = <version>"
  requires "libcairo-script-interpreter2-<targettype> = <version>"
++++++ cairo-disable-lto.patch ++++++
Index: cairo-1.12.16/build/configure.ac.warnings
===================================================================
--- cairo-1.12.16.orig/build/configure.ac.warnings
+++ cairo-1.12.16/build/configure.ac.warnings
@@ -36,16 +36,6 @@ MAYBE_WARN="$MAYBE_WARN -erroff=E_ENUM_T
 dnl We also abuse the warning-flag facility to enable other compiler
 dnl options.  Namely, the following:
 
-dnl -flto working really needs a test link, not just a compile
-
-safe_MAYBE_WARN="$MAYBE_WARN"
-MAYBE_WARN="$MAYBE_WARN -flto"
-AC_TRY_LINK([],[
-       int main(int argc, char **argv) { return 0; }
-],[],[
-       MAYBE_WARN="$safe_MAYBE_WARN"
-])
-
 MAYBE_WARN="$MAYBE_WARN -fno-strict-aliasing -fno-common"
 
 dnl Also to turn various gcc/glibc-specific preprocessor checks
++++++ cairo-modules-no-version.patch ++++++
Index: cairo-1.12.8/util/cairo-fdr/Makefile.am
===================================================================
--- cairo-1.12.8.orig/util/cairo-fdr/Makefile.am
+++ cairo-1.12.8/util/cairo-fdr/Makefile.am
@@ -9,7 +9,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src \
 cairo_fdr_la_SOURCES = fdr.c
 cairo_fdr_la_CPPFLAGS = $(AM_CPPFLAGS)
 cairo_fdr_la_CFLAGS = $(CAIRO_CFLAGS)
-cairo_fdr_la_LDFLAGS = -module -no-undefined
+cairo_fdr_la_LDFLAGS = -module -no-undefined -avoid-version
 if CAIRO_HAS_DL
 cairo_fdr_la_LIBADD = -ldl
 endif
Index: cairo-1.12.8/util/cairo-trace/Makefile.am
===================================================================
--- cairo-1.12.8.orig/util/cairo-trace/Makefile.am
+++ cairo-1.12.8/util/cairo-trace/Makefile.am
@@ -11,7 +11,7 @@ libcairo_trace_la_SOURCES = trace.c
 libcairo_trace_la_CPPFLAGS = -DCAIRO_TRACE_OUTDIR="\"$(cairooutdir)\"" \
                          $(AM_CPPFLAGS)
 libcairo_trace_la_CFLAGS = $(CAIRO_CFLAGS) $(real_pthread_CFLAGS)
-libcairo_trace_la_LDFLAGS = -no-undefined
+libcairo_trace_la_LDFLAGS = -no-undefined -module -avoid-version
 
 libcairo_trace_la_LIBADD = $(real_pthread_LIBS) -lz
 if CAIRO_HAS_DL
Index: cairo-1.12.8/util/cairo-sphinx/Makefile.am
===================================================================
--- cairo-1.12.8.orig/util/cairo-sphinx/Makefile.am
+++ cairo-1.12.8/util/cairo-sphinx/Makefile.am
@@ -11,7 +11,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src \
 cairo_sphinx_la_SOURCES = fdr.c
 cairo_sphinx_la_CPPFLAGS = $(AM_CPPFLAGS)
 cairo_sphinx_la_CFLAGS = $(CAIRO_CFLAGS)
-cairo_sphinx_la_LDFLAGS = -module -no-undefined
+cairo_sphinx_la_LDFLAGS = -module -no-undefined -avoid-version
 if CAIRO_HAS_DL
 cairo_sphinx_la_LIBADD = -ldl
 endif
++++++ fix_for_fdo77298.patch ++++++
diff --git a/src/cairo-pen.c b/src/cairo-pen.c
index 61be0e8..8eed775 100644
--- a/src/cairo-pen.c
+++ b/src/cairo-pen.c
@@ -284,7 +284,20 @@ _cairo_pen_vertices_needed (double     tolerance,
                                                                     radius);
     int num_vertices;
 
-    if (tolerance >= 4*major_axis) { /* XXX relaxed from 2*major for inkscape 
*/
+    if (tolerance >= 100*major_axis) { /* XXX relaxed from 2*major for 
inkscape */
+       /*
+         * When we decide for num_vertices = 1, the object is not drawn.
+        * To avoid https://bugs.freedesktop.org/show_bug.cgi?id=77298
+        * we use 100*major -- this just helps us to the 0.001mm line width.
+        *
+        * The author of the 'XXX relaxed' comment above, originally used 
4*major,
+        * which is not sufficient for my inkscape lasercutter usecase.
+        *
+        * Please double check if num_vertices == 1 should never be done (for 
PDF).
+        *
+        * jnwei...@gmail.com
+        */
+       // fprintf(stderr, "tolerance=%g major_axis=%g -> num_vertices = 1\n", 
tolerance, major_axis);
        num_vertices = 1;
     } else if (tolerance >= major_axis) {
        num_vertices = 4;
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to