]> git.pld-linux.org Git - packages/gnuplot.git/commitdiff
- up to 4.4.1
authorKacper Kornet <draenog@pld-linux.org>
Tue, 14 Sep 2010 17:25:42 +0000 (17:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- enable wxt terminal
- adapterized

Changed files:
    gnuplot-wx-config.patch -> 1.1
    gnuplot.spec -> 1.89

gnuplot-wx-config.patch [new file with mode: 0644]
gnuplot.spec

diff --git a/gnuplot-wx-config.patch b/gnuplot-wx-config.patch
new file mode 100644 (file)
index 0000000..f2cef77
--- /dev/null
@@ -0,0 +1,11 @@
+--- configure.in~      2010-09-13 15:20:15.221134903 +0100
++++ configure.in       2010-09-13 15:24:59.651039243 +0100
+@@ -970,7 +970,7 @@
+      fi ])
+   dnl Look for wx-config in the path
+-  AC_PATH_PROG(WX_CONFIG, wx-config, no, ${WXWIDGETS_PATH})
++  AC_PATH_PROG(WX_CONFIG, wx-gtk2-unicode-config, no, ${WXWIDGETS_PATH})
+   if test "${WX_CONFIG}" = "no"; then
+     AC_MSG_WARN([wxWidgets can't be found. You can try --with-wx-config-path to give the right path to wx-config. The wxWidgets terminal will not be compiled.])
+     enable_wxwidgets_ok=no
index b8c29c86788928291bda3502e8d59eaa6f51689c..d8c98c82e96825eaed6009754a1320158693199d 100644 (file)
@@ -9,23 +9,25 @@ Summary(ru.UTF-8):    Программа для построения графико
 Summary(tr.UTF-8):     Matematiksel görselleştirme paketi
 Summary(uk.UTF-8):     Програма для побудови графіків математичних виразів та даних
 Name:          gnuplot
-Version:       4.4.0
-Release:       0.1
+Version:       4.4.1
+Release:       1
 License:       distributable (with modifications properly marked if any)
 Group:         Applications/Math
-Source0:       http://dl.sourceforge.net/gnuplot/%{name}-%{version}.tar.gz
-# Source0-md5: e708665bd512153ad5c35252fe499059
+Source0:       http://downloads.sourceforge.net/gnuplot/%{name}-%{version}.tar.gz
+# Source0-md5: 296e2904363e508bd8cb7e8ea1d267e8
 Source1:       %{name}.desktop
 Source2:       %{name}.png
 Patch0:                %{name}-info.patch
 Patch1:                %{name}-info_install.patch
 Patch2:                %{name}-lua.patch
+Patch3:                %{name}-wx-config.patch
 URL:           http://gnuplot.sourceforge.net/
 BuildRequires: autoconf >= 2.59-9
 BuildRequires: automake
 BuildRequires: cairo-devel
 BuildRequires: gd-devel
 BuildRequires: glib2-devel
+BuildRequires: gtk+2-devel
 BuildRequires: libpng-devel >= 1.0.8
 BuildRequires: libtool
 BuildRequires: ncurses-devel
@@ -36,6 +38,7 @@ BuildRequires:        texinfo
 BuildRequires: texlive
 BuildRequires: texlive-format-pdflatex
 BuildRequires: texlive-latex
+BuildRequires: wxGTK2-unicode-devel
 #BuildRequires:        xemacs-lisp-programming
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: zlib-devel
@@ -102,6 +105,7 @@ LaTeX files.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p0
 
 %build
 %{__libtoolize}
@@ -138,7 +142,7 @@ install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
-       appdefaultdir=%{_prefix}/share/X11/app-defaults
+       appdefaultdir=%{_datadir}/X11/app-defaults
 
 mv $RPM_BUILD_ROOT%{_datadir}/texmf{,-dist}
 
@@ -161,7 +165,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_infodir}/gnuplot.info*
 %{_desktopdir}/gnuplot.desktop
 %{_pixmapsdir}/gnuplot.png
-%{_prefix}/share/X11/app-defaults/Gnuplot
+%{_datadir}/X11/app-defaults/Gnuplot
 
 %files latex
 %defattr(644,root,root,755)
This page took 0.100663 seconds and 4 git commands to generate.