Github messages for voidlinux
 help / color / mirror / Atom feed
From: rc-05 <rc-05@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: Gauche-0.9.9
Date: Mon, 04 May 2020 00:07:44 +0200	[thread overview]
Message-ID: <20200503220744.PSLM2iKRcgIL1xNzwBfw-mSHUZ9q4YG38PfTLQIlog0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21205@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 676 bytes --]

There is an updated pull request by rc-05 against master on the void-packages repository

https://github.com/rc-05/void-packages Gauche
https://github.com/void-linux/void-packages/pull/21205

New package: Gauche-0.9.9
**Description from [upstream](https://practical-scheme.net/gauche/index.html):**

Gauche is an R7RS Scheme implementation developed to be a handy script interpreter, which allows programmers and system administrators to write small to large scripts for their daily chores. Quick startup, built-in system interface, native multilingual support are some of my goals.

A patch file from https://github.com/void-linux/void-packages/pull/21205.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-Gauche-21205.patch --]
[-- Type: text/x-diff, Size: 2849 bytes --]

From a3304cf4cd8f0d8326968d99608024863bb09d1c Mon Sep 17 00:00:00 2001
From: Raffaele <rc23@email.it>
Date: Tue, 21 Apr 2020 15:38:10 +0200
Subject: [PATCH] New package: Gauche-0.9.9

---
 srcpkgs/Gauche/patches/src-makefile.patch | 19 ++++++++++++
 srcpkgs/Gauche/template                   | 37 +++++++++++++++++++++++
 2 files changed, 56 insertions(+)
 create mode 100644 srcpkgs/Gauche/patches/src-makefile.patch
 create mode 100644 srcpkgs/Gauche/template

diff --git a/srcpkgs/Gauche/patches/src-makefile.patch b/srcpkgs/Gauche/patches/src-makefile.patch
new file mode 100644
index 00000000000..02fddf9cffd
--- /dev/null
+++ b/srcpkgs/Gauche/patches/src-makefile.patch
@@ -0,0 +1,19 @@
+--- src/Makefile.in	2019-12-13 22:50:49.000000000 +0100
++++ src/Makefile-patched.in	2020-04-30 22:47:55.667135591 +0200
+@@ -59,6 +59,7 @@
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS  = @LDFLAGS@
+ BUILD_GOSH_FLAGS =
++GOSH     = @GOSH@
+ 
+ # These are set by configure
+ DEFS     = @DEFS@
+@@ -526,7 +527,7 @@
+ 	       "$(DESTDIR)$(SITE_SCM_DIR)" \
+ 	       "$(DESTDIR)$(SITE_ARCH_DIR)"
+ @CROSS_COMPILING_no@GAUCHE_INSTALL = ./gosh -ftest $(srcdir)/gauche-install.in
+-@CROSS_COMPILING_yes@GAUCHE_INSTALL = gosh $(srcdir)/gauche-install.in
++@CROSS_COMPILING_yes@GAUCHE_INSTALL = $(GOSH) $(srcdir)/gauche-install.in
+ 
+ install : install-core
+ 
diff --git a/srcpkgs/Gauche/template b/srcpkgs/Gauche/template
new file mode 100644
index 00000000000..88ec0457b27
--- /dev/null
+++ b/srcpkgs/Gauche/template
@@ -0,0 +1,37 @@
+# Template file for 'Gauche'
+pkgname=Gauche
+version=0.9.9
+revision=1
+build_style=gnu-configure
+hostmakedepends="texinfo"
+makedepends="libticonv-devel"
+short_desc="Practical Scheme R7RS implementation"
+maintainer="rc-05 <rc23@email.it>"
+license="BSD-3-Clause"
+homepage="https://practical-scheme.net/gauche/"
+distfiles="${SOURCEFORGE_SITE}/gauche/${pkgname}-${version}.tgz"
+checksum=4ca9325322a7efadb9680d156eb7b53521321c9ca4955c4cbe738bc2e1d7f7fb
+alternatives="
+ scheme:scheme:/usr/bin/gauche
+ scheme:scheme.1:/usr/share/man/man1/gauche.1
+"
+
+if [ -n "$CROSS_BUILD" ]; then
+	# Gauche needs itself to bootstrap for cross compilation.
+	hostmakedepends+=" Gauche"
+	# Normally BUILD_GOSH doesn't need to be set but in this case it is mandatory
+	# as the native Gauche binary (which is needed to cross-compile for another
+	# architecture) has been renamed for conflict problems with another package with
+	# the same name.
+	configure_args="BUILD_GOSH=/usr/bin/gauche"
+	make_install_args="GOSH=/usr/bin/gauche"
+fi
+
+post_install() {
+	# Needed as Gauche's binary conflicts with the "gosh" package bin.
+	mv $DESTDIR/usr/bin/gosh $DESTDIR/usr/bin/gauche
+	# Modify also the manual page filename to remain consitent.
+	mv $DESTDIR/usr/share/man/man1/gosh.1 $DESTDIR/usr/share/man/man1/gauche.1
+
+	vlicense COPYING
+}

  parent reply	other threads:[~2020-05-03 22:07 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-21 13:42 [PR PATCH] " rc-05
2020-04-21 16:29 ` [PR PATCH] [Updated] " rc-05
2020-04-21 16:42 ` rc-05
2020-04-21 16:44 ` rc-05
2020-04-21 19:52 ` Chocimier
2020-04-22 22:46 ` [PR PATCH] [Updated] " rc-05
2020-04-22 22:49 ` rc-05
2020-04-22 22:52 ` [PR PATCH] [Updated] " rc-05
2020-04-22 22:53 ` rc-05
2020-04-22 22:53 ` rc-05
2020-04-22 22:53 ` rc-05
2020-04-22 22:55 ` [PR PATCH] [Updated] " rc-05
2020-04-22 23:34 ` rc-05
2020-04-22 23:36 ` rc-05
2020-04-22 23:39 ` [PR PATCH] [Updated] " rc-05
2020-04-22 23:40 ` rc-05
2020-04-24 17:07 ` Chocimier
2020-04-25 14:06 ` rc-05
2020-04-25 14:07 ` rc-05
2020-04-25 16:09 ` [PR PATCH] [Updated] " rc-05
2020-04-25 16:23 ` rc-05
2020-04-25 16:25 ` rc-05
2020-04-27 16:44 ` [PR PATCH] [Updated] " rc-05
2020-04-27 21:13 ` rc-05
2020-04-28 15:12 ` rc-05
2020-04-28 15:12 ` rc-05
2020-04-28 15:12 ` rc-05
2020-04-28 15:13 ` rc-05
2020-04-28 15:13 ` rc-05
2020-04-28 15:15 ` [PR PATCH] [Updated] " rc-05
2020-04-28 21:51 ` rc-05
2020-04-28 23:58 ` [PR PATCH] [Updated] " rc-05
2020-04-29  0:00 ` rc-05
2020-04-30 19:05 ` [WIP] " rc-05
2020-04-30 19:07 ` Chocimier
2020-04-30 19:08 ` Chocimier
2020-04-30 21:17 ` rc-05
2020-04-30 21:29 ` [PR PATCH] [Updated] " rc-05
2020-05-01 22:45 ` Chocimier
2020-05-03 21:55 ` rc-05
2020-05-03 21:57 ` rc-05
2020-05-03 22:03 ` rc-05
2020-05-03 22:05 ` [PR PATCH] [Updated] " rc-05
2020-05-03 22:06 ` rc-05
2020-05-03 22:07 ` rc-05 [this message]
2020-05-03 22:08 ` rc-05
2020-05-04 18:00 ` Chocimier
2020-05-07  2:41 ` rc-05
2020-05-07  2:41 ` rc-05
2020-05-07 12:26 ` [PR PATCH] [Updated] " rc-05
2020-05-07 13:31 ` rc-05
2020-05-11 21:23 ` Chocimier
2020-05-11 21:55 ` rc-05
2020-05-16 11:57 ` Chocimier
2020-05-17 14:41 ` [PR PATCH] [Updated] " rc-05
2020-05-18 16:39 ` [PR PATCH] [Merged]: " Chocimier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200503220744.PSLM2iKRcgIL1xNzwBfw-mSHUZ9q4YG38PfTLQIlog0@z \
    --to=rc-05@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).