271.1. gnuplot-6.0.5
Plotting program driven by scripts, drawing to the terminal, to a Qt window or to PNG
6.0.5-1 · gnuplot · 1.5 SBU · 3.4 MiB, 40 files · 43_toolkits, 232 of 344 · ports/core/math/gnuplot
Homepage: http://www.gnuplot.info/
Why it is in KDOS. The comment above it in script/phases/43_toolkits/packages.d/math.txt:
Its
dumbterminal draws into the same character grid everything else here does, so a plot works over ssh and on tty1 with no toolkit.
Depends on: readline, pkgconf, zlib, libpng, cairo, pango, libgd, lua, libwebp, qt6-qtbase, qt6-qtsvg, qt6-qttools, qt6-qt5compat, libcerf.
Required by (3): octave, qalculate-qt, sc-im.
Sources: gnuplot-6.0.5.tar.gz (7.2 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install gnuplot'
build.sh:
./configure \
--prefix=/usr \
--libdir=/usr/lib \
--with-readline=gnu \
--with-qt=qt6 \
--without-wx \
--without-x \
--with-bitmap-terminals \
--with-gd \
--with-cairo \
--with-lua \
--with-libcerf \
--without-amos \
--without-caca \
--without-latex \
--enable-history-file
for def in QTTERM HAVE_LIBCERF; do
grep -q "^#define $def 1" config.h || { echo "gnuplot: $def not configured" >&2; exit 1; }
done
make
make DESTDIR=$PKG install
Programs: gnuplot.
Directories: /usr/libexec/gnuplot, /usr/share/gnuplot, /usr/share/licenses/gnuplot.