gnuplot:first pisi rel
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def setup():
|
||||
# fix default source location; use the GDFONTPATH variable to modify at runtime
|
||||
shelltools.system("sed -i 's|/usr/X11R6/lib/X11/fonts/truetype|/usr/share/fonts/TTF|' src/variable.c")
|
||||
shelltools.system("sed -i -e 's|/usr/X11R6/lib/X11/fonts/Type1|/usr/share/fonts/Type1|' \
|
||||
-e 's|$(X11ROOT)/X11R6/lib/X11/fonts/Type1|$(X11ROOT)/usr/share/fonts/Type1|' \
|
||||
src/variable.c")
|
||||
|
||||
# suppress compiler warnings
|
||||
pisitools.cflags.add("-Wno-unused-result -Wno-stringop-overflow")
|
||||
shelltools.system("MAKEINFO=/usr/bin/makeinfo WX_CONFIG=/usr/bin/wx-config ./configure --prefix=/usr \
|
||||
--libexecdir=/usr/bin \
|
||||
--with-gihdir=/usr/share/gnuplot \
|
||||
--with-readline=gnu \
|
||||
--with-bitmap-terminals \
|
||||
--with-wx-single-threaded \
|
||||
--with-texdir=/usr/share/texmf/tex/latex/gnuplot")
|
||||
|
||||
def build():
|
||||
autotools.make("pkglibexecdir=/usr/bin")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("pkglibexecdir=/usr/bin DESTDIR=%s" % get.installDIR())
|
||||
pisitools.dodoc("Copyright", "README*")
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/term/lua.trm b/term/lua.trm
|
||||
index af63d68..474221f 100644
|
||||
--- a/term/lua.trm
|
||||
+++ b/term/lua.trm
|
||||
@@ -110,6 +110,8 @@ TERM_PUBLIC void LUA_boxed_text __PROTO((unsigned int, unsigned int, int));
|
||||
# define LUA_EXTERNAL_IMAGES 1
|
||||
#endif
|
||||
|
||||
+
|
||||
+#define LUA_COMPAT_APIINTCASTS
|
||||
#include <lua.h>
|
||||
#include <lualib.h>
|
||||
#include <lauxlib.h>
|
||||
@@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gnuplot</Name>
|
||||
<Homepage>http://www.gnuplot.info/</Homepage>
|
||||
<Packager>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Packager>
|
||||
<PartOf>science.misc</PartOf>
|
||||
<License>custom</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Plotting package which outputs to X11, PostScript, PNG, GIF, and others.</Summary>
|
||||
<Description>Gnuplot is a portable command-line driven graphing utility for Linux, OS/2, MS Windows, OSX, VMS, and many other platforms. GNUPlot provides plotting package which outputs to X11, PostScript, PNG, GIF, and others.</Description>
|
||||
<Archive sha1sum="dc018b1e0a31b770d4635958badff13498babc4d" type="targz">https://downloads.sourceforge.net/sourceforge/gnuplot/gnuplot-5.2.8.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>emacs</Dependency>
|
||||
<Dependency>gd-devel</Dependency>
|
||||
<Dependency>lua-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>pango-devel</Dependency>
|
||||
<Dependency>wxGTK-devel</Dependency>
|
||||
<Dependency>qt5-linguist</Dependency>
|
||||
<Dependency>libcerf-devel</Dependency>
|
||||
<Dependency>qt5-svg-devel</Dependency>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>readline-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>lua53_compat.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gnuplot</Name>
|
||||
<Summary>A high-level language, primarily intended for numerical computations.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gd</Dependency>
|
||||
<Dependency>lua</Dependency>
|
||||
<Dependency>emacs</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>wxGTK</Dependency>
|
||||
<Dependency>libcerf</Dependency>
|
||||
<Dependency>qt5-svg</Dependency>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>readline</Dependency>
|
||||
<Dependency>wxGTK-common</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share/</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc/gnuplot</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2020-05-22</Date>
|
||||
<Version>5.2.8</Version>
|
||||
<Comment>First pisi release.</Comment>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gnuplot</Name>
|
||||
<Summary xml:lang="tr">X11, PostScript, PNG, GIF, ve diğerlerine çıktı verebilen çizim yapma paketi.</Summary>
|
||||
<Description xml:lang="tr">gnuplot, X11, PostScript, PNG, GIF, ve diğerlerine çıktı verebilen çizim yapma paketi sunar.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user