mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
Ports: Add gnuplot port
Obviously we don't support many of the common terminals as we're missing X11, Qt, WxWidgets, Cairo etc. - but at least the "dumb" terminal (ASCII output) and "canvas" terminal (generates JS to plot on a HTML <canvas>) are confirmed to be working :^)
This commit is contained in:
parent
7feb48b1da
commit
4c0ec846a8
Notes:
sideshowbarker
2024-07-19 07:34:49 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/4c0ec846a89 Pull-request: https://github.com/SerenityOS/serenity/pull/1809
2 changed files with 29 additions and 0 deletions
15
Ports/gnuplot/package.sh
Executable file
15
Ports/gnuplot/package.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash ../.port_include.sh
|
||||
port=gnuplot
|
||||
version=5.2.8
|
||||
useconfigure=true
|
||||
# Note: gnuplot's source code is hosted on SourceForge, but using the GitHub mirror makes downloading a versioned .tar.gz easier.
|
||||
files="https://github.com/gnuplot/gnuplot/archive/${version}.tar.gz gnuplot-${version}.tar.gz"
|
||||
configopts="--prefix=$SERENITY_ROOT/Root/usr/local --with-readline=builtin"
|
||||
|
||||
pre_configure() {
|
||||
run ./prepare
|
||||
}
|
||||
|
||||
install() {
|
||||
run make install-strip
|
||||
}
|
14
Ports/gnuplot/patches/fix-makefile.patch
Normal file
14
Ports/gnuplot/patches/fix-makefile.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- gnuplot-5.2.8/Makefile.am.orig 2020-04-15 12:56:22.001000000 +0100
|
||||
+++ gnuplot-5.2.8/Makefile.am 2020-04-15 12:58:18.603091197 +0100
|
||||
@@ -1,7 +1,10 @@
|
||||
## Process this file with automake to produce Makefile.in -*-Makefile-*-
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
-SUBDIRS = config m4 term src docs man demo tutorial share
|
||||
+# Note: For the SerenityOS port of gnuplot, the following have been removed:
|
||||
+# docs - segfault during make :/
|
||||
+# demo - i686-pc-serenity-gcc: error: unrecognized command line option '-rdynamic'
|
||||
+SUBDIRS = config m4 term src man tutorial share
|
||||
|
||||
EXTRA_DIST = BUGS Copyright FAQ.pdf GNUmakefile INSTALL INSTALL.gnu \
|
||||
Makefile.maint PATCHLEVEL PGPKEYS README RELEASE_NOTES \
|
Loading…
Reference in a new issue