Accepting request 43757 from home:vuntz:branches:GNOME:Factory
Copy from home:vuntz:branches:GNOME:Factory/librsvg via accept of submit request 43757 revision 7. Request was accepted with message: auto-approving myself, to make it easier for the next batch of reviews OBS-URL: https://build.opensuse.org/request/show/43757 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=23
This commit is contained in:
parent
b90298d9b6
commit
8f3919b75b
@ -1,2 +1,5 @@
|
|||||||
librsvg
|
librsvg-2-2
|
||||||
supplements "packageand(librsvg:gtk2-<targettype>)"
|
gdk-pixbuf-loader-rsvg
|
||||||
|
supplements "packageand(librsvg-2-2-<targettype>:gdk-pixbuf-<targettype>)"
|
||||||
|
post "%gdk_pixbuf_loader_post"
|
||||||
|
postun "%gdk_pixbuf_loader_postun"
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e82fb920901e211a54cff5df88c327bedec8565b324e2f529f428f492361c60f
|
|
||||||
size 485744
|
|
3
librsvg-2.31.0.tar.bz2
Normal file
3
librsvg-2.31.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:320b61ef5e6d65624f3733a83134df012a4156ed7f7ae38a6ed19febe1bfa732
|
||||||
|
size 514232
|
41
librsvg-gdk-pixbuf-query-loaders-64.patch
Normal file
41
librsvg-gdk-pixbuf-query-loaders-64.patch
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
Index: librsvg-2.31.0/configure.in
|
||||||
|
===================================================================
|
||||||
|
--- librsvg-2.31.0.orig/configure.in
|
||||||
|
+++ librsvg-2.31.0/configure.in
|
||||||
|
@@ -273,10 +273,10 @@ gdk_pixbuf_moduledir=
|
||||||
|
if test "$enable_pixbuf_loader" = "yes"; then
|
||||||
|
PKG_CHECK_MODULES([GDK_PIXBUF],[gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED])
|
||||||
|
|
||||||
|
- AC_PATH_PROG([GDK_PIXBUF_QUERYLOADERS],[gdk-pixbuf-query-loaders],[none])
|
||||||
|
+ AC_PATH_PROG([GDK_PIXBUF_QUERYLOADERS],[gdk-pixbuf-query-loaders-64],[none])
|
||||||
|
|
||||||
|
if test "x$GDK_PIXBUF_QUERYLOADERS" = "xnone"; then
|
||||||
|
- AC_MSG_ERROR([gdk-pixbuf-query-loaders not found in path])
|
||||||
|
+ AC_MSG_ERROR([gdk-pixbuf-query-loaders-64 not found in path])
|
||||||
|
fi
|
||||||
|
|
||||||
|
# First try the standalone gdk-pixbuf
|
||||||
|
Index: librsvg-2.31.0/configure
|
||||||
|
===================================================================
|
||||||
|
--- librsvg-2.31.0.orig/configure
|
||||||
|
+++ librsvg-2.31.0/configure
|
||||||
|
@@ -13186,8 +13186,8 @@ $as_echo "yes" >&6; }
|
||||||
|
:
|
||||||
|
fi
|
||||||
|
|
||||||
|
- # Extract the first word of "gdk-pixbuf-query-loaders", so it can be a program name with args.
|
||||||
|
-set dummy gdk-pixbuf-query-loaders; ac_word=$2
|
||||||
|
+ # Extract the first word of "gdk-pixbuf-query-loaders-64", so it can be a program name with args.
|
||||||
|
+set dummy gdk-pixbuf-query-loaders-64; ac_word=$2
|
||||||
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||||
|
$as_echo_n "checking for $ac_word... " >&6; }
|
||||||
|
if test "${ac_cv_path_GDK_PIXBUF_QUERYLOADERS+set}" = set; then :
|
||||||
|
@@ -13229,7 +13229,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
|
if test "x$GDK_PIXBUF_QUERYLOADERS" = "xnone"; then
|
||||||
|
- as_fn_error "gdk-pixbuf-query-loaders not found in path" "$LINENO" 5
|
||||||
|
+ as_fn_error "gdk-pixbuf-query-loaders-64 not found in path" "$LINENO" 5
|
||||||
|
fi
|
||||||
|
|
||||||
|
# First try the standalone gdk-pixbuf
|
@ -1,3 +1,97 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 21 15:06:21 CEST 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.31.0:
|
||||||
|
+ bgo#337979: text size not rendered correctly
|
||||||
|
+ bgo#545158: Segfault or bad rendering when displaying a SVG
|
||||||
|
file
|
||||||
|
+ bgo#614556: Background pixbuf in filter process should not be
|
||||||
|
created if it's not needed.
|
||||||
|
+ bgo#616018: cairo-freetype font rendering code should be
|
||||||
|
removed.
|
||||||
|
+ bgo#620130: Decode base64 inplace
|
||||||
|
+ bgo#620238: crashes rending a trivial file
|
||||||
|
+ bgo#620592: Use correct free func
|
||||||
|
+ bgo#620649: Simplify code by using g_clear_error
|
||||||
|
+ bgo#620693: presentation attributes in svg element are ignored
|
||||||
|
+ bgo#620822: Build fails with make -jx"
|
||||||
|
+ bgo#621699: make librsvg gio friendly
|
||||||
|
+ bgo#622790: use standalone gdk-pixbuf
|
||||||
|
+ bgo#623383: crash on rsvg-gobject.c:141, in instance_dispose
|
||||||
|
function
|
||||||
|
- Add librsvg-gdk-pixbuf-query-loaders-64.patch to fix the build on
|
||||||
|
x86_64, since gdk-pixbuf-query-loaders is renamed to
|
||||||
|
gdk-pixbuf-query-loaders-64 there.
|
||||||
|
- Remove coreutils PreReq.
|
||||||
|
- Change gtk2-devel, libcroco-devel, libgsf-devel BuildRequires to
|
||||||
|
pkgconfig() BuildRequires: cairo, fontconfig, freetype2,
|
||||||
|
gdk-pixbuf-2.0, glib-2.0, gio-2.0, gtk+-2.0, libcroco-0.6,
|
||||||
|
libgsf-1, libxml-2.0, pangoft2.
|
||||||
|
- Add pkgconfig(gtk+-3.0) BuildRequires.
|
||||||
|
- Remove the cairo-devel, libcroco-devel, glib2-devel, gtk2-devel,
|
||||||
|
libgsf-devel Requires in devel package: pkgconfig() Requires will
|
||||||
|
automatically get added now.
|
||||||
|
- Version the Provides/Obsoletes of librsvg2 and librsvg2-devel in
|
||||||
|
librsvg-2-2 and librsvg-devel to avoid rpmlint warning.
|
||||||
|
- Split the gdk-pixbuf loader in a gdk-pixbuf-loader-rsvg
|
||||||
|
subpackage (that gets installed automatically when gdk-pixbuf is
|
||||||
|
installed thanks to a Supplements).
|
||||||
|
- Create a librsvg-2-2 subpackage that provides/obsoletes librsvg
|
||||||
|
(since the main package is empty), and follow the shared library
|
||||||
|
policy.
|
||||||
|
- Create gtk2-engine-svg and gtk3-engine-svg subpackages,
|
||||||
|
containing the svg-based theme engines.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 8 18:53:22 CEST 2010 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.26.3:
|
||||||
|
+ bgo#143300: wrong bounding box when importing SVG
|
||||||
|
+ bgo#403274: text in thumbnail too large
|
||||||
|
+ bgo#404976: Unicode decomposed chars are not rendered well
|
||||||
|
+ bgo#524690: text alignment incorrect with text-anchor:end
|
||||||
|
+ bgo#545158: Segfault or bad rendering when displaying a SVG
|
||||||
|
file
|
||||||
|
+ bgo#563933: corrupted rendering of a card in 'Paris' aisleriot
|
||||||
|
card theme
|
||||||
|
+ bgo#564527: rsvg_handle_get_dimensions_sub weird behaviour
|
||||||
|
+ bgo#564544: shape-rendering crispEdges property is antialiasing
|
||||||
|
line elements
|
||||||
|
+ bgo#566433: Could not read a valid svg file (inkspace read it)
|
||||||
|
+ bgo#579286: This SVG-File crashes nautilus/rsvg-view
|
||||||
|
+ bgo#581491: rsvg rendering is broken when encounters a 0px
|
||||||
|
styled <text>
|
||||||
|
+ bgo#589612: EOG error when loading a large SVG
|
||||||
|
+ bgo#592207: Object cannot be rendered with more than 1 CSS {}
|
||||||
|
rule
|
||||||
|
+ bgo#597873: glib-mkenums cannot be invoked when GLib is
|
||||||
|
uninstalled.
|
||||||
|
+ bgo#597988: incorrect pkgconfig file let's others fail to
|
||||||
|
detect librsvg
|
||||||
|
+ bgo#598151: Incorrect rendering of svg file
|
||||||
|
+ bgo#608575: Hang on particular SVG input
|
||||||
|
+ bgo#612951: SVG not rendered if header contains width or height
|
||||||
|
in percentage
|
||||||
|
+ bgo#614123: librsvg builds tests even if tests are not run
|
||||||
|
+ bgo#614555: should remove unused rsvg_filter_adobe_blend
|
||||||
|
function
|
||||||
|
+ bgo#614566: Needless G_OBJECT macro should be removed.
|
||||||
|
+ bgo#614606: !important is not respected
|
||||||
|
+ bgo#614643: does not handle comma separated CSS selector
|
||||||
|
without libcroco
|
||||||
|
+ bgo#614703: Need tests for get_dimensions.
|
||||||
|
+ bgo#614704: css style doesn't override presentation attributes
|
||||||
|
+ bgo#614730: Rendering not disabled for 0 sized objects
|
||||||
|
+ bgo#614866: tests for CSS handling
|
||||||
|
+ bgo#615490: rsvg-view should scale image size by default if the
|
||||||
|
image has huge canvas.
|
||||||
|
+ bgo#615699: rsvg-view should show zoom ratio.
|
||||||
|
+ bgo#615701: class directive in svg element is not used at all
|
||||||
|
+ bgo#615715: .class#id type selector is not supported.
|
||||||
|
+ bgo#616187: rsvg-view crashes when open a svg image
|
||||||
|
+ bgo#616835: Fix linking with pedantic linkers
|
||||||
|
+ bgo#617163: !important directive support without libcroco.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 30 11:58:42 CEST 2010 - vuntz@opensuse.org
|
Tue Mar 30 11:58:42 CEST 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
126
librsvg.spec
126
librsvg.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package librsvg (Version 2.26.2)
|
# spec file for package librsvg (Version 2.31.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -19,29 +19,50 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: librsvg
|
Name: librsvg
|
||||||
Version: 2.26.2
|
Version: 2.31.0
|
||||||
Release: 1
|
Release: 1
|
||||||
License: LGPLv2.1+
|
License: GPLv2+
|
||||||
Summary: A Library for Rendering SVG Data
|
Summary: A Library for Rendering SVG Data
|
||||||
Url: http://librsvg.sourceforge.net/
|
Url: http://librsvg.sourceforge.net/
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Source: ftp://ftp.gnome.org/pub/GNOME/sources/librsvg/2.18/%{name}-%{version}.tar.bz2
|
Source: ftp://ftp.gnome.org/pub/GNOME/sources/librsvg/2.18/%{name}-%{version}.tar.bz2
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
|
# PATCH-FIX-OPENSUSE librsvg-gdk-pixbuf-query-loaders-64.patch vuntz@opensuse.org -- Fix check for gdk-pixbuf-query-loaders on 64bit systems
|
||||||
|
Patch0: librsvg-gdk-pixbuf-query-loaders-64.patch
|
||||||
Patch1: env-paths.diff
|
Patch1: env-paths.diff
|
||||||
BuildRequires: gtk2-devel
|
BuildRequires: pkgconfig(cairo)
|
||||||
BuildRequires: libcroco-devel
|
BuildRequires: pkgconfig(fontconfig)
|
||||||
BuildRequires: libgsf-devel
|
BuildRequires: pkgconfig(freetype2)
|
||||||
PreReq: coreutils
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||||
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
|
BuildRequires: pkgconfig(gtk+-2.0)
|
||||||
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
|
BuildRequires: pkgconfig(libcroco-0.6)
|
||||||
|
BuildRequires: pkgconfig(libgsf-1)
|
||||||
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
|
BuildRequires: pkgconfig(pangoft2)
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains a library to render SVG (scalable vector
|
||||||
|
graphics) data. This format has been specified by the W3C (see
|
||||||
|
http://www.w3c.org).
|
||||||
|
|
||||||
|
%package -n librsvg-2-2
|
||||||
|
License: GPLv2+
|
||||||
|
Summary: A Library for Rendering SVG Data
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: librsvg-64bit
|
Obsoletes: librsvg-64bit
|
||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
Provides: librsvg2
|
Provides: librsvg2 = %{name}
|
||||||
Obsoletes: librsvg2
|
Obsoletes: librsvg2 < %{name}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Provides: librsvg = %{name}
|
||||||
|
Obsoletes: librsvg < %{name}
|
||||||
|
|
||||||
%description
|
%description -n librsvg-2-2
|
||||||
This package contains a library to render SVG (scalable vector
|
This package contains a library to render SVG (scalable vector
|
||||||
graphics) data. This format has been specified by the W3C (see
|
graphics) data. This format has been specified by the W3C (see
|
||||||
http://www.w3c.org).
|
http://www.w3c.org).
|
||||||
@ -50,9 +71,9 @@ http://www.w3c.org).
|
|||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Include Files and Libraries mandatory for Development
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Provides: librsvg2-devel
|
Provides: librsvg2-devel = %{version}
|
||||||
Obsoletes: librsvg2-devel
|
Obsoletes: librsvg2-devel < %{version}
|
||||||
Requires: %{name} = %{version} cairo-devel libcroco-devel glib2-devel gtk2-devel libgsf-devel
|
Requires: %{name} = %{version}
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: librsvg-devel-64bit
|
Obsoletes: librsvg-devel-64bit
|
||||||
@ -63,6 +84,36 @@ Obsoletes: librsvg-devel-64bit
|
|||||||
This package contains all necessary include files and libraries needed
|
This package contains all necessary include files and libraries needed
|
||||||
to develop applications that require these.
|
to develop applications that require these.
|
||||||
|
|
||||||
|
%package -n gdk-pixbuf-loader-rsvg
|
||||||
|
License: LGPLv2.1+
|
||||||
|
Summary: A Library for Rendering SVG Data -- gdk-pixbuf loader
|
||||||
|
Group: System/Libraries
|
||||||
|
Supplements: packageand(librsvg-2-2:gdk-pixbuf)
|
||||||
|
%gdk_pixbuf_loader_requires
|
||||||
|
|
||||||
|
%description -n gdk-pixbuf-loader-rsvg
|
||||||
|
This package contains a library to render SVG (scalable vector
|
||||||
|
graphics) data. This format has been specified by the W3C (see
|
||||||
|
http://www.w3c.org).
|
||||||
|
|
||||||
|
This package provides a librsvg-based gdk-pixbuf loader.
|
||||||
|
|
||||||
|
%package -n gtk2-engine-svg
|
||||||
|
License: LGPLv2.1+
|
||||||
|
Summary: SVG-based GTK+ 2 Theme Engine
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n gtk2-engine-svg
|
||||||
|
This package provides a librsvg-based GTK+ 2 theme engine.
|
||||||
|
|
||||||
|
%package -n gtk3-engine-svg
|
||||||
|
License: LGPLv2.1+
|
||||||
|
Summary: SVG-based GTK+ 3 Theme Engine
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n gtk3-engine-svg
|
||||||
|
This package provides a librsvg-based GTK+ 3 theme engine.
|
||||||
|
|
||||||
%package -n rsvg-view
|
%package -n rsvg-view
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Summary: SVG View using the GNOME Render SVG library
|
Summary: SVG View using the GNOME Render SVG library
|
||||||
@ -76,6 +127,11 @@ http://www.w3c.org).
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%if "%_lib" == "lib64"
|
||||||
|
%patch0 -p1
|
||||||
|
# don't have configure auto-regenerated
|
||||||
|
touch aclocal.m4
|
||||||
|
%endif
|
||||||
%patch1
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -91,34 +147,52 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post -n librsvg-2-2 -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
touch var/adm/SuSEconfig/run-gtk
|
|
||||||
|
|
||||||
%postun
|
%post -n gdk-pixbuf-loader-rsvg
|
||||||
/sbin/ldconfig
|
%gdk_pixbuf_loader_post
|
||||||
touch var/adm/SuSEconfig/run-gtk
|
|
||||||
|
|
||||||
%files
|
%postun -n librsvg-2-2 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n gdk-pixbuf-loader-rsvg
|
||||||
|
%gdk_pixbuf_loader_postun
|
||||||
|
|
||||||
|
%files -n librsvg-2-2
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%{_libdir}/gtk-2.0/*/*/*.so
|
|
||||||
|
%files -n gdk-pixbuf-loader-rsvg
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-svg.so
|
||||||
|
|
||||||
|
%files -n gtk2-engine-svg
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/gtk-2.0/*/engines/libsvg.so
|
||||||
|
%dir %{_datadir}/themes/bubble
|
||||||
|
%{_datadir}/themes/bubble/gtk-2.0/
|
||||||
|
|
||||||
|
%files -n gtk3-engine-svg
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/gtk-3.0/*/engines/libsvg-3.so
|
||||||
|
%dir %{_datadir}/themes/bubble
|
||||||
|
%{_datadir}/themes/bubble/gtk-3.0/
|
||||||
|
|
||||||
%files -n rsvg-view
|
%files -n rsvg-view
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/rsvg
|
%{_bindir}/rsvg
|
||||||
%{_bindir}/rsvg-convert
|
%{_bindir}/rsvg-convert
|
||||||
%{_bindir}/rsvg-view
|
%{_bindir}/rsvg-view
|
||||||
%{_datadir}/pixmaps/*.svg
|
%{_bindir}/rsvg-view-3
|
||||||
%doc %{_mandir}/man?/*.*
|
%{_datadir}/pixmaps/svg-viewer.svg
|
||||||
|
%doc %{_mandir}/man?/rsvg.1*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/librsvg-2
|
%{_includedir}/librsvg-2.0/
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_datadir}/gtk-doc/html/*
|
%{_datadir}/gtk-doc/html/rsvg-2.0/
|
||||||
# Own these repositories to not depend on gtk-doc while building:
|
# Own these repositories to not depend on gtk-doc while building:
|
||||||
%dir %{_datadir}/gtk-doc
|
%dir %{_datadir}/gtk-doc
|
||||||
%dir %{_datadir}/gtk-doc/html
|
%dir %{_datadir}/gtk-doc/html
|
||||||
|
Loading…
Reference in New Issue
Block a user