diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-02 18:53:10 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-03-02 18:53:10 +0100 |
commit | 588ef662386ce30b28688e95f11f7fc7a52f8e25 (patch) | |
tree | a62b104d7b70d82767fbde6aeb782b1359302459 /extra/gnuplot | |
parent | 9ea487ed90ebf891571ea8fffd34c154cbf981df (diff) | |
parent | b479098a1b8d7cb545339cb225a7cde4988b2748 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/kdesvn/PKGBUILD
community/lwm/PKGBUILD
community/sakura/PKGBUILD
extra/openmpi/PKGBUILD
extra/qt/PKGBUILD
Diffstat (limited to 'extra/gnuplot')
-rw-r--r-- | extra/gnuplot/PKGBUILD | 13 | ||||
-rw-r--r-- | extra/gnuplot/lua_tikz.patch | 10 |
2 files changed, 19 insertions, 4 deletions
diff --git a/extra/gnuplot/PKGBUILD b/extra/gnuplot/PKGBUILD index 1f9b26e5c..7c07fcc93 100644 --- a/extra/gnuplot/PKGBUILD +++ b/extra/gnuplot/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 147985 2012-01-29 11:40:13Z ronald $ +# $Id: PKGBUILD 151647 2012-02-29 10:28:02Z ronald $ # Maintainer: Ronald van Haren <ronald.archlinux.org> # Contributor: damir <damir@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=gnuplot pkgver=4.4.4 -pkgrel=1 +pkgrel=2 pkgdesc="Plotting package which outputs to X11, PostScript, PNG, GIF, and others" arch=('i686' 'x86_64' 'mips64el') url="http://www.gnuplot.info" @@ -13,12 +13,17 @@ license=('custom') depends=('readline' 'gd' 'wxgtk' 'cairo' 'libjpeg' 'lua') makedepends=('texinfo' 'emacs' 'texlive-core' 'texlive-latexextra') install=gnuplot.install -source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz") -sha1sums=('d4f143eade1f8d8b27be44cbda431d37a71c6a31') +source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz" + "lua_tikz.patch") +sha1sums=('d4f143eade1f8d8b27be44cbda431d37a71c6a31' + 'd84518c7e46fc0912554c28ba1fc8cdb70d4ee30') build() { cd $srcdir/$pkgname-$pkgver + # upstram patch to fix lua/tikz terminal + patch -Np0 -i ${srcdir}/lua_tikz.patch + # fix default source location; use the GDFONTPATH variable to modify at runtime sed -i 's|/usr/X11R6/lib/X11/fonts/truetype|/usr/share/fonts/TTF|' src/variable.c diff --git a/extra/gnuplot/lua_tikz.patch b/extra/gnuplot/lua_tikz.patch new file mode 100644 index 000000000..f9a939d47 --- /dev/null +++ b/extra/gnuplot/lua_tikz.patch @@ -0,0 +1,10 @@ +--- term/lua/gnuplot-tikz-444.lua Sun Nov 13 00:57:15 2011
++++ term/lua/gnuplot-tikz.lua Fri Nov 25 01:11:38 2011
+@@ -251,6 +251,7 @@
+ gp.write(string.format("\\begin{tikzpicture}[gnuplot%s]\n",global_opt))
+ gp.write(string.format("%%%% generated with GNUPLOT %sp%s (%s; terminal rev. %s, script rev. %s)\n%%%% %s\n",
+ term.gp_version, term.gp_patchlevel,
++ _VERSION,
+ string.sub(term.lua_term_revision,7,-3),
+ pgf.REVISION,os.date()))
+ if font ~= "" then
\ No newline at end of file |