Accepting request 319060 from Publishing
- Add patch gnuplot-5.0.0-lua-5.3.1.dif to make it build with lua-5.3.1 - Require pkgconfig of libcerf at build time OBS-URL: https://build.opensuse.org/request/show/319060 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnuplot?expand=0&rev=57
This commit is contained in:
commit
2b9fb4db36
24
gnuplot-5.0.0-lua-5.3.1.dif
Normal file
24
gnuplot-5.0.0-lua-5.3.1.dif
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
term/lua.trm | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
--- term/lua.trm
|
||||||
|
+++ term/lua.trm 2015-07-28 06:48:03.890643983 +0000
|
||||||
|
@@ -251,7 +251,7 @@ LUA_GP_int_error(lua_State *L) {
|
||||||
|
msg = luaL_checkstring(L, 1);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
- t_num = luaL_checkint(L, 1);
|
||||||
|
+ t_num = luaL_checkinteger(L, 1);
|
||||||
|
msg = luaL_checkstring(L, 2);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
@@ -285,7 +285,7 @@ LUA_GP_int_warn(lua_State *L) {
|
||||||
|
msg = luaL_checkstring(L, 1);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
- t_num = luaL_checkint(L, 1);
|
||||||
|
+ t_num = luaL_checkinteger(L, 1);
|
||||||
|
msg = luaL_checkstring(L, 2);
|
||||||
|
break;
|
||||||
|
default:
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 28 06:50:41 UTC 2015 - werner@suse.de
|
||||||
|
|
||||||
|
- Add patch gnuplot-5.0.0-lua-5.3.1.dif to make it build with
|
||||||
|
lua-5.3.1
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 24 11:08:33 UTC 2015 - werner@suse.de
|
||||||
|
|
||||||
|
- Require pkgconfig of libcerf at build time
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 22 07:07:22 UTC 2015 - werner@suse.de
|
Fri May 22 07:07:22 UTC 2015 - werner@suse.de
|
||||||
|
|
||||||
|
20
gnuplot.spec
20
gnuplot.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gnuplot
|
# spec file for package gnuplot
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%bcond_without h3d_gridbox
|
%bcond_without h3d_gridbox
|
||||||
%if %{suse_version} > 1310
|
%if 0%{suse_version} > 1310
|
||||||
%define qtver 5
|
%define qtver 5
|
||||||
%else
|
%else
|
||||||
%define qtver 4
|
%define qtver 4
|
||||||
@ -46,15 +46,18 @@ BuildRequires: pkgconfig(Qt5Svg)
|
|||||||
%else
|
%else
|
||||||
BuildRequires: libqt4-devel >= 4.5
|
BuildRequires: libqt4-devel >= 4.5
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?suse_version} > 1320
|
||||||
|
BuildRequires: pkgconfig(libcerf)
|
||||||
|
%endif
|
||||||
BuildRequires: latex2html
|
BuildRequires: latex2html
|
||||||
BuildRequires: texlive-latex
|
BuildRequires: texlive-latex
|
||||||
BuildRequires: texlive-tex4ht
|
BuildRequires: texlive-tex4ht
|
||||||
BuildRequires: texlive-ucs
|
BuildRequires: texlive-ucs
|
||||||
BuildRequires: zziplib
|
BuildRequires: zziplib
|
||||||
%if %suse_version >= 1220
|
%if 0%{?suse_version} >= 1220
|
||||||
BuildRequires: makeinfo
|
BuildRequires: makeinfo
|
||||||
%endif
|
%endif
|
||||||
%if %suse_version > 1220
|
%if 0%{?suse_version} > 1220
|
||||||
BuildRequires: texlive-dvips
|
BuildRequires: texlive-dvips
|
||||||
BuildRequires: texlive-epstopdf
|
BuildRequires: texlive-epstopdf
|
||||||
BuildRequires: texlive-tex
|
BuildRequires: texlive-tex
|
||||||
@ -67,7 +70,7 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: lua-devel
|
BuildRequires: lua-devel
|
||||||
BuildRequires: plotutils-devel
|
BuildRequires: plotutils-devel
|
||||||
%if 0%{?suse_version} > 0 && %{?suse_version} <= 1310
|
%if 0%{?suse_version} > 0 && 0%{?suse_version} <= 1310
|
||||||
BuildRequires: wxWidgets-devel
|
BuildRequires: wxWidgets-devel
|
||||||
%define _use_internal_dependency_generator 0
|
%define _use_internal_dependency_generator 0
|
||||||
%define __find_requires %wx_requires
|
%define __find_requires %wx_requires
|
||||||
@ -100,6 +103,8 @@ Patch2: gnuplot-4.6.0-fonts.diff
|
|||||||
Patch4: gnuplot-4.6.0-demo.diff
|
Patch4: gnuplot-4.6.0-demo.diff
|
||||||
Patch5: gnuplot-wx3.diff
|
Patch5: gnuplot-wx3.diff
|
||||||
Patch6: gnuplot-QtCore-PIC.dif
|
Patch6: gnuplot-QtCore-PIC.dif
|
||||||
|
# PATCH-FIX-SUSE -- make it build with lua-5.3.1
|
||||||
|
Patch7: gnuplot-5.0.0-lua-5.3.1.dif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
|
%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)}
|
||||||
%if "%_exec_prefix" == "/usr/X11R6"
|
%if "%_exec_prefix" == "/usr/X11R6"
|
||||||
@ -127,7 +132,7 @@ Summary: Documentation of GNUplot
|
|||||||
Group: Productivity/Graphics/Visualization/Graph
|
Group: Productivity/Graphics/Visualization/Graph
|
||||||
Requires: %{name}
|
Requires: %{name}
|
||||||
Requires(post): %install_info_prereq
|
Requires(post): %install_info_prereq
|
||||||
Requires(postun): %install_info_prereq
|
Requires(preun): %install_info_prereq
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
@ -150,6 +155,7 @@ cp %{_sourcedir}/picins.sty docs
|
|||||||
%patch1 -p0 -b .x11ovf
|
%patch1 -p0 -b .x11ovf
|
||||||
%patch5 -p1 -b .w3x
|
%patch5 -p1 -b .w3x
|
||||||
%patch6 -p0 -b .pic
|
%patch6 -p0 -b .pic
|
||||||
|
%patch7 -p0 -b .l531
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
@ -263,7 +269,7 @@ autoreconf -fi
|
|||||||
%post doc
|
%post doc
|
||||||
%install_info --info-dir=.%{_infodir} .%{_infodir}/%{name}.info.gz
|
%install_info --info-dir=.%{_infodir} .%{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
%postun doc
|
%preun doc
|
||||||
%install_info_delete --info-dir=.%{_infodir} .%{_infodir}/%{name}.info.gz
|
%install_info_delete --info-dir=.%{_infodir} .%{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user