From 923e66a5b087c33daea79e2a1610599e50b7f80e Mon Sep 17 00:00:00 2001 From: Frantisek Kluknavsky Date: Thu, 4 Apr 2013 15:34:26 +0200 Subject: [PATCH] Rebase to 4.6.2 - Added explicit build dependency on ImageMagick. It somehow disappeared from emacs dependencies. - Patched gnuplot.texi, new latex refused to compile it. --- gnuplot-4.6.2-texi.patch | 12 ++++++++++++ gnuplot.spec | 13 +++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 gnuplot-4.6.2-texi.patch diff --git a/gnuplot-4.6.2-texi.patch b/gnuplot-4.6.2-texi.patch new file mode 100644 index 0000000..73b04de --- /dev/null +++ b/gnuplot-4.6.2-texi.patch @@ -0,0 +1,12 @@ +diff -up wrk/docs/gnuplot.texi.wrk wrk/docs/gnuplot.texi +--- wrk/docs/gnuplot.texi.wrk 2013-04-04 15:01:20.955895813 +0200 ++++ wrk/docs/gnuplot.texi 2013-04-04 15:16:07.008661182 +0200 +@@ -17650,7 +17650,7 @@ with no modifiers. + @end menu + + @node aed767, aifm, complete_list_of_terminals, complete_list_of_terminals +-@subsubsection aed767 ++@subsection aed767 + + @c ?commands set terminal aed767 + @c ?set terminal aed767 diff --git a/gnuplot.spec b/gnuplot.spec index aed74d1..62c77dd 100644 --- a/gnuplot.spec +++ b/gnuplot.spec @@ -1,13 +1,13 @@ %global major 4 %global minor 6 -%global patchlevel 1 +%global patchlevel 2 %global x11_app_defaults_dir %{_datadir}/X11/app-defaults Summary: A program for plotting mathematical expressions and data Name: gnuplot Version: %{major}.%{minor}.%{patchlevel} -Release: 6%{?dist} +Release: 1%{?dist} # MIT .. term/PostScript/aglfn.txt License: gnuplot and MIT Group: Applications/Engineering @@ -23,6 +23,7 @@ Patch2: gnuplot-4.6.1-xcopygc-sigsegv.patch # resolves: #812225 # submitted upstream: http://sourceforge.net/tracker/?func=detail&aid=3558973&group_id=2055&atid=302055 Patch3: gnuplot-4.6.1-plot-sigsegv.patch +Patch4: gnuplot-4.6.2-texi.patch Requires: %{name}-common = %{version}-%{release} Requires: dejavu-sans-fonts @@ -34,6 +35,8 @@ BuildRequires: librsvg2, libX11-devel, libXt-devel, lua-devel, m17n-lib BuildRequires: pango-devel, libedit-devel, tex(latex), tex(subfigure.sty) BuildRequires: tex(cm-super-t1.enc), tex(pdftex.map), tex-tex4ht, texinfo BuildRequires: zlib-devel, libjpeg-turbo-devel, tex(ecrm1000.tfm) +#for some reason, ImageMagick disappeared from emacs dependecies +BuildRequires: ImageMagick %if !0%{?rhel:1} BuildRequires: wxGTK-devel %endif @@ -129,6 +132,7 @@ plotting tool. %patch1 -p1 -b .font %patch2 -p1 -b .xcopygc %patch3 -p1 -b .plot-sigsegv +%patch4 -p1 -b .texipatch sed -i -e 's:"/usr/lib/X11/app-defaults":"%{x11_app_defaults_dir}":' src/gplt_x11.c iconv -f windows-1252 -t utf-8 ChangeLog > ChangeLog.aux mv ChangeLog.aux ChangeLog @@ -267,6 +271,11 @@ fi %{_datadir}/texmf/tex/latex/gnuplot/ %changelog +* Thu Apr 04 2013 Frantisek Kluknavsky - 4.6.2-1 +- Rebase to 4.6.2 +- Added explicit build dependency on ImageMagick. It somehow disappeared from emacs dependencies. +- Patched gnuplot.texi, new latex refused to compile it. + * Thu Feb 14 2013 Fedora Release Engineering - 4.6.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild