From 30463862bdbb0bf0795bbd1366d7dc392b069c78 Mon Sep 17 00:00:00 2001 From: Elias Pipping Date: Wed, 17 Dec 2008 18:11:22 +0100 Subject: [PATCH] dev-lisp/lush: import --- dev-lisp/lush/ChangeLog | 50 ++++++++++++++++ dev-lisp/lush/Manifest | 6 ++ dev-lisp/lush/files/aclocal.m4.patch | 91 ++++++++++++++++++++++++++++++ dev-lisp/lush/files/lush-1.2.1-ctype.patch | 27 +++++++++ dev-lisp/lush/lush-1.2.1.ebuild | 40 +++++++++++++ dev-lisp/lush/metadata.xml | 14 +++++ 6 files changed, 228 insertions(+) create mode 100644 dev-lisp/lush/ChangeLog create mode 100644 dev-lisp/lush/Manifest create mode 100644 dev-lisp/lush/files/aclocal.m4.patch create mode 100644 dev-lisp/lush/files/lush-1.2.1-ctype.patch create mode 100644 dev-lisp/lush/lush-1.2.1.ebuild create mode 100644 dev-lisp/lush/metadata.xml diff --git a/dev-lisp/lush/ChangeLog b/dev-lisp/lush/ChangeLog new file mode 100644 index 0000000..538a54f --- /dev/null +++ b/dev-lisp/lush/ChangeLog @@ -0,0 +1,50 @@ +# ChangeLog for dev-lisp/lush +# Copyright 2000-2007 Gentoo Foundation and Matthew Kennedy ; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/lush/ChangeLog,v 1.11 2007/09/18 17:28:55 hkbst Exp $ + +*lush-1.2.1 (18 Sep 2007) + + 18 Sep 2007; Marijn Schouten +files/aclocal.m4.patch, + +lush-1.2.1.ebuild: + bump, fixes bug 171349, add amd64, fixes bug 192831 + + 22 Jul 2007; Hans de Graaff lush-1.0.ebuild, + lush-1.1.ebuild: + Drop virtual/x11 references. + + 22 Feb 2007; Piotr JaroszyƄski ChangeLog: + Transition to Manifest2. + + 20 Jun 2006; Matthew Kennedy +files/1.1-gcc4.patch, + lush-1.1.ebuild: + Include fix for GCC4 compilation; Resolves Bug #137179; Thanks to Hanno + Meyer-Thurow for tracking the patch down. + + 13 Feb 2006; Matthew Kennedy lush-1.0.ebuild, + lush-1.1.ebuild: + Modular X dependencies. + +*lush-1.1 (18 May 2005) + + 18 May 2005; Matthew Kennedy -lush-0.98.ebuild, + -lush-0.99.ebuild, +lush-1.1.ebuild: + New upstream version; Removed old ebuilds. + +*lush-1.0 (03 Mar 2005) + + 03 Mar 2005; Matthew Kennedy lush-0.99.ebuild, + +lush-1.0.ebuild: + New upstream version; Add --disable-bfd which resolves Bug #55452 + +*lush-0.99 (13 May 2004) + + 13 May 2004; metadata.xml, +lush-0.99.ebuild: + New upstream version. Resolves Bug #36664 + + 26 Apr 2004; David Holm lush-0.98.ebuild: + Added to ~ppc. + +*lush-0.98 (01 Sep 2003) + + 01 Sep 2003; Matthew Kennedy : + Initial import. diff --git a/dev-lisp/lush/Manifest b/dev-lisp/lush/Manifest new file mode 100644 index 0000000..0fe1f1a --- /dev/null +++ b/dev-lisp/lush/Manifest @@ -0,0 +1,6 @@ +AUX aclocal.m4.patch 3279 RMD160 55982b58ea03b6174fb2fc2a5752ac9795932a52 SHA1 f08fba5ca38b9eae4c0c7a00cb103a8c312df845 SHA256 796672589a95c5135ab1d71e456157e5e2bcb259d819cb17ba90ebee41397f10 +AUX lush-1.2.1-ctype.patch 496 RMD160 3e31105735222001d1bc84c954758110bbc08a13 SHA1 9aa1eee574c2949c582316eeb3a0e1e67aad117e SHA256 c8b3b3df1680f7bb5e0c1e171c35fa5a5aea95639cd5f7239df0b8a17c5a55b4 +DIST lush-1.2.1.tar.gz 4431778 RMD160 22622b256aab3ad1712b3bbb0c2f892de017002f SHA1 c378f339320e98b6c7b9177aec6284567f4aa088 SHA256 1423085ef7c4ed83374333ba7a552e7f5f35add8db0c2478c8b00c96931ad8c9 +EBUILD lush-1.2.1.ebuild 1053 RMD160 ceb4ff4dfba1c0c652c1e8957cd09bba3140af63 SHA1 4994f2d0871d20ac3b74131210b9b05332f41fc1 SHA256 cd25fd5635b6aa777f86e183aad2a96de1882c610a0ea432fbc9227711527d2b +MISC ChangeLog 1649 RMD160 8681cdf67aebdbacbc067058cf5e0435c71b28ad SHA1 1d44c6027ec490acd331826fa3a4d368edf75189 SHA256 75983fff0f14c08e4f43c7177992a3fc3dc97821392988daeb6026e2fe206212 +MISC metadata.xml 537 RMD160 3457043c7929c6de3e2d3e8ada80cc58819b7fd2 SHA1 957cdc8ffbe99297623a939fc7ccc8094f8df2c3 SHA256 8023472b52c7d3512b1c1b645b797d7081a036c8272f7f78df29245689e4525b diff --git a/dev-lisp/lush/files/aclocal.m4.patch b/dev-lisp/lush/files/aclocal.m4.patch new file mode 100644 index 0000000..8c1a479 --- /dev/null +++ b/dev-lisp/lush/files/aclocal.m4.patch @@ -0,0 +1,91 @@ +--- aclocal.m4.old 2007-09-18 19:07:48.000000000 +0200 ++++ aclocal.m4 2007-09-18 19:15:29.000000000 +0200 +@@ -102,49 +102,49 @@ + [ac_cpu=$withval]) + + AC_ARG_VAR(OPTS, [Optimization flags for all compilers.]) +- if test x${OPTS+set} = xset ; then +- saved_CFLAGS="$CFLAGS" +- CFLAGS= +- for opt in $saved_CFLAGS ; do +- case $opt in +- -O*|-g*) ;; +- *) CFLAGS="$CFLAGS $opt" ;; +- esac +- done +- AC_MSG_CHECKING([user provided debugging flags]) ++# if test x${OPTS+set} = xset ; then ++# saved_CFLAGS="$CFLAGS" ++# CFLAGS= ++# for opt in $saved_CFLAGS ; do ++# case $opt in ++# -O*|-g*) ;; ++# *) CFLAGS="$CFLAGS $opt" ;; ++# esac ++# done ++# AC_MSG_CHECKING([user provided debugging flags]) + AC_MSG_RESULT($OPTS) +- else +- saved_CFLAGS="$CFLAGS" +- CFLAGS= +- for opt in $saved_CFLAGS ; do +- case $opt in +- -O*) ;; +- -g*) OPTS="$OPTS $opt" ;; +- *) CFLAGS="$CFLAGS $opt" ;; +- esac +- done ++# else ++# saved_CFLAGS="$CFLAGS" ++# CFLAGS= ++# for opt in $saved_CFLAGS ; do ++# case $opt in ++# -O*) ;; ++# -g*) OPTS="$OPTS $opt" ;; ++# *) CFLAGS="$CFLAGS $opt" ;; ++# esac ++# done + if test x$ac_debug = xno ; then + OPTS=-DNO_DEBUG +- AC_CHECK_CC_OPT([-Wall],[OPTS="$OPTS -Wall"]) +- AC_CHECK_CC_OPT([-O3],[OPTS="$OPTS -O3"], +- [ AC_CHECK_CC_OPT([-O2], [OPTS="$OPTS -O2"] ) ] ) +- if test -z "$ac_cpu" ; then +- AC_MSG_WARN([guessing cpu type (use --with-cpu=cpuname to override.)]) +- fi +- opt="-march=${ac_cpu-${host_cpu}}" +- AC_CHECK_CC_OPT([$opt], [OPTS="$OPTS $opt"], +- [ opt="-mcpu=${ac_cpu-${host_cpu}}" +- AC_CHECK_CC_OPT([$opt], [OPTS="$OPTS $opt"]) ] ) +- if test -z "$ac_cpu" -a "$host_cpu" = "i686" ; then +- AC_CHECK_CC_OPT([-mmmx],[OPTS="$OPTS -mmmx" +- AC_MSG_WARN([use --with-cpu=cpuname to avoid assuming that MMX works.])]) +- if test -r /proc/cpuinfo && grep -q sse /proc/cpuinfo ; then +- AC_CHECK_CC_OPT([-msse],[OPTS="$OPTS -msse" +- AC_MSG_WARN([use --with-cpu=cpuname to avoid assuming that SSE works.])]) +- fi +- fi ++# AC_CHECK_CC_OPT([-Wall],[OPTS="$OPTS -Wall"]) ++# AC_CHECK_CC_OPT([-O3],[OPTS="$OPTS -O3"], ++# [ AC_CHECK_CC_OPT([-O2], [OPTS="$OPTS -O2"] ) ] ) ++# if test -z "$ac_cpu" ; then ++# AC_MSG_WARN([guessing cpu type (use --with-cpu=cpuname to override.)]) ++# fi ++# opt="-march=${ac_cpu-${host_cpu}}" ++# AC_CHECK_CC_OPT([$opt], [OPTS="$OPTS $opt"], ++# [ opt="-mcpu=${ac_cpu-${host_cpu}}" ++# AC_CHECK_CC_OPT([$opt], [OPTS="$OPTS $opt"]) ] ) ++# if test -z "$ac_cpu" -a "$host_cpu" = "i686" ; then ++# AC_CHECK_CC_OPT([-mmmx],[OPTS="$OPTS -mmmx" ++# AC_MSG_WARN([use --with-cpu=cpuname to avoid assuming that MMX works.])]) ++# if test -r /proc/cpuinfo && grep -q sse /proc/cpuinfo ; then ++# AC_CHECK_CC_OPT([-msse],[OPTS="$OPTS -msse" ++# AC_MSG_WARN([use --with-cpu=cpuname to avoid assuming that SSE works.])]) ++# fi ++# fi + fi +- fi ++# fi + ]) + + diff --git a/dev-lisp/lush/files/lush-1.2.1-ctype.patch b/dev-lisp/lush/files/lush-1.2.1-ctype.patch new file mode 100644 index 0000000..923f120 --- /dev/null +++ b/dev-lisp/lush/files/lush-1.2.1-ctype.patch @@ -0,0 +1,27 @@ +--- include/define.h ++++ include/define.h +@@ -180,8 +180,12 @@ + # ifdef tolower + # undef tolower + # endif +-# define NEED_TOUPPER +-# define NEED_TOLOWER ++# ifndef HAVE_TOUPPER ++# define NEED_TOUPPER ++# endif ++# ifndef HAVE_TOLOWER ++# define NEED_TOLOWER ++# endif + #endif + + #ifdef HAVE_WCHAR_H +--- configure.ac ++++ configure.ac +@@ -296,6 +296,7 @@ + AC_CHECK_FUNCS(setenv putenv fseeko ftello) + AC_FUNC_MBRTOWC + AC_CHECK_FUNCS(setlocale nl_langinfo iconv) ++AC_CHECK_FUNCS(tolower toupper) + + + diff --git a/dev-lisp/lush/lush-1.2.1.ebuild b/dev-lisp/lush/lush-1.2.1.ebuild new file mode 100644 index 0000000..64caa93 --- /dev/null +++ b/dev-lisp/lush/lush-1.2.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/lush/lush-1.2.1.ebuild,v 1.1 2007/09/18 17:28:55 hkbst Exp $ + +EAPI="prefix" + +inherit eutils autotools + +DESCRIPTION="Lush is the Lisp User Shell" +HOMEPAGE="http://lush.sourceforge.net/" +SRC_URI="mirror://sourceforge/lush/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64-linux ~x86-linux ~x86-macos" +IUSE="X" + +DEPEND="X? ( x11-libs/libX11 x11-libs/libICE x11-libs/libSM )" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A}; cd "${S}" + epatch "${FILESDIR}"/${P}-ctype.patch +# cp aclocal.m4 aclocal.m4.old +# sed "/dnl @synopsis AC_CC_OPTIMIZE/,/^])/d" -i aclocal.m4 +# sed "/.*AC_CHECK_CC_OPT.*OPTS.*/d" -i aclocal.m4 +# sed "/AC_CC_OPTIMIZE/d" -i configure.ac + epatch ${FILESDIR}/aclocal.m4.patch +# diff -u aclocal.m4.old aclocal.m4 + eautoreconf +} + +src_compile() { + econf $(use_with X X) + emake || die "emake failed" +} + +src_install() { + emake -j1 DESTDIR=${D} install || die "emake install failed" +} diff --git a/dev-lisp/lush/metadata.xml b/dev-lisp/lush/metadata.xml new file mode 100644 index 0000000..b82cb33 --- /dev/null +++ b/dev-lisp/lush/metadata.xml @@ -0,0 +1,14 @@ + + + +common-lisp + +Lush is designed to be used in situations where one would want to +combine the flexibility of a high-level, loosely-typed interpreted +language, with the efficiency of a strongly-typed, natively-compiled +language, and with the easy integration of code written in C, C++, or +other languages. + +Lush is not an implementation of Common Lisp. + + -- 2.11.4.GIT