[arch-commits] Commit in gnuplot/repos/extra-x86_64 (4 files)

Antonio Rojas arojas at gemini.archlinux.org
Sun Mar 13 19:58:47 UTC 2022


    Date: Sunday, March 13, 2022 @ 19:58:47
  Author: arojas
Revision: 439581

archrelease: copy trunk to extra-x86_64

Added:
  gnuplot/repos/extra-x86_64/PKGBUILD
    (from rev 439580, gnuplot/trunk/PKGBUILD)
  gnuplot/repos/extra-x86_64/lua53_compat.patch
    (from rev 439580, gnuplot/trunk/lua53_compat.patch)
Deleted:
  gnuplot/repos/extra-x86_64/PKGBUILD
  gnuplot/repos/extra-x86_64/lua53_compat.patch

--------------------+
 PKGBUILD           |  120 +++++++++++++++++++++++++++------------------------
 lua53_compat.patch |   26 +++++------
 2 files changed, 77 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-13 19:58:35 UTC (rev 439580)
+++ PKGBUILD	2022-03-13 19:58:47 UTC (rev 439581)
@@ -1,56 +0,0 @@
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: damir <damir at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
-
-pkgname=gnuplot
-pkgver=5.4.3
-pkgrel=2
-pkgdesc='Plotting package which outputs to X11, PostScript, PNG, GIF, and others' 
-arch=(x86_64)
-url='http://www.gnuplot.info'
-license=(custom)
-depends=(gd wxgtk3 lua qt5-svg libcerf libcaca) 
-makedepends=(texlive-core emacs texlive-latexextra qt5-tools)
-source=(https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
-        lua53_compat.patch)
-sha256sums=('51f89bbab90f96d3543f95235368d188eb1e26eda296912256abcd3535bd4d84'
-            'bfd8a61abbf4491c74225cb9fd252619d4fc29751838bcb4c0639ffe05a00695')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-  # fix default source location; use the GDFONTPATH variable to modify at runtime
-  sed -i 's|/usr/X11R6/lib/X11/fonts/truetype|/usr/share/fonts/TTF|' src/variable.c
-
-  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
-
-  patch -p1 < "$srcdir"/lua53_compat.patch
-}
-
-build() {
-  cd $pkgname-$pkgver
-
-  MAKEINFO=/usr/bin/makeinfo \
-  WX_CONFIG=/usr/bin/wx-config-gtk3 \
-  ./configure --prefix=/usr \
-              --libexecdir=/usr/bin \
-              --with-gihdir=/usr/share/gnuplot \
-              --with-readline=gnu \
-              --with-bitmap-terminals \
-              --with-wx-single-threaded \
-              --with-caca \
-              --with-texdir=/usr/share/texmf/tex/latex/gnuplot
-  make pkglibexecdir=/usr/bin
-}
-
-package() {
-  cd $pkgname-$pkgver
-  make pkglibexecdir=/usr/bin DESTDIR="$pkgdir" install
-  make DESTDIR="$pkgdir" install -C demo
-
-  install -Dm644 Copyright -t "$pkgdir"/usr/share/licenses/$pkgname
-
-  rm -f "$pkgdir"/usr/share/texmf-dist/ls-R
-}

Copied: gnuplot/repos/extra-x86_64/PKGBUILD (from rev 439580, gnuplot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-13 19:58:47 UTC (rev 439581)
@@ -0,0 +1,64 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgbase=gnuplot
+pkgname=(gnuplot gnuplot-demos)
+pkgver=5.4.3
+pkgrel=4
+pkgdesc='Plotting package which outputs to X11, PostScript, PNG, GIF, and others' 
+arch=(x86_64)
+url='http://www.gnuplot.info'
+license=(custom)
+depends=(gd wxgtk3 lua qt5-svg libcerf libcaca) 
+makedepends=(texlive-core emacs texlive-latexextra qt5-tools)
+source=(https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz
+        lua53_compat.patch)
+sha256sums=('51f89bbab90f96d3543f95235368d188eb1e26eda296912256abcd3535bd4d84'
+            'bfd8a61abbf4491c74225cb9fd252619d4fc29751838bcb4c0639ffe05a00695')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # fix default source location; use the GDFONTPATH variable to modify at runtime
+  sed -i 's|/usr/X11R6/lib/X11/fonts/truetype|/usr/share/fonts/TTF|' src/variable.c
+
+  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
+
+  patch -p1 < "$srcdir"/lua53_compat.patch
+}
+
+build() {
+  cd $pkgbase-$pkgver
+
+  MAKEINFO=/usr/bin/makeinfo \
+  WX_CONFIG=/usr/bin/wx-config-gtk3 \
+  ./configure --prefix=/usr \
+              --libexecdir=/usr/bin \
+              --with-gihdir=/usr/share/gnuplot \
+              --with-readline=gnu \
+              --with-bitmap-terminals \
+              --with-wx-single-threaded \
+              --with-caca \
+              --with-texdir=/usr/share/texmf/tex/latex/gnuplot
+  make pkglibexecdir=/usr/bin
+}
+
+package_gnuplot() {
+  cd $pkgbase-$pkgver
+  make pkglibexecdir=/usr/bin DESTDIR="$pkgdir" install
+  make DESTDIR="$pkgdir" install -C demo
+
+  install -Dm644 Copyright -t "$pkgdir"/usr/share/licenses/$pkgname
+
+  rm -f "$pkgdir"/usr/share/texmf-dist/ls-R
+}
+
+package_gnuplot-demos() {
+  pkgdesc='Demos for gnuplot'
+  depends=(gnuplot)
+
+  install -Dm644 $pkgbase-$pkgver/demo/*.{dem,dat} -t "$pkgdir"/usr/share/gnuplot/demos
+}

Deleted: lua53_compat.patch
===================================================================
--- lua53_compat.patch	2022-03-13 19:58:35 UTC (rev 439580)
+++ lua53_compat.patch	2022-03-13 19:58:47 UTC (rev 439581)
@@ -1,13 +0,0 @@
-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>

Copied: gnuplot/repos/extra-x86_64/lua53_compat.patch (from rev 439580, gnuplot/trunk/lua53_compat.patch)
===================================================================
--- lua53_compat.patch	                        (rev 0)
+++ lua53_compat.patch	2022-03-13 19:58:47 UTC (rev 439581)
@@ -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>



More information about the arch-commits mailing list