From 583f4e2b0215d7de06f9571ea499b521fafafccb17be109057c58a5aced112da Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 31 Aug 2007 13:55:22 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=9 --- librsvg-2.18.0.tar.bz2 | 3 --- librsvg-2.18.1.tar.bz2 | 3 +++ librsvg-64bit-warning.patch | 13 +++++++++++++ librsvg.changes | 9 +++++++++ librsvg.spec | 18 +++++++++++++----- 5 files changed, 38 insertions(+), 8 deletions(-) delete mode 100644 librsvg-2.18.0.tar.bz2 create mode 100644 librsvg-2.18.1.tar.bz2 create mode 100644 librsvg-64bit-warning.patch diff --git a/librsvg-2.18.0.tar.bz2 b/librsvg-2.18.0.tar.bz2 deleted file mode 100644 index 2b38d7e..0000000 --- a/librsvg-2.18.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4865b483e640a1950a9de2ff07260ae0ae5f534ddb72b68bed75db1e8f78527f -size 460040 diff --git a/librsvg-2.18.1.tar.bz2 b/librsvg-2.18.1.tar.bz2 new file mode 100644 index 0000000..13af3d3 --- /dev/null +++ b/librsvg-2.18.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de6d4582448bef474a9613f7b7028daf7222dd5822c6f12ad0659fbfe60b92cc +size 461160 diff --git a/librsvg-64bit-warning.patch b/librsvg-64bit-warning.patch new file mode 100644 index 0000000..c698b6d --- /dev/null +++ b/librsvg-64bit-warning.patch @@ -0,0 +1,13 @@ +Index: librsvg-2.18.1/rsvg-styles.c +=================================================================== +--- librsvg-2.18.1.orig/rsvg-styles.c ++++ librsvg-2.18.1/rsvg-styles.c +@@ -669,7 +669,7 @@ rsvg_parse_style_arg (RsvgHandle * ctx, + } else if (rsvg_css_param_match (str, "text-rendering")) { + state->has_text_rendering_type = TRUE; + +- if (!strcmp (str + arg_off, "auto" || !strcmp (str + arg_off, "default"))) ++ if (!strcmp (str + arg_off, "auto") || !strcmp (&str[arg_off], "default")) + state->text_rendering_type = TEXT_RENDERING_AUTO; + else if (!strcmp (str + arg_off, "optimizeSpeed")) + state->text_rendering_type = TEXT_RENDERING_OPTIMIZE_SPEED; diff --git a/librsvg.changes b/librsvg.changes index f68c827..1e638e3 100644 --- a/librsvg.changes +++ b/librsvg.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Aug 30 23:10:58 CEST 2007 - maw@suse.de + +- Update to version 2.18.1: + + Basic support for SVG 1.1's text-rendering and shape-rendering + properties (bugzilla.gnome.org #464599) +- M-x replace-string RET %run_ldconfig RET /sbin/ldconfig RET +- Add librsvg-64bit-warning.patch. + ------------------------------------------------------------------- Thu Aug 2 02:03:16 CEST 2007 - mauro@suse.de diff --git a/librsvg.spec b/librsvg.spec index 0ed47a2..3376010 100644 --- a/librsvg.spec +++ b/librsvg.spec @@ -1,5 +1,5 @@ # -# spec file for package librsvg (Version 2.18.0) +# spec file for package librsvg (Version 2.18.1) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -24,11 +24,12 @@ BuildRequires: mozilla-xulrunner%{xulrunner_version}-devel BuildRequires: gecko-sdk %endif PreReq: coreutils -Version: 2.18.0 +Version: 2.18.1 Release: 1 Summary: A Library for Rendering SVG Data Source: ftp://ftp.gnome.org/pub/GNOME/sources/librsvg/2.18/%{name}-%{version}.tar.bz2 Patch1: env-paths.diff +Patch2: librsvg-64bit-warning.patch URL: http://librsvg.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -48,7 +49,7 @@ Summary: Include Files and Libraries mandatory for Development. Group: Development/Libraries/C and C++ Provides: librsvg2-devel Obsoletes: librsvg2-devel -Requires: %{name} = %{version} libcroco-devel glib2-devel gtk2-devel libgsf-devel libart_lgpl-devel popt-devel +Requires: %{name} = %{version} libcroco-devel libbz2-devel glib2-devel gtk2-devel libgsf-devel libart_lgpl-devel popt-devel %description devel This package contains all necessary include files and libraries needed @@ -79,6 +80,7 @@ Authors: %prep %setup -q %patch1 +%patch2 -p1 %build autoreconf -f -i @@ -101,11 +103,11 @@ rm $RPM_BUILD_ROOT%{_libdir}/*/*.*a $RPM_BUILD_ROOT%{_libdir}/*/*/*/*.*a rm -rf $RPM_BUILD_ROOT %post -%run_ldconfig +/sbin/ldconfig touch var/adm/SuSEconfig/run-gtk %postun -%run_ldconfig +/sbin/ldconfig touch var/adm/SuSEconfig/run-gtk %files @@ -138,6 +140,12 @@ touch var/adm/SuSEconfig/run-gtk %{_libdir}/browser-plugins/*.so %changelog +* Thu Aug 30 2007 - maw@suse.de +- Update to version 2.18.1: + + Basic support for SVG 1.1's text-rendering and shape-rendering + properties (bugzilla.gnome.org #464599) +- M-x replace-string RET %%run_ldconfig RET /sbin/ldconfig RET +- Add librsvg-64bit-warning.patch. * Thu Aug 02 2007 - mauro@suse.de - Updated to 2.18.0 - Bugfixes for #412682, #418823, #401115, #444462, #452823, #448327,