Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=b0705684e3d59273e34b9e6484ea088dce1fd5ca

commit b0705684e3d59273e34b9e6484ea088dce1fd5ca
Author: Marius Cirsta <[email protected]>
Date:   Tue Dec 15 02:57:47 2015 +0200

gnuplot-5.0.1-3-x86_64

* disable gtk, wxwidgets, enable qt5

diff --git a/source/xapps-extra/gnuplot/FrugalBuild 
b/source/xapps-extra/gnuplot/FrugalBuild
index 82375dc..0d04144 100644
--- a/source/xapps-extra/gnuplot/FrugalBuild
+++ b/source/xapps-extra/gnuplot/FrugalBuild
@@ -3,20 +3,18 @@

pkgname=gnuplot
pkgver=5.0.1
-pkgrel=2
+pkgrel=3
pkgdesc="Gnuplot is a portable command-line driven interactive data and 
function plotting utility."
# libxaw necessary for x11 support
-makedepends=('libxaw' 'x11-protos')
-depends=('svgalib' 'gd>=2.1.1' 'pango' 'wxgtk28')
+makedepends=('libxaw' 'x11-protos' 'qt5-tools')
+depends=('qt5-base' 'qt5-svg')
groups=('xapps-extra')
archs=('i686' 'x86_64')
Finclude sourceforge
url="http://www.gnuplot.info/";
-sha1sums=('a66f5211d3eb8d382b8dd9bdf320b65cf1315a13')
-unset Fbuildchost
+source=(${source[@]}  fix-qt-build.patch)
+sha1sums=('a66f5211d3eb8d382b8dd9bdf320b65cf1315a13' \
+          '31f63f62db3adb13a35a32bf3d3e01f369c68985')

-build() {
-       Fbuild WX_CONFIG=/usr/bin/wx-config-2.8
-}

# optimization OK
diff --git a/source/xapps-extra/gnuplot/fix-qt-build.patch 
b/source/xapps-extra/gnuplot/fix-qt-build.patch
new file mode 100644
index 0000000..d80be26
--- /dev/null
+++ b/source/xapps-extra/gnuplot/fix-qt-build.patch
@@ -0,0 +1,22 @@
+--- gnuplot-5.0.1.old/configure.in     2015-05-19 02:07:16.000000000 +0300
++++ gnuplot-5.0.1.new/configure.in     2015-12-15 02:52:51.171666605 +0200
+@@ -1208,7 +1208,7 @@
+         RCC=${QT5LOC}/rcc
+         LRELEASE=${QT5LOC}/lrelease
+       fi
+-      CXXFLAGS="$CXXFLAGS -fPIE"
++      CXXFLAGS="$CXXFLAGS -fPIC"
+     fi
+   fi
+
+--- gnuplot-5.0.1.old/configure        2015-06-07 18:20:30.000000000 +0300
++++ gnuplot-5.0.1.new/configure        2015-12-15 02:53:05.451772968 +0200
+@@ -14238,7 +14238,7 @@
+         RCC=${QT5LOC}/rcc
+         LRELEASE=${QT5LOC}/lrelease
+       fi
+-      CXXFLAGS="$CXXFLAGS -fPIE"
++      CXXFLAGS="$CXXFLAGS -fPIC"
+     fi
+   fi
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to