Package Details: gnuplot-nogui 6.0.0-2

Git Clone URL: https://aur.archlinux.org/gnuplot-nogui.git (read-only, click to copy)
Package Base: gnuplot-nogui
Description: Plotting package which outputs to X11, files and others. Without wxgtk/qt.
Upstream URL: http://www.gnuplot.info
Licenses: custom
Conflicts: gnuplot, gnuplot-headless
Provides: gnuplot
Submitter: Ambrevar
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 7
Popularity: 0.025285
First Submitted: 2015-11-29 10:18 (UTC)
Last Updated: 2024-01-29 20:31 (UTC)

Required by (114)

Sources (2)

Latest Comments

1 2 Next › Last »

m040601 commented on 2024-01-25 23:48 (UTC) (edited on 2024-01-26 00:29 (UTC) by m040601)

Here is a bug report for this "gnuplot-nogui" PKGBUILD.

It concerns the commmit, https://aur.archlinux.org/cgit/aur.git/commit/?h=gnuplot-nogui&id=8daeec152f9b6943e191adcf75be88b006661711

3 days     bump to 6.0.0

For some reason with "gnuplot-nogui" I am not getting exactly what I should be getting. And I can get that with the official Archlinux "gnuplot"

And that is the "block" terminal type support, introduced with gnuplot 6.0

They should be both the same version,

Version                       : 6.0.0-1

Starting gnuplot with zero, absolutely, no personal config file, neither in "~/.gnuplot" or "~/.config/gnuplot". This is what they, the official Archlinux "gnuplot" and the AUR "gnuplot-nogui" say. I will use the terms "offcial" and "nogui" to distinguish them here.

After installation,

pacman -Qi gnuplot-nogui

nogui:

Name            : gnuplot-nogui
Version         : 6.0.0-1
Description     : Plotting package which outputs to X11, files and others. Without wxgtk/qt.
Architecture    : x86_64
URL             : http://www.gnuplot.info
Licenses        : custom
Groups          : None
Provides        : gnuplot
Depends On      : cairo  gcc-libs  gd  glib2  glibc  libcerf  libwebp  libx11  lua  pango  readline
Optional Deps   : texlive-core
Required By     : feedgnuplot  gnuplot-demos
Optional For    : sc-im  sysstat
Conflicts With  : gnuplot  gnuplot-nox
Replaces        : gnuplot-notk
Installed Size  : 3.18 MiB
Packager        : Unknown Packager
Build Date      : Thu 25 Jan 2024 11:17:45 PM WET
Install Date    : Thu 25 Jan 2024 11:41:16 PM WET
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

official

Name            : gnuplot
Version         : 6.0.0-1
Description     : Plotting package which outputs to X11, PostScript, PNG, GIF, and others
Architecture    : x86_64
URL             : http://www.gnuplot.info
Licenses        : custom
Groups          : None
Provides        : None
Depends On      : cairo  gcc-libs  gd  glib2  glibc  gtk3  libcaca  libcerf  libwebp  libx11  lua  pango  qt6-5compat  qt6-base
                  qt6-svg  readline  wxwidgets-common  wxwidgets-gtk3
Optional Deps   : None
Required By     : feedgnuplot  gnuplot-demos
Optional For    : sc-im  sysstat
Conflicts With  : None
Replaces        : None
Installed Size  : 3.64 MiB
Packager        : Antonio Rojas <arojas@archlinux.org>
Build Date      : Fri 05 Jan 2024 09:11:33 PM WET
Install Date    : Thu 25 Jan 2024 11:35:18 PM WET
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

Starting "gnuplot",

nogui:

   $ gnuplot --version
gnuplot 6.0 patchlevel 0

official

   $ gnuplot --version
gnuplot 6.0 patchlevel 0

Welcome screen,

official:

   $ gnuplot

        G N U P L O T
        Version 6.0 patchlevel 0    last modified 2023-12-09

        Copyright (C) 1986-1993, 1998, 2004, 2007-2023
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        faq, bugs, etc:   type "help FAQ"
        immediate help:   type "help"  (plot window: hit 'h')

        Terminal type is now qt

gnuplot> set terminal block

Terminal type is now 'block'
Options are 'quadrants mono transparent optimize enhanced noattributes numpoints size 79,24 '
gnuplot>

nogui:

   $ gnuplot

        G N U P L O T
        Version 6.0 patchlevel 0    last modified 2023-12-09

        Copyright (C) 1986-1993, 1998, 2004, 2007-2023
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        faq, bugs, etc:   type "help FAQ"
        immediate help:   type "help"  (plot window: hit 'h')

        Terminal type is now unknown
gnuplot> set terminal block

Terminal type is now 'unknown'
                      ^
         warning: unknown or ambiguous terminal type; type 'set terminal' for a list
gnuplot>

So there is no option "block" for terminal type. But there should be, this is gnuplot 6.0.

????

m040601 commented on 2024-01-25 23:02 (UTC) (edited on 2024-01-26 01:12 (UTC) by m040601)

Nice to see that other Arch users are also interested in this alternative to the standard gnuplot PKGBUILD.

Very usefull for those of us who dont want to pull the mandatory qt6 etc. Especially now that gnuplot 6 also has the new beautifull graphical output to the terminal using unicode drawing characters. There was already for many years an output to terminal using ANSI characters.

But this new one is much better. Works well with a terminal that runs on the console framebuffer like "fbterm". So we can go even further and not even start X at all. You dont need any "fancy" modern terminals like kitty etc. Any terminal with unicode fonts support will do.

