From cd4dc33d34826918328f083a04a733a541ee56ecb38c441280abbd8e649657ad Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Thu, 1 Apr 2010 01:18:09 +0000 Subject: [PATCH] Updating link to change in openSUSE:Factory/librsvg revision 27.0 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=f23a7436b36650c8279cc72b169c3d5a --- librsvg-2.26.0.tar.bz2 | 3 --- librsvg-2.26.2.tar.bz2 | 3 +++ librsvg-xulrunner191.patch | 45 -------------------------------- librsvg.changes | 23 +++++++++++++++++ librsvg.spec | 53 ++++++++++---------------------------- 5 files changed, 39 insertions(+), 88 deletions(-) delete mode 100644 librsvg-2.26.0.tar.bz2 create mode 100644 librsvg-2.26.2.tar.bz2 delete mode 100644 librsvg-xulrunner191.patch diff --git a/librsvg-2.26.0.tar.bz2 b/librsvg-2.26.0.tar.bz2 deleted file mode 100644 index 4b5e3c4..0000000 --- a/librsvg-2.26.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fdcab5f0d86198d8cbd4ffe5b333076f75e707f6d7e4af5e87a8644ff7533bea -size 477499 diff --git a/librsvg-2.26.2.tar.bz2 b/librsvg-2.26.2.tar.bz2 new file mode 100644 index 0000000..4d51fe8 --- /dev/null +++ b/librsvg-2.26.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e82fb920901e211a54cff5df88c327bedec8565b324e2f529f428f492361c60f +size 485744 diff --git a/librsvg-xulrunner191.patch b/librsvg-xulrunner191.patch deleted file mode 100644 index 1e533f4..0000000 --- a/librsvg-xulrunner191.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff -aurpN librsvg-2.26.0/moz-plugin/moz-plugin.c librsvg-2.26.0.patched/moz-plugin/moz-plugin.c ---- librsvg-2.26.0/moz-plugin/moz-plugin.c 2008-08-20 14:41:00.000000000 +0200 -+++ librsvg-2.26.0.patched/moz-plugin/moz-plugin.c 2009-09-02 22:00:21.000000000 +0200 -@@ -39,7 +39,11 @@ - #define XP_UNIX 1 - #define MOZ_X11 1 - #include "npapi.h" -+#if (((NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR) < 20) - #include "npupp.h" -+#else -+#include "npfunctions.h" -+#endif - - #define DEBUG(x) _svg_plugin_debug x - -@@ -561,9 +565,10 @@ NP_Initialize (NPNetscapeFuncs * moz_fun - return NPERR_INVALID_FUNCTABLE_ERROR; - - memcpy (&mozilla_funcs, moz_funcs, sizeof (NPNetscapeFuncs)); -- -+ - plugin_funcs->version = (NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR; - plugin_funcs->size = sizeof (NPPluginFuncs); -+#if (((NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR) < 20) - plugin_funcs->newp = NewNPP_NewProc (svg_plugin_newp); - plugin_funcs->destroy = NewNPP_DestroyProc (svg_plugin_destroy); - plugin_funcs->setwindow = NewNPP_SetWindowProc (svg_plugin_set_window); -@@ -574,6 +579,17 @@ NP_Initialize (NPNetscapeFuncs * moz_fun - plugin_funcs->asfile = NewNPP_StreamAsFileProc (svg_plugin_stream_as_file); - plugin_funcs->write = NewNPP_WriteProc (svg_plugin_write); - plugin_funcs->print = NewNPP_PrintProc (svg_plugin_print); -+#else -+ plugin_funcs->newp = (NPP_NewProcPtr)(svg_plugin_newp); -+ plugin_funcs->destroy = (NPP_DestroyProcPtr)(svg_plugin_destroy); -+ plugin_funcs->setwindow = (NPP_SetWindowProcPtr)(svg_plugin_set_window); -+ plugin_funcs->newstream = (NPP_NewStreamProcPtr)(svg_plugin_new_stream); -+ plugin_funcs->destroystream = (NPP_DestroyStreamProcPtr)(svg_plugin_destroy_stream); -+ plugin_funcs->asfile = (NPP_StreamAsFileProcPtr)(svg_plugin_stream_as_file); -+ plugin_funcs->writeready = (NPP_WriteReadyProcPtr)(svg_plugin_write_ready); -+ plugin_funcs->write = (NPP_WriteProcPtr)(svg_plugin_write); -+ plugin_funcs->print = (NPP_PrintProcPtr)(svg_plugin_print); -+#endif - - return NPERR_NO_ERROR; - } diff --git a/librsvg.changes b/librsvg.changes index ace6b0f..1594469 100644 --- a/librsvg.changes +++ b/librsvg.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Tue Mar 30 11:58:42 CEST 2010 - vuntz@opensuse.org + +- Update to version 2.26.2: + + Enable silent build by default + + Use GDK_DRAWABLE() instead of non-existing GTK_DRAWABLE() + + Fix compiler warnings +- Update to version 2.26.1: + + Remove some deprecated gtk+/gdk functions and bump gtk+ + requirement + + Fix linking with pedantic linkers + + Make librsvg compile with -DGSEAL_ENABLED + + Drop mozilla plugin + +------------------------------------------------------------------- +Fri Mar 26 13:17:24 CET 2010 - vuntz@opensuse.org + +- Stop building the mozilla plugin: browsers now do support svg, so + it's useless. +- Remove librsvg-plugin subpackage. +- Drop librsvg-xulrunner191.patch and remove + mozilla-xulrunner-devel BuildRequires. + ------------------------------------------------------------------- Sat Dec 19 12:15:26 CET 2009 - jengelh@medozas.de diff --git a/librsvg.spec b/librsvg.spec index 885fc65..d06dea8 100644 --- a/librsvg.spec +++ b/librsvg.spec @@ -1,7 +1,7 @@ # -# spec file for package librsvg (Version 2.26.0) +# spec file for package librsvg (Version 2.26.2) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 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 @@ -19,17 +19,19 @@ Name: librsvg -%if 0%{suse_version} > 1110 -%define xulrunner_version 191 -%else -%define xulrunner_version 190 -%endif +Version: 2.26.2 +Release: 1 +License: LGPLv2.1+ +Summary: A Library for Rendering SVG Data +Url: http://librsvg.sourceforge.net/ +Group: System/Libraries +Source: ftp://ftp.gnome.org/pub/GNOME/sources/librsvg/2.18/%{name}-%{version}.tar.bz2 +Source99: baselibs.conf +Patch1: env-paths.diff BuildRequires: gtk2-devel BuildRequires: libcroco-devel BuildRequires: libgsf-devel -License: LGPLv2.1+ -Group: System/Libraries -AutoReqProv: on +PreReq: coreutils # bug437293 %ifarch ppc64 Obsoletes: librsvg-64bit @@ -37,17 +39,6 @@ Obsoletes: librsvg-64bit # Provides: librsvg2 Obsoletes: librsvg2 -BuildRequires: mozilla-xulrunner%{xulrunner_version}-devel -PreReq: coreutils -Version: 2.26.0 -Release: 3 -Summary: A Library for Rendering SVG Data -Source: ftp://ftp.gnome.org/pub/GNOME/sources/librsvg/2.18/%{name}-%{version}.tar.bz2 -Source99: baselibs.conf -Patch1: env-paths.diff -# PATCH-FIX-UPSTREAM librsvg-xulrunner191.patch bnc#501397 bgo#593961 dimstar@opensuse.org -- Support building with xulrunner 1.9.1 -Patch2: librsvg-xulrunner191.patch -Url: http://librsvg.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -72,17 +63,6 @@ Obsoletes: librsvg-devel-64bit This package contains all necessary include files and libraries needed to develop applications that require these. -%package plugin -License: GPLv2+ -Summary: A Library for Rendering SVG Data - SVG Browser Plugin -Group: System/Libraries -Requires: %{name} = %{version} - -%description plugin -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 rsvg-view License: LGPLv2.1+ Summary: SVG View using the GNOME Render SVG library @@ -97,7 +77,6 @@ http://www.w3c.org). %prep %setup -q %patch1 -%patch2 -p1 %build %configure\ @@ -107,9 +86,7 @@ make %{?jobs:-j%jobs} %install %makeinstall -mv $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins $RPM_BUILD_ROOT%{_libdir}/browser-plugins -rmdir $RPM_BUILD_ROOT%{_libdir}/mozilla -rm $RPM_BUILD_ROOT/%{_libdir}/*.*a $RPM_BUILD_ROOT/%{_libdir}/*/*.*a $RPM_BUILD_ROOT/%{_libdir}/*/*/*/*.*a +find %{buildroot} -type f -name "*.la" -delete -print %clean rm -rf $RPM_BUILD_ROOT @@ -146,8 +123,4 @@ touch var/adm/SuSEconfig/run-gtk %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html -%files plugin -%defattr(-,root,root) -%{_libdir}/browser-plugins/*.so - %changelog