From: anjandev <anjandev@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] guile: update to 3.0.2.
Date: Wed, 27 May 2020 01:07:57 +0200 [thread overview]
Message-ID: <20200526230757.oXxtEw_T1FAXOSr8qda49edwPJqceGEmMWBr2HGnG08@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22304@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 313 bytes --]
There is an updated pull request by anjandev against master on the void-packages repository
https://github.com/anjandev/void-packages guile
https://github.com/void-linux/void-packages/pull/22304
guile: update to 3.0.2.
A patch file from https://github.com/void-linux/void-packages/pull/22304.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-guile-22304.patch --]
[-- Type: text/x-diff, Size: 2981 bytes --]
From 3a1a4a464d554c96102f5fada1f2fd323e7efca2 Mon Sep 17 00:00:00 2001
From: Anjandev Momi <anjan@momi.ca>
Date: Tue, 26 May 2020 16:06:41 -0700
Subject: [PATCH] New package: guile3-3.0.2
---
common/shlibs | 2 ++
srcpkgs/guile3-devel | 1 +
srcpkgs/guile3/template | 50 +++++++++++++++++++++++++++++++++++++++++
srcpkgs/libguile3 | 1 +
4 files changed, 54 insertions(+)
create mode 120000 srcpkgs/guile3-devel
create mode 100644 srcpkgs/guile3/template
create mode 120000 srcpkgs/libguile3
diff --git a/common/shlibs b/common/shlibs
index f18df7266ff..28500f05769 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3889,3 +3889,5 @@ libvips.so.42 libvips-8.9.2_1
libvips-cpp.so.42 libvips-8.9.2_1
libselinux.so.1 libselinux-3.0_1
libsepol.so.1 libsepol-3.0_1
+libguile-3.0.so.1 libguile3-3.0.2_1
+guile-readline.so.0 libguile3-3.0.2_1
diff --git a/srcpkgs/guile3-devel b/srcpkgs/guile3-devel
new file mode 120000
index 00000000000..1cd5714f5e9
--- /dev/null
+++ b/srcpkgs/guile3-devel
@@ -0,0 +1 @@
+guile3
\ No newline at end of file
diff --git a/srcpkgs/guile3/template b/srcpkgs/guile3/template
new file mode 100644
index 00000000000..6a29f3c7d20
--- /dev/null
+++ b/srcpkgs/guile3/template
@@ -0,0 +1,50 @@
+# Template file for 'guile3'
+pkgname=guile3
+version=3.0.2
+revision=1
+build_style=gnu-configure
+configure_args="--disable-static --disable-error-on-warning"
+hostmakedepends="pkg-config texinfo"
+makedepends="gc-devel gmp-devel libatomic_ops-devel libffi-devel libltdl-devel
+ libunistring-devel readline-devel"
+short_desc="Portable, embeddable Scheme implementation written in C"
+maintainer="Anjandev Momi <anjan@momi.ca>"
+license="GPL-3.0-or-later, LGPL-3.0-or-later"
+homepage="http://www.gnu.org/software/guile"
+distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=04485e759b2aec44e33cdd06ece28bbb859c1dbef73e8aeac02e4e7ca2fe0e57
+subpackages="libguile3 guile3-devel"
+
+if [ "$CROSS_BUILD" ]; then
+ # Need host guile to cross compile
+ hostmakedepends+=" guile"
+fi
+
+pre_configure() {
+ # magically fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941218
+ case "$XBPS_TARGET_MACHINE" in
+ ppc*) export CFLAGS+=" -Os";;
+ esac
+}
+
+libguile_package() {
+ short_desc+=" - runtime library"
+ pkg_install() {
+ vmove "usr/lib/*.so.*"
+ vmove "usr/lib/guile/*/extensions/guile-readline.so.*"
+ vmkdir usr/share/gdb/auto-load/usr/lib
+ mv ${PKGDESTDIR}/usr/lib/*.scm ${PKGDESTDIR}/usr/share/gdb/auto-load/usr/lib
+ }
+}
+
+guile-devel_package() {
+ short_desc+=" - development files"
+ depends="gmp-devel gc-devel guile>=${version}_${revision}"
+ pkg_install() {
+ vmove usr/bin/guile-config
+ vmove usr/include
+ vmove usr/share/aclocal
+ vmove usr/lib/pkgconfig
+ vmove "usr/lib/*.so"
+ }
+}
diff --git a/srcpkgs/libguile3 b/srcpkgs/libguile3
new file mode 120000
index 00000000000..1cd5714f5e9
--- /dev/null
+++ b/srcpkgs/libguile3
@@ -0,0 +1 @@
+guile3
\ No newline at end of file
next prev parent reply other threads:[~2020-05-26 23:07 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-26 3:48 [PR PATCH] " anjandev
2020-05-26 3:52 ` ericonr
2020-05-26 3:55 ` [PR PATCH] [Updated] " anjandev
2020-05-26 3:57 ` anjandev
2020-05-26 3:57 ` anjandev
2020-05-26 4:01 ` anjandev
2020-05-26 6:32 ` fosslinux
2020-05-26 7:30 ` travankor
2020-05-26 17:49 ` ericonr
2020-05-26 23:07 ` anjandev [this message]
2020-05-27 1:32 ` [PR PATCH] [Updated] New package: guile3-3.0.2 anjandev
2020-05-27 1:37 ` anjandev
2020-05-27 1:42 ` ericonr
2020-05-27 1:43 ` [PR PATCH] [Updated] " anjandev
2020-05-27 2:05 ` anjandev
2020-05-27 2:05 ` [PR PATCH] [Closed]: " anjandev
2020-05-27 3:06 ` [PR PATCH] [Updated] " anjandev
2020-05-27 3:07 ` anjandev
2020-05-27 4:16 ` ericonr
2020-05-27 4:21 ` ericonr
2020-05-27 4:22 ` ericonr
2020-05-27 5:08 ` anjandev
2020-05-27 5:08 ` anjandev
2020-05-27 15:08 ` ericonr
2020-08-03 22:53 ` [PR PATCH] [Closed]: " anjandev
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=20200526230757.oXxtEw_T1FAXOSr8qda49edwPJqceGEmMWBr2HGnG08@z \
--to=anjandev@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).