public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/mit-scheme/
@ 2022-08-18 19:48 Maciej Barć
  0 siblings, 0 replies; 9+ messages in thread
From: Maciej Barć @ 2022-08-18 19:48 UTC (permalink / raw
  To: gentoo-commits

commit:     55f7e30ce148e6ab133b9593cbb15b910a03afc4
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 18 19:44:45 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Aug 18 19:48:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55f7e30c

dev-scheme/mit-scheme: add missing postgresql cond dep

Closes: https://bugs.gentoo.org/865661
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/mit-scheme/mit-scheme-11.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild b/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild
index 5b4c8feeb470..b2cbd7f95756 100644
--- a/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild
+++ b/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild
@@ -20,6 +20,7 @@ RDEPEND="
 	blowfish? ( dev-libs/openssl:= )
 	gdbm? ( sys-libs/gdbm:= )
 	gui? ( x11-libs/libX11 )
+	postgres? ( dev-db/postgresql:* )
 "
 DEPEND="${RDEPEND}"
 


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/mit-scheme/
@ 2022-11-08 11:44 Maciej Barć
  0 siblings, 0 replies; 9+ messages in thread
From: Maciej Barć @ 2022-11-08 11:44 UTC (permalink / raw
  To: gentoo-commits

commit:     859d9140a96b785ab1ffa027b94b55864ea18070
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  8 11:39:11 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Nov  8 11:39:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=859d9140

dev-scheme/mit-scheme: build microcode first

Closes: https://bugs.gentoo.org/879901
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/mit-scheme/mit-scheme-11.2.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild b/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild
index b2cbd7f95756..3983d9d42651 100644
--- a/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild
+++ b/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild
@@ -41,6 +41,9 @@ src_configure() {
 }
 
 src_compile() {
+	# Compile the "microcode" first, bug #879901
+	emake -C microcode
+
 	# Fails with multiple make-jobs, at least it compiles relatively fast.
 	emake -j1
 }
@@ -53,7 +56,7 @@ src_compile() {
 # runtime/test-flonum.com
 
 src_test() {
-	FAST=y emake check
+	FAST=y emake check -j1
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/mit-scheme/
@ 2023-01-21  8:49 Maciej Barć
  0 siblings, 0 replies; 9+ messages in thread
From: Maciej Barć @ 2023-01-21  8:49 UTC (permalink / raw
  To: gentoo-commits

commit:     3351ca5612b5b182a6a7e158971f819e98299f6e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 21 08:46:57 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 08:49:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3351ca56

dev-scheme/mit-scheme: add remote-id

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/mit-scheme/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-scheme/mit-scheme/metadata.xml b/dev-scheme/mit-scheme/metadata.xml
index c9a9415a00c7..eb1d673ea3c3 100644
--- a/dev-scheme/mit-scheme/metadata.xml
+++ b/dev-scheme/mit-scheme/metadata.xml
@@ -17,5 +17,6 @@
   </use>
   <upstream>
     <bugs-to>https://savannah.gnu.org/bugs/?group=mit-scheme</bugs-to>
+    <remote-id type="savannah">mit-scheme</remote-id>
   </upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/mit-scheme/
@ 2023-01-21  8:49 Maciej Barć
  0 siblings, 0 replies; 9+ messages in thread
From: Maciej Barć @ 2023-01-21  8:49 UTC (permalink / raw
  To: gentoo-commits

commit:     ec48c51ee580b05a495ac6b79994fa30dcf41bd8
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 21 08:43:09 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 08:49:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec48c51e

dev-scheme/mit-scheme: bump to 12.1

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/mit-scheme/Manifest               |  1 +
 dev-scheme/mit-scheme/mit-scheme-12.1.ebuild | 73 ++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/dev-scheme/mit-scheme/Manifest b/dev-scheme/mit-scheme/Manifest
index e5c650ce3768..4ae3264b230c 100644
--- a/dev-scheme/mit-scheme/Manifest
+++ b/dev-scheme/mit-scheme/Manifest
@@ -1 +1,2 @@
 DIST mit-scheme-11.2-svm1-64le.tar.gz 73077951 BLAKE2B 0e6741103c7a96f665e643fe6cab1a52bebcc8549845bf592029f73bbc9518937f45ccbac39e14d29b05b26f602ce810ae3f01030b0afb88560970ad3bb1f6dd SHA512 0bf2e8b1710a87da775b8fca53df808e23e45f6e6310a78b507fa87cd340c051cdf2ffe74268e9f6fc7bf3eaaa9321c2fc016e675fb41e59f648d1e69a1e8458
+DIST mit-scheme-12.1-svm1-64le.tar.gz 88542947 BLAKE2B 07278da41c250924ff833933b7015e865a4dc8feea11a4e1b1647818cacf03fc25878cbe0aca3a8cf08adad5487c0f7aa5e5beb111ed46d09e8473ee01490eca SHA512 07e49b0f3919ad4ed85696766697615dc1720b4278c61d4aa6c3a1a92966d1e6fc7c9c7ca7db395d4e4279c5464639c80503bf4f6a8e51d2e951edc85a453dc9

diff --git a/dev-scheme/mit-scheme/mit-scheme-12.1.ebuild b/dev-scheme/mit-scheme/mit-scheme-12.1.ebuild
new file mode 100644
index 000000000000..2043f7859d2e
--- /dev/null
+++ b/dev-scheme/mit-scheme/mit-scheme-12.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit wrapper
+
+DESCRIPTION="Scheme interpreter, compiler, debugger and runtime library"
+HOMEPAGE="https://www.gnu.org/software/mit-scheme/
+	https://savannah.gnu.org/projects/mit-scheme/"
+SRC_URI="https://ftp.gnu.org/gnu/${PN}/stable.pkg/${PV}/${P}-svm1-64le.tar.gz"
+S="${S}"/src
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"  # Additionally arm64 is officially supported.
+IUSE="blowfish gdbm gui postgres"
+
+RDEPEND="
+	blowfish? ( dev-libs/openssl:= )
+	gdbm? ( sys-libs/gdbm:= )
+	gui? ( x11-libs/libX11 )
+	postgres? ( dev-db/postgresql:* )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-11.2-no-Werror.patch )
+
+src_configure() {
+	local -a myconf=(
+		--disable-mcrypt
+		$(use_enable blowfish)
+		$(use_enable gdbm)
+		$(use_enable gui edwin)
+		$(use_enable gui imail)
+		$(use_enable gui x11)
+		$(use_enable postgres pgsql)
+		$(use_with gui x)
+	)
+	econf ${myconf[@]}
+}
+
+src_compile() {
+	# Compile the "microcode" first, bug #879901
+	emake -C microcode
+
+	# Fails with multiple make-jobs, at least it compiles relatively fast.
+	emake -j1
+}
+
+# Tests that theoretically fail (still passes):
+# microcode/test-flonum-except
+# runtime/test-arith
+# runtime/test-flonum
+# runtime/test-flonum.bin
+# runtime/test-flonum.com
+
+src_test() {
+	FAST=y emake check -j1
+}
+
+src_install() {
+	default
+
+	# Create the edwin launcher.
+	use gui && make_wrapper mit-scheme-edwin "mit-scheme --edit"
+
+	# Remove "scheme" symlink to not "discriminate" any other implementations.
+	rm "${ED}"/usr/bin/scheme || die
+
+	# Remove libtool files.
+	find "${ED}" -type f -name "*.la" -delete || die
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/mit-scheme/
@ 2023-01-24 23:55 Sam James
  0 siblings, 0 replies; 9+ messages in thread
From: Sam James @ 2023-01-24 23:55 UTC (permalink / raw
  To: gentoo-commits

commit:     3621baa38df7be65e467a4d7bead39138dcd21b0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 24 23:55:11 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 24 23:55:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3621baa3

dev-scheme/mit-scheme: Stabilize 11.2 amd64, #891969

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-scheme/mit-scheme/mit-scheme-11.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild b/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild
index 3983d9d42651..f8e69c604756 100644
--- a/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild
+++ b/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -13,7 +13,7 @@ S="${S}"/src
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64"  # Additionally arm64 is officially supported.
+KEYWORDS="amd64"  # Additionally arm64 is officially supported.
 IUSE="blowfish gdbm gui postgres"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/mit-scheme/
@ 2023-07-07 22:04 Sam James
  0 siblings, 0 replies; 9+ messages in thread
From: Sam James @ 2023-07-07 22:04 UTC (permalink / raw
  To: gentoo-commits

commit:     f483d2c1d67b0faab14bb892ebbae53b2931b111
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  7 22:03:55 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul  7 22:04:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f483d2c1

dev-scheme/mit-scheme: Stabilize 12.1 amd64, #909825

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-scheme/mit-scheme/mit-scheme-12.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-scheme/mit-scheme/mit-scheme-12.1.ebuild b/dev-scheme/mit-scheme/mit-scheme-12.1.ebuild
index bae59266c121..97ddc30c4ab2 100644
--- a/dev-scheme/mit-scheme/mit-scheme-12.1.ebuild
+++ b/dev-scheme/mit-scheme/mit-scheme-12.1.ebuild
@@ -13,7 +13,7 @@ S="${S}"/src
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64"  # Additionally arm64 is officially supported.
+KEYWORDS="amd64"  # Additionally arm64 is officially supported.
 IUSE="blowfish gdbm gui postgres"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/mit-scheme/
@ 2024-03-02 16:32 Maciej Barć
  0 siblings, 0 replies; 9+ messages in thread
From: Maciej Barć @ 2024-03-02 16:32 UTC (permalink / raw
  To: gentoo-commits

commit:     476dde6ce15acab929d8fa633606c75e90b7b348
Author:     Oskari Pirhonen <xxc3ncoredxx <AT> gmail <DOT> com>
AuthorDate: Sat Mar  2 03:39:49 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Mar  2 16:32:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=476dde6c

dev-scheme/mit-scheme: drop 12.1

Signed-off-by: Oskari Pirhonen <xxc3ncoredxx <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/35576
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/mit-scheme/mit-scheme-12.1.ebuild | 76 ----------------------------
 1 file changed, 76 deletions(-)

diff --git a/dev-scheme/mit-scheme/mit-scheme-12.1.ebuild b/dev-scheme/mit-scheme/mit-scheme-12.1.ebuild
deleted file mode 100644
index 97ddc30c4ab2..000000000000
--- a/dev-scheme/mit-scheme/mit-scheme-12.1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit wrapper
-
-DESCRIPTION="Scheme interpreter, compiler, debugger and runtime library"
-HOMEPAGE="https://www.gnu.org/software/mit-scheme/
-	https://savannah.gnu.org/projects/mit-scheme/"
-SRC_URI="https://ftp.gnu.org/gnu/${PN}/stable.pkg/${PV}/${P}-svm1-64le.tar.gz"
-S="${S}"/src
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64"  # Additionally arm64 is officially supported.
-IUSE="blowfish gdbm gui postgres"
-
-RDEPEND="
-	blowfish? ( dev-libs/openssl:= )
-	gdbm? ( sys-libs/gdbm:= )
-	gui? ( x11-libs/libX11 )
-	postgres? ( dev-db/postgresql:* )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-11.2-no-Werror.patch
-	"${FILESDIR}"/${PN}-11.2-implicit-int.patch
-)
-
-src_configure() {
-	local -a myconf=(
-		--disable-mcrypt
-		$(use_enable blowfish)
-		$(use_enable gdbm)
-		$(use_enable gui edwin)
-		$(use_enable gui imail)
-		$(use_enable gui x11)
-		$(use_enable postgres pgsql)
-		$(use_with gui x)
-	)
-	econf ${myconf[@]}
-}
-
-src_compile() {
-	# Compile the "microcode" first, bug #879901
-	emake -C microcode
-
-	# Fails with multiple make-jobs, at least it compiles relatively fast.
-	emake -j1
-}
-
-# Tests that theoretically fail (still passes):
-# microcode/test-flonum-except
-# runtime/test-arith
-# runtime/test-flonum
-# runtime/test-flonum.bin
-# runtime/test-flonum.com
-
-src_test() {
-	FAST=y emake check -j1
-}
-
-src_install() {
-	default
-
-	# Create the edwin launcher.
-	use gui && make_wrapper mit-scheme-edwin "mit-scheme --edit"
-
-	# Remove "scheme" symlink to not "discriminate" any other implementations.
-	rm "${ED}"/usr/bin/scheme || die
-
-	# Remove libtool files.
-	find "${ED}" -type f -name "*.la" -delete || die
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/mit-scheme/
@ 2024-03-02 16:32 Maciej Barć
  0 siblings, 0 replies; 9+ messages in thread
From: Maciej Barć @ 2024-03-02 16:32 UTC (permalink / raw
  To: gentoo-commits

commit:     12cdc3ecd95e9f57bd897d63c9383cc4f6929614
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  2 16:22:08 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Mar  2 16:32:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12cdc3ec

dev-scheme/mit-scheme: drop old 11.2

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/mit-scheme/Manifest               |  1 -
 dev-scheme/mit-scheme/mit-scheme-11.2.ebuild | 76 ----------------------------
 2 files changed, 77 deletions(-)

diff --git a/dev-scheme/mit-scheme/Manifest b/dev-scheme/mit-scheme/Manifest
index 4ae3264b230c..7bfa01d36351 100644
--- a/dev-scheme/mit-scheme/Manifest
+++ b/dev-scheme/mit-scheme/Manifest
@@ -1,2 +1 @@
-DIST mit-scheme-11.2-svm1-64le.tar.gz 73077951 BLAKE2B 0e6741103c7a96f665e643fe6cab1a52bebcc8549845bf592029f73bbc9518937f45ccbac39e14d29b05b26f602ce810ae3f01030b0afb88560970ad3bb1f6dd SHA512 0bf2e8b1710a87da775b8fca53df808e23e45f6e6310a78b507fa87cd340c051cdf2ffe74268e9f6fc7bf3eaaa9321c2fc016e675fb41e59f648d1e69a1e8458
 DIST mit-scheme-12.1-svm1-64le.tar.gz 88542947 BLAKE2B 07278da41c250924ff833933b7015e865a4dc8feea11a4e1b1647818cacf03fc25878cbe0aca3a8cf08adad5487c0f7aa5e5beb111ed46d09e8473ee01490eca SHA512 07e49b0f3919ad4ed85696766697615dc1720b4278c61d4aa6c3a1a92966d1e6fc7c9c7ca7db395d4e4279c5464639c80503bf4f6a8e51d2e951edc85a453dc9

diff --git a/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild b/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild
deleted file mode 100644
index 723378e963db..000000000000
--- a/dev-scheme/mit-scheme/mit-scheme-11.2.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit wrapper
-
-DESCRIPTION="Scheme interpreter, compiler, debugger and runtime library"
-HOMEPAGE="https://www.gnu.org/software/mit-scheme/
-	https://savannah.gnu.org/projects/mit-scheme/"
-SRC_URI="https://ftp.gnu.org/gnu/${PN}/stable.pkg/${PV}/${P}-svm1-64le.tar.gz"
-S="${S}"/src
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64"  # Additionally arm64 is officially supported.
-IUSE="blowfish gdbm gui postgres"
-
-RDEPEND="
-	blowfish? ( dev-libs/openssl:= )
-	gdbm? ( sys-libs/gdbm:= )
-	gui? ( x11-libs/libX11 )
-	postgres? ( dev-db/postgresql:* )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-	"${FILESDIR}"/${P}-no-Werror.patch
-	"${FILESDIR}"/${P}-implicit-int.patch
-)
-
-src_configure() {
-	local myconf=(
-		--disable-mcrypt
-		$(use_enable blowfish)
-		$(use_enable gdbm)
-		$(use_enable gui edwin)
-		$(use_enable gui imail)
-		$(use_enable gui x11)
-		$(use_enable postgres pgsql)
-		$(use_with gui x)
-	)
-	econf ${myconf[@]}
-}
-
-src_compile() {
-	# Compile the "microcode" first, bug #879901
-	emake -C microcode
-
-	# Fails with multiple make-jobs, at least it compiles relatively fast.
-	emake -j1
-}
-
-# Tests that theoretically fail (still passes):
-# microcode/test-flonum-except
-# runtime/test-arith
-# runtime/test-flonum
-# runtime/test-flonum.bin
-# runtime/test-flonum.com
-
-src_test() {
-	FAST=y emake check -j1
-}
-
-src_install() {
-	default
-
-	# Create the edwin launcher.
-	use gui && make_wrapper mit-scheme-edwin 'mit-scheme --edit'
-
-	# Remove "scheme" symlink to not "discriminate" any other implementations.
-	rm "${ED}"/usr/bin/scheme || die
-
-	# Remove libtool files.
-	find "${ED}" -type f -name '*.la' -delete || die
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/mit-scheme/
@ 2024-03-02 16:32 Maciej Barć
  0 siblings, 0 replies; 9+ messages in thread
From: Maciej Barć @ 2024-03-02 16:32 UTC (permalink / raw
  To: gentoo-commits

commit:     800d509ac4529bd6952bed60247756bb7806abee
Author:     Oskari Pirhonen <xxc3ncoredxx <AT> gmail <DOT> com>
AuthorDate: Thu Feb 29 01:46:47 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Mar  2 16:32:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=800d509a

dev-scheme/mit-scheme: "modern" c fix

Use termcap/terminfo provided by ncurses instead of the included ancient
1980's termcap emulation complete with everyone's favorite 1980's flavor
of C.

Closes: https://bugs.gentoo.org/871507
Signed-off-by: Oskari Pirhonen <xxc3ncoredxx <AT> gmail.com>
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/mit-scheme/mit-scheme-12.1-r1.ebuild | 93 +++++++++++++++++++++++++
 1 file changed, 93 insertions(+)

diff --git a/dev-scheme/mit-scheme/mit-scheme-12.1-r1.ebuild b/dev-scheme/mit-scheme/mit-scheme-12.1-r1.ebuild
new file mode 100644
index 000000000000..785388a9f324
--- /dev/null
+++ b/dev-scheme/mit-scheme/mit-scheme-12.1-r1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs wrapper
+
+DESCRIPTION="Scheme interpreter, compiler, debugger and runtime library"
+HOMEPAGE="https://www.gnu.org/software/mit-scheme/
+	https://savannah.gnu.org/projects/mit-scheme/"
+SRC_URI="https://ftp.gnu.org/gnu/${PN}/stable.pkg/${PV}/${P}-svm1-64le.tar.gz"
+S="${S}"/src
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64"  # Additionally arm64 is officially supported.
+IUSE="blowfish gdbm gui postgres"
+
+BDEPEND="
+	virtual/pkgconfig
+"
+# Use ncurses to avoid ancient emulated termcap from 1980's, bug #871507
+RDEPEND="
+	sys-libs/ncurses
+	blowfish? ( dev-libs/openssl:= )
+	gdbm? ( sys-libs/gdbm:= )
+	gui? ( x11-libs/libX11 )
+	postgres? ( dev-db/postgresql:* )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-11.2-no-Werror.patch
+	"${FILESDIR}"/${PN}-11.2-implicit-int.patch
+)
+
+src_configure() {
+	local termcap
+
+	# ncurses provides termcap via terminfo which is found in "tinfo" when
+	# installed as ncurses[tinfo] and in "ncurses" when installed as
+	# ncurses[-tinfo].
+	if "$(tc-getPKG_CONFIG)" --exists tinfo ; then
+		termcap=tinfo
+	else
+		termcap=ncurses
+	fi
+
+	local -a myconf=(
+		--disable-mcrypt
+		--with-termcap=${termcap}
+		$(use_enable blowfish)
+		$(use_enable gdbm)
+		$(use_enable gui edwin)
+		$(use_enable gui imail)
+		$(use_enable gui x11)
+		$(use_enable postgres pgsql)
+		$(use_with gui x)
+	)
+	econf ${myconf[@]}
+}
+
+src_compile() {
+	# Compile the "microcode" first, bug #879901
+	emake -C microcode
+
+	# Fails with multiple make-jobs, at least it compiles relatively fast.
+	emake -j1
+}
+
+# Tests that theoretically fail (still passes):
+# microcode/test-flonum-except
+# runtime/test-arith
+# runtime/test-flonum
+# runtime/test-flonum.bin
+# runtime/test-flonum.com
+
+src_test() {
+	FAST=y emake check -j1
+}
+
+src_install() {
+	default
+
+	# Create the edwin launcher.
+	use gui && make_wrapper mit-scheme-edwin "mit-scheme --edit"
+
+	# Remove "scheme" symlink to not "discriminate" any other implementations.
+	rm "${ED}"/usr/bin/scheme || die
+
+	# Remove libtool files.
+	find "${ED}" -type f -name "*.la" -delete || die
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-03-02 16:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-18 19:48 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/mit-scheme/ Maciej Barć
  -- strict thread matches above, loose matches on Subject: below --
2022-11-08 11:44 Maciej Barć
2023-01-21  8:49 Maciej Barć
2023-01-21  8:49 Maciej Barć
2023-01-24 23:55 Sam James
2023-07-07 22:04 Sam James
2024-03-02 16:32 Maciej Barć
2024-03-02 16:32 Maciej Barć
2024-03-02 16:32 Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox