diff options
Diffstat (limited to 'dev-lisp/cmucl')
-rw-r--r-- | dev-lisp/cmucl/Manifest | 8 | ||||
-rw-r--r-- | dev-lisp/cmucl/cmucl-21c.ebuild | 109 | ||||
-rw-r--r-- | dev-lisp/cmucl/files/cmucl-21c-build.patch | 22 | ||||
-rw-r--r-- | dev-lisp/cmucl/files/cmucl-21c-execstack-fixes.patch | 118 | ||||
-rw-r--r-- | dev-lisp/cmucl/files/cmuclrc | 9 | ||||
-rw-r--r-- | dev-lisp/cmucl/files/site-init.lisp.in | 56 | ||||
-rw-r--r-- | dev-lisp/cmucl/metadata.xml | 37 |
7 files changed, 0 insertions, 359 deletions
diff --git a/dev-lisp/cmucl/Manifest b/dev-lisp/cmucl/Manifest deleted file mode 100644 index 20c6443cad1a..000000000000 --- a/dev-lisp/cmucl/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX cmucl-21c-build.patch 733 BLAKE2B 51df14314e979b919ff307aa2b165106bf7d977cee7dee1002bc89cee9f8b175494ca2d9e7b1a87447b3c11e944a75ec58af661d54adeceef61a8a4c5435824b SHA512 ca4bab7ac344ef83064081252e30d4704fe5f3006f58e90024cd51a02ab82341c651ec4117e8b14912b071d730acee76e330e237e7942597bb73b94eb73fbdda -AUX cmucl-21c-execstack-fixes.patch 3990 BLAKE2B 962e4aa31d703128e871c39bafb1be7e42be56619c8c803e745a68a0b94faa43c392b78e96d4a10758dd564c3e1791bed103edcbf986717960c1129e7f019de9 SHA512 bb32dfffa6b737af8be924f194112863b64010b00b30caf92c023a16ac1d2884f51ee724b57cdeb2786f10aad6bd0054a835c94f03b911eca4648c2e5927ce3b -AUX cmuclrc 305 BLAKE2B 1943c5ca8f43ce890e37949fa71cbeb24a5f849c827b3e05ec240ce22527b3bea550eaf9a74c1e98f2a9c7adda4f2caf84341cf1f42e6a26f17d784769ef1f62 SHA512 36ae348795f27a7aae2e1cf10376606b9a6898b4c4f0e6da692b3e60bed21e2825ac766a51fb648f1365b238046efd155e80d70421ff65ecffe5b68342895740 -AUX site-init.lisp.in 1839 BLAKE2B d4bd6da1c3d0902b96af4abac48f981f21d4494f3da6dab9d398c3af873c4fbf23a6c9cda878099a522787875e3882fc635859253769f56d6275721bea0a7853 SHA512 374e5acf970b1bd26d2318b678cba509296f2356a4672648f8522387c216288e8f43b514004b0d0c98da5d03a5db10435d5f42f57db88c916691eb4ae93f126a -DIST cmucl-21c-x86-linux.tar.bz2 11127872 BLAKE2B b9089a40b4a0738f9faccdfddb7b33256a561a07cedc3ef9b3ec7afddbbb9de493c2ffb9af4a8d6b6ce70ef857576870901a6b7a607f52bdaf8a0f53ddd2d07e SHA512 9097220aef612aa3d8367a86a86dc62d86d918190d2688f6e90d415c9f9d881f97f0829e9d310f700b014821d30bf5a15f7a05cdb9201c9deab10a7231e0bcb6 -DIST cmucl-src-21c.tar.bz2 6947775 BLAKE2B 828075c71ddf459d09076199af4a02f2294063bd9ef0beb6d4bcbb473dd0ff8cfdff7faa9416f640e125603301fa37c73a280db597bf4301c22fbe88c4cc2dbb SHA512 98ea0516b71af7c6f92b5f67f6c1545949fcd1dc95e1238a989c1c2858a75e2751e5eb765b29812ad5cc5de015333787dac2a63a9ddea9bb83cfd72fef6794f4 -EBUILD cmucl-21c.ebuild 3010 BLAKE2B 531d2db1b0f1b1c96eb2a43c49e76ae75c2fa6c3a611b558c539f5d136484683e0c50e22305820786b14963144531ede1a98a6dd62aba29f9f8395b05ac77447 SHA512 946baf5f68faf88410816aca55859b69256c12b4a9524c8736a773429e240febfae906c98e11a0ab0444c0358d67da85d14e4fea41a51a6960134d133e12d35b -MISC metadata.xml 1392 BLAKE2B b301abf6448e0cd35a3dfc4c500666daabddc0d76c5b9f544963f19e8296e8a194cbc8bcdc542279ee120ab3b68d01af6626c76bb631cb12aaf41cbfc97c3759 SHA512 7e5316859890925b1e197d93339ea13067dd72a3e8d450163ea23d73656c9d203ccbbb731e762fa9def713f1debf610377620a1a2f9939e38d067b2f8e960551 diff --git a/dev-lisp/cmucl/cmucl-21c.ebuild b/dev-lisp/cmucl/cmucl-21c.ebuild deleted file mode 100644 index 1970e290a1c6..000000000000 --- a/dev-lisp/cmucl/cmucl-21c.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils toolchain-funcs multilib - -MY_PV=${PV:0:3} - -DESCRIPTION="CMU Common Lisp is an implementation of ANSI Common Lisp" -HOMEPAGE="http://www.cons.org/cmucl/" -SRC_URI="http://common-lisp.net/project/cmucl/downloads/release/${MY_PV}/cmucl-src-${MY_PV}.tar.bz2 - http://common-lisp.net/project/cmucl/downloads/release/${MY_PV}/cmucl-${MY_PV}-x86-linux.tar.bz2" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="x86" -IUSE="X doc source" - -CDEPEND=">=dev-lisp/asdf-2.33-r3:= - x11-libs/motif:0" -DEPEND="${CDEPEND} - sys-devel/bc - doc? ( virtual/latex-base )" -RDEPEND="${CDEPEND}" - -S="${WORKDIR}" - -TARGET=linux-4 - -src_prepare() { - eapply "${FILESDIR}"/${P}-execstack-fixes.patch - eapply "${FILESDIR}"/${P}-build.patch - eapply_user - #cp "${FILESDIR}"/os-common.h src/lisp/ || die - cp /usr/share/common-lisp/source/asdf/build/asdf.lisp src/contrib/asdf/ || die -} - -src_compile() { - local cmuopts buildimage - - if use X ; then - cmuopts="" - else - cmuopts="-u" - fi - - buildimage="bin/lisp -batch" - - env CC="$(tc-getCC)" bin/build.sh -v "-gentoo-${PR}" -C "" -o "${buildimage}" ${cmuopts} || die "Cannot build the compiler" - - # Compile up the asdf and defsystem modules - ${TARGET}/lisp/lisp -noinit -nositeinit -batch << EOF || die -(in-package :cl-user) -(setf (ext:search-list "target:") - '("$TARGET/" "src/")) -(setf (ext:search-list "modules:") - '("target:contrib/")) - -(compile-file "modules:asdf/asdf") -(compile-file "modules:defsystem/defsystem") -EOF - - # Documentation - if use doc; then - pushd src/docs/cmu-user > /dev/null || die "directory src/docs/cmu-user does not exist" - emake - cd ../internals || die "directory src/docs/internals does not exist" - emake - popd > /dev/null - fi -} - -src_install() { - bin/make-dist.sh -S -g -G root -O root -M share/man/man1 -V ${MY_PV} -A x86 -o linux ${TARGET} \ - || die "Cannot build installation archive" - # Necessary otherwise tar will fail - dodir /usr - pushd "${D}"/usr > /dev/null - tar xzpf "${WORKDIR}"/cmucl-${MY_PV}-x86-linux.tar.gz \ - || die "Cannot install main system" - if use X ; then - tar xzpf "${WORKDIR}"/cmucl-${MY_PV}-x86-linux.extra.tar.gz \ - || die "Cannot install extra files" - fi - if use source; then - # Necessary otherwise tar will fail - dodir /usr/share/common-lisp/source/${PN} - cd "${D}"/usr/share/common-lisp/source/${PN} || die - tar --strip-components 1 -xzpf "${WORKDIR}"/cmucl-src-${MY_PV}.tar.gz \ - || die "Cannot install sources" - fi - popd > /dev/null - - # Install site config file - sed "s,@PF@,${PF},g ; s,@VERSION@,$(date +%F),g" \ - < "${FILESDIR}"/site-init.lisp.in \ - > "${D}"/usr/$(get_libdir)/cmucl/site-init.lisp \ - || die "Cannot fix site-init.lisp" - insinto /etc/common-lisp - doins "${FILESDIR}"/cmuclrc || die "Failed to install cmuclrc" - - # Documentation - dodoc doc/cmucl/README - if use doc; then - insinto /usr/share/doc/${PF} - doins src/docs/cmu-user/cmu-user.pdf src/docs/internals/design.pdf - fi -} diff --git a/dev-lisp/cmucl/files/cmucl-21c-build.patch b/dev-lisp/cmucl/files/cmucl-21c-build.patch deleted file mode 100644 index 4d7e4061c924..000000000000 --- a/dev-lisp/cmucl/files/cmucl-21c-build.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -r -U2 21a.orig/bin/build.sh 21a/bin/build.sh ---- 21a.orig/bin/build.sh 2015-05-19 07:42:40.000000000 +0600 -+++ 21a/bin/build.sh 2016-04-03 20:54:08.597016537 +0600 -@@ -40,5 +40,5 @@ - ENABLE4="yes" - --version=21b -+version=21c - SRCDIR=src - BINDIR=bin -@@ -145,10 +145,9 @@ - $TOOLDIR/load-world.sh $TARGET "$VERSION" || { echo "Failed: $TOOLDIR/load-world.sh"; exit 1; } - -- $TARGET/lisp/lisp -batch -noinit -nositeinit $FPU_MODE < /dev/null || { echo "Failed: $TARGET/lisp/lisp -batch -noinit $FPU_MODE"; exit 1; } -+ $TARGET/lisp/lisp -batch -noinit -nositeinit < /dev/null || { echo "Failed: $TARGET/lisp/lisp -batch -noinit"; exit 1; } - return 0; - fi - } - --FPU_MODE= - BUILDWORLD="$TOOLDIR/build-world.sh" - BUILD_POT="yes" diff --git a/dev-lisp/cmucl/files/cmucl-21c-execstack-fixes.patch b/dev-lisp/cmucl/files/cmucl-21c-execstack-fixes.patch deleted file mode 100644 index 034848d64a26..000000000000 --- a/dev-lisp/cmucl/files/cmucl-21c-execstack-fixes.patch +++ /dev/null @@ -1,118 +0,0 @@ -diff -Naur work.old/src/lisp/alpha-assem.S work/src/lisp/alpha-assem.S ---- work.old/src/lisp/alpha-assem.S 2003-03-06 11:13:09.000000000 -0300 -+++ work/src/lisp/alpha-assem.S 2010-05-10 00:06:34.000000000 -0300 -@@ -297,3 +297,7 @@ - function_end_breakpoint_end: - - -+ -+#if defined(__linux__) && defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif -diff -Naur work.old/src/lisp/amd64-assem.S work/src/lisp/amd64-assem.S ---- work.old/src/lisp/amd64-assem.S 2004-07-27 19:03:53.000000000 -0300 -+++ work/src/lisp/amd64-assem.S 2010-05-10 00:06:34.000000000 -0300 -@@ -1051,3 +1051,7 @@ - .end - - #endif /* LINKAGE_TABLE */ -+ -+#if defined(__linux__) && defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif -diff -Naur work.old/src/lisp/backtrace.c work/src/lisp/backtrace.c ---- work.old/src/lisp/backtrace.c 2009-06-11 13:04:01.000000000 -0300 -+++ work/src/lisp/backtrace.c 2010-05-10 00:06:22.000000000 -0300 -@@ -3,6 +3,8 @@ - * Simple backtrace facility. More or less from Rob's lisp version. - */ - -+#include "os-common.h" -+ - #include <stdio.h> - #include <signal.h> - #include "lisp.h" -diff -Naur work.old/src/lisp/hppa-assem.S work/src/lisp/hppa-assem.S ---- work.old/src/lisp/hppa-assem.S 2002-08-23 14:05:35.000000000 -0300 -+++ work/src/lisp/hppa-assem.S 2010-05-10 00:06:34.000000000 -0300 -@@ -460,3 +460,7 @@ - - .export function_end_breakpoint_end - function_end_breakpoint_end -+ -+#if defined(__linux__) && defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif -diff -Naur work.old/src/lisp/linux-stubs.S work/src/lisp/linux-stubs.S ---- work.old/src/lisp/linux-stubs.S 2005-08-17 00:40:16.000000000 -0300 -+++ work/src/lisp/linux-stubs.S 2010-05-10 00:06:34.000000000 -0300 -@@ -995,3 +995,7 @@ - /* doe(yperr_string) */ - /* doe(ypprot_err) */ - #endif /* defined(LINKAGE_TABLE) && !defined(__FreeBSD__) */ -+ -+#if defined(__linux__) && defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif -diff -Naur work.old/src/lisp/lisp.c work/src/lisp/lisp.c ---- work.old/src/lisp/lisp.c 2009-07-13 16:41:54.000000000 -0300 -+++ work/src/lisp/lisp.c 2010-05-10 00:05:55.000000000 -0300 -@@ -5,6 +5,9 @@ - * - */ - -+#include "os-common.h" -+#include <time.h> -+ - #include <stdio.h> - #include <stdlib.h> - #include <limits.h> -diff -Naur work.old/src/lisp/mips-assem.S work/src/lisp/mips-assem.S ---- work.old/src/lisp/mips-assem.S 2002-08-23 14:01:02.000000000 -0300 -+++ work/src/lisp/mips-assem.S 2010-05-10 00:06:34.000000000 -0300 -@@ -402,3 +402,7 @@ - move v0, a1 - j _restore_state - .end save_state -+ -+#if defined(__linux__) && defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif -diff -Naur work.old/src/lisp/os-common.h work/src/lisp/os-common.h ---- work.old/src/lisp/os-common.h 1969-12-31 21:00:00.000000000 -0300 -+++ work/src/lisp/os-common.h 2010-05-10 00:06:22.000000000 -0300 -@@ -0,0 +1 @@ -+char* convert_lisp_string(char *c_string, void *lisp_string, int len); -diff -Naur work.old/src/lisp/ppc-assem.S work/src/lisp/ppc-assem.S ---- work.old/src/lisp/ppc-assem.S 2006-02-25 01:35:58.000000000 -0300 -+++ work/src/lisp/ppc-assem.S 2010-05-10 00:06:34.000000000 -0300 -@@ -721,3 +721,7 @@ - SET_SIZE(fpu_restore) - - #endif -+ -+#if defined(__linux__) && defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif -diff -Naur work.old/src/lisp/sparc-assem.S work/src/lisp/sparc-assem.S ---- work.old/src/lisp/sparc-assem.S 2003-10-23 23:57:00.000000000 -0300 -+++ work/src/lisp/sparc-assem.S 2010-05-10 00:06:34.000000000 -0300 -@@ -837,3 +837,7 @@ - * End: - */ - -+ -+#if defined(__linux__) && defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif -diff -Naur work.old/src/lisp/x86-assem.S work/src/lisp/x86-assem.S ---- work.old/src/lisp/x86-assem.S 2008-12-24 02:36:40.000000000 -0200 -+++ work/src/lisp/x86-assem.S 2010-05-10 00:06:34.000000000 -0300 -@@ -798,3 +798,7 @@ - ENDFUNC(undefined_foreign_symbol_trap) - - #endif /* LINKAGE_TABLE */ -+ -+#if defined(__linux__) && defined(__ELF__) -+.section .note.GNU-stack,"",%progbits -+#endif diff --git a/dev-lisp/cmucl/files/cmuclrc b/dev-lisp/cmucl/files/cmuclrc deleted file mode 100644 index e663e92af87a..000000000000 --- a/dev-lisp/cmucl/files/cmuclrc +++ /dev/null @@ -1,9 +0,0 @@ -;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*- -;;; - -(in-package :common-lisp-user) - -(if (probe-file "/etc/gentoo-init.lisp") - (load "/etc/gentoo-init.lisp") - (format t "~%;;; Warning: There is no /etc/gentoo-init.lisp file ~ -\(which should be provided by dev-lisp/gentoo-init")) diff --git a/dev-lisp/cmucl/files/site-init.lisp.in b/dev-lisp/cmucl/files/site-init.lisp.in deleted file mode 100644 index 1b232166c889..000000000000 --- a/dev-lisp/cmucl/files/site-init.lisp.in +++ /dev/null @@ -1,56 +0,0 @@ -;;; -*- Mode: Lisp; Package: System -*- -;;; -;;; ********************************************************************** -;;; This code was written as part of the CMU Common Lisp project at -;;; Carnegie Mellon University, and has been placed in the public domain. -;;; - -;;; Heavy modifications by Peter Van Eynde - -;;; More modifications for Gentoo by Matthew Kennedy -;;; <mkennedy@gentoo.org> - -(in-package "SYSTEM") - -(if (probe-file "/etc/cmuclrc") - (load "/etc/cmuclrc") - (format t "~%;;; Warning: There is no /etc/cmuclrc file (which should have been created during emerge")) - -;;; If you have sources installed on your system, un-comment the following form -;;; and change it to point to the source location. This will allow the Hemlock -;;; "Edit Definition" command and the debugger to find sources for functions in -;;; the core. -(when (probe-file #p"/usr/share/common-lisp/source/cmucl/") - (setf (ext:search-list "target:") - '( - "/usr/share/common-lisp/source/cmucl/" ; object dir - ))) - -;;; (setf (ext:search-list "library:") '("/usr/lib/cmucl/lib/")) -;;; for safety... - -;;; Put your site name here... -(setq *short-site-name* "Unknown") -(setq *long-site-name* "Site name not initialized") - -(in-package :common-lisp-user) - -;;; newbie functions, delete if you don't like them - -(defun help () - (format t "~ -Welcome to the Gentoo GNU/Linux port of CMUCL. - -The CMUCL REPL does not have GNU Readline-like support, however -you may wish to install rlwap (see: app-misc/rlwrap) to achieve -the same effect. - -If you think you found a bug, please use http://bugs.gentoo.org/ - -Read the documentation in /usr/share/doc/@PF@. - -\(quit) exit Lisp -\(describe 'foo) gives information about foo -\(inspect '*foo*) interactively inspects *foo* -\(apropos \"foo\") briefly describe all symbols which match \"foo\" -")) diff --git a/dev-lisp/cmucl/metadata.xml b/dev-lisp/cmucl/metadata.xml deleted file mode 100644 index 914e477a115a..000000000000 --- a/dev-lisp/cmucl/metadata.xml +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> -<email>common-lisp@gentoo.org</email> -<name>Gentoo Common Lisp Project</name> -</maintainer> -<longdescription> -CMUCL is a free implementation of the Common Lisp programming language -which runs on most major Unix platforms. It mainly conforms to the -ANSI Common Lisp standard. Here is a summary of its main features: - - * a sophisticated native-code compiler which is capable of powerful - type inferences, and generates code competitive in speed with C - compilers. - - * generational garbage collection and multiprocessing capability on - the x86 ports. - - * a foreign function interface which allows interfacing with C code - and system libraries, including shared libraries on most platforms, - and direct access to Unix system calls. - - * support for interprocess communication and remote procedure calls. - - * an implementation of CLOS, the Common Lisp Object System, which - includes multimethods and a metaobject protocol. - - * a graphical source-level debugger using a Motif interface, and a - code profiler. -</longdescription> -<use> -<flag name="doc">Installs package documentation</flag> -<flag name="source">Include source code for CMUCL in installation</flag> -<flag name="X">Build CLX, CLM, or Hemlock</flag> -</use> -</pkgmetadata> |