From e35333566c9099311ed1ec0b4702f816b0f04d6421282927600bf7b32203a144 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 9 Jan 2009 00:47:43 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/plotutils?expand=0&rev=4 --- plotutils-2.5.dif | 13 ++++++++++++- plotutils.changes | 5 +++++ plotutils.spec | 20 ++++++++++++-------- 3 files changed, 29 insertions(+), 9 deletions(-) diff --git a/plotutils-2.5.dif b/plotutils-2.5.dif index 211c3cb..e35d931 100644 --- a/plotutils-2.5.dif +++ b/plotutils-2.5.dif @@ -52,7 +52,7 @@ +.BR tek2plot (1). --- libplot/g_range.c +++ libplot/g_range.c 2006-05-22 14:59:13.000000000 +0200 -@@ -172,7 +172,7 @@ +@@ -172,7 +172,7 @@ _set_line_end_bbox (plOutbuf *bufp, doub void _set_line_join_bbox (plOutbuf *bufp, double xleft, double yleft, double x, double y, double xright, double yright, double linewidth, int joinstyle, double miterlimit, double m[6]) { @@ -61,3 +61,14 @@ double v1len, v2len; double halfwidth; double mitrelen; +--- libplot/s_path.c ++++ libplot/s_path.c 2009-01-08 12:03:26.569330579 +0100 +@@ -716,7 +716,7 @@ write_svg_path_style (plOutbuf *page, co + { + sprintf (page->point, "%.5g%s", + dashbuf[i], +- i < num_dashes - 1 ? " " : "\""); ++ i < num_dashes - 1 ? " " : "\" "); + _update_buffer (page); + } + diff --git a/plotutils.changes b/plotutils.changes index 5084a91..db7a8e5 100644 --- a/plotutils.changes +++ b/plotutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 8 12:04:02 CET 2009 - werner@suse.de + +- Add a fix in libplot/s_path.c to get valid SVG files (bnc#464381) + ------------------------------------------------------------------- Thu Aug 10 12:49:46 CEST 2006 - mfabian@suse.de diff --git a/plotutils.spec b/plotutils.spec index e3e9b88..2756fda 100644 --- a/plotutils.spec +++ b/plotutils.spec @@ -1,7 +1,7 @@ # # spec file for package plotutils (Version 2.5) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 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 @@ -17,6 +17,7 @@ # norootforbuild +Url: http://www.gnu.org/software/plotutils/plotutils.html Name: plotutils BuildRequires: gcc-c++ libpng libpng-devel zlib zlib-devel @@ -34,15 +35,15 @@ BuildRequires: XFree86 XFree86-devel %define xlibraries /usr/X11R6/%{_lib} %define xincludes /usr/X11R6/include %endif -License: GPL v2 or later +License: GPL v2 or later; GPL v3 or later Group: Productivity/Graphics/Visualization/Graph AutoReqProv: on PreReq: %install_info_prereq %suseconfig_fonts_prereq Obsoletes: plotutil Provides: plotutil Version: 2.5 -Release: 197 -Summary: The GNU Plotting Utilities +Release: 198 +Summary: GNU Plotting Utilities Source0: plotutils-2.5.tar.bz2 Patch: plotutils-2.5.dif BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -64,6 +65,7 @@ Authors: Robert Maier Edward Moy Nick Tufillaro + James J. Clark %prep %setup -n plotutils-2.5 @@ -195,6 +197,8 @@ rm -rf $RPM_BUILD_ROOT %{fontdir}/tekfont3.pcf.gz %changelog +* Thu Jan 08 2009 werner@suse.de +- Add a fix in libplot/s_path.c to get valid SVG files (bnc#464381) * Thu Aug 10 2006 mfabian@suse.de - move fonts to /usr/share/fonts/misc (because of X11R7). * Mon May 22 2006 werner@suse.de @@ -238,7 +242,7 @@ rm -rf $RPM_BUILD_ROOT - fix install_info --delete call and move from preun to postun * Fri Feb 28 2003 werner@suse.de - Fix bug #23452: use intall-info for info file -* Sat Nov 23 2002 olh@suse.de +* Fri Nov 22 2002 olh@suse.de - obsoletes/provides plotutil (#21848) * Tue Sep 17 2002 ro@suse.de - removed bogus self-provides @@ -251,7 +255,7 @@ rm -rf $RPM_BUILD_ROOT - Update to 2.4.1 - Use BuildRoot - Rename package from plotutil to plotutils -* Wed Jun 27 2001 schwab@suse.de +* Tue Jun 26 2001 schwab@suse.de - Fix for gcc 3.0. * Tue May 08 2001 mfabian@suse.de - bzip2 sources @@ -259,9 +263,9 @@ rm -rf $RPM_BUILD_ROOT - Use %%{_defaultdocdir} * Wed Mar 08 2000 bs@suse.de - no ldconfig in %%post please. -* Sat Feb 12 2000 werner@suse.de +* Fri Feb 11 2000 werner@suse.de - Fix call of ldconfig, only if called in real root file system -* Fri Jan 21 2000 ro@suse.de +* Thu Jan 20 2000 ro@suse.de - update to 2.3 to make it build - info,man: use macros to move to /usr/share * Mon Sep 13 1999 bs@suse.de