Github messages for voidlinux
 help / color / mirror / Atom feed
From: sirikid <sirikid@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New packaeg: guile3.0-3.0.4
Date: Mon, 21 Dec 2020 09:36:57 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27318@inbox.vuxu.org> (raw)

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

There is a new pull request by sirikid against master on the void-packages repository

https://github.com/sirikid/void-packages package/guile3.0
https://github.com/void-linux/void-packages/pull/27318

New packaeg: guile3.0-3.0.4


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-package/guile3.0-27318.patch --]
[-- Type: text/x-diff, Size: 3795 bytes --]

From 71c58b46999d4ba061dbd7c680ace118470e9eb5 Mon Sep 17 00:00:00 2001
From: Ivan Sokolov <ivan-p-sokolov@ya.ru>
Date: Sun, 27 Sep 2020 08:13:42 +0300
Subject: [PATCH 1/2] New package: guile3.0

---
 common/shlibs             |  2 ++
 srcpkgs/guile3.0-devel    |  1 +
 srcpkgs/guile3.0/template | 44 +++++++++++++++++++++++++++++++++++++++
 srcpkgs/libguile3.0       |  1 +
 4 files changed, 48 insertions(+)
 create mode 120000 srcpkgs/guile3.0-devel
 create mode 100644 srcpkgs/guile3.0/template
 create mode 120000 srcpkgs/libguile3.0

diff --git a/common/shlibs b/common/shlibs
index 079e0ebe5d0..6f725a56892 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4049,3 +4049,5 @@ libtdb-wrap-samba4.so samba-libs-4.13.2_1
 libutil-cmdline-samba4.so samba-libs-4.13.2_1
 libwbclient.so.0 samba-libs-4.13.2_1
 libwinbind-client-samba4.so samba-libs-4.13.2_1
+libguile-3.0.so.1 libguile3.0-3.0.4_1
+guile-readline.so.0 guile3.0-3.0.4_1
diff --git a/srcpkgs/guile3.0-devel b/srcpkgs/guile3.0-devel
new file mode 120000
index 00000000000..38f02d43a80
--- /dev/null
+++ b/srcpkgs/guile3.0-devel
@@ -0,0 +1 @@
+./guile3.0
\ No newline at end of file
diff --git a/srcpkgs/guile3.0/template b/srcpkgs/guile3.0/template
new file mode 100644
index 00000000000..2b47377b6f6
--- /dev/null
+++ b/srcpkgs/guile3.0/template
@@ -0,0 +1,44 @@
+# Template file for 'guile3.0'
+pkgname=guile3.0
+version=3.0.4
+revision=1
+wrksrc="${pkgname/3.0/}-${version}"
+build_style=gnu-configure
+configure_args="--program-suffix=3.0"
+hostmakedepends="emacs pkg-config texinfo"
+makedepends="gc-devel gmp-devel libatomic_ops-devel libffi-devel libltdl-devel
+ libunistring-devel $(vopt_if readline readline-devel)"
+short_desc="Portable, embeddable Scheme implementation written in C"
+maintainer="Ivan Sokolov <ivan-p-sokolov@ya.ru>"
+license="GPL-3.0-or-later, LGPL-3.0-or-later"
+homepage="https://www.gnu.org/software/guile"
+distfiles="${GNU_SITE}/guile/guile-${version}.tar.gz"
+checksum=13f2f61a665469d330e651c8e9f7faecbb87fe474767f9532f2e821701730957
+
+build_options="readline"
+build_options_default="readline"
+
+if [ "$CROSS_BUILD" ]; then
+	configure_args+=" GUILE_FOR_BUILD=guile3.0"
+	hostmakedepends+=" guile3.0"
+fi
+
+libguile3.0_package() {
+	short_desc+=" - runtime library"
+	pkg_install() {
+		vmove "usr/lib/*.so.*"
+	}
+}
+
+guile3.0-devel_package() {
+	depends="gc-devel gmp-devel ${sourcepkg}-${version}_${revision}"
+	short_desc+=" - development files"
+	pkg_install() {
+		vmove usr/share/aclocal
+		vmove usr/share/guile
+		vmove usr/lib/pkgconfig
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/include
+	}
+}
diff --git a/srcpkgs/libguile3.0 b/srcpkgs/libguile3.0
new file mode 120000
index 00000000000..38f02d43a80
--- /dev/null
+++ b/srcpkgs/libguile3.0
@@ -0,0 +1 @@
+./guile3.0
\ No newline at end of file

From 0016b2a2ad1df012bc5ce2db598022991ee7e690 Mon Sep 17 00:00:00 2001
From: Ivan Sokolov <ivan-p-sokolov@ya.ru>
Date: Mon, 21 Dec 2020 11:32:35 +0300
Subject: [PATCH 2/2] WIP: fix cross-compilation?

---
 srcpkgs/guile3.0/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/guile3.0/template b/srcpkgs/guile3.0/template
index 2b47377b6f6..1bbd832893b 100644
--- a/srcpkgs/guile3.0/template
+++ b/srcpkgs/guile3.0/template
@@ -20,7 +20,7 @@ build_options_default="readline"
 
 if [ "$CROSS_BUILD" ]; then
 	configure_args+=" GUILE_FOR_BUILD=guile3.0"
-	hostmakedepends+=" guile3.0"
+	hostmakedepends+=" guile3.0 guile3.0-devel"
 fi
 
 libguile3.0_package() {
@@ -31,7 +31,7 @@ libguile3.0_package() {
 }
 
 guile3.0-devel_package() {
-	depends="gc-devel gmp-devel ${sourcepkg}-${version}_${revision}"
+	depends="${sourcepkg}-${version}_${revision}"
 	short_desc+=" - development files"
 	pkg_install() {
 		vmove usr/share/aclocal

             reply	other threads:[~2020-12-21  8:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-21  8:36 sirikid [this message]
2020-12-21 10:09 ` New package: guile3.0-3.0.4 unspecd
2020-12-21 10:15 ` sirikid
2020-12-21 12:53 ` [PR PATCH] [Updated] WIP: " sirikid
2020-12-21 13:05 ` [PR PATCH] [Closed]: " sirikid

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27318@inbox.vuxu.org \
    --to=sirikid@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).