Portage is a package management system used by Gentoo Linux
# ChangeLog for media-sound/cm
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/cm/ChangeLog,v 1.24 2007/10/07 15:38:33 hkbst Exp $
07 Oct 2007; Marijn Schouten
-cm-2.4.2.ebuild, +cm-2.10.0-r1.ebuild:
remove old 2.4.2 stuff
*cm-2.10.0-r1 (07 Oct 2007)
07 Oct 2007; Marijn Schouten
+cm-2.10.0-r1.ebuild:
fix emacs support, bug 194985, thanks to ulm and add quoting where necessary
18 Apr 2007; Gustavo Zacarias
Stable on sparc wrt #75754
07 Apr 2007; Christian Faulhammer
added slime dependency atom to versions greater than 2.0
07 Apr 2007; Joseph Jezak
Marked ppc stable for bug #75754.
07 Apr 2007; Christian Faulhammer
stable amd64, bug 75754
07 Apr 2007; Christian Faulhammer
stable x86, bug 75754
07 Apr 2007; Marijn Schouten
fix sbcl dep
06 Apr 2007; Marijn Schouten
make tests work
14 Feb 2007; Marijn Schouten
remove second compile completely
14 Feb 2007; Marijn Schouten
change identifiers with ? to use "is_"
14 Feb 2007; Marijn Schouten
put comment in sitefile
13 Feb 2007; Marijn Schouten
cm-2.10.0.ebuild:
fix emacs support
*cm-2.10.0 (12 Feb 2007)
12 Feb 2007; Marijn Schouten
+cm-2.10.0.ebuild:
update metadata (take over maintainership; add long desc); add recent
version cm-2.10.0
10 Jan 2007; Piotr JaroszyĆski
Dependency update: dev-util/guile -> dev-scheme/guile.
25 Jul 2005; David Holm
Added to ~ppc.
20 Oct 2004; Jeremy Huddleston
Removing old version. Ebuild cleanup.
14 Sep 2004; Jeremy Huddleston
Stable amd64, sparc.
05 Jul 2004; Jeremy Huddleston
Added ~amd64 ~sparc.
20 Apr 2004; Jeremy Huddleston
cm-2.4.2.ebuild:
Added IUSE.
22 Mar 2004; Jeremy Huddleston
cm-2.4.2.ebuild:
Using keepdir to fix bug #45361.
19 Mar 2004; Jeremy Huddleston
cm-2.4.2.ebuild:
Fixing dep and moving to stable x86.
*cm-2.4.2 (29 Feb 2004)
29 Feb 2004; Jeremy Huddleston
Version bump. Closes bug #39677.
*cm-2.4.0 (18 May 2003)
18 May 2003; jje
Initial revision. Very much masked, feedback needed.
Submitted by: Burton Samograd
AUX 50cm-gentoo.el 149 RMD160 b8608abc8f81d600377dc19e9051eb0b68e31c1a SHA1 321c03c31417467ef0d77021838f8ceebe79b789 SHA256 bd1e777d363b6cbf54339605181f42f7d84598f3f6b069a25647e05a2f80e220
AUX 71cm-gentoo.el 108 RMD160 746351e33fddf06cbfcbfaea0e3578aee4fb3dbf SHA1 fbc68009114f8e5125c79d7fac833bb86c976294 SHA256 f502bb5fe21aedea040e93d5f624b8dd581d236dafa19f9d2223c7c657f3c6e2
AUX cm-2.4.0-exec 160 RMD160 211a00bc0fc39b97bceeff17993d11a8363a4386 SHA1 973ac85928b60673f96973bc35b63b23804bcfcb SHA256 ec626a312cb37bf29f7ccc84f8d318382749733839d28948c4a57c6d0e525bdf
DIST cm-2.10.0.tar.gz 820936 RMD160 5c92ad48576c9fa556499908bcafe5f652465d1f SHA1 27d026f504da47d3e00192a68274bb479b9e27db SHA256 e642afd790c936998e48258c0c1a8cd854a5cdabd2ac635e6936dca1cfff741a
EBUILD cm-2.10.0-r1.ebuild 2782 RMD160 cb865fda375c5b7a9ab43a8ff631acabecb60d75 SHA1 1feaefe7869a8179a58ac7389b723142891ddfe8 SHA256 6028e3bfc801a3f9cc92cb31f4b0c296d453be94d13e19d1757e01a4ddbaa48e
EBUILD cm-2.10.0.ebuild 2641 RMD160 6161da26852a9e1bba93aeaa12d8ab115a6fdaec SHA1 872ad6bf5e2d651b08d027a6bf250b2c278910b9 SHA256 b652793016f987d275e34b04c72371bd94b06348c3d64ee6f6fa11d3332e8d1b
MISC ChangeLog 3110 RMD160 6d8376e83ac1c206ef8c111fd4b261ae3124161e SHA1 cc0d020ce21ad3f14fe23f9f35ee8a675c285931 SHA256 ffb173cffdde422553f4f3adb3dee9e7fd0c70a89af59f9d835bb930f2096a66
MISC metadata.xml 669 RMD160 12972f8765a7931405d2b22c991d7eed58a96bbe SHA1 162128d4edc1e71067fea37aa97a785c4e21af34 SHA256 605b20bb2e49617d12d1c5a7128ba4cea5727aed2c63706cd1f426aa5e7fe3b1
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/cm/cm-2.10.0-r1.ebuild,v 1.1 2007/10/07 15:38:33 hkbst Exp $
inherit elisp-common
DESCRIPTION="Common Music: An object oriented music composition environment in LISP/scheme"
HOMEPAGE="http://commonmusic.sourceforge.net"
SRC_URI="mirror://sourceforge/commonmusic/${P}.tar.gz"
LICENSE="LLGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
COMPILERS="dev-lisp/openmcl
>=dev-lisp/sbcl-1.0.1
dev-lisp/cmucl
dev-lisp/clisp"
INTERPRETERS="dev-lisp/ecls
dev-scheme/guile
dev-scheme/gauche"
DEPEND="|| ( ${COMPILERS} ${INTERPRETERS} )
emacs? ( virtual/emacs >=app-emacs/slime-2.0 )
test? ( app-shells/tcsh )"
RDEPEND="${DEPEND}"
IUSE="doc emacs test"
S="${WORKDIR}/${PN}"
SITEFILE=50${PN}-gentoo.el
# for easy testing of any implementation
#FORCEIMPL="guile"
#FORCEIMPL="sbcl"
CM="${S}/bin/cm.sh -R . -l \"\${FORCEIMPL}\""
#echo "${CM}"
implementation() {
if [[ ! -z "${FORCEIMPL}" ]]; then
echo "${FORCEIMPL}"
return
fi
local impl=$(bin/cm.sh -nv | grep Executable)
impl=${impl##*bin/}
echo ${impl}
}
is_lisp() {
local impl="$(implementation)"
# echo ${impl}
if [[ ${impl} == "guile" || ${impl} == "gauche" ]]; then
return $(false)
fi
return $(true)
}
is_compiler() {
local impl="$(implementation)"
# echo ${impl}
if [[ -z $(echo ${COMPILERS} | grep -i ${impl}) ]]; then
return $(false)
fi
return $(true)
}
src_compile() {
if use emacs; then
elisp-compile etc/xemacs/*.el || die "Compiling emacs code failed"
fi
einfo "Detected $(is_compiler && echo "compiler" || echo "interpreter"): $(implementation)"
if is_compiler; then
einfo "Byte-compiling code"
echo '(quit)' | eval ${CM}
fi
}
src_test() {
# echo "(if '()\
# (begin (display \"scheme\") (load \"etc/test.cm\") (test-cm))\
# (progn (format t \"commonlisp\") (load \"etc/test.cm\") (test-cm)))"\
# | eval ${CM}
echo '(load "etc/test.cm")(test-cm)' | eval ${CM}
}
src_install() {
insinto /usr/share/${PN}/
for dir in "bin etc src"; do
doins -r ${dir}
done;
doins cm.asd
chmod +x "${D}"/usr/share/${PN}/bin/cm.sh
dosym /usr/share/${PN}/bin/cm.sh /usr/bin/${PN}
mv doc/changelog.text .
dodoc readme.text changelog.text
use doc && dohtml -r doc/*
if use emacs; then
elisp-install ${PN} etc/xemacs/*.{el,elc} || die "Installing emacs files failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "Installing sitefile failed"
fi
}
pkg_postinst() {
# make compiled lisp code newer than source files to prevent recompilation
sleep 1 && find "${ROOT}"/usr/share/${PN}/bin/ -iname *fasl -exec touch '{}' \;
use emacs && elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
}
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/cm/cm-2.10.0.ebuild,v 1.13 2007/04/18 17:44:34 gustavoz Exp $
inherit elisp-common
DESCRIPTION="Common Music: An object oriented music composition environment in LISP/scheme"
HOMEPAGE="http://commonmusic.sourceforge.net"
SRC_URI="mirror://sourceforge/commonmusic/${P}.tar.gz"
LICENSE="LLGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
COMPILERS="dev-lisp/openmcl
>=dev-lisp/sbcl-1.0.1
dev-lisp/cmucl
dev-lisp/clisp"
INTERPRETERS="dev-lisp/ecls
dev-scheme/guile
dev-scheme/gauche"
DEPEND="|| ( ${COMPILERS} ${INTERPRETERS} )
emacs? ( virtual/emacs >=app-emacs/slime-2.0 )
test? ( app-shells/tcsh )"
RDEPEND="${DEPEND}"
IUSE="doc emacs test"
S="${WORKDIR}/${PN}"
SITEFILE="71cm-gentoo.el"
# for easy testing of any implementation
#FORCEIMPL="guile"
#FORCEIMPL="sbcl"
CM="${S}/bin/cm.sh -R . -l \"\${FORCEIMPL}\""
#echo "${CM}"
implementation() {
if [[ ! -z "${FORCEIMPL}" ]]; then
echo "${FORCEIMPL}"
return
fi
local impl=$(bin/cm.sh -nv | grep Executable)
impl=${impl##*bin/}
echo ${impl}
}
is_lisp() {
local impl="$(implementation)"
# echo ${impl}
if [[ ${impl} == "guile" || ${impl} == "gauche" ]]; then
return $(false)
fi
return $(true)
}
is_compiler() {
local impl="$(implementation)"
# echo ${impl}
if [[ -z $(echo ${COMPILERS} | grep -i ${impl}) ]]; then
return $(false)
fi
return $(true)
}
src_compile() {
use emacs && elisp-comp etc/xemacs/*.el
einfo "Detected $(is_compiler && echo "compiler" || echo "interpreter"): $(implementation)"
if is_compiler; then
einfo "Byte-compiling code"
echo '(quit)' | eval ${CM}
fi
}
src_test() {
# echo "(if '()\
# (begin (display \"scheme\") (load \"etc/test.cm\") (test-cm))\
# (progn (format t \"commonlisp\") (load \"etc/test.cm\") (test-cm)))"\
# | eval ${CM}
echo '(load "etc/test.cm")(test-cm)' | eval ${CM}
}
src_install() {
insinto /usr/share/${PN}/
for dir in "bin etc src"; do
doins -r ${dir}
done;
doins cm.asd
chmod +x ${D}/usr/share/${PN}/bin/cm.sh
dosym /usr/share/${PN}/bin/cm.sh /usr/bin/${PN}
mv doc/changelog.text .
dodoc readme.text changelog.text
use doc && dohtml -r doc/*
if use emacs; then
elisp-install ${PN} etc/xemacs/*.el
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
fi
}
pkg_postinst() {
# make compiled lisp code newer than source files to prevent recompilation
sleep 1 && find ${ROOT}/usr/share/${PN}/bin/ -iname *fasl -exec touch '{}' \;
use emacs && elisp-site-regen
}
pkg_postrm() {
use emacs && elisp-site-regen
}
Common Music (CM) is an object-oriented music composition environment. It produces sound by transforming a high-level representation of musical structure into a variety of control protocols for sound synthesis and display. Common Music defines an extensive library of compositional tools and an API through which the composer can easily modify and extend the system.