summaryrefslogtreecommitdiff
path: root/dev-scheme
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-02-04 12:30:23 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-02-04 12:30:23 +0000
commitdc45b83b28fb83e9659492066e347b8dc60bc9e3 (patch)
treef09e7ed499dae58267ca976cb1880321611f921a /dev-scheme
parenteaab68ba6a05bc57d98ca12032440835ef905326 (diff)
gentoo resync 04.02.2018
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/Manifest.gzbin6186 -> 6183 bytes
-rw-r--r--dev-scheme/racket/Manifest3
-rw-r--r--dev-scheme/racket/racket-6.11.ebuild88
3 files changed, 91 insertions, 0 deletions
diff --git a/dev-scheme/Manifest.gz b/dev-scheme/Manifest.gz
index 2688c15f58f2..115f05213fd5 100644
--- a/dev-scheme/Manifest.gz
+++ b/dev-scheme/Manifest.gz
Binary files differ
diff --git a/dev-scheme/racket/Manifest b/dev-scheme/racket/Manifest
index 6d074d687923..41520434537d 100644
--- a/dev-scheme/racket/Manifest
+++ b/dev-scheme/racket/Manifest
@@ -1,9 +1,12 @@
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
EBUILD racket-5.3.6.ebuild 1966 BLAKE2B b6e757f11d83f93c85e0b38fa05c8d62a13a0b4864090894bb2b8288de0e80835702d26e2690e5c00eed106ae9c7228c24686458bc54383610e549bf7be509e3 SHA512 6d653d903955e1336064c3f7f38375d7deed674af2a585ec0d3ff1978b1f0d40f97a631a007a128604f82a6d9bad91b1636f19baa68faffe0da9fea711b33389
+EBUILD racket-6.11.ebuild 2276 BLAKE2B 3233e72dd4ee8516511341f402ccc3d3646818eaf9019d8019bd0c46b649d322da345fd03eb482a40a74fd9a01a09ab7bb75ad1d6bb94812e0a5ffc1b1998e72 SHA512 797a8166f566239256b90cc32925388cbfd793f5b8576dc36c298ec21c1749851ad197f620cb678a8b9ff6b12189bb574785e04ebbef015487b71bb9567c9ae1
EBUILD racket-6.7.ebuild 1833 BLAKE2B 7ad1c839423c322b4052c7c092244bdb09ac29cd950da33e9766fd355868c5ff355ccc4e21e72244665e73d569f6e1da646e9546b3e13579080b616b4dbe67e6 SHA512 c67c71c65491ee53b3fd0e3d33d44a7a5af6fdbd6322a985c6f52d691a51d043b1226231a7dbad5d872ad8b34e417d10e515146127f18789c2ced00264c44f3c
EBUILD racket-6.9.ebuild 3882 BLAKE2B 2ce393fccc45d7406f817ece4eed55be16054fa0345adcf612846c875d1340ac7165160e13e689ffd8b6d6cccfbae300a0a0bfef6cc494a35915e695a6bb9b53 SHA512 a4596804668d509c03f1c5ac958a8c959b2d64525c214f9f6b2688de3d6a458262bff9bef3ca48f58faab5bcf3bc2999037f16c0406e31e8d6a0ebdc4c031a44
MISC metadata.xml 1713 BLAKE2B 95b9014b0df1d51b91b7e1668236a48f4b7003222204dd3d350e326a0647b766c5465198da1b74263933f88ca41bdce8311bcb3603174e2ab87edbe5471be76a SHA512 03ede908f3fd71dca9e60f6064ba626386506f0b2eb310d6668f79cb48a6d7a12c04765302a0375839dea651526add8773e9b43bb888fb1b671f36b89a70003c
diff --git a/dev-scheme/racket/racket-6.11.ebuild b/dev-scheme/racket/racket-6.11.ebuild
new file mode 100644
index 000000000000..5390fb50a0ec
--- /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
+}