public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2015-10-04 16:29 Sergei Trofimovich
  0 siblings, 0 replies; 110+ messages in thread
From: Sergei Trofimovich @ 2015-10-04 16:29 UTC (permalink / raw
  To: gentoo-commits

commit:     a8a2aded90be39ba583eeac64d9f4501133e9daf
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  4 15:06:30 2015 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Oct  4 16:29:51 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8a2aded

dev-scheme/racket: bump up to 6.2.1, bug #558852 by Amy Winston

While at it fixed broken sed magic by Nolan Eakins

Bug: https://bugs.gentoo.org/show_bug.cgi?id=558852
Package-Manager: portage-2.2.22

 dev-scheme/racket/Manifest            |  2 +
 dev-scheme/racket/racket-6.2.1.ebuild | 71 +++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 1005abe..aee4d65 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -6,4 +6,6 @@ DIST racket-5.3.3-src-unix.tgz 18903284 SHA256 4772a01c0d1db32827b390b3239263f2a
 DIST racket-5.3.4-src-unix.tgz 19314579 SHA256 4d1fb86e001c497af674199f1ddff5534843bb94f21b9f0c1209b8bfdbad2d7b SHA512 35a05e31a11a8569d938af152a784358479cdad9f5007b04890d485ce92f04554df09d46179042478df96e018756b06e6c7c544b4f113272c31234b75ca740a9 WHIRLPOOL e114c4b18d4c18c8852627c9de207dd543e1f63b056bd1e8cbdecbe5e2a2a916d3144585ddb620c539ceb4c0710e0ee237803ffd4fa5b45e73434f7f017673e0
 DIST racket-5.3.6-src-unix.tgz 19278914 SHA256 7fe0ffc1231f888cd481f175e428f0217257dd136d2513bde73954af5a7cfb8a SHA512 08e8b599e800f41c9497b07e163ed43ae02ae9d9bcc3e20da31eb2f6aa20aa4b0071db51e93696ae1bd644ddfa1c3aea587a334db24ced4a3654dcf5da138e8f WHIRLPOOL c2c34de08d0ec9942f040cc23ea7f2a9bb743d0dcc7125e1b5336b0845482e67abd46b1b5cb821e898c3db50767312f3a27e386a0b7046bf068feb23a1b1bf52
 DIST racket-6.0.1-src-builtpkgs.tgz 101425779 SHA256 2b5f2bccb21d408041e167a4476115075c3b230ab50e1d66fe1a3c0ab205bfa1 SHA512 b51fade0afa33b11c4be7da8aec910a8b33bb1cc097748362ecc342b3cd50dcd1c6c52c68c3485b91bddd74a15f8767d357d911151c8cd263a0caa5d72a888a5 WHIRLPOOL d7944c7e1851bb48cc08c29d93763fb0c269ecbc33b59e02bbd6fc1592287376434c0c8c87bada29289d235d7816420170bc6c0f12f684eb9a32a7508342ce0b
+DIST racket-6.2.1-src-builtpkgs.tgz 113159311 SHA256 04429315159d86c71037e4c1157a724476065803e32346abc0ee37708aed0fcd SHA512 1776e22412d37de69019147e670c88b015d31c31c654cc647ee6598588e94cad32b8d52e4d1738febe3ed47aaf1dc89c5db03878a0e3a4baff75dab302c2a294 WHIRLPOOL 9de2f3068061b13067c6e05289ae6ca233c9c0a90ef639a6e9853df5deb9e1358f2609e712e472312bd599a0cbe79973c4525c5fa99bbc9cd59837d674498b68
 DIST racket-minimal-6.0.1-src-builtpkgs.tgz 9139061 SHA256 f58aa4e3e831417b72d5c19aba20a5b0eaa1111af2f1afa3096b0a4e83b860a3 SHA512 99c7ecf5d7e1de40358a03a5878271e2864fa9e6fe11bab71bd68784bd058a2edbb4ec65ba455dbff2a943c78ec0f9a9b0f46b1532fc1b55be500593160da313 WHIRLPOOL bc3dc19d8c23129866adeb71d125314d66ce2e505d1a453f26c09e9aa42bc98626cba2ddb87d8ae53c7ad5939443defc88c4f1c4ce174567a01b1f56be9788ea
+DIST racket-minimal-6.2.1-src-builtpkgs.tgz 9736885 SHA256 47eceb5f23ab66a939650fa44dd89ffcb17a6227f58c6bc80e90aa8999c86b36 SHA512 048f247136b15c2b118f497e9058a34dc7135ad4fbe707345290238e1268dd72e0ba35d3fd1690d0f9e97e56748f8964eb80c23c6be278bc6e5e819414c0d4a9 WHIRLPOOL 3c475a8204cea6c802043f4e823d2b1cdc50055ebc3288768988d5e3bf8e502b32300228360603743a9b1d065a845bb1e22d12e4b0fe79a4a6132e2ba335be53

diff --git a/dev-scheme/racket/racket-6.2.1.ebuild b/dev-scheme/racket/racket-6.2.1.ebuild
new file mode 100644
index 0000000..20e48f0
--- /dev/null
+++ b/dev-scheme/racket/racket-6.2.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+# for live ebuilds uncomment inherit git-2, comment SRC_URI and empty KEYWORDS
+
+inherit eutils pax-utils
+#inherit git-2
+
+DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages"
+HOMEPAGE="http://racket-lang.org/"
+SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"
+EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +futures +jit minimal +places +threads +X"
+REQUIRED_USE="futures? ( jit )"
+
+# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation
+RDEPEND="dev-db/sqlite:3 x11-libs/cairo[X?] virtual/libffi"
+DEPEND="${RDEPEND}"
+
+EGIT_SOURCEDIR="${WORKDIR}/${P}"
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+	#remove bundled libraries
+	rm -rf foreign/libffi/
+}
+
+src_configure() {
+# according to vapier, we should use the bundled libtool
+# such that we don't preclude cross-compile. Thus don't use
+# --enable-lt=/usr/bin/libtool
+	econf \
+		$(use_enable X gracket) \
+		$(use_enable doc docs) \
+		--enable-shared \
+		$(use_enable jit) \
+		--enable-foreign \
+		$(use_enable places) \
+		$(use_enable futures) \
+		$(use_enable threads pthread)
+}
+
+src_compile() {
+	if use jit; then
+		pushd racket
+		emake cgc
+		pax-mark m .libs/racketcgc
+		emake 3m
+		pax-mark m .libs/racket3m
+		popd
+	fi
+	emake
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+
+	#racket now comes with desktop files, but DESTDIR is mishandled
+	for f in /usr/share/applications/{drracket,slideshow}.desktop; do
+		sed -e "s|${D}||g" \
+			-i "${D}/${f}" || die "Failed to patch '${f}'"
+	done
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2016-03-21  8:43 Amy Winston
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Winston @ 2016-03-21  8:43 UTC (permalink / raw
  To: gentoo-commits

commit:     d3b1227d3bc41c0683b799e83b242c3a8c862518
Author:     Amy Winston <amynka <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 21 08:17:22 2016 +0000
Commit:     Amy Winston <amynka <AT> gentoo <DOT> org>
CommitDate: Mon Mar 21 08:40:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3b1227d

dev-scheme/racket: description changed

Package-Manager: portage-2.2.26

 dev-scheme/racket/racket-5.3.6.ebuild | 4 ++--
 dev-scheme/racket/racket-6.0.1.ebuild | 4 ++--
 dev-scheme/racket/racket-6.2.1.ebuild | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-scheme/racket/racket-5.3.6.ebuild b/dev-scheme/racket/racket-5.3.6.ebuild
index b121258..0ed44d3 100644
--- a/dev-scheme/racket/racket-5.3.6.ebuild
+++ b/dev-scheme/racket/racket-5.3.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -9,7 +9,7 @@ EAPI="4"
 inherit eutils
 #inherit git-2
 
-DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages"
+DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family."
 HOMEPAGE="http://racket-lang.org/"
 SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz"
 #SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"

diff --git a/dev-scheme/racket/racket-6.0.1.ebuild b/dev-scheme/racket/racket-6.0.1.ebuild
index 8453648..d05b2a0 100644
--- a/dev-scheme/racket/racket-6.0.1.ebuild
+++ b/dev-scheme/racket/racket-6.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -9,7 +9,7 @@ EAPI="5"
 inherit eutils pax-utils
 #inherit git-2
 
-DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages"
+DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family."
 HOMEPAGE="http://racket-lang.org/"
 SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
 #SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"

diff --git a/dev-scheme/racket/racket-6.2.1.ebuild b/dev-scheme/racket/racket-6.2.1.ebuild
index 20e48f0..171c433 100644
--- a/dev-scheme/racket/racket-6.2.1.ebuild
+++ b/dev-scheme/racket/racket-6.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -9,7 +9,7 @@ EAPI="5"
 inherit eutils pax-utils
 #inherit git-2
 
-DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages"
+DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family."
 HOMEPAGE="http://racket-lang.org/"
 SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
 #SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2016-03-21  8:43 Amy Winston
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Winston @ 2016-03-21  8:43 UTC (permalink / raw
  To: gentoo-commits

commit:     bba8cd02f6a1f3a7cf264dc0a12603b08ffc4c89
Author:     Amy Winston <amynka <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 21 08:38:58 2016 +0000
Commit:     Amy Winston <amynka <AT> gentoo <DOT> org>
CommitDate: Mon Mar 21 08:41:00 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bba8cd02

dev-scheme/racket: version bump 6.4 bug #567358

Package-Manager: portage-2.2.26

 dev-scheme/racket/Manifest          |  2 ++
 dev-scheme/racket/racket-6.4.ebuild | 72 +++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 6a95b0c..557d6c2 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,5 +1,7 @@
 DIST racket-5.3.6-src-unix.tgz 19278914 SHA256 7fe0ffc1231f888cd481f175e428f0217257dd136d2513bde73954af5a7cfb8a SHA512 08e8b599e800f41c9497b07e163ed43ae02ae9d9bcc3e20da31eb2f6aa20aa4b0071db51e93696ae1bd644ddfa1c3aea587a334db24ced4a3654dcf5da138e8f WHIRLPOOL c2c34de08d0ec9942f040cc23ea7f2a9bb743d0dcc7125e1b5336b0845482e67abd46b1b5cb821e898c3db50767312f3a27e386a0b7046bf068feb23a1b1bf52
 DIST racket-6.0.1-src-builtpkgs.tgz 101425779 SHA256 2b5f2bccb21d408041e167a4476115075c3b230ab50e1d66fe1a3c0ab205bfa1 SHA512 b51fade0afa33b11c4be7da8aec910a8b33bb1cc097748362ecc342b3cd50dcd1c6c52c68c3485b91bddd74a15f8767d357d911151c8cd263a0caa5d72a888a5 WHIRLPOOL d7944c7e1851bb48cc08c29d93763fb0c269ecbc33b59e02bbd6fc1592287376434c0c8c87bada29289d235d7816420170bc6c0f12f684eb9a32a7508342ce0b
 DIST racket-6.2.1-src-builtpkgs.tgz 113159311 SHA256 04429315159d86c71037e4c1157a724476065803e32346abc0ee37708aed0fcd SHA512 1776e22412d37de69019147e670c88b015d31c31c654cc647ee6598588e94cad32b8d52e4d1738febe3ed47aaf1dc89c5db03878a0e3a4baff75dab302c2a294 WHIRLPOOL 9de2f3068061b13067c6e05289ae6ca233c9c0a90ef639a6e9853df5deb9e1358f2609e712e472312bd599a0cbe79973c4525c5fa99bbc9cd59837d674498b68
+DIST racket-6.4-src-builtpkgs.tgz 120269476 SHA256 5feb8279d9b3b1adf8642714dcb4cb8514832cb17135174be8733b92e1a0078a SHA512 58ef8a27afe61a44ee65f00a1096dbbb833f5d2e8a1fddd1dd4a250164031358216c88c21ef6b9a3a84996a4317338175301493511c49e92a80135653af8159c WHIRLPOOL 9e4258bd2cdb1758546db7e149a8c3429f43f3fd71cafabb6fb3d7012098d56e68420bf743571adfd9082639da5455e4dbe98baa64a50746e5969af20b906378
 DIST racket-minimal-6.0.1-src-builtpkgs.tgz 9139061 SHA256 f58aa4e3e831417b72d5c19aba20a5b0eaa1111af2f1afa3096b0a4e83b860a3 SHA512 99c7ecf5d7e1de40358a03a5878271e2864fa9e6fe11bab71bd68784bd058a2edbb4ec65ba455dbff2a943c78ec0f9a9b0f46b1532fc1b55be500593160da313 WHIRLPOOL bc3dc19d8c23129866adeb71d125314d66ce2e505d1a453f26c09e9aa42bc98626cba2ddb87d8ae53c7ad5939443defc88c4f1c4ce174567a01b1f56be9788ea
 DIST racket-minimal-6.2.1-src-builtpkgs.tgz 9736885 SHA256 47eceb5f23ab66a939650fa44dd89ffcb17a6227f58c6bc80e90aa8999c86b36 SHA512 048f247136b15c2b118f497e9058a34dc7135ad4fbe707345290238e1268dd72e0ba35d3fd1690d0f9e97e56748f8964eb80c23c6be278bc6e5e819414c0d4a9 WHIRLPOOL 3c475a8204cea6c802043f4e823d2b1cdc50055ebc3288768988d5e3bf8e502b32300228360603743a9b1d065a845bb1e22d12e4b0fe79a4a6132e2ba335be53
+DIST racket-minimal-6.4-src-builtpkgs.tgz 10880010 SHA256 cf717d4983f4198fce8973ead5d427bc9da78b73bd51fee16b58c894c2a146e8 SHA512 7ff59dcfe97e96d1d8a22b2cfcc28e32833742dae93839d0bcd80a43ff3834a02128681f9b9adab0f66ae99745f3b6cf87f6fa39f71f9a288f14cf22e6cc4629 WHIRLPOOL 74633074ed9f44e4c99c2eb0808ee393c8dbc66f84f2c9787ad1ab359bb4c60b3cda86a858d08fabe38680a8fe42e5f856c8baab780e9847aa3a2eb0fb1e0158

diff --git a/dev-scheme/racket/racket-6.4.ebuild b/dev-scheme/racket/racket-6.4.ebuild
new file mode 100644
index 0000000..2cd5718
--- /dev/null
+++ b/dev-scheme/racket/racket-6.4.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+# for live ebuilds uncomment inherit git-2, comment SRC_URI and empty KEYWORDS
+
+inherit eutils pax-utils
+#inherit git-2
+
+#DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages"
+DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family."
+HOMEPAGE="http://racket-lang.org/"
+SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"
+EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +futures +jit minimal +places +threads +X"
+REQUIRED_USE="futures? ( jit )"
+
+# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation
+RDEPEND="dev-db/sqlite:3 x11-libs/cairo[X?] virtual/libffi"
+DEPEND="${RDEPEND}"
+
+EGIT_SOURCEDIR="${WORKDIR}/${P}"
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+	#remove bundled libraries
+	rm -rf foreign/libffi/
+}
+
+src_configure() {
+# according to vapier, we should use the bundled libtool
+# such that we don't preclude cross-compile. Thus don't use
+# --enable-lt=/usr/bin/libtool
+	econf \
+		$(use_enable X gracket) \
+		$(use_enable doc docs) \
+		--enable-shared \
+		$(use_enable jit) \
+		--enable-foreign \
+		$(use_enable places) \
+		$(use_enable futures) \
+		$(use_enable threads pthread)
+}
+
+src_compile() {
+	if use jit; then
+		pushd racket
+		emake cgc
+		pax-mark m .libs/racketcgc
+		emake 3m
+		pax-mark m .libs/racket3m
+		popd
+	fi
+	emake
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+
+	#racket now comes with desktop files, but DESTDIR is mishandled
+	for f in /usr/share/applications/{drracket,slideshow}.desktop; do
+		sed -e "s|${D}||g" \
+			-i "${D}/${f}" || die "Failed to patch '${f}'"
+	done
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2016-03-21  8:43 Amy Winston
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Winston @ 2016-03-21  8:43 UTC (permalink / raw
  To: gentoo-commits

commit:     32620c22dae2927b1aef66bc5cb8ac9b400dbd64
Author:     Amy Winston <amynka <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 21 08:14:08 2016 +0000
Commit:     Amy Winston <amynka <AT> gentoo <DOT> org>
CommitDate: Mon Mar 21 08:40:56 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32620c22

dev-scheme/racket: old versions removed

Package-Manager: portage-2.2.26

 dev-scheme/racket/Manifest            |  6 ---
 dev-scheme/racket/racket-5.1.2.ebuild | 71 ----------------------------------
 dev-scheme/racket/racket-5.2.1.ebuild | 71 ----------------------------------
 dev-scheme/racket/racket-5.3.1.ebuild | 71 ----------------------------------
 dev-scheme/racket/racket-5.3.2.ebuild | 71 ----------------------------------
 dev-scheme/racket/racket-5.3.3.ebuild | 71 ----------------------------------
 dev-scheme/racket/racket-5.3.4.ebuild | 72 -----------------------------------
 7 files changed, 433 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index aee4d65..6a95b0c 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,9 +1,3 @@
-DIST racket-5.1.2-src-unix.tgz 15960181 SHA256 99871d6c17c383eb31c5788e17e52849144b51494bd96d2ff1ab396d8041175b SHA512 bafcefeb4788621463745d19aa018d1e0a996585d0a025669dda0006893be76884aefd15d1a1213287fb777cca4f3a5136ad09c1af28b50164656085e1062243 WHIRLPOOL f7aab8936f902018f2d34781530ea3e596d21fa7b2487a61493991560f3084487d86f6e9b7bf6800cb4c52318f1253ea6e7a1af1b6ae1caf8fb44825b02af5d4
-DIST racket-5.2.1-src-unix.tgz 17210561 SHA256 69942a4efbfc2b17d836b5252e6f77b4aa40887a8a4a04ec228a44b7cfddb3ec SHA512 b60d259878cc237e26952ffcd07aa483c460a14a1f62e0a939466a4a51ad4ddfb8eda6845962823c0394268ceb3f050a88d1ab364013381f7ebcf077c4571e3e WHIRLPOOL 7b4eddf90a0dd17579aaf19e8df3a6867b9fa06349d254728b0a2cbd56ea83968fb5e1ac3202cb1001e62726cd4160dd174d6e5bf8310918eb4e8d84ba8913ef
-DIST racket-5.3.1-src-unix.tgz 18296513 SHA256 2abfcd4edf39db9eafcc8a456ccf216fe486cb718e1f70210f902cc6b1d418c3 SHA512 3586a5e06dd7ba0357fca0478df967ec2984ff9457137f4a6947a690e0b66c372ea4785d9608069938234947127ebb8120cc5adf944dc4bf4bca903596a42435 WHIRLPOOL 3ba50e678b361dba059667bcd3421a0e736c1c27079b48cdc5f22786733737b36ccdcc013d2bb9821af5a67cf344b7276bee99274805a77a76bb14ce4f4d2a08
-DIST racket-5.3.2-src-unix.tgz 18903002 SHA256 dfbb4d305388c23bd80352a18b19a3746a8e402a23e0081416cd6f61b55701fb SHA512 36293de679530e85f4bf4e416d1028cb6fe7cc6d012e7b7f3a0b2203603e7d04c449dee5d0d0b6ab8cf3386e758a557d752119cd60c1a0aec12ea8815a17e413 WHIRLPOOL aae25f4507dd54dabc8b2e5ce4f11202cf69d25bffcf1fd8575ddd1623c5a2249f6f5a9750fc5ff7843c9c152587b6cfc94f1421581ddfd79c176c54461b4b23
-DIST racket-5.3.3-src-unix.tgz 18903284 SHA256 4772a01c0d1db32827b390b3239263f2a44a1c6bdcf63224dd7d36027575e0e2 SHA512 fdf1cfad87f5324a839dd766ac46681928f2d555b1b91ecfbe234ba1d83fc1412f7fe9d4e9586f0e9d36a724185b6c382de9cf0b74426d64570e9c22d0d057f1 WHIRLPOOL d6434fc970dc88476593233b5ff970d6a307350b8a34788bc42f81baedac0efa51910919581b10ca48a2e47f9c645432682819185e2ef9acc46fddd34e279ef1
-DIST racket-5.3.4-src-unix.tgz 19314579 SHA256 4d1fb86e001c497af674199f1ddff5534843bb94f21b9f0c1209b8bfdbad2d7b SHA512 35a05e31a11a8569d938af152a784358479cdad9f5007b04890d485ce92f04554df09d46179042478df96e018756b06e6c7c544b4f113272c31234b75ca740a9 WHIRLPOOL e114c4b18d4c18c8852627c9de207dd543e1f63b056bd1e8cbdecbe5e2a2a916d3144585ddb620c539ceb4c0710e0ee237803ffd4fa5b45e73434f7f017673e0
 DIST racket-5.3.6-src-unix.tgz 19278914 SHA256 7fe0ffc1231f888cd481f175e428f0217257dd136d2513bde73954af5a7cfb8a SHA512 08e8b599e800f41c9497b07e163ed43ae02ae9d9bcc3e20da31eb2f6aa20aa4b0071db51e93696ae1bd644ddfa1c3aea587a334db24ced4a3654dcf5da138e8f WHIRLPOOL c2c34de08d0ec9942f040cc23ea7f2a9bb743d0dcc7125e1b5336b0845482e67abd46b1b5cb821e898c3db50767312f3a27e386a0b7046bf068feb23a1b1bf52
 DIST racket-6.0.1-src-builtpkgs.tgz 101425779 SHA256 2b5f2bccb21d408041e167a4476115075c3b230ab50e1d66fe1a3c0ab205bfa1 SHA512 b51fade0afa33b11c4be7da8aec910a8b33bb1cc097748362ecc342b3cd50dcd1c6c52c68c3485b91bddd74a15f8767d357d911151c8cd263a0caa5d72a888a5 WHIRLPOOL d7944c7e1851bb48cc08c29d93763fb0c269ecbc33b59e02bbd6fc1592287376434c0c8c87bada29289d235d7816420170bc6c0f12f684eb9a32a7508342ce0b
 DIST racket-6.2.1-src-builtpkgs.tgz 113159311 SHA256 04429315159d86c71037e4c1157a724476065803e32346abc0ee37708aed0fcd SHA512 1776e22412d37de69019147e670c88b015d31c31c654cc647ee6598588e94cad32b8d52e4d1738febe3ed47aaf1dc89c5db03878a0e3a4baff75dab302c2a294 WHIRLPOOL 9de2f3068061b13067c6e05289ae6ca233c9c0a90ef639a6e9853df5deb9e1358f2609e712e472312bd599a0cbe79973c4525c5fa99bbc9cd59837d674498b68

diff --git a/dev-scheme/racket/racket-5.1.2.ebuild b/dev-scheme/racket/racket-5.1.2.ebuild
deleted file mode 100644
index 090b35b..0000000
--- a/dev-scheme/racket/racket-5.1.2.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS
-
-inherit eutils
-#inherit git-2
-
-DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages"
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz"
-#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"
-EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="backtrace cairo doc futures jit places plot threads X"
-
-RDEPEND="X? ( x11-libs/cairo[X] ) virtual/libffi"
-
-DEPEND="${RDEPEND} !dev-tex/slatex"
-
-EGIT_SOURCEDIR="${WORKDIR}/${P}"
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	#remove bundled libraries
-	rm -rf foreign/libffi/
-
-	sed -e "s,docdir=\"\${datadir}/${PN}/doc,docdir=\"\${datadir}/doc/${PF}," -i configure || die
-}
-
-src_configure() {
-# according to vapier, we should use the bundled libtool
-# such that we don't preclude cross-compile. Thus don't use
-# --enable-lt=/usr/bin/libtool
-	econf \
-		$(use_enable X gracket) \
-		$(use_enable plot) \
-		$(use_enable doc docs) \
-		--enable-shared \
-		$(use_enable jit) \
-		--enable-foreign \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable backtrace) \
-		$(use_enable threads pthread) \
-		--disable-perl \
-		$(use_with X x)
-}
-
-src_compile() {
-	emake || die
-}
-
-src_install() {
-	# deal with slatex
-	insinto /usr/share/texmf/tex/latex/slatex/
-	doins ../collects/slatex/slatex.sty
-
-	emake DESTDIR="${D}" install || die "emake install failed"
-
-	if use X; then
-		newicon ../collects/icons/PLT-206.png drracket.png
-		make_desktop_entry drracket "DrRacket" drracket "Development"
-	fi
-}

diff --git a/dev-scheme/racket/racket-5.2.1.ebuild b/dev-scheme/racket/racket-5.2.1.ebuild
deleted file mode 100644
index 090b35b..0000000
--- a/dev-scheme/racket/racket-5.2.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS
-
-inherit eutils
-#inherit git-2
-
-DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages"
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz"
-#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"
-EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="backtrace cairo doc futures jit places plot threads X"
-
-RDEPEND="X? ( x11-libs/cairo[X] ) virtual/libffi"
-
-DEPEND="${RDEPEND} !dev-tex/slatex"
-
-EGIT_SOURCEDIR="${WORKDIR}/${P}"
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	#remove bundled libraries
-	rm -rf foreign/libffi/
-
-	sed -e "s,docdir=\"\${datadir}/${PN}/doc,docdir=\"\${datadir}/doc/${PF}," -i configure || die
-}
-
-src_configure() {
-# according to vapier, we should use the bundled libtool
-# such that we don't preclude cross-compile. Thus don't use
-# --enable-lt=/usr/bin/libtool
-	econf \
-		$(use_enable X gracket) \
-		$(use_enable plot) \
-		$(use_enable doc docs) \
-		--enable-shared \
-		$(use_enable jit) \
-		--enable-foreign \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable backtrace) \
-		$(use_enable threads pthread) \
-		--disable-perl \
-		$(use_with X x)
-}
-
-src_compile() {
-	emake || die
-}
-
-src_install() {
-	# deal with slatex
-	insinto /usr/share/texmf/tex/latex/slatex/
-	doins ../collects/slatex/slatex.sty
-
-	emake DESTDIR="${D}" install || die "emake install failed"
-
-	if use X; then
-		newicon ../collects/icons/PLT-206.png drracket.png
-		make_desktop_entry drracket "DrRacket" drracket "Development"
-	fi
-}

diff --git a/dev-scheme/racket/racket-5.3.1.ebuild b/dev-scheme/racket/racket-5.3.1.ebuild
deleted file mode 100644
index 090b35b..0000000
--- a/dev-scheme/racket/racket-5.3.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS
-
-inherit eutils
-#inherit git-2
-
-DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages"
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz"
-#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"
-EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="backtrace cairo doc futures jit places plot threads X"
-
-RDEPEND="X? ( x11-libs/cairo[X] ) virtual/libffi"
-
-DEPEND="${RDEPEND} !dev-tex/slatex"
-
-EGIT_SOURCEDIR="${WORKDIR}/${P}"
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	#remove bundled libraries
-	rm -rf foreign/libffi/
-
-	sed -e "s,docdir=\"\${datadir}/${PN}/doc,docdir=\"\${datadir}/doc/${PF}," -i configure || die
-}
-
-src_configure() {
-# according to vapier, we should use the bundled libtool
-# such that we don't preclude cross-compile. Thus don't use
-# --enable-lt=/usr/bin/libtool
-	econf \
-		$(use_enable X gracket) \
-		$(use_enable plot) \
-		$(use_enable doc docs) \
-		--enable-shared \
-		$(use_enable jit) \
-		--enable-foreign \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable backtrace) \
-		$(use_enable threads pthread) \
-		--disable-perl \
-		$(use_with X x)
-}
-
-src_compile() {
-	emake || die
-}
-
-src_install() {
-	# deal with slatex
-	insinto /usr/share/texmf/tex/latex/slatex/
-	doins ../collects/slatex/slatex.sty
-
-	emake DESTDIR="${D}" install || die "emake install failed"
-
-	if use X; then
-		newicon ../collects/icons/PLT-206.png drracket.png
-		make_desktop_entry drracket "DrRacket" drracket "Development"
-	fi
-}

diff --git a/dev-scheme/racket/racket-5.3.2.ebuild b/dev-scheme/racket/racket-5.3.2.ebuild
deleted file mode 100644
index e5aeb2a..0000000
--- a/dev-scheme/racket/racket-5.3.2.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS
-
-inherit eutils
-#inherit git-2
-
-DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages"
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz"
-#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"
-EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="backtrace cairo doc futures jit places plot threads X"
-
-RDEPEND="dev-db/sqlite:3 X? ( x11-libs/cairo[X] ) virtual/libffi"
-
-DEPEND="${RDEPEND} !dev-tex/slatex"
-
-EGIT_SOURCEDIR="${WORKDIR}/${P}"
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	#remove bundled libraries
-	rm -rf foreign/libffi/
-
-	sed -e "s,docdir=\"\${datadir}/${PN}/doc,docdir=\"\${datadir}/doc/${PF}," -i configure || die
-}
-
-src_configure() {
-# according to vapier, we should use the bundled libtool
-# such that we don't preclude cross-compile. Thus don't use
-# --enable-lt=/usr/bin/libtool
-	econf \
-		$(use_enable X gracket) \
-		$(use_enable plot) \
-		$(use_enable doc docs) \
-		--enable-shared \
-		$(use_enable jit) \
-		--enable-foreign \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable backtrace) \
-		$(use_enable threads pthread) \
-		--disable-perl \
-		$(use_with X x)
-}
-
-src_compile() {
-	emake || die
-}
-
-src_install() {
-	# deal with slatex
-	insinto /usr/share/texmf/tex/latex/slatex/
-	doins ../collects/slatex/slatex.sty
-
-	emake DESTDIR="${D}" install || die "emake install failed"
-
-	if use X; then
-		newicon ../collects/icons/PLT-206.png drracket.png
-		make_desktop_entry drracket "DrRacket" drracket "Development"
-	fi
-}

diff --git a/dev-scheme/racket/racket-5.3.3.ebuild b/dev-scheme/racket/racket-5.3.3.ebuild
deleted file mode 100644
index e5aeb2a..0000000
--- a/dev-scheme/racket/racket-5.3.3.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS
-
-inherit eutils
-#inherit git-2
-
-DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages"
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz"
-#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"
-EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="backtrace cairo doc futures jit places plot threads X"
-
-RDEPEND="dev-db/sqlite:3 X? ( x11-libs/cairo[X] ) virtual/libffi"
-
-DEPEND="${RDEPEND} !dev-tex/slatex"
-
-EGIT_SOURCEDIR="${WORKDIR}/${P}"
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	#remove bundled libraries
-	rm -rf foreign/libffi/
-
-	sed -e "s,docdir=\"\${datadir}/${PN}/doc,docdir=\"\${datadir}/doc/${PF}," -i configure || die
-}
-
-src_configure() {
-# according to vapier, we should use the bundled libtool
-# such that we don't preclude cross-compile. Thus don't use
-# --enable-lt=/usr/bin/libtool
-	econf \
-		$(use_enable X gracket) \
-		$(use_enable plot) \
-		$(use_enable doc docs) \
-		--enable-shared \
-		$(use_enable jit) \
-		--enable-foreign \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable backtrace) \
-		$(use_enable threads pthread) \
-		--disable-perl \
-		$(use_with X x)
-}
-
-src_compile() {
-	emake || die
-}
-
-src_install() {
-	# deal with slatex
-	insinto /usr/share/texmf/tex/latex/slatex/
-	doins ../collects/slatex/slatex.sty
-
-	emake DESTDIR="${D}" install || die "emake install failed"
-
-	if use X; then
-		newicon ../collects/icons/PLT-206.png drracket.png
-		make_desktop_entry drracket "DrRacket" drracket "Development"
-	fi
-}

diff --git a/dev-scheme/racket/racket-5.3.4.ebuild b/dev-scheme/racket/racket-5.3.4.ebuild
deleted file mode 100644
index 28e2c0c..0000000
--- a/dev-scheme/racket/racket-5.3.4.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS
-
-inherit eutils
-#inherit git-2
-
-DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages"
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz"
-#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"
-EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="backtrace cairo doc futures jit places plot threads X"
-
-RDEPEND="dev-db/sqlite:3 x11-libs/cairo[X?] virtual/libffi"
-
-# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation
-DEPEND="${RDEPEND} x11-libs/cairo !dev-tex/slatex"
-
-EGIT_SOURCEDIR="${WORKDIR}/${P}"
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	#remove bundled libraries
-	rm -rf foreign/libffi/
-
-	sed -e "s,docdir=\"\${datadir}/${PN}/doc,docdir=\"\${datadir}/doc/${PF}," -i configure || die
-}
-
-src_configure() {
-# according to vapier, we should use the bundled libtool
-# such that we don't preclude cross-compile. Thus don't use
-# --enable-lt=/usr/bin/libtool
-	econf \
-		$(use_enable X gracket) \
-		$(use_enable plot) \
-		$(use_enable doc docs) \
-		--enable-shared \
-		$(use_enable jit) \
-		--enable-foreign \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable backtrace) \
-		$(use_enable threads pthread) \
-		--disable-perl \
-		$(use_with X x)
-}
-
-src_compile() {
-	emake || die
-}
-
-src_install() {
-	# deal with slatex
-	insinto /usr/share/texmf/tex/latex/slatex/
-	doins ../collects/slatex/slatex.sty
-
-	emake DESTDIR="${D}" install || die "emake install failed"
-
-	if use X; then
-		newicon ../collects/icons/PLT-206.png drracket.png
-		make_desktop_entry drracket "DrRacket" drracket "Development"
-	fi
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2016-03-22 14:32 Agostino Sarubbo
  0 siblings, 0 replies; 110+ messages in thread
From: Agostino Sarubbo @ 2016-03-22 14:32 UTC (permalink / raw
  To: gentoo-commits

commit:     0f4f6fde222c4f3bbe7bf97657b0ce258be130f5
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 22 14:31:50 2016 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Mar 22 14:31:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f4f6fde

dev-scheme/racket: amd64 stable wrt bug #577902

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/racket-6.0.1.ebuild b/dev-scheme/racket/racket-6.0.1.ebuild
index d05b2a0..66269f0 100644
--- a/dev-scheme/racket/racket-6.0.1.ebuild
+++ b/dev-scheme/racket/racket-6.0.1.ebuild
@@ -17,7 +17,7 @@ EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
 IUSE="doc +futures +jit minimal +places +threads +X"
 REQUIRED_USE="futures? ( jit )"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2016-06-03 19:38 Amy Winston
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Winston @ 2016-06-03 19:38 UTC (permalink / raw
  To: gentoo-commits

commit:     7133d2aae913674790060c940f9418c77e43d3c1
Author:     Amy Winston <amynka <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  3 19:36:28 2016 +0000
Commit:     Amy Winston <amynka <AT> gentoo <DOT> org>
CommitDate: Fri Jun  3 19:36:28 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7133d2aa

dev-scheme/racket: version bump 6.5 bug #584752

Package-Manager: portage-2.2.28

 dev-scheme/racket/Manifest          |  2 ++
 dev-scheme/racket/racket-6.5.ebuild | 72 +++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 557d6c2..4ff7308 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -2,6 +2,8 @@ DIST racket-5.3.6-src-unix.tgz 19278914 SHA256 7fe0ffc1231f888cd481f175e428f0217
 DIST racket-6.0.1-src-builtpkgs.tgz 101425779 SHA256 2b5f2bccb21d408041e167a4476115075c3b230ab50e1d66fe1a3c0ab205bfa1 SHA512 b51fade0afa33b11c4be7da8aec910a8b33bb1cc097748362ecc342b3cd50dcd1c6c52c68c3485b91bddd74a15f8767d357d911151c8cd263a0caa5d72a888a5 WHIRLPOOL d7944c7e1851bb48cc08c29d93763fb0c269ecbc33b59e02bbd6fc1592287376434c0c8c87bada29289d235d7816420170bc6c0f12f684eb9a32a7508342ce0b
 DIST racket-6.2.1-src-builtpkgs.tgz 113159311 SHA256 04429315159d86c71037e4c1157a724476065803e32346abc0ee37708aed0fcd SHA512 1776e22412d37de69019147e670c88b015d31c31c654cc647ee6598588e94cad32b8d52e4d1738febe3ed47aaf1dc89c5db03878a0e3a4baff75dab302c2a294 WHIRLPOOL 9de2f3068061b13067c6e05289ae6ca233c9c0a90ef639a6e9853df5deb9e1358f2609e712e472312bd599a0cbe79973c4525c5fa99bbc9cd59837d674498b68
 DIST racket-6.4-src-builtpkgs.tgz 120269476 SHA256 5feb8279d9b3b1adf8642714dcb4cb8514832cb17135174be8733b92e1a0078a SHA512 58ef8a27afe61a44ee65f00a1096dbbb833f5d2e8a1fddd1dd4a250164031358216c88c21ef6b9a3a84996a4317338175301493511c49e92a80135653af8159c WHIRLPOOL 9e4258bd2cdb1758546db7e149a8c3429f43f3fd71cafabb6fb3d7012098d56e68420bf743571adfd9082639da5455e4dbe98baa64a50746e5969af20b906378
+DIST racket-6.5-src-builtpkgs.tgz 125157499 SHA256 9cfd20e7b68f6e7effaef144e184d7e67e1a2bab1df2b1c0b5fce8581f4c9457 SHA512 9ae2a0dd0fa6f5836ae27f48f1253626d76c0d79249a2b6bfb32aa20f9036897364bfea81a782d7b9bed782677608433cc2cfafc2bb0143e5aef1b1185d1d39a WHIRLPOOL de6fdb68d1e351f8f1e3556698fde70d3128b684d73618144692c19c392958934c3792e420329c3f4bef44a86853c577179d15fd0247fa9c8e13b54474525586
 DIST racket-minimal-6.0.1-src-builtpkgs.tgz 9139061 SHA256 f58aa4e3e831417b72d5c19aba20a5b0eaa1111af2f1afa3096b0a4e83b860a3 SHA512 99c7ecf5d7e1de40358a03a5878271e2864fa9e6fe11bab71bd68784bd058a2edbb4ec65ba455dbff2a943c78ec0f9a9b0f46b1532fc1b55be500593160da313 WHIRLPOOL bc3dc19d8c23129866adeb71d125314d66ce2e505d1a453f26c09e9aa42bc98626cba2ddb87d8ae53c7ad5939443defc88c4f1c4ce174567a01b1f56be9788ea
 DIST racket-minimal-6.2.1-src-builtpkgs.tgz 9736885 SHA256 47eceb5f23ab66a939650fa44dd89ffcb17a6227f58c6bc80e90aa8999c86b36 SHA512 048f247136b15c2b118f497e9058a34dc7135ad4fbe707345290238e1268dd72e0ba35d3fd1690d0f9e97e56748f8964eb80c23c6be278bc6e5e819414c0d4a9 WHIRLPOOL 3c475a8204cea6c802043f4e823d2b1cdc50055ebc3288768988d5e3bf8e502b32300228360603743a9b1d065a845bb1e22d12e4b0fe79a4a6132e2ba335be53
 DIST racket-minimal-6.4-src-builtpkgs.tgz 10880010 SHA256 cf717d4983f4198fce8973ead5d427bc9da78b73bd51fee16b58c894c2a146e8 SHA512 7ff59dcfe97e96d1d8a22b2cfcc28e32833742dae93839d0bcd80a43ff3834a02128681f9b9adab0f66ae99745f3b6cf87f6fa39f71f9a288f14cf22e6cc4629 WHIRLPOOL 74633074ed9f44e4c99c2eb0808ee393c8dbc66f84f2c9787ad1ab359bb4c60b3cda86a858d08fabe38680a8fe42e5f856c8baab780e9847aa3a2eb0fb1e0158
+DIST racket-minimal-6.5-src-builtpkgs.tgz 11037268 SHA256 44fe95a4ec4d442b4f6f68e360104ca9715bd1fe3795d302d6cddaceb15696dc SHA512 d1c1e3333025c8c1f88bb21ad34d019745ad7e12779af1f2a2f1cc618b8a11735266dd1bc42158df3bdf3438f6dcde6322563874685e3a760dd2ec78018497f5 WHIRLPOOL 2cf320c52d7265782c89c674237efc49b25bc4721b89b5d6100052b504028102693dff08acd3a5c7757c9c7c665c4703f31c71781a7f3a6f73b79f05ca4047b2

diff --git a/dev-scheme/racket/racket-6.5.ebuild b/dev-scheme/racket/racket-6.5.ebuild
new file mode 100644
index 0000000..2cd5718
--- /dev/null
+++ b/dev-scheme/racket/racket-6.5.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+# for live ebuilds uncomment inherit git-2, comment SRC_URI and empty KEYWORDS
+
+inherit eutils pax-utils
+#inherit git-2
+
+#DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages"
+DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family."
+HOMEPAGE="http://racket-lang.org/"
+SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"
+EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +futures +jit minimal +places +threads +X"
+REQUIRED_USE="futures? ( jit )"
+
+# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation
+RDEPEND="dev-db/sqlite:3 x11-libs/cairo[X?] virtual/libffi"
+DEPEND="${RDEPEND}"
+
+EGIT_SOURCEDIR="${WORKDIR}/${P}"
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+	#remove bundled libraries
+	rm -rf foreign/libffi/
+}
+
+src_configure() {
+# according to vapier, we should use the bundled libtool
+# such that we don't preclude cross-compile. Thus don't use
+# --enable-lt=/usr/bin/libtool
+	econf \
+		$(use_enable X gracket) \
+		$(use_enable doc docs) \
+		--enable-shared \
+		$(use_enable jit) \
+		--enable-foreign \
+		$(use_enable places) \
+		$(use_enable futures) \
+		$(use_enable threads pthread)
+}
+
+src_compile() {
+	if use jit; then
+		pushd racket
+		emake cgc
+		pax-mark m .libs/racketcgc
+		emake 3m
+		pax-mark m .libs/racket3m
+		popd
+	fi
+	emake
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+
+	#racket now comes with desktop files, but DESTDIR is mishandled
+	for f in /usr/share/applications/{drracket,slideshow}.desktop; do
+		sed -e "s|${D}||g" \
+			-i "${D}/${f}" || die "Failed to patch '${f}'"
+	done
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2016-10-29 22:08 Amy Winston
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Winston @ 2016-10-29 22:08 UTC (permalink / raw
  To: gentoo-commits

commit:     9b4c716933e96370694a4a9408380984d9324ea5
Author:     Amy Winston <amynka <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 22:06:25 2016 +0000
Commit:     Amy Winston <amynka <AT> gentoo <DOT> org>
CommitDate: Sat Oct 29 22:08:42 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b4c7169

dev-scheme/racket: version bump 6.7 bug #598304

Package-Manager: portage-2.2.28

 dev-scheme/racket/Manifest          |  2 ++
 dev-scheme/racket/racket-6.7.ebuild | 71 +++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 4ff7308..dd17ed1 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -3,7 +3,9 @@ DIST racket-6.0.1-src-builtpkgs.tgz 101425779 SHA256 2b5f2bccb21d408041e167a4476
 DIST racket-6.2.1-src-builtpkgs.tgz 113159311 SHA256 04429315159d86c71037e4c1157a724476065803e32346abc0ee37708aed0fcd SHA512 1776e22412d37de69019147e670c88b015d31c31c654cc647ee6598588e94cad32b8d52e4d1738febe3ed47aaf1dc89c5db03878a0e3a4baff75dab302c2a294 WHIRLPOOL 9de2f3068061b13067c6e05289ae6ca233c9c0a90ef639a6e9853df5deb9e1358f2609e712e472312bd599a0cbe79973c4525c5fa99bbc9cd59837d674498b68
 DIST racket-6.4-src-builtpkgs.tgz 120269476 SHA256 5feb8279d9b3b1adf8642714dcb4cb8514832cb17135174be8733b92e1a0078a SHA512 58ef8a27afe61a44ee65f00a1096dbbb833f5d2e8a1fddd1dd4a250164031358216c88c21ef6b9a3a84996a4317338175301493511c49e92a80135653af8159c WHIRLPOOL 9e4258bd2cdb1758546db7e149a8c3429f43f3fd71cafabb6fb3d7012098d56e68420bf743571adfd9082639da5455e4dbe98baa64a50746e5969af20b906378
 DIST racket-6.5-src-builtpkgs.tgz 125157499 SHA256 9cfd20e7b68f6e7effaef144e184d7e67e1a2bab1df2b1c0b5fce8581f4c9457 SHA512 9ae2a0dd0fa6f5836ae27f48f1253626d76c0d79249a2b6bfb32aa20f9036897364bfea81a782d7b9bed782677608433cc2cfafc2bb0143e5aef1b1185d1d39a WHIRLPOOL de6fdb68d1e351f8f1e3556698fde70d3128b684d73618144692c19c392958934c3792e420329c3f4bef44a86853c577179d15fd0247fa9c8e13b54474525586
+DIST racket-6.7-src-builtpkgs.tgz 116773863 SHA256 3608a2d8b5dc5b755f014972140594e39110c5c391b556da43aa349d64c392ed SHA512 63fdc18e72fa152434d0fb83e926c28d2b2d16c93a0a2be0c14d445671c1bff5daf500e9917e41fa2f60454377de0cc10d226c321402abf4bad55a15ac74f127 WHIRLPOOL d4ee7c9cd61f79d7d6d5928ed697085a8f06c377cd80c10bfd68b5c250b3e901dcc8fad56d223ba27e486d00f7b926be49268a580137964023948d53837e05e5
 DIST racket-minimal-6.0.1-src-builtpkgs.tgz 9139061 SHA256 f58aa4e3e831417b72d5c19aba20a5b0eaa1111af2f1afa3096b0a4e83b860a3 SHA512 99c7ecf5d7e1de40358a03a5878271e2864fa9e6fe11bab71bd68784bd058a2edbb4ec65ba455dbff2a943c78ec0f9a9b0f46b1532fc1b55be500593160da313 WHIRLPOOL bc3dc19d8c23129866adeb71d125314d66ce2e505d1a453f26c09e9aa42bc98626cba2ddb87d8ae53c7ad5939443defc88c4f1c4ce174567a01b1f56be9788ea
 DIST racket-minimal-6.2.1-src-builtpkgs.tgz 9736885 SHA256 47eceb5f23ab66a939650fa44dd89ffcb17a6227f58c6bc80e90aa8999c86b36 SHA512 048f247136b15c2b118f497e9058a34dc7135ad4fbe707345290238e1268dd72e0ba35d3fd1690d0f9e97e56748f8964eb80c23c6be278bc6e5e819414c0d4a9 WHIRLPOOL 3c475a8204cea6c802043f4e823d2b1cdc50055ebc3288768988d5e3bf8e502b32300228360603743a9b1d065a845bb1e22d12e4b0fe79a4a6132e2ba335be53
 DIST racket-minimal-6.4-src-builtpkgs.tgz 10880010 SHA256 cf717d4983f4198fce8973ead5d427bc9da78b73bd51fee16b58c894c2a146e8 SHA512 7ff59dcfe97e96d1d8a22b2cfcc28e32833742dae93839d0bcd80a43ff3834a02128681f9b9adab0f66ae99745f3b6cf87f6fa39f71f9a288f14cf22e6cc4629 WHIRLPOOL 74633074ed9f44e4c99c2eb0808ee393c8dbc66f84f2c9787ad1ab359bb4c60b3cda86a858d08fabe38680a8fe42e5f856c8baab780e9847aa3a2eb0fb1e0158
 DIST racket-minimal-6.5-src-builtpkgs.tgz 11037268 SHA256 44fe95a4ec4d442b4f6f68e360104ca9715bd1fe3795d302d6cddaceb15696dc SHA512 d1c1e3333025c8c1f88bb21ad34d019745ad7e12779af1f2a2f1cc618b8a11735266dd1bc42158df3bdf3438f6dcde6322563874685e3a760dd2ec78018497f5 WHIRLPOOL 2cf320c52d7265782c89c674237efc49b25bc4721b89b5d6100052b504028102693dff08acd3a5c7757c9c7c665c4703f31c71781a7f3a6f73b79f05ca4047b2
+DIST racket-minimal-6.7-src-builtpkgs.tgz 11213736 SHA256 4203d9b51a0de7ea549db966cfa49a736f8605ab51e2f198cbdb9cfaf428b0f3 SHA512 59c885b535ed8e91a3b2a524bbc38661a5c19848ded935cc9f068c3fd6c8da39fc0755ef8df3a69cce3d50b96ee30d91972d6a4f6d5414eefb80bdc1ede6a285 WHIRLPOOL aadcd035595325320cd7d372f4b7773ef66b542056b0140066279fe9aa9bcb054d25157774040dcc65749ac528f0297e4a30787e2a37d52fae6888b005e62490

diff --git a/dev-scheme/racket/racket-6.7.ebuild b/dev-scheme/racket/racket-6.7.ebuild
new file mode 100644
index 00000000..bf61ea1
--- /dev/null
+++ b/dev-scheme/racket/racket-6.7.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit eutils pax-utils
+
+DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family."
+HOMEPAGE="http://racket-lang.org/"
+SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +futures +jit minimal +places +threads +X"
+REQUIRED_USE="futures? ( jit )"
+
+# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation
+RDEPEND="dev-db/sqlite:3
+	x11-libs/cairo[X?]
+	virtual/libffi"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+	default
+	#remove bundled libraries
+	rm -rf foreign/libffi/ || die "Bundled libraries libffi was not removed"
+}
+
+src_configure() {
+# according to vapier, we should use the bundled libtool
+# such that we don't preclude cross-compile. Thus don't use
+# --enable-lt=/usr/bin/libtool
+	econf \
+		$(use_enable X gracket) \
+		$(use_enable doc docs) \
+		--enable-shared \
+		$(use_enable jit) \
+		--enable-foreign \
+		$(use_enable places) \
+		$(use_enable futures) \
+		--enable-float \
+		--enable-libffi \
+		$(use_enable threads pthread)
+}
+
+src_compile() {
+	if use jit; then
+		pushd racket
+		emake cgc
+		pax-mark m .libs/racketcgc
+		emake 3m
+		pax-mark m .libs/racket3m
+		popd
+	fi
+	emake
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+
+	if ! use minimal; then
+		#racket now comes with desktop files, but DESTDIR is mishandled
+		for f in /usr/share/applications/{drracket,slideshow}.desktop; do
+			sed -e "s|${D}||g" \
+				-i "${D}/${f}" || die "Failed to patch '${f}'"
+		done
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2016-10-29 22:16 Amy Winston
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Winston @ 2016-10-29 22:16 UTC (permalink / raw
  To: gentoo-commits

commit:     8b927ae287a0af60d5c8624b060b61d88fac8ed6
Author:     Amy Winston <amynka <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 22:13:06 2016 +0000
Commit:     Amy Winston <amynka <AT> gentoo <DOT> org>
CommitDate: Sat Oct 29 22:16:01 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b927ae2

dev-scheme/racket: clean up

Package-Manager: portage-2.2.28

 dev-scheme/racket/racket-6.0.1.ebuild | 2 +-
 dev-scheme/racket/racket-6.2.1.ebuild | 2 +-
 dev-scheme/racket/racket-6.4.ebuild   | 3 +--
 dev-scheme/racket/racket-6.5.ebuild   | 3 +--
 4 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-scheme/racket/racket-6.0.1.ebuild b/dev-scheme/racket/racket-6.0.1.ebuild
index e4af1fc..c708916 100644
--- a/dev-scheme/racket/racket-6.0.1.ebuild
+++ b/dev-scheme/racket/racket-6.0.1.ebuild
@@ -30,7 +30,7 @@ S="${WORKDIR}/${P}/src"
 
 src_prepare() {
 	#remove bundled libraries
-	rm -rf foreign/libffi/
+	rm -rf foreign/libffi/ || die
 }
 
 src_configure() {

diff --git a/dev-scheme/racket/racket-6.2.1.ebuild b/dev-scheme/racket/racket-6.2.1.ebuild
index 171c433..faa0f82 100644
--- a/dev-scheme/racket/racket-6.2.1.ebuild
+++ b/dev-scheme/racket/racket-6.2.1.ebuild
@@ -30,7 +30,7 @@ S="${WORKDIR}/${P}/src"
 
 src_prepare() {
 	#remove bundled libraries
-	rm -rf foreign/libffi/
+	rm -rf foreign/libffi/ || die
 }
 
 src_configure() {

diff --git a/dev-scheme/racket/racket-6.4.ebuild b/dev-scheme/racket/racket-6.4.ebuild
index 2cd5718..faa0f82 100644
--- a/dev-scheme/racket/racket-6.4.ebuild
+++ b/dev-scheme/racket/racket-6.4.ebuild
@@ -9,7 +9,6 @@ EAPI="5"
 inherit eutils pax-utils
 #inherit git-2
 
-#DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages"
 DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family."
 HOMEPAGE="http://racket-lang.org/"
 SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
@@ -31,7 +30,7 @@ S="${WORKDIR}/${P}/src"
 
 src_prepare() {
 	#remove bundled libraries
-	rm -rf foreign/libffi/
+	rm -rf foreign/libffi/ || die
 }
 
 src_configure() {

diff --git a/dev-scheme/racket/racket-6.5.ebuild b/dev-scheme/racket/racket-6.5.ebuild
index 2cd5718..faa0f82 100644
--- a/dev-scheme/racket/racket-6.5.ebuild
+++ b/dev-scheme/racket/racket-6.5.ebuild
@@ -9,7 +9,6 @@ EAPI="5"
 inherit eutils pax-utils
 #inherit git-2
 
-#DESCRIPTION="Racket is a general-purpose programming language with strong support for domain-specific languages"
 DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family."
 HOMEPAGE="http://racket-lang.org/"
 SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
@@ -31,7 +30,7 @@ S="${WORKDIR}/${P}/src"
 
 src_prepare() {
 	#remove bundled libraries
-	rm -rf foreign/libffi/
+	rm -rf foreign/libffi/ || die
 }
 
 src_configure() {


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2017-02-12 14:48 Agostino Sarubbo
  0 siblings, 0 replies; 110+ messages in thread
From: Agostino Sarubbo @ 2017-02-12 14:48 UTC (permalink / raw
  To: gentoo-commits

commit:     af1486ef85aa78401a87817403f48c668d97ddc5
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 12 14:46:26 2017 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Feb 12 14:48:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af1486ef

dev-scheme/racket: amd64 stable wrt bug #608830

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/racket-6.7.ebuild b/dev-scheme/racket/racket-6.7.ebuild
index bf61ea17aa..b0a7953aae 100644
--- a/dev-scheme/racket/racket-6.7.ebuild
+++ b/dev-scheme/racket/racket-6.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,7 +11,7 @@ HOMEPAGE="http://racket-lang.org/"
 SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm ~x86"
 IUSE="doc +futures +jit minimal +places +threads +X"
 REQUIRED_USE="futures? ( jit )"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2017-02-12 16:18 Amy Liffey
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Liffey @ 2017-02-12 16:18 UTC (permalink / raw
  To: gentoo-commits

commit:     a003b6207e7df96096a9adc231fc84d8d29d6955
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 12 15:58:48 2017 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Sun Feb 12 16:18:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a003b620

dev-scheme/racket: remove old

Package-Manager: portage-2.3.0

 dev-scheme/racket/Manifest            |  8 ----
 dev-scheme/racket/racket-6.0.1.ebuild | 70 ----------------------------------
 dev-scheme/racket/racket-6.2.1.ebuild | 71 -----------------------------------
 dev-scheme/racket/racket-6.4.ebuild   | 71 -----------------------------------
 dev-scheme/racket/racket-6.5.ebuild   | 71 -----------------------------------
 5 files changed, 291 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index dd17ed1e98..547d036689 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,11 +1,3 @@
 DIST racket-5.3.6-src-unix.tgz 19278914 SHA256 7fe0ffc1231f888cd481f175e428f0217257dd136d2513bde73954af5a7cfb8a SHA512 08e8b599e800f41c9497b07e163ed43ae02ae9d9bcc3e20da31eb2f6aa20aa4b0071db51e93696ae1bd644ddfa1c3aea587a334db24ced4a3654dcf5da138e8f WHIRLPOOL c2c34de08d0ec9942f040cc23ea7f2a9bb743d0dcc7125e1b5336b0845482e67abd46b1b5cb821e898c3db50767312f3a27e386a0b7046bf068feb23a1b1bf52
-DIST racket-6.0.1-src-builtpkgs.tgz 101425779 SHA256 2b5f2bccb21d408041e167a4476115075c3b230ab50e1d66fe1a3c0ab205bfa1 SHA512 b51fade0afa33b11c4be7da8aec910a8b33bb1cc097748362ecc342b3cd50dcd1c6c52c68c3485b91bddd74a15f8767d357d911151c8cd263a0caa5d72a888a5 WHIRLPOOL d7944c7e1851bb48cc08c29d93763fb0c269ecbc33b59e02bbd6fc1592287376434c0c8c87bada29289d235d7816420170bc6c0f12f684eb9a32a7508342ce0b
-DIST racket-6.2.1-src-builtpkgs.tgz 113159311 SHA256 04429315159d86c71037e4c1157a724476065803e32346abc0ee37708aed0fcd SHA512 1776e22412d37de69019147e670c88b015d31c31c654cc647ee6598588e94cad32b8d52e4d1738febe3ed47aaf1dc89c5db03878a0e3a4baff75dab302c2a294 WHIRLPOOL 9de2f3068061b13067c6e05289ae6ca233c9c0a90ef639a6e9853df5deb9e1358f2609e712e472312bd599a0cbe79973c4525c5fa99bbc9cd59837d674498b68
-DIST racket-6.4-src-builtpkgs.tgz 120269476 SHA256 5feb8279d9b3b1adf8642714dcb4cb8514832cb17135174be8733b92e1a0078a SHA512 58ef8a27afe61a44ee65f00a1096dbbb833f5d2e8a1fddd1dd4a250164031358216c88c21ef6b9a3a84996a4317338175301493511c49e92a80135653af8159c WHIRLPOOL 9e4258bd2cdb1758546db7e149a8c3429f43f3fd71cafabb6fb3d7012098d56e68420bf743571adfd9082639da5455e4dbe98baa64a50746e5969af20b906378
-DIST racket-6.5-src-builtpkgs.tgz 125157499 SHA256 9cfd20e7b68f6e7effaef144e184d7e67e1a2bab1df2b1c0b5fce8581f4c9457 SHA512 9ae2a0dd0fa6f5836ae27f48f1253626d76c0d79249a2b6bfb32aa20f9036897364bfea81a782d7b9bed782677608433cc2cfafc2bb0143e5aef1b1185d1d39a WHIRLPOOL de6fdb68d1e351f8f1e3556698fde70d3128b684d73618144692c19c392958934c3792e420329c3f4bef44a86853c577179d15fd0247fa9c8e13b54474525586
 DIST racket-6.7-src-builtpkgs.tgz 116773863 SHA256 3608a2d8b5dc5b755f014972140594e39110c5c391b556da43aa349d64c392ed SHA512 63fdc18e72fa152434d0fb83e926c28d2b2d16c93a0a2be0c14d445671c1bff5daf500e9917e41fa2f60454377de0cc10d226c321402abf4bad55a15ac74f127 WHIRLPOOL d4ee7c9cd61f79d7d6d5928ed697085a8f06c377cd80c10bfd68b5c250b3e901dcc8fad56d223ba27e486d00f7b926be49268a580137964023948d53837e05e5
-DIST racket-minimal-6.0.1-src-builtpkgs.tgz 9139061 SHA256 f58aa4e3e831417b72d5c19aba20a5b0eaa1111af2f1afa3096b0a4e83b860a3 SHA512 99c7ecf5d7e1de40358a03a5878271e2864fa9e6fe11bab71bd68784bd058a2edbb4ec65ba455dbff2a943c78ec0f9a9b0f46b1532fc1b55be500593160da313 WHIRLPOOL bc3dc19d8c23129866adeb71d125314d66ce2e505d1a453f26c09e9aa42bc98626cba2ddb87d8ae53c7ad5939443defc88c4f1c4ce174567a01b1f56be9788ea
-DIST racket-minimal-6.2.1-src-builtpkgs.tgz 9736885 SHA256 47eceb5f23ab66a939650fa44dd89ffcb17a6227f58c6bc80e90aa8999c86b36 SHA512 048f247136b15c2b118f497e9058a34dc7135ad4fbe707345290238e1268dd72e0ba35d3fd1690d0f9e97e56748f8964eb80c23c6be278bc6e5e819414c0d4a9 WHIRLPOOL 3c475a8204cea6c802043f4e823d2b1cdc50055ebc3288768988d5e3bf8e502b32300228360603743a9b1d065a845bb1e22d12e4b0fe79a4a6132e2ba335be53
-DIST racket-minimal-6.4-src-builtpkgs.tgz 10880010 SHA256 cf717d4983f4198fce8973ead5d427bc9da78b73bd51fee16b58c894c2a146e8 SHA512 7ff59dcfe97e96d1d8a22b2cfcc28e32833742dae93839d0bcd80a43ff3834a02128681f9b9adab0f66ae99745f3b6cf87f6fa39f71f9a288f14cf22e6cc4629 WHIRLPOOL 74633074ed9f44e4c99c2eb0808ee393c8dbc66f84f2c9787ad1ab359bb4c60b3cda86a858d08fabe38680a8fe42e5f856c8baab780e9847aa3a2eb0fb1e0158
-DIST racket-minimal-6.5-src-builtpkgs.tgz 11037268 SHA256 44fe95a4ec4d442b4f6f68e360104ca9715bd1fe3795d302d6cddaceb15696dc SHA512 d1c1e3333025c8c1f88bb21ad34d019745ad7e12779af1f2a2f1cc618b8a11735266dd1bc42158df3bdf3438f6dcde6322563874685e3a760dd2ec78018497f5 WHIRLPOOL 2cf320c52d7265782c89c674237efc49b25bc4721b89b5d6100052b504028102693dff08acd3a5c7757c9c7c665c4703f31c71781a7f3a6f73b79f05ca4047b2
 DIST racket-minimal-6.7-src-builtpkgs.tgz 11213736 SHA256 4203d9b51a0de7ea549db966cfa49a736f8605ab51e2f198cbdb9cfaf428b0f3 SHA512 59c885b535ed8e91a3b2a524bbc38661a5c19848ded935cc9f068c3fd6c8da39fc0755ef8df3a69cce3d50b96ee30d91972d6a4f6d5414eefb80bdc1ede6a285 WHIRLPOOL aadcd035595325320cd7d372f4b7773ef66b542056b0140066279fe9aa9bcb054d25157774040dcc65749ac528f0297e4a30787e2a37d52fae6888b005e62490

diff --git a/dev-scheme/racket/racket-6.0.1.ebuild b/dev-scheme/racket/racket-6.0.1.ebuild
deleted file mode 100644
index c708916c28..0000000000
--- a/dev-scheme/racket/racket-6.0.1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-# for live ebuilds uncomment inherit git-2, comment SRC_URI and empty KEYWORDS
-
-inherit eutils pax-utils
-#inherit git-2
-
-DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family."
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
-#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"
-EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ~arm x86"
-IUSE="doc +futures +jit minimal +places +threads +X"
-REQUIRED_USE="futures? ( jit )"
-
-# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation
-RDEPEND="dev-db/sqlite:3 x11-libs/cairo[X?] virtual/libffi"
-DEPEND="${RDEPEND}"
-
-EGIT_SOURCEDIR="${WORKDIR}/${P}"
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	#remove bundled libraries
-	rm -rf foreign/libffi/ || die
-}
-
-src_configure() {
-# according to vapier, we should use the bundled libtool
-# such that we don't preclude cross-compile. Thus don't use
-# --enable-lt=/usr/bin/libtool
-	econf \
-		$(use_enable X gracket) \
-		$(use_enable doc docs) \
-		--enable-shared \
-		$(use_enable jit) \
-		--enable-foreign \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable threads pthread)
-}
-
-src_compile() {
-	if use jit; then
-		pushd racket
-		emake cgc
-		pax-mark m .libs/racketcgc
-		emake 3m
-		pax-mark m .libs/racket3m
-		popd
-	fi
-	emake
-}
-
-src_install() {
-	#racket now comes with desktop files, but DESTDIR is mishandled
-	for f in /usr/share/applications/{drracket,slideshow}.desktop; do
-		sed -ie "s|${D}||" "${D}/${f}"
-	done
-
-	emake DESTDIR="${D}" install
-}

diff --git a/dev-scheme/racket/racket-6.2.1.ebuild b/dev-scheme/racket/racket-6.2.1.ebuild
deleted file mode 100644
index faa0f824e5..0000000000
--- a/dev-scheme/racket/racket-6.2.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-# for live ebuilds uncomment inherit git-2, comment SRC_URI and empty KEYWORDS
-
-inherit eutils pax-utils
-#inherit git-2
-
-DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family."
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
-#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"
-EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +futures +jit minimal +places +threads +X"
-REQUIRED_USE="futures? ( jit )"
-
-# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation
-RDEPEND="dev-db/sqlite:3 x11-libs/cairo[X?] virtual/libffi"
-DEPEND="${RDEPEND}"
-
-EGIT_SOURCEDIR="${WORKDIR}/${P}"
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	#remove bundled libraries
-	rm -rf foreign/libffi/ || die
-}
-
-src_configure() {
-# according to vapier, we should use the bundled libtool
-# such that we don't preclude cross-compile. Thus don't use
-# --enable-lt=/usr/bin/libtool
-	econf \
-		$(use_enable X gracket) \
-		$(use_enable doc docs) \
-		--enable-shared \
-		$(use_enable jit) \
-		--enable-foreign \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable threads pthread)
-}
-
-src_compile() {
-	if use jit; then
-		pushd racket
-		emake cgc
-		pax-mark m .libs/racketcgc
-		emake 3m
-		pax-mark m .libs/racket3m
-		popd
-	fi
-	emake
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-
-	#racket now comes with desktop files, but DESTDIR is mishandled
-	for f in /usr/share/applications/{drracket,slideshow}.desktop; do
-		sed -e "s|${D}||g" \
-			-i "${D}/${f}" || die "Failed to patch '${f}'"
-	done
-}

diff --git a/dev-scheme/racket/racket-6.4.ebuild b/dev-scheme/racket/racket-6.4.ebuild
deleted file mode 100644
index faa0f824e5..0000000000
--- a/dev-scheme/racket/racket-6.4.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-# for live ebuilds uncomment inherit git-2, comment SRC_URI and empty KEYWORDS
-
-inherit eutils pax-utils
-#inherit git-2
-
-DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family."
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
-#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"
-EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +futures +jit minimal +places +threads +X"
-REQUIRED_USE="futures? ( jit )"
-
-# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation
-RDEPEND="dev-db/sqlite:3 x11-libs/cairo[X?] virtual/libffi"
-DEPEND="${RDEPEND}"
-
-EGIT_SOURCEDIR="${WORKDIR}/${P}"
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	#remove bundled libraries
-	rm -rf foreign/libffi/ || die
-}
-
-src_configure() {
-# according to vapier, we should use the bundled libtool
-# such that we don't preclude cross-compile. Thus don't use
-# --enable-lt=/usr/bin/libtool
-	econf \
-		$(use_enable X gracket) \
-		$(use_enable doc docs) \
-		--enable-shared \
-		$(use_enable jit) \
-		--enable-foreign \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable threads pthread)
-}
-
-src_compile() {
-	if use jit; then
-		pushd racket
-		emake cgc
-		pax-mark m .libs/racketcgc
-		emake 3m
-		pax-mark m .libs/racket3m
-		popd
-	fi
-	emake
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-
-	#racket now comes with desktop files, but DESTDIR is mishandled
-	for f in /usr/share/applications/{drracket,slideshow}.desktop; do
-		sed -e "s|${D}||g" \
-			-i "${D}/${f}" || die "Failed to patch '${f}'"
-	done
-}

diff --git a/dev-scheme/racket/racket-6.5.ebuild b/dev-scheme/racket/racket-6.5.ebuild
deleted file mode 100644
index faa0f824e5..0000000000
--- a/dev-scheme/racket/racket-6.5.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-# for live ebuilds uncomment inherit git-2, comment SRC_URI and empty KEYWORDS
-
-inherit eutils pax-utils
-#inherit git-2
-
-DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family."
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
-#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"
-EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +futures +jit minimal +places +threads +X"
-REQUIRED_USE="futures? ( jit )"
-
-# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation
-RDEPEND="dev-db/sqlite:3 x11-libs/cairo[X?] virtual/libffi"
-DEPEND="${RDEPEND}"
-
-EGIT_SOURCEDIR="${WORKDIR}/${P}"
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	#remove bundled libraries
-	rm -rf foreign/libffi/ || die
-}
-
-src_configure() {
-# according to vapier, we should use the bundled libtool
-# such that we don't preclude cross-compile. Thus don't use
-# --enable-lt=/usr/bin/libtool
-	econf \
-		$(use_enable X gracket) \
-		$(use_enable doc docs) \
-		--enable-shared \
-		$(use_enable jit) \
-		--enable-foreign \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable threads pthread)
-}
-
-src_compile() {
-	if use jit; then
-		pushd racket
-		emake cgc
-		pax-mark m .libs/racketcgc
-		emake 3m
-		pax-mark m .libs/racket3m
-		popd
-	fi
-	emake
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-
-	#racket now comes with desktop files, but DESTDIR is mishandled
-	for f in /usr/share/applications/{drracket,slideshow}.desktop; do
-		sed -e "s|${D}||g" \
-			-i "${D}/${f}" || die "Failed to patch '${f}'"
-	done
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2017-05-11 12:56 Michael Orlitzky
  0 siblings, 0 replies; 110+ messages in thread
From: Michael Orlitzky @ 2017-05-11 12:56 UTC (permalink / raw
  To: gentoo-commits

commit:     a710d534973360bae165a2d45cde301dd9956c70
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu May 11 12:18:30 2017 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Thu May 11 12:55:37 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a710d534

dev-scheme/racket: new (masked) version 6.9 with permission from amynka.

This new ebuild comes with a lot of fixes:

  1. Dropped the unused eutils eclass.

  2. Updated the LICENSE to LGPL-3 from LGPL-2 (upstream change). I've
     also included GPL-3+ in there, because I see some plain-GPLed code
     in the source tree.

  3. Added some missing dependencies, and a comment mentioning why
     they're needed. This includes pango per bug 486016.

  4. Added a blocker on dev-tex/slatex to avoid file collisions. This
     is bug 547398, and the solution isn't entirely satisfactory, so
     I've left a comment explaining what I know.

  5. Added --disable-strip to the configure flags to avoid some QA
     warnings.

  6. Changed a few "make" commands that are used with USE=jit, to
     ensure that two executables are pax-marked before they're
     used. Along with some commands to pax-mark the installed
     binaries, this fixes bug 613634.

  7. Removed the *.desktop file DESTDIR mangling; it looks like
     whatever problem this solved has been fixed upstream.

However, this new ebuild comes with one new problem:

  1. The build randomly crashes with racketcgc segfaults. This seems
     to only happen with USE=jit. I've filed a bug upstream at
     http://bugs.racket-lang.org/query/?cmd=view&pr=15433, but even
     changing the GC doesn't appear to fix it. I get a different
     backtrace, but it's always racketcgc that segfaults. I'm not
     sure what to do about this (mask the "jit" flag?), so this
     new ebuild is committed package.masked.

Gentoo-Bug: 486016
Gentoo-Bug: 547398
Gentoo-Bug: 613634
Gentoo-Bug: 613918

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-scheme/racket/Manifest          |   2 +
 dev-scheme/racket/racket-6.9.ebuild | 132 ++++++++++++++++++++++++++++++++++++
 2 files changed, 134 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 547d0366895..d2c62210fc2 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,3 +1,5 @@
 DIST racket-5.3.6-src-unix.tgz 19278914 SHA256 7fe0ffc1231f888cd481f175e428f0217257dd136d2513bde73954af5a7cfb8a SHA512 08e8b599e800f41c9497b07e163ed43ae02ae9d9bcc3e20da31eb2f6aa20aa4b0071db51e93696ae1bd644ddfa1c3aea587a334db24ced4a3654dcf5da138e8f WHIRLPOOL c2c34de08d0ec9942f040cc23ea7f2a9bb743d0dcc7125e1b5336b0845482e67abd46b1b5cb821e898c3db50767312f3a27e386a0b7046bf068feb23a1b1bf52
 DIST racket-6.7-src-builtpkgs.tgz 116773863 SHA256 3608a2d8b5dc5b755f014972140594e39110c5c391b556da43aa349d64c392ed SHA512 63fdc18e72fa152434d0fb83e926c28d2b2d16c93a0a2be0c14d445671c1bff5daf500e9917e41fa2f60454377de0cc10d226c321402abf4bad55a15ac74f127 WHIRLPOOL d4ee7c9cd61f79d7d6d5928ed697085a8f06c377cd80c10bfd68b5c250b3e901dcc8fad56d223ba27e486d00f7b926be49268a580137964023948d53837e05e5
+DIST racket-6.9-src-builtpkgs.tgz 118620147 SHA256 2b87f1abbeb3bf9fa981fcfb9d7b53886d8bb3591a35b7f730cbd429fe238c60 SHA512 14144c408521034b9c57925cd01ca25488cdcbcd3f8b943074f8ea434b84bdd76a73095ef920051a925929e3fcb4707bfd6b1585a7debaf23069f1a0db06298b WHIRLPOOL f00256a0f7b53748e1b3cb4fee43c769c8fd3b3af42ff765a71c6d68d3fc89c89812ab7cf7c0c5028f1ae5ae0d70a56402b42b9db18d5a11815b2195d8a73417
 DIST racket-minimal-6.7-src-builtpkgs.tgz 11213736 SHA256 4203d9b51a0de7ea549db966cfa49a736f8605ab51e2f198cbdb9cfaf428b0f3 SHA512 59c885b535ed8e91a3b2a524bbc38661a5c19848ded935cc9f068c3fd6c8da39fc0755ef8df3a69cce3d50b96ee30d91972d6a4f6d5414eefb80bdc1ede6a285 WHIRLPOOL aadcd035595325320cd7d372f4b7773ef66b542056b0140066279fe9aa9bcb054d25157774040dcc65749ac528f0297e4a30787e2a37d52fae6888b005e62490
+DIST racket-minimal-6.9-src-builtpkgs.tgz 11065867 SHA256 0b8eb43c16e2380ff47fd7883d7886a1d34935ead3546cde9e292318ddefba87 SHA512 4d619e2b2efc852b24f925b51fe452316693ce850f71298fcb2a0009fe5770c15fbe88830f8a214cbfd4e0be57e6bd47ca963c0bd919bd5fc1f986f96d7a12f5 WHIRLPOOL 534f13e0e945ba5536101e92e120da6a5e8123daf416c04b8d0b596cd54b05fc79ec5dd6dddbddef8a6cd45b06e3b51fd735590e1896373fbe44afc37329de42

diff --git a/dev-scheme/racket/racket-6.9.ebuild b/dev-scheme/racket/racket-6.9.ebuild
new file mode 100644
index 00000000000..069d5423011
--- /dev/null
+++ b/dev-scheme/racket/racket-6.9.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit pax-utils
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="http://racket-lang.org/"
+SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+
+# The main license is LGPL-3, as described here:
+#
+#   https://download.racket-lang.org/license.html
+#
+# However, there are traces of plain-GPL code, such as the routines in
+# collects/file/gzip.rkt that were based on GPLed C code, or the Cygwin
+# code in src/racket/dynsrc/init.cc. To err on the side of correctness,
+# we list GPL-3+, too.
+#
+LICENSE="GPL-3+ LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +futures +jit minimal +places +threads +X"
+REQUIRED_USE="futures? ( jit )"
+
+# According to the Racket README, the dependencies of racket/draw should
+# only be needed at runtime, unless you're building the documentation:
+#
+#   http://docs.racket-lang.org/draw/libs.html
+#
+# However, we have one report where the build system tried to use Pango,
+# even with USE="-doc". To be safe, we require the racket/draw
+# dependencies unconditionally at both build- and run-time.
+#
+# References:
+#
+#   * bug 426316
+#   * bug 486016
+#
+# The Racket GUI has some additional dependencies,
+#
+#   http://docs.racket-lang.org/gui/libs.html
+#
+# that may truly be runtime-only.
+#
+RDEPEND="dev-db/sqlite:3
+	media-libs/libpng:0
+	x11-libs/cairo[X?]
+	x11-libs/pango[X?]
+	virtual/libffi
+	virtual/jpeg:0
+	X? ( x11-libs/gtk+[X?] )"
+
+# The blocker on dev-tex/slatex is because they both ship a "slatex"
+# executable. The slatex that comes with racket is apparently a copy of
+# dev-tex/slatex that has been modified to support only mzscheme. It's
+# not clear if dev-tex/slatex can be used as a replacement for the
+# racket version, but the racket version almost certainly cannot replace
+# dev-tex/slatex.
+#
+# If dev-tex/slatex will work for racket, then maybe we could just pull
+# it in as a dependency and remove /usr/bin/slatex in the src_install
+# for racket. Otherwise, we may have to rename racket's version to
+# somethine like slatex-racket, assuming that doesn't break
+# anything. This is all bug 547398.
+#
+RDEPEND="${RDEPEND} !dev-tex/slatex"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+	default
+	rm -r foreign/libffi || die 'failed to remove bundled libffi'
+}
+
+src_configure() {
+	# According to vapier, we should use the bundled libtool
+	# such that we don't preclude cross-compile. Thus don't use
+	# --enable-lt=/usr/bin/libtool
+	econf \
+		--enable-shared \
+		--enable-float \
+		--enable-libffi \
+		--enable-foreign \
+		--disable-libs \
+		--disable-strip \
+		$(use_enable X gracket) \
+		$(use_enable doc docs) \
+		$(use_enable jit) \
+		$(use_enable places) \
+		$(use_enable futures) \
+		$(use_enable threads pthread)
+}
+
+src_compile() {
+	if use jit; then
+		# When the JIT is enabled, a few binaries need to be pax-marked
+		# on hardened systems (bug 613634). The trick is to pax-mark
+		# them before they're used later in the build system. The
+		# following order for racketcgc and racket3m was determined by
+		# digging through the Makefile in src/racket to find out which
+		# targets would build those binaries but not use them.
+		pushd racket
+		emake cgc-core
+		pax-mark m .libs/racketcgc
+		pushd gc2
+		emake all
+		popd
+		pax-mark m .libs/racket3m
+		popd
+	fi
+
+	default
+}
+
+src_install() {
+	default
+
+	if use jit; then
+		# The final binaries need to be pax-marked, too, if you want to
+		# actually use them. The src_compile marking get lost somewhere
+		# in the install process.
+		for f in mred mzscheme racket; do
+			pax-mark m "${D}/usr/bin/${f}"
+		done
+
+		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2018-02-03 20:27 Amy Liffey
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Liffey @ 2018-02-03 20:27 UTC (permalink / raw
  To: gentoo-commits

commit:     14ee5610276646c1ac9ec598f21b3268624c4586
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  3 20:25:01 2018 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Sat Feb  3 20:26:22 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14ee5610

dev-scheme/racket: version bump 6.11

Submitted-by: Ilya Mochalov <chrootsu <AT> gmail.com>

Closes: https://bugs.gentoo.org/636776
Closes: https://github.com/gentoo/gentoo/pull/6709
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-scheme/racket/Manifest           |  2 +
 dev-scheme/racket/racket-6.11.ebuild | 88 ++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index fd509a94602..e2fc2ae105d 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,5 +1,7 @@
 DIST racket-5.3.6-src-unix.tgz 19278914 BLAKE2B 4809523b58b0c7ec60d80a912c560550602c9016802d8bf5bf42aa64d54c9dd5165357cc5cdaf98d2c3cf6fe9f26054434da10c3f2804bbf4f51526d6fa69592 SHA512 08e8b599e800f41c9497b07e163ed43ae02ae9d9bcc3e20da31eb2f6aa20aa4b0071db51e93696ae1bd644ddfa1c3aea587a334db24ced4a3654dcf5da138e8f
+DIST racket-6.11-src-builtpkgs.tgz 122307703 BLAKE2B 395b14c15b73dfda7b6e863a83530b5266ec2f132b3b8ee23ee60bea0083b42e1dd67c60cbdfca2cac93c343e3a4edf132677c707aed62d85c43ae27edb2de74 SHA512 2b9f6b478880a9ec176018f34a3015f5e84ceb11e61519d9ab9f7df8d4b8dc664fa9103ca787664ffcd86909410fbf6812838a59d899f3487dea278e39eb597b
 DIST racket-6.7-src-builtpkgs.tgz 116773863 BLAKE2B 786552b296449cd105450450f7232ba5468aba0ed6d96aa6db058cc3eb655808f031259ee69d1ab8abb9a751151e28e923d4388860ed37d74a1f6a637f740f0f SHA512 63fdc18e72fa152434d0fb83e926c28d2b2d16c93a0a2be0c14d445671c1bff5daf500e9917e41fa2f60454377de0cc10d226c321402abf4bad55a15ac74f127
 DIST racket-6.9-src-builtpkgs.tgz 118620147 BLAKE2B 839eac29098a1255ce63886aadbd120fba75865c713b272ccbc2b7a7be361cb12ebcd4eabc94a243c5abab57d4b759c9ce2f613f2d02ef11e33b5931d00420ab SHA512 14144c408521034b9c57925cd01ca25488cdcbcd3f8b943074f8ea434b84bdd76a73095ef920051a925929e3fcb4707bfd6b1585a7debaf23069f1a0db06298b
+DIST racket-minimal-6.11-src-builtpkgs.tgz 11208413 BLAKE2B 17e979ab6e4c99f781994d48ca90e206618835e2ecfa875d0966efe2909a440c509fe9706cccb7f377675a0bb4d76971ed4dd73de2c088ae40660df50b6cf7cc SHA512 f197a645e7da04c120f1cb61d98a1cd47824576467a2fa12753576b72f258d1229cc99243f91ed87cf37be63062c26844b44469987d7ac4bfeee853aa7cb6e66
 DIST racket-minimal-6.7-src-builtpkgs.tgz 11213736 BLAKE2B 1661fe1818d0b2c0d2c058aead61e25c5df01201d3ccdb31fccca14e9c1f2f822c18bfad6be3c1b7446d692c252129b63340b37e0311848269a914197416eee9 SHA512 59c885b535ed8e91a3b2a524bbc38661a5c19848ded935cc9f068c3fd6c8da39fc0755ef8df3a69cce3d50b96ee30d91972d6a4f6d5414eefb80bdc1ede6a285
 DIST racket-minimal-6.9-src-builtpkgs.tgz 11065867 BLAKE2B 3752ffb92a4ae290339599bb6ae83dd0db952eebdeb01c0d4bc9992cd903abf9970cab9e571c06a81644dc90479e3ce72b068e6c2f959d66abb90ced0d6cdfd7 SHA512 4d619e2b2efc852b24f925b51fe452316693ce850f71298fcb2a0009fe5770c15fbe88830f8a214cbfd4e0be57e6bd47ca963c0bd919bd5fc1f986f96d7a12f5

diff --git a/dev-scheme/racket/racket-6.11.ebuild b/dev-scheme/racket/racket-6.11.ebuild
new file mode 100644
index 00000000000..5390fb50a0e
--- /dev/null
+++ b/dev-scheme/racket/racket-6.11.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit pax-utils
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="http://racket-lang.org/"
+SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+LICENSE="GPL-3+ LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +futures +jit minimal +places +threads +X"
+REQUIRED_USE="futures? ( jit )"
+
+RDEPEND="dev-db/sqlite:3
+	media-libs/libpng:0
+	x11-libs/cairo[X?]
+	x11-libs/pango[X?]
+	virtual/libffi
+	virtual/jpeg:0
+	X? ( x11-libs/gtk+[X?] )"
+RDEPEND="${RDEPEND} !dev-tex/slatex"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+	default
+	rm -r foreign/libffi || die 'failed to remove bundled libffi'
+}
+
+src_configure() {
+	# According to vapier, we should use the bundled libtool
+	# such that we don't preclude cross-compile. Thus don't use
+	# --enable-lt=/usr/bin/libtool
+	econf \
+		--enable-shared \
+		--enable-float \
+		--enable-libffi \
+		--enable-foreign \
+		--disable-libs \
+		--disable-strip \
+		$(use_enable X gracket) \
+		$(use_enable doc docs) \
+		$(use_enable jit) \
+		$(use_enable places) \
+		$(use_enable futures) \
+		$(use_enable threads pthread)
+}
+
+src_compile() {
+	if use jit; then
+		# When the JIT is enabled, a few binaries need to be pax-marked
+		# on hardened systems (bug 613634). The trick is to pax-mark
+		# them before they're used later in the build system. The
+		# following order for racketcgc and racket3m was determined by
+		# digging through the Makefile in src/racket to find out which
+		# targets would build those binaries but not use them.
+		pushd racket
+		emake cgc-core
+		pax-mark m .libs/racketcgc
+		pushd gc2
+		emake all
+		popd
+		pax-mark m .libs/racket3m
+		popd
+	fi
+
+	default
+}
+
+src_install() {
+	default
+
+	if use jit; then
+		# The final binaries need to be pax-marked, too, if you want to
+		# actually use them. The src_compile marking get lost somewhere
+		# in the install process.
+		for f in mred mzscheme racket; do
+			pax-mark m "${D}/usr/bin/${f}"
+		done
+
+		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2018-02-05 10:43 Amy Liffey
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Liffey @ 2018-02-05 10:43 UTC (permalink / raw
  To: gentoo-commits

commit:     e6df1ecb826c9181a50c7065ce169c1656c9c579
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  5 10:40:37 2018 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Mon Feb  5 10:40:37 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6df1ecb

dev-scheme/racket: remove old

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-scheme/racket/Manifest          |   2 -
 dev-scheme/racket/racket-6.9.ebuild | 132 ------------------------------------
 2 files changed, 134 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index e2fc2ae105d..d5e4900f839 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,7 +1,5 @@
 DIST racket-5.3.6-src-unix.tgz 19278914 BLAKE2B 4809523b58b0c7ec60d80a912c560550602c9016802d8bf5bf42aa64d54c9dd5165357cc5cdaf98d2c3cf6fe9f26054434da10c3f2804bbf4f51526d6fa69592 SHA512 08e8b599e800f41c9497b07e163ed43ae02ae9d9bcc3e20da31eb2f6aa20aa4b0071db51e93696ae1bd644ddfa1c3aea587a334db24ced4a3654dcf5da138e8f
 DIST racket-6.11-src-builtpkgs.tgz 122307703 BLAKE2B 395b14c15b73dfda7b6e863a83530b5266ec2f132b3b8ee23ee60bea0083b42e1dd67c60cbdfca2cac93c343e3a4edf132677c707aed62d85c43ae27edb2de74 SHA512 2b9f6b478880a9ec176018f34a3015f5e84ceb11e61519d9ab9f7df8d4b8dc664fa9103ca787664ffcd86909410fbf6812838a59d899f3487dea278e39eb597b
 DIST racket-6.7-src-builtpkgs.tgz 116773863 BLAKE2B 786552b296449cd105450450f7232ba5468aba0ed6d96aa6db058cc3eb655808f031259ee69d1ab8abb9a751151e28e923d4388860ed37d74a1f6a637f740f0f SHA512 63fdc18e72fa152434d0fb83e926c28d2b2d16c93a0a2be0c14d445671c1bff5daf500e9917e41fa2f60454377de0cc10d226c321402abf4bad55a15ac74f127
-DIST racket-6.9-src-builtpkgs.tgz 118620147 BLAKE2B 839eac29098a1255ce63886aadbd120fba75865c713b272ccbc2b7a7be361cb12ebcd4eabc94a243c5abab57d4b759c9ce2f613f2d02ef11e33b5931d00420ab SHA512 14144c408521034b9c57925cd01ca25488cdcbcd3f8b943074f8ea434b84bdd76a73095ef920051a925929e3fcb4707bfd6b1585a7debaf23069f1a0db06298b
 DIST racket-minimal-6.11-src-builtpkgs.tgz 11208413 BLAKE2B 17e979ab6e4c99f781994d48ca90e206618835e2ecfa875d0966efe2909a440c509fe9706cccb7f377675a0bb4d76971ed4dd73de2c088ae40660df50b6cf7cc SHA512 f197a645e7da04c120f1cb61d98a1cd47824576467a2fa12753576b72f258d1229cc99243f91ed87cf37be63062c26844b44469987d7ac4bfeee853aa7cb6e66
 DIST racket-minimal-6.7-src-builtpkgs.tgz 11213736 BLAKE2B 1661fe1818d0b2c0d2c058aead61e25c5df01201d3ccdb31fccca14e9c1f2f822c18bfad6be3c1b7446d692c252129b63340b37e0311848269a914197416eee9 SHA512 59c885b535ed8e91a3b2a524bbc38661a5c19848ded935cc9f068c3fd6c8da39fc0755ef8df3a69cce3d50b96ee30d91972d6a4f6d5414eefb80bdc1ede6a285
-DIST racket-minimal-6.9-src-builtpkgs.tgz 11065867 BLAKE2B 3752ffb92a4ae290339599bb6ae83dd0db952eebdeb01c0d4bc9992cd903abf9970cab9e571c06a81644dc90479e3ce72b068e6c2f959d66abb90ced0d6cdfd7 SHA512 4d619e2b2efc852b24f925b51fe452316693ce850f71298fcb2a0009fe5770c15fbe88830f8a214cbfd4e0be57e6bd47ca963c0bd919bd5fc1f986f96d7a12f5

diff --git a/dev-scheme/racket/racket-6.9.ebuild b/dev-scheme/racket/racket-6.9.ebuild
deleted file mode 100644
index 069d5423011..00000000000
--- a/dev-scheme/racket/racket-6.9.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit pax-utils
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
-
-# The main license is LGPL-3, as described here:
-#
-#   https://download.racket-lang.org/license.html
-#
-# However, there are traces of plain-GPL code, such as the routines in
-# collects/file/gzip.rkt that were based on GPLed C code, or the Cygwin
-# code in src/racket/dynsrc/init.cc. To err on the side of correctness,
-# we list GPL-3+, too.
-#
-LICENSE="GPL-3+ LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc +futures +jit minimal +places +threads +X"
-REQUIRED_USE="futures? ( jit )"
-
-# According to the Racket README, the dependencies of racket/draw should
-# only be needed at runtime, unless you're building the documentation:
-#
-#   http://docs.racket-lang.org/draw/libs.html
-#
-# However, we have one report where the build system tried to use Pango,
-# even with USE="-doc". To be safe, we require the racket/draw
-# dependencies unconditionally at both build- and run-time.
-#
-# References:
-#
-#   * bug 426316
-#   * bug 486016
-#
-# The Racket GUI has some additional dependencies,
-#
-#   http://docs.racket-lang.org/gui/libs.html
-#
-# that may truly be runtime-only.
-#
-RDEPEND="dev-db/sqlite:3
-	media-libs/libpng:0
-	x11-libs/cairo[X?]
-	x11-libs/pango[X?]
-	virtual/libffi
-	virtual/jpeg:0
-	X? ( x11-libs/gtk+[X?] )"
-
-# The blocker on dev-tex/slatex is because they both ship a "slatex"
-# executable. The slatex that comes with racket is apparently a copy of
-# dev-tex/slatex that has been modified to support only mzscheme. It's
-# not clear if dev-tex/slatex can be used as a replacement for the
-# racket version, but the racket version almost certainly cannot replace
-# dev-tex/slatex.
-#
-# If dev-tex/slatex will work for racket, then maybe we could just pull
-# it in as a dependency and remove /usr/bin/slatex in the src_install
-# for racket. Otherwise, we may have to rename racket's version to
-# somethine like slatex-racket, assuming that doesn't break
-# anything. This is all bug 547398.
-#
-RDEPEND="${RDEPEND} !dev-tex/slatex"
-
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	default
-	rm -r foreign/libffi || die 'failed to remove bundled libffi'
-}
-
-src_configure() {
-	# According to vapier, we should use the bundled libtool
-	# such that we don't preclude cross-compile. Thus don't use
-	# --enable-lt=/usr/bin/libtool
-	econf \
-		--enable-shared \
-		--enable-float \
-		--enable-libffi \
-		--enable-foreign \
-		--disable-libs \
-		--disable-strip \
-		$(use_enable X gracket) \
-		$(use_enable doc docs) \
-		$(use_enable jit) \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable threads pthread)
-}
-
-src_compile() {
-	if use jit; then
-		# When the JIT is enabled, a few binaries need to be pax-marked
-		# on hardened systems (bug 613634). The trick is to pax-mark
-		# them before they're used later in the build system. The
-		# following order for racketcgc and racket3m was determined by
-		# digging through the Makefile in src/racket to find out which
-		# targets would build those binaries but not use them.
-		pushd racket
-		emake cgc-core
-		pax-mark m .libs/racketcgc
-		pushd gc2
-		emake all
-		popd
-		pax-mark m .libs/racket3m
-		popd
-	fi
-
-	default
-}
-
-src_install() {
-	default
-
-	if use jit; then
-		# The final binaries need to be pax-marked, too, if you want to
-		# actually use them. The src_compile marking get lost somewhere
-		# in the install process.
-		for f in mred mzscheme racket; do
-			pax-mark m "${D}/usr/bin/${f}"
-		done
-
-		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
-	fi
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2018-02-11  9:24 Amy Liffey
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Liffey @ 2018-02-11  9:24 UTC (permalink / raw
  To: gentoo-commits

commit:     c20ce529fd27b8c792a879908c411e336e62abea
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 11 09:21:43 2018 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Sun Feb 11 09:23:44 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c20ce529

dev-scheme/racket: version bump 6.12

Closes: https://bugs.gentoo.org/647234
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-scheme/racket/Manifest           |  2 +
 dev-scheme/racket/racket-6.12.ebuild | 88 ++++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index d5e4900f839..925edff1429 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,5 +1,7 @@
 DIST racket-5.3.6-src-unix.tgz 19278914 BLAKE2B 4809523b58b0c7ec60d80a912c560550602c9016802d8bf5bf42aa64d54c9dd5165357cc5cdaf98d2c3cf6fe9f26054434da10c3f2804bbf4f51526d6fa69592 SHA512 08e8b599e800f41c9497b07e163ed43ae02ae9d9bcc3e20da31eb2f6aa20aa4b0071db51e93696ae1bd644ddfa1c3aea587a334db24ced4a3654dcf5da138e8f
 DIST racket-6.11-src-builtpkgs.tgz 122307703 BLAKE2B 395b14c15b73dfda7b6e863a83530b5266ec2f132b3b8ee23ee60bea0083b42e1dd67c60cbdfca2cac93c343e3a4edf132677c707aed62d85c43ae27edb2de74 SHA512 2b9f6b478880a9ec176018f34a3015f5e84ceb11e61519d9ab9f7df8d4b8dc664fa9103ca787664ffcd86909410fbf6812838a59d899f3487dea278e39eb597b
+DIST racket-6.12-src-builtpkgs.tgz 119736428 BLAKE2B ca462e69c29c33e56e8e92dfc88e18c0643e045a52d50b288139b2d439dac9e10c3a5d0226236a2e2103b9d0c74871b97c3edfb242b49822d92893acc9ea42d7 SHA512 31f3f9b3f69a80601569cfdeee1610a49a2931c2c11a9daf9ff14eb8828dc48cb0befd05fc1b0cc53cc1477a04841e850f2dc89614dff58dc8e9e5da7b717716
 DIST racket-6.7-src-builtpkgs.tgz 116773863 BLAKE2B 786552b296449cd105450450f7232ba5468aba0ed6d96aa6db058cc3eb655808f031259ee69d1ab8abb9a751151e28e923d4388860ed37d74a1f6a637f740f0f SHA512 63fdc18e72fa152434d0fb83e926c28d2b2d16c93a0a2be0c14d445671c1bff5daf500e9917e41fa2f60454377de0cc10d226c321402abf4bad55a15ac74f127
 DIST racket-minimal-6.11-src-builtpkgs.tgz 11208413 BLAKE2B 17e979ab6e4c99f781994d48ca90e206618835e2ecfa875d0966efe2909a440c509fe9706cccb7f377675a0bb4d76971ed4dd73de2c088ae40660df50b6cf7cc SHA512 f197a645e7da04c120f1cb61d98a1cd47824576467a2fa12753576b72f258d1229cc99243f91ed87cf37be63062c26844b44469987d7ac4bfeee853aa7cb6e66
+DIST racket-minimal-6.12-src-builtpkgs.tgz 11251582 BLAKE2B c8ed5c562241f37297e0e88d1c8d60ceaf35c2a7010ca68cccca8b8ee007819822149cbda4f3b5c0ec93093901593b2722a22b9f8e46a083b207022877ce45f5 SHA512 6eb23ec16c710c661171f545b8dc5a53666e8a16d1db7edf1a0713693c99b79a779c4d7c6765dc3107f699c31e29238ddbb3e08b1eb62832292af0d4a1b5f465
 DIST racket-minimal-6.7-src-builtpkgs.tgz 11213736 BLAKE2B 1661fe1818d0b2c0d2c058aead61e25c5df01201d3ccdb31fccca14e9c1f2f822c18bfad6be3c1b7446d692c252129b63340b37e0311848269a914197416eee9 SHA512 59c885b535ed8e91a3b2a524bbc38661a5c19848ded935cc9f068c3fd6c8da39fc0755ef8df3a69cce3d50b96ee30d91972d6a4f6d5414eefb80bdc1ede6a285

diff --git a/dev-scheme/racket/racket-6.12.ebuild b/dev-scheme/racket/racket-6.12.ebuild
new file mode 100644
index 00000000000..5390fb50a0e
--- /dev/null
+++ b/dev-scheme/racket/racket-6.12.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit pax-utils
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="http://racket-lang.org/"
+SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+LICENSE="GPL-3+ LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="doc +futures +jit minimal +places +threads +X"
+REQUIRED_USE="futures? ( jit )"
+
+RDEPEND="dev-db/sqlite:3
+	media-libs/libpng:0
+	x11-libs/cairo[X?]
+	x11-libs/pango[X?]
+	virtual/libffi
+	virtual/jpeg:0
+	X? ( x11-libs/gtk+[X?] )"
+RDEPEND="${RDEPEND} !dev-tex/slatex"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+	default
+	rm -r foreign/libffi || die 'failed to remove bundled libffi'
+}
+
+src_configure() {
+	# According to vapier, we should use the bundled libtool
+	# such that we don't preclude cross-compile. Thus don't use
+	# --enable-lt=/usr/bin/libtool
+	econf \
+		--enable-shared \
+		--enable-float \
+		--enable-libffi \
+		--enable-foreign \
+		--disable-libs \
+		--disable-strip \
+		$(use_enable X gracket) \
+		$(use_enable doc docs) \
+		$(use_enable jit) \
+		$(use_enable places) \
+		$(use_enable futures) \
+		$(use_enable threads pthread)
+}
+
+src_compile() {
+	if use jit; then
+		# When the JIT is enabled, a few binaries need to be pax-marked
+		# on hardened systems (bug 613634). The trick is to pax-mark
+		# them before they're used later in the build system. The
+		# following order for racketcgc and racket3m was determined by
+		# digging through the Makefile in src/racket to find out which
+		# targets would build those binaries but not use them.
+		pushd racket
+		emake cgc-core
+		pax-mark m .libs/racketcgc
+		pushd gc2
+		emake all
+		popd
+		pax-mark m .libs/racket3m
+		popd
+	fi
+
+	default
+}
+
+src_install() {
+	default
+
+	if use jit; then
+		# The final binaries need to be pax-marked, too, if you want to
+		# actually use them. The src_compile marking get lost somewhere
+		# in the install process.
+		for f in mred mzscheme racket; do
+			pax-mark m "${D}/usr/bin/${f}"
+		done
+
+		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2018-03-06 11:44 Mikle Kolyada
  0 siblings, 0 replies; 110+ messages in thread
From: Mikle Kolyada @ 2018-03-06 11:44 UTC (permalink / raw
  To: gentoo-commits

commit:     7d6abd03b16540e1fa81da105b1cf14ce6243f3f
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  6 11:43:21 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Tue Mar  6 11:43:21 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d6abd03

dev-scheme/racket: add ~ppc and ~ppc64 keywords

Closes: https://bugs.gentoo.org/647284
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-scheme/racket/racket-6.11.ebuild | 2 +-
 dev-scheme/racket/racket-6.12.ebuild | 2 +-
 dev-scheme/racket/racket-6.7.ebuild  | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-scheme/racket/racket-6.11.ebuild b/dev-scheme/racket/racket-6.11.ebuild
index 5390fb50a0e..6fefcbd3de3 100644
--- a/dev-scheme/racket/racket-6.11.ebuild
+++ b/dev-scheme/racket/racket-6.11.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://racket-lang.org/"
 SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
 LICENSE="GPL-3+ LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="doc +futures +jit minimal +places +threads +X"
 REQUIRED_USE="futures? ( jit )"
 

diff --git a/dev-scheme/racket/racket-6.12.ebuild b/dev-scheme/racket/racket-6.12.ebuild
index 5390fb50a0e..6fefcbd3de3 100644
--- a/dev-scheme/racket/racket-6.12.ebuild
+++ b/dev-scheme/racket/racket-6.12.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://racket-lang.org/"
 SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
 LICENSE="GPL-3+ LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="doc +futures +jit minimal +places +threads +X"
 REQUIRED_USE="futures? ( jit )"
 

diff --git a/dev-scheme/racket/racket-6.7.ebuild b/dev-scheme/racket/racket-6.7.ebuild
index a94bf65dbc8..1529a99d7a9 100644
--- a/dev-scheme/racket/racket-6.7.ebuild
+++ b/dev-scheme/racket/racket-6.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -10,7 +10,7 @@ HOMEPAGE="http://racket-lang.org/"
 SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~arm x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="doc +futures +jit minimal +places +threads +X"
 REQUIRED_USE="futures? ( jit )"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2018-03-06 15:22 Amy Liffey
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Liffey @ 2018-03-06 15:22 UTC (permalink / raw
  To: gentoo-commits

commit:     0dea8a3daba4937adc6f478719c020a8d7cbeebe
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  6 12:19:36 2018 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Tue Mar  6 15:19:36 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dea8a3d

dev-scheme/racket: remove old 5.3.6

Closes: https://github.com/gentoo/gentoo/pull/7374

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-scheme/racket/Manifest            |  1 -
 dev-scheme/racket/metadata.xml        |  6 ---
 dev-scheme/racket/racket-5.3.6.ebuild | 71 -----------------------------------
 3 files changed, 78 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 925edff1429..2d8f4b303f1 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,4 +1,3 @@
-DIST racket-5.3.6-src-unix.tgz 19278914 BLAKE2B 4809523b58b0c7ec60d80a912c560550602c9016802d8bf5bf42aa64d54c9dd5165357cc5cdaf98d2c3cf6fe9f26054434da10c3f2804bbf4f51526d6fa69592 SHA512 08e8b599e800f41c9497b07e163ed43ae02ae9d9bcc3e20da31eb2f6aa20aa4b0071db51e93696ae1bd644ddfa1c3aea587a334db24ced4a3654dcf5da138e8f
 DIST racket-6.11-src-builtpkgs.tgz 122307703 BLAKE2B 395b14c15b73dfda7b6e863a83530b5266ec2f132b3b8ee23ee60bea0083b42e1dd67c60cbdfca2cac93c343e3a4edf132677c707aed62d85c43ae27edb2de74 SHA512 2b9f6b478880a9ec176018f34a3015f5e84ceb11e61519d9ab9f7df8d4b8dc664fa9103ca787664ffcd86909410fbf6812838a59d899f3487dea278e39eb597b
 DIST racket-6.12-src-builtpkgs.tgz 119736428 BLAKE2B ca462e69c29c33e56e8e92dfc88e18c0643e045a52d50b288139b2d439dac9e10c3a5d0226236a2e2103b9d0c74871b97c3edfb242b49822d92893acc9ea42d7 SHA512 31f3f9b3f69a80601569cfdeee1610a49a2931c2c11a9daf9ff14eb8828dc48cb0befd05fc1b0cc53cc1477a04841e850f2dc89614dff58dc8e9e5da7b717716
 DIST racket-6.7-src-builtpkgs.tgz 116773863 BLAKE2B 786552b296449cd105450450f7232ba5468aba0ed6d96aa6db058cc3eb655808f031259ee69d1ab8abb9a751151e28e923d4388860ed37d74a1f6a637f740f0f SHA512 63fdc18e72fa152434d0fb83e926c28d2b2d16c93a0a2be0c14d445671c1bff5daf500e9917e41fa2f60454377de0cc10d226c321402abf4bad55a15ac74f127

diff --git a/dev-scheme/racket/metadata.xml b/dev-scheme/racket/metadata.xml
index 559734ba2c1..69beced3af9 100644
--- a/dev-scheme/racket/metadata.xml
+++ b/dev-scheme/racket/metadata.xml
@@ -16,18 +16,12 @@ Extend Racket whenever you need to. Mold it to better suit your tasks without sa
 Whether you're just starting out, want to know more about programming language applications or models, looking to expand your horizons, or ready to dive into research, Racket can help you become a better programmer and system builder.
   </longdescription>
   <use>
-    <flag name="backtrace"> 
-      Support GC backtrace dumps
-    </flag>
     <flag name="futures"> 
       Enable racket/future library for fine-grained hardware parallelism
     </flag>
     <flag name="places"> 
       Enable racket/place library for share-nothing parallelism and message-passing communication. Compared to futures, places are heavyweight, but they have a simpler performance model.
     </flag>
-    <flag name="plot"> 
-      Enable plot libraries
-    </flag>
     <flag name="threads"> 
       Enable support for green threads 
     </flag>

diff --git a/dev-scheme/racket/racket-5.3.6.ebuild b/dev-scheme/racket/racket-5.3.6.ebuild
deleted file mode 100644
index 50d85cd87bb..00000000000
--- a/dev-scheme/racket/racket-5.3.6.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-# for live ebuilds uncomment inherit git, comment SRC_URI and empty KEYWORDS
-
-inherit eutils
-#inherit git-2
-
-DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family."
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="http://download.racket-lang.org/installers/${PV}/${PN}/${P}-src-unix.tgz"
-#SRC_URI="http://pre.racket-lang.org/installers/plt-${PV}-src-unix.tgz"
-EGIT_REPO_URI="git://git.racket-lang.org/plt.git"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86"
-IUSE="backtrace cairo doc futures jit places plot threads X"
-
-RDEPEND="dev-db/sqlite:3 x11-libs/cairo[X?] virtual/libffi"
-
-# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation
-DEPEND="${RDEPEND} x11-libs/cairo !dev-tex/slatex"
-
-EGIT_SOURCEDIR="${WORKDIR}/${P}"
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	#remove bundled libraries
-	rm -rf foreign/libffi/
-
-	sed -e "s,docdir=\"\${datadir}/${PN}/doc,docdir=\"\${datadir}/doc/${PF}," -i configure || die
-}
-
-src_configure() {
-# according to vapier, we should use the bundled libtool
-# such that we don't preclude cross-compile. Thus don't use
-# --enable-lt=/usr/bin/libtool
-	econf \
-		$(use_enable X gracket) \
-		$(use_enable plot) \
-		$(use_enable doc docs) \
-		--enable-shared \
-		$(use_enable jit) \
-		--enable-foreign \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable backtrace) \
-		$(use_enable threads pthread) \
-		--disable-perl \
-		$(use_with X x)
-}
-
-src_compile() {
-	emake || die
-}
-
-src_install() {
-	# deal with slatex
-	insinto /usr/share/texmf/tex/latex/slatex/
-	doins ../collects/slatex/slatex.sty
-
-	emake DESTDIR="${D}" install || die "emake install failed"
-
-	if use X; then
-		newicon ../collects/icons/PLT-206.png drracket.png
-		make_desktop_entry drracket "DrRacket" drracket "Development"
-	fi
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2018-06-18 21:53 Amy Liffey
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Liffey @ 2018-06-18 21:53 UTC (permalink / raw
  To: gentoo-commits

commit:     1e4b82793695e46eb67dfc8afaaff66288d0628a
Author:     pini <pini <AT> tuxfamily <DOT> org>
AuthorDate: Sun Jun  3 10:31:07 2018 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Mon Jun 18 21:52:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e4b8279

dev-scheme/racket: add readline support to REPL

Racket REPL supports readline by searching for libedit.

Closes: https://github.com/gentoo/gentoo/pull/8708
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-scheme/racket/{racket-6.11.ebuild => racket-6.11-r1.ebuild} | 3 ++-
 dev-scheme/racket/{racket-6.12.ebuild => racket-6.12-r1.ebuild} | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-scheme/racket/racket-6.11.ebuild b/dev-scheme/racket/racket-6.11-r1.ebuild
similarity index 95%
rename from dev-scheme/racket/racket-6.11.ebuild
rename to dev-scheme/racket/racket-6.11-r1.ebuild
index 6fefcbd3de3..0ce238ca01b 100644
--- a/dev-scheme/racket/racket-6.11.ebuild
+++ b/dev-scheme/racket/racket-6.11-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minim
 LICENSE="GPL-3+ LGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="doc +futures +jit minimal +places +threads +X"
+IUSE="doc +futures +jit minimal +places +readline +threads +X"
 REQUIRED_USE="futures? ( jit )"
 
 RDEPEND="dev-db/sqlite:3
@@ -20,6 +20,7 @@ RDEPEND="dev-db/sqlite:3
 	x11-libs/pango[X?]
 	virtual/libffi
 	virtual/jpeg:0
+	readline? ( dev-libs/libedit )
 	X? ( x11-libs/gtk+[X?] )"
 RDEPEND="${RDEPEND} !dev-tex/slatex"
 

diff --git a/dev-scheme/racket/racket-6.12.ebuild b/dev-scheme/racket/racket-6.12-r1.ebuild
similarity index 95%
rename from dev-scheme/racket/racket-6.12.ebuild
rename to dev-scheme/racket/racket-6.12-r1.ebuild
index 6fefcbd3de3..0ce238ca01b 100644
--- a/dev-scheme/racket/racket-6.12.ebuild
+++ b/dev-scheme/racket/racket-6.12-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minim
 LICENSE="GPL-3+ LGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="doc +futures +jit minimal +places +threads +X"
+IUSE="doc +futures +jit minimal +places +readline +threads +X"
 REQUIRED_USE="futures? ( jit )"
 
 RDEPEND="dev-db/sqlite:3
@@ -20,6 +20,7 @@ RDEPEND="dev-db/sqlite:3
 	x11-libs/pango[X?]
 	virtual/libffi
 	virtual/jpeg:0
+	readline? ( dev-libs/libedit )
 	X? ( x11-libs/gtk+[X?] )"
 RDEPEND="${RDEPEND} !dev-tex/slatex"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2018-08-05 11:10 Amy Liffey
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Liffey @ 2018-08-05 11:10 UTC (permalink / raw
  To: gentoo-commits

commit:     1ec909d35aa19feb51d83c26c64643a9531d6260
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  5 10:23:03 2018 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Sun Aug  5 11:08:40 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ec909d3

dev-scheme/racket: uncompress doc files for raco

- raco pkg manager needs the doc files uncompressed

Suggested-by: Winston Weinert <winston <AT> ml1.net>
Closes: https://bugs.gentoo.org/662424
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-scheme/racket/{racket-6.12-r1.ebuild => racket-6.12-r2.ebuild} | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-scheme/racket/racket-6.12-r1.ebuild b/dev-scheme/racket/racket-6.12-r2.ebuild
similarity index 94%
rename from dev-scheme/racket/racket-6.12-r1.ebuild
rename to dev-scheme/racket/racket-6.12-r2.ebuild
index 0ce238ca01b..42b90a44cdb 100644
--- a/dev-scheme/racket/racket-6.12-r1.ebuild
+++ b/dev-scheme/racket/racket-6.12-r2.ebuild
@@ -86,4 +86,8 @@ src_install() {
 
 		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
 	fi
+	# raco needs decompressed files for packages doc installation bug 662424
+	if use doc; then
+		docompress -x /usr/share/doc/${PF}
+	fi
 }


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2018-08-05 11:10 Amy Liffey
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Liffey @ 2018-08-05 11:10 UTC (permalink / raw
  To: gentoo-commits

commit:     937daff14b1cb7929e53e49b4d4a9ad235e47b85
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  5 10:23:42 2018 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Sun Aug  5 11:08:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=937daff1

dev-scheme/racket: remove old 6.11

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-scheme/racket/Manifest              |  2 -
 dev-scheme/racket/racket-6.11-r1.ebuild | 89 ---------------------------------
 2 files changed, 91 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 2d8f4b303f1..4d60880650a 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,6 +1,4 @@
-DIST racket-6.11-src-builtpkgs.tgz 122307703 BLAKE2B 395b14c15b73dfda7b6e863a83530b5266ec2f132b3b8ee23ee60bea0083b42e1dd67c60cbdfca2cac93c343e3a4edf132677c707aed62d85c43ae27edb2de74 SHA512 2b9f6b478880a9ec176018f34a3015f5e84ceb11e61519d9ab9f7df8d4b8dc664fa9103ca787664ffcd86909410fbf6812838a59d899f3487dea278e39eb597b
 DIST racket-6.12-src-builtpkgs.tgz 119736428 BLAKE2B ca462e69c29c33e56e8e92dfc88e18c0643e045a52d50b288139b2d439dac9e10c3a5d0226236a2e2103b9d0c74871b97c3edfb242b49822d92893acc9ea42d7 SHA512 31f3f9b3f69a80601569cfdeee1610a49a2931c2c11a9daf9ff14eb8828dc48cb0befd05fc1b0cc53cc1477a04841e850f2dc89614dff58dc8e9e5da7b717716
 DIST racket-6.7-src-builtpkgs.tgz 116773863 BLAKE2B 786552b296449cd105450450f7232ba5468aba0ed6d96aa6db058cc3eb655808f031259ee69d1ab8abb9a751151e28e923d4388860ed37d74a1f6a637f740f0f SHA512 63fdc18e72fa152434d0fb83e926c28d2b2d16c93a0a2be0c14d445671c1bff5daf500e9917e41fa2f60454377de0cc10d226c321402abf4bad55a15ac74f127
-DIST racket-minimal-6.11-src-builtpkgs.tgz 11208413 BLAKE2B 17e979ab6e4c99f781994d48ca90e206618835e2ecfa875d0966efe2909a440c509fe9706cccb7f377675a0bb4d76971ed4dd73de2c088ae40660df50b6cf7cc SHA512 f197a645e7da04c120f1cb61d98a1cd47824576467a2fa12753576b72f258d1229cc99243f91ed87cf37be63062c26844b44469987d7ac4bfeee853aa7cb6e66
 DIST racket-minimal-6.12-src-builtpkgs.tgz 11251582 BLAKE2B c8ed5c562241f37297e0e88d1c8d60ceaf35c2a7010ca68cccca8b8ee007819822149cbda4f3b5c0ec93093901593b2722a22b9f8e46a083b207022877ce45f5 SHA512 6eb23ec16c710c661171f545b8dc5a53666e8a16d1db7edf1a0713693c99b79a779c4d7c6765dc3107f699c31e29238ddbb3e08b1eb62832292af0d4a1b5f465
 DIST racket-minimal-6.7-src-builtpkgs.tgz 11213736 BLAKE2B 1661fe1818d0b2c0d2c058aead61e25c5df01201d3ccdb31fccca14e9c1f2f822c18bfad6be3c1b7446d692c252129b63340b37e0311848269a914197416eee9 SHA512 59c885b535ed8e91a3b2a524bbc38661a5c19848ded935cc9f068c3fd6c8da39fc0755ef8df3a69cce3d50b96ee30d91972d6a4f6d5414eefb80bdc1ede6a285

diff --git a/dev-scheme/racket/racket-6.11-r1.ebuild b/dev-scheme/racket/racket-6.11-r1.ebuild
deleted file mode 100644
index 0ce238ca01b..00000000000
--- a/dev-scheme/racket/racket-6.11-r1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit pax-utils
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
-LICENSE="GPL-3+ LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="doc +futures +jit minimal +places +readline +threads +X"
-REQUIRED_USE="futures? ( jit )"
-
-RDEPEND="dev-db/sqlite:3
-	media-libs/libpng:0
-	x11-libs/cairo[X?]
-	x11-libs/pango[X?]
-	virtual/libffi
-	virtual/jpeg:0
-	readline? ( dev-libs/libedit )
-	X? ( x11-libs/gtk+[X?] )"
-RDEPEND="${RDEPEND} !dev-tex/slatex"
-
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	default
-	rm -r foreign/libffi || die 'failed to remove bundled libffi'
-}
-
-src_configure() {
-	# According to vapier, we should use the bundled libtool
-	# such that we don't preclude cross-compile. Thus don't use
-	# --enable-lt=/usr/bin/libtool
-	econf \
-		--enable-shared \
-		--enable-float \
-		--enable-libffi \
-		--enable-foreign \
-		--disable-libs \
-		--disable-strip \
-		$(use_enable X gracket) \
-		$(use_enable doc docs) \
-		$(use_enable jit) \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable threads pthread)
-}
-
-src_compile() {
-	if use jit; then
-		# When the JIT is enabled, a few binaries need to be pax-marked
-		# on hardened systems (bug 613634). The trick is to pax-mark
-		# them before they're used later in the build system. The
-		# following order for racketcgc and racket3m was determined by
-		# digging through the Makefile in src/racket to find out which
-		# targets would build those binaries but not use them.
-		pushd racket
-		emake cgc-core
-		pax-mark m .libs/racketcgc
-		pushd gc2
-		emake all
-		popd
-		pax-mark m .libs/racket3m
-		popd
-	fi
-
-	default
-}
-
-src_install() {
-	default
-
-	if use jit; then
-		# The final binaries need to be pax-marked, too, if you want to
-		# actually use them. The src_compile marking get lost somewhere
-		# in the install process.
-		for f in mred mzscheme racket; do
-			pax-mark m "${D}/usr/bin/${f}"
-		done
-
-		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
-	fi
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2018-08-06 15:59 Amy Liffey
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Liffey @ 2018-08-06 15:59 UTC (permalink / raw
  To: gentoo-commits

commit:     99e1827939edb12f8396a4547deb4fc225a4599e
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  6 15:55:12 2018 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Mon Aug  6 15:56:42 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e18279

dev-scheme/racket: version bump 7.0

Closes: https://bugs.gentoo.org/662952
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-scheme/racket/Manifest          |  2 +
 dev-scheme/racket/racket-7.0.ebuild | 93 +++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 4d60880650a..ac9dc2976a5 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,4 +1,6 @@
 DIST racket-6.12-src-builtpkgs.tgz 119736428 BLAKE2B ca462e69c29c33e56e8e92dfc88e18c0643e045a52d50b288139b2d439dac9e10c3a5d0226236a2e2103b9d0c74871b97c3edfb242b49822d92893acc9ea42d7 SHA512 31f3f9b3f69a80601569cfdeee1610a49a2931c2c11a9daf9ff14eb8828dc48cb0befd05fc1b0cc53cc1477a04841e850f2dc89614dff58dc8e9e5da7b717716
 DIST racket-6.7-src-builtpkgs.tgz 116773863 BLAKE2B 786552b296449cd105450450f7232ba5468aba0ed6d96aa6db058cc3eb655808f031259ee69d1ab8abb9a751151e28e923d4388860ed37d74a1f6a637f740f0f SHA512 63fdc18e72fa152434d0fb83e926c28d2b2d16c93a0a2be0c14d445671c1bff5daf500e9917e41fa2f60454377de0cc10d226c321402abf4bad55a15ac74f127
+DIST racket-7.0-src-builtpkgs.tgz 122544008 BLAKE2B fa6eddab17fbdec1db1dac2debb2da72fbab064f10fe0f49eda5b0ccfc635b2f86cef2eb103675988d281459f4fdb19841e27f154b803b38631ee21a2312799f SHA512 e872bb935146027bdc78dd7d22ea07cbbf78a23c761d584770d9ded3ece71b74954a317b799de16b0ba762219a46f0e66f41ceeb4d6741d0b1998bc6abf6b20a
 DIST racket-minimal-6.12-src-builtpkgs.tgz 11251582 BLAKE2B c8ed5c562241f37297e0e88d1c8d60ceaf35c2a7010ca68cccca8b8ee007819822149cbda4f3b5c0ec93093901593b2722a22b9f8e46a083b207022877ce45f5 SHA512 6eb23ec16c710c661171f545b8dc5a53666e8a16d1db7edf1a0713693c99b79a779c4d7c6765dc3107f699c31e29238ddbb3e08b1eb62832292af0d4a1b5f465
 DIST racket-minimal-6.7-src-builtpkgs.tgz 11213736 BLAKE2B 1661fe1818d0b2c0d2c058aead61e25c5df01201d3ccdb31fccca14e9c1f2f822c18bfad6be3c1b7446d692c252129b63340b37e0311848269a914197416eee9 SHA512 59c885b535ed8e91a3b2a524bbc38661a5c19848ded935cc9f068c3fd6c8da39fc0755ef8df3a69cce3d50b96ee30d91972d6a4f6d5414eefb80bdc1ede6a285
+DIST racket-minimal-7.0-src-builtpkgs.tgz 12215529 BLAKE2B 4e9d2b137edf6b188c71dd32771753a16589ab49884aba1641fac5a5f82b9016843fec3257de7d59a9b00971a7dd455e99897782794800e14a656bcb22a17080 SHA512 976fd0ab96f4bf99eb7c63f7f213af91f91de4dd2498c4f8f1440743f7571194090abf0c4037e436970235f737d0add116f5689bf495688b3667a91ef95e8270

diff --git a/dev-scheme/racket/racket-7.0.ebuild b/dev-scheme/racket/racket-7.0.ebuild
new file mode 100644
index 00000000000..206f8c7836f
--- /dev/null
+++ b/dev-scheme/racket/racket-7.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit pax-utils
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="http://racket-lang.org/"
+SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+LICENSE="GPL-3+ LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="doc +futures +jit minimal +places +readline +threads +X"
+REQUIRED_USE="futures? ( jit )"
+
+RDEPEND="dev-db/sqlite:3
+	media-libs/libpng:0
+	x11-libs/cairo[X?]
+	x11-libs/pango[X?]
+	virtual/libffi
+	virtual/jpeg:0
+	readline? ( dev-libs/libedit )
+	X? ( x11-libs/gtk+[X?] )"
+RDEPEND="${RDEPEND} !dev-tex/slatex"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+	default
+	rm -r foreign/libffi || die 'failed to remove bundled libffi'
+}
+
+src_configure() {
+	# According to vapier, we should use the bundled libtool
+	# such that we don't preclude cross-compile. Thus don't use
+	# --enable-lt=/usr/bin/libtool
+	econf \
+		--enable-shared \
+		--enable-float \
+		--enable-libffi \
+		--enable-foreign \
+		--disable-libs \
+		--disable-strip \
+		$(use_enable X gracket) \
+		$(use_enable doc docs) \
+		$(use_enable jit) \
+		$(use_enable places) \
+		$(use_enable futures) \
+		$(use_enable threads pthread)
+}
+
+src_compile() {
+	if use jit; then
+		# When the JIT is enabled, a few binaries need to be pax-marked
+		# on hardened systems (bug 613634). The trick is to pax-mark
+		# them before they're used later in the build system. The
+		# following order for racketcgc and racket3m was determined by
+		# digging through the Makefile in src/racket to find out which
+		# targets would build those binaries but not use them.
+		pushd racket
+		emake cgc-core
+		pax-mark m .libs/racketcgc
+		pushd gc2
+		emake all
+		popd
+		pax-mark m .libs/racket3m
+		popd
+	fi
+
+	default
+}
+
+src_install() {
+	default
+
+	if use jit; then
+		# The final binaries need to be pax-marked, too, if you want to
+		# actually use them. The src_compile marking get lost somewhere
+		# in the install process.
+		for f in mred mzscheme racket; do
+			pax-mark m "${D}/usr/bin/${f}"
+		done
+
+		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
+	fi
+	# raco needs decompressed files for packages doc installation bug 662424
+	if use doc; then
+		docompress -x /usr/share/doc/${PF}
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2018-10-27 10:39 Amy Liffey
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Liffey @ 2018-10-27 10:39 UTC (permalink / raw
  To: gentoo-commits

commit:     98223f97540d049d47afd56e0a42b24e9ce6329d
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 27 10:37:47 2018 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Sat Oct 27 10:37:47 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98223f97

dev-scheme/racket: version bump 7.1

Signed-off-by: Amy Liffey <amynka <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-scheme/racket/Manifest          |  2 +
 dev-scheme/racket/racket-7.1.ebuild | 93 +++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index ac9dc2976a5..4a082db1d14 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,6 +1,8 @@
 DIST racket-6.12-src-builtpkgs.tgz 119736428 BLAKE2B ca462e69c29c33e56e8e92dfc88e18c0643e045a52d50b288139b2d439dac9e10c3a5d0226236a2e2103b9d0c74871b97c3edfb242b49822d92893acc9ea42d7 SHA512 31f3f9b3f69a80601569cfdeee1610a49a2931c2c11a9daf9ff14eb8828dc48cb0befd05fc1b0cc53cc1477a04841e850f2dc89614dff58dc8e9e5da7b717716
 DIST racket-6.7-src-builtpkgs.tgz 116773863 BLAKE2B 786552b296449cd105450450f7232ba5468aba0ed6d96aa6db058cc3eb655808f031259ee69d1ab8abb9a751151e28e923d4388860ed37d74a1f6a637f740f0f SHA512 63fdc18e72fa152434d0fb83e926c28d2b2d16c93a0a2be0c14d445671c1bff5daf500e9917e41fa2f60454377de0cc10d226c321402abf4bad55a15ac74f127
 DIST racket-7.0-src-builtpkgs.tgz 122544008 BLAKE2B fa6eddab17fbdec1db1dac2debb2da72fbab064f10fe0f49eda5b0ccfc635b2f86cef2eb103675988d281459f4fdb19841e27f154b803b38631ee21a2312799f SHA512 e872bb935146027bdc78dd7d22ea07cbbf78a23c761d584770d9ded3ece71b74954a317b799de16b0ba762219a46f0e66f41ceeb4d6741d0b1998bc6abf6b20a
+DIST racket-7.1-src-builtpkgs.tgz 126596138 BLAKE2B 734595105630352977d7f51de233c320de590744810f2f469d4259d84f19a69a84394d4f62ade130897babd21d46180659689a0c2dda7bc9559586f5c3c37be6 SHA512 9d6fb0912c7c612dfb32b4955e192d69f00b67e73c08196ef3caa7b3123909627496a6dfb36f7910ea5f9af526e99b56fe936359cbea261db26a5687ed49c38f
 DIST racket-minimal-6.12-src-builtpkgs.tgz 11251582 BLAKE2B c8ed5c562241f37297e0e88d1c8d60ceaf35c2a7010ca68cccca8b8ee007819822149cbda4f3b5c0ec93093901593b2722a22b9f8e46a083b207022877ce45f5 SHA512 6eb23ec16c710c661171f545b8dc5a53666e8a16d1db7edf1a0713693c99b79a779c4d7c6765dc3107f699c31e29238ddbb3e08b1eb62832292af0d4a1b5f465
 DIST racket-minimal-6.7-src-builtpkgs.tgz 11213736 BLAKE2B 1661fe1818d0b2c0d2c058aead61e25c5df01201d3ccdb31fccca14e9c1f2f822c18bfad6be3c1b7446d692c252129b63340b37e0311848269a914197416eee9 SHA512 59c885b535ed8e91a3b2a524bbc38661a5c19848ded935cc9f068c3fd6c8da39fc0755ef8df3a69cce3d50b96ee30d91972d6a4f6d5414eefb80bdc1ede6a285
 DIST racket-minimal-7.0-src-builtpkgs.tgz 12215529 BLAKE2B 4e9d2b137edf6b188c71dd32771753a16589ab49884aba1641fac5a5f82b9016843fec3257de7d59a9b00971a7dd455e99897782794800e14a656bcb22a17080 SHA512 976fd0ab96f4bf99eb7c63f7f213af91f91de4dd2498c4f8f1440743f7571194090abf0c4037e436970235f737d0add116f5689bf495688b3667a91ef95e8270
+DIST racket-minimal-7.1-src-builtpkgs.tgz 15304920 BLAKE2B be851eb58655d5f7eb36235eeb37f3d24c94c4a6b20724a4772acccf109df6e6a9d8e0f9797530c7c3f6540e99325417ef982244017719fced75e1afda71847a SHA512 e1e839867fd4540fe15234f149162c88ad1f73ca26ba22644d58b3d8ab2809851d8b176f9f448dfd7acd3b7733a20d388c71cdd76e8a5dc6c50662e6113df6df

diff --git a/dev-scheme/racket/racket-7.1.ebuild b/dev-scheme/racket/racket-7.1.ebuild
new file mode 100644
index 00000000000..09fe5c280f4
--- /dev/null
+++ b/dev-scheme/racket/racket-7.1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit pax-utils
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="http://racket-lang.org/"
+SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+LICENSE="GPL-3+ LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="doc +futures +jit minimal +places +readline +threads +X"
+REQUIRED_USE="futures? ( jit )"
+
+RDEPEND="dev-db/sqlite:3
+	media-libs/libpng:0
+	x11-libs/cairo[X?]
+	x11-libs/pango[X?]
+	virtual/libffi
+	virtual/jpeg:0
+	readline? ( dev-libs/libedit )
+	X? ( x11-libs/gtk+[X?] )"
+RDEPEND="${RDEPEND} !dev-tex/slatex"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+	default
+	rm -r foreign/libffi || die 'failed to remove bundled libffi'
+}
+
+src_configure() {
+	# According to vapier, we should use the bundled libtool
+	# such that we don't preclude cross-compile. Thus don't use
+	# --enable-lt=/usr/bin/libtool
+	econf \
+		--enable-shared \
+		--enable-float \
+		--enable-libffi \
+		--enable-foreign \
+		--disable-libs \
+		--disable-strip \
+		$(use_enable X gracket) \
+		$(use_enable doc docs) \
+		$(use_enable jit) \
+		$(use_enable places) \
+		$(use_enable futures) \
+		$(use_enable threads pthread)
+}
+
+src_compile() {
+	if use jit; then
+		# When the JIT is enabled, a few binaries need to be pax-marked
+		# on hardened systems (bug 613634). The trick is to pax-mark
+		# them before they're used later in the build system. The
+		# following order for racketcgc and racket3m was determined by
+		# digging through the Makefile in src/racket to find out which
+		# targets would build those binaries but not use them.
+		pushd racket
+		emake cgc-core
+		pax-mark m .libs/racketcgc
+		pushd gc2
+		emake all
+		popd
+		pax-mark m .libs/racket3m
+		popd
+	fi
+
+	default
+}
+
+src_install() {
+	default
+
+	if use jit; then
+		# The final binaries need to be pax-marked, too, if you want to
+		# actually use them. The src_compile marking get lost somewhere
+		# in the install process.
+		for f in mred mzscheme racket; do
+			pax-mark m "${D}/usr/bin/${f}"
+		done
+
+		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
+	fi
+	# raco needs decompressed files for packages doc installation bug 662424
+	if use doc; then
+		docompress -x /usr/share/doc/${PF}
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2018-10-28 21:29 Thomas Deutschmann
  0 siblings, 0 replies; 110+ messages in thread
From: Thomas Deutschmann @ 2018-10-28 21:29 UTC (permalink / raw
  To: gentoo-commits

commit:     956caccc9437974894e7a5c4db39685385f06afc
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 28 21:20:53 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Oct 28 21:29:08 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=956caccc

dev-scheme/racket: x86 stable (bug #669836)

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/racket-7.0.ebuild b/dev-scheme/racket/racket-7.0.ebuild
index 206f8c7836f..e15680b9750 100644
--- a/dev-scheme/racket/racket-7.0.ebuild
+++ b/dev-scheme/racket/racket-7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ HOMEPAGE="http://racket-lang.org/"
 SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
 LICENSE="GPL-3+ LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="doc +futures +jit minimal +places +readline +threads +X"
 REQUIRED_USE="futures? ( jit )"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2018-11-05 18:51 Mikle Kolyada
  0 siblings, 0 replies; 110+ messages in thread
From: Mikle Kolyada @ 2018-11-05 18:51 UTC (permalink / raw
  To: gentoo-commits

commit:     a79a3de8e9d2d18a5b74ddf81ad145123724bfc5
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  5 18:50:24 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Mon Nov  5 18:50:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a79a3de8

dev-scheme/racket: amd64 stable wrt bug #669836

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

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

diff --git a/dev-scheme/racket/racket-7.0.ebuild b/dev-scheme/racket/racket-7.0.ebuild
index e15680b9750..c3b288258ac 100644
--- a/dev-scheme/racket/racket-7.0.ebuild
+++ b/dev-scheme/racket/racket-7.0.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="http://racket-lang.org/"
 SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
 LICENSE="GPL-3+ LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="doc +futures +jit minimal +places +readline +threads +X"
 REQUIRED_USE="futures? ( jit )"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2018-11-05 21:13 Amy Liffey
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Liffey @ 2018-11-05 21:13 UTC (permalink / raw
  To: gentoo-commits

commit:     c296ce844d9b880a8777fb47f85bbabee0b5b569
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  5 21:12:48 2018 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Mon Nov  5 21:12:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c296ce84

dev-scheme/racket: remove old 6.7, 6.12

Closes: https://bugs.gentoo.org/652732
Signed-off-by: Amy Liffey <amynka <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-scheme/racket/Manifest              |  4 --
 dev-scheme/racket/racket-6.12-r2.ebuild | 93 ---------------------------------
 dev-scheme/racket/racket-6.7.ebuild     | 70 -------------------------
 3 files changed, 167 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 4a082db1d14..af31c9268e2 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,8 +1,4 @@
-DIST racket-6.12-src-builtpkgs.tgz 119736428 BLAKE2B ca462e69c29c33e56e8e92dfc88e18c0643e045a52d50b288139b2d439dac9e10c3a5d0226236a2e2103b9d0c74871b97c3edfb242b49822d92893acc9ea42d7 SHA512 31f3f9b3f69a80601569cfdeee1610a49a2931c2c11a9daf9ff14eb8828dc48cb0befd05fc1b0cc53cc1477a04841e850f2dc89614dff58dc8e9e5da7b717716
-DIST racket-6.7-src-builtpkgs.tgz 116773863 BLAKE2B 786552b296449cd105450450f7232ba5468aba0ed6d96aa6db058cc3eb655808f031259ee69d1ab8abb9a751151e28e923d4388860ed37d74a1f6a637f740f0f SHA512 63fdc18e72fa152434d0fb83e926c28d2b2d16c93a0a2be0c14d445671c1bff5daf500e9917e41fa2f60454377de0cc10d226c321402abf4bad55a15ac74f127
 DIST racket-7.0-src-builtpkgs.tgz 122544008 BLAKE2B fa6eddab17fbdec1db1dac2debb2da72fbab064f10fe0f49eda5b0ccfc635b2f86cef2eb103675988d281459f4fdb19841e27f154b803b38631ee21a2312799f SHA512 e872bb935146027bdc78dd7d22ea07cbbf78a23c761d584770d9ded3ece71b74954a317b799de16b0ba762219a46f0e66f41ceeb4d6741d0b1998bc6abf6b20a
 DIST racket-7.1-src-builtpkgs.tgz 126596138 BLAKE2B 734595105630352977d7f51de233c320de590744810f2f469d4259d84f19a69a84394d4f62ade130897babd21d46180659689a0c2dda7bc9559586f5c3c37be6 SHA512 9d6fb0912c7c612dfb32b4955e192d69f00b67e73c08196ef3caa7b3123909627496a6dfb36f7910ea5f9af526e99b56fe936359cbea261db26a5687ed49c38f
-DIST racket-minimal-6.12-src-builtpkgs.tgz 11251582 BLAKE2B c8ed5c562241f37297e0e88d1c8d60ceaf35c2a7010ca68cccca8b8ee007819822149cbda4f3b5c0ec93093901593b2722a22b9f8e46a083b207022877ce45f5 SHA512 6eb23ec16c710c661171f545b8dc5a53666e8a16d1db7edf1a0713693c99b79a779c4d7c6765dc3107f699c31e29238ddbb3e08b1eb62832292af0d4a1b5f465
-DIST racket-minimal-6.7-src-builtpkgs.tgz 11213736 BLAKE2B 1661fe1818d0b2c0d2c058aead61e25c5df01201d3ccdb31fccca14e9c1f2f822c18bfad6be3c1b7446d692c252129b63340b37e0311848269a914197416eee9 SHA512 59c885b535ed8e91a3b2a524bbc38661a5c19848ded935cc9f068c3fd6c8da39fc0755ef8df3a69cce3d50b96ee30d91972d6a4f6d5414eefb80bdc1ede6a285
 DIST racket-minimal-7.0-src-builtpkgs.tgz 12215529 BLAKE2B 4e9d2b137edf6b188c71dd32771753a16589ab49884aba1641fac5a5f82b9016843fec3257de7d59a9b00971a7dd455e99897782794800e14a656bcb22a17080 SHA512 976fd0ab96f4bf99eb7c63f7f213af91f91de4dd2498c4f8f1440743f7571194090abf0c4037e436970235f737d0add116f5689bf495688b3667a91ef95e8270
 DIST racket-minimal-7.1-src-builtpkgs.tgz 15304920 BLAKE2B be851eb58655d5f7eb36235eeb37f3d24c94c4a6b20724a4772acccf109df6e6a9d8e0f9797530c7c3f6540e99325417ef982244017719fced75e1afda71847a SHA512 e1e839867fd4540fe15234f149162c88ad1f73ca26ba22644d58b3d8ab2809851d8b176f9f448dfd7acd3b7733a20d388c71cdd76e8a5dc6c50662e6113df6df

diff --git a/dev-scheme/racket/racket-6.12-r2.ebuild b/dev-scheme/racket/racket-6.12-r2.ebuild
deleted file mode 100644
index 42b90a44cdb..00000000000
--- a/dev-scheme/racket/racket-6.12-r2.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit pax-utils
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
-LICENSE="GPL-3+ LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="doc +futures +jit minimal +places +readline +threads +X"
-REQUIRED_USE="futures? ( jit )"
-
-RDEPEND="dev-db/sqlite:3
-	media-libs/libpng:0
-	x11-libs/cairo[X?]
-	x11-libs/pango[X?]
-	virtual/libffi
-	virtual/jpeg:0
-	readline? ( dev-libs/libedit )
-	X? ( x11-libs/gtk+[X?] )"
-RDEPEND="${RDEPEND} !dev-tex/slatex"
-
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	default
-	rm -r foreign/libffi || die 'failed to remove bundled libffi'
-}
-
-src_configure() {
-	# According to vapier, we should use the bundled libtool
-	# such that we don't preclude cross-compile. Thus don't use
-	# --enable-lt=/usr/bin/libtool
-	econf \
-		--enable-shared \
-		--enable-float \
-		--enable-libffi \
-		--enable-foreign \
-		--disable-libs \
-		--disable-strip \
-		$(use_enable X gracket) \
-		$(use_enable doc docs) \
-		$(use_enable jit) \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable threads pthread)
-}
-
-src_compile() {
-	if use jit; then
-		# When the JIT is enabled, a few binaries need to be pax-marked
-		# on hardened systems (bug 613634). The trick is to pax-mark
-		# them before they're used later in the build system. The
-		# following order for racketcgc and racket3m was determined by
-		# digging through the Makefile in src/racket to find out which
-		# targets would build those binaries but not use them.
-		pushd racket
-		emake cgc-core
-		pax-mark m .libs/racketcgc
-		pushd gc2
-		emake all
-		popd
-		pax-mark m .libs/racket3m
-		popd
-	fi
-
-	default
-}
-
-src_install() {
-	default
-
-	if use jit; then
-		# The final binaries need to be pax-marked, too, if you want to
-		# actually use them. The src_compile marking get lost somewhere
-		# in the install process.
-		for f in mred mzscheme racket; do
-			pax-mark m "${D}/usr/bin/${f}"
-		done
-
-		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
-	fi
-	# raco needs decompressed files for packages doc installation bug 662424
-	if use doc; then
-		docompress -x /usr/share/doc/${PF}
-	fi
-}

diff --git a/dev-scheme/racket/racket-6.7.ebuild b/dev-scheme/racket/racket-6.7.ebuild
deleted file mode 100644
index 1529a99d7a9..00000000000
--- a/dev-scheme/racket/racket-6.7.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit eutils pax-utils
-
-DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family."
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
-IUSE="doc +futures +jit minimal +places +threads +X"
-REQUIRED_USE="futures? ( jit )"
-
-# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation
-RDEPEND="dev-db/sqlite:3
-	x11-libs/cairo[X?]
-	virtual/libffi"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	default
-	#remove bundled libraries
-	rm -rf foreign/libffi/ || die "Bundled libraries libffi was not removed"
-}
-
-src_configure() {
-# according to vapier, we should use the bundled libtool
-# such that we don't preclude cross-compile. Thus don't use
-# --enable-lt=/usr/bin/libtool
-	econf \
-		$(use_enable X gracket) \
-		$(use_enable doc docs) \
-		--enable-shared \
-		$(use_enable jit) \
-		--enable-foreign \
-		$(use_enable places) \
-		$(use_enable futures) \
-		--enable-float \
-		--enable-libffi \
-		$(use_enable threads pthread)
-}
-
-src_compile() {
-	if use jit; then
-		pushd racket
-		emake cgc
-		pax-mark m .libs/racketcgc
-		emake 3m
-		pax-mark m .libs/racket3m
-		popd
-	fi
-	emake
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-
-	if ! use minimal; then
-		#racket now comes with desktop files, but DESTDIR is mishandled
-		for f in /usr/share/applications/{drracket,slideshow}.desktop; do
-			sed -e "s|${D}||g" \
-				-i "${D}/${f}" || die "Failed to patch '${f}'"
-		done
-	fi
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2019-04-04 21:16 Aaron Bauman
  0 siblings, 0 replies; 110+ messages in thread
From: Aaron Bauman @ 2019-04-04 21:16 UTC (permalink / raw
  To: gentoo-commits

commit:     98caa44c395a0810dd30a757f717eaac8e84a858
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Thu Apr  4 16:56:22 2019 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Thu Apr  4 21:16:11 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98caa44c

dev-scheme/racket: use HTTPS

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11586
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>

 dev-scheme/racket/racket-7.0.ebuild | 6 +++---
 dev-scheme/racket/racket-7.1.ebuild | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-scheme/racket/racket-7.0.ebuild b/dev-scheme/racket/racket-7.0.ebuild
index c3b288258ac..a24d86837ae 100644
--- a/dev-scheme/racket/racket-7.0.ebuild
+++ b/dev-scheme/racket/racket-7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,8 +6,8 @@ EAPI=7
 inherit pax-utils
 
 DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+HOMEPAGE="https://racket-lang.org/"
+SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
 LICENSE="GPL-3+ LGPL-3"
 SLOT="0"
 KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"

diff --git a/dev-scheme/racket/racket-7.1.ebuild b/dev-scheme/racket/racket-7.1.ebuild
index 09fe5c280f4..2ce724a31c4 100644
--- a/dev-scheme/racket/racket-7.1.ebuild
+++ b/dev-scheme/racket/racket-7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -6,8 +6,8 @@ EAPI=7
 inherit pax-utils
 
 DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="http://racket-lang.org/"
-SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+HOMEPAGE="https://racket-lang.org/"
+SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
 LICENSE="GPL-3+ LGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2019-04-28 18:24 Amy Liffey
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Liffey @ 2019-04-28 18:24 UTC (permalink / raw
  To: gentoo-commits

commit:     2a08fd6ac900010fa248c1a30b88e73fda1ec655
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 28 17:09:48 2019 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Sun Apr 28 18:24:18 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a08fd6a

dev-scheme/racket: version bump 7.2

Signed-off-by: Amy Liffey <amynka <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-scheme/racket/Manifest          |  2 +
 dev-scheme/racket/racket-7.2.ebuild | 95 +++++++++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index af31c9268e2..24cb623b193 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,4 +1,6 @@
 DIST racket-7.0-src-builtpkgs.tgz 122544008 BLAKE2B fa6eddab17fbdec1db1dac2debb2da72fbab064f10fe0f49eda5b0ccfc635b2f86cef2eb103675988d281459f4fdb19841e27f154b803b38631ee21a2312799f SHA512 e872bb935146027bdc78dd7d22ea07cbbf78a23c761d584770d9ded3ece71b74954a317b799de16b0ba762219a46f0e66f41ceeb4d6741d0b1998bc6abf6b20a
 DIST racket-7.1-src-builtpkgs.tgz 126596138 BLAKE2B 734595105630352977d7f51de233c320de590744810f2f469d4259d84f19a69a84394d4f62ade130897babd21d46180659689a0c2dda7bc9559586f5c3c37be6 SHA512 9d6fb0912c7c612dfb32b4955e192d69f00b67e73c08196ef3caa7b3123909627496a6dfb36f7910ea5f9af526e99b56fe936359cbea261db26a5687ed49c38f
+DIST racket-7.2-src-builtpkgs.tgz 127050541 BLAKE2B f6235c9f5a646a6d2a8ab0ce63ded384ed707dc704927b63281c159e2daa503ffc4bad99cd33511aca05c0fa7aa55adde1e9c79032faa17dcd99f1bbd15324a8 SHA512 748e1ee63b6c32bafc58401e943e7dd31a47cfd2eb8dad6e4a40a8966d4df2fb7e4bb573841c210a567ba0f02b518d41fa69df03736f49ae9761446e71a4ab9b
 DIST racket-minimal-7.0-src-builtpkgs.tgz 12215529 BLAKE2B 4e9d2b137edf6b188c71dd32771753a16589ab49884aba1641fac5a5f82b9016843fec3257de7d59a9b00971a7dd455e99897782794800e14a656bcb22a17080 SHA512 976fd0ab96f4bf99eb7c63f7f213af91f91de4dd2498c4f8f1440743f7571194090abf0c4037e436970235f737d0add116f5689bf495688b3667a91ef95e8270
 DIST racket-minimal-7.1-src-builtpkgs.tgz 15304920 BLAKE2B be851eb58655d5f7eb36235eeb37f3d24c94c4a6b20724a4772acccf109df6e6a9d8e0f9797530c7c3f6540e99325417ef982244017719fced75e1afda71847a SHA512 e1e839867fd4540fe15234f149162c88ad1f73ca26ba22644d58b3d8ab2809851d8b176f9f448dfd7acd3b7733a20d388c71cdd76e8a5dc6c50662e6113df6df
+DIST racket-minimal-7.2-src-builtpkgs.tgz 15481415 BLAKE2B 145823cfe8538e5f569e33303bae585cb2eebf013da27551a606a005ab84e70b0e58710eadbaecbaae4fc5c9b62b22e26ba1ab2f3158500600c0bc9d7a52e17c SHA512 0fb17ef0e7d8c03c847827118dec48486fd499777fbbf98588124f9e4725dd815e0f6df2e95f4d8700b8d8dbe3b7d678d2ffb8966ce0add6742bff554ef9415c

diff --git a/dev-scheme/racket/racket-7.2.ebuild b/dev-scheme/racket/racket-7.2.ebuild
new file mode 100644
index 00000000000..6c313c38b06
--- /dev/null
+++ b/dev-scheme/racket/racket-7.2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit pax-utils
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="https://racket-lang.org/"
+SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+LICENSE="GPL-3+ LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="doc +futures +jit minimal +places +readline +threads +X"
+REQUIRED_USE="futures? ( jit )"
+
+RDEPEND="dev-db/sqlite:3
+	media-libs/libpng:0
+	x11-libs/cairo[X?]
+	x11-libs/pango[X?]
+	virtual/libffi
+	virtual/jpeg:0
+	readline? ( dev-libs/libedit )
+	X? ( x11-libs/gtk+[X?] )"
+RDEPEND="${RDEPEND} !dev-tex/slatex"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+	default
+	rm -r foreign/libffi || die 'failed to remove bundled libffi'
+}
+
+src_configure() {
+	# According to vapier, we should use the bundled libtool
+	# such that we don't preclude cross-compile. Thus don't use
+	# --enable-lt=/usr/bin/libtool
+	econf \
+		--docdir="${EPREFIX}"/usr/share/doc/${PF} \
+		--enable-shared \
+		--enable-float \
+		--enable-libffi \
+		--enable-foreign \
+		--disable-libs \
+		--disable-strip \
+		$(use_enable X gracket) \
+		$(use_enable doc docs) \
+		$(use_enable jit) \
+		$(use_enable places) \
+		$(use_enable futures) \
+		$(use_enable threads pthread)
+}
+
+src_compile() {
+	if use jit; then
+		# When the JIT is enabled, a few binaries need to be pax-marked
+		# on hardened systems (bug 613634). The trick is to pax-mark
+		# them before they're used later in the build system. The
+		# following order for racketcgc and racket3m was determined by
+		# digging through the Makefile in src/racket to find out which
+		# targets would build those binaries but not use them.
+		pushd racket
+		emake cgc-core
+		pax-mark m .libs/racketcgc
+		pushd gc2
+		emake all
+		popd
+		pax-mark m .libs/racket3m
+		popd
+	fi
+
+	default
+}
+
+src_install() {
+	default
+
+	if use jit; then
+		# The final binaries need to be pax-marked, too, if you want to
+		# actually use them. The src_compile marking get lost somewhere
+		# in the install process.
+		for f in mred mzscheme racket; do
+			pax-mark m "${D}/usr/bin/${f}"
+		done
+
+		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
+	fi
+	# raco needs decompressed files for packages doc installation bug 662424
+	if use doc; then
+		docompress -x /usr/share/doc/${PF}
+	fi
+	find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2019-05-18 16:17 Amy Liffey
  0 siblings, 0 replies; 110+ messages in thread
From: Amy Liffey @ 2019-05-18 16:17 UTC (permalink / raw
  To: gentoo-commits

commit:     e7a38c81e966bb22d87aabb07f7b0095040794dd
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Sat May 18 16:15:34 2019 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Sat May 18 16:16:58 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7a38c81

dev-scheme/racket: version bump 7.3

Signed-off-by: Amy Liffey <amynka <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-scheme/racket/Manifest          |  2 +
 dev-scheme/racket/racket-7.3.ebuild | 95 +++++++++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 24cb623b193..f2af60f8a6c 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,6 +1,8 @@
 DIST racket-7.0-src-builtpkgs.tgz 122544008 BLAKE2B fa6eddab17fbdec1db1dac2debb2da72fbab064f10fe0f49eda5b0ccfc635b2f86cef2eb103675988d281459f4fdb19841e27f154b803b38631ee21a2312799f SHA512 e872bb935146027bdc78dd7d22ea07cbbf78a23c761d584770d9ded3ece71b74954a317b799de16b0ba762219a46f0e66f41ceeb4d6741d0b1998bc6abf6b20a
 DIST racket-7.1-src-builtpkgs.tgz 126596138 BLAKE2B 734595105630352977d7f51de233c320de590744810f2f469d4259d84f19a69a84394d4f62ade130897babd21d46180659689a0c2dda7bc9559586f5c3c37be6 SHA512 9d6fb0912c7c612dfb32b4955e192d69f00b67e73c08196ef3caa7b3123909627496a6dfb36f7910ea5f9af526e99b56fe936359cbea261db26a5687ed49c38f
 DIST racket-7.2-src-builtpkgs.tgz 127050541 BLAKE2B f6235c9f5a646a6d2a8ab0ce63ded384ed707dc704927b63281c159e2daa503ffc4bad99cd33511aca05c0fa7aa55adde1e9c79032faa17dcd99f1bbd15324a8 SHA512 748e1ee63b6c32bafc58401e943e7dd31a47cfd2eb8dad6e4a40a8966d4df2fb7e4bb573841c210a567ba0f02b518d41fa69df03736f49ae9761446e71a4ab9b
+DIST racket-7.3-src-builtpkgs.tgz 127136703 BLAKE2B 3449f62d8301cf5cc527cd46e074279d34c6064631a584488407d4c7af3b10aa01bb074d0dbc59034e8e036b1f24f9921ccdc070fb7bb3ff548f18b37cd8d12d SHA512 2cba16d6513984721b82d21e279a0017e3d96f3e2a53ca773deb45e10be2b74a61d4496679eb5aa4aff9276f323a16a1506e9471a873c28ee014f7d4e49bfea8
 DIST racket-minimal-7.0-src-builtpkgs.tgz 12215529 BLAKE2B 4e9d2b137edf6b188c71dd32771753a16589ab49884aba1641fac5a5f82b9016843fec3257de7d59a9b00971a7dd455e99897782794800e14a656bcb22a17080 SHA512 976fd0ab96f4bf99eb7c63f7f213af91f91de4dd2498c4f8f1440743f7571194090abf0c4037e436970235f737d0add116f5689bf495688b3667a91ef95e8270
 DIST racket-minimal-7.1-src-builtpkgs.tgz 15304920 BLAKE2B be851eb58655d5f7eb36235eeb37f3d24c94c4a6b20724a4772acccf109df6e6a9d8e0f9797530c7c3f6540e99325417ef982244017719fced75e1afda71847a SHA512 e1e839867fd4540fe15234f149162c88ad1f73ca26ba22644d58b3d8ab2809851d8b176f9f448dfd7acd3b7733a20d388c71cdd76e8a5dc6c50662e6113df6df
 DIST racket-minimal-7.2-src-builtpkgs.tgz 15481415 BLAKE2B 145823cfe8538e5f569e33303bae585cb2eebf013da27551a606a005ab84e70b0e58710eadbaecbaae4fc5c9b62b22e26ba1ab2f3158500600c0bc9d7a52e17c SHA512 0fb17ef0e7d8c03c847827118dec48486fd499777fbbf98588124f9e4725dd815e0f6df2e95f4d8700b8d8dbe3b7d678d2ffb8966ce0add6742bff554ef9415c
+DIST racket-minimal-7.3-src-builtpkgs.tgz 15549791 BLAKE2B ab03252c48b8a07ae6caeb3af67d823d8eeddd22242d2146812c7b12ade09caa86ad026fb1a7b3dfeb981e304b78c697d1f93fb9d94c6e7dbc8c3ecb09fdfea0 SHA512 e542898dab04e781b0b8a613f250a35db8beed9db33406f20d4f028b7f3629904409aadf653c68998d36948bdd46e51134d3cebe1e014b46e3dba82472c3563b

diff --git a/dev-scheme/racket/racket-7.3.ebuild b/dev-scheme/racket/racket-7.3.ebuild
new file mode 100644
index 00000000000..6c313c38b06
--- /dev/null
+++ b/dev-scheme/racket/racket-7.3.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit pax-utils
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="https://racket-lang.org/"
+SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+LICENSE="GPL-3+ LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="doc +futures +jit minimal +places +readline +threads +X"
+REQUIRED_USE="futures? ( jit )"
+
+RDEPEND="dev-db/sqlite:3
+	media-libs/libpng:0
+	x11-libs/cairo[X?]
+	x11-libs/pango[X?]
+	virtual/libffi
+	virtual/jpeg:0
+	readline? ( dev-libs/libedit )
+	X? ( x11-libs/gtk+[X?] )"
+RDEPEND="${RDEPEND} !dev-tex/slatex"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+	default
+	rm -r foreign/libffi || die 'failed to remove bundled libffi'
+}
+
+src_configure() {
+	# According to vapier, we should use the bundled libtool
+	# such that we don't preclude cross-compile. Thus don't use
+	# --enable-lt=/usr/bin/libtool
+	econf \
+		--docdir="${EPREFIX}"/usr/share/doc/${PF} \
+		--enable-shared \
+		--enable-float \
+		--enable-libffi \
+		--enable-foreign \
+		--disable-libs \
+		--disable-strip \
+		$(use_enable X gracket) \
+		$(use_enable doc docs) \
+		$(use_enable jit) \
+		$(use_enable places) \
+		$(use_enable futures) \
+		$(use_enable threads pthread)
+}
+
+src_compile() {
+	if use jit; then
+		# When the JIT is enabled, a few binaries need to be pax-marked
+		# on hardened systems (bug 613634). The trick is to pax-mark
+		# them before they're used later in the build system. The
+		# following order for racketcgc and racket3m was determined by
+		# digging through the Makefile in src/racket to find out which
+		# targets would build those binaries but not use them.
+		pushd racket
+		emake cgc-core
+		pax-mark m .libs/racketcgc
+		pushd gc2
+		emake all
+		popd
+		pax-mark m .libs/racket3m
+		popd
+	fi
+
+	default
+}
+
+src_install() {
+	default
+
+	if use jit; then
+		# The final binaries need to be pax-marked, too, if you want to
+		# actually use them. The src_compile marking get lost somewhere
+		# in the install process.
+		for f in mred mzscheme racket; do
+			pax-mark m "${D}/usr/bin/${f}"
+		done
+
+		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
+	fi
+	# raco needs decompressed files for packages doc installation bug 662424
+	if use doc; then
+		docompress -x /usr/share/doc/${PF}
+	fi
+	find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2020-11-16 22:53 Sergei Trofimovich
  0 siblings, 0 replies; 110+ messages in thread
From: Sergei Trofimovich @ 2020-11-16 22:53 UTC (permalink / raw
  To: gentoo-commits

commit:     91d9ce11892e48cc154340b1c08a67bbfec14241
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 16 22:52:16 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Nov 16 22:53:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91d9ce11

dev-scheme/racket: use dev-libs/libffi instead of virtual/libffi

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-scheme/racket/racket-7.0.ebuild | 4 ++--
 dev-scheme/racket/racket-7.1.ebuild | 4 ++--
 dev-scheme/racket/racket-7.2.ebuild | 2 +-
 dev-scheme/racket/racket-7.3.ebuild | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-scheme/racket/racket-7.0.ebuild b/dev-scheme/racket/racket-7.0.ebuild
index a24d86837ae..d6cb9625ff3 100644
--- a/dev-scheme/racket/racket-7.0.ebuild
+++ b/dev-scheme/racket/racket-7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,7 +18,7 @@ RDEPEND="dev-db/sqlite:3
 	media-libs/libpng:0
 	x11-libs/cairo[X?]
 	x11-libs/pango[X?]
-	virtual/libffi
+	dev-libs/libffi
 	virtual/jpeg:0
 	readline? ( dev-libs/libedit )
 	X? ( x11-libs/gtk+[X?] )"

diff --git a/dev-scheme/racket/racket-7.1.ebuild b/dev-scheme/racket/racket-7.1.ebuild
index 2ce724a31c4..1a81bd5f192 100644
--- a/dev-scheme/racket/racket-7.1.ebuild
+++ b/dev-scheme/racket/racket-7.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,7 +18,7 @@ RDEPEND="dev-db/sqlite:3
 	media-libs/libpng:0
 	x11-libs/cairo[X?]
 	x11-libs/pango[X?]
-	virtual/libffi
+	dev-libs/libffi
 	virtual/jpeg:0
 	readline? ( dev-libs/libedit )
 	X? ( x11-libs/gtk+[X?] )"

diff --git a/dev-scheme/racket/racket-7.2.ebuild b/dev-scheme/racket/racket-7.2.ebuild
index c3285920c11..34b2d4c4c45 100644
--- a/dev-scheme/racket/racket-7.2.ebuild
+++ b/dev-scheme/racket/racket-7.2.ebuild
@@ -18,7 +18,7 @@ RDEPEND="dev-db/sqlite:3
 	media-libs/libpng:0
 	x11-libs/cairo[X?]
 	x11-libs/pango[X?]
-	virtual/libffi
+	dev-libs/libffi
 	virtual/jpeg:0
 	readline? ( dev-libs/libedit )
 	X? ( x11-libs/gtk+[X?] )"

diff --git a/dev-scheme/racket/racket-7.3.ebuild b/dev-scheme/racket/racket-7.3.ebuild
index c3285920c11..34b2d4c4c45 100644
--- a/dev-scheme/racket/racket-7.3.ebuild
+++ b/dev-scheme/racket/racket-7.3.ebuild
@@ -18,7 +18,7 @@ RDEPEND="dev-db/sqlite:3
 	media-libs/libpng:0
 	x11-libs/cairo[X?]
 	x11-libs/pango[X?]
-	virtual/libffi
+	dev-libs/libffi
 	virtual/jpeg:0
 	readline? ( dev-libs/libedit )
 	X? ( x11-libs/gtk+[X?] )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-03-20 11:55 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2021-03-20 11:55 UTC (permalink / raw
  To: gentoo-commits

commit:     de473b3a0c0537d0dd00b24c79aa9a08828ed8d9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 11:46:59 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 11:55:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de473b3a

dev-scheme/racket: minor cosmetic changes in 8.0

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

 dev-scheme/racket/racket-8.0.ebuild | 36 ++++++++++++++++++++++--------------
 1 file changed, 22 insertions(+), 14 deletions(-)

diff --git a/dev-scheme/racket/racket-8.0.ebuild b/dev-scheme/racket/racket-8.0.ebuild
index 1a38a64418d..1057ecbc202 100644
--- a/dev-scheme/racket/racket-8.0.ebuild
+++ b/dev-scheme/racket/racket-8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,27 +7,30 @@ inherit pax-utils
 
 DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
 HOMEPAGE="https://racket-lang.org/"
-SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )"
+SRC_URI+=" !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+S="${WORKDIR}/${P}/src"
+
 LICENSE="GPL-3+ LGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="doc +futures +jit minimal +places +readline +threads +X +chez"
+
 REQUIRED_USE="futures? ( jit )"
 
-RDEPEND="dev-db/sqlite:3
+RDEPEND="
+	dev-db/sqlite:3
 	media-libs/libpng:0
 	x11-libs/cairo[X?]
 	x11-libs/pango[X?]
 	dev-libs/libffi
 	virtual/jpeg:0
 	readline? ( dev-libs/libedit )
-	X? ( x11-libs/gtk+[X?] )"
-RDEPEND="${RDEPEND} !dev-tex/slatex"
-
+	X? ( x11-libs/gtk+[X?] )
+	!dev-tex/slatex
+"
 DEPEND="${RDEPEND}"
 
-S="${WORKDIR}/${P}/src"
-
 src_prepare() {
 	default
 	rm -r bc/foreign/libffi || die 'failed to remove bundled libffi'
@@ -37,15 +40,16 @@ src_configure() {
 	# According to vapier, we should use the bundled libtool
 	# such that we don't preclude cross-compile. Thus don't use
 	# --enable-lt=/usr/bin/libtool
+	# docdir doesn't get passed automatically
 	econf \
 		--enable-shared \
 		--enable-float \
 		--enable-libffi \
 		--enable-foreign \
+		--docdir="/usr/share/doc/${PF}" \
 		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly") \
 		--disable-libs \
 		--disable-strip \
-		--docdir="/usr/share/doc/${PF}" \
 		$(use_enable X gracket) \
 		$(use_enable doc docs) \
 		$(use_enable jit) \
@@ -63,14 +67,16 @@ src_compile() {
 		# digging through the Makefile in src/racket to find out which
 		# targets would build those binaries but not use them.
 		if ! use chez; then
-			pushd bc
+			pushd bc || die
 			emake cgc-core
 			pax-mark m .libs/racketcgc
-			pushd gc2
+
+			pushd gc2 || die
 			emake all
-			popd
+			popd || die
+
 			pax-mark m .libs/racket3m
-			popd
+			popd || die
 		fi
 	fi
 
@@ -89,12 +95,14 @@ src_install() {
 		done
 
 		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
-		
+
 		pax-mark m "${D}/usr/$(get_libdir)/racket/starter"
 	fi
+
 	# raco needs decompressed files for packages doc installation bug 662424
 	if use doc; then
 		docompress -x /usr/share/doc/${PF}
 	fi
+
 	find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
 }


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-03-20 11:55 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2021-03-20 11:55 UTC (permalink / raw
  To: gentoo-commits

commit:     81588ad1446d24a990feb38d6c80a3e0711bb067
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 11:51:36 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 11:55:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81588ad1

dev-scheme/racket: add USE=chez description

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

 dev-scheme/racket/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-scheme/racket/metadata.xml b/dev-scheme/racket/metadata.xml
index 69beced3af9..339a62f46a7 100644
--- a/dev-scheme/racket/metadata.xml
+++ b/dev-scheme/racket/metadata.xml
@@ -16,6 +16,9 @@ Extend Racket whenever you need to. Mold it to better suit your tasks without sa
 Whether you're just starting out, want to know more about programming language applications or models, looking to expand your horizons, or ready to dive into research, Racket can help you become a better programmer and system builder.
   </longdescription>
   <use>
+    <flag name="chez">
+      Build Racket on Chez (Racket CS)
+    </flag>
     <flag name="futures"> 
       Enable racket/future library for fine-grained hardware parallelism
     </flag>


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-03-20 11:55 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2021-03-20 11:55 UTC (permalink / raw
  To: gentoo-commits

commit:     7f58a011af6fcfb217254331f591c479596d40e5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 11:49:22 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 11:55:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f58a011

dev-scheme/racket: update LICENSE for 8.0

URL: https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-scheme/racket/racket-8.0.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-scheme/racket/racket-8.0.ebuild b/dev-scheme/racket/racket-8.0.ebuild
index 1057ecbc202..b807c734e55 100644
--- a/dev-scheme/racket/racket-8.0.ebuild
+++ b/dev-scheme/racket/racket-8.0.ebuild
@@ -11,7 +11,12 @@ SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-mini
 SRC_URI+=" !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
 S="${WORKDIR}/${P}/src"
 
-LICENSE="GPL-3+ LGPL-3"
+# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
+LICENSE="
+	|| ( MIT Apache-2.0 )
+	chez? ( Apache-2.0 )
+	!chez? ( LGPL-3 )
+"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="doc +futures +jit minimal +places +readline +threads +X +chez"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-03-20 11:55 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2021-03-20 11:55 UTC (permalink / raw
  To: gentoo-commits

commit:     ba68c05e5f3dd7c1e2fad80f75a5c214eb755ac4
Author:     Mariusz Ceier <mceier+gentoo <AT> gmail <DOT> com>
AuthorDate: Sat Mar 20 10:59:59 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 11:55:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba68c05e

dev-scheme/racket: add 8.0

Closes: https://bugs.gentoo.org/760063
Signed-off-by: Mariusz Ceier <mceier+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-scheme/racket/racket-8.0.ebuild | 100 ++++++++++++++++++++++++++++++++++++
 1 file changed, 100 insertions(+)

diff --git a/dev-scheme/racket/racket-8.0.ebuild b/dev-scheme/racket/racket-8.0.ebuild
new file mode 100644
index 00000000000..1a38a64418d
--- /dev/null
+++ b/dev-scheme/racket/racket-8.0.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit pax-utils
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="https://racket-lang.org/"
+SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
+LICENSE="GPL-3+ LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="doc +futures +jit minimal +places +readline +threads +X +chez"
+REQUIRED_USE="futures? ( jit )"
+
+RDEPEND="dev-db/sqlite:3
+	media-libs/libpng:0
+	x11-libs/cairo[X?]
+	x11-libs/pango[X?]
+	dev-libs/libffi
+	virtual/jpeg:0
+	readline? ( dev-libs/libedit )
+	X? ( x11-libs/gtk+[X?] )"
+RDEPEND="${RDEPEND} !dev-tex/slatex"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+	default
+	rm -r bc/foreign/libffi || die 'failed to remove bundled libffi'
+}
+
+src_configure() {
+	# According to vapier, we should use the bundled libtool
+	# such that we don't preclude cross-compile. Thus don't use
+	# --enable-lt=/usr/bin/libtool
+	econf \
+		--enable-shared \
+		--enable-float \
+		--enable-libffi \
+		--enable-foreign \
+		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly") \
+		--disable-libs \
+		--disable-strip \
+		--docdir="/usr/share/doc/${PF}" \
+		$(use_enable X gracket) \
+		$(use_enable doc docs) \
+		$(use_enable jit) \
+		$(use_enable places) \
+		$(use_enable futures) \
+		$(use_enable threads pthread)
+}
+
+src_compile() {
+	if use jit; then
+		# When the JIT is enabled, a few binaries need to be pax-marked
+		# on hardened systems (bug 613634). The trick is to pax-mark
+		# them before they're used later in the build system. The
+		# following order for racketcgc and racket3m was determined by
+		# digging through the Makefile in src/racket to find out which
+		# targets would build those binaries but not use them.
+		if ! use chez; then
+			pushd bc
+			emake cgc-core
+			pax-mark m .libs/racketcgc
+			pushd gc2
+			emake all
+			popd
+			pax-mark m .libs/racket3m
+			popd
+		fi
+	fi
+
+	default
+}
+
+src_install() {
+	default
+
+	if use jit; then
+		# The final binaries need to be pax-marked, too, if you want to
+		# actually use them. The src_compile marking get lost somewhere
+		# in the install process.
+		for f in mred mzscheme racket; do
+			pax-mark m "${D}/usr/bin/${f}"
+		done
+
+		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
+		
+		pax-mark m "${D}/usr/$(get_libdir)/racket/starter"
+	fi
+	# raco needs decompressed files for packages doc installation bug 662424
+	if use doc; then
+		docompress -x /usr/share/doc/${PF}
+	fi
+	find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-03-20 11:55 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2021-03-20 11:55 UTC (permalink / raw
  To: gentoo-commits

commit:     45a2f59d979948b480e0416dd140e695944a252e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 11:46:44 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 11:55:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a2f59d

dev-scheme/racket: update Manifest for 8.0

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

 dev-scheme/racket/Manifest | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index f2af60f8a6c..05b00b77677 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -2,7 +2,9 @@ DIST racket-7.0-src-builtpkgs.tgz 122544008 BLAKE2B fa6eddab17fbdec1db1dac2debb2
 DIST racket-7.1-src-builtpkgs.tgz 126596138 BLAKE2B 734595105630352977d7f51de233c320de590744810f2f469d4259d84f19a69a84394d4f62ade130897babd21d46180659689a0c2dda7bc9559586f5c3c37be6 SHA512 9d6fb0912c7c612dfb32b4955e192d69f00b67e73c08196ef3caa7b3123909627496a6dfb36f7910ea5f9af526e99b56fe936359cbea261db26a5687ed49c38f
 DIST racket-7.2-src-builtpkgs.tgz 127050541 BLAKE2B f6235c9f5a646a6d2a8ab0ce63ded384ed707dc704927b63281c159e2daa503ffc4bad99cd33511aca05c0fa7aa55adde1e9c79032faa17dcd99f1bbd15324a8 SHA512 748e1ee63b6c32bafc58401e943e7dd31a47cfd2eb8dad6e4a40a8966d4df2fb7e4bb573841c210a567ba0f02b518d41fa69df03736f49ae9761446e71a4ab9b
 DIST racket-7.3-src-builtpkgs.tgz 127136703 BLAKE2B 3449f62d8301cf5cc527cd46e074279d34c6064631a584488407d4c7af3b10aa01bb074d0dbc59034e8e036b1f24f9921ccdc070fb7bb3ff548f18b37cd8d12d SHA512 2cba16d6513984721b82d21e279a0017e3d96f3e2a53ca773deb45e10be2b74a61d4496679eb5aa4aff9276f323a16a1506e9471a873c28ee014f7d4e49bfea8
+DIST racket-8.0-src-builtpkgs.tgz 153847792 BLAKE2B dba1b39e770954e5971689f6d2b413f1aadc6176822e4400b40b41ebf7eab00cc34b5e5158f38d1a1d8caa98fa260ef10864794dc0d4768e2ea5b2ad869d0102 SHA512 df3e14ccdba00eb4de113693a6eee22e640958b074f3ad4946e5900333fbf558c4c2653f65a89f638f6ef173d32c9f97b19349360a9d4afca82365aceb43c911
 DIST racket-minimal-7.0-src-builtpkgs.tgz 12215529 BLAKE2B 4e9d2b137edf6b188c71dd32771753a16589ab49884aba1641fac5a5f82b9016843fec3257de7d59a9b00971a7dd455e99897782794800e14a656bcb22a17080 SHA512 976fd0ab96f4bf99eb7c63f7f213af91f91de4dd2498c4f8f1440743f7571194090abf0c4037e436970235f737d0add116f5689bf495688b3667a91ef95e8270
 DIST racket-minimal-7.1-src-builtpkgs.tgz 15304920 BLAKE2B be851eb58655d5f7eb36235eeb37f3d24c94c4a6b20724a4772acccf109df6e6a9d8e0f9797530c7c3f6540e99325417ef982244017719fced75e1afda71847a SHA512 e1e839867fd4540fe15234f149162c88ad1f73ca26ba22644d58b3d8ab2809851d8b176f9f448dfd7acd3b7733a20d388c71cdd76e8a5dc6c50662e6113df6df
 DIST racket-minimal-7.2-src-builtpkgs.tgz 15481415 BLAKE2B 145823cfe8538e5f569e33303bae585cb2eebf013da27551a606a005ab84e70b0e58710eadbaecbaae4fc5c9b62b22e26ba1ab2f3158500600c0bc9d7a52e17c SHA512 0fb17ef0e7d8c03c847827118dec48486fd499777fbbf98588124f9e4725dd815e0f6df2e95f4d8700b8d8dbe3b7d678d2ffb8966ce0add6742bff554ef9415c
 DIST racket-minimal-7.3-src-builtpkgs.tgz 15549791 BLAKE2B ab03252c48b8a07ae6caeb3af67d823d8eeddd22242d2146812c7b12ade09caa86ad026fb1a7b3dfeb981e304b78c697d1f93fb9d94c6e7dbc8c3ecb09fdfea0 SHA512 e542898dab04e781b0b8a613f250a35db8beed9db33406f20d4f028b7f3629904409aadf653c68998d36948bdd46e51134d3cebe1e014b46e3dba82472c3563b
+DIST racket-minimal-8.0-src-builtpkgs.tgz 24065953 BLAKE2B 2af056758660d30f7d232dabe03d544e5e77478df71389df883b8af956fe224332048eac3a351fdb905051e3ef99b08bd0e0f1704e04919a4a2e68f8005922b8 SHA512 1e43b390f6a4c1405df0872c71c27638ec35a8cdd8508390db13bd59a43f5a4728f0660fe1afb5785f625d31fd25cdc1a6ecb9972daf99bcb538f7204956dabc


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-03-20 11:55 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2021-03-20 11:55 UTC (permalink / raw
  To: gentoo-commits

commit:     971fbada74dd927d1b88a8a88e2e98719738b007
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 11:54:24 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 11:55:18 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=971fbada

dev-scheme/racket: sort IUSE

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

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

diff --git a/dev-scheme/racket/racket-8.0.ebuild b/dev-scheme/racket/racket-8.0.ebuild
index d931f0425d3..497bd448136 100644
--- a/dev-scheme/racket/racket-8.0.ebuild
+++ b/dev-scheme/racket/racket-8.0.ebuild
@@ -19,7 +19,7 @@ LICENSE="
 "
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="doc +futures +jit minimal +places +readline +threads +X +chez"
+IUSE="doc +chez +futures +jit minimal +places +readline +threads +X"
 
 REQUIRED_USE="futures? ( jit )"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-03-20 11:55 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2021-03-20 11:55 UTC (permalink / raw
  To: gentoo-commits

commit:     bcc7f8042c2bde8feebdefe8276aa566fbea63c3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 11:53:39 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 20 11:55:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcc7f804

dev-scheme/racket: use gtk:3

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

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

diff --git a/dev-scheme/racket/racket-8.0.ebuild b/dev-scheme/racket/racket-8.0.ebuild
index b807c734e55..d931f0425d3 100644
--- a/dev-scheme/racket/racket-8.0.ebuild
+++ b/dev-scheme/racket/racket-8.0.ebuild
@@ -31,7 +31,7 @@ RDEPEND="
 	dev-libs/libffi
 	virtual/jpeg:0
 	readline? ( dev-libs/libedit )
-	X? ( x11-libs/gtk+[X?] )
+	X? ( x11-libs/gtk+:3[X?] )
 	!dev-tex/slatex
 "
 DEPEND="${RDEPEND}"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-07-10 18:54 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2021-07-10 18:54 UTC (permalink / raw
  To: gentoo-commits

commit:     e76c01846dc9d580d201a6f714abc54a5d223fda
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 10 18:35:44 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 10 18:47:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e76c0184

dev-scheme/racket: add dev-libs/libffi subslot dep

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

 dev-scheme/racket/{racket-7.0.ebuild => racket-7.0-r1.ebuild} | 4 ++--
 dev-scheme/racket/{racket-7.1.ebuild => racket-7.1-r1.ebuild} | 4 ++--
 dev-scheme/racket/{racket-7.2.ebuild => racket-7.2-r1.ebuild} | 4 ++--
 dev-scheme/racket/{racket-7.3.ebuild => racket-7.3-r1.ebuild} | 4 ++--
 dev-scheme/racket/{racket-8.0.ebuild => racket-8.0-r1.ebuild} | 2 +-
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/dev-scheme/racket/racket-7.0.ebuild b/dev-scheme/racket/racket-7.0-r1.ebuild
similarity index 97%
rename from dev-scheme/racket/racket-7.0.ebuild
rename to dev-scheme/racket/racket-7.0-r1.ebuild
index d6cb9625ff3..dbd4ca5333f 100644
--- a/dev-scheme/racket/racket-7.0.ebuild
+++ b/dev-scheme/racket/racket-7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,7 +18,7 @@ RDEPEND="dev-db/sqlite:3
 	media-libs/libpng:0
 	x11-libs/cairo[X?]
 	x11-libs/pango[X?]
-	dev-libs/libffi
+	dev-libs/libffi:=
 	virtual/jpeg:0
 	readline? ( dev-libs/libedit )
 	X? ( x11-libs/gtk+[X?] )"

diff --git a/dev-scheme/racket/racket-7.1.ebuild b/dev-scheme/racket/racket-7.1-r1.ebuild
similarity index 97%
rename from dev-scheme/racket/racket-7.1.ebuild
rename to dev-scheme/racket/racket-7.1-r1.ebuild
index 1a81bd5f192..19e1da2a90c 100644
--- a/dev-scheme/racket/racket-7.1.ebuild
+++ b/dev-scheme/racket/racket-7.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,7 +18,7 @@ RDEPEND="dev-db/sqlite:3
 	media-libs/libpng:0
 	x11-libs/cairo[X?]
 	x11-libs/pango[X?]
-	dev-libs/libffi
+	dev-libs/libffi:=
 	virtual/jpeg:0
 	readline? ( dev-libs/libedit )
 	X? ( x11-libs/gtk+[X?] )"

diff --git a/dev-scheme/racket/racket-7.2.ebuild b/dev-scheme/racket/racket-7.2-r1.ebuild
similarity index 97%
rename from dev-scheme/racket/racket-7.2.ebuild
rename to dev-scheme/racket/racket-7.2-r1.ebuild
index 34b2d4c4c45..367977769dc 100644
--- a/dev-scheme/racket/racket-7.2.ebuild
+++ b/dev-scheme/racket/racket-7.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,7 +18,7 @@ RDEPEND="dev-db/sqlite:3
 	media-libs/libpng:0
 	x11-libs/cairo[X?]
 	x11-libs/pango[X?]
-	dev-libs/libffi
+	dev-libs/libffi:=
 	virtual/jpeg:0
 	readline? ( dev-libs/libedit )
 	X? ( x11-libs/gtk+[X?] )"

diff --git a/dev-scheme/racket/racket-7.3.ebuild b/dev-scheme/racket/racket-7.3-r1.ebuild
similarity index 97%
rename from dev-scheme/racket/racket-7.3.ebuild
rename to dev-scheme/racket/racket-7.3-r1.ebuild
index 34b2d4c4c45..367977769dc 100644
--- a/dev-scheme/racket/racket-7.3.ebuild
+++ b/dev-scheme/racket/racket-7.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,7 +18,7 @@ RDEPEND="dev-db/sqlite:3
 	media-libs/libpng:0
 	x11-libs/cairo[X?]
 	x11-libs/pango[X?]
-	dev-libs/libffi
+	dev-libs/libffi:=
 	virtual/jpeg:0
 	readline? ( dev-libs/libedit )
 	X? ( x11-libs/gtk+[X?] )"

diff --git a/dev-scheme/racket/racket-8.0.ebuild b/dev-scheme/racket/racket-8.0-r1.ebuild
similarity index 99%
rename from dev-scheme/racket/racket-8.0.ebuild
rename to dev-scheme/racket/racket-8.0-r1.ebuild
index 497bd448136..bedf4056abb 100644
--- a/dev-scheme/racket/racket-8.0.ebuild
+++ b/dev-scheme/racket/racket-8.0-r1.ebuild
@@ -28,7 +28,7 @@ RDEPEND="
 	media-libs/libpng:0
 	x11-libs/cairo[X?]
 	x11-libs/pango[X?]
-	dev-libs/libffi
+	dev-libs/libffi:=
 	virtual/jpeg:0
 	readline? ( dev-libs/libedit )
 	X? ( x11-libs/gtk+:3[X?] )


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-08-13  6:08 Ulrich Müller
  0 siblings, 0 replies; 110+ messages in thread
From: Ulrich Müller @ 2021-08-13  6:08 UTC (permalink / raw
  To: gentoo-commits

commit:     c0263afea9258cd9bc43df800670fd3445b11f6b
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 13 06:08:11 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Aug 13 06:08:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0263afe

dev-scheme/racket: Reinstate dropped keywords

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 dev-scheme/racket/racket-8.1.ebuild | 2 +-
 dev-scheme/racket/racket-8.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-scheme/racket/racket-8.1.ebuild b/dev-scheme/racket/racket-8.1.ebuild
index 46f752b22ec..b9c6c260196 100644
--- a/dev-scheme/racket/racket-8.1.ebuild
+++ b/dev-scheme/racket/racket-8.1.ebuild
@@ -21,7 +21,7 @@ LICENSE="
 "
 # Bytecode generated by Racket is not compatible between versions
 SLOT="0/${PV}"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="X +chez +doc +futures +jit minimal +places +readline +threads"
 REQUIRED_USE="futures? ( jit )"
 

diff --git a/dev-scheme/racket/racket-8.2.ebuild b/dev-scheme/racket/racket-8.2.ebuild
index 46f752b22ec..b9c6c260196 100644
--- a/dev-scheme/racket/racket-8.2.ebuild
+++ b/dev-scheme/racket/racket-8.2.ebuild
@@ -21,7 +21,7 @@ LICENSE="
 "
 # Bytecode generated by Racket is not compatible between versions
 SLOT="0/${PV}"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="X +chez +doc +futures +jit minimal +places +readline +threads"
 REQUIRED_USE="futures? ( jit )"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-11-04 10:38 Ulrich Müller
  0 siblings, 0 replies; 110+ messages in thread
From: Ulrich Müller @ 2021-11-04 10:38 UTC (permalink / raw
  To: gentoo-commits

commit:     ef97fd946064b20470add9768ab439a8a7ca99dc
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Thu Sep 30 23:33:47 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Nov  4 10:37:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef97fd94

dev-scheme/racket: bump 8.2 and 8.1 revisions

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 dev-scheme/racket/{racket-8.1.ebuild => racket-8.1-r1.ebuild} | 0
 dev-scheme/racket/{racket-8.2.ebuild => racket-8.2-r1.ebuild} | 0
 2 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-scheme/racket/racket-8.1.ebuild b/dev-scheme/racket/racket-8.1-r1.ebuild
similarity index 100%
rename from dev-scheme/racket/racket-8.1.ebuild
rename to dev-scheme/racket/racket-8.1-r1.ebuild

diff --git a/dev-scheme/racket/racket-8.2.ebuild b/dev-scheme/racket/racket-8.2-r1.ebuild
similarity index 100%
rename from dev-scheme/racket/racket-8.2.ebuild
rename to dev-scheme/racket/racket-8.2-r1.ebuild


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-11-04 10:38 Ulrich Müller
  0 siblings, 0 replies; 110+ messages in thread
From: Ulrich Müller @ 2021-11-04 10:38 UTC (permalink / raw
  To: gentoo-commits

commit:     9a1b7f9bb8c023d66fee5284ae981c17b2d0e54e
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Thu Sep 30 22:03:41 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Nov  4 10:37:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a1b7f9b

dev-scheme/racket: install boot files and static libraries

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 dev-scheme/racket/racket-8.1.ebuild | 24 +++++++++++++++++-------
 dev-scheme/racket/racket-8.2.ebuild | 24 +++++++++++++++++-------
 2 files changed, 34 insertions(+), 14 deletions(-)

diff --git a/dev-scheme/racket/racket-8.1.ebuild b/dev-scheme/racket/racket-8.1.ebuild
index b9c6c260196..65244904195 100644
--- a/dev-scheme/racket/racket-8.1.ebuild
+++ b/dev-scheme/racket/racket-8.1.ebuild
@@ -81,18 +81,24 @@ src_prepare() {
 }
 
 src_configure() {
-	# According to vapier, we should use the bundled libtool
+	# Libtool:
+	#   According to vapier, we should use the bundled libtool
 	#   such that we don't preclude cross-compile.
 	#   Thus don't use --enable-lt=/usr/bin/libtool
-	# --enable-bc builds Racket w/o chez backend
+	# Backend:
+	#   --enable-bc builds Racket w/o chez backend
+	# C Libraries:
+	#   --enable-libs & --disable-shared is the way to build
+	#   .a files that are needed to embed Racket into programs
+	#   https://docs.racket-lang.org/inside/cs-embedding.html
 	local myconf=(
-		--disable-libs
+		--disable-shared
 		--disable-strip
 		--docdir="${EPREFIX}/usr/share/doc/${PF}"
 		--enable-float
 		--enable-foreign
 		--enable-libffi
-		--enable-shared
+		--enable-libs
 		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
 		$(use_enable X gracket)
 		$(use_enable doc docs)
@@ -107,14 +113,18 @@ src_configure() {
 src_install() {
 	default
 
+	# Install Racket boot files
+	if use chez; then
+		pushd "${S}"/cs/c || die
+		emake DESTDIR="${ED}" unix-install-boot-files
+		popd || die
+	fi
+
 	# raco needs decompressed files for packages doc installation bug 662424
 	if use doc; then
 		docompress -x /usr/share/doc/${PF}
 	fi
 
-	# Remove unneeded "*.a" and "*.la" files
-	find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
-
 	# Create missing desktop files and icon
 	if use X && ! use minimal; then
 		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" "racket.png"

diff --git a/dev-scheme/racket/racket-8.2.ebuild b/dev-scheme/racket/racket-8.2.ebuild
index b9c6c260196..65244904195 100644
--- a/dev-scheme/racket/racket-8.2.ebuild
+++ b/dev-scheme/racket/racket-8.2.ebuild
@@ -81,18 +81,24 @@ src_prepare() {
 }
 
 src_configure() {
-	# According to vapier, we should use the bundled libtool
+	# Libtool:
+	#   According to vapier, we should use the bundled libtool
 	#   such that we don't preclude cross-compile.
 	#   Thus don't use --enable-lt=/usr/bin/libtool
-	# --enable-bc builds Racket w/o chez backend
+	# Backend:
+	#   --enable-bc builds Racket w/o chez backend
+	# C Libraries:
+	#   --enable-libs & --disable-shared is the way to build
+	#   .a files that are needed to embed Racket into programs
+	#   https://docs.racket-lang.org/inside/cs-embedding.html
 	local myconf=(
-		--disable-libs
+		--disable-shared
 		--disable-strip
 		--docdir="${EPREFIX}/usr/share/doc/${PF}"
 		--enable-float
 		--enable-foreign
 		--enable-libffi
-		--enable-shared
+		--enable-libs
 		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
 		$(use_enable X gracket)
 		$(use_enable doc docs)
@@ -107,14 +113,18 @@ src_configure() {
 src_install() {
 	default
 
+	# Install Racket boot files
+	if use chez; then
+		pushd "${S}"/cs/c || die
+		emake DESTDIR="${ED}" unix-install-boot-files
+		popd || die
+	fi
+
 	# raco needs decompressed files for packages doc installation bug 662424
 	if use doc; then
 		docompress -x /usr/share/doc/${PF}
 	fi
 
-	# Remove unneeded "*.a" and "*.la" files
-	find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
-
 	# Create missing desktop files and icon
 	if use X && ! use minimal; then
 		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" "racket.png"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-11-06  8:33 Agostino Sarubbo
  0 siblings, 0 replies; 110+ messages in thread
From: Agostino Sarubbo @ 2021-11-06  8:33 UTC (permalink / raw
  To: gentoo-commits

commit:     19c0872f264af8574abee655b04d430edf78ef1a
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  6 08:33:24 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Nov  6 08:33:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19c0872f

dev-scheme/racket: amd64 stable wrt bug #820197

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-scheme/racket/racket-8.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-scheme/racket/racket-8.2-r1.ebuild b/dev-scheme/racket/racket-8.2-r1.ebuild
index 65244904195..01b088dc51d 100644
--- a/dev-scheme/racket/racket-8.2-r1.ebuild
+++ b/dev-scheme/racket/racket-8.2-r1.ebuild
@@ -21,7 +21,7 @@ LICENSE="
 "
 # Bytecode generated by Racket is not compatible between versions
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="X +chez +doc +futures +jit minimal +places +readline +threads"
 REQUIRED_USE="futures? ( jit )"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-11-08  6:22 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2021-11-08  6:22 UTC (permalink / raw
  To: gentoo-commits

commit:     86b99b719618cf383de0883ae0901d32b144cb86
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  8 06:22:23 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov  8 06:22:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86b99b71

dev-scheme/racket: Stabilize 8.2-r1 x86, #820197

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

 dev-scheme/racket/racket-8.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-scheme/racket/racket-8.2-r1.ebuild b/dev-scheme/racket/racket-8.2-r1.ebuild
index 01b088dc51d..7850b897bd3 100644
--- a/dev-scheme/racket/racket-8.2-r1.ebuild
+++ b/dev-scheme/racket/racket-8.2-r1.ebuild
@@ -21,7 +21,7 @@ LICENSE="
 "
 # Bytecode generated by Racket is not compatible between versions
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="X +chez +doc +futures +jit minimal +places +readline +threads"
 REQUIRED_USE="futures? ( jit )"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-11-12  4:38 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2021-11-12  4:38 UTC (permalink / raw
  To: gentoo-commits

commit:     571107648a9a47332f74e59d2c1b6ec3e1842f88
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 12 04:38:05 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 12 04:38:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57110764

dev-scheme/racket: chez needs threads

Closes: https://bugs.gentoo.org/809785
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-scheme/racket/racket-8.2-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-scheme/racket/racket-8.2-r1.ebuild b/dev-scheme/racket/racket-8.2-r1.ebuild
index 7850b897bd3..3437a73c8c5 100644
--- a/dev-scheme/racket/racket-8.2-r1.ebuild
+++ b/dev-scheme/racket/racket-8.2-r1.ebuild
@@ -23,7 +23,8 @@ LICENSE="
 SLOT="0/${PV}"
 KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="X +chez +doc +futures +jit minimal +places +readline +threads"
-REQUIRED_USE="futures? ( jit )"
+# See bug #809785 re chez/threads
+REQUIRED_USE="futures? ( jit ) chez? ( threads )"
 
 DEPEND="
 	!dev-tex/slatex


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-12-03  0:12 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2021-12-03  0:12 UTC (permalink / raw
  To: gentoo-commits

commit:     81c56ffb32c8dc079601346ef73b04dfa3fbe6c8
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Mon Nov 22 13:26:20 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec  3 00:03:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81c56ffb

dev-scheme/racket: futures & places need threads

Closes: https://bugs.gentoo.org/808055
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-scheme/racket/racket-8.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-scheme/racket/racket-8.2-r1.ebuild b/dev-scheme/racket/racket-8.2-r1.ebuild
index 3437a73c8c5f..d0d6e7caf9bb 100644
--- a/dev-scheme/racket/racket-8.2-r1.ebuild
+++ b/dev-scheme/racket/racket-8.2-r1.ebuild
@@ -24,7 +24,7 @@ SLOT="0/${PV}"
 KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="X +chez +doc +futures +jit minimal +places +readline +threads"
 # See bug #809785 re chez/threads
-REQUIRED_USE="futures? ( jit ) chez? ( threads )"
+REQUIRED_USE="futures? ( jit threads ) chez? ( threads ) places? ( threads )"
 
 DEPEND="
 	!dev-tex/slatex


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-12-03  0:12 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2021-12-03  0:12 UTC (permalink / raw
  To: gentoo-commits

commit:     68052295db7aa2dddf47c64b310d6236045a141d
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Mon Nov 22 13:31:31 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec  3 00:03:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68052295

dev-scheme/racket: libedit is not necessary to build/run

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-scheme/racket/racket-8.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-scheme/racket/racket-8.2-r1.ebuild b/dev-scheme/racket/racket-8.2-r1.ebuild
index d0d6e7caf9bb..e4cd39eca5fd 100644
--- a/dev-scheme/racket/racket-8.2-r1.ebuild
+++ b/dev-scheme/racket/racket-8.2-r1.ebuild
@@ -22,7 +22,7 @@ LICENSE="
 # Bytecode generated by Racket is not compatible between versions
 SLOT="0/${PV}"
 KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
-IUSE="X +chez +doc +futures +jit minimal +places +readline +threads"
+IUSE="X +chez +doc +futures +jit minimal +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="futures? ( jit threads ) chez? ( threads ) places? ( threads )"
 
@@ -39,7 +39,6 @@ DEPEND="
 		x11-libs/pango[X]
 		x11-misc/shared-mime-info
 	)
-	readline? ( dev-libs/libedit )
 "
 RDEPEND="${DEPEND}"
 
@@ -159,6 +158,7 @@ pkg_preinst() {
 pkg_postinst() {
 	post_X_update
 
+	optfeature "readline editing features in REPL" dev-libs/libedit sys-libs/readline
 	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
 }
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-12-03  0:12 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2021-12-03  0:12 UTC (permalink / raw
  To: gentoo-commits

commit:     b0023c0225317857adaaa1a79b05408ed8248c29
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Mon Nov 22 15:22:06 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Dec  3 00:03:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0023c02

dev-scheme/racket: use has_version instead of REPLACING_VERSIONS

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/23041
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-scheme/racket/racket-8.2-r1.ebuild | 39 +++++++++++++++++-----------------
 1 file changed, 19 insertions(+), 20 deletions(-)

diff --git a/dev-scheme/racket/racket-8.2-r1.ebuild b/dev-scheme/racket/racket-8.2-r1.ebuild
index e4cd39eca5fd..ebb87fe339c6 100644
--- a/dev-scheme/racket/racket-8.2-r1.ebuild
+++ b/dev-scheme/racket/racket-8.2-r1.ebuild
@@ -19,7 +19,10 @@ LICENSE="
 	chez? ( Apache-2.0 )
 	!chez? ( LGPL-3 )
 "
-# Bytecode generated by Racket is not compatible between versions
+# Bytecode generated by Racket is not compatible between versions.
+# The bytecode version should be denoted by SLOT, in most cases
+# PV == SLOT but this has to be checked carefully and in cases
+# where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
 KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="X +chez +doc +futures +jit minimal +places +threads"
@@ -134,25 +137,21 @@ src_install() {
 }
 
 pkg_preinst() {
-	# If we are merging the same version (NOT revision!)
-	# check if pkg database files exist and do not overwrite them
-	local pvr rel
-	for pvr in ${REPLACING_VERSIONS}; do
-		rel="${pvr%-r*}"
-		if [[ "${rel}" == "${PV}" ]]; then
-			echo "We are installing the same version: ${rel}"
-			local rktd
-			for rktd in "${PKGDB[@]}"; do
-				if [[ -f "${EROOT}/${rktd}" ]]; then
-					einfo "Keeping old file: ${rktd}"
-					mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
-						die "failed to create a backup of ${rktd}"
-					cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
-						die "failed to create a copy of ${rktd}"
-				fi
-			done
-		fi
-	done
+	# If we are merging the same SLOT check if package
+	# database files exist and do not overwrite them
+	if has_version "${CATEGORY}/${PN}:${SLOT}"; then
+		echo "We are installing the same SLOT: ${SLOT}"
+		local rktd
+		for rktd in "${PKGDB[@]}"; do
+			if [[ -f "${EROOT}/${rktd}" ]]; then
+				einfo "Keeping old file: ${rktd}"
+				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
+					die "failed to create a backup of ${rktd}"
+				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
+					die "failed to create a copy of ${rktd}"
+			fi
+		done
+	fi
 }
 
 pkg_postinst() {


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-12-03 16:05 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2021-12-03 16:05 UTC (permalink / raw
  To: gentoo-commits

commit:     4057b1d7add942eb4da35d7b4ff2695990068bac
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  3 15:59:43 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Dec  3 16:05:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4057b1d7

dev-scheme/racket: drop old

remove vulnerable versions lesser than 8.2

Bug: https://bugs.gentoo.org/803116
Closes: https://bugs.gentoo.org/711098
Closes: https://bugs.gentoo.org/715324
Closes: https://bugs.gentoo.org/749729
Closes: https://bugs.gentoo.org/749735
Closes: https://bugs.gentoo.org/755008
Closes: https://bugs.gentoo.org/779466
Closes: https://bugs.gentoo.org/814899
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/racket/Manifest             |  12 ---
 dev-scheme/racket/racket-7.0-r1.ebuild |  93 -----------------
 dev-scheme/racket/racket-7.1-r1.ebuild |  93 -----------------
 dev-scheme/racket/racket-7.2-r1.ebuild |  94 ------------------
 dev-scheme/racket/racket-7.3-r1.ebuild |  94 ------------------
 dev-scheme/racket/racket-8.0-r1.ebuild | 113 ---------------------
 dev-scheme/racket/racket-8.1-r1.ebuild | 176 ---------------------------------
 7 files changed, 675 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index a5969235d059..13a7c36e953e 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,14 +1,2 @@
-DIST racket-7.0-src-builtpkgs.tgz 122544008 BLAKE2B fa6eddab17fbdec1db1dac2debb2da72fbab064f10fe0f49eda5b0ccfc635b2f86cef2eb103675988d281459f4fdb19841e27f154b803b38631ee21a2312799f SHA512 e872bb935146027bdc78dd7d22ea07cbbf78a23c761d584770d9ded3ece71b74954a317b799de16b0ba762219a46f0e66f41ceeb4d6741d0b1998bc6abf6b20a
-DIST racket-7.1-src-builtpkgs.tgz 126596138 BLAKE2B 734595105630352977d7f51de233c320de590744810f2f469d4259d84f19a69a84394d4f62ade130897babd21d46180659689a0c2dda7bc9559586f5c3c37be6 SHA512 9d6fb0912c7c612dfb32b4955e192d69f00b67e73c08196ef3caa7b3123909627496a6dfb36f7910ea5f9af526e99b56fe936359cbea261db26a5687ed49c38f
-DIST racket-7.2-src-builtpkgs.tgz 127050541 BLAKE2B f6235c9f5a646a6d2a8ab0ce63ded384ed707dc704927b63281c159e2daa503ffc4bad99cd33511aca05c0fa7aa55adde1e9c79032faa17dcd99f1bbd15324a8 SHA512 748e1ee63b6c32bafc58401e943e7dd31a47cfd2eb8dad6e4a40a8966d4df2fb7e4bb573841c210a567ba0f02b518d41fa69df03736f49ae9761446e71a4ab9b
-DIST racket-7.3-src-builtpkgs.tgz 127136703 BLAKE2B 3449f62d8301cf5cc527cd46e074279d34c6064631a584488407d4c7af3b10aa01bb074d0dbc59034e8e036b1f24f9921ccdc070fb7bb3ff548f18b37cd8d12d SHA512 2cba16d6513984721b82d21e279a0017e3d96f3e2a53ca773deb45e10be2b74a61d4496679eb5aa4aff9276f323a16a1506e9471a873c28ee014f7d4e49bfea8
-DIST racket-8.0-src-builtpkgs.tgz 153847792 BLAKE2B dba1b39e770954e5971689f6d2b413f1aadc6176822e4400b40b41ebf7eab00cc34b5e5158f38d1a1d8caa98fa260ef10864794dc0d4768e2ea5b2ad869d0102 SHA512 df3e14ccdba00eb4de113693a6eee22e640958b074f3ad4946e5900333fbf558c4c2653f65a89f638f6ef173d32c9f97b19349360a9d4afca82365aceb43c911
-DIST racket-8.1-src-builtpkgs.tgz 154340467 BLAKE2B 1a12ca71a3af0c506238e2abad44596c54b5102fbe81d99c713356dc52abcdba8f0a0cf969702cff1f7738a0383d55894a546f682f3d854b504ceab34cef600e SHA512 afc8c737087a98172dbf699d24cee73966da699aebbdefb8b7785a6521dc4de61b8d7f2ed3a3f1d2be7a1dfe6675db7a33d39492da9dfe0aad8d9074cd03cf9f
 DIST racket-8.2-src-builtpkgs.tgz 150467561 BLAKE2B 5005aa852b089becd9d6da136a55a035ac5fd86bd1ad186ec30cdcf411927d444e1814797d63dbde3eb7b52bba7756e0464edf1d854d2ee7f5851caaae18ba55 SHA512 9e4c0cabfcbdb8c8742e8170548bee58021697e8b0842f575f94193db31adc04a7b9023ed8fd70dae197e5ec6f1aee7985d849be3ce5b4279f216e900ee143c7
-DIST racket-minimal-7.0-src-builtpkgs.tgz 12215529 BLAKE2B 4e9d2b137edf6b188c71dd32771753a16589ab49884aba1641fac5a5f82b9016843fec3257de7d59a9b00971a7dd455e99897782794800e14a656bcb22a17080 SHA512 976fd0ab96f4bf99eb7c63f7f213af91f91de4dd2498c4f8f1440743f7571194090abf0c4037e436970235f737d0add116f5689bf495688b3667a91ef95e8270
-DIST racket-minimal-7.1-src-builtpkgs.tgz 15304920 BLAKE2B be851eb58655d5f7eb36235eeb37f3d24c94c4a6b20724a4772acccf109df6e6a9d8e0f9797530c7c3f6540e99325417ef982244017719fced75e1afda71847a SHA512 e1e839867fd4540fe15234f149162c88ad1f73ca26ba22644d58b3d8ab2809851d8b176f9f448dfd7acd3b7733a20d388c71cdd76e8a5dc6c50662e6113df6df
-DIST racket-minimal-7.2-src-builtpkgs.tgz 15481415 BLAKE2B 145823cfe8538e5f569e33303bae585cb2eebf013da27551a606a005ab84e70b0e58710eadbaecbaae4fc5c9b62b22e26ba1ab2f3158500600c0bc9d7a52e17c SHA512 0fb17ef0e7d8c03c847827118dec48486fd499777fbbf98588124f9e4725dd815e0f6df2e95f4d8700b8d8dbe3b7d678d2ffb8966ce0add6742bff554ef9415c
-DIST racket-minimal-7.3-src-builtpkgs.tgz 15549791 BLAKE2B ab03252c48b8a07ae6caeb3af67d823d8eeddd22242d2146812c7b12ade09caa86ad026fb1a7b3dfeb981e304b78c697d1f93fb9d94c6e7dbc8c3ecb09fdfea0 SHA512 e542898dab04e781b0b8a613f250a35db8beed9db33406f20d4f028b7f3629904409aadf653c68998d36948bdd46e51134d3cebe1e014b46e3dba82472c3563b
-DIST racket-minimal-8.0-src-builtpkgs.tgz 24065953 BLAKE2B 2af056758660d30f7d232dabe03d544e5e77478df71389df883b8af956fe224332048eac3a351fdb905051e3ef99b08bd0e0f1704e04919a4a2e68f8005922b8 SHA512 1e43b390f6a4c1405df0872c71c27638ec35a8cdd8508390db13bd59a43f5a4728f0660fe1afb5785f625d31fd25cdc1a6ecb9972daf99bcb538f7204956dabc
-DIST racket-minimal-8.1-src-builtpkgs.tgz 24172851 BLAKE2B ab3e898e257d610874b31ac5ea3034b5c213f1d181f105c206c45129c35efb53250986163ea8c2399c02084d0d7ec55d0c79c8c8499578067f1bbef4c02568c5 SHA512 eb786882383c33fc77a697a66b06d797b0dbb2de8435daa41db4211cfa893dbbc213910ada4ea087f848dae1abb4d5ff9df162af5cf8eae689f1ef69b410d6c5
 DIST racket-minimal-8.2-src-builtpkgs.tgz 21187959 BLAKE2B 0f62a900e71ee101fa3acf0985b0a72215ac657285c5ce9e4f5f49189180b82dcca94ded9778b7ba92a42919f17b1dc24eec07e13c64c77e47fc958614d7dc0a SHA512 04950703fa73cdbbb10c234d57c89e70db6076b42d4a74ddb8cace9e0438b9a1431f7317baf31d667368ad75ae19e4eecec39667ba0c5b08a3580f8cc81f4f5e

diff --git a/dev-scheme/racket/racket-7.0-r1.ebuild b/dev-scheme/racket/racket-7.0-r1.ebuild
deleted file mode 100644
index dbd4ca5333f2..000000000000
--- a/dev-scheme/racket/racket-7.0-r1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit pax-utils
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/"
-SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
-LICENSE="GPL-3+ LGPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
-IUSE="doc +futures +jit minimal +places +readline +threads +X"
-REQUIRED_USE="futures? ( jit )"
-
-RDEPEND="dev-db/sqlite:3
-	media-libs/libpng:0
-	x11-libs/cairo[X?]
-	x11-libs/pango[X?]
-	dev-libs/libffi:=
-	virtual/jpeg:0
-	readline? ( dev-libs/libedit )
-	X? ( x11-libs/gtk+[X?] )"
-RDEPEND="${RDEPEND} !dev-tex/slatex"
-
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	default
-	rm -r foreign/libffi || die 'failed to remove bundled libffi'
-}
-
-src_configure() {
-	# According to vapier, we should use the bundled libtool
-	# such that we don't preclude cross-compile. Thus don't use
-	# --enable-lt=/usr/bin/libtool
-	econf \
-		--enable-shared \
-		--enable-float \
-		--enable-libffi \
-		--enable-foreign \
-		--disable-libs \
-		--disable-strip \
-		$(use_enable X gracket) \
-		$(use_enable doc docs) \
-		$(use_enable jit) \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable threads pthread)
-}
-
-src_compile() {
-	if use jit; then
-		# When the JIT is enabled, a few binaries need to be pax-marked
-		# on hardened systems (bug 613634). The trick is to pax-mark
-		# them before they're used later in the build system. The
-		# following order for racketcgc and racket3m was determined by
-		# digging through the Makefile in src/racket to find out which
-		# targets would build those binaries but not use them.
-		pushd racket
-		emake cgc-core
-		pax-mark m .libs/racketcgc
-		pushd gc2
-		emake all
-		popd
-		pax-mark m .libs/racket3m
-		popd
-	fi
-
-	default
-}
-
-src_install() {
-	default
-
-	if use jit; then
-		# The final binaries need to be pax-marked, too, if you want to
-		# actually use them. The src_compile marking get lost somewhere
-		# in the install process.
-		for f in mred mzscheme racket; do
-			pax-mark m "${D}/usr/bin/${f}"
-		done
-
-		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
-	fi
-	# raco needs decompressed files for packages doc installation bug 662424
-	if use doc; then
-		docompress -x /usr/share/doc/${PF}
-	fi
-}

diff --git a/dev-scheme/racket/racket-7.1-r1.ebuild b/dev-scheme/racket/racket-7.1-r1.ebuild
deleted file mode 100644
index 19e1da2a90c7..000000000000
--- a/dev-scheme/racket/racket-7.1-r1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit pax-utils
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/"
-SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
-LICENSE="GPL-3+ LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="doc +futures +jit minimal +places +readline +threads +X"
-REQUIRED_USE="futures? ( jit )"
-
-RDEPEND="dev-db/sqlite:3
-	media-libs/libpng:0
-	x11-libs/cairo[X?]
-	x11-libs/pango[X?]
-	dev-libs/libffi:=
-	virtual/jpeg:0
-	readline? ( dev-libs/libedit )
-	X? ( x11-libs/gtk+[X?] )"
-RDEPEND="${RDEPEND} !dev-tex/slatex"
-
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	default
-	rm -r foreign/libffi || die 'failed to remove bundled libffi'
-}
-
-src_configure() {
-	# According to vapier, we should use the bundled libtool
-	# such that we don't preclude cross-compile. Thus don't use
-	# --enable-lt=/usr/bin/libtool
-	econf \
-		--enable-shared \
-		--enable-float \
-		--enable-libffi \
-		--enable-foreign \
-		--disable-libs \
-		--disable-strip \
-		$(use_enable X gracket) \
-		$(use_enable doc docs) \
-		$(use_enable jit) \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable threads pthread)
-}
-
-src_compile() {
-	if use jit; then
-		# When the JIT is enabled, a few binaries need to be pax-marked
-		# on hardened systems (bug 613634). The trick is to pax-mark
-		# them before they're used later in the build system. The
-		# following order for racketcgc and racket3m was determined by
-		# digging through the Makefile in src/racket to find out which
-		# targets would build those binaries but not use them.
-		pushd racket
-		emake cgc-core
-		pax-mark m .libs/racketcgc
-		pushd gc2
-		emake all
-		popd
-		pax-mark m .libs/racket3m
-		popd
-	fi
-
-	default
-}
-
-src_install() {
-	default
-
-	if use jit; then
-		# The final binaries need to be pax-marked, too, if you want to
-		# actually use them. The src_compile marking get lost somewhere
-		# in the install process.
-		for f in mred mzscheme racket; do
-			pax-mark m "${D}/usr/bin/${f}"
-		done
-
-		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
-	fi
-	# raco needs decompressed files for packages doc installation bug 662424
-	if use doc; then
-		docompress -x /usr/share/doc/${PF}
-	fi
-}

diff --git a/dev-scheme/racket/racket-7.2-r1.ebuild b/dev-scheme/racket/racket-7.2-r1.ebuild
deleted file mode 100644
index 367977769dc9..000000000000
--- a/dev-scheme/racket/racket-7.2-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit pax-utils
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/"
-SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
-LICENSE="GPL-3+ LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="doc +futures +jit minimal +places +readline +threads +X"
-REQUIRED_USE="futures? ( jit )"
-
-RDEPEND="dev-db/sqlite:3
-	media-libs/libpng:0
-	x11-libs/cairo[X?]
-	x11-libs/pango[X?]
-	dev-libs/libffi:=
-	virtual/jpeg:0
-	readline? ( dev-libs/libedit )
-	X? ( x11-libs/gtk+[X?] )"
-RDEPEND="${RDEPEND} !dev-tex/slatex"
-
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	default
-	rm -r foreign/libffi || die 'failed to remove bundled libffi'
-}
-
-src_configure() {
-	# According to vapier, we should use the bundled libtool
-	# such that we don't preclude cross-compile. Thus don't use
-	# --enable-lt=/usr/bin/libtool
-	econf \
-		--enable-shared \
-		--enable-float \
-		--enable-libffi \
-		--enable-foreign \
-		--disable-libs \
-		--disable-strip \
-		$(use_enable X gracket) \
-		$(use_enable doc docs) \
-		$(use_enable jit) \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable threads pthread)
-}
-
-src_compile() {
-	if use jit; then
-		# When the JIT is enabled, a few binaries need to be pax-marked
-		# on hardened systems (bug 613634). The trick is to pax-mark
-		# them before they're used later in the build system. The
-		# following order for racketcgc and racket3m was determined by
-		# digging through the Makefile in src/racket to find out which
-		# targets would build those binaries but not use them.
-		pushd racket
-		emake cgc-core
-		pax-mark m .libs/racketcgc
-		pushd gc2
-		emake all
-		popd
-		pax-mark m .libs/racket3m
-		popd
-	fi
-
-	default
-}
-
-src_install() {
-	default
-
-	if use jit; then
-		# The final binaries need to be pax-marked, too, if you want to
-		# actually use them. The src_compile marking get lost somewhere
-		# in the install process.
-		for f in mred mzscheme racket; do
-			pax-mark m "${D}/usr/bin/${f}"
-		done
-
-		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
-	fi
-	# raco needs decompressed files for packages doc installation bug 662424
-	if use doc; then
-		docompress -x /usr/share/doc/${PF}
-	fi
-	find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
-}

diff --git a/dev-scheme/racket/racket-7.3-r1.ebuild b/dev-scheme/racket/racket-7.3-r1.ebuild
deleted file mode 100644
index 367977769dc9..000000000000
--- a/dev-scheme/racket/racket-7.3-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit pax-utils
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/"
-SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
-LICENSE="GPL-3+ LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="doc +futures +jit minimal +places +readline +threads +X"
-REQUIRED_USE="futures? ( jit )"
-
-RDEPEND="dev-db/sqlite:3
-	media-libs/libpng:0
-	x11-libs/cairo[X?]
-	x11-libs/pango[X?]
-	dev-libs/libffi:=
-	virtual/jpeg:0
-	readline? ( dev-libs/libedit )
-	X? ( x11-libs/gtk+[X?] )"
-RDEPEND="${RDEPEND} !dev-tex/slatex"
-
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
-	default
-	rm -r foreign/libffi || die 'failed to remove bundled libffi'
-}
-
-src_configure() {
-	# According to vapier, we should use the bundled libtool
-	# such that we don't preclude cross-compile. Thus don't use
-	# --enable-lt=/usr/bin/libtool
-	econf \
-		--enable-shared \
-		--enable-float \
-		--enable-libffi \
-		--enable-foreign \
-		--disable-libs \
-		--disable-strip \
-		$(use_enable X gracket) \
-		$(use_enable doc docs) \
-		$(use_enable jit) \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable threads pthread)
-}
-
-src_compile() {
-	if use jit; then
-		# When the JIT is enabled, a few binaries need to be pax-marked
-		# on hardened systems (bug 613634). The trick is to pax-mark
-		# them before they're used later in the build system. The
-		# following order for racketcgc and racket3m was determined by
-		# digging through the Makefile in src/racket to find out which
-		# targets would build those binaries but not use them.
-		pushd racket
-		emake cgc-core
-		pax-mark m .libs/racketcgc
-		pushd gc2
-		emake all
-		popd
-		pax-mark m .libs/racket3m
-		popd
-	fi
-
-	default
-}
-
-src_install() {
-	default
-
-	if use jit; then
-		# The final binaries need to be pax-marked, too, if you want to
-		# actually use them. The src_compile marking get lost somewhere
-		# in the install process.
-		for f in mred mzscheme racket; do
-			pax-mark m "${D}/usr/bin/${f}"
-		done
-
-		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
-	fi
-	# raco needs decompressed files for packages doc installation bug 662424
-	if use doc; then
-		docompress -x /usr/share/doc/${PF}
-	fi
-	find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
-}

diff --git a/dev-scheme/racket/racket-8.0-r1.ebuild b/dev-scheme/racket/racket-8.0-r1.ebuild
deleted file mode 100644
index bedf4056abbf..000000000000
--- a/dev-scheme/racket/racket-8.0-r1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit pax-utils
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/"
-SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )"
-SRC_URI+=" !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
-S="${WORKDIR}/${P}/src"
-
-# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
-LICENSE="
-	|| ( MIT Apache-2.0 )
-	chez? ( Apache-2.0 )
-	!chez? ( LGPL-3 )
-"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="doc +chez +futures +jit minimal +places +readline +threads +X"
-
-REQUIRED_USE="futures? ( jit )"
-
-RDEPEND="
-	dev-db/sqlite:3
-	media-libs/libpng:0
-	x11-libs/cairo[X?]
-	x11-libs/pango[X?]
-	dev-libs/libffi:=
-	virtual/jpeg:0
-	readline? ( dev-libs/libedit )
-	X? ( x11-libs/gtk+:3[X?] )
-	!dev-tex/slatex
-"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-	default
-	rm -r bc/foreign/libffi || die 'failed to remove bundled libffi'
-}
-
-src_configure() {
-	# According to vapier, we should use the bundled libtool
-	# such that we don't preclude cross-compile. Thus don't use
-	# --enable-lt=/usr/bin/libtool
-	# docdir doesn't get passed automatically
-	econf \
-		--enable-shared \
-		--enable-float \
-		--enable-libffi \
-		--enable-foreign \
-		--docdir="/usr/share/doc/${PF}" \
-		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly") \
-		--disable-libs \
-		--disable-strip \
-		$(use_enable X gracket) \
-		$(use_enable doc docs) \
-		$(use_enable jit) \
-		$(use_enable places) \
-		$(use_enable futures) \
-		$(use_enable threads pthread)
-}
-
-src_compile() {
-	if use jit; then
-		# When the JIT is enabled, a few binaries need to be pax-marked
-		# on hardened systems (bug 613634). The trick is to pax-mark
-		# them before they're used later in the build system. The
-		# following order for racketcgc and racket3m was determined by
-		# digging through the Makefile in src/racket to find out which
-		# targets would build those binaries but not use them.
-		if ! use chez; then
-			pushd bc || die
-			emake cgc-core
-			pax-mark m .libs/racketcgc
-
-			pushd gc2 || die
-			emake all
-			popd || die
-
-			pax-mark m .libs/racket3m
-			popd || die
-		fi
-	fi
-
-	default
-}
-
-src_install() {
-	default
-
-	if use jit; then
-		# The final binaries need to be pax-marked, too, if you want to
-		# actually use them. The src_compile marking get lost somewhere
-		# in the install process.
-		for f in mred mzscheme racket; do
-			pax-mark m "${D}/usr/bin/${f}"
-		done
-
-		use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
-
-		pax-mark m "${D}/usr/$(get_libdir)/racket/starter"
-	fi
-
-	# raco needs decompressed files for packages doc installation bug 662424
-	if use doc; then
-		docompress -x /usr/share/doc/${PF}
-	fi
-
-	find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
-}

diff --git a/dev-scheme/racket/racket-8.1-r1.ebuild b/dev-scheme/racket/racket-8.1-r1.ebuild
deleted file mode 100644
index 652449041953..000000000000
--- a/dev-scheme/racket/racket-8.1-r1.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop optfeature xdg-utils
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/"
-SRC_URI="
-	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
-	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
-"
-S="${WORKDIR}/${P}/src"
-
-# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
-LICENSE="
-	|| ( MIT Apache-2.0 )
-	chez? ( Apache-2.0 )
-	!chez? ( LGPL-3 )
-"
-# Bytecode generated by Racket is not compatible between versions
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="X +chez +doc +futures +jit minimal +places +readline +threads"
-REQUIRED_USE="futures? ( jit )"
-
-DEPEND="
-	!dev-tex/slatex
-	dev-db/sqlite:3
-	dev-libs/libffi:=
-	X? (
-		dev-util/desktop-file-utils
-		media-libs/libpng:0
-		virtual/jpeg:0
-		x11-libs/cairo[X]
-		x11-libs/gtk+:3[X]
-		x11-libs/pango[X]
-		x11-misc/shared-mime-info
-	)
-	readline? ( dev-libs/libedit )
-"
-RDEPEND="${DEPEND}"
-
-# "mred" and "mzscheme" are binaries generated by Racket, not CC
-QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
-
-# Backports that will be probably available in 8.3 release
-PATCHES=(
-	# Prevent "libracket3m" from being stripped
-	# https://github.com/racket/racket/commit/92d202060201f569fafc348c4f64a2965b55287f
-	"${FILESDIR}/Makefile-nostrip.patch"
-	# Fix "starter" LDFLAGS
-	# https://github.com/racket/racket/commit/4f0e1703979d704c4f91b009945c324450acec7a
-	"${FILESDIR}/Makefile-starter.patch"
-)
-
-# Package database files
-PKGDB=(
-	/usr/share/racket/info-cache.rktd
-	/usr/share/racket/links.rktd
-	/usr/share/racket/pkgs/pkgs.rktd
-)
-
-post_X_update() {
-	if use X && ! use minimal; then
-		xdg_desktop_database_update
-		xdg_icon_cache_update
-	fi
-}
-
-src_prepare() {
-	# Prepare environment
-	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
-	xdg_environment_reset
-
-	default
-
-	# Remove bundled libffi
-	rm -r ./bc/foreign/libffi || die "failed to remove bundled libffi"
-}
-
-src_configure() {
-	# Libtool:
-	#   According to vapier, we should use the bundled libtool
-	#   such that we don't preclude cross-compile.
-	#   Thus don't use --enable-lt=/usr/bin/libtool
-	# Backend:
-	#   --enable-bc builds Racket w/o chez backend
-	# C Libraries:
-	#   --enable-libs & --disable-shared is the way to build
-	#   .a files that are needed to embed Racket into programs
-	#   https://docs.racket-lang.org/inside/cs-embedding.html
-	local myconf=(
-		--disable-shared
-		--disable-strip
-		--docdir="${EPREFIX}/usr/share/doc/${PF}"
-		--enable-float
-		--enable-foreign
-		--enable-libffi
-		--enable-libs
-		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
-		$(use_enable X gracket)
-		$(use_enable doc docs)
-		$(use_enable futures)
-		$(use_enable jit)
-		$(use_enable places)
-		$(use_enable threads pthread)
-	)
-	econf "${myconf[@]}"
-}
-
-src_install() {
-	default
-
-	# Install Racket boot files
-	if use chez; then
-		pushd "${S}"/cs/c || die
-		emake DESTDIR="${ED}" unix-install-boot-files
-		popd || die
-	fi
-
-	# raco needs decompressed files for packages doc installation bug 662424
-	if use doc; then
-		docompress -x /usr/share/doc/${PF}
-	fi
-
-	# Create missing desktop files and icon
-	if use X && ! use minimal; then
-		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" "racket.png"
-		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
-		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
-	fi
-}
-
-pkg_preinst() {
-	# If we are merging the same version (NOT revision!)
-	# check if pkg database files exist and do not overwrite them
-	local pvr rel
-	for pvr in ${REPLACING_VERSIONS}; do
-		rel="${pvr%-r*}"
-		if [[ "${rel}" == "${PV}" ]]; then
-			echo "We are installing the same version: ${rel}"
-			local rktd
-			for rktd in "${PKGDB[@]}"; do
-				if [[ -f "${EROOT}/${rktd}" ]]; then
-					einfo "Keeping old file: ${rktd}"
-					mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
-						die "failed to create a backup of ${rktd}"
-					cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
-						die "failed to create a copy of ${rktd}"
-				fi
-			done
-		fi
-	done
-}
-
-pkg_postinst() {
-	post_X_update
-
-	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
-}
-
-pkg_postrm() {
-	post_X_update
-}
-
-pkg_config() {
-	einfo "Swapping package database backup files"
-
-	for rktd in "${PKGDB[@]}"; do
-		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config || die
-		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd} || die
-		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak || die
-	done
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-12-03 18:27 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2021-12-03 18:27 UTC (permalink / raw
  To: gentoo-commits

commit:     fa4478808fd51e36ba96e59a11514779f609ef86
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  3 16:36:44 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Dec  3 18:27:25 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa447880

dev-scheme/racket: bump to 8.3

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/racket/Manifest          |   2 +
 dev-scheme/racket/racket-8.3.ebuild | 166 ++++++++++++++++++++++++++++++++++++
 2 files changed, 168 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 13a7c36e953e..faf44781e93f 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,2 +1,4 @@
 DIST racket-8.2-src-builtpkgs.tgz 150467561 BLAKE2B 5005aa852b089becd9d6da136a55a035ac5fd86bd1ad186ec30cdcf411927d444e1814797d63dbde3eb7b52bba7756e0464edf1d854d2ee7f5851caaae18ba55 SHA512 9e4c0cabfcbdb8c8742e8170548bee58021697e8b0842f575f94193db31adc04a7b9023ed8fd70dae197e5ec6f1aee7985d849be3ce5b4279f216e900ee143c7
+DIST racket-8.3-src-builtpkgs.tgz 150608486 BLAKE2B f002934c07afab4152ad8395c4ab5c6c87ef810f5cf79cf5ae0b41f4caa4508e0044f4246812513def14130d507af57aa61efaff8106eaeac0b86918bd775902 SHA512 7c340f65d221343beb2b4205cdc58648bd65dceabdb16f40cda425474faa905f4dd441193dc6cd4856f7863fb83834721394d6888027db356f830eceb127dbae
 DIST racket-minimal-8.2-src-builtpkgs.tgz 21187959 BLAKE2B 0f62a900e71ee101fa3acf0985b0a72215ac657285c5ce9e4f5f49189180b82dcca94ded9778b7ba92a42919f17b1dc24eec07e13c64c77e47fc958614d7dc0a SHA512 04950703fa73cdbbb10c234d57c89e70db6076b42d4a74ddb8cace9e0438b9a1431f7317baf31d667368ad75ae19e4eecec39667ba0c5b08a3580f8cc81f4f5e
+DIST racket-minimal-8.3-src-builtpkgs.tgz 21212037 BLAKE2B 76a742efe7ba2c44eb935d4852c20be355ccff9b935b39226ef1935184b0a9179ef6ca2ac0a64f3c7a6ae4a0082117a12c668d7804a0b73b9f1a391eaba61994 SHA512 3cab4a24cab5c1ac107c8aead2ada6fa3ec7d7aa122716c78af584f055dadf89497168e95b36d99115ecd1a1905dc1ec51774dd2c8099198ec7d6aa9d380039d

diff --git a/dev-scheme/racket/racket-8.3.ebuild b/dev-scheme/racket/racket-8.3.ebuild
new file mode 100644
index 000000000000..c767ef23e92c
--- /dev/null
+++ b/dev-scheme/racket/racket-8.3.ebuild
@@ -0,0 +1,166 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop optfeature xdg-utils
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="https://racket-lang.org/"
+SRC_URI="
+	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
+	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
+"
+S="${WORKDIR}/${P}/src"
+
+# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
+LICENSE="
+	|| ( MIT Apache-2.0 )
+	chez? ( Apache-2.0 )
+	!chez? ( LGPL-3 )
+"
+# Bytecode generated by Racket is not compatible between versions.
+# The bytecode version should be denoted by SLOT, in most cases
+# PV == SLOT but this has to be checked carefully and in cases
+# where we use _p, _pre, etc it will have to be set manually.
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="X +chez +doc +futures +jit minimal +places +threads"
+# See bug #809785 re chez/threads
+REQUIRED_USE="futures? ( jit threads ) chez? ( threads ) places? ( threads )"
+
+DEPEND="
+	!dev-tex/slatex
+	dev-db/sqlite:3
+	dev-libs/libffi:=
+	X? (
+		dev-util/desktop-file-utils
+		media-libs/libpng:0
+		virtual/jpeg:0
+		x11-libs/cairo[X]
+		x11-libs/gtk+:3[X]
+		x11-libs/pango[X]
+		x11-misc/shared-mime-info
+	)
+"
+RDEPEND="${DEPEND}"
+
+# "mred" and "mzscheme" are binaries generated by Racket, not CC
+QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
+
+# Package database files
+PKGDB=(
+	/usr/share/racket/info-cache.rktd
+	/usr/share/racket/links.rktd
+	/usr/share/racket/pkgs/pkgs.rktd
+)
+
+post_X_update() {
+	if use X && ! use minimal; then
+		xdg_desktop_database_update
+		xdg_icon_cache_update
+	fi
+}
+
+src_prepare() {
+	# Prepare environment
+	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
+	xdg_environment_reset
+
+	default
+
+	# Remove bundled libffi
+	rm -r ./bc/foreign/libffi || die "failed to remove bundled libffi"
+}
+
+src_configure() {
+	# Libtool:
+	#   According to vapier, we should use the bundled libtool
+	#   such that we don't preclude cross-compile.
+	#   Thus don't use --enable-lt=/usr/bin/libtool
+	# Backend:
+	#   --enable-bc builds Racket w/o chez backend
+	# C Libraries:
+	#   --enable-libs & --disable-shared is the way to build
+	#   .a files that are needed to embed Racket into programs
+	#   https://docs.racket-lang.org/inside/cs-embedding.html
+	local myconf=(
+		--disable-shared
+		--disable-strip
+		--docdir="${EPREFIX}/usr/share/doc/${PF}"
+		--enable-float
+		--enable-foreign
+		--enable-libffi
+		--enable-libs
+		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
+		$(use_enable X gracket)
+		$(use_enable doc docs)
+		$(use_enable futures)
+		$(use_enable jit)
+		$(use_enable places)
+		$(use_enable threads pthread)
+	)
+	econf "${myconf[@]}"
+}
+
+src_install() {
+	default
+
+	# Install Racket boot files
+	if use chez; then
+		pushd "${S}"/cs/c || die
+		emake DESTDIR="${ED}" unix-install-boot-files
+		popd || die
+	fi
+
+	# raco needs decompressed files for packages doc installation bug 662424
+	if use doc; then
+		docompress -x /usr/share/doc/${PF}
+	fi
+
+	# Create missing desktop files and icon
+	if use X && ! use minimal; then
+		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" "racket.png"
+		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
+		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
+	fi
+}
+
+pkg_preinst() {
+	# If we are merging the same SLOT check if package
+	# database files exist and do not overwrite them
+	if has_version "${CATEGORY}/${PN}:${SLOT}"; then
+		echo "We are installing the same SLOT: ${SLOT}"
+		local rktd
+		for rktd in "${PKGDB[@]}"; do
+			if [[ -f "${EROOT}/${rktd}" ]]; then
+				einfo "Keeping old file: ${rktd}"
+				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
+					die "failed to create a backup of ${rktd}"
+				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
+					die "failed to create a copy of ${rktd}"
+			fi
+		done
+	fi
+}
+
+pkg_postinst() {
+	post_X_update
+
+	optfeature "readline editing features in REPL" dev-libs/libedit sys-libs/readline
+	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+}
+
+pkg_postrm() {
+	post_X_update
+}
+
+pkg_config() {
+	einfo "Swapping package database backup files"
+
+	for rktd in "${PKGDB[@]}"; do
+		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config || die
+		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd} || die
+		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak || die
+	done
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-12-09 22:07 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2021-12-09 22:07 UTC (permalink / raw
  To: gentoo-commits

commit:     708340176aab8fee6f5e9070968316175285afe3
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  9 20:59:57 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Dec  9 22:06:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70834017

dev-scheme/racket: revisit configure options

Removed X dependencies because its pure FFI and do not depend on X11's
pkgs being installed.
Some options are forced in CS variant, so logically restrict the untooglable
USE flags to be enabled.
Bump to EAPI 8.
This still does not close 828602.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../{racket-8.3.ebuild => racket-8.3-r1.ebuild}    | 56 +++++++---------------
 1 file changed, 18 insertions(+), 38 deletions(-)

diff --git a/dev-scheme/racket/racket-8.3.ebuild b/dev-scheme/racket/racket-8.3-r1.ebuild
similarity index 82%
rename from dev-scheme/racket/racket-8.3.ebuild
rename to dev-scheme/racket/racket-8.3-r1.ebuild
index c767ef23e92c..507893805143 100644
--- a/dev-scheme/racket/racket-8.3.ebuild
+++ b/dev-scheme/racket/racket-8.3-r1.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit desktop optfeature xdg-utils
+inherit desktop optfeature
 
 DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
 HOMEPAGE="https://racket-lang.org/"
@@ -25,47 +25,30 @@ LICENSE="
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="X +chez +doc +futures +jit minimal +places +threads"
+IUSE="+chez +doc +futures +jit minimal +places +threads"
 # See bug #809785 re chez/threads
-REQUIRED_USE="futures? ( jit threads ) chez? ( threads ) places? ( threads )"
+REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
 
 DEPEND="
 	!dev-tex/slatex
 	dev-db/sqlite:3
 	dev-libs/libffi:=
-	X? (
-		dev-util/desktop-file-utils
-		media-libs/libpng:0
-		virtual/jpeg:0
-		x11-libs/cairo[X]
-		x11-libs/gtk+:3[X]
-		x11-libs/pango[X]
-		x11-misc/shared-mime-info
-	)
 "
 RDEPEND="${DEPEND}"
 
 # "mred" and "mzscheme" are binaries generated by Racket, not CC
 QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
 
-# Package database files
+# Package database files (for pkg_preinst & pkg_config)
 PKGDB=(
 	/usr/share/racket/info-cache.rktd
 	/usr/share/racket/links.rktd
 	/usr/share/racket/pkgs/pkgs.rktd
 )
 
-post_X_update() {
-	if use X && ! use minimal; then
-		xdg_desktop_database_update
-		xdg_icon_cache_update
-	fi
-}
-
 src_prepare() {
-	# Prepare environment
+	# Prepare the environment
 	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
-	xdg_environment_reset
 
 	default
 
@@ -88,18 +71,21 @@ src_configure() {
 		--disable-shared
 		--disable-strip
 		--docdir="${EPREFIX}/usr/share/doc/${PF}"
-		--enable-float
-		--enable-foreign
-		--enable-libffi
 		--enable-libs
 		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
-		$(use_enable X gracket)
 		$(use_enable doc docs)
-		$(use_enable futures)
-		$(use_enable jit)
-		$(use_enable places)
-		$(use_enable threads pthread)
 	)
+	# Some options are togglable only for the BC version (are forced in CS)
+	! use chez && myconf+=(
+			--enable-float
+			--enable-foreign
+			--enable-gracket
+			--enable-libffi
+			$(use_enable futures)
+			$(use_enable jit)
+			$(use_enable places)
+			$(use_enable threads pthread)
+		)
 	econf "${myconf[@]}"
 }
 
@@ -119,7 +105,7 @@ src_install() {
 	fi
 
 	# Create missing desktop files and icon
-	if use X && ! use minimal; then
+	if ! use minimal; then
 		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" "racket.png"
 		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
 		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
@@ -145,16 +131,10 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-	post_X_update
-
 	optfeature "readline editing features in REPL" dev-libs/libedit sys-libs/readline
 	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
 }
 
-pkg_postrm() {
-	post_X_update
-}
-
 pkg_config() {
 	einfo "Swapping package database backup files"
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2021-12-14  8:53 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2021-12-14  8:53 UTC (permalink / raw
  To: gentoo-commits

commit:     f8757ad71d16fb4963f9933000d3b99a846a025c
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 14 08:13:41 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Dec 14 08:53:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8757ad7

dev-scheme/racket: fix pkg_preinst; do not die on pkg_config

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

 dev-scheme/racket/{racket-8.2-r1.ebuild => racket-8.2-r2.ebuild} | 8 ++++----
 dev-scheme/racket/{racket-8.3-r1.ebuild => racket-8.3-r2.ebuild} | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dev-scheme/racket/racket-8.2-r1.ebuild b/dev-scheme/racket/racket-8.2-r2.ebuild
similarity index 95%
rename from dev-scheme/racket/racket-8.2-r1.ebuild
rename to dev-scheme/racket/racket-8.2-r2.ebuild
index ebb87fe339c6..d442f6c1047d 100644
--- a/dev-scheme/racket/racket-8.2-r1.ebuild
+++ b/dev-scheme/racket/racket-8.2-r2.ebuild
@@ -143,7 +143,7 @@ pkg_preinst() {
 		echo "We are installing the same SLOT: ${SLOT}"
 		local rktd
 		for rktd in "${PKGDB[@]}"; do
-			if [[ -f "${EROOT}/${rktd}" ]]; then
+			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]]; then
 				einfo "Keeping old file: ${rktd}"
 				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
 					die "failed to create a backup of ${rktd}"
@@ -169,8 +169,8 @@ pkg_config() {
 	einfo "Swapping package database backup files"
 
 	for rktd in "${PKGDB[@]}"; do
-		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config || die
-		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd} || die
-		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak || die
+		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
+		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
+		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
 	done
 }

diff --git a/dev-scheme/racket/racket-8.3-r1.ebuild b/dev-scheme/racket/racket-8.3-r2.ebuild
similarity index 94%
rename from dev-scheme/racket/racket-8.3-r1.ebuild
rename to dev-scheme/racket/racket-8.3-r2.ebuild
index 507893805143..d6c989e973c9 100644
--- a/dev-scheme/racket/racket-8.3-r1.ebuild
+++ b/dev-scheme/racket/racket-8.3-r2.ebuild
@@ -119,7 +119,7 @@ pkg_preinst() {
 		echo "We are installing the same SLOT: ${SLOT}"
 		local rktd
 		for rktd in "${PKGDB[@]}"; do
-			if [[ -f "${EROOT}/${rktd}" ]]; then
+			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]]; then
 				einfo "Keeping old file: ${rktd}"
 				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
 					die "failed to create a backup of ${rktd}"
@@ -139,8 +139,8 @@ pkg_config() {
 	einfo "Swapping package database backup files"
 
 	for rktd in "${PKGDB[@]}"; do
-		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config || die
-		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd} || die
-		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak || die
+		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
+		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
+		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
 	done
 }


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-01-05  0:54 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2022-01-05  0:54 UTC (permalink / raw
  To: gentoo-commits

commit:     5330ac4eea08764914932a4eb3bc22046acb8664
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  5 00:52:31 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Jan  5 00:53:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5330ac4e

dev-scheme/racket: resolve the libedit/readline issue

Closes: https://bugs.gentoo.org/830617
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/racket/racket-8.2-r2.ebuild | 17 ++++++++++++++---
 dev-scheme/racket/racket-8.3-r2.ebuild | 17 ++++++++++++++---
 2 files changed, 28 insertions(+), 6 deletions(-)

diff --git a/dev-scheme/racket/racket-8.2-r2.ebuild b/dev-scheme/racket/racket-8.2-r2.ebuild
index d442f6c1047d..41e0c43edd56 100644
--- a/dev-scheme/racket/racket-8.2-r2.ebuild
+++ b/dev-scheme/racket/racket-8.2-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit desktop optfeature xdg-utils
+inherit desktop optfeature readme.gentoo-r1 xdg-utils
 
 DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
 HOMEPAGE="https://racket-lang.org/"
@@ -58,6 +58,13 @@ PATCHES=(
 	"${FILESDIR}/Makefile-starter.patch"
 )
 
+DOC_CONTENTS="
+If you wish to use sys-libs/readline instead of dev-libs/libedit
+for readline-like features in the Racket's REPL you can install
+the package 'readline-gpl' using raco, Racket's package manager
+https://pkgs.racket-lang.org/package/readline-gpl
+"
+
 # Package database files
 PKGDB=(
 	/usr/share/racket/info-cache.rktd
@@ -134,6 +141,8 @@ src_install() {
 		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
 		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
 	fi
+
+	readme.gentoo_create_doc
 }
 
 pkg_preinst() {
@@ -157,8 +166,10 @@ pkg_preinst() {
 pkg_postinst() {
 	post_X_update
 
-	optfeature "readline editing features in REPL" dev-libs/libedit sys-libs/readline
+	optfeature "readline editing features in REPL" dev-libs/libedit
 	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+
+	readme.gentoo_print_elog
 }
 
 pkg_postrm() {

diff --git a/dev-scheme/racket/racket-8.3-r2.ebuild b/dev-scheme/racket/racket-8.3-r2.ebuild
index d6c989e973c9..f614f17366c3 100644
--- a/dev-scheme/racket/racket-8.3-r2.ebuild
+++ b/dev-scheme/racket/racket-8.3-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit desktop optfeature
+inherit desktop optfeature readme.gentoo-r1
 
 DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
 HOMEPAGE="https://racket-lang.org/"
@@ -39,6 +39,13 @@ RDEPEND="${DEPEND}"
 # "mred" and "mzscheme" are binaries generated by Racket, not CC
 QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
 
+DOC_CONTENTS="
+If you wish to use sys-libs/readline instead of dev-libs/libedit
+for readline-like features in the Racket's REPL you can install
+the package 'readline-gpl' using raco, Racket's package manager
+https://pkgs.racket-lang.org/package/readline-gpl
+"
+
 # Package database files (for pkg_preinst & pkg_config)
 PKGDB=(
 	/usr/share/racket/info-cache.rktd
@@ -110,6 +117,8 @@ src_install() {
 		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
 		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
 	fi
+
+	readme.gentoo_create_doc
 }
 
 pkg_preinst() {
@@ -131,8 +140,10 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-	optfeature "readline editing features in REPL" dev-libs/libedit sys-libs/readline
+	optfeature "readline editing features in REPL" dev-libs/libedit
 	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+
+	readme.gentoo_print_elog
 }
 
 pkg_config() {


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-01-05  0:54 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2022-01-05  0:54 UTC (permalink / raw
  To: gentoo-commits

commit:     a30dec3af8202fd4bbc850c8ea270e26a0549eb8
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  5 00:37:42 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Jan  5 00:53:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a30dec3a

dev-scheme/racket: update metadata

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

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

diff --git a/dev-scheme/racket/metadata.xml b/dev-scheme/racket/metadata.xml
index 95a4c9a5ba28..8b99db59b68a 100644
--- a/dev-scheme/racket/metadata.xml
+++ b/dev-scheme/racket/metadata.xml
@@ -5,7 +5,7 @@
     <email>scheme@gentoo.org</email>
     <name>Gentoo Scheme Project</name>
   </maintainer>
-  <longdescription lang="en">
+  <longdescription>
 ==Grow your Program==
 Racket's interactive mode encourages experimentation, and quick scripts easily compose into larger systems. Small scripts and large systems both benefit from native-code JIT compilation. When a system gets too big to keep in your head, you can add static types.
 


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-01-05  0:56 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2022-01-05  0:56 UTC (permalink / raw
  To: gentoo-commits

commit:     2271c56f72d0cc5338911e837847aeb78ad5d3c1
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  5 00:56:12 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Jan  5 00:56:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2271c56f

dev-scheme/racket: revbump due to readme.gentoo change

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

 dev-scheme/racket/{racket-8.2-r2.ebuild => racket-8.2-r3.ebuild} | 0
 dev-scheme/racket/{racket-8.3-r2.ebuild => racket-8.3-r3.ebuild} | 0
 2 files changed, 0 insertions(+), 0 deletions(-)

diff --git a/dev-scheme/racket/racket-8.2-r2.ebuild b/dev-scheme/racket/racket-8.2-r3.ebuild
similarity index 100%
rename from dev-scheme/racket/racket-8.2-r2.ebuild
rename to dev-scheme/racket/racket-8.2-r3.ebuild

diff --git a/dev-scheme/racket/racket-8.3-r2.ebuild b/dev-scheme/racket/racket-8.3-r3.ebuild
similarity index 100%
rename from dev-scheme/racket/racket-8.3-r2.ebuild
rename to dev-scheme/racket/racket-8.3-r3.ebuild


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-02-09 23:20 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2022-02-09 23:20 UTC (permalink / raw
  To: gentoo-commits

commit:     901b921d513b094f03aa99b22026ca26c7a05407
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  9 23:15:44 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Feb  9 23:16:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=901b921d

dev-scheme/racket: bump to 8.4

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/racket/Manifest          |   2 +
 dev-scheme/racket/racket-8.4.ebuild | 162 ++++++++++++++++++++++++++++++++++++
 2 files changed, 164 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index faf44781e93f..6d163a423dc0 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,4 +1,6 @@
 DIST racket-8.2-src-builtpkgs.tgz 150467561 BLAKE2B 5005aa852b089becd9d6da136a55a035ac5fd86bd1ad186ec30cdcf411927d444e1814797d63dbde3eb7b52bba7756e0464edf1d854d2ee7f5851caaae18ba55 SHA512 9e4c0cabfcbdb8c8742e8170548bee58021697e8b0842f575f94193db31adc04a7b9023ed8fd70dae197e5ec6f1aee7985d849be3ce5b4279f216e900ee143c7
 DIST racket-8.3-src-builtpkgs.tgz 150608486 BLAKE2B f002934c07afab4152ad8395c4ab5c6c87ef810f5cf79cf5ae0b41f4caa4508e0044f4246812513def14130d507af57aa61efaff8106eaeac0b86918bd775902 SHA512 7c340f65d221343beb2b4205cdc58648bd65dceabdb16f40cda425474faa905f4dd441193dc6cd4856f7863fb83834721394d6888027db356f830eceb127dbae
+DIST racket-8.4-src-builtpkgs.tgz 151809822 BLAKE2B c42f7943975a6f91a03ef0f668d218571dfc4159eac5a5722b9513b978413a9617b4e1bf3ccabef051014311ecf51fdc80d7563942e9e645c442ddfc4995a308 SHA512 afd9f357673a28ac5e4529ea0879a4edc3dbffc5b8627aa3553f1caf867be3296b94620dc2d86b8bb3f0c7ec7743d0057ce897c5caa705e02f2cc469ce4c7116
 DIST racket-minimal-8.2-src-builtpkgs.tgz 21187959 BLAKE2B 0f62a900e71ee101fa3acf0985b0a72215ac657285c5ce9e4f5f49189180b82dcca94ded9778b7ba92a42919f17b1dc24eec07e13c64c77e47fc958614d7dc0a SHA512 04950703fa73cdbbb10c234d57c89e70db6076b42d4a74ddb8cace9e0438b9a1431f7317baf31d667368ad75ae19e4eecec39667ba0c5b08a3580f8cc81f4f5e
 DIST racket-minimal-8.3-src-builtpkgs.tgz 21212037 BLAKE2B 76a742efe7ba2c44eb935d4852c20be355ccff9b935b39226ef1935184b0a9179ef6ca2ac0a64f3c7a6ae4a0082117a12c668d7804a0b73b9f1a391eaba61994 SHA512 3cab4a24cab5c1ac107c8aead2ada6fa3ec7d7aa122716c78af584f055dadf89497168e95b36d99115ecd1a1905dc1ec51774dd2c8099198ec7d6aa9d380039d
+DIST racket-minimal-8.4-src-builtpkgs.tgz 21279666 BLAKE2B 25d5eb405cedaa9cadfa776c4dd66b87f1641c86b638110f1a3a788465aaf573f5f8054e1e6913e6c0123840a1a2f64d5855db5f52acace3475b91d095272a76 SHA512 92433c08508cfb1bdb9093e5c7c726630826e9046de02fcb3d402f3dd76aa98fc2d9a5d09515d44e7a50eab0e38d963d2202f48a44741c3cf7fe8e47d9404e63

diff --git a/dev-scheme/racket/racket-8.4.ebuild b/dev-scheme/racket/racket-8.4.ebuild
new file mode 100644
index 000000000000..ba7263a23ea8
--- /dev/null
+++ b/dev-scheme/racket/racket-8.4.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop optfeature readme.gentoo-r1
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="https://racket-lang.org/"
+SRC_URI="
+	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
+	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
+"
+S="${WORKDIR}/${P}/src"
+
+# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
+LICENSE="
+	|| ( MIT Apache-2.0 )
+	chez? ( Apache-2.0 )
+	!chez? ( LGPL-3 )
+"
+# Bytecode generated by Racket is not compatible between versions.
+# The bytecode version should be denoted by SLOT, in most cases
+# PV == SLOT but this has to be checked carefully and in cases
+# where we use _p, _pre, etc it will have to be set manually.
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="+chez +doc +futures +jit minimal +places +threads"
+# See bug #809785 re chez/threads
+REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
+
+DEPEND="
+	!dev-tex/slatex
+	dev-db/sqlite:3
+	dev-libs/libffi:=
+"
+RDEPEND="${DEPEND}"
+
+# "mred" and "mzscheme" are binaries generated by Racket, not CC
+QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
+
+DOC_CONTENTS="
+If you wish to use sys-libs/readline instead of dev-libs/libedit
+for readline-like features in the Racket's REPL you can install
+the package 'readline-gpl' using raco, Racket's package manager
+https://pkgs.racket-lang.org/package/readline-gpl
+"
+
+# Package database files (for pkg_preinst & pkg_config)
+PKGDB=(
+	/usr/share/racket/info-cache.rktd
+	/usr/share/racket/links.rktd
+	/usr/share/racket/pkgs/pkgs.rktd
+)
+
+src_prepare() {
+	# Prepare the environment
+	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
+
+	default
+
+	# Remove bundled libffi
+	rm -r ./bc/foreign/libffi || die "failed to remove bundled libffi"
+}
+
+src_configure() {
+	# Libtool:
+	#   According to vapier, we should use the bundled libtool
+	#   such that we don't preclude cross-compile.
+	#   Thus don't use --enable-lt=/usr/bin/libtool
+	# Backend:
+	#   --enable-bc builds Racket w/o chez backend
+	# C Libraries:
+	#   --enable-libs & --disable-shared is the way to build
+	#   .a files that are needed to embed Racket into programs
+	#   https://docs.racket-lang.org/inside/cs-embedding.html
+	local myconf=(
+		--disable-shared
+		--disable-strip
+		--docdir="${EPREFIX}/usr/share/doc/${PF}"
+		--enable-libs
+		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
+		$(use_enable doc docs)
+	)
+	# Some options are togglable only for the BC version (are forced in CS)
+	! use chez && myconf+=(
+			--enable-float
+			--enable-foreign
+			--enable-gracket
+			--enable-libffi
+			$(use_enable futures)
+			$(use_enable jit)
+			$(use_enable places)
+			$(use_enable threads pthread)
+		)
+	econf "${myconf[@]}"
+}
+
+src_install() {
+	default
+
+	# Install Racket boot files
+	use chez && emake -C "${S}"/cs/c DESTDIR="${ED}" unix-install-boot-files
+
+	# raco needs decompressed files for packages doc installation bug 662424
+	use doc && docompress -x /usr/share/doc/${PF}
+
+	# Create missing desktop files and icon
+	if ! use minimal ; then
+		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" "racket.png"
+		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
+		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
+	fi
+
+	readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+	# If we are merging the same SLOT check if package
+	# database files exist and do not overwrite them
+	if has_version "${CATEGORY}/${PN}:${SLOT}" ; then
+		echo "We are installing the same SLOT: ${SLOT}"
+		local rktd
+		for rktd in "${PKGDB[@]}" ; do
+			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]] ; then
+				einfo "Keeping old file: ${rktd}"
+				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
+					die "failed to create a backup of ${rktd}"
+				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
+					die "failed to create a copy of ${rktd}"
+			fi
+		done
+	fi
+}
+
+pkg_postinst() {
+	# If we have any pkgs not included in Racket main distribution (outsiders),
+	# then we have to re-setup them or during installation other pkgs will want
+	# to recompile parts of "outsider" pkgs they depend upon (and fail).
+	local outsiders=( $(raco pkg show -i | grep 'link' | sed 's|link.*||g') )
+	if [[ -n "${outsiders[@]}" ]] ; then
+		ebegin "Running \"raco setup\" for outsider packages"
+		echo "Outsiders: ${outsiders[@]}"
+		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
+		eend 0  # do not fail
+	fi
+
+	optfeature "readline editing features in REPL" dev-libs/libedit
+	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+
+	readme.gentoo_print_elog
+}
+
+pkg_config() {
+	einfo "Swapping package database backup files"
+
+	for rktd in "${PKGDB[@]}" ; do
+		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
+		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
+		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
+	done
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-02-14 14:38 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2022-02-14 14:38 UTC (permalink / raw
  To: gentoo-commits

commit:     aefc1f9626f9e83bc08cf1de889bef893dbf2b69
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 14 12:55:51 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Feb 14 14:37:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aefc1f96

dev-scheme/racket: update metadata

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/racket/metadata.xml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-scheme/racket/metadata.xml b/dev-scheme/racket/metadata.xml
index 8b99db59b68a..e33886b2c545 100644
--- a/dev-scheme/racket/metadata.xml
+++ b/dev-scheme/racket/metadata.xml
@@ -15,18 +15,22 @@ Extend Racket whenever you need to. Mold it to better suit your tasks without sa
 ==Grow your Skills==
 Whether you're just starting out, want to know more about programming language applications or models, looking to expand your horizons, or ready to dive into research, Racket can help you become a better programmer and system builder.
   </longdescription>
+  <upstream>
+    <bugs-to>https://github.com/racket/racket/issues/</bugs-to>
+    <remote-id type="github">racket</remote-id>
+  </upstream>
   <use>
     <flag name="chez">
       Build Racket on Chez (Racket CS)
     </flag>
-    <flag name="futures"> 
+    <flag name="futures">
       Enable racket/future library for fine-grained hardware parallelism
     </flag>
-    <flag name="places"> 
+    <flag name="places">
       Enable racket/place library for share-nothing parallelism and message-passing communication. Compared to futures, places are heavyweight, but they have a simpler performance model.
     </flag>
-    <flag name="threads"> 
-      Enable support for green threads 
+    <flag name="threads">
+      Enable support for green threads
     </flag>
   </use>
 </pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-02-15  7:09 Agostino Sarubbo
  0 siblings, 0 replies; 110+ messages in thread
From: Agostino Sarubbo @ 2022-02-15  7:09 UTC (permalink / raw
  To: gentoo-commits

commit:     0d11ed5bd2bf86b2f5a79f5ebf5e5296b02e8328
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 15 07:09:21 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Feb 15 07:09:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d11ed5b

dev-scheme/racket: amd64 stable wrt bug #833335

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-scheme/racket/racket-8.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-scheme/racket/racket-8.3-r3.ebuild b/dev-scheme/racket/racket-8.3-r3.ebuild
index f614f17366c3..7fd43cb18a72 100644
--- a/dev-scheme/racket/racket-8.3-r3.ebuild
+++ b/dev-scheme/racket/racket-8.3-r3.ebuild
@@ -24,7 +24,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="+chez +doc +futures +jit minimal +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-02-15  7:12 Agostino Sarubbo
  0 siblings, 0 replies; 110+ messages in thread
From: Agostino Sarubbo @ 2022-02-15  7:12 UTC (permalink / raw
  To: gentoo-commits

commit:     bba83842098eb759f27dc39723d00b338b42fd88
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 15 07:12:26 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Feb 15 07:12:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bba83842

dev-scheme/racket: x86 stable wrt bug #833335

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-scheme/racket/racket-8.3-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-scheme/racket/racket-8.3-r3.ebuild b/dev-scheme/racket/racket-8.3-r3.ebuild
index 7fd43cb18a72..cc99f7caf28b 100644
--- a/dev-scheme/racket/racket-8.3-r3.ebuild
+++ b/dev-scheme/racket/racket-8.3-r3.ebuild
@@ -24,7 +24,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="+chez +doc +futures +jit minimal +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-04-02  7:59 Agostino Sarubbo
  0 siblings, 0 replies; 110+ messages in thread
From: Agostino Sarubbo @ 2022-04-02  7:59 UTC (permalink / raw
  To: gentoo-commits

commit:     1ba064035eca518623d3c378737eb320d646932a
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  2 07:58:08 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Apr  2 07:58:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ba06403

dev-scheme/racket: amd64 stable wrt bug #836451

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-scheme/racket/racket-8.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-scheme/racket/racket-8.4-r1.ebuild b/dev-scheme/racket/racket-8.4-r1.ebuild
index 1dae6d9cdb89..2a91954e60f9 100644
--- a/dev-scheme/racket/racket-8.4-r1.ebuild
+++ b/dev-scheme/racket/racket-8.4-r1.ebuild
@@ -24,7 +24,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="+chez +doc +futures +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-04-02  8:03 Agostino Sarubbo
  0 siblings, 0 replies; 110+ messages in thread
From: Agostino Sarubbo @ 2022-04-02  8:03 UTC (permalink / raw
  To: gentoo-commits

commit:     51a4296fbf9bda820b448dbe983ea2361e635283
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  2 08:03:35 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Apr  2 08:03:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51a4296f

dev-scheme/racket: x86 stable wrt bug #836451

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-scheme/racket/racket-8.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-scheme/racket/racket-8.4-r1.ebuild b/dev-scheme/racket/racket-8.4-r1.ebuild
index 2a91954e60f9..21f19f5a855e 100644
--- a/dev-scheme/racket/racket-8.4-r1.ebuild
+++ b/dev-scheme/racket/racket-8.4-r1.ebuild
@@ -24,7 +24,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="+chez +doc +futures +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-05-01 23:46 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2022-05-01 23:46 UTC (permalink / raw
  To: gentoo-commits

commit:     9d75dae6a1eb43b4f8b5e346740ce514e23ba38a
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun May  1 23:45:18 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun May  1 23:45:59 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d75dae6

dev-scheme/racket: bump to 8.5

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

 dev-scheme/racket/Manifest          |   2 +
 dev-scheme/racket/racket-8.5.ebuild | 164 ++++++++++++++++++++++++++++++++++++
 2 files changed, 166 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 6d163a423dc0..ff146f0d5f93 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,6 +1,8 @@
 DIST racket-8.2-src-builtpkgs.tgz 150467561 BLAKE2B 5005aa852b089becd9d6da136a55a035ac5fd86bd1ad186ec30cdcf411927d444e1814797d63dbde3eb7b52bba7756e0464edf1d854d2ee7f5851caaae18ba55 SHA512 9e4c0cabfcbdb8c8742e8170548bee58021697e8b0842f575f94193db31adc04a7b9023ed8fd70dae197e5ec6f1aee7985d849be3ce5b4279f216e900ee143c7
 DIST racket-8.3-src-builtpkgs.tgz 150608486 BLAKE2B f002934c07afab4152ad8395c4ab5c6c87ef810f5cf79cf5ae0b41f4caa4508e0044f4246812513def14130d507af57aa61efaff8106eaeac0b86918bd775902 SHA512 7c340f65d221343beb2b4205cdc58648bd65dceabdb16f40cda425474faa905f4dd441193dc6cd4856f7863fb83834721394d6888027db356f830eceb127dbae
 DIST racket-8.4-src-builtpkgs.tgz 151809822 BLAKE2B c42f7943975a6f91a03ef0f668d218571dfc4159eac5a5722b9513b978413a9617b4e1bf3ccabef051014311ecf51fdc80d7563942e9e645c442ddfc4995a308 SHA512 afd9f357673a28ac5e4529ea0879a4edc3dbffc5b8627aa3553f1caf867be3296b94620dc2d86b8bb3f0c7ec7743d0057ce897c5caa705e02f2cc469ce4c7116
+DIST racket-8.5-src-builtpkgs.tgz 152548446 BLAKE2B ef914d742b3b949ecd7a1f817900add3ede874d7bd4dbe195c2ab69826d938c3ac81b883bc57d938908bc1f9e96faeaa25cb4dedf85288c580b7a89d62ec970a SHA512 4714599cbe10247cad119cc4073d80329d77c845d92b3741d35a9c88cc6395dc3d6f08ace8f606c3e39840f7071789ea953e3b6548da04fd7dfaa72a4368a7ae
 DIST racket-minimal-8.2-src-builtpkgs.tgz 21187959 BLAKE2B 0f62a900e71ee101fa3acf0985b0a72215ac657285c5ce9e4f5f49189180b82dcca94ded9778b7ba92a42919f17b1dc24eec07e13c64c77e47fc958614d7dc0a SHA512 04950703fa73cdbbb10c234d57c89e70db6076b42d4a74ddb8cace9e0438b9a1431f7317baf31d667368ad75ae19e4eecec39667ba0c5b08a3580f8cc81f4f5e
 DIST racket-minimal-8.3-src-builtpkgs.tgz 21212037 BLAKE2B 76a742efe7ba2c44eb935d4852c20be355ccff9b935b39226ef1935184b0a9179ef6ca2ac0a64f3c7a6ae4a0082117a12c668d7804a0b73b9f1a391eaba61994 SHA512 3cab4a24cab5c1ac107c8aead2ada6fa3ec7d7aa122716c78af584f055dadf89497168e95b36d99115ecd1a1905dc1ec51774dd2c8099198ec7d6aa9d380039d
 DIST racket-minimal-8.4-src-builtpkgs.tgz 21279666 BLAKE2B 25d5eb405cedaa9cadfa776c4dd66b87f1641c86b638110f1a3a788465aaf573f5f8054e1e6913e6c0123840a1a2f64d5855db5f52acace3475b91d095272a76 SHA512 92433c08508cfb1bdb9093e5c7c726630826e9046de02fcb3d402f3dd76aa98fc2d9a5d09515d44e7a50eab0e38d963d2202f48a44741c3cf7fe8e47d9404e63
+DIST racket-minimal-8.5-src-builtpkgs.tgz 21390850 BLAKE2B 7bcd8c409203f71b3a49cd7e4a34159ef62fcc61b8fb66e976bfc0938ac54b7bc475e6aff59796b9c01ee324eb0d88bd68340c787f728a3739a57e879e731bfb SHA512 e0dec1038f33dbe3dfbbeba05cb24829e4b0c4223c5326cd26f920c736171e3b47b457236a06c9c57b6ebc82d17b022fba6558e3c94315b75469a2130b6fd375

diff --git a/dev-scheme/racket/racket-8.5.ebuild b/dev-scheme/racket/racket-8.5.ebuild
new file mode 100644
index 000000000000..f501621d6d0e
--- /dev/null
+++ b/dev-scheme/racket/racket-8.5.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop optfeature readme.gentoo-r1
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="https://racket-lang.org/"
+SRC_URI="
+	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
+	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
+"
+S="${WORKDIR}/${P}/src"
+
+# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
+LICENSE="
+	|| ( MIT Apache-2.0 )
+	chez? ( Apache-2.0 )
+	!chez? ( LGPL-3 )
+"
+# Bytecode generated by Racket is not compatible between versions.
+# The bytecode version should be denoted by SLOT, in most cases
+# PV == SLOT but this has to be checked carefully and in cases
+# where we use _p, _pre, etc it will have to be set manually.
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="+chez +doc +futures +jit minimal ncurses +places +threads"
+# See bug #809785 re chez/threads
+REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
+
+DEPEND="
+	!dev-tex/slatex
+	dev-db/sqlite:3
+	dev-libs/libffi:=
+	ncurses? ( sys-libs/ncurses:= )
+"
+RDEPEND="${DEPEND}"
+
+# "mred" and "mzscheme" are binaries generated by Racket, not CC
+QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
+
+DOC_CONTENTS="
+If you wish to use sys-libs/readline instead of dev-libs/libedit
+for readline-like features in the Racket's REPL you can install
+the package 'readline-gpl' using raco, Racket's package manager
+https://pkgs.racket-lang.org/package/readline-gpl
+"
+
+# Package database files (for pkg_preinst & pkg_config)
+PKGDB=(
+	/usr/share/racket/info-cache.rktd
+	/usr/share/racket/links.rktd
+	/usr/share/racket/pkgs/pkgs.rktd
+)
+
+src_prepare() {
+	# Prepare the environment
+	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
+
+	default
+
+	# Remove bundled libffi
+	rm -r ./bc/foreign/libffi || die "failed to remove bundled libffi"
+}
+
+src_configure() {
+	# Libtool:
+	#   According to vapier, we should use the bundled libtool
+	#   such that we don't preclude cross-compile.
+	#   Thus don't use --enable-lt=/usr/bin/libtool
+	# Backend:
+	#   --enable-bc builds Racket w/o chez backend
+	# C Libraries:
+	#   --enable-libs & --disable-shared is the way to build
+	#   .a files that are needed to embed Racket into programs
+	#   https://docs.racket-lang.org/inside/cs-embedding.html
+	local myconf=(
+		--disable-shared
+		--disable-strip
+		--docdir="${EPREFIX}/usr/share/doc/${PF}"
+		--enable-libs
+		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
+		$(use_enable doc docs)
+		$(use_enable ncurses curses)
+	)
+	# Some options are togglable only for the BC version (are forced in CS)
+	! use chez && myconf+=(
+			--enable-float
+			--enable-foreign
+			--enable-gracket
+			--enable-libffi
+			$(use_enable futures)
+			$(use_enable jit)
+			$(use_enable places)
+			$(use_enable threads pthread)
+		)
+	econf "${myconf[@]}"
+}
+
+src_install() {
+	default
+
+	# Install Racket boot files
+	use chez && emake -C "${S}"/cs/c DESTDIR="${ED}" unix-install-boot-files
+
+	# raco needs decompressed files for packages doc installation bug 662424
+	use doc && docompress -x /usr/share/doc/${PF}
+
+	# Create missing desktop files and icon
+	if ! use minimal ; then
+		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" "racket.png"
+		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
+		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
+	fi
+
+	readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+	# If we are merging the same SLOT check if package
+	# database files exist and do not overwrite them
+	if has_version "${CATEGORY}/${PN}:${SLOT}" ; then
+		echo "We are installing the same SLOT: ${SLOT}"
+		local rktd
+		for rktd in "${PKGDB[@]}" ; do
+			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]] ; then
+				einfo "Keeping old file: ${rktd}"
+				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
+					die "failed to create a backup of ${rktd}"
+				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
+					die "failed to create a copy of ${rktd}"
+			fi
+		done
+	fi
+}
+
+pkg_postinst() {
+	# If we have any pkgs not included in Racket main distribution (outsiders),
+	# then we have to re-setup them or during installation other pkgs will want
+	# to recompile parts of "outsider" pkgs they depend upon (and fail).
+	local outsiders=( $(raco pkg show -i | grep 'link' | sed 's|link.*||g') )
+	if [[ -n "${outsiders[@]}" ]] ; then
+		ebegin "Running \"raco setup\" for outsider packages"
+		echo "Outsiders: ${outsiders[@]}"
+		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
+		eend 0  # do not fail
+	fi
+
+	optfeature "readline editing features in REPL" dev-libs/libedit
+	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+
+	readme.gentoo_print_elog
+}
+
+pkg_config() {
+	einfo "Swapping package database backup files"
+
+	for rktd in "${PKGDB[@]}" ; do
+		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
+		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
+		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
+	done
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-05-25  6:39 Ulrich Müller
  0 siblings, 0 replies; 110+ messages in thread
From: Ulrich Müller @ 2022-05-25  6:39 UTC (permalink / raw
  To: gentoo-commits

commit:     dfbac662fc6f372157e65f8ab6cbd9d48256fc21
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed May 25 06:11:00 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed May 25 06:14:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfbac662

dev-scheme/racket: Fix upstream remote-id in metadata

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/metadata.xml b/dev-scheme/racket/metadata.xml
index 8a10d666d3ee..3e1fa2366a15 100644
--- a/dev-scheme/racket/metadata.xml
+++ b/dev-scheme/racket/metadata.xml
@@ -17,7 +17,7 @@ Whether you're just starting out, want to know more about programming language a
   </longdescription>
   <upstream>
     <bugs-to>https://github.com/racket/racket/issues/</bugs-to>
-    <remote-id type="github">racket</remote-id>
+    <remote-id type="github">racket/racket</remote-id>
   </upstream>
   <use>
     <flag name="chez">


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-07-26 18:41 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2022-07-26 18:41 UTC (permalink / raw
  To: gentoo-commits

commit:     d709144b8d1dc16bb10941fa6ac03a551f0894da
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 26 18:39:41 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 26 18:39:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d709144b

dev-scheme/racket: Stabilize 8.5 x86, #861173

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

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

diff --git a/dev-scheme/racket/racket-8.5.ebuild b/dev-scheme/racket/racket-8.5.ebuild
index 51250aac50a5..3f624b63833c 100644
--- a/dev-scheme/racket/racket-8.5.ebuild
+++ b/dev-scheme/racket/racket-8.5.ebuild
@@ -24,7 +24,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="+chez +doc +futures +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-07-26 18:41 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2022-07-26 18:41 UTC (permalink / raw
  To: gentoo-commits

commit:     3e0a7354a2c785e613da285c705ba64e495a0ed5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 26 18:39:04 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 26 18:39:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e0a7354

dev-scheme/racket: Stabilize 8.5 amd64, #861173

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

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

diff --git a/dev-scheme/racket/racket-8.5.ebuild b/dev-scheme/racket/racket-8.5.ebuild
index f501621d6d0e..51250aac50a5 100644
--- a/dev-scheme/racket/racket-8.5.ebuild
+++ b/dev-scheme/racket/racket-8.5.ebuild
@@ -24,7 +24,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="+chez +doc +futures +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-08-07 16:24 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2022-08-07 16:24 UTC (permalink / raw
  To: gentoo-commits

commit:     3d31025c5cb7da8d8d531a920a4d6d114b73aeb7
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  7 12:14:14 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Aug  7 16:24:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d31025c

dev-scheme/racket: bump to 8.6

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

 dev-scheme/racket/Manifest          |   2 +
 dev-scheme/racket/racket-8.6.ebuild | 183 ++++++++++++++++++++++++++++++++++++
 2 files changed, 185 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index ff146f0d5f93..59759de5fdd1 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -2,7 +2,9 @@ DIST racket-8.2-src-builtpkgs.tgz 150467561 BLAKE2B 5005aa852b089becd9d6da136a55
 DIST racket-8.3-src-builtpkgs.tgz 150608486 BLAKE2B f002934c07afab4152ad8395c4ab5c6c87ef810f5cf79cf5ae0b41f4caa4508e0044f4246812513def14130d507af57aa61efaff8106eaeac0b86918bd775902 SHA512 7c340f65d221343beb2b4205cdc58648bd65dceabdb16f40cda425474faa905f4dd441193dc6cd4856f7863fb83834721394d6888027db356f830eceb127dbae
 DIST racket-8.4-src-builtpkgs.tgz 151809822 BLAKE2B c42f7943975a6f91a03ef0f668d218571dfc4159eac5a5722b9513b978413a9617b4e1bf3ccabef051014311ecf51fdc80d7563942e9e645c442ddfc4995a308 SHA512 afd9f357673a28ac5e4529ea0879a4edc3dbffc5b8627aa3553f1caf867be3296b94620dc2d86b8bb3f0c7ec7743d0057ce897c5caa705e02f2cc469ce4c7116
 DIST racket-8.5-src-builtpkgs.tgz 152548446 BLAKE2B ef914d742b3b949ecd7a1f817900add3ede874d7bd4dbe195c2ab69826d938c3ac81b883bc57d938908bc1f9e96faeaa25cb4dedf85288c580b7a89d62ec970a SHA512 4714599cbe10247cad119cc4073d80329d77c845d92b3741d35a9c88cc6395dc3d6f08ace8f606c3e39840f7071789ea953e3b6548da04fd7dfaa72a4368a7ae
+DIST racket-8.6-src-builtpkgs.tgz 154505661 BLAKE2B ab788ae3e5175024ec75fa0c34297616ab4dcc1bb6f62d4ff4623dc2dd699d63eb9b24238407a854b03210f21fefd02680dc29931ed9d146920ae32472196e32 SHA512 c2948164463fb59a2d6f1b5188cee7634da190ea40bd19f5a88ef466ccdf07da03503b6a1f00e327a66c31b862048bcd5b047f7c586ea0d26e23397ee5ee7682
 DIST racket-minimal-8.2-src-builtpkgs.tgz 21187959 BLAKE2B 0f62a900e71ee101fa3acf0985b0a72215ac657285c5ce9e4f5f49189180b82dcca94ded9778b7ba92a42919f17b1dc24eec07e13c64c77e47fc958614d7dc0a SHA512 04950703fa73cdbbb10c234d57c89e70db6076b42d4a74ddb8cace9e0438b9a1431f7317baf31d667368ad75ae19e4eecec39667ba0c5b08a3580f8cc81f4f5e
 DIST racket-minimal-8.3-src-builtpkgs.tgz 21212037 BLAKE2B 76a742efe7ba2c44eb935d4852c20be355ccff9b935b39226ef1935184b0a9179ef6ca2ac0a64f3c7a6ae4a0082117a12c668d7804a0b73b9f1a391eaba61994 SHA512 3cab4a24cab5c1ac107c8aead2ada6fa3ec7d7aa122716c78af584f055dadf89497168e95b36d99115ecd1a1905dc1ec51774dd2c8099198ec7d6aa9d380039d
 DIST racket-minimal-8.4-src-builtpkgs.tgz 21279666 BLAKE2B 25d5eb405cedaa9cadfa776c4dd66b87f1641c86b638110f1a3a788465aaf573f5f8054e1e6913e6c0123840a1a2f64d5855db5f52acace3475b91d095272a76 SHA512 92433c08508cfb1bdb9093e5c7c726630826e9046de02fcb3d402f3dd76aa98fc2d9a5d09515d44e7a50eab0e38d963d2202f48a44741c3cf7fe8e47d9404e63
 DIST racket-minimal-8.5-src-builtpkgs.tgz 21390850 BLAKE2B 7bcd8c409203f71b3a49cd7e4a34159ef62fcc61b8fb66e976bfc0938ac54b7bc475e6aff59796b9c01ee324eb0d88bd68340c787f728a3739a57e879e731bfb SHA512 e0dec1038f33dbe3dfbbeba05cb24829e4b0c4223c5326cd26f920c736171e3b47b457236a06c9c57b6ebc82d17b022fba6558e3c94315b75469a2130b6fd375
+DIST racket-minimal-8.6-src-builtpkgs.tgz 22396113 BLAKE2B e8c09da9aef52566746def36823e736e07990ba703d8440a3d067cbeeb43c8d026469c1d4b7d9ad2a423766692b81d6efa400c55512450621acd624d23b1b193 SHA512 695f9be11cab2cf84d1c16b322feb6c4552bf05edbfd901e91fa9532ef52339a6463d8327f4ae4c704cd2e8d67e69c2333bc13b1c862bbe565af00b407debee8

diff --git a/dev-scheme/racket/racket-8.6.ebuild b/dev-scheme/racket/racket-8.6.ebuild
new file mode 100644
index 000000000000..40e8ef89c417
--- /dev/null
+++ b/dev-scheme/racket/racket-8.6.ebuild
@@ -0,0 +1,183 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop optfeature toolchain-funcs readme.gentoo-r1
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="https://racket-lang.org/"
+SRC_URI="
+	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
+	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
+"
+S="${WORKDIR}"/${P}/src
+
+# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
+LICENSE="
+	|| ( MIT Apache-2.0 )
+	chez? ( Apache-2.0 )
+	!chez? ( LGPL-3 )
+"
+# Bytecode generated by Racket is not compatible between versions.
+# The bytecode version should be denoted by SLOT, in most cases
+# PV == SLOT but this has to be checked carefully and in cases
+# where we use _p, _pre, etc it will have to be set manually.
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
+# See bug #809785 re chez/threads
+REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
+
+DEPEND="
+	!dev-tex/slatex
+	dev-db/sqlite:3
+	dev-libs/libffi:=
+	ncurses? ( sys-libs/ncurses:= )
+"
+RDEPEND="${DEPEND}"
+
+# "mred" and "mzscheme" are binaries generated by Racket, not CC
+QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
+
+DOC_CONTENTS="
+If you wish to use sys-libs/readline instead of dev-libs/libedit
+for readline-like features in the Racket's REPL you can install
+the package 'readline-gpl' using raco, Racket's package manager
+https://pkgs.racket-lang.org/package/readline-gpl
+"
+
+# Package database files (for pkg_preinst & pkg_config)
+PKGDB=(
+	/usr/share/racket/info-cache.rktd
+	/usr/share/racket/links.rktd
+	/usr/share/racket/pkgs/pkgs.rktd
+)
+
+src_prepare() {
+	# Prepare the environment.
+	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
+
+	default
+
+	# Remove bundled libffi.
+	rm -r ./bc/foreign/libffi || die "failed to remove bundled libffi"
+}
+
+src_configure() {
+	# Compilation of Zuo does not respect the autoconf configuration.
+	tc-export CC
+
+	# Configure Zuo.
+	pushd "${S}"/zuo >/dev/null || die
+	econf
+	popd >/dev/null || die
+
+	# Configure Racket.
+	# Libtool:
+	#   According to vapier, we should use the bundled libtool
+	#   such that we don't preclude cross-compile.
+	#   Thus don't use --enable-lt=/usr/bin/libtool
+	# Backend:
+	#   --enable-bc builds Racket w/o chez backend
+	# C Libraries:
+	#   --enable-libs & --disable-shared is the way to build
+	#   .a files that are needed to embed Racket into programs
+	#   https://docs.racket-lang.org/inside/cs-embedding.html
+	local myconf=(
+		--disable-shared
+		--disable-strip
+		--docdir="${EPREFIX}"/usr/share/doc/${PF}
+		--enable-libs
+		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
+		$(use_enable doc docs)
+		$(use_enable iconv)
+		$(use_enable ncurses curses)
+	)
+	# Some options are togglable only for the BC version (are forced in CS)
+	! use chez && myconf+=(
+			--enable-float
+			--enable-foreign
+			--enable-gracket
+			--enable-libffi
+			$(use_enable futures)
+			$(use_enable jit)
+			$(use_enable places)
+			$(use_enable threads pthread)
+		)
+	econf "${myconf[@]}"
+}
+
+src_compile() {
+	# Compile Racket.
+	CC_FOR_BUILD="$(tc-getCC)" default
+
+	# Recompile Zuo with optimizations.
+	emake -C zuo
+}
+
+src_install() {
+	# Install Racket.
+	default
+
+	# Install Zuo.
+	emake -C zuo DESTDIR="${ED}" install
+
+	# raco needs decompressed files for packages doc installation, bug #662424
+	use doc && docompress -x /usr/share/doc/${PF}
+
+	# Create missing desktop files and icon.
+	if ! use minimal ; then
+		newicon "${ED}"/usr/share/racket/drracket-exe-icon.png racket.png
+		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
+		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
+	fi
+
+	readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+	# If we are merging the same SLOT check if package
+	# database files exist and do not overwrite them
+	if has_version ${CATEGORY}/${PN}:${SLOT} ; then
+		echo "We are installing the same SLOT: ${SLOT}"
+		local rktd
+		for rktd in "${PKGDB[@]}" ; do
+			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]] ; then
+				einfo "Keeping old file: ${rktd}"
+				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
+					die "failed to create a backup of ${rktd}"
+				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
+					die "failed to create a copy of ${rktd}"
+			fi
+		done
+	fi
+}
+
+pkg_postinst() {
+	# If we have any pkgs not included in Racket main distribution (outsiders),
+	# then we have to re-setup them or during installation other pkgs will want
+	# to recompile parts of "outsider" pkgs they depend upon (and fail).
+	local outsiders=( $(raco pkg show -i | grep 'link' | sed 's|link.*||g') )
+	if [[ -n "${outsiders[@]}" ]] ; then
+		ebegin "Running \"raco setup\" for outsider packages"
+		echo "Outsiders: ${outsiders[@]}"
+		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
+		eend 0  # do not fail
+	fi
+
+	optfeature "readline editing features in REPL" dev-libs/libedit
+	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+
+	readme.gentoo_print_elog
+}
+
+pkg_config() {
+	einfo "Swapping package database backup files"
+
+	for rktd in "${PKGDB[@]}" ; do
+		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
+		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
+		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
+	done
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-08-07 16:24 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2022-08-07 16:24 UTC (permalink / raw
  To: gentoo-commits

commit:     43a1ef191259990dedbd3352fc5d9077224acfc2
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  7 12:14:59 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Aug  7 16:24:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43a1ef19

dev-scheme/racket: drop old 8.2-r3

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

 dev-scheme/racket/Manifest             |   2 -
 dev-scheme/racket/racket-8.2-r3.ebuild | 187 ---------------------------------
 2 files changed, 189 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 59759de5fdd1..11423611d777 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,9 +1,7 @@
-DIST racket-8.2-src-builtpkgs.tgz 150467561 BLAKE2B 5005aa852b089becd9d6da136a55a035ac5fd86bd1ad186ec30cdcf411927d444e1814797d63dbde3eb7b52bba7756e0464edf1d854d2ee7f5851caaae18ba55 SHA512 9e4c0cabfcbdb8c8742e8170548bee58021697e8b0842f575f94193db31adc04a7b9023ed8fd70dae197e5ec6f1aee7985d849be3ce5b4279f216e900ee143c7
 DIST racket-8.3-src-builtpkgs.tgz 150608486 BLAKE2B f002934c07afab4152ad8395c4ab5c6c87ef810f5cf79cf5ae0b41f4caa4508e0044f4246812513def14130d507af57aa61efaff8106eaeac0b86918bd775902 SHA512 7c340f65d221343beb2b4205cdc58648bd65dceabdb16f40cda425474faa905f4dd441193dc6cd4856f7863fb83834721394d6888027db356f830eceb127dbae
 DIST racket-8.4-src-builtpkgs.tgz 151809822 BLAKE2B c42f7943975a6f91a03ef0f668d218571dfc4159eac5a5722b9513b978413a9617b4e1bf3ccabef051014311ecf51fdc80d7563942e9e645c442ddfc4995a308 SHA512 afd9f357673a28ac5e4529ea0879a4edc3dbffc5b8627aa3553f1caf867be3296b94620dc2d86b8bb3f0c7ec7743d0057ce897c5caa705e02f2cc469ce4c7116
 DIST racket-8.5-src-builtpkgs.tgz 152548446 BLAKE2B ef914d742b3b949ecd7a1f817900add3ede874d7bd4dbe195c2ab69826d938c3ac81b883bc57d938908bc1f9e96faeaa25cb4dedf85288c580b7a89d62ec970a SHA512 4714599cbe10247cad119cc4073d80329d77c845d92b3741d35a9c88cc6395dc3d6f08ace8f606c3e39840f7071789ea953e3b6548da04fd7dfaa72a4368a7ae
 DIST racket-8.6-src-builtpkgs.tgz 154505661 BLAKE2B ab788ae3e5175024ec75fa0c34297616ab4dcc1bb6f62d4ff4623dc2dd699d63eb9b24238407a854b03210f21fefd02680dc29931ed9d146920ae32472196e32 SHA512 c2948164463fb59a2d6f1b5188cee7634da190ea40bd19f5a88ef466ccdf07da03503b6a1f00e327a66c31b862048bcd5b047f7c586ea0d26e23397ee5ee7682
-DIST racket-minimal-8.2-src-builtpkgs.tgz 21187959 BLAKE2B 0f62a900e71ee101fa3acf0985b0a72215ac657285c5ce9e4f5f49189180b82dcca94ded9778b7ba92a42919f17b1dc24eec07e13c64c77e47fc958614d7dc0a SHA512 04950703fa73cdbbb10c234d57c89e70db6076b42d4a74ddb8cace9e0438b9a1431f7317baf31d667368ad75ae19e4eecec39667ba0c5b08a3580f8cc81f4f5e
 DIST racket-minimal-8.3-src-builtpkgs.tgz 21212037 BLAKE2B 76a742efe7ba2c44eb935d4852c20be355ccff9b935b39226ef1935184b0a9179ef6ca2ac0a64f3c7a6ae4a0082117a12c668d7804a0b73b9f1a391eaba61994 SHA512 3cab4a24cab5c1ac107c8aead2ada6fa3ec7d7aa122716c78af584f055dadf89497168e95b36d99115ecd1a1905dc1ec51774dd2c8099198ec7d6aa9d380039d
 DIST racket-minimal-8.4-src-builtpkgs.tgz 21279666 BLAKE2B 25d5eb405cedaa9cadfa776c4dd66b87f1641c86b638110f1a3a788465aaf573f5f8054e1e6913e6c0123840a1a2f64d5855db5f52acace3475b91d095272a76 SHA512 92433c08508cfb1bdb9093e5c7c726630826e9046de02fcb3d402f3dd76aa98fc2d9a5d09515d44e7a50eab0e38d963d2202f48a44741c3cf7fe8e47d9404e63
 DIST racket-minimal-8.5-src-builtpkgs.tgz 21390850 BLAKE2B 7bcd8c409203f71b3a49cd7e4a34159ef62fcc61b8fb66e976bfc0938ac54b7bc475e6aff59796b9c01ee324eb0d88bd68340c787f728a3739a57e879e731bfb SHA512 e0dec1038f33dbe3dfbbeba05cb24829e4b0c4223c5326cd26f920c736171e3b47b457236a06c9c57b6ebc82d17b022fba6558e3c94315b75469a2130b6fd375

diff --git a/dev-scheme/racket/racket-8.2-r3.ebuild b/dev-scheme/racket/racket-8.2-r3.ebuild
deleted file mode 100644
index 41e0c43edd56..000000000000
--- a/dev-scheme/racket/racket-8.2-r3.ebuild
+++ /dev/null
@@ -1,187 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop optfeature readme.gentoo-r1 xdg-utils
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/"
-SRC_URI="
-	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
-	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
-"
-S="${WORKDIR}/${P}/src"
-
-# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
-LICENSE="
-	|| ( MIT Apache-2.0 )
-	chez? ( Apache-2.0 )
-	!chez? ( LGPL-3 )
-"
-# Bytecode generated by Racket is not compatible between versions.
-# The bytecode version should be denoted by SLOT, in most cases
-# PV == SLOT but this has to be checked carefully and in cases
-# where we use _p, _pre, etc it will have to be set manually.
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
-IUSE="X +chez +doc +futures +jit minimal +places +threads"
-# See bug #809785 re chez/threads
-REQUIRED_USE="futures? ( jit threads ) chez? ( threads ) places? ( threads )"
-
-DEPEND="
-	!dev-tex/slatex
-	dev-db/sqlite:3
-	dev-libs/libffi:=
-	X? (
-		dev-util/desktop-file-utils
-		media-libs/libpng:0
-		virtual/jpeg:0
-		x11-libs/cairo[X]
-		x11-libs/gtk+:3[X]
-		x11-libs/pango[X]
-		x11-misc/shared-mime-info
-	)
-"
-RDEPEND="${DEPEND}"
-
-# "mred" and "mzscheme" are binaries generated by Racket, not CC
-QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
-
-# Backports that will be probably available in 8.3 release
-PATCHES=(
-	# Prevent "libracket3m" from being stripped
-	# https://github.com/racket/racket/commit/92d202060201f569fafc348c4f64a2965b55287f
-	"${FILESDIR}/Makefile-nostrip.patch"
-	# Fix "starter" LDFLAGS
-	# https://github.com/racket/racket/commit/4f0e1703979d704c4f91b009945c324450acec7a
-	"${FILESDIR}/Makefile-starter.patch"
-)
-
-DOC_CONTENTS="
-If you wish to use sys-libs/readline instead of dev-libs/libedit
-for readline-like features in the Racket's REPL you can install
-the package 'readline-gpl' using raco, Racket's package manager
-https://pkgs.racket-lang.org/package/readline-gpl
-"
-
-# Package database files
-PKGDB=(
-	/usr/share/racket/info-cache.rktd
-	/usr/share/racket/links.rktd
-	/usr/share/racket/pkgs/pkgs.rktd
-)
-
-post_X_update() {
-	if use X && ! use minimal; then
-		xdg_desktop_database_update
-		xdg_icon_cache_update
-	fi
-}
-
-src_prepare() {
-	# Prepare environment
-	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
-	xdg_environment_reset
-
-	default
-
-	# Remove bundled libffi
-	rm -r ./bc/foreign/libffi || die "failed to remove bundled libffi"
-}
-
-src_configure() {
-	# Libtool:
-	#   According to vapier, we should use the bundled libtool
-	#   such that we don't preclude cross-compile.
-	#   Thus don't use --enable-lt=/usr/bin/libtool
-	# Backend:
-	#   --enable-bc builds Racket w/o chez backend
-	# C Libraries:
-	#   --enable-libs & --disable-shared is the way to build
-	#   .a files that are needed to embed Racket into programs
-	#   https://docs.racket-lang.org/inside/cs-embedding.html
-	local myconf=(
-		--disable-shared
-		--disable-strip
-		--docdir="${EPREFIX}/usr/share/doc/${PF}"
-		--enable-float
-		--enable-foreign
-		--enable-libffi
-		--enable-libs
-		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
-		$(use_enable X gracket)
-		$(use_enable doc docs)
-		$(use_enable futures)
-		$(use_enable jit)
-		$(use_enable places)
-		$(use_enable threads pthread)
-	)
-	econf "${myconf[@]}"
-}
-
-src_install() {
-	default
-
-	# Install Racket boot files
-	if use chez; then
-		pushd "${S}"/cs/c || die
-		emake DESTDIR="${ED}" unix-install-boot-files
-		popd || die
-	fi
-
-	# raco needs decompressed files for packages doc installation bug 662424
-	if use doc; then
-		docompress -x /usr/share/doc/${PF}
-	fi
-
-	# Create missing desktop files and icon
-	if use X && ! use minimal; then
-		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" "racket.png"
-		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
-		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
-	fi
-
-	readme.gentoo_create_doc
-}
-
-pkg_preinst() {
-	# If we are merging the same SLOT check if package
-	# database files exist and do not overwrite them
-	if has_version "${CATEGORY}/${PN}:${SLOT}"; then
-		echo "We are installing the same SLOT: ${SLOT}"
-		local rktd
-		for rktd in "${PKGDB[@]}"; do
-			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]]; then
-				einfo "Keeping old file: ${rktd}"
-				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
-					die "failed to create a backup of ${rktd}"
-				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
-					die "failed to create a copy of ${rktd}"
-			fi
-		done
-	fi
-}
-
-pkg_postinst() {
-	post_X_update
-
-	optfeature "readline editing features in REPL" dev-libs/libedit
-	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
-
-	readme.gentoo_print_elog
-}
-
-pkg_postrm() {
-	post_X_update
-}
-
-pkg_config() {
-	einfo "Swapping package database backup files"
-
-	for rktd in "${PKGDB[@]}"; do
-		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
-		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
-		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
-	done
-}


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

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

commit:     670016bdfc56abfa1e11915270c8d1a9c2afce48
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 13 13:16:57 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Nov 13 14:08:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=670016bd

dev-scheme/racket: bump to 8.7

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

 dev-scheme/racket/Manifest          |   2 +
 dev-scheme/racket/racket-8.7.ebuild | 184 ++++++++++++++++++++++++++++++++++++
 2 files changed, 186 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 11423611d777..89e5ee8ec8c4 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -2,7 +2,9 @@ DIST racket-8.3-src-builtpkgs.tgz 150608486 BLAKE2B f002934c07afab4152ad8395c4ab
 DIST racket-8.4-src-builtpkgs.tgz 151809822 BLAKE2B c42f7943975a6f91a03ef0f668d218571dfc4159eac5a5722b9513b978413a9617b4e1bf3ccabef051014311ecf51fdc80d7563942e9e645c442ddfc4995a308 SHA512 afd9f357673a28ac5e4529ea0879a4edc3dbffc5b8627aa3553f1caf867be3296b94620dc2d86b8bb3f0c7ec7743d0057ce897c5caa705e02f2cc469ce4c7116
 DIST racket-8.5-src-builtpkgs.tgz 152548446 BLAKE2B ef914d742b3b949ecd7a1f817900add3ede874d7bd4dbe195c2ab69826d938c3ac81b883bc57d938908bc1f9e96faeaa25cb4dedf85288c580b7a89d62ec970a SHA512 4714599cbe10247cad119cc4073d80329d77c845d92b3741d35a9c88cc6395dc3d6f08ace8f606c3e39840f7071789ea953e3b6548da04fd7dfaa72a4368a7ae
 DIST racket-8.6-src-builtpkgs.tgz 154505661 BLAKE2B ab788ae3e5175024ec75fa0c34297616ab4dcc1bb6f62d4ff4623dc2dd699d63eb9b24238407a854b03210f21fefd02680dc29931ed9d146920ae32472196e32 SHA512 c2948164463fb59a2d6f1b5188cee7634da190ea40bd19f5a88ef466ccdf07da03503b6a1f00e327a66c31b862048bcd5b047f7c586ea0d26e23397ee5ee7682
+DIST racket-8.7-src-builtpkgs.tgz 156337131 BLAKE2B a323683b6fd6d39473ab3eaeea24d175e12f8e36b9103849ec0730757b9c3d32f2e84ab8a9bde7fa834e2c6cf709e2531ab15e36e2694c5843b3b0bb41e909f8 SHA512 4c01001be49271e5536d24257c36bc57b16ff2cbf14eb59208b2939f4d14b5f58028cd1f643d49497eb8bffa84e5847f761171c951e006c278cf5d8ffafdd73e
 DIST racket-minimal-8.3-src-builtpkgs.tgz 21212037 BLAKE2B 76a742efe7ba2c44eb935d4852c20be355ccff9b935b39226ef1935184b0a9179ef6ca2ac0a64f3c7a6ae4a0082117a12c668d7804a0b73b9f1a391eaba61994 SHA512 3cab4a24cab5c1ac107c8aead2ada6fa3ec7d7aa122716c78af584f055dadf89497168e95b36d99115ecd1a1905dc1ec51774dd2c8099198ec7d6aa9d380039d
 DIST racket-minimal-8.4-src-builtpkgs.tgz 21279666 BLAKE2B 25d5eb405cedaa9cadfa776c4dd66b87f1641c86b638110f1a3a788465aaf573f5f8054e1e6913e6c0123840a1a2f64d5855db5f52acace3475b91d095272a76 SHA512 92433c08508cfb1bdb9093e5c7c726630826e9046de02fcb3d402f3dd76aa98fc2d9a5d09515d44e7a50eab0e38d963d2202f48a44741c3cf7fe8e47d9404e63
 DIST racket-minimal-8.5-src-builtpkgs.tgz 21390850 BLAKE2B 7bcd8c409203f71b3a49cd7e4a34159ef62fcc61b8fb66e976bfc0938ac54b7bc475e6aff59796b9c01ee324eb0d88bd68340c787f728a3739a57e879e731bfb SHA512 e0dec1038f33dbe3dfbbeba05cb24829e4b0c4223c5326cd26f920c736171e3b47b457236a06c9c57b6ebc82d17b022fba6558e3c94315b75469a2130b6fd375
 DIST racket-minimal-8.6-src-builtpkgs.tgz 22396113 BLAKE2B e8c09da9aef52566746def36823e736e07990ba703d8440a3d067cbeeb43c8d026469c1d4b7d9ad2a423766692b81d6efa400c55512450621acd624d23b1b193 SHA512 695f9be11cab2cf84d1c16b322feb6c4552bf05edbfd901e91fa9532ef52339a6463d8327f4ae4c704cd2e8d67e69c2333bc13b1c862bbe565af00b407debee8
+DIST racket-minimal-8.7-src-builtpkgs.tgz 22795747 BLAKE2B 3f0194ffff3f3a9ea383ddd6c447a8d56d8cf4fb029c77bf9e8733570ca59244afd321541e7506ca11bc8b09f4c56dd3e26cd01d22caa7f3f36bd5af29c861a6 SHA512 b60472160b41a070a4aa74265e6319da4e80c6e58ac3152a30dfa3398f457c6579384de62b66dcb7a7ead68f72f787c41eae65325cdc1ae928b54a90d0a25f05

diff --git a/dev-scheme/racket/racket-8.7.ebuild b/dev-scheme/racket/racket-8.7.ebuild
new file mode 100644
index 000000000000..6cd3f9300d24
--- /dev/null
+++ b/dev-scheme/racket/racket-8.7.ebuild
@@ -0,0 +1,184 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop optfeature toolchain-funcs readme.gentoo-r1
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="https://racket-lang.org/
+	https://github.com/racket/racket/"
+SRC_URI="
+	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
+	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
+"
+S="${WORKDIR}"/${P}/src
+
+# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
+LICENSE="
+	|| ( MIT Apache-2.0 )
+	chez? ( Apache-2.0 )
+	!chez? ( LGPL-3 )
+"
+# Bytecode generated by Racket is not compatible between versions.
+# The bytecode version should be denoted by SLOT, in most cases
+# PV == SLOT but this has to be checked carefully and in cases
+# where we use _p, _pre, etc it will have to be set manually.
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
+# See bug #809785 re chez/threads
+REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
+
+RDEPEND="
+	!dev-tex/slatex
+	dev-db/sqlite:3
+	dev-libs/libffi:=
+	ncurses? ( sys-libs/ncurses:= )
+"
+DEPEND="${RDEPEND}"
+
+# "mred" and "mzscheme" are binaries generated by Racket, not CC
+QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
+
+DOC_CONTENTS="
+If you wish to use sys-libs/readline instead of dev-libs/libedit
+for readline-like features in the Racket's REPL you can install
+the package 'readline-gpl' using raco, Racket's package manager
+https://pkgs.racket-lang.org/package/readline-gpl
+"
+
+# Package database files (for pkg_preinst & pkg_config)
+PKGDB=(
+	/usr/share/racket/info-cache.rktd
+	/usr/share/racket/links.rktd
+	/usr/share/racket/pkgs/pkgs.rktd
+)
+
+src_prepare() {
+	# Prepare the environment.
+	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
+
+	default
+
+	# Remove bundled libffi.
+	rm -r "${S}"/bc/foreign/libffi || die "failed to remove bundled libffi"
+}
+
+src_configure() {
+	# Compilation of Zuo does not respect the autoconf configuration.
+	tc-export CC
+
+	# Configure Zuo.
+	pushd "${S}"/zuo >/dev/null || die
+	econf
+	popd >/dev/null || die
+
+	# Configure Racket.
+	# Libtool:
+	#   According to vapier, we should use the bundled libtool
+	#   such that we don't preclude cross-compile.
+	#   Thus don't use --enable-lt=/usr/bin/libtool
+	# Backend:
+	#   --enable-bc builds Racket w/o chez backend
+	# C Libraries:
+	#   --enable-libs & --disable-shared is the way to build
+	#   .a files that are needed to embed Racket into programs
+	#   https://docs.racket-lang.org/inside/cs-embedding.html
+	local myconf=(
+		--disable-shared
+		--disable-strip
+		--docdir="${EPREFIX}"/usr/share/doc/${PF}
+		--enable-libs
+		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
+		$(use_enable doc docs)
+		$(use_enable iconv)
+		$(use_enable ncurses curses)
+	)
+	# Some options are togglable only for the BC version (are forced in CS)
+	! use chez && myconf+=(
+			--enable-float
+			--enable-foreign
+			--enable-gracket
+			--enable-libffi
+			$(use_enable futures)
+			$(use_enable jit)
+			$(use_enable places)
+			$(use_enable threads pthread)
+		)
+	econf "${myconf[@]}"
+}
+
+src_compile() {
+	# Compile Racket.
+	CC_FOR_BUILD="$(tc-getCC)" default
+
+	# Recompile Zuo with optimizations.
+	emake -C zuo
+}
+
+src_install() {
+	# Install Racket.
+	default
+
+	# Install Zuo.
+	emake -C zuo DESTDIR="${ED}" install
+
+	# raco needs decompressed files for packages doc installation, bug #662424
+	use doc && docompress -x /usr/share/doc/${PF}
+
+	# Create missing desktop files and icon.
+	if ! use minimal ; then
+		newicon "${ED}"/usr/share/racket/drracket-exe-icon.png racket.png
+		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
+		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
+	fi
+
+	readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+	# If we are merging the same SLOT check if package
+	# database files exist and do not overwrite them
+	if has_version ${CATEGORY}/${PN}:${SLOT} ; then
+		echo "We are installing the same SLOT: ${SLOT}"
+		local rktd
+		for rktd in "${PKGDB[@]}" ; do
+			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]] ; then
+				einfo "Keeping old file: ${rktd}"
+				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
+					die "failed to create a backup of ${rktd}"
+				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
+					die "failed to create a copy of ${rktd}"
+			fi
+		done
+	fi
+}
+
+pkg_postinst() {
+	# If we have any pkgs not included in Racket main distribution (outsiders),
+	# then we have to re-setup them or during installation other pkgs will want
+	# to recompile parts of "outsider" pkgs they depend upon (and fail).
+	local outsiders=( $(raco pkg show -i | grep 'link' | sed 's|link.*||g') )
+	if [[ -n "${outsiders[@]}" ]] ; then
+		ebegin "Running \"raco setup\" for outsider packages"
+		echo "Outsiders: ${outsiders[@]}"
+		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
+		eend 0  # do not fail
+	fi
+
+	optfeature "readline editing features in REPL" dev-libs/libedit
+	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+
+	readme.gentoo_print_elog
+}
+
+pkg_config() {
+	einfo "Swapping package database backup files"
+
+	for rktd in "${PKGDB[@]}" ; do
+		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
+		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
+		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
+	done
+}


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

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

commit:     e02666bb5ab860f8359b3bc75340a415d174d4ad
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 13 13:18:58 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Nov 13 14:08:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e02666bb

dev-scheme/racket: drop old 8.3-r3

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

 dev-scheme/racket/Manifest             |   2 -
 dev-scheme/racket/racket-8.3-r3.ebuild | 157 ---------------------------------
 2 files changed, 159 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 89e5ee8ec8c4..9c0918b515d1 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,9 +1,7 @@
-DIST racket-8.3-src-builtpkgs.tgz 150608486 BLAKE2B f002934c07afab4152ad8395c4ab5c6c87ef810f5cf79cf5ae0b41f4caa4508e0044f4246812513def14130d507af57aa61efaff8106eaeac0b86918bd775902 SHA512 7c340f65d221343beb2b4205cdc58648bd65dceabdb16f40cda425474faa905f4dd441193dc6cd4856f7863fb83834721394d6888027db356f830eceb127dbae
 DIST racket-8.4-src-builtpkgs.tgz 151809822 BLAKE2B c42f7943975a6f91a03ef0f668d218571dfc4159eac5a5722b9513b978413a9617b4e1bf3ccabef051014311ecf51fdc80d7563942e9e645c442ddfc4995a308 SHA512 afd9f357673a28ac5e4529ea0879a4edc3dbffc5b8627aa3553f1caf867be3296b94620dc2d86b8bb3f0c7ec7743d0057ce897c5caa705e02f2cc469ce4c7116
 DIST racket-8.5-src-builtpkgs.tgz 152548446 BLAKE2B ef914d742b3b949ecd7a1f817900add3ede874d7bd4dbe195c2ab69826d938c3ac81b883bc57d938908bc1f9e96faeaa25cb4dedf85288c580b7a89d62ec970a SHA512 4714599cbe10247cad119cc4073d80329d77c845d92b3741d35a9c88cc6395dc3d6f08ace8f606c3e39840f7071789ea953e3b6548da04fd7dfaa72a4368a7ae
 DIST racket-8.6-src-builtpkgs.tgz 154505661 BLAKE2B ab788ae3e5175024ec75fa0c34297616ab4dcc1bb6f62d4ff4623dc2dd699d63eb9b24238407a854b03210f21fefd02680dc29931ed9d146920ae32472196e32 SHA512 c2948164463fb59a2d6f1b5188cee7634da190ea40bd19f5a88ef466ccdf07da03503b6a1f00e327a66c31b862048bcd5b047f7c586ea0d26e23397ee5ee7682
 DIST racket-8.7-src-builtpkgs.tgz 156337131 BLAKE2B a323683b6fd6d39473ab3eaeea24d175e12f8e36b9103849ec0730757b9c3d32f2e84ab8a9bde7fa834e2c6cf709e2531ab15e36e2694c5843b3b0bb41e909f8 SHA512 4c01001be49271e5536d24257c36bc57b16ff2cbf14eb59208b2939f4d14b5f58028cd1f643d49497eb8bffa84e5847f761171c951e006c278cf5d8ffafdd73e
-DIST racket-minimal-8.3-src-builtpkgs.tgz 21212037 BLAKE2B 76a742efe7ba2c44eb935d4852c20be355ccff9b935b39226ef1935184b0a9179ef6ca2ac0a64f3c7a6ae4a0082117a12c668d7804a0b73b9f1a391eaba61994 SHA512 3cab4a24cab5c1ac107c8aead2ada6fa3ec7d7aa122716c78af584f055dadf89497168e95b36d99115ecd1a1905dc1ec51774dd2c8099198ec7d6aa9d380039d
 DIST racket-minimal-8.4-src-builtpkgs.tgz 21279666 BLAKE2B 25d5eb405cedaa9cadfa776c4dd66b87f1641c86b638110f1a3a788465aaf573f5f8054e1e6913e6c0123840a1a2f64d5855db5f52acace3475b91d095272a76 SHA512 92433c08508cfb1bdb9093e5c7c726630826e9046de02fcb3d402f3dd76aa98fc2d9a5d09515d44e7a50eab0e38d963d2202f48a44741c3cf7fe8e47d9404e63
 DIST racket-minimal-8.5-src-builtpkgs.tgz 21390850 BLAKE2B 7bcd8c409203f71b3a49cd7e4a34159ef62fcc61b8fb66e976bfc0938ac54b7bc475e6aff59796b9c01ee324eb0d88bd68340c787f728a3739a57e879e731bfb SHA512 e0dec1038f33dbe3dfbbeba05cb24829e4b0c4223c5326cd26f920c736171e3b47b457236a06c9c57b6ebc82d17b022fba6558e3c94315b75469a2130b6fd375
 DIST racket-minimal-8.6-src-builtpkgs.tgz 22396113 BLAKE2B e8c09da9aef52566746def36823e736e07990ba703d8440a3d067cbeeb43c8d026469c1d4b7d9ad2a423766692b81d6efa400c55512450621acd624d23b1b193 SHA512 695f9be11cab2cf84d1c16b322feb6c4552bf05edbfd901e91fa9532ef52339a6463d8327f4ae4c704cd2e8d67e69c2333bc13b1c862bbe565af00b407debee8

diff --git a/dev-scheme/racket/racket-8.3-r3.ebuild b/dev-scheme/racket/racket-8.3-r3.ebuild
deleted file mode 100644
index cc99f7caf28b..000000000000
--- a/dev-scheme/racket/racket-8.3-r3.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop optfeature readme.gentoo-r1
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/"
-SRC_URI="
-	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
-	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
-"
-S="${WORKDIR}/${P}/src"
-
-# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
-LICENSE="
-	|| ( MIT Apache-2.0 )
-	chez? ( Apache-2.0 )
-	!chez? ( LGPL-3 )
-"
-# Bytecode generated by Racket is not compatible between versions.
-# The bytecode version should be denoted by SLOT, in most cases
-# PV == SLOT but this has to be checked carefully and in cases
-# where we use _p, _pre, etc it will have to be set manually.
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
-IUSE="+chez +doc +futures +jit minimal +places +threads"
-# See bug #809785 re chez/threads
-REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
-
-DEPEND="
-	!dev-tex/slatex
-	dev-db/sqlite:3
-	dev-libs/libffi:=
-"
-RDEPEND="${DEPEND}"
-
-# "mred" and "mzscheme" are binaries generated by Racket, not CC
-QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
-
-DOC_CONTENTS="
-If you wish to use sys-libs/readline instead of dev-libs/libedit
-for readline-like features in the Racket's REPL you can install
-the package 'readline-gpl' using raco, Racket's package manager
-https://pkgs.racket-lang.org/package/readline-gpl
-"
-
-# Package database files (for pkg_preinst & pkg_config)
-PKGDB=(
-	/usr/share/racket/info-cache.rktd
-	/usr/share/racket/links.rktd
-	/usr/share/racket/pkgs/pkgs.rktd
-)
-
-src_prepare() {
-	# Prepare the environment
-	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
-
-	default
-
-	# Remove bundled libffi
-	rm -r ./bc/foreign/libffi || die "failed to remove bundled libffi"
-}
-
-src_configure() {
-	# Libtool:
-	#   According to vapier, we should use the bundled libtool
-	#   such that we don't preclude cross-compile.
-	#   Thus don't use --enable-lt=/usr/bin/libtool
-	# Backend:
-	#   --enable-bc builds Racket w/o chez backend
-	# C Libraries:
-	#   --enable-libs & --disable-shared is the way to build
-	#   .a files that are needed to embed Racket into programs
-	#   https://docs.racket-lang.org/inside/cs-embedding.html
-	local myconf=(
-		--disable-shared
-		--disable-strip
-		--docdir="${EPREFIX}/usr/share/doc/${PF}"
-		--enable-libs
-		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
-		$(use_enable doc docs)
-	)
-	# Some options are togglable only for the BC version (are forced in CS)
-	! use chez && myconf+=(
-			--enable-float
-			--enable-foreign
-			--enable-gracket
-			--enable-libffi
-			$(use_enable futures)
-			$(use_enable jit)
-			$(use_enable places)
-			$(use_enable threads pthread)
-		)
-	econf "${myconf[@]}"
-}
-
-src_install() {
-	default
-
-	# Install Racket boot files
-	if use chez; then
-		pushd "${S}"/cs/c || die
-		emake DESTDIR="${ED}" unix-install-boot-files
-		popd || die
-	fi
-
-	# raco needs decompressed files for packages doc installation bug 662424
-	if use doc; then
-		docompress -x /usr/share/doc/${PF}
-	fi
-
-	# Create missing desktop files and icon
-	if ! use minimal; then
-		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" "racket.png"
-		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
-		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
-	fi
-
-	readme.gentoo_create_doc
-}
-
-pkg_preinst() {
-	# If we are merging the same SLOT check if package
-	# database files exist and do not overwrite them
-	if has_version "${CATEGORY}/${PN}:${SLOT}"; then
-		echo "We are installing the same SLOT: ${SLOT}"
-		local rktd
-		for rktd in "${PKGDB[@]}"; do
-			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]]; then
-				einfo "Keeping old file: ${rktd}"
-				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
-					die "failed to create a backup of ${rktd}"
-				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
-					die "failed to create a copy of ${rktd}"
-			fi
-		done
-	fi
-}
-
-pkg_postinst() {
-	optfeature "readline editing features in REPL" dev-libs/libedit
-	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
-
-	readme.gentoo_print_elog
-}
-
-pkg_config() {
-	einfo "Swapping package database backup files"
-
-	for rktd in "${PKGDB[@]}"; do
-		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
-		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
-		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
-	done
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-11-17 15:14 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2022-11-17 15:14 UTC (permalink / raw
  To: gentoo-commits

commit:     c5ae251c2ad5dec9a49954e1a547471b2e9cbb91
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 17 15:14:37 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 17 15:14:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5ae251c

dev-scheme/racket: Stabilize 8.6 amd64, #881447

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

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

diff --git a/dev-scheme/racket/racket-8.6.ebuild b/dev-scheme/racket/racket-8.6.ebuild
index 40e8ef89c417..7b0268491b5f 100644
--- a/dev-scheme/racket/racket-8.6.ebuild
+++ b/dev-scheme/racket/racket-8.6.ebuild
@@ -24,7 +24,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-12-02 17:22 Arthur Zamarin
  0 siblings, 0 replies; 110+ messages in thread
From: Arthur Zamarin @ 2022-12-02 17:22 UTC (permalink / raw
  To: gentoo-commits

commit:     67f716f74f310eb621044dc8b0d58f931c2da6d1
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  2 17:22:14 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Dec  2 17:22:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67f716f7

dev-scheme/racket: Stabilize 8.6 x86, #881447

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/racket-8.6.ebuild b/dev-scheme/racket/racket-8.6.ebuild
index 7b0268491b5f..f33c2c116b51 100644
--- a/dev-scheme/racket/racket-8.6.ebuild
+++ b/dev-scheme/racket/racket-8.6.ebuild
@@ -24,7 +24,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-12-22 10:14 Arthur Zamarin
  0 siblings, 0 replies; 110+ messages in thread
From: Arthur Zamarin @ 2022-12-22 10:14 UTC (permalink / raw
  To: gentoo-commits

commit:     3015a22e19cd44d5423afdb22a557f77cfb92df4
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 22 10:14:35 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 22 10:14:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3015a22e

dev-scheme/racket: Stabilize 8.7 x86, #887925

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/racket-8.7.ebuild b/dev-scheme/racket/racket-8.7.ebuild
index 6cd3f9300d24..d013548be801 100644
--- a/dev-scheme/racket/racket-8.7.ebuild
+++ b/dev-scheme/racket/racket-8.7.ebuild
@@ -25,7 +25,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2022-12-22 10:15 Arthur Zamarin
  0 siblings, 0 replies; 110+ messages in thread
From: Arthur Zamarin @ 2022-12-22 10:15 UTC (permalink / raw
  To: gentoo-commits

commit:     4608863dd49288e28341d3bf5bc7cbc4e71a3376
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 22 10:15:15 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 22 10:15:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4608863d

dev-scheme/racket: Stabilize 8.7 amd64, #887925

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/racket-8.7.ebuild b/dev-scheme/racket/racket-8.7.ebuild
index d013548be801..c1aa334b4e61 100644
--- a/dev-scheme/racket/racket-8.7.ebuild
+++ b/dev-scheme/racket/racket-8.7.ebuild
@@ -25,7 +25,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2023-01-13 13:01 Arthur Zamarin
  0 siblings, 0 replies; 110+ messages in thread
From: Arthur Zamarin @ 2023-01-13 13:01 UTC (permalink / raw
  To: gentoo-commits

commit:     f0ca5f5ff786f9426dbfa29910a94ed689614d2d
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 13 13:01:28 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 13 13:01:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0ca5f5f

dev-scheme/racket: Stabilize 8.6 ppc64, #881447

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/racket-8.6.ebuild b/dev-scheme/racket/racket-8.6.ebuild
index f33c2c116b51..28e562b9b989 100644
--- a/dev-scheme/racket/racket-8.6.ebuild
+++ b/dev-scheme/racket/racket-8.6.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
@@ -24,7 +24,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~ppc ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2023-02-08 15:01 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2023-02-08 15:01 UTC (permalink / raw
  To: gentoo-commits

commit:     b839412a394329e2fabb82cbe34b42bd3e0da71b
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  8 13:18:15 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Feb  8 15:01:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b839412a

dev-scheme/racket: bump to 8.8

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

 dev-scheme/racket/Manifest          |   2 +
 dev-scheme/racket/racket-8.8.ebuild | 188 ++++++++++++++++++++++++++++++++++++
 2 files changed, 190 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 87d9efa3e2b1..aee9a267d9fa 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,6 +1,8 @@
 DIST racket-8.5-src-builtpkgs.tgz 152548446 BLAKE2B ef914d742b3b949ecd7a1f817900add3ede874d7bd4dbe195c2ab69826d938c3ac81b883bc57d938908bc1f9e96faeaa25cb4dedf85288c580b7a89d62ec970a SHA512 4714599cbe10247cad119cc4073d80329d77c845d92b3741d35a9c88cc6395dc3d6f08ace8f606c3e39840f7071789ea953e3b6548da04fd7dfaa72a4368a7ae
 DIST racket-8.6-src-builtpkgs.tgz 154505661 BLAKE2B ab788ae3e5175024ec75fa0c34297616ab4dcc1bb6f62d4ff4623dc2dd699d63eb9b24238407a854b03210f21fefd02680dc29931ed9d146920ae32472196e32 SHA512 c2948164463fb59a2d6f1b5188cee7634da190ea40bd19f5a88ef466ccdf07da03503b6a1f00e327a66c31b862048bcd5b047f7c586ea0d26e23397ee5ee7682
 DIST racket-8.7-src-builtpkgs.tgz 156337131 BLAKE2B a323683b6fd6d39473ab3eaeea24d175e12f8e36b9103849ec0730757b9c3d32f2e84ab8a9bde7fa834e2c6cf709e2531ab15e36e2694c5843b3b0bb41e909f8 SHA512 4c01001be49271e5536d24257c36bc57b16ff2cbf14eb59208b2939f4d14b5f58028cd1f643d49497eb8bffa84e5847f761171c951e006c278cf5d8ffafdd73e
+DIST racket-8.8-src-builtpkgs.tgz 156581446 BLAKE2B 0539f72822f32293905b69645c9e764e9485fa557b8ff4626b1f7c5bfeda2a7d7101c31933023aeb962f48e7b215883d245ec844372a4eb13703b466a5b1acdb SHA512 0d9efd1ab678b01192d704f674fdff7c48f0a65f9e0308662903e33d9c425064e6b8b5f9e374f5dac787425e85630c23bb1c6c8ff46b7fec3f457bedaaf200f8
 DIST racket-minimal-8.5-src-builtpkgs.tgz 21390850 BLAKE2B 7bcd8c409203f71b3a49cd7e4a34159ef62fcc61b8fb66e976bfc0938ac54b7bc475e6aff59796b9c01ee324eb0d88bd68340c787f728a3739a57e879e731bfb SHA512 e0dec1038f33dbe3dfbbeba05cb24829e4b0c4223c5326cd26f920c736171e3b47b457236a06c9c57b6ebc82d17b022fba6558e3c94315b75469a2130b6fd375
 DIST racket-minimal-8.6-src-builtpkgs.tgz 22396113 BLAKE2B e8c09da9aef52566746def36823e736e07990ba703d8440a3d067cbeeb43c8d026469c1d4b7d9ad2a423766692b81d6efa400c55512450621acd624d23b1b193 SHA512 695f9be11cab2cf84d1c16b322feb6c4552bf05edbfd901e91fa9532ef52339a6463d8327f4ae4c704cd2e8d67e69c2333bc13b1c862bbe565af00b407debee8
 DIST racket-minimal-8.7-src-builtpkgs.tgz 22795747 BLAKE2B 3f0194ffff3f3a9ea383ddd6c447a8d56d8cf4fb029c77bf9e8733570ca59244afd321541e7506ca11bc8b09f4c56dd3e26cd01d22caa7f3f36bd5af29c861a6 SHA512 b60472160b41a070a4aa74265e6319da4e80c6e58ac3152a30dfa3398f457c6579384de62b66dcb7a7ead68f72f787c41eae65325cdc1ae928b54a90d0a25f05
+DIST racket-minimal-8.8-src-builtpkgs.tgz 22857907 BLAKE2B 8612b82adcbc29b3054aa543447c64fd36356e283c48d28bd4c3c5f4a20f51fa8f58a8c3226094b81293c6b051325d3a96a9125ef96174ca5cef74390c954367 SHA512 be0e7fead1704693c30b0814d9d601a7f2bdfdf5b58e902c4b8dc787a5341f4432ea9f8fc6b5910d1751333bbb9868a55d8f1cffe036521a09805084fc093fdc

diff --git a/dev-scheme/racket/racket-8.8.ebuild b/dev-scheme/racket/racket-8.8.ebuild
new file mode 100644
index 000000000000..aea3f9340d79
--- /dev/null
+++ b/dev-scheme/racket/racket-8.8.ebuild
@@ -0,0 +1,188 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop optfeature toolchain-funcs readme.gentoo-r1
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="https://racket-lang.org/
+	https://github.com/racket/racket/"
+SRC_URI="
+	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
+	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
+"
+S="${WORKDIR}"/${P}/src
+
+# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
+LICENSE="
+	|| ( MIT Apache-2.0 )
+	chez? ( Apache-2.0 )
+	!chez? ( LGPL-3 )
+"
+# Bytecode generated by Racket is not compatible between versions.
+# The bytecode version should be denoted by SLOT, in most cases
+# PV == SLOT but this has to be checked carefully and in cases
+# where we use _p, _pre, etc it will have to be set manually.
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
+# See bug #809785 re chez/threads
+REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
+
+RDEPEND="
+	!dev-tex/slatex
+	dev-db/sqlite:3
+	dev-libs/libffi:=
+	ncurses? ( sys-libs/ncurses:= )
+"
+DEPEND="${RDEPEND}"
+
+# "mred" and "mzscheme" are binaries generated by Racket, not CC
+QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
+
+DOC_CONTENTS="
+If you wish to use sys-libs/readline instead of dev-libs/libedit
+for readline-like features in the Racket's REPL you can install
+the package 'readline-gpl' using raco, Racket's package manager
+https://pkgs.racket-lang.org/package/readline-gpl
+"
+
+# Package database files (for pkg_preinst & pkg_config)
+PKGDB=(
+	/usr/share/racket/info-cache.rktd
+	/usr/share/racket/links.rktd
+	/usr/share/racket/pkgs/pkgs.rktd
+)
+
+src_prepare() {
+	# Prepare the environment.
+	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
+
+	default
+
+	# Remove bundled libffi.
+	rm -r "${S}"/bc/foreign/libffi || die "failed to remove bundled libffi"
+}
+
+src_configure() {
+	# Compilation of Zuo does not respect the autoconf configuration.
+	tc-export CC
+
+	einfo "Configuring Zuo in ${S}/zuo"
+	pushd "${S}"/zuo >/dev/null || die
+	econf
+	popd >/dev/null || die
+
+	einfo "Configuring Racket in ${S}"
+	# Libtool:
+	#   According to vapier, we should use the bundled libtool
+	#   such that we don't preclude cross-compile.
+	#   Thus don't use --enable-lt=/usr/bin/libtool
+	# Backend:
+	#   --enable-bc builds Racket w/o chez backend
+	# C Libraries:
+	#   --enable-libs & --disable-shared is the way to build
+	#   .a files that are needed to embed Racket into programs
+	#   https://docs.racket-lang.org/inside/cs-embedding.html
+	local -a myconf=(
+		--disable-shared
+		--disable-strip
+		--docdir="${EPREFIX}"/usr/share/doc/${PF}
+		--enable-libs
+		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
+		$(use_enable doc docs)
+		$(use_enable iconv)
+		$(use_enable ncurses curses)
+	)
+	# Some options are togglable only for the BC version (are forced in CS)
+	! use chez && myconf+=(
+			--enable-float
+			--enable-foreign
+			--enable-gracket
+			--enable-libffi
+			$(use_enable futures)
+			$(use_enable jit)
+			$(use_enable places)
+			$(use_enable threads pthread)
+		)
+	econf "${myconf[@]}"
+}
+
+src_compile() {
+	# Compile Racket.
+	CC_FOR_BUILD="$(tc-getCC)" default
+
+	# Recompile Zuo with optimizations.
+	emake -C zuo
+}
+
+src_install() {
+	# Install Racket.
+	default
+
+	# Install Zuo.
+	emake -C zuo DESTDIR="${ED}" install
+
+	# raco needs decompressed files for packages doc installation, bug #662424
+	use doc && docompress -x /usr/share/doc/${PF}
+
+	# Create missing desktop files and icon.
+	if ! use minimal ; then
+		newicon "${ED}"/usr/share/racket/drracket-exe-icon.png racket.png
+		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
+		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
+	fi
+
+	readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+	# If we are merging the same SLOT check if package
+	# database files exist and do not overwrite them
+	if has_version ${CATEGORY}/${PN}:${SLOT} ; then
+		echo "We are installing the same SLOT: ${SLOT}"
+		local rktd
+		for rktd in "${PKGDB[@]}" ; do
+			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]] ; then
+				einfo "Keeping old file: ${rktd}"
+				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
+					die "failed to create a backup of ${rktd}"
+				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
+					die "failed to create a copy of ${rktd}"
+			fi
+		done
+	fi
+}
+
+get_outsiders() {
+	racket -l raco -- pkg show -i | grep 'link' | sed 's|link.*||g'
+}
+
+pkg_postinst() {
+	# If we have any pkgs not included in Racket main distribution (outsiders),
+	# then we have to re-setup them or during installation other pkgs will want
+	# to recompile parts of "outsider" pkgs they depend upon (and fail).
+	local -a outsiders=( $(get_outsiders) )
+	if [[ -n "${outsiders[@]}" ]] ; then
+		ebegin "Running \"raco setup\" for outsider packages"
+		echo "Outsiders: ${outsiders[@]}"
+		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
+		eend 0  # do not fail
+	fi
+
+	optfeature "readline editing features in REPL" dev-libs/libedit
+	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+
+	readme.gentoo_print_elog
+}
+
+pkg_config() {
+	einfo "Swapping package database backup files"
+
+	for rktd in "${PKGDB[@]}" ; do
+		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
+		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
+		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
+	done
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2023-05-12 11:36 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2023-05-12 11:36 UTC (permalink / raw
  To: gentoo-commits

commit:     8b62b1b852ed2306e8168cf8780e72a204824e6c
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri May 12 07:42:06 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri May 12 11:35:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b62b1b8

dev-scheme/racket: bump to 8.9

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

 dev-scheme/racket/Manifest          |   2 +
 dev-scheme/racket/racket-8.9.ebuild | 188 ++++++++++++++++++++++++++++++++++++
 2 files changed, 190 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index aee9a267d9fa..59ccfd824243 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -2,7 +2,9 @@ DIST racket-8.5-src-builtpkgs.tgz 152548446 BLAKE2B ef914d742b3b949ecd7a1f817900
 DIST racket-8.6-src-builtpkgs.tgz 154505661 BLAKE2B ab788ae3e5175024ec75fa0c34297616ab4dcc1bb6f62d4ff4623dc2dd699d63eb9b24238407a854b03210f21fefd02680dc29931ed9d146920ae32472196e32 SHA512 c2948164463fb59a2d6f1b5188cee7634da190ea40bd19f5a88ef466ccdf07da03503b6a1f00e327a66c31b862048bcd5b047f7c586ea0d26e23397ee5ee7682
 DIST racket-8.7-src-builtpkgs.tgz 156337131 BLAKE2B a323683b6fd6d39473ab3eaeea24d175e12f8e36b9103849ec0730757b9c3d32f2e84ab8a9bde7fa834e2c6cf709e2531ab15e36e2694c5843b3b0bb41e909f8 SHA512 4c01001be49271e5536d24257c36bc57b16ff2cbf14eb59208b2939f4d14b5f58028cd1f643d49497eb8bffa84e5847f761171c951e006c278cf5d8ffafdd73e
 DIST racket-8.8-src-builtpkgs.tgz 156581446 BLAKE2B 0539f72822f32293905b69645c9e764e9485fa557b8ff4626b1f7c5bfeda2a7d7101c31933023aeb962f48e7b215883d245ec844372a4eb13703b466a5b1acdb SHA512 0d9efd1ab678b01192d704f674fdff7c48f0a65f9e0308662903e33d9c425064e6b8b5f9e374f5dac787425e85630c23bb1c6c8ff46b7fec3f457bedaaf200f8
+DIST racket-8.9-src-builtpkgs.tgz 157090283 BLAKE2B 515ad19f37a18decb52ea42ceff5b4570d311d39e15996eb0abd228d16ef5fcae971a87145faf7d27584dc0d6b54b1d94a77bb099e6c2dfd3fa5ddca0b3333b0 SHA512 0eb823600233746e9b5e054747fc5ee1c033a102fe6ab912cc2a15d4ad5b217e04c25124f1877ce04eada4f99c2d6b08cc58adf07535c3962f7d05a21dce8471
 DIST racket-minimal-8.5-src-builtpkgs.tgz 21390850 BLAKE2B 7bcd8c409203f71b3a49cd7e4a34159ef62fcc61b8fb66e976bfc0938ac54b7bc475e6aff59796b9c01ee324eb0d88bd68340c787f728a3739a57e879e731bfb SHA512 e0dec1038f33dbe3dfbbeba05cb24829e4b0c4223c5326cd26f920c736171e3b47b457236a06c9c57b6ebc82d17b022fba6558e3c94315b75469a2130b6fd375
 DIST racket-minimal-8.6-src-builtpkgs.tgz 22396113 BLAKE2B e8c09da9aef52566746def36823e736e07990ba703d8440a3d067cbeeb43c8d026469c1d4b7d9ad2a423766692b81d6efa400c55512450621acd624d23b1b193 SHA512 695f9be11cab2cf84d1c16b322feb6c4552bf05edbfd901e91fa9532ef52339a6463d8327f4ae4c704cd2e8d67e69c2333bc13b1c862bbe565af00b407debee8
 DIST racket-minimal-8.7-src-builtpkgs.tgz 22795747 BLAKE2B 3f0194ffff3f3a9ea383ddd6c447a8d56d8cf4fb029c77bf9e8733570ca59244afd321541e7506ca11bc8b09f4c56dd3e26cd01d22caa7f3f36bd5af29c861a6 SHA512 b60472160b41a070a4aa74265e6319da4e80c6e58ac3152a30dfa3398f457c6579384de62b66dcb7a7ead68f72f787c41eae65325cdc1ae928b54a90d0a25f05
 DIST racket-minimal-8.8-src-builtpkgs.tgz 22857907 BLAKE2B 8612b82adcbc29b3054aa543447c64fd36356e283c48d28bd4c3c5f4a20f51fa8f58a8c3226094b81293c6b051325d3a96a9125ef96174ca5cef74390c954367 SHA512 be0e7fead1704693c30b0814d9d601a7f2bdfdf5b58e902c4b8dc787a5341f4432ea9f8fc6b5910d1751333bbb9868a55d8f1cffe036521a09805084fc093fdc
+DIST racket-minimal-8.9-src-builtpkgs.tgz 23084628 BLAKE2B 5e1e688dc600b700ed13acdbbafddaa2d6bf5a0e05db4a845b53f33e9448b277f342f5f615086f78db4762eeac11911c9b88cd102f05fbe165fcdff72a9ebcf3 SHA512 404aa01242eb68453e9db3cc14e38b99a02af9eb13b1dccce36e1de9c10d2ddd37bc6411abad7ab58045c71d25336e09d6e06f391cc3ee372097ca68fc497051

diff --git a/dev-scheme/racket/racket-8.9.ebuild b/dev-scheme/racket/racket-8.9.ebuild
new file mode 100644
index 000000000000..aea3f9340d79
--- /dev/null
+++ b/dev-scheme/racket/racket-8.9.ebuild
@@ -0,0 +1,188 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop optfeature toolchain-funcs readme.gentoo-r1
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="https://racket-lang.org/
+	https://github.com/racket/racket/"
+SRC_URI="
+	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
+	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
+"
+S="${WORKDIR}"/${P}/src
+
+# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
+LICENSE="
+	|| ( MIT Apache-2.0 )
+	chez? ( Apache-2.0 )
+	!chez? ( LGPL-3 )
+"
+# Bytecode generated by Racket is not compatible between versions.
+# The bytecode version should be denoted by SLOT, in most cases
+# PV == SLOT but this has to be checked carefully and in cases
+# where we use _p, _pre, etc it will have to be set manually.
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
+# See bug #809785 re chez/threads
+REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
+
+RDEPEND="
+	!dev-tex/slatex
+	dev-db/sqlite:3
+	dev-libs/libffi:=
+	ncurses? ( sys-libs/ncurses:= )
+"
+DEPEND="${RDEPEND}"
+
+# "mred" and "mzscheme" are binaries generated by Racket, not CC
+QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
+
+DOC_CONTENTS="
+If you wish to use sys-libs/readline instead of dev-libs/libedit
+for readline-like features in the Racket's REPL you can install
+the package 'readline-gpl' using raco, Racket's package manager
+https://pkgs.racket-lang.org/package/readline-gpl
+"
+
+# Package database files (for pkg_preinst & pkg_config)
+PKGDB=(
+	/usr/share/racket/info-cache.rktd
+	/usr/share/racket/links.rktd
+	/usr/share/racket/pkgs/pkgs.rktd
+)
+
+src_prepare() {
+	# Prepare the environment.
+	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
+
+	default
+
+	# Remove bundled libffi.
+	rm -r "${S}"/bc/foreign/libffi || die "failed to remove bundled libffi"
+}
+
+src_configure() {
+	# Compilation of Zuo does not respect the autoconf configuration.
+	tc-export CC
+
+	einfo "Configuring Zuo in ${S}/zuo"
+	pushd "${S}"/zuo >/dev/null || die
+	econf
+	popd >/dev/null || die
+
+	einfo "Configuring Racket in ${S}"
+	# Libtool:
+	#   According to vapier, we should use the bundled libtool
+	#   such that we don't preclude cross-compile.
+	#   Thus don't use --enable-lt=/usr/bin/libtool
+	# Backend:
+	#   --enable-bc builds Racket w/o chez backend
+	# C Libraries:
+	#   --enable-libs & --disable-shared is the way to build
+	#   .a files that are needed to embed Racket into programs
+	#   https://docs.racket-lang.org/inside/cs-embedding.html
+	local -a myconf=(
+		--disable-shared
+		--disable-strip
+		--docdir="${EPREFIX}"/usr/share/doc/${PF}
+		--enable-libs
+		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
+		$(use_enable doc docs)
+		$(use_enable iconv)
+		$(use_enable ncurses curses)
+	)
+	# Some options are togglable only for the BC version (are forced in CS)
+	! use chez && myconf+=(
+			--enable-float
+			--enable-foreign
+			--enable-gracket
+			--enable-libffi
+			$(use_enable futures)
+			$(use_enable jit)
+			$(use_enable places)
+			$(use_enable threads pthread)
+		)
+	econf "${myconf[@]}"
+}
+
+src_compile() {
+	# Compile Racket.
+	CC_FOR_BUILD="$(tc-getCC)" default
+
+	# Recompile Zuo with optimizations.
+	emake -C zuo
+}
+
+src_install() {
+	# Install Racket.
+	default
+
+	# Install Zuo.
+	emake -C zuo DESTDIR="${ED}" install
+
+	# raco needs decompressed files for packages doc installation, bug #662424
+	use doc && docompress -x /usr/share/doc/${PF}
+
+	# Create missing desktop files and icon.
+	if ! use minimal ; then
+		newicon "${ED}"/usr/share/racket/drracket-exe-icon.png racket.png
+		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
+		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
+	fi
+
+	readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+	# If we are merging the same SLOT check if package
+	# database files exist and do not overwrite them
+	if has_version ${CATEGORY}/${PN}:${SLOT} ; then
+		echo "We are installing the same SLOT: ${SLOT}"
+		local rktd
+		for rktd in "${PKGDB[@]}" ; do
+			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]] ; then
+				einfo "Keeping old file: ${rktd}"
+				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
+					die "failed to create a backup of ${rktd}"
+				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
+					die "failed to create a copy of ${rktd}"
+			fi
+		done
+	fi
+}
+
+get_outsiders() {
+	racket -l raco -- pkg show -i | grep 'link' | sed 's|link.*||g'
+}
+
+pkg_postinst() {
+	# If we have any pkgs not included in Racket main distribution (outsiders),
+	# then we have to re-setup them or during installation other pkgs will want
+	# to recompile parts of "outsider" pkgs they depend upon (and fail).
+	local -a outsiders=( $(get_outsiders) )
+	if [[ -n "${outsiders[@]}" ]] ; then
+		ebegin "Running \"raco setup\" for outsider packages"
+		echo "Outsiders: ${outsiders[@]}"
+		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
+		eend 0  # do not fail
+	fi
+
+	optfeature "readline editing features in REPL" dev-libs/libedit
+	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+
+	readme.gentoo_print_elog
+}
+
+pkg_config() {
+	einfo "Swapping package database backup files"
+
+	for rktd in "${PKGDB[@]}" ; do
+		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
+		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
+		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
+	done
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2023-05-12 11:36 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2023-05-12 11:36 UTC (permalink / raw
  To: gentoo-commits

commit:     2356dc8ae151e46655e76abcbe514943620f77bc
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri May 12 07:42:44 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri May 12 11:35:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2356dc8a

dev-scheme/racket: drop old 8.5

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

 dev-scheme/racket/Manifest          |   2 -
 dev-scheme/racket/racket-8.5.ebuild | 164 ------------------------------------
 2 files changed, 166 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 59ccfd824243..99990f5f0424 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,9 +1,7 @@
-DIST racket-8.5-src-builtpkgs.tgz 152548446 BLAKE2B ef914d742b3b949ecd7a1f817900add3ede874d7bd4dbe195c2ab69826d938c3ac81b883bc57d938908bc1f9e96faeaa25cb4dedf85288c580b7a89d62ec970a SHA512 4714599cbe10247cad119cc4073d80329d77c845d92b3741d35a9c88cc6395dc3d6f08ace8f606c3e39840f7071789ea953e3b6548da04fd7dfaa72a4368a7ae
 DIST racket-8.6-src-builtpkgs.tgz 154505661 BLAKE2B ab788ae3e5175024ec75fa0c34297616ab4dcc1bb6f62d4ff4623dc2dd699d63eb9b24238407a854b03210f21fefd02680dc29931ed9d146920ae32472196e32 SHA512 c2948164463fb59a2d6f1b5188cee7634da190ea40bd19f5a88ef466ccdf07da03503b6a1f00e327a66c31b862048bcd5b047f7c586ea0d26e23397ee5ee7682
 DIST racket-8.7-src-builtpkgs.tgz 156337131 BLAKE2B a323683b6fd6d39473ab3eaeea24d175e12f8e36b9103849ec0730757b9c3d32f2e84ab8a9bde7fa834e2c6cf709e2531ab15e36e2694c5843b3b0bb41e909f8 SHA512 4c01001be49271e5536d24257c36bc57b16ff2cbf14eb59208b2939f4d14b5f58028cd1f643d49497eb8bffa84e5847f761171c951e006c278cf5d8ffafdd73e
 DIST racket-8.8-src-builtpkgs.tgz 156581446 BLAKE2B 0539f72822f32293905b69645c9e764e9485fa557b8ff4626b1f7c5bfeda2a7d7101c31933023aeb962f48e7b215883d245ec844372a4eb13703b466a5b1acdb SHA512 0d9efd1ab678b01192d704f674fdff7c48f0a65f9e0308662903e33d9c425064e6b8b5f9e374f5dac787425e85630c23bb1c6c8ff46b7fec3f457bedaaf200f8
 DIST racket-8.9-src-builtpkgs.tgz 157090283 BLAKE2B 515ad19f37a18decb52ea42ceff5b4570d311d39e15996eb0abd228d16ef5fcae971a87145faf7d27584dc0d6b54b1d94a77bb099e6c2dfd3fa5ddca0b3333b0 SHA512 0eb823600233746e9b5e054747fc5ee1c033a102fe6ab912cc2a15d4ad5b217e04c25124f1877ce04eada4f99c2d6b08cc58adf07535c3962f7d05a21dce8471
-DIST racket-minimal-8.5-src-builtpkgs.tgz 21390850 BLAKE2B 7bcd8c409203f71b3a49cd7e4a34159ef62fcc61b8fb66e976bfc0938ac54b7bc475e6aff59796b9c01ee324eb0d88bd68340c787f728a3739a57e879e731bfb SHA512 e0dec1038f33dbe3dfbbeba05cb24829e4b0c4223c5326cd26f920c736171e3b47b457236a06c9c57b6ebc82d17b022fba6558e3c94315b75469a2130b6fd375
 DIST racket-minimal-8.6-src-builtpkgs.tgz 22396113 BLAKE2B e8c09da9aef52566746def36823e736e07990ba703d8440a3d067cbeeb43c8d026469c1d4b7d9ad2a423766692b81d6efa400c55512450621acd624d23b1b193 SHA512 695f9be11cab2cf84d1c16b322feb6c4552bf05edbfd901e91fa9532ef52339a6463d8327f4ae4c704cd2e8d67e69c2333bc13b1c862bbe565af00b407debee8
 DIST racket-minimal-8.7-src-builtpkgs.tgz 22795747 BLAKE2B 3f0194ffff3f3a9ea383ddd6c447a8d56d8cf4fb029c77bf9e8733570ca59244afd321541e7506ca11bc8b09f4c56dd3e26cd01d22caa7f3f36bd5af29c861a6 SHA512 b60472160b41a070a4aa74265e6319da4e80c6e58ac3152a30dfa3398f457c6579384de62b66dcb7a7ead68f72f787c41eae65325cdc1ae928b54a90d0a25f05
 DIST racket-minimal-8.8-src-builtpkgs.tgz 22857907 BLAKE2B 8612b82adcbc29b3054aa543447c64fd36356e283c48d28bd4c3c5f4a20f51fa8f58a8c3226094b81293c6b051325d3a96a9125ef96174ca5cef74390c954367 SHA512 be0e7fead1704693c30b0814d9d601a7f2bdfdf5b58e902c4b8dc787a5341f4432ea9f8fc6b5910d1751333bbb9868a55d8f1cffe036521a09805084fc093fdc

diff --git a/dev-scheme/racket/racket-8.5.ebuild b/dev-scheme/racket/racket-8.5.ebuild
deleted file mode 100644
index 3f624b63833c..000000000000
--- a/dev-scheme/racket/racket-8.5.ebuild
+++ /dev/null
@@ -1,164 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop optfeature readme.gentoo-r1
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/"
-SRC_URI="
-	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
-	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
-"
-S="${WORKDIR}/${P}/src"
-
-# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
-LICENSE="
-	|| ( MIT Apache-2.0 )
-	chez? ( Apache-2.0 )
-	!chez? ( LGPL-3 )
-"
-# Bytecode generated by Racket is not compatible between versions.
-# The bytecode version should be denoted by SLOT, in most cases
-# PV == SLOT but this has to be checked carefully and in cases
-# where we use _p, _pre, etc it will have to be set manually.
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
-IUSE="+chez +doc +futures +jit minimal ncurses +places +threads"
-# See bug #809785 re chez/threads
-REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
-
-DEPEND="
-	!dev-tex/slatex
-	dev-db/sqlite:3
-	dev-libs/libffi:=
-	ncurses? ( sys-libs/ncurses:= )
-"
-RDEPEND="${DEPEND}"
-
-# "mred" and "mzscheme" are binaries generated by Racket, not CC
-QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
-
-DOC_CONTENTS="
-If you wish to use sys-libs/readline instead of dev-libs/libedit
-for readline-like features in the Racket's REPL you can install
-the package 'readline-gpl' using raco, Racket's package manager
-https://pkgs.racket-lang.org/package/readline-gpl
-"
-
-# Package database files (for pkg_preinst & pkg_config)
-PKGDB=(
-	/usr/share/racket/info-cache.rktd
-	/usr/share/racket/links.rktd
-	/usr/share/racket/pkgs/pkgs.rktd
-)
-
-src_prepare() {
-	# Prepare the environment
-	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
-
-	default
-
-	# Remove bundled libffi
-	rm -r ./bc/foreign/libffi || die "failed to remove bundled libffi"
-}
-
-src_configure() {
-	# Libtool:
-	#   According to vapier, we should use the bundled libtool
-	#   such that we don't preclude cross-compile.
-	#   Thus don't use --enable-lt=/usr/bin/libtool
-	# Backend:
-	#   --enable-bc builds Racket w/o chez backend
-	# C Libraries:
-	#   --enable-libs & --disable-shared is the way to build
-	#   .a files that are needed to embed Racket into programs
-	#   https://docs.racket-lang.org/inside/cs-embedding.html
-	local myconf=(
-		--disable-shared
-		--disable-strip
-		--docdir="${EPREFIX}/usr/share/doc/${PF}"
-		--enable-libs
-		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
-		$(use_enable doc docs)
-		$(use_enable ncurses curses)
-	)
-	# Some options are togglable only for the BC version (are forced in CS)
-	! use chez && myconf+=(
-			--enable-float
-			--enable-foreign
-			--enable-gracket
-			--enable-libffi
-			$(use_enable futures)
-			$(use_enable jit)
-			$(use_enable places)
-			$(use_enable threads pthread)
-		)
-	econf "${myconf[@]}"
-}
-
-src_install() {
-	default
-
-	# Install Racket boot files
-	use chez && emake -C "${S}"/cs/c DESTDIR="${ED}" unix-install-boot-files
-
-	# raco needs decompressed files for packages doc installation bug 662424
-	use doc && docompress -x /usr/share/doc/${PF}
-
-	# Create missing desktop files and icon
-	if ! use minimal ; then
-		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" "racket.png"
-		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
-		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
-	fi
-
-	readme.gentoo_create_doc
-}
-
-pkg_preinst() {
-	# If we are merging the same SLOT check if package
-	# database files exist and do not overwrite them
-	if has_version "${CATEGORY}/${PN}:${SLOT}" ; then
-		echo "We are installing the same SLOT: ${SLOT}"
-		local rktd
-		for rktd in "${PKGDB[@]}" ; do
-			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]] ; then
-				einfo "Keeping old file: ${rktd}"
-				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
-					die "failed to create a backup of ${rktd}"
-				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
-					die "failed to create a copy of ${rktd}"
-			fi
-		done
-	fi
-}
-
-pkg_postinst() {
-	# If we have any pkgs not included in Racket main distribution (outsiders),
-	# then we have to re-setup them or during installation other pkgs will want
-	# to recompile parts of "outsider" pkgs they depend upon (and fail).
-	local outsiders=( $(raco pkg show -i | grep 'link' | sed 's|link.*||g') )
-	if [[ -n "${outsiders[@]}" ]] ; then
-		ebegin "Running \"raco setup\" for outsider packages"
-		echo "Outsiders: ${outsiders[@]}"
-		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
-		eend 0  # do not fail
-	fi
-
-	optfeature "readline editing features in REPL" dev-libs/libedit
-	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
-
-	readme.gentoo_print_elog
-}
-
-pkg_config() {
-	einfo "Swapping package database backup files"
-
-	for rktd in "${PKGDB[@]}" ; do
-		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
-		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
-		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
-	done
-}


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

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

commit:     228168b63d0bad16bcc3a17af462b2abcbb6439a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  7 22:54:31 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul  7 22:54:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=228168b6

dev-scheme/racket: Stabilize 8.9 amd64, #909826

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

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

diff --git a/dev-scheme/racket/racket-8.9.ebuild b/dev-scheme/racket/racket-8.9.ebuild
index aea3f9340d79..d004dfc42c21 100644
--- a/dev-scheme/racket/racket-8.9.ebuild
+++ b/dev-scheme/racket/racket-8.9.ebuild
@@ -25,7 +25,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2023-07-18 16:32 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2023-07-18 16:32 UTC (permalink / raw
  To: gentoo-commits

commit:     386462fd58ae19ae05b0ec19ad3bad2016c05548
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 18 16:32:02 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 18 16:32:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=386462fd

dev-scheme/racket: Stabilize 8.9 x86, #909826

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

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

diff --git a/dev-scheme/racket/racket-8.9.ebuild b/dev-scheme/racket/racket-8.9.ebuild
index d004dfc42c21..37f448162231 100644
--- a/dev-scheme/racket/racket-8.9.ebuild
+++ b/dev-scheme/racket/racket-8.9.ebuild
@@ -25,7 +25,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2023-08-17 13:22 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2023-08-17 13:22 UTC (permalink / raw
  To: gentoo-commits

commit:     5f19f315c152f5fe0cf08a7c6df5076a8795d519
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 17 08:57:31 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Aug 17 13:22:09 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f19f315

dev-scheme/racket: drop old 8.8

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

 dev-scheme/racket/Manifest          |   2 -
 dev-scheme/racket/racket-8.8.ebuild | 188 ------------------------------------
 2 files changed, 190 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 99990f5f0424..8d9ca2a7256d 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,8 +1,6 @@
 DIST racket-8.6-src-builtpkgs.tgz 154505661 BLAKE2B ab788ae3e5175024ec75fa0c34297616ab4dcc1bb6f62d4ff4623dc2dd699d63eb9b24238407a854b03210f21fefd02680dc29931ed9d146920ae32472196e32 SHA512 c2948164463fb59a2d6f1b5188cee7634da190ea40bd19f5a88ef466ccdf07da03503b6a1f00e327a66c31b862048bcd5b047f7c586ea0d26e23397ee5ee7682
 DIST racket-8.7-src-builtpkgs.tgz 156337131 BLAKE2B a323683b6fd6d39473ab3eaeea24d175e12f8e36b9103849ec0730757b9c3d32f2e84ab8a9bde7fa834e2c6cf709e2531ab15e36e2694c5843b3b0bb41e909f8 SHA512 4c01001be49271e5536d24257c36bc57b16ff2cbf14eb59208b2939f4d14b5f58028cd1f643d49497eb8bffa84e5847f761171c951e006c278cf5d8ffafdd73e
-DIST racket-8.8-src-builtpkgs.tgz 156581446 BLAKE2B 0539f72822f32293905b69645c9e764e9485fa557b8ff4626b1f7c5bfeda2a7d7101c31933023aeb962f48e7b215883d245ec844372a4eb13703b466a5b1acdb SHA512 0d9efd1ab678b01192d704f674fdff7c48f0a65f9e0308662903e33d9c425064e6b8b5f9e374f5dac787425e85630c23bb1c6c8ff46b7fec3f457bedaaf200f8
 DIST racket-8.9-src-builtpkgs.tgz 157090283 BLAKE2B 515ad19f37a18decb52ea42ceff5b4570d311d39e15996eb0abd228d16ef5fcae971a87145faf7d27584dc0d6b54b1d94a77bb099e6c2dfd3fa5ddca0b3333b0 SHA512 0eb823600233746e9b5e054747fc5ee1c033a102fe6ab912cc2a15d4ad5b217e04c25124f1877ce04eada4f99c2d6b08cc58adf07535c3962f7d05a21dce8471
 DIST racket-minimal-8.6-src-builtpkgs.tgz 22396113 BLAKE2B e8c09da9aef52566746def36823e736e07990ba703d8440a3d067cbeeb43c8d026469c1d4b7d9ad2a423766692b81d6efa400c55512450621acd624d23b1b193 SHA512 695f9be11cab2cf84d1c16b322feb6c4552bf05edbfd901e91fa9532ef52339a6463d8327f4ae4c704cd2e8d67e69c2333bc13b1c862bbe565af00b407debee8
 DIST racket-minimal-8.7-src-builtpkgs.tgz 22795747 BLAKE2B 3f0194ffff3f3a9ea383ddd6c447a8d56d8cf4fb029c77bf9e8733570ca59244afd321541e7506ca11bc8b09f4c56dd3e26cd01d22caa7f3f36bd5af29c861a6 SHA512 b60472160b41a070a4aa74265e6319da4e80c6e58ac3152a30dfa3398f457c6579384de62b66dcb7a7ead68f72f787c41eae65325cdc1ae928b54a90d0a25f05
-DIST racket-minimal-8.8-src-builtpkgs.tgz 22857907 BLAKE2B 8612b82adcbc29b3054aa543447c64fd36356e283c48d28bd4c3c5f4a20f51fa8f58a8c3226094b81293c6b051325d3a96a9125ef96174ca5cef74390c954367 SHA512 be0e7fead1704693c30b0814d9d601a7f2bdfdf5b58e902c4b8dc787a5341f4432ea9f8fc6b5910d1751333bbb9868a55d8f1cffe036521a09805084fc093fdc
 DIST racket-minimal-8.9-src-builtpkgs.tgz 23084628 BLAKE2B 5e1e688dc600b700ed13acdbbafddaa2d6bf5a0e05db4a845b53f33e9448b277f342f5f615086f78db4762eeac11911c9b88cd102f05fbe165fcdff72a9ebcf3 SHA512 404aa01242eb68453e9db3cc14e38b99a02af9eb13b1dccce36e1de9c10d2ddd37bc6411abad7ab58045c71d25336e09d6e06f391cc3ee372097ca68fc497051

diff --git a/dev-scheme/racket/racket-8.8.ebuild b/dev-scheme/racket/racket-8.8.ebuild
deleted file mode 100644
index aea3f9340d79..000000000000
--- a/dev-scheme/racket/racket-8.8.ebuild
+++ /dev/null
@@ -1,188 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop optfeature toolchain-funcs readme.gentoo-r1
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/
-	https://github.com/racket/racket/"
-SRC_URI="
-	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
-	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
-"
-S="${WORKDIR}"/${P}/src
-
-# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
-LICENSE="
-	|| ( MIT Apache-2.0 )
-	chez? ( Apache-2.0 )
-	!chez? ( LGPL-3 )
-"
-# Bytecode generated by Racket is not compatible between versions.
-# The bytecode version should be denoted by SLOT, in most cases
-# PV == SLOT but this has to be checked carefully and in cases
-# where we use _p, _pre, etc it will have to be set manually.
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
-IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
-# See bug #809785 re chez/threads
-REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
-
-RDEPEND="
-	!dev-tex/slatex
-	dev-db/sqlite:3
-	dev-libs/libffi:=
-	ncurses? ( sys-libs/ncurses:= )
-"
-DEPEND="${RDEPEND}"
-
-# "mred" and "mzscheme" are binaries generated by Racket, not CC
-QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
-
-DOC_CONTENTS="
-If you wish to use sys-libs/readline instead of dev-libs/libedit
-for readline-like features in the Racket's REPL you can install
-the package 'readline-gpl' using raco, Racket's package manager
-https://pkgs.racket-lang.org/package/readline-gpl
-"
-
-# Package database files (for pkg_preinst & pkg_config)
-PKGDB=(
-	/usr/share/racket/info-cache.rktd
-	/usr/share/racket/links.rktd
-	/usr/share/racket/pkgs/pkgs.rktd
-)
-
-src_prepare() {
-	# Prepare the environment.
-	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
-
-	default
-
-	# Remove bundled libffi.
-	rm -r "${S}"/bc/foreign/libffi || die "failed to remove bundled libffi"
-}
-
-src_configure() {
-	# Compilation of Zuo does not respect the autoconf configuration.
-	tc-export CC
-
-	einfo "Configuring Zuo in ${S}/zuo"
-	pushd "${S}"/zuo >/dev/null || die
-	econf
-	popd >/dev/null || die
-
-	einfo "Configuring Racket in ${S}"
-	# Libtool:
-	#   According to vapier, we should use the bundled libtool
-	#   such that we don't preclude cross-compile.
-	#   Thus don't use --enable-lt=/usr/bin/libtool
-	# Backend:
-	#   --enable-bc builds Racket w/o chez backend
-	# C Libraries:
-	#   --enable-libs & --disable-shared is the way to build
-	#   .a files that are needed to embed Racket into programs
-	#   https://docs.racket-lang.org/inside/cs-embedding.html
-	local -a myconf=(
-		--disable-shared
-		--disable-strip
-		--docdir="${EPREFIX}"/usr/share/doc/${PF}
-		--enable-libs
-		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
-		$(use_enable doc docs)
-		$(use_enable iconv)
-		$(use_enable ncurses curses)
-	)
-	# Some options are togglable only for the BC version (are forced in CS)
-	! use chez && myconf+=(
-			--enable-float
-			--enable-foreign
-			--enable-gracket
-			--enable-libffi
-			$(use_enable futures)
-			$(use_enable jit)
-			$(use_enable places)
-			$(use_enable threads pthread)
-		)
-	econf "${myconf[@]}"
-}
-
-src_compile() {
-	# Compile Racket.
-	CC_FOR_BUILD="$(tc-getCC)" default
-
-	# Recompile Zuo with optimizations.
-	emake -C zuo
-}
-
-src_install() {
-	# Install Racket.
-	default
-
-	# Install Zuo.
-	emake -C zuo DESTDIR="${ED}" install
-
-	# raco needs decompressed files for packages doc installation, bug #662424
-	use doc && docompress -x /usr/share/doc/${PF}
-
-	# Create missing desktop files and icon.
-	if ! use minimal ; then
-		newicon "${ED}"/usr/share/racket/drracket-exe-icon.png racket.png
-		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
-		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
-	fi
-
-	readme.gentoo_create_doc
-}
-
-pkg_preinst() {
-	# If we are merging the same SLOT check if package
-	# database files exist and do not overwrite them
-	if has_version ${CATEGORY}/${PN}:${SLOT} ; then
-		echo "We are installing the same SLOT: ${SLOT}"
-		local rktd
-		for rktd in "${PKGDB[@]}" ; do
-			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]] ; then
-				einfo "Keeping old file: ${rktd}"
-				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
-					die "failed to create a backup of ${rktd}"
-				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
-					die "failed to create a copy of ${rktd}"
-			fi
-		done
-	fi
-}
-
-get_outsiders() {
-	racket -l raco -- pkg show -i | grep 'link' | sed 's|link.*||g'
-}
-
-pkg_postinst() {
-	# If we have any pkgs not included in Racket main distribution (outsiders),
-	# then we have to re-setup them or during installation other pkgs will want
-	# to recompile parts of "outsider" pkgs they depend upon (and fail).
-	local -a outsiders=( $(get_outsiders) )
-	if [[ -n "${outsiders[@]}" ]] ; then
-		ebegin "Running \"raco setup\" for outsider packages"
-		echo "Outsiders: ${outsiders[@]}"
-		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
-		eend 0  # do not fail
-	fi
-
-	optfeature "readline editing features in REPL" dev-libs/libedit
-	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
-
-	readme.gentoo_print_elog
-}
-
-pkg_config() {
-	einfo "Swapping package database backup files"
-
-	for rktd in "${PKGDB[@]}" ; do
-		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
-		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
-		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
-	done
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2023-08-17 13:22 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2023-08-17 13:22 UTC (permalink / raw
  To: gentoo-commits

commit:     b0e18641351f9a943df8de512704868ff7435b29
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 17 09:51:35 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Aug 17 13:22:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e18641

dev-scheme/racket: bump to 8.10

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

 dev-scheme/racket/Manifest           |   4 +-
 dev-scheme/racket/racket-8.10.ebuild | 188 +++++++++++++++++++++++++++++++++++
 2 files changed, 189 insertions(+), 3 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 8d9ca2a7256d..5c398777fdef 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,6 +1,4 @@
+DIST racket-8.10-src-builtpkgs.tgz 156573576 BLAKE2B def6007fec5701a3ca399f3173f863155214521e95b8e655090a61506a8ecd8eae7ddc02785593d256e6a0e23f022997c18460130bdc72e9fcaad8de36030b7d SHA512 4a861b90ca03b252dae0b530ab39cf0fe67dd38e306cc639b6e24516b01d7d25918c0f7e1fb0a105ab51d3be802d349576b4f0ee7ef6ea26bb11fc16abada3dd
 DIST racket-8.6-src-builtpkgs.tgz 154505661 BLAKE2B ab788ae3e5175024ec75fa0c34297616ab4dcc1bb6f62d4ff4623dc2dd699d63eb9b24238407a854b03210f21fefd02680dc29931ed9d146920ae32472196e32 SHA512 c2948164463fb59a2d6f1b5188cee7634da190ea40bd19f5a88ef466ccdf07da03503b6a1f00e327a66c31b862048bcd5b047f7c586ea0d26e23397ee5ee7682
 DIST racket-8.7-src-builtpkgs.tgz 156337131 BLAKE2B a323683b6fd6d39473ab3eaeea24d175e12f8e36b9103849ec0730757b9c3d32f2e84ab8a9bde7fa834e2c6cf709e2531ab15e36e2694c5843b3b0bb41e909f8 SHA512 4c01001be49271e5536d24257c36bc57b16ff2cbf14eb59208b2939f4d14b5f58028cd1f643d49497eb8bffa84e5847f761171c951e006c278cf5d8ffafdd73e
 DIST racket-8.9-src-builtpkgs.tgz 157090283 BLAKE2B 515ad19f37a18decb52ea42ceff5b4570d311d39e15996eb0abd228d16ef5fcae971a87145faf7d27584dc0d6b54b1d94a77bb099e6c2dfd3fa5ddca0b3333b0 SHA512 0eb823600233746e9b5e054747fc5ee1c033a102fe6ab912cc2a15d4ad5b217e04c25124f1877ce04eada4f99c2d6b08cc58adf07535c3962f7d05a21dce8471
-DIST racket-minimal-8.6-src-builtpkgs.tgz 22396113 BLAKE2B e8c09da9aef52566746def36823e736e07990ba703d8440a3d067cbeeb43c8d026469c1d4b7d9ad2a423766692b81d6efa400c55512450621acd624d23b1b193 SHA512 695f9be11cab2cf84d1c16b322feb6c4552bf05edbfd901e91fa9532ef52339a6463d8327f4ae4c704cd2e8d67e69c2333bc13b1c862bbe565af00b407debee8
-DIST racket-minimal-8.7-src-builtpkgs.tgz 22795747 BLAKE2B 3f0194ffff3f3a9ea383ddd6c447a8d56d8cf4fb029c77bf9e8733570ca59244afd321541e7506ca11bc8b09f4c56dd3e26cd01d22caa7f3f36bd5af29c861a6 SHA512 b60472160b41a070a4aa74265e6319da4e80c6e58ac3152a30dfa3398f457c6579384de62b66dcb7a7ead68f72f787c41eae65325cdc1ae928b54a90d0a25f05
-DIST racket-minimal-8.9-src-builtpkgs.tgz 23084628 BLAKE2B 5e1e688dc600b700ed13acdbbafddaa2d6bf5a0e05db4a845b53f33e9448b277f342f5f615086f78db4762eeac11911c9b88cd102f05fbe165fcdff72a9ebcf3 SHA512 404aa01242eb68453e9db3cc14e38b99a02af9eb13b1dccce36e1de9c10d2ddd37bc6411abad7ab58045c71d25336e09d6e06f391cc3ee372097ca68fc497051

diff --git a/dev-scheme/racket/racket-8.10.ebuild b/dev-scheme/racket/racket-8.10.ebuild
new file mode 100644
index 000000000000..aea3f9340d79
--- /dev/null
+++ b/dev-scheme/racket/racket-8.10.ebuild
@@ -0,0 +1,188 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop optfeature toolchain-funcs readme.gentoo-r1
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="https://racket-lang.org/
+	https://github.com/racket/racket/"
+SRC_URI="
+	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
+	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
+"
+S="${WORKDIR}"/${P}/src
+
+# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
+LICENSE="
+	|| ( MIT Apache-2.0 )
+	chez? ( Apache-2.0 )
+	!chez? ( LGPL-3 )
+"
+# Bytecode generated by Racket is not compatible between versions.
+# The bytecode version should be denoted by SLOT, in most cases
+# PV == SLOT but this has to be checked carefully and in cases
+# where we use _p, _pre, etc it will have to be set manually.
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
+# See bug #809785 re chez/threads
+REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
+
+RDEPEND="
+	!dev-tex/slatex
+	dev-db/sqlite:3
+	dev-libs/libffi:=
+	ncurses? ( sys-libs/ncurses:= )
+"
+DEPEND="${RDEPEND}"
+
+# "mred" and "mzscheme" are binaries generated by Racket, not CC
+QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
+
+DOC_CONTENTS="
+If you wish to use sys-libs/readline instead of dev-libs/libedit
+for readline-like features in the Racket's REPL you can install
+the package 'readline-gpl' using raco, Racket's package manager
+https://pkgs.racket-lang.org/package/readline-gpl
+"
+
+# Package database files (for pkg_preinst & pkg_config)
+PKGDB=(
+	/usr/share/racket/info-cache.rktd
+	/usr/share/racket/links.rktd
+	/usr/share/racket/pkgs/pkgs.rktd
+)
+
+src_prepare() {
+	# Prepare the environment.
+	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
+
+	default
+
+	# Remove bundled libffi.
+	rm -r "${S}"/bc/foreign/libffi || die "failed to remove bundled libffi"
+}
+
+src_configure() {
+	# Compilation of Zuo does not respect the autoconf configuration.
+	tc-export CC
+
+	einfo "Configuring Zuo in ${S}/zuo"
+	pushd "${S}"/zuo >/dev/null || die
+	econf
+	popd >/dev/null || die
+
+	einfo "Configuring Racket in ${S}"
+	# Libtool:
+	#   According to vapier, we should use the bundled libtool
+	#   such that we don't preclude cross-compile.
+	#   Thus don't use --enable-lt=/usr/bin/libtool
+	# Backend:
+	#   --enable-bc builds Racket w/o chez backend
+	# C Libraries:
+	#   --enable-libs & --disable-shared is the way to build
+	#   .a files that are needed to embed Racket into programs
+	#   https://docs.racket-lang.org/inside/cs-embedding.html
+	local -a myconf=(
+		--disable-shared
+		--disable-strip
+		--docdir="${EPREFIX}"/usr/share/doc/${PF}
+		--enable-libs
+		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
+		$(use_enable doc docs)
+		$(use_enable iconv)
+		$(use_enable ncurses curses)
+	)
+	# Some options are togglable only for the BC version (are forced in CS)
+	! use chez && myconf+=(
+			--enable-float
+			--enable-foreign
+			--enable-gracket
+			--enable-libffi
+			$(use_enable futures)
+			$(use_enable jit)
+			$(use_enable places)
+			$(use_enable threads pthread)
+		)
+	econf "${myconf[@]}"
+}
+
+src_compile() {
+	# Compile Racket.
+	CC_FOR_BUILD="$(tc-getCC)" default
+
+	# Recompile Zuo with optimizations.
+	emake -C zuo
+}
+
+src_install() {
+	# Install Racket.
+	default
+
+	# Install Zuo.
+	emake -C zuo DESTDIR="${ED}" install
+
+	# raco needs decompressed files for packages doc installation, bug #662424
+	use doc && docompress -x /usr/share/doc/${PF}
+
+	# Create missing desktop files and icon.
+	if ! use minimal ; then
+		newicon "${ED}"/usr/share/racket/drracket-exe-icon.png racket.png
+		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
+		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
+	fi
+
+	readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+	# If we are merging the same SLOT check if package
+	# database files exist and do not overwrite them
+	if has_version ${CATEGORY}/${PN}:${SLOT} ; then
+		echo "We are installing the same SLOT: ${SLOT}"
+		local rktd
+		for rktd in "${PKGDB[@]}" ; do
+			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]] ; then
+				einfo "Keeping old file: ${rktd}"
+				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
+					die "failed to create a backup of ${rktd}"
+				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
+					die "failed to create a copy of ${rktd}"
+			fi
+		done
+	fi
+}
+
+get_outsiders() {
+	racket -l raco -- pkg show -i | grep 'link' | sed 's|link.*||g'
+}
+
+pkg_postinst() {
+	# If we have any pkgs not included in Racket main distribution (outsiders),
+	# then we have to re-setup them or during installation other pkgs will want
+	# to recompile parts of "outsider" pkgs they depend upon (and fail).
+	local -a outsiders=( $(get_outsiders) )
+	if [[ -n "${outsiders[@]}" ]] ; then
+		ebegin "Running \"raco setup\" for outsider packages"
+		echo "Outsiders: ${outsiders[@]}"
+		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
+		eend 0  # do not fail
+	fi
+
+	optfeature "readline editing features in REPL" dev-libs/libedit
+	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+
+	readme.gentoo_print_elog
+}
+
+pkg_config() {
+	einfo "Swapping package database backup files"
+
+	for rktd in "${PKGDB[@]}" ; do
+		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
+		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
+		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
+	done
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2023-08-17 13:22 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2023-08-17 13:22 UTC (permalink / raw
  To: gentoo-commits

commit:     ac9ab5da0ded14bd51590281eaa88bfe3d8845f3
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 17 13:21:29 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Aug 17 13:22:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac9ab5da

dev-scheme/racket: fix manifest

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

 dev-scheme/racket/Manifest | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 5c398777fdef..6fe06928b59f 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -2,3 +2,7 @@ DIST racket-8.10-src-builtpkgs.tgz 156573576 BLAKE2B def6007fec5701a3ca399f3173f
 DIST racket-8.6-src-builtpkgs.tgz 154505661 BLAKE2B ab788ae3e5175024ec75fa0c34297616ab4dcc1bb6f62d4ff4623dc2dd699d63eb9b24238407a854b03210f21fefd02680dc29931ed9d146920ae32472196e32 SHA512 c2948164463fb59a2d6f1b5188cee7634da190ea40bd19f5a88ef466ccdf07da03503b6a1f00e327a66c31b862048bcd5b047f7c586ea0d26e23397ee5ee7682
 DIST racket-8.7-src-builtpkgs.tgz 156337131 BLAKE2B a323683b6fd6d39473ab3eaeea24d175e12f8e36b9103849ec0730757b9c3d32f2e84ab8a9bde7fa834e2c6cf709e2531ab15e36e2694c5843b3b0bb41e909f8 SHA512 4c01001be49271e5536d24257c36bc57b16ff2cbf14eb59208b2939f4d14b5f58028cd1f643d49497eb8bffa84e5847f761171c951e006c278cf5d8ffafdd73e
 DIST racket-8.9-src-builtpkgs.tgz 157090283 BLAKE2B 515ad19f37a18decb52ea42ceff5b4570d311d39e15996eb0abd228d16ef5fcae971a87145faf7d27584dc0d6b54b1d94a77bb099e6c2dfd3fa5ddca0b3333b0 SHA512 0eb823600233746e9b5e054747fc5ee1c033a102fe6ab912cc2a15d4ad5b217e04c25124f1877ce04eada4f99c2d6b08cc58adf07535c3962f7d05a21dce8471
+DIST racket-minimal-8.10-src-builtpkgs.tgz 23128997 BLAKE2B 614cd3bdaf8852a5de1487c06e2b28968709fade25654684a4ba4f458a983783af23837996bbf163907312fc8e79b2fe22421983bcfe10ae391e0091ec60474d SHA512 aa16ee792b978fbef74b9b3a4af70eb264515bc16ed2109ade15ce54c658b0ccf9bffd9b07b71263298c0eb6eed768ad3d7e2c9e00df284ec1793b7fe0494f82
+DIST racket-minimal-8.6-src-builtpkgs.tgz 22396113 BLAKE2B e8c09da9aef52566746def36823e736e07990ba703d8440a3d067cbeeb43c8d026469c1d4b7d9ad2a423766692b81d6efa400c55512450621acd624d23b1b193 SHA512 695f9be11cab2cf84d1c16b322feb6c4552bf05edbfd901e91fa9532ef52339a6463d8327f4ae4c704cd2e8d67e69c2333bc13b1c862bbe565af00b407debee8
+DIST racket-minimal-8.7-src-builtpkgs.tgz 22795747 BLAKE2B 3f0194ffff3f3a9ea383ddd6c447a8d56d8cf4fb029c77bf9e8733570ca59244afd321541e7506ca11bc8b09f4c56dd3e26cd01d22caa7f3f36bd5af29c861a6 SHA512 b60472160b41a070a4aa74265e6319da4e80c6e58ac3152a30dfa3398f457c6579384de62b66dcb7a7ead68f72f787c41eae65325cdc1ae928b54a90d0a25f05
+DIST racket-minimal-8.9-src-builtpkgs.tgz 23084628 BLAKE2B 5e1e688dc600b700ed13acdbbafddaa2d6bf5a0e05db4a845b53f33e9448b277f342f5f615086f78db4762eeac11911c9b88cd102f05fbe165fcdff72a9ebcf3 SHA512 404aa01242eb68453e9db3cc14e38b99a02af9eb13b1dccce36e1de9c10d2ddd37bc6411abad7ab58045c71d25336e09d6e06f391cc3ee372097ca68fc497051


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2023-10-01 15:37 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2023-10-01 15:37 UTC (permalink / raw
  To: gentoo-commits

commit:     71757da54bd679508e188e448b6acdd75c8858a0
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  1 15:22:39 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Oct  1 15:37:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71757da5

dev-scheme/racket: drop old 8.7

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

 dev-scheme/racket/Manifest          |   2 -
 dev-scheme/racket/racket-8.7.ebuild | 184 ------------------------------------
 2 files changed, 186 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 6fe06928b59f..c13b0f07a14d 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,8 +1,6 @@
 DIST racket-8.10-src-builtpkgs.tgz 156573576 BLAKE2B def6007fec5701a3ca399f3173f863155214521e95b8e655090a61506a8ecd8eae7ddc02785593d256e6a0e23f022997c18460130bdc72e9fcaad8de36030b7d SHA512 4a861b90ca03b252dae0b530ab39cf0fe67dd38e306cc639b6e24516b01d7d25918c0f7e1fb0a105ab51d3be802d349576b4f0ee7ef6ea26bb11fc16abada3dd
 DIST racket-8.6-src-builtpkgs.tgz 154505661 BLAKE2B ab788ae3e5175024ec75fa0c34297616ab4dcc1bb6f62d4ff4623dc2dd699d63eb9b24238407a854b03210f21fefd02680dc29931ed9d146920ae32472196e32 SHA512 c2948164463fb59a2d6f1b5188cee7634da190ea40bd19f5a88ef466ccdf07da03503b6a1f00e327a66c31b862048bcd5b047f7c586ea0d26e23397ee5ee7682
-DIST racket-8.7-src-builtpkgs.tgz 156337131 BLAKE2B a323683b6fd6d39473ab3eaeea24d175e12f8e36b9103849ec0730757b9c3d32f2e84ab8a9bde7fa834e2c6cf709e2531ab15e36e2694c5843b3b0bb41e909f8 SHA512 4c01001be49271e5536d24257c36bc57b16ff2cbf14eb59208b2939f4d14b5f58028cd1f643d49497eb8bffa84e5847f761171c951e006c278cf5d8ffafdd73e
 DIST racket-8.9-src-builtpkgs.tgz 157090283 BLAKE2B 515ad19f37a18decb52ea42ceff5b4570d311d39e15996eb0abd228d16ef5fcae971a87145faf7d27584dc0d6b54b1d94a77bb099e6c2dfd3fa5ddca0b3333b0 SHA512 0eb823600233746e9b5e054747fc5ee1c033a102fe6ab912cc2a15d4ad5b217e04c25124f1877ce04eada4f99c2d6b08cc58adf07535c3962f7d05a21dce8471
 DIST racket-minimal-8.10-src-builtpkgs.tgz 23128997 BLAKE2B 614cd3bdaf8852a5de1487c06e2b28968709fade25654684a4ba4f458a983783af23837996bbf163907312fc8e79b2fe22421983bcfe10ae391e0091ec60474d SHA512 aa16ee792b978fbef74b9b3a4af70eb264515bc16ed2109ade15ce54c658b0ccf9bffd9b07b71263298c0eb6eed768ad3d7e2c9e00df284ec1793b7fe0494f82
 DIST racket-minimal-8.6-src-builtpkgs.tgz 22396113 BLAKE2B e8c09da9aef52566746def36823e736e07990ba703d8440a3d067cbeeb43c8d026469c1d4b7d9ad2a423766692b81d6efa400c55512450621acd624d23b1b193 SHA512 695f9be11cab2cf84d1c16b322feb6c4552bf05edbfd901e91fa9532ef52339a6463d8327f4ae4c704cd2e8d67e69c2333bc13b1c862bbe565af00b407debee8
-DIST racket-minimal-8.7-src-builtpkgs.tgz 22795747 BLAKE2B 3f0194ffff3f3a9ea383ddd6c447a8d56d8cf4fb029c77bf9e8733570ca59244afd321541e7506ca11bc8b09f4c56dd3e26cd01d22caa7f3f36bd5af29c861a6 SHA512 b60472160b41a070a4aa74265e6319da4e80c6e58ac3152a30dfa3398f457c6579384de62b66dcb7a7ead68f72f787c41eae65325cdc1ae928b54a90d0a25f05
 DIST racket-minimal-8.9-src-builtpkgs.tgz 23084628 BLAKE2B 5e1e688dc600b700ed13acdbbafddaa2d6bf5a0e05db4a845b53f33e9448b277f342f5f615086f78db4762eeac11911c9b88cd102f05fbe165fcdff72a9ebcf3 SHA512 404aa01242eb68453e9db3cc14e38b99a02af9eb13b1dccce36e1de9c10d2ddd37bc6411abad7ab58045c71d25336e09d6e06f391cc3ee372097ca68fc497051

diff --git a/dev-scheme/racket/racket-8.7.ebuild b/dev-scheme/racket/racket-8.7.ebuild
deleted file mode 100644
index c1aa334b4e61..000000000000
--- a/dev-scheme/racket/racket-8.7.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop optfeature toolchain-funcs readme.gentoo-r1
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/
-	https://github.com/racket/racket/"
-SRC_URI="
-	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
-	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
-"
-S="${WORKDIR}"/${P}/src
-
-# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
-LICENSE="
-	|| ( MIT Apache-2.0 )
-	chez? ( Apache-2.0 )
-	!chez? ( LGPL-3 )
-"
-# Bytecode generated by Racket is not compatible between versions.
-# The bytecode version should be denoted by SLOT, in most cases
-# PV == SLOT but this has to be checked carefully and in cases
-# where we use _p, _pre, etc it will have to be set manually.
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
-IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
-# See bug #809785 re chez/threads
-REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
-
-RDEPEND="
-	!dev-tex/slatex
-	dev-db/sqlite:3
-	dev-libs/libffi:=
-	ncurses? ( sys-libs/ncurses:= )
-"
-DEPEND="${RDEPEND}"
-
-# "mred" and "mzscheme" are binaries generated by Racket, not CC
-QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
-
-DOC_CONTENTS="
-If you wish to use sys-libs/readline instead of dev-libs/libedit
-for readline-like features in the Racket's REPL you can install
-the package 'readline-gpl' using raco, Racket's package manager
-https://pkgs.racket-lang.org/package/readline-gpl
-"
-
-# Package database files (for pkg_preinst & pkg_config)
-PKGDB=(
-	/usr/share/racket/info-cache.rktd
-	/usr/share/racket/links.rktd
-	/usr/share/racket/pkgs/pkgs.rktd
-)
-
-src_prepare() {
-	# Prepare the environment.
-	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
-
-	default
-
-	# Remove bundled libffi.
-	rm -r "${S}"/bc/foreign/libffi || die "failed to remove bundled libffi"
-}
-
-src_configure() {
-	# Compilation of Zuo does not respect the autoconf configuration.
-	tc-export CC
-
-	# Configure Zuo.
-	pushd "${S}"/zuo >/dev/null || die
-	econf
-	popd >/dev/null || die
-
-	# Configure Racket.
-	# Libtool:
-	#   According to vapier, we should use the bundled libtool
-	#   such that we don't preclude cross-compile.
-	#   Thus don't use --enable-lt=/usr/bin/libtool
-	# Backend:
-	#   --enable-bc builds Racket w/o chez backend
-	# C Libraries:
-	#   --enable-libs & --disable-shared is the way to build
-	#   .a files that are needed to embed Racket into programs
-	#   https://docs.racket-lang.org/inside/cs-embedding.html
-	local myconf=(
-		--disable-shared
-		--disable-strip
-		--docdir="${EPREFIX}"/usr/share/doc/${PF}
-		--enable-libs
-		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
-		$(use_enable doc docs)
-		$(use_enable iconv)
-		$(use_enable ncurses curses)
-	)
-	# Some options are togglable only for the BC version (are forced in CS)
-	! use chez && myconf+=(
-			--enable-float
-			--enable-foreign
-			--enable-gracket
-			--enable-libffi
-			$(use_enable futures)
-			$(use_enable jit)
-			$(use_enable places)
-			$(use_enable threads pthread)
-		)
-	econf "${myconf[@]}"
-}
-
-src_compile() {
-	# Compile Racket.
-	CC_FOR_BUILD="$(tc-getCC)" default
-
-	# Recompile Zuo with optimizations.
-	emake -C zuo
-}
-
-src_install() {
-	# Install Racket.
-	default
-
-	# Install Zuo.
-	emake -C zuo DESTDIR="${ED}" install
-
-	# raco needs decompressed files for packages doc installation, bug #662424
-	use doc && docompress -x /usr/share/doc/${PF}
-
-	# Create missing desktop files and icon.
-	if ! use minimal ; then
-		newicon "${ED}"/usr/share/racket/drracket-exe-icon.png racket.png
-		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
-		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
-	fi
-
-	readme.gentoo_create_doc
-}
-
-pkg_preinst() {
-	# If we are merging the same SLOT check if package
-	# database files exist and do not overwrite them
-	if has_version ${CATEGORY}/${PN}:${SLOT} ; then
-		echo "We are installing the same SLOT: ${SLOT}"
-		local rktd
-		for rktd in "${PKGDB[@]}" ; do
-			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]] ; then
-				einfo "Keeping old file: ${rktd}"
-				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
-					die "failed to create a backup of ${rktd}"
-				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
-					die "failed to create a copy of ${rktd}"
-			fi
-		done
-	fi
-}
-
-pkg_postinst() {
-	# If we have any pkgs not included in Racket main distribution (outsiders),
-	# then we have to re-setup them or during installation other pkgs will want
-	# to recompile parts of "outsider" pkgs they depend upon (and fail).
-	local outsiders=( $(raco pkg show -i | grep 'link' | sed 's|link.*||g') )
-	if [[ -n "${outsiders[@]}" ]] ; then
-		ebegin "Running \"raco setup\" for outsider packages"
-		echo "Outsiders: ${outsiders[@]}"
-		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
-		eend 0  # do not fail
-	fi
-
-	optfeature "readline editing features in REPL" dev-libs/libedit
-	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
-
-	readme.gentoo_print_elog
-}
-
-pkg_config() {
-	einfo "Swapping package database backup files"
-
-	for rktd in "${PKGDB[@]}" ; do
-		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
-		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
-		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
-	done
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2023-10-01 18:07 Arthur Zamarin
  0 siblings, 0 replies; 110+ messages in thread
From: Arthur Zamarin @ 2023-10-01 18:07 UTC (permalink / raw
  To: gentoo-commits

commit:     1f89c3eb7a85a827ce73360299a8fed03aa9707b
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  1 18:07:20 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Oct  1 18:07:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f89c3eb

dev-scheme/racket: Stabilize 8.10 amd64, #915022

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/racket-8.10.ebuild b/dev-scheme/racket/racket-8.10.ebuild
index aea3f9340d79..d004dfc42c21 100644
--- a/dev-scheme/racket/racket-8.10.ebuild
+++ b/dev-scheme/racket/racket-8.10.ebuild
@@ -25,7 +25,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2023-10-01 18:23 Arthur Zamarin
  0 siblings, 0 replies; 110+ messages in thread
From: Arthur Zamarin @ 2023-10-01 18:23 UTC (permalink / raw
  To: gentoo-commits

commit:     a1b50d59a462d8dd92ecbdc987535514a987fa4e
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  1 18:23:17 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Oct  1 18:23:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1b50d59

dev-scheme/racket: Stabilize 8.10 x86, #915022

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/racket-8.10.ebuild b/dev-scheme/racket/racket-8.10.ebuild
index d004dfc42c21..37f448162231 100644
--- a/dev-scheme/racket/racket-8.10.ebuild
+++ b/dev-scheme/racket/racket-8.10.ebuild
@@ -25,7 +25,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2023-12-13 17:17 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2023-12-13 17:17 UTC (permalink / raw
  To: gentoo-commits

commit:     2d359a70ca36e97d9d2f4ea925206146077d237e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 13 11:30:03 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Dec 13 17:17:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d359a70

dev-scheme/racket: bump to 8.11.1

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

 dev-scheme/racket/Manifest             |   2 +
 dev-scheme/racket/racket-8.11.1.ebuild | 182 +++++++++++++++++++++++++++++++++
 2 files changed, 184 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index c44bb6cf233c..d5b20690708d 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,8 +1,10 @@
 DIST racket-8.10-src-builtpkgs.tgz 156573576 BLAKE2B def6007fec5701a3ca399f3173f863155214521e95b8e655090a61506a8ecd8eae7ddc02785593d256e6a0e23f022997c18460130bdc72e9fcaad8de36030b7d SHA512 4a861b90ca03b252dae0b530ab39cf0fe67dd38e306cc639b6e24516b01d7d25918c0f7e1fb0a105ab51d3be802d349576b4f0ee7ef6ea26bb11fc16abada3dd
 DIST racket-8.11-src-builtpkgs.tgz 156675262 BLAKE2B eff8872ee6bdf84f5fe426970ce9dd84f659eb1c437e820c8e853ee942dcebe2d306707d2e7d4b3fb1be648e5a795d3240f294aba5b8f5989d6eaca72c0e7dd5 SHA512 928b331797b1d9130a765ec2104a569ab984ab5bb101c6cc445f6ef60601d5d42df1db5ebda0ff1aff09592a55118dcdf0bc47467dce13535eabe2f8e4bcf0d1
+DIST racket-8.11.1-src-builtpkgs.tgz 156700945 BLAKE2B e1a29400582ccc309fc7aa74a48f655866a7800580b229ff516102378b25b9431f088ab82e3444b407292b424facb39fdeb85634329a1a776bd7296b0399b612 SHA512 f9b1a98baa454b440df1e776f18c807931ad2ed85524dc192752889052aaf82e979d55dc6a6892bba60997be477b8f443d7a461aa87c5e9191f2a500a7a9dbe4
 DIST racket-8.6-src-builtpkgs.tgz 154505661 BLAKE2B ab788ae3e5175024ec75fa0c34297616ab4dcc1bb6f62d4ff4623dc2dd699d63eb9b24238407a854b03210f21fefd02680dc29931ed9d146920ae32472196e32 SHA512 c2948164463fb59a2d6f1b5188cee7634da190ea40bd19f5a88ef466ccdf07da03503b6a1f00e327a66c31b862048bcd5b047f7c586ea0d26e23397ee5ee7682
 DIST racket-8.9-src-builtpkgs.tgz 157090283 BLAKE2B 515ad19f37a18decb52ea42ceff5b4570d311d39e15996eb0abd228d16ef5fcae971a87145faf7d27584dc0d6b54b1d94a77bb099e6c2dfd3fa5ddca0b3333b0 SHA512 0eb823600233746e9b5e054747fc5ee1c033a102fe6ab912cc2a15d4ad5b217e04c25124f1877ce04eada4f99c2d6b08cc58adf07535c3962f7d05a21dce8471
 DIST racket-minimal-8.10-src-builtpkgs.tgz 23128997 BLAKE2B 614cd3bdaf8852a5de1487c06e2b28968709fade25654684a4ba4f458a983783af23837996bbf163907312fc8e79b2fe22421983bcfe10ae391e0091ec60474d SHA512 aa16ee792b978fbef74b9b3a4af70eb264515bc16ed2109ade15ce54c658b0ccf9bffd9b07b71263298c0eb6eed768ad3d7e2c9e00df284ec1793b7fe0494f82
 DIST racket-minimal-8.11-src-builtpkgs.tgz 23127690 BLAKE2B d9855977312af6313dad0b020436e8a3838814a814f48a1d3ef88f51b99c95163f6564f47ec01d23020bdc0eaeeeb3219f55f8e0fdd74a57069e7e533b36eaa6 SHA512 0f7ac946d544449b45f1301d8530ab80baf9ddaa2e2b6ac043926f233e1feb1829a6a49ebd35603b4b2b9d27ba6db2382b47e355464a7855aaaa2954bf693dfe
+DIST racket-minimal-8.11.1-src-builtpkgs.tgz 23130377 BLAKE2B 0df94b14d76112f4c0224ca9fc2e223fe635fbdc3c95c317197edceea31bb106265a95127ebd60a3005c78050e5bce1baf8e046b82c0d18f191c776cef09bb89 SHA512 bfecf7e7c9f4b55d70eb9e4c010d4248b2caeedc2f6d42ba09b0dc476c76eaaff6793564e94e0f159631c66fb6629f2f052c986b7eb9ee701eab7ef4695b1cf1
 DIST racket-minimal-8.6-src-builtpkgs.tgz 22396113 BLAKE2B e8c09da9aef52566746def36823e736e07990ba703d8440a3d067cbeeb43c8d026469c1d4b7d9ad2a423766692b81d6efa400c55512450621acd624d23b1b193 SHA512 695f9be11cab2cf84d1c16b322feb6c4552bf05edbfd901e91fa9532ef52339a6463d8327f4ae4c704cd2e8d67e69c2333bc13b1c862bbe565af00b407debee8
 DIST racket-minimal-8.9-src-builtpkgs.tgz 23084628 BLAKE2B 5e1e688dc600b700ed13acdbbafddaa2d6bf5a0e05db4a845b53f33e9448b277f342f5f615086f78db4762eeac11911c9b88cd102f05fbe165fcdff72a9ebcf3 SHA512 404aa01242eb68453e9db3cc14e38b99a02af9eb13b1dccce36e1de9c10d2ddd37bc6411abad7ab58045c71d25336e09d6e06f391cc3ee372097ca68fc497051

diff --git a/dev-scheme/racket/racket-8.11.1.ebuild b/dev-scheme/racket/racket-8.11.1.ebuild
new file mode 100644
index 000000000000..12cef05a89bf
--- /dev/null
+++ b/dev-scheme/racket/racket-8.11.1.ebuild
@@ -0,0 +1,182 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop optfeature toolchain-funcs readme.gentoo-r1
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="https://racket-lang.org/
+	https://github.com/racket/racket/"
+SRC_URI="
+	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
+	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
+"
+S="${WORKDIR}/${P}/src"
+
+# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
+LICENSE="
+	|| ( MIT Apache-2.0 )
+	chez? ( Apache-2.0 )
+	!chez? ( LGPL-3 )
+"
+# Bytecode generated by Racket is not compatible between versions.
+# The bytecode version should be denoted by SLOT, in most cases
+# PV == SLOT but this has to be checked carefully and in cases
+# where we use _p, _pre, etc it will have to be set manually.
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
+# See bug #809785 re chez/threads
+REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
+
+RDEPEND="
+	dev-db/sqlite:3
+	dev-libs/libffi:=
+	ncurses? ( sys-libs/ncurses:= )
+"
+DEPEND="${RDEPEND}"
+
+# "mred" and "mzscheme" are binaries generated by Racket, not CC
+QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
+
+DOC_CONTENTS="
+If you wish to use sys-libs/readline instead of dev-libs/libedit
+for readline-like features in the Racket's REPL you can install
+the package 'readline-gpl' using raco, Racket's package manager
+https://pkgs.racket-lang.org/package/readline-gpl
+"
+
+# Package database files (for pkg_preinst & pkg_config)
+PKGDB=(
+	/usr/share/racket/info-cache.rktd
+	/usr/share/racket/links.rktd
+	/usr/share/racket/pkgs/pkgs.rktd
+)
+
+src_prepare() {
+	# Prepare the environment.
+	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
+
+	default
+
+	# Remove bundled libffi.
+	rm -r "${S}/bc/foreign/libffi" || die "failed to remove bundled libffi"
+}
+
+src_configure() {
+	# Compilation of Zuo does not respect the autoconf configuration.
+	tc-export CC
+
+	einfo "Configuring Zuo in ${S}/zuo"
+	pushd "${S}/zuo" >/dev/null || die
+	econf
+	popd >/dev/null || die
+
+	einfo "Configuring Racket in ${S}"
+	# Libtool:
+	#   According to vapier, we should use the bundled libtool
+	#   such that we don't preclude cross-compile.
+	#   Thus don't use --enable-lt=/usr/bin/libtool
+	# Backend:
+	#   --enable-bc builds Racket w/o chez backend
+	# C Libraries:
+	#   --enable-libs & --disable-shared is the way to build
+	#   .a files that are needed to embed Racket into programs
+	#   https://docs.racket-lang.org/inside/cs-embedding.html
+	local -a myconf=(
+		--disable-shared
+		--disable-strip
+		--docdir="${EPREFIX}/usr/share/doc/${PF}"
+		--enable-libs
+		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
+		$(use_enable doc docs)
+		$(use_enable iconv)
+		$(use_enable ncurses curses)
+	)
+	# Some options are togglable only for the BC version (are forced in CS)
+	! use chez && myconf+=(
+			--enable-float
+			--enable-foreign
+			--enable-gracket
+			--enable-libffi
+			$(use_enable futures)
+			$(use_enable jit)
+			$(use_enable places)
+			$(use_enable threads pthread)
+		)
+	econf "${myconf[@]}"
+}
+
+src_compile() {
+	# Compile Racket.
+	CC_FOR_BUILD="$(tc-getCC)" default
+
+	# Recompile Zuo with optimizations.
+	emake -C zuo
+}
+
+src_install() {
+	# Install Racket.
+	default
+
+	# Install Zuo.
+	emake -C zuo DESTDIR="${ED}" install
+
+	# raco needs decompressed files for packages doc installation, bug #662424
+	use doc && docompress -x "/usr/share/doc/${PF}"
+
+	# Create missing desktop files and icon.
+	if ! use minimal ; then
+		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" racket.png
+
+		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
+		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
+	fi
+
+	readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+	# If we are merging the same SLOT check if package
+	# database files exist and do not overwrite them
+	if has_version "${CATEGORY}/${PN}:${SLOT}" ; then
+		echo "We are installing the same SLOT: ${SLOT}"
+
+		local rktd
+		for rktd in "${PKGDB[@]}" ; do
+			if [[ -f "${EROOT}/${rktd}" ]] && [[ -f "${ED}/${rktd}" ]] ; then
+				einfo "Keeping old file: ${rktd}"
+
+				mv "${ED}/${rktd}" "${ED}/${rktd}.bak" ||
+					die "failed to create a backup of ${rktd}"
+
+				cp "${EROOT}/${rktd}" "${ED}/${rktd}" ||
+					die "failed to create a copy of ${rktd}"
+			fi
+		done
+	fi
+}
+
+get_outsiders() {
+	racket -l raco -- pkg show -i | grep 'link' | sed 's|link.*||g'
+}
+
+pkg_postinst() {
+	# If we have any pkgs not included in Racket main distribution (outsiders),
+	# then we have to re-setup them or during installation other pkgs will want
+	# to recompile parts of "outsider" pkgs they depend upon (and fail).
+	local -a outsiders=( $(get_outsiders) )
+	if [[ -n "${outsiders[@]}" ]] ; then
+		ebegin "Running \"raco setup\" for outsider packages"
+		echo "Outsiders: ${outsiders[@]}"
+
+		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
+		eend 0  # do not fail
+	fi
+
+	optfeature "readline editing features in REPL" dev-libs/libedit
+	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+
+	readme.gentoo_print_elog
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2023-12-22  5:14 Ionen Wolkens
  0 siblings, 0 replies; 110+ messages in thread
From: Ionen Wolkens @ 2023-12-22  5:14 UTC (permalink / raw
  To: gentoo-commits

commit:     97bb7b5dacc52657bb906e70c71bbd5d298625bc
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Thu Dec 21 02:23:05 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Dec 22 05:13:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97bb7b5d

dev-scheme/racket: Stabilize 8.9 ppc64, #909826

Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/racket-8.9.ebuild b/dev-scheme/racket/racket-8.9.ebuild
index 37f448162231..05e5db9b507a 100644
--- a/dev-scheme/racket/racket-8.9.ebuild
+++ b/dev-scheme/racket/racket-8.9.ebuild
@@ -25,7 +25,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~ppc ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2023-12-22  5:14 Ionen Wolkens
  0 siblings, 0 replies; 110+ messages in thread
From: Ionen Wolkens @ 2023-12-22  5:14 UTC (permalink / raw
  To: gentoo-commits

commit:     787b1cc1507dc0faf93f723997f081c0879103bf
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Thu Dec 21 02:55:10 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Dec 22 05:13:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=787b1cc1

dev-scheme/racket: Stabilize 8.10 ppc64, #915022

Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/racket-8.10.ebuild b/dev-scheme/racket/racket-8.10.ebuild
index 37f448162231..05e5db9b507a 100644
--- a/dev-scheme/racket/racket-8.10.ebuild
+++ b/dev-scheme/racket/racket-8.10.ebuild
@@ -25,7 +25,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~ppc ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-01-12 23:22 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2024-01-12 23:22 UTC (permalink / raw
  To: gentoo-commits

commit:     7b0995afdf32b1594f3677a73088888851520a7f
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 12 21:32:41 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Jan 12 23:21:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b0995af

dev-scheme/racket: drop old 8.6

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

 dev-scheme/racket/Manifest          |   2 -
 dev-scheme/racket/racket-8.6.ebuild | 183 ------------------------------------
 2 files changed, 185 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index d5b20690708d..011a6647d75d 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,10 +1,8 @@
 DIST racket-8.10-src-builtpkgs.tgz 156573576 BLAKE2B def6007fec5701a3ca399f3173f863155214521e95b8e655090a61506a8ecd8eae7ddc02785593d256e6a0e23f022997c18460130bdc72e9fcaad8de36030b7d SHA512 4a861b90ca03b252dae0b530ab39cf0fe67dd38e306cc639b6e24516b01d7d25918c0f7e1fb0a105ab51d3be802d349576b4f0ee7ef6ea26bb11fc16abada3dd
 DIST racket-8.11-src-builtpkgs.tgz 156675262 BLAKE2B eff8872ee6bdf84f5fe426970ce9dd84f659eb1c437e820c8e853ee942dcebe2d306707d2e7d4b3fb1be648e5a795d3240f294aba5b8f5989d6eaca72c0e7dd5 SHA512 928b331797b1d9130a765ec2104a569ab984ab5bb101c6cc445f6ef60601d5d42df1db5ebda0ff1aff09592a55118dcdf0bc47467dce13535eabe2f8e4bcf0d1
 DIST racket-8.11.1-src-builtpkgs.tgz 156700945 BLAKE2B e1a29400582ccc309fc7aa74a48f655866a7800580b229ff516102378b25b9431f088ab82e3444b407292b424facb39fdeb85634329a1a776bd7296b0399b612 SHA512 f9b1a98baa454b440df1e776f18c807931ad2ed85524dc192752889052aaf82e979d55dc6a6892bba60997be477b8f443d7a461aa87c5e9191f2a500a7a9dbe4
-DIST racket-8.6-src-builtpkgs.tgz 154505661 BLAKE2B ab788ae3e5175024ec75fa0c34297616ab4dcc1bb6f62d4ff4623dc2dd699d63eb9b24238407a854b03210f21fefd02680dc29931ed9d146920ae32472196e32 SHA512 c2948164463fb59a2d6f1b5188cee7634da190ea40bd19f5a88ef466ccdf07da03503b6a1f00e327a66c31b862048bcd5b047f7c586ea0d26e23397ee5ee7682
 DIST racket-8.9-src-builtpkgs.tgz 157090283 BLAKE2B 515ad19f37a18decb52ea42ceff5b4570d311d39e15996eb0abd228d16ef5fcae971a87145faf7d27584dc0d6b54b1d94a77bb099e6c2dfd3fa5ddca0b3333b0 SHA512 0eb823600233746e9b5e054747fc5ee1c033a102fe6ab912cc2a15d4ad5b217e04c25124f1877ce04eada4f99c2d6b08cc58adf07535c3962f7d05a21dce8471
 DIST racket-minimal-8.10-src-builtpkgs.tgz 23128997 BLAKE2B 614cd3bdaf8852a5de1487c06e2b28968709fade25654684a4ba4f458a983783af23837996bbf163907312fc8e79b2fe22421983bcfe10ae391e0091ec60474d SHA512 aa16ee792b978fbef74b9b3a4af70eb264515bc16ed2109ade15ce54c658b0ccf9bffd9b07b71263298c0eb6eed768ad3d7e2c9e00df284ec1793b7fe0494f82
 DIST racket-minimal-8.11-src-builtpkgs.tgz 23127690 BLAKE2B d9855977312af6313dad0b020436e8a3838814a814f48a1d3ef88f51b99c95163f6564f47ec01d23020bdc0eaeeeb3219f55f8e0fdd74a57069e7e533b36eaa6 SHA512 0f7ac946d544449b45f1301d8530ab80baf9ddaa2e2b6ac043926f233e1feb1829a6a49ebd35603b4b2b9d27ba6db2382b47e355464a7855aaaa2954bf693dfe
 DIST racket-minimal-8.11.1-src-builtpkgs.tgz 23130377 BLAKE2B 0df94b14d76112f4c0224ca9fc2e223fe635fbdc3c95c317197edceea31bb106265a95127ebd60a3005c78050e5bce1baf8e046b82c0d18f191c776cef09bb89 SHA512 bfecf7e7c9f4b55d70eb9e4c010d4248b2caeedc2f6d42ba09b0dc476c76eaaff6793564e94e0f159631c66fb6629f2f052c986b7eb9ee701eab7ef4695b1cf1
-DIST racket-minimal-8.6-src-builtpkgs.tgz 22396113 BLAKE2B e8c09da9aef52566746def36823e736e07990ba703d8440a3d067cbeeb43c8d026469c1d4b7d9ad2a423766692b81d6efa400c55512450621acd624d23b1b193 SHA512 695f9be11cab2cf84d1c16b322feb6c4552bf05edbfd901e91fa9532ef52339a6463d8327f4ae4c704cd2e8d67e69c2333bc13b1c862bbe565af00b407debee8
 DIST racket-minimal-8.9-src-builtpkgs.tgz 23084628 BLAKE2B 5e1e688dc600b700ed13acdbbafddaa2d6bf5a0e05db4a845b53f33e9448b277f342f5f615086f78db4762eeac11911c9b88cd102f05fbe165fcdff72a9ebcf3 SHA512 404aa01242eb68453e9db3cc14e38b99a02af9eb13b1dccce36e1de9c10d2ddd37bc6411abad7ab58045c71d25336e09d6e06f391cc3ee372097ca68fc497051

diff --git a/dev-scheme/racket/racket-8.6.ebuild b/dev-scheme/racket/racket-8.6.ebuild
deleted file mode 100644
index 28e562b9b989..000000000000
--- a/dev-scheme/racket/racket-8.6.ebuild
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop optfeature toolchain-funcs readme.gentoo-r1
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/"
-SRC_URI="
-	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
-	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
-"
-S="${WORKDIR}"/${P}/src
-
-# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
-LICENSE="
-	|| ( MIT Apache-2.0 )
-	chez? ( Apache-2.0 )
-	!chez? ( LGPL-3 )
-"
-# Bytecode generated by Racket is not compatible between versions.
-# The bytecode version should be denoted by SLOT, in most cases
-# PV == SLOT but this has to be checked carefully and in cases
-# where we use _p, _pre, etc it will have to be set manually.
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ppc64 x86"
-IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
-# See bug #809785 re chez/threads
-REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
-
-DEPEND="
-	!dev-tex/slatex
-	dev-db/sqlite:3
-	dev-libs/libffi:=
-	ncurses? ( sys-libs/ncurses:= )
-"
-RDEPEND="${DEPEND}"
-
-# "mred" and "mzscheme" are binaries generated by Racket, not CC
-QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
-
-DOC_CONTENTS="
-If you wish to use sys-libs/readline instead of dev-libs/libedit
-for readline-like features in the Racket's REPL you can install
-the package 'readline-gpl' using raco, Racket's package manager
-https://pkgs.racket-lang.org/package/readline-gpl
-"
-
-# Package database files (for pkg_preinst & pkg_config)
-PKGDB=(
-	/usr/share/racket/info-cache.rktd
-	/usr/share/racket/links.rktd
-	/usr/share/racket/pkgs/pkgs.rktd
-)
-
-src_prepare() {
-	# Prepare the environment.
-	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
-
-	default
-
-	# Remove bundled libffi.
-	rm -r ./bc/foreign/libffi || die "failed to remove bundled libffi"
-}
-
-src_configure() {
-	# Compilation of Zuo does not respect the autoconf configuration.
-	tc-export CC
-
-	# Configure Zuo.
-	pushd "${S}"/zuo >/dev/null || die
-	econf
-	popd >/dev/null || die
-
-	# Configure Racket.
-	# Libtool:
-	#   According to vapier, we should use the bundled libtool
-	#   such that we don't preclude cross-compile.
-	#   Thus don't use --enable-lt=/usr/bin/libtool
-	# Backend:
-	#   --enable-bc builds Racket w/o chez backend
-	# C Libraries:
-	#   --enable-libs & --disable-shared is the way to build
-	#   .a files that are needed to embed Racket into programs
-	#   https://docs.racket-lang.org/inside/cs-embedding.html
-	local myconf=(
-		--disable-shared
-		--disable-strip
-		--docdir="${EPREFIX}"/usr/share/doc/${PF}
-		--enable-libs
-		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
-		$(use_enable doc docs)
-		$(use_enable iconv)
-		$(use_enable ncurses curses)
-	)
-	# Some options are togglable only for the BC version (are forced in CS)
-	! use chez && myconf+=(
-			--enable-float
-			--enable-foreign
-			--enable-gracket
-			--enable-libffi
-			$(use_enable futures)
-			$(use_enable jit)
-			$(use_enable places)
-			$(use_enable threads pthread)
-		)
-	econf "${myconf[@]}"
-}
-
-src_compile() {
-	# Compile Racket.
-	CC_FOR_BUILD="$(tc-getCC)" default
-
-	# Recompile Zuo with optimizations.
-	emake -C zuo
-}
-
-src_install() {
-	# Install Racket.
-	default
-
-	# Install Zuo.
-	emake -C zuo DESTDIR="${ED}" install
-
-	# raco needs decompressed files for packages doc installation, bug #662424
-	use doc && docompress -x /usr/share/doc/${PF}
-
-	# Create missing desktop files and icon.
-	if ! use minimal ; then
-		newicon "${ED}"/usr/share/racket/drracket-exe-icon.png racket.png
-		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
-		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
-	fi
-
-	readme.gentoo_create_doc
-}
-
-pkg_preinst() {
-	# If we are merging the same SLOT check if package
-	# database files exist and do not overwrite them
-	if has_version ${CATEGORY}/${PN}:${SLOT} ; then
-		echo "We are installing the same SLOT: ${SLOT}"
-		local rktd
-		for rktd in "${PKGDB[@]}" ; do
-			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]] ; then
-				einfo "Keeping old file: ${rktd}"
-				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
-					die "failed to create a backup of ${rktd}"
-				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
-					die "failed to create a copy of ${rktd}"
-			fi
-		done
-	fi
-}
-
-pkg_postinst() {
-	# If we have any pkgs not included in Racket main distribution (outsiders),
-	# then we have to re-setup them or during installation other pkgs will want
-	# to recompile parts of "outsider" pkgs they depend upon (and fail).
-	local outsiders=( $(raco pkg show -i | grep 'link' | sed 's|link.*||g') )
-	if [[ -n "${outsiders[@]}" ]] ; then
-		ebegin "Running \"raco setup\" for outsider packages"
-		echo "Outsiders: ${outsiders[@]}"
-		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
-		eend 0  # do not fail
-	fi
-
-	optfeature "readline editing features in REPL" dev-libs/libedit
-	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
-
-	readme.gentoo_print_elog
-}
-
-pkg_config() {
-	einfo "Swapping package database backup files"
-
-	for rktd in "${PKGDB[@]}" ; do
-		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
-		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
-		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
-	done
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-01-12 23:22 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2024-01-12 23:22 UTC (permalink / raw
  To: gentoo-commits

commit:     9c397cfa5c42f34fe9c2eb93de790fdc3e04df05
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 12 21:33:15 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Jan 12 23:21:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c397cfa

dev-scheme/racket: drop old 8.9

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

 dev-scheme/racket/Manifest          |   2 -
 dev-scheme/racket/racket-8.9.ebuild | 188 ------------------------------------
 2 files changed, 190 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 011a6647d75d..eda28283702c 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,8 +1,6 @@
 DIST racket-8.10-src-builtpkgs.tgz 156573576 BLAKE2B def6007fec5701a3ca399f3173f863155214521e95b8e655090a61506a8ecd8eae7ddc02785593d256e6a0e23f022997c18460130bdc72e9fcaad8de36030b7d SHA512 4a861b90ca03b252dae0b530ab39cf0fe67dd38e306cc639b6e24516b01d7d25918c0f7e1fb0a105ab51d3be802d349576b4f0ee7ef6ea26bb11fc16abada3dd
 DIST racket-8.11-src-builtpkgs.tgz 156675262 BLAKE2B eff8872ee6bdf84f5fe426970ce9dd84f659eb1c437e820c8e853ee942dcebe2d306707d2e7d4b3fb1be648e5a795d3240f294aba5b8f5989d6eaca72c0e7dd5 SHA512 928b331797b1d9130a765ec2104a569ab984ab5bb101c6cc445f6ef60601d5d42df1db5ebda0ff1aff09592a55118dcdf0bc47467dce13535eabe2f8e4bcf0d1
 DIST racket-8.11.1-src-builtpkgs.tgz 156700945 BLAKE2B e1a29400582ccc309fc7aa74a48f655866a7800580b229ff516102378b25b9431f088ab82e3444b407292b424facb39fdeb85634329a1a776bd7296b0399b612 SHA512 f9b1a98baa454b440df1e776f18c807931ad2ed85524dc192752889052aaf82e979d55dc6a6892bba60997be477b8f443d7a461aa87c5e9191f2a500a7a9dbe4
-DIST racket-8.9-src-builtpkgs.tgz 157090283 BLAKE2B 515ad19f37a18decb52ea42ceff5b4570d311d39e15996eb0abd228d16ef5fcae971a87145faf7d27584dc0d6b54b1d94a77bb099e6c2dfd3fa5ddca0b3333b0 SHA512 0eb823600233746e9b5e054747fc5ee1c033a102fe6ab912cc2a15d4ad5b217e04c25124f1877ce04eada4f99c2d6b08cc58adf07535c3962f7d05a21dce8471
 DIST racket-minimal-8.10-src-builtpkgs.tgz 23128997 BLAKE2B 614cd3bdaf8852a5de1487c06e2b28968709fade25654684a4ba4f458a983783af23837996bbf163907312fc8e79b2fe22421983bcfe10ae391e0091ec60474d SHA512 aa16ee792b978fbef74b9b3a4af70eb264515bc16ed2109ade15ce54c658b0ccf9bffd9b07b71263298c0eb6eed768ad3d7e2c9e00df284ec1793b7fe0494f82
 DIST racket-minimal-8.11-src-builtpkgs.tgz 23127690 BLAKE2B d9855977312af6313dad0b020436e8a3838814a814f48a1d3ef88f51b99c95163f6564f47ec01d23020bdc0eaeeeb3219f55f8e0fdd74a57069e7e533b36eaa6 SHA512 0f7ac946d544449b45f1301d8530ab80baf9ddaa2e2b6ac043926f233e1feb1829a6a49ebd35603b4b2b9d27ba6db2382b47e355464a7855aaaa2954bf693dfe
 DIST racket-minimal-8.11.1-src-builtpkgs.tgz 23130377 BLAKE2B 0df94b14d76112f4c0224ca9fc2e223fe635fbdc3c95c317197edceea31bb106265a95127ebd60a3005c78050e5bce1baf8e046b82c0d18f191c776cef09bb89 SHA512 bfecf7e7c9f4b55d70eb9e4c010d4248b2caeedc2f6d42ba09b0dc476c76eaaff6793564e94e0f159631c66fb6629f2f052c986b7eb9ee701eab7ef4695b1cf1
-DIST racket-minimal-8.9-src-builtpkgs.tgz 23084628 BLAKE2B 5e1e688dc600b700ed13acdbbafddaa2d6bf5a0e05db4a845b53f33e9448b277f342f5f615086f78db4762eeac11911c9b88cd102f05fbe165fcdff72a9ebcf3 SHA512 404aa01242eb68453e9db3cc14e38b99a02af9eb13b1dccce36e1de9c10d2ddd37bc6411abad7ab58045c71d25336e09d6e06f391cc3ee372097ca68fc497051

diff --git a/dev-scheme/racket/racket-8.9.ebuild b/dev-scheme/racket/racket-8.9.ebuild
deleted file mode 100644
index 05e5db9b507a..000000000000
--- a/dev-scheme/racket/racket-8.9.ebuild
+++ /dev/null
@@ -1,188 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop optfeature toolchain-funcs readme.gentoo-r1
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/
-	https://github.com/racket/racket/"
-SRC_URI="
-	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
-	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
-"
-S="${WORKDIR}"/${P}/src
-
-# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
-LICENSE="
-	|| ( MIT Apache-2.0 )
-	chez? ( Apache-2.0 )
-	!chez? ( LGPL-3 )
-"
-# Bytecode generated by Racket is not compatible between versions.
-# The bytecode version should be denoted by SLOT, in most cases
-# PV == SLOT but this has to be checked carefully and in cases
-# where we use _p, _pre, etc it will have to be set manually.
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ppc64 x86"
-IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
-# See bug #809785 re chez/threads
-REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
-
-RDEPEND="
-	!dev-tex/slatex
-	dev-db/sqlite:3
-	dev-libs/libffi:=
-	ncurses? ( sys-libs/ncurses:= )
-"
-DEPEND="${RDEPEND}"
-
-# "mred" and "mzscheme" are binaries generated by Racket, not CC
-QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
-
-DOC_CONTENTS="
-If you wish to use sys-libs/readline instead of dev-libs/libedit
-for readline-like features in the Racket's REPL you can install
-the package 'readline-gpl' using raco, Racket's package manager
-https://pkgs.racket-lang.org/package/readline-gpl
-"
-
-# Package database files (for pkg_preinst & pkg_config)
-PKGDB=(
-	/usr/share/racket/info-cache.rktd
-	/usr/share/racket/links.rktd
-	/usr/share/racket/pkgs/pkgs.rktd
-)
-
-src_prepare() {
-	# Prepare the environment.
-	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
-
-	default
-
-	# Remove bundled libffi.
-	rm -r "${S}"/bc/foreign/libffi || die "failed to remove bundled libffi"
-}
-
-src_configure() {
-	# Compilation of Zuo does not respect the autoconf configuration.
-	tc-export CC
-
-	einfo "Configuring Zuo in ${S}/zuo"
-	pushd "${S}"/zuo >/dev/null || die
-	econf
-	popd >/dev/null || die
-
-	einfo "Configuring Racket in ${S}"
-	# Libtool:
-	#   According to vapier, we should use the bundled libtool
-	#   such that we don't preclude cross-compile.
-	#   Thus don't use --enable-lt=/usr/bin/libtool
-	# Backend:
-	#   --enable-bc builds Racket w/o chez backend
-	# C Libraries:
-	#   --enable-libs & --disable-shared is the way to build
-	#   .a files that are needed to embed Racket into programs
-	#   https://docs.racket-lang.org/inside/cs-embedding.html
-	local -a myconf=(
-		--disable-shared
-		--disable-strip
-		--docdir="${EPREFIX}"/usr/share/doc/${PF}
-		--enable-libs
-		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
-		$(use_enable doc docs)
-		$(use_enable iconv)
-		$(use_enable ncurses curses)
-	)
-	# Some options are togglable only for the BC version (are forced in CS)
-	! use chez && myconf+=(
-			--enable-float
-			--enable-foreign
-			--enable-gracket
-			--enable-libffi
-			$(use_enable futures)
-			$(use_enable jit)
-			$(use_enable places)
-			$(use_enable threads pthread)
-		)
-	econf "${myconf[@]}"
-}
-
-src_compile() {
-	# Compile Racket.
-	CC_FOR_BUILD="$(tc-getCC)" default
-
-	# Recompile Zuo with optimizations.
-	emake -C zuo
-}
-
-src_install() {
-	# Install Racket.
-	default
-
-	# Install Zuo.
-	emake -C zuo DESTDIR="${ED}" install
-
-	# raco needs decompressed files for packages doc installation, bug #662424
-	use doc && docompress -x /usr/share/doc/${PF}
-
-	# Create missing desktop files and icon.
-	if ! use minimal ; then
-		newicon "${ED}"/usr/share/racket/drracket-exe-icon.png racket.png
-		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
-		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
-	fi
-
-	readme.gentoo_create_doc
-}
-
-pkg_preinst() {
-	# If we are merging the same SLOT check if package
-	# database files exist and do not overwrite them
-	if has_version ${CATEGORY}/${PN}:${SLOT} ; then
-		echo "We are installing the same SLOT: ${SLOT}"
-		local rktd
-		for rktd in "${PKGDB[@]}" ; do
-			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]] ; then
-				einfo "Keeping old file: ${rktd}"
-				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
-					die "failed to create a backup of ${rktd}"
-				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
-					die "failed to create a copy of ${rktd}"
-			fi
-		done
-	fi
-}
-
-get_outsiders() {
-	racket -l raco -- pkg show -i | grep 'link' | sed 's|link.*||g'
-}
-
-pkg_postinst() {
-	# If we have any pkgs not included in Racket main distribution (outsiders),
-	# then we have to re-setup them or during installation other pkgs will want
-	# to recompile parts of "outsider" pkgs they depend upon (and fail).
-	local -a outsiders=( $(get_outsiders) )
-	if [[ -n "${outsiders[@]}" ]] ; then
-		ebegin "Running \"raco setup\" for outsider packages"
-		echo "Outsiders: ${outsiders[@]}"
-		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
-		eend 0  # do not fail
-	fi
-
-	optfeature "readline editing features in REPL" dev-libs/libedit
-	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
-
-	readme.gentoo_print_elog
-}
-
-pkg_config() {
-	einfo "Swapping package database backup files"
-
-	for rktd in "${PKGDB[@]}" ; do
-		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
-		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
-		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
-	done
-}


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

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

commit:     4b8a5a3cd77d327d45ae2071de8100265920f55c
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 10 15:12:09 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 16:24:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b8a5a3c

dev-scheme/racket: bump to 8.12

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

 dev-scheme/racket/Manifest           |   2 +
 dev-scheme/racket/racket-8.12.ebuild | 183 +++++++++++++++++++++++++++++++++++
 2 files changed, 185 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index eda28283702c..a40b7ab1e573 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,6 +1,8 @@
 DIST racket-8.10-src-builtpkgs.tgz 156573576 BLAKE2B def6007fec5701a3ca399f3173f863155214521e95b8e655090a61506a8ecd8eae7ddc02785593d256e6a0e23f022997c18460130bdc72e9fcaad8de36030b7d SHA512 4a861b90ca03b252dae0b530ab39cf0fe67dd38e306cc639b6e24516b01d7d25918c0f7e1fb0a105ab51d3be802d349576b4f0ee7ef6ea26bb11fc16abada3dd
 DIST racket-8.11-src-builtpkgs.tgz 156675262 BLAKE2B eff8872ee6bdf84f5fe426970ce9dd84f659eb1c437e820c8e853ee942dcebe2d306707d2e7d4b3fb1be648e5a795d3240f294aba5b8f5989d6eaca72c0e7dd5 SHA512 928b331797b1d9130a765ec2104a569ab984ab5bb101c6cc445f6ef60601d5d42df1db5ebda0ff1aff09592a55118dcdf0bc47467dce13535eabe2f8e4bcf0d1
 DIST racket-8.11.1-src-builtpkgs.tgz 156700945 BLAKE2B e1a29400582ccc309fc7aa74a48f655866a7800580b229ff516102378b25b9431f088ab82e3444b407292b424facb39fdeb85634329a1a776bd7296b0399b612 SHA512 f9b1a98baa454b440df1e776f18c807931ad2ed85524dc192752889052aaf82e979d55dc6a6892bba60997be477b8f443d7a461aa87c5e9191f2a500a7a9dbe4
+DIST racket-8.12-src-builtpkgs.tgz 157067538 BLAKE2B 8256662e516afe8a9673e3f4874cd01ac317a7cb9c63fb26c25de4ba41664a3bec401fbefc63cc83d67023b9ad627058766ee3f699a98ebaebd4768d4d6c5f88 SHA512 4c885e2155d83bcdc6288b2af2155ad3e0e03e2b67620b11fd27eb11b8bb1ffcb58c5fa0fa322bd3fc1dce5ead3aaa0b1576f165d53d6f035830ffa42439e710
 DIST racket-minimal-8.10-src-builtpkgs.tgz 23128997 BLAKE2B 614cd3bdaf8852a5de1487c06e2b28968709fade25654684a4ba4f458a983783af23837996bbf163907312fc8e79b2fe22421983bcfe10ae391e0091ec60474d SHA512 aa16ee792b978fbef74b9b3a4af70eb264515bc16ed2109ade15ce54c658b0ccf9bffd9b07b71263298c0eb6eed768ad3d7e2c9e00df284ec1793b7fe0494f82
 DIST racket-minimal-8.11-src-builtpkgs.tgz 23127690 BLAKE2B d9855977312af6313dad0b020436e8a3838814a814f48a1d3ef88f51b99c95163f6564f47ec01d23020bdc0eaeeeb3219f55f8e0fdd74a57069e7e533b36eaa6 SHA512 0f7ac946d544449b45f1301d8530ab80baf9ddaa2e2b6ac043926f233e1feb1829a6a49ebd35603b4b2b9d27ba6db2382b47e355464a7855aaaa2954bf693dfe
 DIST racket-minimal-8.11.1-src-builtpkgs.tgz 23130377 BLAKE2B 0df94b14d76112f4c0224ca9fc2e223fe635fbdc3c95c317197edceea31bb106265a95127ebd60a3005c78050e5bce1baf8e046b82c0d18f191c776cef09bb89 SHA512 bfecf7e7c9f4b55d70eb9e4c010d4248b2caeedc2f6d42ba09b0dc476c76eaaff6793564e94e0f159631c66fb6629f2f052c986b7eb9ee701eab7ef4695b1cf1
+DIST racket-minimal-8.12-src-builtpkgs.tgz 23295791 BLAKE2B 78ef862bb7ec1e533edb0c06923047c602e25b952fe2636415d1e4da575aadb8fcad28d019958c466141c51a2072bb6af7c5bdfdae6f8b5d4581f1b3edeb5bf5 SHA512 85957b6bf90a72c700d8042776668b63fba61781e1cadcd84d636822e4ab0ae8dc9c603ba7d5027df4afb4ee0211d45eede3657f8349086958492ce981871313

diff --git a/dev-scheme/racket/racket-8.12.ebuild b/dev-scheme/racket/racket-8.12.ebuild
new file mode 100644
index 000000000000..ba40890c319a
--- /dev/null
+++ b/dev-scheme/racket/racket-8.12.ebuild
@@ -0,0 +1,183 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop optfeature toolchain-funcs readme.gentoo-r1
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="https://racket-lang.org/
+	https://github.com/racket/racket/"
+SRC_URI="
+	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
+	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
+"
+S="${WORKDIR}/${P}/src"
+
+# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
+LICENSE="|| ( MIT Apache-2.0 ) chez? ( Apache-2.0 ) !chez? ( LGPL-3 )"
+
+# Bytecode generated by Racket is not compatible between versions.
+# The bytecode version should be denoted by SLOT, in most cases
+# PV == SLOT but this has to be checked carefully and in cases
+# where we use _p, _pre, etc it will have to be set manually.
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
+# See bug #809785 re chez/threads
+REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
+
+RDEPEND="
+	dev-db/sqlite:3
+	dev-libs/libffi:=
+	ncurses? (
+		sys-libs/ncurses:=
+	)
+"
+DEPEND="
+	${RDEPEND}
+"
+
+# "mred" and "mzscheme" are binaries generated by Racket, not CC
+QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
+
+DOC_CONTENTS="
+If you wish to use sys-libs/readline instead of dev-libs/libedit
+for readline-like features in the Racket's REPL you can install
+the package 'readline-gpl' using raco, Racket's package manager
+https://pkgs.racket-lang.org/package/readline-gpl
+"
+
+# Package database files (for pkg_preinst & pkg_config)
+PKGDB=(
+	/usr/share/racket/info-cache.rktd
+	/usr/share/racket/links.rktd
+	/usr/share/racket/pkgs/pkgs.rktd
+)
+
+src_prepare() {
+	# Prepare the environment.
+	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
+
+	default
+
+	# Remove bundled libffi.
+	rm -r "${S}/bc/foreign/libffi" || die "failed to remove bundled libffi"
+}
+
+src_configure() {
+	# Compilation of Zuo does not respect the autoconf configuration.
+	tc-export CC
+
+	einfo "Configuring Zuo in ${S}/zuo"
+	pushd "${S}/zuo" >/dev/null || die
+	econf
+	popd >/dev/null || die
+
+	einfo "Configuring Racket in ${S}"
+	# Libtool:
+	#   According to vapier, we should use the bundled libtool
+	#   such that we don't preclude cross-compile.
+	#   Thus don't use --enable-lt=/usr/bin/libtool
+	# Backend:
+	#   --enable-bc builds Racket w/o chez backend
+	# C Libraries:
+	#   --enable-libs & --disable-shared is the way to build
+	#   .a files that are needed to embed Racket into programs
+	#   https://docs.racket-lang.org/inside/cs-embedding.html
+	local -a myconf=(
+		--disable-shared
+		--disable-strip
+		--docdir="${EPREFIX}/usr/share/doc/${PF}"
+		--enable-libs
+		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
+		$(use_enable doc docs)
+		$(use_enable iconv)
+		$(use_enable ncurses curses)
+	)
+	# Some options are togglable only for the BC version (are forced in CS)
+	! use chez && myconf+=(
+			--enable-float
+			--enable-foreign
+			--enable-gracket
+			--enable-libffi
+			$(use_enable futures)
+			$(use_enable jit)
+			$(use_enable places)
+			$(use_enable threads pthread)
+		)
+	econf "${myconf[@]}"
+}
+
+src_compile() {
+	# Compile Racket.
+	CC_FOR_BUILD="$(tc-getCC)" default
+
+	# Recompile Zuo with optimizations.
+	emake -C zuo
+}
+
+src_install() {
+	# Install Racket.
+	default
+
+	# Install Zuo.
+	emake -C zuo DESTDIR="${ED}" install
+
+	# raco needs decompressed files for packages doc installation, bug #662424
+	use doc && docompress -x "/usr/share/doc/${PF}"
+
+	# Create missing desktop files and icon.
+	if ! use minimal ; then
+		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" racket.png
+
+		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
+		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
+	fi
+
+	readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+	# If we are merging the same SLOT check if package
+	# database files exist and do not overwrite them
+	if has_version "${CATEGORY}/${PN}:${SLOT}" ; then
+		echo "We are installing the same SLOT: ${SLOT}"
+
+		local rktd
+		for rktd in "${PKGDB[@]}" ; do
+			if [[ -f "${EROOT}/${rktd}" ]] && [[ -f "${ED}/${rktd}" ]] ; then
+				einfo "Keeping old file: ${rktd}"
+
+				mv "${ED}/${rktd}" "${ED}/${rktd}.bak" ||
+					die "failed to create a backup of ${rktd}"
+
+				cp "${EROOT}/${rktd}" "${ED}/${rktd}" ||
+					die "failed to create a copy of ${rktd}"
+			fi
+		done
+	fi
+}
+
+get_outsiders() {
+	racket -l raco -- pkg show -i | grep 'link' | sed 's|link.*||g'
+}
+
+pkg_postinst() {
+	# If we have any pkgs not included in Racket main distribution (outsiders),
+	# then we have to re-setup them or during installation other pkgs will want
+	# to recompile parts of "outsider" pkgs they depend upon (and fail).
+	local -a outsiders=( $(get_outsiders) )
+	if [[ -n "${outsiders[@]}" ]] ; then
+		ebegin "Running \"raco setup\" for outsider packages"
+		echo "Outsiders: ${outsiders[@]}"
+
+		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
+		eend 0  # do not fail
+	fi
+
+	optfeature "readline editing features in REPL" dev-libs/libedit
+	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+
+	readme.gentoo_print_elog
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-02-15 13:56 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2024-02-15 13:56 UTC (permalink / raw
  To: gentoo-commits

commit:     a61ea209b858098d241f70ba772e14c7a11be084
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 15 13:55:02 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 15 13:55:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a61ea209

dev-scheme/racket: Stabilize 8.11.1 amd64, #924575

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

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

diff --git a/dev-scheme/racket/racket-8.11.1.ebuild b/dev-scheme/racket/racket-8.11.1.ebuild
index 7acbecece27e..056c058ba7d0 100644
--- a/dev-scheme/racket/racket-8.11.1.ebuild
+++ b/dev-scheme/racket/racket-8.11.1.ebuild
@@ -25,7 +25,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-02-15 13:56 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2024-02-15 13:56 UTC (permalink / raw
  To: gentoo-commits

commit:     ac97e49a4d8814a0ec5c08e071dfb4cb89b6467c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 15 13:55:01 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 15 13:55:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac97e49a

dev-scheme/racket: Stabilize 8.11.1 x86, #924575

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

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

diff --git a/dev-scheme/racket/racket-8.11.1.ebuild b/dev-scheme/racket/racket-8.11.1.ebuild
index 12cef05a89bf..7acbecece27e 100644
--- a/dev-scheme/racket/racket-8.11.1.ebuild
+++ b/dev-scheme/racket/racket-8.11.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -25,7 +25,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-03-01  7:28 Viorel Munteanu
  0 siblings, 0 replies; 110+ messages in thread
From: Viorel Munteanu @ 2024-03-01  7:28 UTC (permalink / raw
  To: gentoo-commits

commit:     36b43371835e31a281a427a89399cb88d0a63e77
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Fri Mar  1 00:36:58 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Mar  1 07:18:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36b43371

dev-scheme/racket: Stabilize 8.11.1 ppc64, #924575

Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/racket-8.11.1.ebuild b/dev-scheme/racket/racket-8.11.1.ebuild
index 056c058ba7d0..e2a5edce8099 100644
--- a/dev-scheme/racket/racket-8.11.1.ebuild
+++ b/dev-scheme/racket/racket-8.11.1.ebuild
@@ -25,7 +25,7 @@ LICENSE="
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~ppc ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-03-13 12:05 Arthur Zamarin
  0 siblings, 0 replies; 110+ messages in thread
From: Arthur Zamarin @ 2024-03-13 12:05 UTC (permalink / raw
  To: gentoo-commits

commit:     607b341d821301f47f95a7cb7b7ae3789c22a6b9
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 13 12:04:59 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 13 12:04:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=607b341d

dev-scheme/racket: Stabilize 8.12 amd64, #926887

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/racket-8.12.ebuild b/dev-scheme/racket/racket-8.12.ebuild
index ba40890c319a..95cd83230f74 100644
--- a/dev-scheme/racket/racket-8.12.ebuild
+++ b/dev-scheme/racket/racket-8.12.ebuild
@@ -22,7 +22,7 @@ LICENSE="|| ( MIT Apache-2.0 ) chez? ( Apache-2.0 ) !chez? ( LGPL-3 )"
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

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

commit:     5b618684a8237dada994061458eb670369960e85
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 13 14:21:55 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Mar 13 16:40:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b618684

dev-scheme/racket: drop old 8.10

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

 dev-scheme/racket/Manifest           |   2 -
 dev-scheme/racket/racket-8.10.ebuild | 188 -----------------------------------
 2 files changed, 190 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 287cdf4ec99d..22764c1d08e9 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,6 +1,4 @@
-DIST racket-8.10-src-builtpkgs.tgz 156573576 BLAKE2B def6007fec5701a3ca399f3173f863155214521e95b8e655090a61506a8ecd8eae7ddc02785593d256e6a0e23f022997c18460130bdc72e9fcaad8de36030b7d SHA512 4a861b90ca03b252dae0b530ab39cf0fe67dd38e306cc639b6e24516b01d7d25918c0f7e1fb0a105ab51d3be802d349576b4f0ee7ef6ea26bb11fc16abada3dd
 DIST racket-8.11.1-src-builtpkgs.tgz 156700945 BLAKE2B e1a29400582ccc309fc7aa74a48f655866a7800580b229ff516102378b25b9431f088ab82e3444b407292b424facb39fdeb85634329a1a776bd7296b0399b612 SHA512 f9b1a98baa454b440df1e776f18c807931ad2ed85524dc192752889052aaf82e979d55dc6a6892bba60997be477b8f443d7a461aa87c5e9191f2a500a7a9dbe4
 DIST racket-8.12-src-builtpkgs.tgz 157067538 BLAKE2B 8256662e516afe8a9673e3f4874cd01ac317a7cb9c63fb26c25de4ba41664a3bec401fbefc63cc83d67023b9ad627058766ee3f699a98ebaebd4768d4d6c5f88 SHA512 4c885e2155d83bcdc6288b2af2155ad3e0e03e2b67620b11fd27eb11b8bb1ffcb58c5fa0fa322bd3fc1dce5ead3aaa0b1576f165d53d6f035830ffa42439e710
-DIST racket-minimal-8.10-src-builtpkgs.tgz 23128997 BLAKE2B 614cd3bdaf8852a5de1487c06e2b28968709fade25654684a4ba4f458a983783af23837996bbf163907312fc8e79b2fe22421983bcfe10ae391e0091ec60474d SHA512 aa16ee792b978fbef74b9b3a4af70eb264515bc16ed2109ade15ce54c658b0ccf9bffd9b07b71263298c0eb6eed768ad3d7e2c9e00df284ec1793b7fe0494f82
 DIST racket-minimal-8.11.1-src-builtpkgs.tgz 23130377 BLAKE2B 0df94b14d76112f4c0224ca9fc2e223fe635fbdc3c95c317197edceea31bb106265a95127ebd60a3005c78050e5bce1baf8e046b82c0d18f191c776cef09bb89 SHA512 bfecf7e7c9f4b55d70eb9e4c010d4248b2caeedc2f6d42ba09b0dc476c76eaaff6793564e94e0f159631c66fb6629f2f052c986b7eb9ee701eab7ef4695b1cf1
 DIST racket-minimal-8.12-src-builtpkgs.tgz 23295791 BLAKE2B 78ef862bb7ec1e533edb0c06923047c602e25b952fe2636415d1e4da575aadb8fcad28d019958c466141c51a2072bb6af7c5bdfdae6f8b5d4581f1b3edeb5bf5 SHA512 85957b6bf90a72c700d8042776668b63fba61781e1cadcd84d636822e4ab0ae8dc9c603ba7d5027df4afb4ee0211d45eede3657f8349086958492ce981871313

diff --git a/dev-scheme/racket/racket-8.10.ebuild b/dev-scheme/racket/racket-8.10.ebuild
deleted file mode 100644
index 05e5db9b507a..000000000000
--- a/dev-scheme/racket/racket-8.10.ebuild
+++ /dev/null
@@ -1,188 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop optfeature toolchain-funcs readme.gentoo-r1
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/
-	https://github.com/racket/racket/"
-SRC_URI="
-	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
-	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
-"
-S="${WORKDIR}"/${P}/src
-
-# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
-LICENSE="
-	|| ( MIT Apache-2.0 )
-	chez? ( Apache-2.0 )
-	!chez? ( LGPL-3 )
-"
-# Bytecode generated by Racket is not compatible between versions.
-# The bytecode version should be denoted by SLOT, in most cases
-# PV == SLOT but this has to be checked carefully and in cases
-# where we use _p, _pre, etc it will have to be set manually.
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ppc64 x86"
-IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
-# See bug #809785 re chez/threads
-REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
-
-RDEPEND="
-	!dev-tex/slatex
-	dev-db/sqlite:3
-	dev-libs/libffi:=
-	ncurses? ( sys-libs/ncurses:= )
-"
-DEPEND="${RDEPEND}"
-
-# "mred" and "mzscheme" are binaries generated by Racket, not CC
-QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
-
-DOC_CONTENTS="
-If you wish to use sys-libs/readline instead of dev-libs/libedit
-for readline-like features in the Racket's REPL you can install
-the package 'readline-gpl' using raco, Racket's package manager
-https://pkgs.racket-lang.org/package/readline-gpl
-"
-
-# Package database files (for pkg_preinst & pkg_config)
-PKGDB=(
-	/usr/share/racket/info-cache.rktd
-	/usr/share/racket/links.rktd
-	/usr/share/racket/pkgs/pkgs.rktd
-)
-
-src_prepare() {
-	# Prepare the environment.
-	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
-
-	default
-
-	# Remove bundled libffi.
-	rm -r "${S}"/bc/foreign/libffi || die "failed to remove bundled libffi"
-}
-
-src_configure() {
-	# Compilation of Zuo does not respect the autoconf configuration.
-	tc-export CC
-
-	einfo "Configuring Zuo in ${S}/zuo"
-	pushd "${S}"/zuo >/dev/null || die
-	econf
-	popd >/dev/null || die
-
-	einfo "Configuring Racket in ${S}"
-	# Libtool:
-	#   According to vapier, we should use the bundled libtool
-	#   such that we don't preclude cross-compile.
-	#   Thus don't use --enable-lt=/usr/bin/libtool
-	# Backend:
-	#   --enable-bc builds Racket w/o chez backend
-	# C Libraries:
-	#   --enable-libs & --disable-shared is the way to build
-	#   .a files that are needed to embed Racket into programs
-	#   https://docs.racket-lang.org/inside/cs-embedding.html
-	local -a myconf=(
-		--disable-shared
-		--disable-strip
-		--docdir="${EPREFIX}"/usr/share/doc/${PF}
-		--enable-libs
-		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
-		$(use_enable doc docs)
-		$(use_enable iconv)
-		$(use_enable ncurses curses)
-	)
-	# Some options are togglable only for the BC version (are forced in CS)
-	! use chez && myconf+=(
-			--enable-float
-			--enable-foreign
-			--enable-gracket
-			--enable-libffi
-			$(use_enable futures)
-			$(use_enable jit)
-			$(use_enable places)
-			$(use_enable threads pthread)
-		)
-	econf "${myconf[@]}"
-}
-
-src_compile() {
-	# Compile Racket.
-	CC_FOR_BUILD="$(tc-getCC)" default
-
-	# Recompile Zuo with optimizations.
-	emake -C zuo
-}
-
-src_install() {
-	# Install Racket.
-	default
-
-	# Install Zuo.
-	emake -C zuo DESTDIR="${ED}" install
-
-	# raco needs decompressed files for packages doc installation, bug #662424
-	use doc && docompress -x /usr/share/doc/${PF}
-
-	# Create missing desktop files and icon.
-	if ! use minimal ; then
-		newicon "${ED}"/usr/share/racket/drracket-exe-icon.png racket.png
-		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
-		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
-	fi
-
-	readme.gentoo_create_doc
-}
-
-pkg_preinst() {
-	# If we are merging the same SLOT check if package
-	# database files exist and do not overwrite them
-	if has_version ${CATEGORY}/${PN}:${SLOT} ; then
-		echo "We are installing the same SLOT: ${SLOT}"
-		local rktd
-		for rktd in "${PKGDB[@]}" ; do
-			if [[ -f "${EROOT}"/${rktd} ]] && [[ -f "${ED}"/${rktd} ]] ; then
-				einfo "Keeping old file: ${rktd}"
-				mv "${ED}"/${rktd} "${ED}"/${rktd}.bak ||
-					die "failed to create a backup of ${rktd}"
-				cp "${EROOT}"/${rktd} "${ED}"/${rktd} ||
-					die "failed to create a copy of ${rktd}"
-			fi
-		done
-	fi
-}
-
-get_outsiders() {
-	racket -l raco -- pkg show -i | grep 'link' | sed 's|link.*||g'
-}
-
-pkg_postinst() {
-	# If we have any pkgs not included in Racket main distribution (outsiders),
-	# then we have to re-setup them or during installation other pkgs will want
-	# to recompile parts of "outsider" pkgs they depend upon (and fail).
-	local -a outsiders=( $(get_outsiders) )
-	if [[ -n "${outsiders[@]}" ]] ; then
-		ebegin "Running \"raco setup\" for outsider packages"
-		echo "Outsiders: ${outsiders[@]}"
-		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
-		eend 0  # do not fail
-	fi
-
-	optfeature "readline editing features in REPL" dev-libs/libedit
-	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
-
-	readme.gentoo_print_elog
-}
-
-pkg_config() {
-	einfo "Swapping package database backup files"
-
-	for rktd in "${PKGDB[@]}" ; do
-		mv "${EROOT}"/${rktd} "${EROOT}"/${rktd}.pkg_config
-		mv "${EROOT}"/${rktd}.bak "${EROOT}"/${rktd}
-		mv "${EROOT}"/${rktd}.pkg_config "${EROOT}"/${rktd}.bak
-	done
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-03-13 21:42 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2024-03-13 21:42 UTC (permalink / raw
  To: gentoo-commits

commit:     5b9b6b74aef46d85b58e5a94eea0d873c5163081
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 13 21:42:16 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 13 21:42:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b9b6b74

dev-scheme/racket: Stabilize 8.12 x86, #926887

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

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

diff --git a/dev-scheme/racket/racket-8.12.ebuild b/dev-scheme/racket/racket-8.12.ebuild
index 95cd83230f74..52b883edf7f1 100644
--- a/dev-scheme/racket/racket-8.12.ebuild
+++ b/dev-scheme/racket/racket-8.12.ebuild
@@ -22,7 +22,7 @@ LICENSE="|| ( MIT Apache-2.0 ) chez? ( Apache-2.0 ) !chez? ( LGPL-3 )"
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-03-14 21:44 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2024-03-14 21:44 UTC (permalink / raw
  To: gentoo-commits

commit:     485cd783b31ce93e19f36100c1a61a40d0f62ee0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 14 21:44:04 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 21:44:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=485cd783

dev-scheme/racket: Stabilize 8.12 ppc64, #926887

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

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

diff --git a/dev-scheme/racket/racket-8.12.ebuild b/dev-scheme/racket/racket-8.12.ebuild
index 52b883edf7f1..31965768b88e 100644
--- a/dev-scheme/racket/racket-8.12.ebuild
+++ b/dev-scheme/racket/racket-8.12.ebuild
@@ -22,7 +22,7 @@ LICENSE="|| ( MIT Apache-2.0 ) chez? ( Apache-2.0 ) !chez? ( LGPL-3 )"
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~ppc ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-04-09  9:30 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2024-04-09  9:30 UTC (permalink / raw
  To: gentoo-commits

commit:     1e7282194213652e43e6e21d643744de5540952b
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  9 08:31:15 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Apr  9 09:30:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e728219

dev-scheme/racket: drop old 8.11.1

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

 dev-scheme/racket/Manifest             |   2 -
 dev-scheme/racket/racket-8.11.1.ebuild | 182 ---------------------------------
 2 files changed, 184 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 22764c1d08e9..ffde001e3aee 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,4 +1,2 @@
-DIST racket-8.11.1-src-builtpkgs.tgz 156700945 BLAKE2B e1a29400582ccc309fc7aa74a48f655866a7800580b229ff516102378b25b9431f088ab82e3444b407292b424facb39fdeb85634329a1a776bd7296b0399b612 SHA512 f9b1a98baa454b440df1e776f18c807931ad2ed85524dc192752889052aaf82e979d55dc6a6892bba60997be477b8f443d7a461aa87c5e9191f2a500a7a9dbe4
 DIST racket-8.12-src-builtpkgs.tgz 157067538 BLAKE2B 8256662e516afe8a9673e3f4874cd01ac317a7cb9c63fb26c25de4ba41664a3bec401fbefc63cc83d67023b9ad627058766ee3f699a98ebaebd4768d4d6c5f88 SHA512 4c885e2155d83bcdc6288b2af2155ad3e0e03e2b67620b11fd27eb11b8bb1ffcb58c5fa0fa322bd3fc1dce5ead3aaa0b1576f165d53d6f035830ffa42439e710
-DIST racket-minimal-8.11.1-src-builtpkgs.tgz 23130377 BLAKE2B 0df94b14d76112f4c0224ca9fc2e223fe635fbdc3c95c317197edceea31bb106265a95127ebd60a3005c78050e5bce1baf8e046b82c0d18f191c776cef09bb89 SHA512 bfecf7e7c9f4b55d70eb9e4c010d4248b2caeedc2f6d42ba09b0dc476c76eaaff6793564e94e0f159631c66fb6629f2f052c986b7eb9ee701eab7ef4695b1cf1
 DIST racket-minimal-8.12-src-builtpkgs.tgz 23295791 BLAKE2B 78ef862bb7ec1e533edb0c06923047c602e25b952fe2636415d1e4da575aadb8fcad28d019958c466141c51a2072bb6af7c5bdfdae6f8b5d4581f1b3edeb5bf5 SHA512 85957b6bf90a72c700d8042776668b63fba61781e1cadcd84d636822e4ab0ae8dc9c603ba7d5027df4afb4ee0211d45eede3657f8349086958492ce981871313

diff --git a/dev-scheme/racket/racket-8.11.1.ebuild b/dev-scheme/racket/racket-8.11.1.ebuild
deleted file mode 100644
index e2a5edce8099..000000000000
--- a/dev-scheme/racket/racket-8.11.1.ebuild
+++ /dev/null
@@ -1,182 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop optfeature toolchain-funcs readme.gentoo-r1
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/
-	https://github.com/racket/racket/"
-SRC_URI="
-	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
-	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
-"
-S="${WORKDIR}/${P}/src"
-
-# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
-LICENSE="
-	|| ( MIT Apache-2.0 )
-	chez? ( Apache-2.0 )
-	!chez? ( LGPL-3 )
-"
-# Bytecode generated by Racket is not compatible between versions.
-# The bytecode version should be denoted by SLOT, in most cases
-# PV == SLOT but this has to be checked carefully and in cases
-# where we use _p, _pre, etc it will have to be set manually.
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ppc64 x86"
-IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
-# See bug #809785 re chez/threads
-REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
-
-RDEPEND="
-	dev-db/sqlite:3
-	dev-libs/libffi:=
-	ncurses? ( sys-libs/ncurses:= )
-"
-DEPEND="${RDEPEND}"
-
-# "mred" and "mzscheme" are binaries generated by Racket, not CC
-QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
-
-DOC_CONTENTS="
-If you wish to use sys-libs/readline instead of dev-libs/libedit
-for readline-like features in the Racket's REPL you can install
-the package 'readline-gpl' using raco, Racket's package manager
-https://pkgs.racket-lang.org/package/readline-gpl
-"
-
-# Package database files (for pkg_preinst & pkg_config)
-PKGDB=(
-	/usr/share/racket/info-cache.rktd
-	/usr/share/racket/links.rktd
-	/usr/share/racket/pkgs/pkgs.rktd
-)
-
-src_prepare() {
-	# Prepare the environment.
-	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
-
-	default
-
-	# Remove bundled libffi.
-	rm -r "${S}/bc/foreign/libffi" || die "failed to remove bundled libffi"
-}
-
-src_configure() {
-	# Compilation of Zuo does not respect the autoconf configuration.
-	tc-export CC
-
-	einfo "Configuring Zuo in ${S}/zuo"
-	pushd "${S}/zuo" >/dev/null || die
-	econf
-	popd >/dev/null || die
-
-	einfo "Configuring Racket in ${S}"
-	# Libtool:
-	#   According to vapier, we should use the bundled libtool
-	#   such that we don't preclude cross-compile.
-	#   Thus don't use --enable-lt=/usr/bin/libtool
-	# Backend:
-	#   --enable-bc builds Racket w/o chez backend
-	# C Libraries:
-	#   --enable-libs & --disable-shared is the way to build
-	#   .a files that are needed to embed Racket into programs
-	#   https://docs.racket-lang.org/inside/cs-embedding.html
-	local -a myconf=(
-		--disable-shared
-		--disable-strip
-		--docdir="${EPREFIX}/usr/share/doc/${PF}"
-		--enable-libs
-		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
-		$(use_enable doc docs)
-		$(use_enable iconv)
-		$(use_enable ncurses curses)
-	)
-	# Some options are togglable only for the BC version (are forced in CS)
-	! use chez && myconf+=(
-			--enable-float
-			--enable-foreign
-			--enable-gracket
-			--enable-libffi
-			$(use_enable futures)
-			$(use_enable jit)
-			$(use_enable places)
-			$(use_enable threads pthread)
-		)
-	econf "${myconf[@]}"
-}
-
-src_compile() {
-	# Compile Racket.
-	CC_FOR_BUILD="$(tc-getCC)" default
-
-	# Recompile Zuo with optimizations.
-	emake -C zuo
-}
-
-src_install() {
-	# Install Racket.
-	default
-
-	# Install Zuo.
-	emake -C zuo DESTDIR="${ED}" install
-
-	# raco needs decompressed files for packages doc installation, bug #662424
-	use doc && docompress -x "/usr/share/doc/${PF}"
-
-	# Create missing desktop files and icon.
-	if ! use minimal ; then
-		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" racket.png
-
-		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
-		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
-	fi
-
-	readme.gentoo_create_doc
-}
-
-pkg_preinst() {
-	# If we are merging the same SLOT check if package
-	# database files exist and do not overwrite them
-	if has_version "${CATEGORY}/${PN}:${SLOT}" ; then
-		echo "We are installing the same SLOT: ${SLOT}"
-
-		local rktd
-		for rktd in "${PKGDB[@]}" ; do
-			if [[ -f "${EROOT}/${rktd}" ]] && [[ -f "${ED}/${rktd}" ]] ; then
-				einfo "Keeping old file: ${rktd}"
-
-				mv "${ED}/${rktd}" "${ED}/${rktd}.bak" ||
-					die "failed to create a backup of ${rktd}"
-
-				cp "${EROOT}/${rktd}" "${ED}/${rktd}" ||
-					die "failed to create a copy of ${rktd}"
-			fi
-		done
-	fi
-}
-
-get_outsiders() {
-	racket -l raco -- pkg show -i | grep 'link' | sed 's|link.*||g'
-}
-
-pkg_postinst() {
-	# If we have any pkgs not included in Racket main distribution (outsiders),
-	# then we have to re-setup them or during installation other pkgs will want
-	# to recompile parts of "outsider" pkgs they depend upon (and fail).
-	local -a outsiders=( $(get_outsiders) )
-	if [[ -n "${outsiders[@]}" ]] ; then
-		ebegin "Running \"raco setup\" for outsider packages"
-		echo "Outsiders: ${outsiders[@]}"
-
-		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
-		eend 0  # do not fail
-	fi
-
-	optfeature "readline editing features in REPL" dev-libs/libedit
-	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
-
-	readme.gentoo_print_elog
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-05-19 23:14 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2024-05-19 23:14 UTC (permalink / raw
  To: gentoo-commits

commit:     0073fd47ffe099cd50c257d750c5bb8099613a8a
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun May 19 23:00:40 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun May 19 23:14:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0073fd47

dev-scheme/racket: bump to 8.13

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

 dev-scheme/racket/Manifest           |   2 +
 dev-scheme/racket/racket-8.13.ebuild | 184 +++++++++++++++++++++++++++++++++++
 2 files changed, 186 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index ffde001e3aee..66550a59fef1 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,2 +1,4 @@
 DIST racket-8.12-src-builtpkgs.tgz 157067538 BLAKE2B 8256662e516afe8a9673e3f4874cd01ac317a7cb9c63fb26c25de4ba41664a3bec401fbefc63cc83d67023b9ad627058766ee3f699a98ebaebd4768d4d6c5f88 SHA512 4c885e2155d83bcdc6288b2af2155ad3e0e03e2b67620b11fd27eb11b8bb1ffcb58c5fa0fa322bd3fc1dce5ead3aaa0b1576f165d53d6f035830ffa42439e710
+DIST racket-8.13-src-builtpkgs.tgz 157457727 BLAKE2B ee4b2d0ebaf6118876b52cf394377e8e890feaaad593d5bb5074cac91959c44fe79e885ada3956be3b76790571244a6f3b11e6f3f2c19b138db2bf827b9c23e6 SHA512 6ab54fa5d09d0e49a65d7a268ab9e9ae2116cd303d7a62e4ff65dd8b97125fbb474bc152ab9db82616a66f37736ce8b6f7fcc195aa4cfc72141281bad08ccfb9
 DIST racket-minimal-8.12-src-builtpkgs.tgz 23295791 BLAKE2B 78ef862bb7ec1e533edb0c06923047c602e25b952fe2636415d1e4da575aadb8fcad28d019958c466141c51a2072bb6af7c5bdfdae6f8b5d4581f1b3edeb5bf5 SHA512 85957b6bf90a72c700d8042776668b63fba61781e1cadcd84d636822e4ab0ae8dc9c603ba7d5027df4afb4ee0211d45eede3657f8349086958492ce981871313
+DIST racket-minimal-8.13-src-builtpkgs.tgz 23426496 BLAKE2B e35fa08cd294316607ab61fc448458e239b670eacc5bac193debbf0e16aa19d8de136c3c89d3523aacb519527dcfd25da281635395b23b58500028944408ffd1 SHA512 241fdbf75f1823a031cba76af66353fdcbdd5c34de0b673b093fbbe3fd51c0e3c297bef0717ff99d8d2a4b7eb013f450cef62362fd512cbb0f304c358811cf9d

diff --git a/dev-scheme/racket/racket-8.13.ebuild b/dev-scheme/racket/racket-8.13.ebuild
new file mode 100644
index 000000000000..3c63aec9e185
--- /dev/null
+++ b/dev-scheme/racket/racket-8.13.ebuild
@@ -0,0 +1,184 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit check-reqs desktop optfeature toolchain-funcs readme.gentoo-r1
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="https://racket-lang.org/
+	https://github.com/racket/racket/"
+SRC_URI="
+	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
+	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
+"
+S="${WORKDIR}/${P}/src"
+
+# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
+LICENSE="|| ( MIT Apache-2.0 ) chez? ( Apache-2.0 ) !chez? ( LGPL-3 )"
+
+# Bytecode generated by Racket is not compatible between versions.
+# The bytecode version should be denoted by SLOT, in most cases
+# PV == SLOT but this has to be checked carefully and in cases
+# where we use _p, _pre, etc it will have to be set manually.
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
+# See bug #809785 re chez/threads
+REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
+
+RDEPEND="
+	dev-db/sqlite:3
+	dev-libs/libffi:=
+	ncurses? (
+		sys-libs/ncurses:=
+	)
+"
+DEPEND="
+	${RDEPEND}
+"
+
+CHECKREQS_DISK_BUILD="1700M"
+# "mred" and "mzscheme" are binaries generated by Racket, not CC
+QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
+
+DOC_CONTENTS="
+If you wish to use sys-libs/readline instead of dev-libs/libedit
+for readline-like features in the Racket's REPL you can install
+the package 'readline-gpl' using raco, Racket's package manager
+https://pkgs.racket-lang.org/package/readline-gpl
+"
+
+# Package database files (for pkg_preinst & pkg_config)
+PKGDB=(
+	/usr/share/racket/info-cache.rktd
+	/usr/share/racket/links.rktd
+	/usr/share/racket/pkgs/pkgs.rktd
+)
+
+src_prepare() {
+	# Prepare the environment.
+	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
+
+	default
+
+	# Remove bundled libffi.
+	rm -r "${S}/bc/foreign/libffi" || die "failed to remove bundled libffi"
+}
+
+src_configure() {
+	# Compilation of Zuo does not respect the autoconf configuration.
+	tc-export CC
+
+	einfo "Configuring Zuo in ${S}/zuo"
+	pushd "${S}/zuo" >/dev/null || die
+	econf
+	popd >/dev/null || die
+
+	einfo "Configuring Racket in ${S}"
+	# Libtool:
+	#   According to vapier, we should use the bundled libtool
+	#   such that we don't preclude cross-compile.
+	#   Thus don't use --enable-lt=/usr/bin/libtool
+	# Backend:
+	#   --enable-bc builds Racket w/o chez backend
+	# C Libraries:
+	#   --enable-libs & --disable-shared is the way to build
+	#   .a files that are needed to embed Racket into programs
+	#   https://docs.racket-lang.org/inside/cs-embedding.html
+	local -a myconf=(
+		--disable-shared
+		--disable-strip
+		--docdir="${EPREFIX}/usr/share/doc/${PF}"
+		--enable-libs
+		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
+		$(use_enable doc docs)
+		$(use_enable iconv)
+		$(use_enable ncurses curses)
+	)
+	# Some options are togglable only for the BC version (are forced in CS)
+	! use chez && myconf+=(
+			--enable-float
+			--enable-foreign
+			--enable-gracket
+			--enable-libffi
+			$(use_enable futures)
+			$(use_enable jit)
+			$(use_enable places)
+			$(use_enable threads pthread)
+		)
+	econf "${myconf[@]}"
+}
+
+src_compile() {
+	# Compile Racket.
+	CC_FOR_BUILD="$(tc-getCC)" default
+
+	# Recompile Zuo with optimizations.
+	emake -C zuo
+}
+
+src_install() {
+	# Install Racket.
+	default
+
+	# Install Zuo.
+	emake -C zuo DESTDIR="${ED}" install
+
+	# raco needs decompressed files for packages doc installation, bug #662424
+	use doc && docompress -x "/usr/share/doc/${PF}"
+
+	# Create missing desktop files and icon.
+	if ! use minimal ; then
+		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" racket.png
+
+		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
+		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
+	fi
+
+	readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+	# If we are merging the same SLOT check if package
+	# database files exist and do not overwrite them
+	if has_version "${CATEGORY}/${PN}:${SLOT}" ; then
+		echo "We are installing the same SLOT: ${SLOT}"
+
+		local rktd
+		for rktd in "${PKGDB[@]}" ; do
+			if [[ -f "${EROOT}/${rktd}" ]] && [[ -f "${ED}/${rktd}" ]] ; then
+				einfo "Keeping old file: ${rktd}"
+
+				mv "${ED}/${rktd}" "${ED}/${rktd}.bak" ||
+					die "failed to create a backup of ${rktd}"
+
+				cp "${EROOT}/${rktd}" "${ED}/${rktd}" ||
+					die "failed to create a copy of ${rktd}"
+			fi
+		done
+	fi
+}
+
+get_outsiders() {
+	racket -l raco -- pkg show -i | grep 'link' | sed 's|link.*||g'
+}
+
+pkg_postinst() {
+	# If we have any pkgs not included in Racket main distribution (outsiders),
+	# then we have to re-setup them or during installation other pkgs will want
+	# to recompile parts of "outsider" pkgs they depend upon (and fail).
+	local -a outsiders=( $(get_outsiders) )
+	if [[ -n "${outsiders[@]}" ]] ; then
+		ebegin "Running \"raco setup\" for outsider packages"
+		echo "Outsiders: ${outsiders[@]}"
+
+		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
+		eend 0  # do not fail
+	fi
+
+	optfeature "readline editing features in REPL" dev-libs/libedit
+	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+
+	readme.gentoo_print_elog
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-08-01 16:47 Arthur Zamarin
  0 siblings, 0 replies; 110+ messages in thread
From: Arthur Zamarin @ 2024-08-01 16:47 UTC (permalink / raw
  To: gentoo-commits

commit:     754b34968594dc1d4a1c8bc06e6e8010eae3d301
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  1 16:47:06 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 16:47:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=754b3496

dev-scheme/racket: Stabilize 8.13 amd64, #937072

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/racket-8.13.ebuild b/dev-scheme/racket/racket-8.13.ebuild
index 3c63aec9e185..8e0f0fd0700d 100644
--- a/dev-scheme/racket/racket-8.13.ebuild
+++ b/dev-scheme/racket/racket-8.13.ebuild
@@ -22,7 +22,7 @@ LICENSE="|| ( MIT Apache-2.0 ) chez? ( Apache-2.0 ) !chez? ( LGPL-3 )"
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-08-01 16:47 Arthur Zamarin
  0 siblings, 0 replies; 110+ messages in thread
From: Arthur Zamarin @ 2024-08-01 16:47 UTC (permalink / raw
  To: gentoo-commits

commit:     e62f27b973421f9fafa1e1b316e1ca8f31b1a2f6
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  1 16:47:06 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 16:47:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e62f27b9

dev-scheme/racket: Stabilize 8.13 x86, #937072

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/racket-8.13.ebuild b/dev-scheme/racket/racket-8.13.ebuild
index 8e0f0fd0700d..213a28279471 100644
--- a/dev-scheme/racket/racket-8.13.ebuild
+++ b/dev-scheme/racket/racket-8.13.ebuild
@@ -22,7 +22,7 @@ LICENSE="|| ( MIT Apache-2.0 ) chez? ( Apache-2.0 ) !chez? ( LGPL-3 )"
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-08-09 20:26 Jakov Smolić
  0 siblings, 0 replies; 110+ messages in thread
From: Jakov Smolić @ 2024-08-09 20:26 UTC (permalink / raw
  To: gentoo-commits

commit:     4746b0592a1a68814c47e560a43c0f913218087c
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  9 20:25:48 2024 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Fri Aug  9 20:25:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4746b059

dev-scheme/racket: Stabilize 8.13 ppc64, #937072

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

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

diff --git a/dev-scheme/racket/racket-8.13.ebuild b/dev-scheme/racket/racket-8.13.ebuild
index 213a28279471..ac5fc8538028 100644
--- a/dev-scheme/racket/racket-8.13.ebuild
+++ b/dev-scheme/racket/racket-8.13.ebuild
@@ -22,7 +22,7 @@ LICENSE="|| ( MIT Apache-2.0 ) chez? ( Apache-2.0 ) !chez? ( LGPL-3 )"
 # PV == SLOT but this has to be checked carefully and in cases
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~ppc ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-08-17 13:27 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2024-08-17 13:27 UTC (permalink / raw
  To: gentoo-commits

commit:     6223713c7262cdfd89422972fd59dc0ab9519dd9
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 11:24:16 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 13:27:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6223713c

dev-scheme/racket: bump to 8.14

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

 dev-scheme/racket/Manifest           |   2 +
 dev-scheme/racket/racket-8.14.ebuild | 186 +++++++++++++++++++++++++++++++++++
 2 files changed, 188 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 6e37aa1a8feb..57f77f3a97bb 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,2 +1,4 @@
 DIST racket-8.13-src-builtpkgs.tgz 157457727 BLAKE2B ee4b2d0ebaf6118876b52cf394377e8e890feaaad593d5bb5074cac91959c44fe79e885ada3956be3b76790571244a6f3b11e6f3f2c19b138db2bf827b9c23e6 SHA512 6ab54fa5d09d0e49a65d7a268ab9e9ae2116cd303d7a62e4ff65dd8b97125fbb474bc152ab9db82616a66f37736ce8b6f7fcc195aa4cfc72141281bad08ccfb9
+DIST racket-8.14-src-builtpkgs.tgz 157264256 BLAKE2B a6b5e61785abd8869db7800f5a5b5113e8462a8c887a8d1c7d9ed2af0c54ff37865d79a27a132bf9e50d0a4d2f4f58769707e9076591fdb6958c40e380df74d6 SHA512 b5eca5050aa1eab880ba0d1571c12577c80c9cd8e945caf8d07ae81864e964899f547b58e9d901444bb09575ace2c422b61fc1fc62d8c7df5b51a425b874c176
 DIST racket-minimal-8.13-src-builtpkgs.tgz 23426496 BLAKE2B e35fa08cd294316607ab61fc448458e239b670eacc5bac193debbf0e16aa19d8de136c3c89d3523aacb519527dcfd25da281635395b23b58500028944408ffd1 SHA512 241fdbf75f1823a031cba76af66353fdcbdd5c34de0b673b093fbbe3fd51c0e3c297bef0717ff99d8d2a4b7eb013f450cef62362fd512cbb0f304c358811cf9d
+DIST racket-minimal-8.14-src-builtpkgs.tgz 23391100 BLAKE2B 4b95b98c142d49c6f9ab5c7a654cd854183f2f088b8e8fc841ee2aaa65192ee5230634ca36caa26ffbc9bff5b1591f524ca84a4a13512249afc005998c97bd49 SHA512 f84a50be0d8a401d47d7517e6dc4b8a730b85ad80d1786edaa95b5cf86f4979e69d0f958a99de79631ed5885c4daf6092f39f1ac791f35422fe6d587e4d81465

diff --git a/dev-scheme/racket/racket-8.14.ebuild b/dev-scheme/racket/racket-8.14.ebuild
new file mode 100644
index 000000000000..db4cc53efdbb
--- /dev/null
+++ b/dev-scheme/racket/racket-8.14.ebuild
@@ -0,0 +1,186 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit check-reqs desktop optfeature toolchain-funcs readme.gentoo-r1
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="https://racket-lang.org/
+	https://github.com/racket/racket/"
+
+SRC_URI="
+	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
+	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
+"
+S="${WORKDIR}/${P}/src"
+
+# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
+LICENSE="|| ( MIT Apache-2.0 ) chez? ( Apache-2.0 ) !chez? ( LGPL-3 )"
+
+# Bytecode generated by Racket is not compatible between versions.
+# The bytecode version should be denoted by SLOT, in most cases
+# PV == SLOT but this has to be checked carefully and in cases
+# where we use _p, _pre, etc it will have to be set manually.
+SLOT="0/${PV}"
+
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
+# See bug #809785 re chez/threads
+REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
+
+RDEPEND="
+	dev-db/sqlite:3
+	dev-libs/libffi:=
+	ncurses? (
+		sys-libs/ncurses:=
+	)
+"
+DEPEND="
+	${RDEPEND}
+"
+
+CHECKREQS_DISK_BUILD="1700M"
+# "mred" and "mzscheme" are binaries generated by Racket, not CC
+QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
+
+DOC_CONTENTS="
+If you wish to use sys-libs/readline instead of dev-libs/libedit
+for readline-like features in the Racket's REPL you can install
+the package 'readline-gpl' using raco, Racket's package manager
+https://pkgs.racket-lang.org/package/readline-gpl
+"
+
+# Package database files (for pkg_preinst & pkg_config)
+PKGDB=(
+	/usr/share/racket/info-cache.rktd
+	/usr/share/racket/links.rktd
+	/usr/share/racket/pkgs/pkgs.rktd
+)
+
+src_prepare() {
+	# Prepare the environment.
+	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
+
+	default
+
+	# Remove bundled libffi.
+	rm -r "${S}/bc/foreign/libffi" || die "failed to remove bundled libffi"
+}
+
+src_configure() {
+	# Compilation of Zuo does not respect the autoconf configuration.
+	tc-export CC
+
+	einfo "Configuring Zuo in ${S}/zuo"
+	pushd "${S}/zuo" >/dev/null || die
+	econf
+	popd >/dev/null || die
+
+	einfo "Configuring Racket in ${S}"
+	# Libtool:
+	#   According to vapier, we should use the bundled libtool
+	#   such that we don't preclude cross-compile.
+	#   Thus don't use --enable-lt=/usr/bin/libtool
+	# Backend:
+	#   --enable-bc builds Racket w/o chez backend
+	# C Libraries:
+	#   --enable-libs & --disable-shared is the way to build
+	#   .a files that are needed to embed Racket into programs
+	#   https://docs.racket-lang.org/inside/cs-embedding.html
+	local -a myconf=(
+		--disable-shared
+		--disable-strip
+		--docdir="${EPREFIX}/usr/share/doc/${PF}"
+		--enable-libs
+		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
+		$(use_enable doc docs)
+		$(use_enable iconv)
+		$(use_enable ncurses curses)
+	)
+	# Some options are togglable only for the BC version (are forced in CS)
+	! use chez && myconf+=(
+			--enable-float
+			--enable-foreign
+			--enable-gracket
+			--enable-libffi
+			$(use_enable futures)
+			$(use_enable jit)
+			$(use_enable places)
+			$(use_enable threads pthread)
+		)
+	econf "${myconf[@]}"
+}
+
+src_compile() {
+	# Compile Racket.
+	CC_FOR_BUILD="$(tc-getCC)" default
+
+	# Recompile Zuo with optimizations.
+	emake -C zuo
+}
+
+src_install() {
+	# Install Racket.
+	default
+
+	# Install Zuo.
+	emake -C zuo DESTDIR="${ED}" install
+
+	# raco needs decompressed files for packages doc installation, bug #662424
+	use doc && docompress -x "/usr/share/doc/${PF}"
+
+	# Create missing desktop files and icon.
+	if ! use minimal ; then
+		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" racket.png
+
+		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
+		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
+	fi
+
+	readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+	# If we are merging the same SLOT check if package
+	# database files exist and do not overwrite them
+	if has_version "${CATEGORY}/${PN}:${SLOT}" ; then
+		echo "We are installing the same SLOT: ${SLOT}"
+
+		local rktd
+		for rktd in "${PKGDB[@]}" ; do
+			if [[ -f "${EROOT}/${rktd}" ]] && [[ -f "${ED}/${rktd}" ]] ; then
+				einfo "Keeping old file: ${rktd}"
+
+				mv "${ED}/${rktd}" "${ED}/${rktd}.bak" ||
+					die "failed to create a backup of ${rktd}"
+
+				cp "${EROOT}/${rktd}" "${ED}/${rktd}" ||
+					die "failed to create a copy of ${rktd}"
+			fi
+		done
+	fi
+}
+
+get_outsiders() {
+	racket -l raco -- pkg show -i | grep 'link' | sed 's|link.*||g'
+}
+
+pkg_postinst() {
+	# If we have any pkgs not included in Racket main distribution (outsiders),
+	# then we have to re-setup them or during installation other pkgs will want
+	# to recompile parts of "outsider" pkgs they depend upon (and fail).
+	local -a outsiders=( $(get_outsiders) )
+	if [[ -n "${outsiders[@]}" ]] ; then
+		ebegin "Running \"raco setup\" for outsider packages"
+		echo "Outsiders: ${outsiders[@]}"
+
+		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
+		eend 0  # do not fail
+	fi
+
+	optfeature "readline editing features in REPL" dev-libs/libedit
+	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+
+	readme.gentoo_print_elog
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-08-17 13:27 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2024-08-17 13:27 UTC (permalink / raw
  To: gentoo-commits

commit:     42cce69eddbe87b1d86bcb2ea49482b226a87751
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 10:59:35 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 13:27:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42cce69e

dev-scheme/racket: drop old 8.12

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

 dev-scheme/racket/Manifest           |   2 -
 dev-scheme/racket/racket-8.12.ebuild | 183 -----------------------------------
 2 files changed, 185 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 66550a59fef1..6e37aa1a8feb 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,4 +1,2 @@
-DIST racket-8.12-src-builtpkgs.tgz 157067538 BLAKE2B 8256662e516afe8a9673e3f4874cd01ac317a7cb9c63fb26c25de4ba41664a3bec401fbefc63cc83d67023b9ad627058766ee3f699a98ebaebd4768d4d6c5f88 SHA512 4c885e2155d83bcdc6288b2af2155ad3e0e03e2b67620b11fd27eb11b8bb1ffcb58c5fa0fa322bd3fc1dce5ead3aaa0b1576f165d53d6f035830ffa42439e710
 DIST racket-8.13-src-builtpkgs.tgz 157457727 BLAKE2B ee4b2d0ebaf6118876b52cf394377e8e890feaaad593d5bb5074cac91959c44fe79e885ada3956be3b76790571244a6f3b11e6f3f2c19b138db2bf827b9c23e6 SHA512 6ab54fa5d09d0e49a65d7a268ab9e9ae2116cd303d7a62e4ff65dd8b97125fbb474bc152ab9db82616a66f37736ce8b6f7fcc195aa4cfc72141281bad08ccfb9
-DIST racket-minimal-8.12-src-builtpkgs.tgz 23295791 BLAKE2B 78ef862bb7ec1e533edb0c06923047c602e25b952fe2636415d1e4da575aadb8fcad28d019958c466141c51a2072bb6af7c5bdfdae6f8b5d4581f1b3edeb5bf5 SHA512 85957b6bf90a72c700d8042776668b63fba61781e1cadcd84d636822e4ab0ae8dc9c603ba7d5027df4afb4ee0211d45eede3657f8349086958492ce981871313
 DIST racket-minimal-8.13-src-builtpkgs.tgz 23426496 BLAKE2B e35fa08cd294316607ab61fc448458e239b670eacc5bac193debbf0e16aa19d8de136c3c89d3523aacb519527dcfd25da281635395b23b58500028944408ffd1 SHA512 241fdbf75f1823a031cba76af66353fdcbdd5c34de0b673b093fbbe3fd51c0e3c297bef0717ff99d8d2a4b7eb013f450cef62362fd512cbb0f304c358811cf9d

diff --git a/dev-scheme/racket/racket-8.12.ebuild b/dev-scheme/racket/racket-8.12.ebuild
deleted file mode 100644
index 31965768b88e..000000000000
--- a/dev-scheme/racket/racket-8.12.ebuild
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop optfeature toolchain-funcs readme.gentoo-r1
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/
-	https://github.com/racket/racket/"
-SRC_URI="
-	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
-	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
-"
-S="${WORKDIR}/${P}/src"
-
-# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
-LICENSE="|| ( MIT Apache-2.0 ) chez? ( Apache-2.0 ) !chez? ( LGPL-3 )"
-
-# Bytecode generated by Racket is not compatible between versions.
-# The bytecode version should be denoted by SLOT, in most cases
-# PV == SLOT but this has to be checked carefully and in cases
-# where we use _p, _pre, etc it will have to be set manually.
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ppc64 x86"
-IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
-# See bug #809785 re chez/threads
-REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
-
-RDEPEND="
-	dev-db/sqlite:3
-	dev-libs/libffi:=
-	ncurses? (
-		sys-libs/ncurses:=
-	)
-"
-DEPEND="
-	${RDEPEND}
-"
-
-# "mred" and "mzscheme" are binaries generated by Racket, not CC
-QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
-
-DOC_CONTENTS="
-If you wish to use sys-libs/readline instead of dev-libs/libedit
-for readline-like features in the Racket's REPL you can install
-the package 'readline-gpl' using raco, Racket's package manager
-https://pkgs.racket-lang.org/package/readline-gpl
-"
-
-# Package database files (for pkg_preinst & pkg_config)
-PKGDB=(
-	/usr/share/racket/info-cache.rktd
-	/usr/share/racket/links.rktd
-	/usr/share/racket/pkgs/pkgs.rktd
-)
-
-src_prepare() {
-	# Prepare the environment.
-	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
-
-	default
-
-	# Remove bundled libffi.
-	rm -r "${S}/bc/foreign/libffi" || die "failed to remove bundled libffi"
-}
-
-src_configure() {
-	# Compilation of Zuo does not respect the autoconf configuration.
-	tc-export CC
-
-	einfo "Configuring Zuo in ${S}/zuo"
-	pushd "${S}/zuo" >/dev/null || die
-	econf
-	popd >/dev/null || die
-
-	einfo "Configuring Racket in ${S}"
-	# Libtool:
-	#   According to vapier, we should use the bundled libtool
-	#   such that we don't preclude cross-compile.
-	#   Thus don't use --enable-lt=/usr/bin/libtool
-	# Backend:
-	#   --enable-bc builds Racket w/o chez backend
-	# C Libraries:
-	#   --enable-libs & --disable-shared is the way to build
-	#   .a files that are needed to embed Racket into programs
-	#   https://docs.racket-lang.org/inside/cs-embedding.html
-	local -a myconf=(
-		--disable-shared
-		--disable-strip
-		--docdir="${EPREFIX}/usr/share/doc/${PF}"
-		--enable-libs
-		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
-		$(use_enable doc docs)
-		$(use_enable iconv)
-		$(use_enable ncurses curses)
-	)
-	# Some options are togglable only for the BC version (are forced in CS)
-	! use chez && myconf+=(
-			--enable-float
-			--enable-foreign
-			--enable-gracket
-			--enable-libffi
-			$(use_enable futures)
-			$(use_enable jit)
-			$(use_enable places)
-			$(use_enable threads pthread)
-		)
-	econf "${myconf[@]}"
-}
-
-src_compile() {
-	# Compile Racket.
-	CC_FOR_BUILD="$(tc-getCC)" default
-
-	# Recompile Zuo with optimizations.
-	emake -C zuo
-}
-
-src_install() {
-	# Install Racket.
-	default
-
-	# Install Zuo.
-	emake -C zuo DESTDIR="${ED}" install
-
-	# raco needs decompressed files for packages doc installation, bug #662424
-	use doc && docompress -x "/usr/share/doc/${PF}"
-
-	# Create missing desktop files and icon.
-	if ! use minimal ; then
-		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" racket.png
-
-		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
-		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
-	fi
-
-	readme.gentoo_create_doc
-}
-
-pkg_preinst() {
-	# If we are merging the same SLOT check if package
-	# database files exist and do not overwrite them
-	if has_version "${CATEGORY}/${PN}:${SLOT}" ; then
-		echo "We are installing the same SLOT: ${SLOT}"
-
-		local rktd
-		for rktd in "${PKGDB[@]}" ; do
-			if [[ -f "${EROOT}/${rktd}" ]] && [[ -f "${ED}/${rktd}" ]] ; then
-				einfo "Keeping old file: ${rktd}"
-
-				mv "${ED}/${rktd}" "${ED}/${rktd}.bak" ||
-					die "failed to create a backup of ${rktd}"
-
-				cp "${EROOT}/${rktd}" "${ED}/${rktd}" ||
-					die "failed to create a copy of ${rktd}"
-			fi
-		done
-	fi
-}
-
-get_outsiders() {
-	racket -l raco -- pkg show -i | grep 'link' | sed 's|link.*||g'
-}
-
-pkg_postinst() {
-	# If we have any pkgs not included in Racket main distribution (outsiders),
-	# then we have to re-setup them or during installation other pkgs will want
-	# to recompile parts of "outsider" pkgs they depend upon (and fail).
-	local -a outsiders=( $(get_outsiders) )
-	if [[ -n "${outsiders[@]}" ]] ; then
-		ebegin "Running \"raco setup\" for outsider packages"
-		echo "Outsiders: ${outsiders[@]}"
-
-		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
-		eend 0  # do not fail
-	fi
-
-	optfeature "readline editing features in REPL" dev-libs/libedit
-	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
-
-	readme.gentoo_print_elog
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-10-01  1:11 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2024-10-01  1:11 UTC (permalink / raw
  To: gentoo-commits

commit:     447b6c209205b4c1a251bba626e6dc62a331d255
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  1 01:09:37 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct  1 01:10:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=447b6c20

dev-scheme/racket: Stabilize 8.14 ppc64, #940555

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

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

diff --git a/dev-scheme/racket/racket-8.14.ebuild b/dev-scheme/racket/racket-8.14.ebuild
index db4cc53efdbb..d357175a01dc 100644
--- a/dev-scheme/racket/racket-8.14.ebuild
+++ b/dev-scheme/racket/racket-8.14.ebuild
@@ -24,7 +24,7 @@ LICENSE="|| ( MIT Apache-2.0 ) chez? ( Apache-2.0 ) !chez? ( LGPL-3 )"
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
 
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ppc64 ~x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-10-01  1:11 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2024-10-01  1:11 UTC (permalink / raw
  To: gentoo-commits

commit:     bcc5320f70997041ae75ef18a56583560bdc0993
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  1 01:09:39 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct  1 01:10:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcc5320f

dev-scheme/racket: Stabilize 8.14 amd64, #940555

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

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

diff --git a/dev-scheme/racket/racket-8.14.ebuild b/dev-scheme/racket/racket-8.14.ebuild
index d357175a01dc..1d822b192e87 100644
--- a/dev-scheme/racket/racket-8.14.ebuild
+++ b/dev-scheme/racket/racket-8.14.ebuild
@@ -24,7 +24,7 @@ LICENSE="|| ( MIT Apache-2.0 ) chez? ( Apache-2.0 ) !chez? ( LGPL-3 )"
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
 
-KEYWORDS="~amd64 ~arm ~ppc ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ppc64 ~x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-10-01  1:11 Sam James
  0 siblings, 0 replies; 110+ messages in thread
From: Sam James @ 2024-10-01  1:11 UTC (permalink / raw
  To: gentoo-commits

commit:     bf106fb13840d8e6b8c0e98774af1c4e5b75676d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  1 01:09:40 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct  1 01:10:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf106fb1

dev-scheme/racket: Stabilize 8.14 x86, #940555

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

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

diff --git a/dev-scheme/racket/racket-8.14.ebuild b/dev-scheme/racket/racket-8.14.ebuild
index 1d822b192e87..925ecc23c2f1 100644
--- a/dev-scheme/racket/racket-8.14.ebuild
+++ b/dev-scheme/racket/racket-8.14.ebuild
@@ -24,7 +24,7 @@ LICENSE="|| ( MIT Apache-2.0 ) chez? ( Apache-2.0 ) !chez? ( LGPL-3 )"
 # where we use _p, _pre, etc it will have to be set manually.
 SLOT="0/${PV}"
 
-KEYWORDS="amd64 ~arm ~ppc ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
 # See bug #809785 re chez/threads
 REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-10-11 23:00 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2024-10-11 23:00 UTC (permalink / raw
  To: gentoo-commits

commit:     b83d1f37f1f5a08d4c663b815c6dc74f742af63e
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 11 22:19:04 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Oct 11 23:00:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b83d1f37

dev-scheme/racket: drop old 8.13

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

 dev-scheme/racket/Manifest           |   2 -
 dev-scheme/racket/racket-8.13.ebuild | 184 -----------------------------------
 2 files changed, 186 deletions(-)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 57f77f3a97bb..45db1c7c647e 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,4 +1,2 @@
-DIST racket-8.13-src-builtpkgs.tgz 157457727 BLAKE2B ee4b2d0ebaf6118876b52cf394377e8e890feaaad593d5bb5074cac91959c44fe79e885ada3956be3b76790571244a6f3b11e6f3f2c19b138db2bf827b9c23e6 SHA512 6ab54fa5d09d0e49a65d7a268ab9e9ae2116cd303d7a62e4ff65dd8b97125fbb474bc152ab9db82616a66f37736ce8b6f7fcc195aa4cfc72141281bad08ccfb9
 DIST racket-8.14-src-builtpkgs.tgz 157264256 BLAKE2B a6b5e61785abd8869db7800f5a5b5113e8462a8c887a8d1c7d9ed2af0c54ff37865d79a27a132bf9e50d0a4d2f4f58769707e9076591fdb6958c40e380df74d6 SHA512 b5eca5050aa1eab880ba0d1571c12577c80c9cd8e945caf8d07ae81864e964899f547b58e9d901444bb09575ace2c422b61fc1fc62d8c7df5b51a425b874c176
-DIST racket-minimal-8.13-src-builtpkgs.tgz 23426496 BLAKE2B e35fa08cd294316607ab61fc448458e239b670eacc5bac193debbf0e16aa19d8de136c3c89d3523aacb519527dcfd25da281635395b23b58500028944408ffd1 SHA512 241fdbf75f1823a031cba76af66353fdcbdd5c34de0b673b093fbbe3fd51c0e3c297bef0717ff99d8d2a4b7eb013f450cef62362fd512cbb0f304c358811cf9d
 DIST racket-minimal-8.14-src-builtpkgs.tgz 23391100 BLAKE2B 4b95b98c142d49c6f9ab5c7a654cd854183f2f088b8e8fc841ee2aaa65192ee5230634ca36caa26ffbc9bff5b1591f524ca84a4a13512249afc005998c97bd49 SHA512 f84a50be0d8a401d47d7517e6dc4b8a730b85ad80d1786edaa95b5cf86f4979e69d0f958a99de79631ed5885c4daf6092f39f1ac791f35422fe6d587e4d81465

diff --git a/dev-scheme/racket/racket-8.13.ebuild b/dev-scheme/racket/racket-8.13.ebuild
deleted file mode 100644
index ac5fc8538028..000000000000
--- a/dev-scheme/racket/racket-8.13.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit check-reqs desktop optfeature toolchain-funcs readme.gentoo-r1
-
-DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
-HOMEPAGE="https://racket-lang.org/
-	https://github.com/racket/racket/"
-SRC_URI="
-	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
-	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
-"
-S="${WORKDIR}/${P}/src"
-
-# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
-LICENSE="|| ( MIT Apache-2.0 ) chez? ( Apache-2.0 ) !chez? ( LGPL-3 )"
-
-# Bytecode generated by Racket is not compatible between versions.
-# The bytecode version should be denoted by SLOT, in most cases
-# PV == SLOT but this has to be checked carefully and in cases
-# where we use _p, _pre, etc it will have to be set manually.
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm ~ppc ppc64 x86"
-IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
-# See bug #809785 re chez/threads
-REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
-
-RDEPEND="
-	dev-db/sqlite:3
-	dev-libs/libffi:=
-	ncurses? (
-		sys-libs/ncurses:=
-	)
-"
-DEPEND="
-	${RDEPEND}
-"
-
-CHECKREQS_DISK_BUILD="1700M"
-# "mred" and "mzscheme" are binaries generated by Racket, not CC
-QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
-
-DOC_CONTENTS="
-If you wish to use sys-libs/readline instead of dev-libs/libedit
-for readline-like features in the Racket's REPL you can install
-the package 'readline-gpl' using raco, Racket's package manager
-https://pkgs.racket-lang.org/package/readline-gpl
-"
-
-# Package database files (for pkg_preinst & pkg_config)
-PKGDB=(
-	/usr/share/racket/info-cache.rktd
-	/usr/share/racket/links.rktd
-	/usr/share/racket/pkgs/pkgs.rktd
-)
-
-src_prepare() {
-	# Prepare the environment.
-	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
-
-	default
-
-	# Remove bundled libffi.
-	rm -r "${S}/bc/foreign/libffi" || die "failed to remove bundled libffi"
-}
-
-src_configure() {
-	# Compilation of Zuo does not respect the autoconf configuration.
-	tc-export CC
-
-	einfo "Configuring Zuo in ${S}/zuo"
-	pushd "${S}/zuo" >/dev/null || die
-	econf
-	popd >/dev/null || die
-
-	einfo "Configuring Racket in ${S}"
-	# Libtool:
-	#   According to vapier, we should use the bundled libtool
-	#   such that we don't preclude cross-compile.
-	#   Thus don't use --enable-lt=/usr/bin/libtool
-	# Backend:
-	#   --enable-bc builds Racket w/o chez backend
-	# C Libraries:
-	#   --enable-libs & --disable-shared is the way to build
-	#   .a files that are needed to embed Racket into programs
-	#   https://docs.racket-lang.org/inside/cs-embedding.html
-	local -a myconf=(
-		--disable-shared
-		--disable-strip
-		--docdir="${EPREFIX}/usr/share/doc/${PF}"
-		--enable-libs
-		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
-		$(use_enable doc docs)
-		$(use_enable iconv)
-		$(use_enable ncurses curses)
-	)
-	# Some options are togglable only for the BC version (are forced in CS)
-	! use chez && myconf+=(
-			--enable-float
-			--enable-foreign
-			--enable-gracket
-			--enable-libffi
-			$(use_enable futures)
-			$(use_enable jit)
-			$(use_enable places)
-			$(use_enable threads pthread)
-		)
-	econf "${myconf[@]}"
-}
-
-src_compile() {
-	# Compile Racket.
-	CC_FOR_BUILD="$(tc-getCC)" default
-
-	# Recompile Zuo with optimizations.
-	emake -C zuo
-}
-
-src_install() {
-	# Install Racket.
-	default
-
-	# Install Zuo.
-	emake -C zuo DESTDIR="${ED}" install
-
-	# raco needs decompressed files for packages doc installation, bug #662424
-	use doc && docompress -x "/usr/share/doc/${PF}"
-
-	# Create missing desktop files and icon.
-	if ! use minimal ; then
-		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" racket.png
-
-		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
-		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
-	fi
-
-	readme.gentoo_create_doc
-}
-
-pkg_preinst() {
-	# If we are merging the same SLOT check if package
-	# database files exist and do not overwrite them
-	if has_version "${CATEGORY}/${PN}:${SLOT}" ; then
-		echo "We are installing the same SLOT: ${SLOT}"
-
-		local rktd
-		for rktd in "${PKGDB[@]}" ; do
-			if [[ -f "${EROOT}/${rktd}" ]] && [[ -f "${ED}/${rktd}" ]] ; then
-				einfo "Keeping old file: ${rktd}"
-
-				mv "${ED}/${rktd}" "${ED}/${rktd}.bak" ||
-					die "failed to create a backup of ${rktd}"
-
-				cp "${EROOT}/${rktd}" "${ED}/${rktd}" ||
-					die "failed to create a copy of ${rktd}"
-			fi
-		done
-	fi
-}
-
-get_outsiders() {
-	racket -l raco -- pkg show -i | grep 'link' | sed 's|link.*||g'
-}
-
-pkg_postinst() {
-	# If we have any pkgs not included in Racket main distribution (outsiders),
-	# then we have to re-setup them or during installation other pkgs will want
-	# to recompile parts of "outsider" pkgs they depend upon (and fail).
-	local -a outsiders=( $(get_outsiders) )
-	if [[ -n "${outsiders[@]}" ]] ; then
-		ebegin "Running \"raco setup\" for outsider packages"
-		echo "Outsiders: ${outsiders[@]}"
-
-		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
-		eend 0  # do not fail
-	fi
-
-	optfeature "readline editing features in REPL" dev-libs/libedit
-	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
-
-	readme.gentoo_print_elog
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-10-15 14:30 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2024-10-15 14:30 UTC (permalink / raw
  To: gentoo-commits

commit:     ca744db461ea27afdbd67a1fdcd6471aa6713108
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 15 13:37:16 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Oct 15 14:30:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca744db4

dev-scheme/racket: add missing doc build deps

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

 dev-scheme/racket/racket-8.14-r1.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/dev-scheme/racket/racket-8.14-r1.ebuild b/dev-scheme/racket/racket-8.14-r1.ebuild
index 368267e3d50e..b550ad01c7bc 100644
--- a/dev-scheme/racket/racket-8.14-r1.ebuild
+++ b/dev-scheme/racket/racket-8.14-r1.ebuild
@@ -39,6 +39,15 @@ RDEPEND="
 DEPEND="
 	${RDEPEND}
 "
+BDEPEND="
+	doc? (
+		>=media-libs/libjpeg-turbo-3.0.3
+		dev-libs/glib:2
+		media-libs/fontconfig
+		x11-libs/cairo
+		x11-libs/pango
+	)
+"
 
 CHECKREQS_DISK_BUILD="1700M"
 # "mred" and "mzscheme" are binaries generated by Racket, not CC


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-10-16 14:23 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2024-10-16 14:23 UTC (permalink / raw
  To: gentoo-commits

commit:     4d08fbc591141bfdfc4b3c69c83ac825ae16358d
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 16 14:15:55 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Oct 16 14:23:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d08fbc5

dev-scheme/racket: require iconv for doc

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

 dev-scheme/racket/racket-8.14-r1.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-scheme/racket/racket-8.14-r1.ebuild b/dev-scheme/racket/racket-8.14-r1.ebuild
index b550ad01c7bc..0b2d07689b88 100644
--- a/dev-scheme/racket/racket-8.14-r1.ebuild
+++ b/dev-scheme/racket/racket-8.14-r1.ebuild
@@ -26,8 +26,12 @@ SLOT="0/${PV}"
 
 KEYWORDS="amd64 ~arm ~ppc ppc64 x86"
 IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
-# See bug #809785 re chez/threads
-REQUIRED_USE="chez? ( futures places ) futures? ( jit threads ) places? ( threads )"
+# * "chez" - see bug #809785 re chez/threads
+# * "iconv" - required for "doc"
+REQUIRED_USE="
+	chez? ( futures places ) futures? ( jit threads ) places? ( threads )
+	doc? ( iconv )
+"
 
 RDEPEND="
 	dev-db/sqlite:3


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-10-23 22:15 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2024-10-23 22:15 UTC (permalink / raw
  To: gentoo-commits

commit:     aca07f7d11f1ae1cb1495944abfe94571b2b1abe
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 23 22:11:28 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Oct 23 22:15:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aca07f7d

dev-scheme/racket: format metadata XML

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

 dev-scheme/racket/metadata.xml | 26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

diff --git a/dev-scheme/racket/metadata.xml b/dev-scheme/racket/metadata.xml
index 3e1fa2366a15..ae43cd717d1c 100644
--- a/dev-scheme/racket/metadata.xml
+++ b/dev-scheme/racket/metadata.xml
@@ -1,19 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
 <pkgmetadata>
   <maintainer type="project">
     <email>scheme@gentoo.org</email>
     <name>Gentoo Scheme Project</name>
   </maintainer>
   <longdescription>
-==Grow your Program==
-Racket's interactive mode encourages experimentation, and quick scripts easily compose into larger systems. Small scripts and large systems both benefit from native-code JIT compilation. When a system gets too big to keep in your head, you can add static types.
-
-==Grow your Language==
-Extend Racket whenever you need to. Mold it to better suit your tasks without sacrificing interoperability with existing libraries and without having to modify the tool chain. When less is more, you can remove parts of a language or start over and build a new one.
-
-==Grow your Skills==
-Whether you're just starting out, want to know more about programming language applications or models, looking to expand your horizons, or ready to dive into research, Racket can help you become a better programmer and system builder.
+    Grow your Program - Racket's interactive mode encourages
+    experimentation, and quick scripts easily compose into larger
+    systems. Small scripts and large systems both benefit from native-code
+    JIT compilation. When a system gets too big to keep in your head, you
+    can add static types.  Grow your Language - extend Racket whenever you
+    need to. Mold it to better suit your tasks without sacrificing
+    interoperability with existing libraries and without having to modify
+    the tool chain. When less is more, you can remove parts of a language or
+    start over and build a new one.  Grow your Skills - whether you're just
+    starting out, want to know more about programming language applications
+    or models, looking to expand your horizons, or ready to dive into
+    research, Racket can help you become a better programmer and system
+    builder.
   </longdescription>
   <upstream>
     <bugs-to>https://github.com/racket/racket/issues/</bugs-to>
@@ -30,7 +36,9 @@ Whether you're just starting out, want to know more about programming language a
       Add ncurses support for expeditor (REPL expression editor)
     </flag>
     <flag name="places">
-      Enable racket/place library for share-nothing parallelism and message-passing communication. Compared to futures, places are heavyweight, but they have a simpler performance model.
+      Enable racket/place library for share-nothing parallelism and
+      message-passing communication. Compared to futures, places are
+      heavyweight, but they have a simpler performance model.
     </flag>
     <flag name="threads">
       Enable support for green threads


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

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/
@ 2024-11-08 19:34 Maciej Barć
  0 siblings, 0 replies; 110+ messages in thread
From: Maciej Barć @ 2024-11-08 19:34 UTC (permalink / raw
  To: gentoo-commits

commit:     3d3183d8cae8a29a04501351633e0bc19d7349f0
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  8 17:25:41 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Nov  8 19:34:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d3183d8

dev-scheme/racket: bump to 8.15

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

 dev-scheme/racket/Manifest           |   2 +
 dev-scheme/racket/racket-8.15.ebuild | 199 +++++++++++++++++++++++++++++++++++
 2 files changed, 201 insertions(+)

diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 45db1c7c647e..af486ed67281 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,2 +1,4 @@
 DIST racket-8.14-src-builtpkgs.tgz 157264256 BLAKE2B a6b5e61785abd8869db7800f5a5b5113e8462a8c887a8d1c7d9ed2af0c54ff37865d79a27a132bf9e50d0a4d2f4f58769707e9076591fdb6958c40e380df74d6 SHA512 b5eca5050aa1eab880ba0d1571c12577c80c9cd8e945caf8d07ae81864e964899f547b58e9d901444bb09575ace2c422b61fc1fc62d8c7df5b51a425b874c176
+DIST racket-8.15-src-builtpkgs.tgz 157495068 BLAKE2B eda021f0def3ca2581271a26d1ab0537bf6cc6645ee3aeb4f1bbb51e2c169b9fb10c93d34aee9794f94a1a05ccbb3f198903306438fe4af108e14a3191989c80 SHA512 17ff51fc085f8b7aaf293ae75a4fc5063e7e77a4c405eaa57b5e7b1c0e260b1219749ae45defa4f3bbae6aca8fed3836924e0a8625d1bd0c45f15db57878a194
 DIST racket-minimal-8.14-src-builtpkgs.tgz 23391100 BLAKE2B 4b95b98c142d49c6f9ab5c7a654cd854183f2f088b8e8fc841ee2aaa65192ee5230634ca36caa26ffbc9bff5b1591f524ca84a4a13512249afc005998c97bd49 SHA512 f84a50be0d8a401d47d7517e6dc4b8a730b85ad80d1786edaa95b5cf86f4979e69d0f958a99de79631ed5885c4daf6092f39f1ac791f35422fe6d587e4d81465
+DIST racket-minimal-8.15-src-builtpkgs.tgz 23385589 BLAKE2B 1b55778966188d36b97e32f886562b8a8b08543b62b68d20fd3a7352c41b764386745f93915ca1edb9f785d13bac6f99618c39f7532a584fac704212c8123eb5 SHA512 2d52a0d7350f7c81b1696e657016ce93fb216419c875a3d43d41d9bc7d1d28589bb60d976e6dbd256e050ee2d8532e5f35a6fb461b5232c423fe56c9d8bf3596

diff --git a/dev-scheme/racket/racket-8.15.ebuild b/dev-scheme/racket/racket-8.15.ebuild
new file mode 100644
index 000000000000..abd4774efd67
--- /dev/null
+++ b/dev-scheme/racket/racket-8.15.ebuild
@@ -0,0 +1,199 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit check-reqs desktop optfeature toolchain-funcs readme.gentoo-r1
+
+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
+HOMEPAGE="https://racket-lang.org/
+	https://github.com/racket/racket/"
+
+SRC_URI="
+	minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
+	!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
+"
+S="${WORKDIR}/${P}/src"
+
+# See https://blog.racket-lang.org/2019/11/completing-racket-s-relicensing-effort.html
+LICENSE="|| ( MIT Apache-2.0 ) chez? ( Apache-2.0 ) !chez? ( LGPL-3 )"
+
+# Bytecode generated by Racket is not compatible between versions.
+# The bytecode version should be denoted by SLOT, in most cases
+# PV == SLOT but this has to be checked carefully and in cases
+# where we use _p, _pre, etc it will have to be set manually.
+SLOT="0/${PV}"
+
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="+chez +doc +futures iconv +jit minimal ncurses +places +threads"
+# * "chez" - see bug #809785 re chez/threads
+# * "iconv" - required for "doc"
+REQUIRED_USE="
+	chez? ( futures places ) futures? ( jit threads ) places? ( threads )
+	doc? ( iconv )
+"
+
+RDEPEND="
+	dev-db/sqlite:3
+	dev-libs/libffi:=
+	ncurses? (
+		sys-libs/ncurses:=
+	)
+"
+DEPEND="
+	${RDEPEND}
+"
+BDEPEND="
+	doc? (
+		>=media-libs/libjpeg-turbo-3.0.3
+		dev-libs/glib:2
+		media-libs/fontconfig
+		x11-libs/cairo
+		x11-libs/pango
+	)
+"
+
+CHECKREQS_DISK_BUILD="1700M"
+# "mred" and "mzscheme" are binaries generated by Racket, not CC
+QA_FLAGS_IGNORED="usr/bin/mred usr/bin/mzscheme"
+
+DOC_CONTENTS="
+If you wish to use sys-libs/readline instead of dev-libs/libedit
+for readline-like features in the Racket's REPL you can install
+the package 'readline-gpl' using raco, Racket's package manager
+https://pkgs.racket-lang.org/package/readline-gpl
+"
+
+# Package database files (for pkg_preinst & pkg_config)
+PKGDB=(
+	/usr/share/racket/info-cache.rktd
+	/usr/share/racket/links.rktd
+	/usr/share/racket/pkgs/pkgs.rktd
+)
+
+src_prepare() {
+	# Prepare the environment.
+	unset PLTADDONDIR PLTCOLLECTS PLTCONFIGDIR PLTUSERHOME
+
+	default
+
+	# Remove bundled libffi.
+	rm -r "${S}/bc/foreign/libffi" || die "failed to remove bundled libffi"
+}
+
+src_configure() {
+	# Compilation of Zuo does not respect the autoconf configuration.
+	tc-export CC
+
+	einfo "Configuring Zuo in ${S}/zuo"
+	pushd "${S}/zuo" >/dev/null || die
+	econf
+	popd >/dev/null || die
+
+	einfo "Configuring Racket in ${S}"
+	# Libtool:
+	#   According to vapier, we should use the bundled libtool
+	#   such that we don't preclude cross-compile.
+	#   Thus don't use --enable-lt=/usr/bin/libtool
+	# Backend:
+	#   --enable-bc builds Racket w/o chez backend
+	# C Libraries:
+	#   --enable-libs & --disable-shared is the way to build
+	#   .a files that are needed to embed Racket into programs
+	#   https://docs.racket-lang.org/inside/cs-embedding.html
+	local -a myconf=(
+		--disable-shared
+		--disable-strip
+		--docdir="${EPREFIX}/usr/share/doc/${PF}"
+		--enable-libs
+		$(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly")
+		$(use_enable doc docs)
+		$(use_enable iconv)
+		$(use_enable ncurses curses)
+	)
+	# Some options are togglable only for the BC version (are forced in CS)
+	! use chez && myconf+=(
+			--enable-float
+			--enable-foreign
+			--enable-gracket
+			--enable-libffi
+			$(use_enable futures)
+			$(use_enable jit)
+			$(use_enable places)
+			$(use_enable threads pthread)
+		)
+	econf "${myconf[@]}"
+}
+
+src_compile() {
+	# Compile Racket.
+	CC_FOR_BUILD="$(tc-getCC)" default
+
+	# Recompile Zuo with optimizations.
+	emake -C zuo
+}
+
+src_install() {
+	# Install Racket.
+	default
+
+	# Install Zuo.
+	emake -C zuo DESTDIR="${ED}" install
+
+	# raco needs decompressed files for packages doc installation, bug #662424
+	use doc && docompress -x "/usr/share/doc/${PF}"
+
+	# Create missing desktop files and icon.
+	if ! use minimal ; then
+		newicon "${ED}/usr/share/racket/drracket-exe-icon.png" racket.png
+
+		make_desktop_entry "gracket" "GRacket" "racket" "Development;Education;"
+		make_desktop_entry "plt-games" "PLT Games" "racket" "Education;Game;"
+	fi
+
+	readme.gentoo_create_doc
+}
+
+pkg_preinst() {
+	# If we are merging the same SLOT check if package
+	# database files exist and do not overwrite them
+	if has_version "${CATEGORY}/${PN}:${SLOT}" ; then
+		echo "We are installing the same SLOT: ${SLOT}"
+
+		local rktd
+		for rktd in "${PKGDB[@]}" ; do
+			if [[ -f "${EROOT}/${rktd}" ]] && [[ -f "${ED}/${rktd}" ]] ; then
+				einfo "Keeping old file: ${rktd}"
+
+				mv "${ED}/${rktd}" "${ED}/${rktd}.bak" ||
+					die "failed to create a backup of ${rktd}"
+
+				cp "${EROOT}/${rktd}" "${ED}/${rktd}" ||
+					die "failed to create a copy of ${rktd}"
+			fi
+		done
+	fi
+}
+
+get_outsiders() {
+	racket -l raco -- pkg show -i | grep 'link' | sed 's|link.*||g'
+}
+
+pkg_postinst() {
+	# If we have any pkgs not included in Racket main distribution (outsiders),
+	# then we have to re-setup them or during installation other pkgs will want
+	# to recompile parts of "outsider" pkgs they depend upon (and fail).
+	local -a outsiders=( $(get_outsiders) )
+	if [[ -n "${outsiders[@]}" ]] ; then
+		ebegin "Running \"raco setup\" for outsider packages"
+		echo "Outsiders: ${outsiders[@]}"
+
+		raco setup --all-users --force --no-docs --no-user --pkgs "${outsiders[@]}"
+		eend 0  # do not fail
+	fi
+
+	optfeature "readline editing features in REPL" dev-libs/libedit
+	optfeature "generating PDF files using Scribble" dev-texlive/texlive-fontsextra
+
+	readme.gentoo_print_elog
+}


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

end of thread, other threads:[~2024-11-08 19:34 UTC | newest]

Thread overview: 110+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-13 21:42 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/racket/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-11-08 19:34 Maciej Barć
2024-10-23 22:15 Maciej Barć
2024-10-16 14:23 Maciej Barć
2024-10-15 14:30 Maciej Barć
2024-10-11 23:00 Maciej Barć
2024-10-01  1:11 Sam James
2024-10-01  1:11 Sam James
2024-10-01  1:11 Sam James
2024-08-17 13:27 Maciej Barć
2024-08-17 13:27 Maciej Barć
2024-08-09 20:26 Jakov Smolić
2024-08-01 16:47 Arthur Zamarin
2024-08-01 16:47 Arthur Zamarin
2024-05-19 23:14 Maciej Barć
2024-04-09  9:30 Maciej Barć
2024-03-14 21:44 Sam James
2024-03-13 16:40 Maciej Barć
2024-03-13 12:05 Arthur Zamarin
2024-03-01  7:28 Viorel Munteanu
2024-02-15 13:56 Sam James
2024-02-15 13:56 Sam James
2024-02-10 16:24 Maciej Barć
2024-01-12 23:22 Maciej Barć
2024-01-12 23:22 Maciej Barć
2023-12-22  5:14 Ionen Wolkens
2023-12-22  5:14 Ionen Wolkens
2023-12-13 17:17 Maciej Barć
2023-10-01 18:23 Arthur Zamarin
2023-10-01 18:07 Arthur Zamarin
2023-10-01 15:37 Maciej Barć
2023-08-17 13:22 Maciej Barć
2023-08-17 13:22 Maciej Barć
2023-08-17 13:22 Maciej Barć
2023-07-18 16:32 Sam James
2023-07-07 22:54 Sam James
2023-05-12 11:36 Maciej Barć
2023-05-12 11:36 Maciej Barć
2023-02-08 15:01 Maciej Barć
2023-01-13 13:01 Arthur Zamarin
2022-12-22 10:15 Arthur Zamarin
2022-12-22 10:14 Arthur Zamarin
2022-12-02 17:22 Arthur Zamarin
2022-11-17 15:14 Sam James
2022-11-13 14:08 Maciej Barć
2022-11-13 14:08 Maciej Barć
2022-08-07 16:24 Maciej Barć
2022-08-07 16:24 Maciej Barć
2022-07-26 18:41 Sam James
2022-07-26 18:41 Sam James
2022-05-25  6:39 Ulrich Müller
2022-05-01 23:46 Maciej Barć
2022-04-02  8:03 Agostino Sarubbo
2022-04-02  7:59 Agostino Sarubbo
2022-02-15  7:12 Agostino Sarubbo
2022-02-15  7:09 Agostino Sarubbo
2022-02-14 14:38 Maciej Barć
2022-02-09 23:20 Maciej Barć
2022-01-05  0:56 Maciej Barć
2022-01-05  0:54 Maciej Barć
2022-01-05  0:54 Maciej Barć
2021-12-14  8:53 Maciej Barć
2021-12-09 22:07 Maciej Barć
2021-12-03 18:27 Maciej Barć
2021-12-03 16:05 Maciej Barć
2021-12-03  0:12 Sam James
2021-12-03  0:12 Sam James
2021-12-03  0:12 Sam James
2021-11-12  4:38 Sam James
2021-11-08  6:22 Sam James
2021-11-06  8:33 Agostino Sarubbo
2021-11-04 10:38 Ulrich Müller
2021-11-04 10:38 Ulrich Müller
2021-08-13  6:08 Ulrich Müller
2021-07-10 18:54 Sam James
2021-03-20 11:55 Sam James
2021-03-20 11:55 Sam James
2021-03-20 11:55 Sam James
2021-03-20 11:55 Sam James
2021-03-20 11:55 Sam James
2021-03-20 11:55 Sam James
2021-03-20 11:55 Sam James
2020-11-16 22:53 Sergei Trofimovich
2019-05-18 16:17 Amy Liffey
2019-04-28 18:24 Amy Liffey
2019-04-04 21:16 Aaron Bauman
2018-11-05 21:13 Amy Liffey
2018-11-05 18:51 Mikle Kolyada
2018-10-28 21:29 Thomas Deutschmann
2018-10-27 10:39 Amy Liffey
2018-08-06 15:59 Amy Liffey
2018-08-05 11:10 Amy Liffey
2018-08-05 11:10 Amy Liffey
2018-06-18 21:53 Amy Liffey
2018-03-06 15:22 Amy Liffey
2018-03-06 11:44 Mikle Kolyada
2018-02-11  9:24 Amy Liffey
2018-02-05 10:43 Amy Liffey
2018-02-03 20:27 Amy Liffey
2017-05-11 12:56 Michael Orlitzky
2017-02-12 16:18 Amy Liffey
2017-02-12 14:48 Agostino Sarubbo
2016-10-29 22:16 Amy Winston
2016-10-29 22:08 Amy Winston
2016-06-03 19:38 Amy Winston
2016-03-22 14:32 Agostino Sarubbo
2016-03-21  8:43 Amy Winston
2016-03-21  8:43 Amy Winston
2016-03-21  8:43 Amy Winston
2015-10-04 16:29 Sergei Trofimovich

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