Some very simple examples,

the old 'dumb' type terminal,

https://0x0.st/HG3V.ansi.txt

the new 'block' type terminal,

https://0x0.st/HG33.txt

online demo only 7 days available anonymous,

https://asciinema.org/a/Qm0Dulp25vVzfxcnjKGBKiWOo

download the text ".cast" file and watch locally with "asciinema" player,

https://0x0.st/HG36.cast

I recommend installing the small official "gnuplot-demos" and the "feedgnuplot" tools. Lotz of beautifull stuff to watch in the terminal with 256 colors. Very underrated.

To the current maintainer(s) (thrasibule) of this PKGBUILD, Thanks for your work on it.

Hope you can keep up maintaining it up to date and well synchronized with the standard one.

Some minor corrections:

   Conflicts:    gnuplot, gnuplot-nox
   Provides:     gnuplot

There is no "gnuplot-nox" anymore. Neither any "gnuplot-notk" or similar. You can remove them from the "Conflict" tag.

There is however a another conflicting semi abandoned "gnuplot-headless". Without even any X at all.

It could perfectly serve people who only want to see graphics on the terminal. It goes even further than removing the "qt" dependencies. It removes also all X related dependencies" A reminder that being called "headless" doesnt mean that you cannot generate image output. It can still generate all the png/jpeg/pdfs/ps etc. you want.

Maybe you'll want to adopt it ?

It would be great if the same person(s) providing these 2 related alternatives worked together, to share the effort and avoid reduplicating work.

Thanks in advance.

PS: Question about emacs.

Is there really no other way to build this "gnuplot-nogui" PKGBUILD without downloading and (removing it again) emacs ?

I know it is "just" a make/build dependency. I know that it gets removed after the build. I know it is there because of some "component" needed during the build process. I am not versed in PKGBUILD's. I am just curious.

It just feels a little awkward to watch this.

extra/emacs     29.2-1       120.73 MiB      44.21 MiB

and its removal.

Package (4)  Old Version  Net Change

libotf       0.9.16-4       -0.23 MiB
m17n-db      1.8.5-1        -6.62 MiB
m17n-lib     1.8.4-2        -0.91 MiB
emacs        29.2-1       -120.73 MiB

Total Removed Size:  128.49 MiB

Stebalien commented on 2024-01-22 16:09 (UTC)

Here's a new version for v6 that tries to match the upstream package as much as possible: https://gist.github.com/Stebalien/cacbea074bc353cd61953e9692d37af4

ramatullah commented on 2022-07-13 16:13 (UTC)

The build no longer works with git master. It only has configure.ac but is lacking a ./configure script!

redshoe commented on 2019-09-17 05:22 (UTC)

Hmm... It seems like the pdf or cairo terminal is not working. I do see pango and cairo as a dependency.

redshoe commented on 2019-09-16 23:25 (UTC)

@seirios: Oh thank you. I would like it if the package don't have emacs and texlive-core dependency. I do need pango in order to have pdf terminal. Would using commit 2ebba0a solve the issue?

seirios commented on 2019-09-15 20:10 (UTC)

@redshoe: Indeed, with the latest PKGBUILD it fails as in your case. However, with the previous PKBUILD (commit 2ebba0a) on which I commented, it was possible to build without texlive-core and emacs. Commit 2ad43cf really made texlive-core necessary (due to --with-kpsexpand at config time) and also emacs (due to make install-info).

@thrasibule: The latest two commits are incompatible. The alternatives are to either add emacs back as a makedep, or roll-back to 2ebba0a, add pango as dep, and remove both emacs and texlive-core as makedeps (which makes this package way simpler).

As far as I can tell, emacs is required for generating the texinfo file, due to use of doc2texi.el. But, what is texlive-core necessary for?

redshoe commented on 2019-09-15 16:19 (UTC) (edited on 2019-09-15 16:19 (UTC) by redshoe)

@seirios: I am having build issue saying that it requires emacs. How did you build the package without it?

Error message

make[1]: Entering directory '/home/rangke/Program_Works/Testsite/gnuplot-nogui/src/gnuplot-5.2.7/docs' if test "no" != no; then \ test ".." = ".." || cp ./gnuplot.doc . ; \ no -batch -q --no-site-file -l doc2texi.el -f d2t-doc-to-texi ; \ test ".." = ".." || rm -f ./gnuplot.doc ; \ else \ echo "No emacs found - cannot create texinfo file" ; \ fi No emacs found - cannot create texinfo file /bin/sh /home/rangke/Program_Works/Testsite/gnuplot-nogui/src/gnuplot-5.2.7/missing makeinfo -I. gnuplot.texi --no-split --output=gnuplot.info could not open gnuplot.texi: No such file or directory make[1]: [Makefile:1093: gnuplot.info] Error 1 make[1]: Leaving directory '/home/rangke/Program_Works/Testsite/gnuplot-nogui/src/gnuplot-5.2.7/docs' make: [Makefile:417: install-info-recursive] Error 1 ==> ERROR: A failure occurred in package(). Aborting...

seirios commented on 2019-09-13 22:49 (UTC)

Seems like pango has to be added as a dependency for cairo terminals to work. Also, I fail to see why emacs and texlive are makedeps. I have succesfully built this package without them.

redshoe commented on 2019-08-09 13:29 (UTC)

Does this support pdfcairo?

pdf terminal disappeared after an update.