Mailinglist Archive: opensuse-commit (1314 mails)

< Previous Next >
commit libgxps for openSUSE:Factory
Hello community,

here is the log from the commit of package libgxps for openSUSE:Factory checked
in at 2012-01-05 19:13:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgxps (Old)
and /work/SRC/openSUSE:Factory/.libgxps.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgxps", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgxps/libgxps.changes 2011-11-16
17:19:24.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libgxps.new/libgxps.changes 2012-01-05
19:13:36.000000000 +0100
@@ -1,0 +2,46 @@
+Sun Nov 20 21:33:34 UTC 2011 - dimstar@xxxxxxxxxxxx
+
+- Update to version 0.2.0:
+ + API changes:
+ - This release contains a small API break. Even though all of
+ the XPS documents we have for testing use integer numbers for
+ the page size, the XPS Specification says that page size is a
+ double value. Functions gxps_page_get_size() and
+ gxps_document_get_page_size() now return page width and page
+ height as gdouble values instead of guint.
+ + New features:
+ - Add support for PolyQuadraticBezierSegment figures
+ - Add support for Smooth Cubic Bézier curve
+ - Initial implementation of ICC based colors. Only CMYK colors
+ are supported for now
+ - Support Opacity for SolidColorBrush elements (bgo#663472)
+ - Add support for scRGB color syntax
+ - Implement Quadratic Bézier curve
+ - Support OpacityMask for Glyphs elements (bgo#66347)
+ - Support OpacityMask for Canvas elements (bgo#663475)
+ - Support opacity for ImageBrush elements (bgo#663471)
+ - Support opacity for Glyphs elements (bgo#662654)
+ - Support opacity for Canvas elements (bgo#662653)
+ - Support opacity for Path elements (bgo#662652)
+ - Support opacity for LinearGradientBrush and
+ RadialGradientBrush elements (bgo#662655)
+ + Bug fixes:
+ - Fix parser error messages for invalid content (bgo#663899)
+ + Tools:
+ - Add xpstojpeg tool for converting XPS documents to JPEG
+ - Add xpstosvg tool for converting XPS documents to SVG
+ - Add xpstops tool for converting XPS documents to PostScript
+ - Add xpstopdf tool for converting XPS documents to PDF
+ - Add xpstopng tool for converting XPS documents to PNG
+ + Updated documentation.
+- Add libgxps-link-libm.patch: Add missing libm linking.
+- Add gnome-common BuildRequires and call to gnome-autogen.sh for
+ above patch.
+- Add pkgconfig(cairo-pdf), pkgconfig(cairo-ps),
+ pkgconfig(cairo-svg), pkgconfig(lcms2) and pkgconfig(libpng)
+ BuildRequires: new dependencies upstream.
+- Rename libgxps1 subpackage to libgxps2, following upstream
+ soversion change.
+- Create a tools subpackage to distribute the various new tools.
+
+-------------------------------------------------------------------

Old:
----
libgxps-0.1.0.tar.bz2

New:
----
libgxps-0.2.0.tar.bz2
libgxps-link-libm.patch

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

Other differences:
------------------
++++++ libgxps.spec ++++++
--- /var/tmp/diff_new_pack.v8XBz4/_old 2012-01-05 19:13:37.000000000 +0100
+++ /var/tmp/diff_new_pack.v8XBz4/_new 2012-01-05 19:13:37.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package libgxps
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -16,42 +16,57 @@
#

Name: libgxps
-Version: 0.1.0
-Release: 1
-License: LGPL-2.1+
+Version: 0.2.0
+Release: 0
Summary: Library for rendering XPS documents
-Url: https://live.gnome.org/libgxps
+License: LGPL-2.1+
Group: System/Libraries
-Source0: %{name}-%{version}.tar.bz2
+Url: https://live.gnome.org/libgxps
+Source0:
http://download.gnome.org/sources/libgxps/0.2/%{name}-%{version}.tar.bz2
+# PATCH-FIX-UPSTREAM libgxps-link-libm.patch bgo#664439 dimstar@xxxxxxxxxxxx
-- Add missing libm linking parameters.
+Patch0: libgxps-link-libm.patch
+# Needed by patch0
+BuildRequires: gnome-common
BuildRequires: gobject-introspection-devel
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: pkgconfig(cairo) >= 1.10.0
+BuildRequires: pkgconfig(cairo-pdf)
+BuildRequires: pkgconfig(cairo-ps)
+BuildRequires: pkgconfig(cairo-svg)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(gio-2.0) >= 2.24
BuildRequires: pkgconfig(glib-2.0) >= 2.24
BuildRequires: pkgconfig(gobject-2.0) >= 2.24
+BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libarchive) >= 2.8.0
+BuildRequires: pkgconfig(libpng)
BuildRoot: %{_tmppath}/%{name}-%{version}-build

%description
libgxps is a GObject based library for handling and rendering XPS
documents.

-%package -n libgxps1
-License: LGPL-2.1+
+%package -n libgxps2
Summary: Library for rendering XPS documents
Group: System/Libraries

-%description -n libgxps1
+%description -n libgxps2
+libgxps is a GObject based library for handling and rendering XPS
+documents.
+
+%package tools
+Summary: Library for rendering XPS documents -- Tools
+Group: Productivity/Publishing/Other
+
+%description tools
libgxps is a GObject based library for handling and rendering XPS
documents.

%package devel
-License: LGPL-2.1+
Summary: Library for rendering XPS documents -- Development Files
Group: Development/Libraries/C and C++
-Requires: libgxps1 = %{version}
+Requires: libgxps2 = %{version}

%description devel
libgxps is a GObject based library for handling and rendering XPS
@@ -59,8 +74,10 @@

%prep
%setup -q
+%patch0 -p1

%build
+NOCONFIGURE=1 gnome-autogen.sh
%configure --disable-static
make %{?_smp_mflags}

@@ -68,16 +85,24 @@
%make_install
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print

-%post -n libgxps1 -p /sbin/ldconfig
+%post -n libgxps2 -p /sbin/ldconfig

-%postun -n libgxps1 -p /sbin/ldconfig
+%postun -n libgxps2 -p /sbin/ldconfig

-%files -n libgxps1
+%files -n libgxps2
%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING NEWS README
-%{_libdir}/libgxps.so.1*
+%{_libdir}/libgxps.so.2*
%{_libdir}/girepository-1.0/GXPS-0.1.typelib

+%files tools
+%defattr(-, root, root)
+%{_bindir}/xpstojpeg
+%{_bindir}/xpstopdf
+%{_bindir}/xpstopng
+%{_bindir}/xpstops
+%{_bindir}/xpstosvg
+
%files devel
%defattr(-, root, root)
%{_includedir}/libgxps/

++++++ libgxps-0.1.0.tar.bz2 -> libgxps-0.2.0.tar.bz2 ++++++
++++ 34113 lines of diff (skipped)

++++++ libgxps-link-libm.patch ++++++
diff -ur libgxps-0.2.0/configure.ac libgxps-0.2.0.patch/configure.ac
--- libgxps-0.2.0/configure.ac 2011-11-19 19:22:57.000000000 +0100
+++ libgxps-0.2.0.patch/configure.ac 2011-11-21 08:46:15.033469729 +0100
@@ -47,6 +47,7 @@
AC_PROG_CC_STDC
AC_STDC_HEADERS
AC_C_BIGENDIAN
+LT_LIB_M

GNOME_MAINTAINER_MODE_DEFINES
GNOME_COMPILE_WARNINGS
diff -ur libgxps-0.2.0/tools/Makefile.am libgxps-0.2.0.patch/tools/Makefile.am
--- libgxps-0.2.0/tools/Makefile.am 2011-10-30 14:41:16.000000000 +0100
+++ libgxps-0.2.0.patch/tools/Makefile.am 2011-11-21 08:47:08.466029820
+0100
@@ -54,6 +54,7 @@

xpstopng_LDADD = \
libgxpstools.la \
+ $(LIBM) \
$(LIBPNG_LIBS)
endif # HAVE_LIBPNG

@@ -77,6 +78,7 @@

xpstojpeg_LDADD = \
libgxpstools.la \
+ $(LIBM) \
$(LIBJPEG)
endif # HAVE_LIBJPEG

@@ -99,6 +101,7 @@

xpstopdf_LDADD = \
libgxpstools.la \
+ $(LIBM) \
$(CAIRO_PDF_LIBS)
endif # HAVE_CAIRO_PDF

@@ -121,6 +124,7 @@

xpstops_LDADD = \
libgxpstools.la \
+ $(LIBM) \
$(CAIRO_PS_LIBS)
endif # HAVE_CAIRO_PS

@@ -143,5 +147,6 @@

xpstosvg_LDADD = \
libgxpstools.la \
+ $(LIBM) \
$(CAIRO_SVG_LIBS)
-endif # HAVE_CAIRO_SVG
\ No newline at end of file
+endif # HAVE_CAIRO_SVG
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread