Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
gnuplot
Commits:
38b6fffb by Antonio Rojas at 2026-01-05T16:07:00+01:00
upgpkg: 6.0.4-2: lua 5.5 rebuild
- - - - -
4 changed files:
- .SRCINFO
- PKGBUILD
- REUSE.toml
- + lua55_compat.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = gnuplot
pkgdesc = Plotting package which outputs to X11, PostScript, PNG, GIF,
and others
pkgver = 6.0.4
- pkgrel = 1
+ pkgrel = 2
url = http://www.gnuplot.info
arch = x86_64
license = LicenseRef-Gnuplot
@@ -29,8 +29,10 @@ pkgbase = gnuplot
depends = wxwidgets-gtk3
source = git+https://git.code.sf.net/p/gnuplot/gnuplot-main#tag=6.0.4
source = lua53_compat.patch
+ source = lua55_compat.patch
sha256sums =
e3b6c9564a58b86309acc35a5e77463cbdcb2d8c59bca9e6adfe7b80b338a0e7
sha256sums =
bfd8a61abbf4491c74225cb9fd252619d4fc29751838bcb4c0639ffe05a00695
+ sha256sums =
03e6f82798d8941e4215a7eb924debacf1e1b9e00755ede285c54c88b93c83c2
pkgname = gnuplot
=====================================
PKGBUILD
=====================================
@@ -7,7 +7,7 @@ pkgbase=gnuplot
pkgname=(gnuplot
gnuplot-demos)
pkgver=6.0.4
-pkgrel=1
+pkgrel=2
pkgdesc='Plotting package which outputs to X11, PostScript, PNG, GIF, and
others'
arch=(x86_64)
url='http://www.gnuplot.info'
@@ -35,14 +35,17 @@ makedepends=(emacs
qt6-tools
texlive-latexextra)
source=(git+https://git.code.sf.net/p/gnuplot/gnuplot-main#tag=$pkgver
- lua53_compat.patch)
+ lua53_compat.patch
+ lua55_compat.patch)
sha256sums=('e3b6c9564a58b86309acc35a5e77463cbdcb2d8c59bca9e6adfe7b80b338a0e7'
- 'bfd8a61abbf4491c74225cb9fd252619d4fc29751838bcb4c0639ffe05a00695')
+ 'bfd8a61abbf4491c74225cb9fd252619d4fc29751838bcb4c0639ffe05a00695'
+ '03e6f82798d8941e4215a7eb924debacf1e1b9e00755ede285c54c88b93c83c2')
prepare() {
cd gnuplot-main
- patch -p1 < "$srcdir"/lua53_compat.patch
+ patch -p1 < ../lua53_compat.patch
+ patch -p1 < ../lua55_compat.patch
./prepare
}
=====================================
REUSE.toml
=====================================
@@ -18,6 +18,7 @@ path = [
"*.desktop",
"*.hook",
"lua53_compat.patch",
+ "lua55_compat.patch",
]
SPDX-FileCopyrightText = "Arch Linux contributors"
SPDX-License-Identifier = "0BSD"
=====================================
lua55_compat.patch
=====================================
@@ -0,0 +1,16 @@
+diff -ru gnuplot-main.orig/term/lua/gnuplot-tikz.lua
gnuplot-main/term/lua/gnuplot-tikz.lua
+--- gnuplot-main.orig/term/lua/gnuplot-tikz.lua 2026-01-05
16:02:15.698157126 +0100
++++ gnuplot-main/term/lua/gnuplot-tikz.lua 2026-01-05 16:03:05.620939358
+0100
+@@ -2543,9 +2543,9 @@
+ term_help = function(helptext)
+ local w
+ for w in string.gmatch(helptext, "([^\n]*)\n") do
+- w = string.gsub(w, "\\", "\\\\")
+- w = string.gsub(w, "\"", "\\\"")
+- io.write('"'..w.."\",\n")
++ w0 = string.gsub(w, "\\", "\\\\")
++ w0 = string.gsub(w0, "\"", "\\\"")
++ io.write('"'..w0.."\",\n")
+ end
+ --[[
+ local out = string.gsub(helptext, "\n", "\",\n\"")
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/gnuplot/-/commit/38b6fffb03e0e0e6ff1a60cb84db42d0d792cb1e
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/gnuplot/-/commit/38b6fffb03e0e0e6ff1a60cb84db42d0d792cb1e
You're receiving this email because of your account on gitlab.archlinux.org.