update metadata (take over maintainership; add long desc); add recent version cm...
authorMarijn Schouten <hkbst@gentoo.org>
Mon, 12 Feb 2007 18:54:10 +0000 (18:54 +0000)
committerMarijn Schouten <hkbst@gentoo.org>
Mon, 12 Feb 2007 18:54:10 +0000 (18:54 +0000)
Package-Manager: portage-2.1.2-r9

media-sound/cm/ChangeLog
media-sound/cm/Manifest
media-sound/cm/cm-2.10.0.ebuild [new file with mode: 0644]
media-sound/cm/files/digest-cm-2.10.0 [new file with mode: 0644]
media-sound/cm/files/digest-cm-2.4.2
media-sound/cm/metadata.xml

index ca04fe83c08e231c8dbd1d165bfdef40abdfc129..d768422bf016cd82588cc3b3f3849b8023747f05 100644 (file)
@@ -1,6 +1,13 @@
 # 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.11 2007/01/10 19:47:14 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cm/ChangeLog,v 1.12 2007/02/12 18:54:10 hkbst Exp $
+
+*cm-2.10.0 (12 Feb 2007)
+
+  12 Feb 2007; Marijn Schouten <hkBst@gentoo.org> metadata.xml,
+  +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 <peper@gentoo.org> cm-2.4.2.ebuild:
   Dependency update: dev-util/guile -> dev-scheme/guile.
index 2a0811529f071e6788f91a6ebed38649a29f391a..a5bac2853830a65b6bc714563d9f0b4d15f93a09 100644 (file)
@@ -1,30 +1,28 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 AUX cm-2.4.0-exec 160 RMD160 211a00bc0fc39b97bceeff17993d11a8363a4386 SHA1 973ac85928b60673f96973bc35b63b23804bcfcb SHA256 ec626a312cb37bf29f7ccc84f8d318382749733839d28948c4a57c6d0e525bdf
 MD5 39b2e2aa6a9ea57538cfaf1b1967f197 files/cm-2.4.0-exec 160
 RMD160 211a00bc0fc39b97bceeff17993d11a8363a4386 files/cm-2.4.0-exec 160
 SHA256 ec626a312cb37bf29f7ccc84f8d318382749733839d28948c4a57c6d0e525bdf files/cm-2.4.0-exec 160
-DIST cm-2.4.2.tar.gz 463552
+DIST cm-2.10.0.tar.gz 820936 RMD160 5c92ad48576c9fa556499908bcafe5f652465d1f SHA1 27d026f504da47d3e00192a68274bb479b9e27db SHA256 e642afd790c936998e48258c0c1a8cd854a5cdabd2ac635e6936dca1cfff741a
+DIST cm-2.4.2.tar.gz 463552 RMD160 d3812c97b5d0a211b903867a04c37281f5e86929 SHA1 f1b3c51d607c83804762f01a284be69d504ed0c0 SHA256 b0c0229b6c7d011eb62bdc6a201ab80518abe0b7fcb8a1901d4f85771ea2d094
+EBUILD cm-2.10.0.ebuild 2624 RMD160 ff09245db232f8d6d4a3aab70d7b9cdaef688d0d SHA1 152233f91e94267568fcb39fe93e23225c18be43 SHA256 2131623243cab72b44ae0480f7a1a791e07a49a7b3ef139c782846eccba7a2d4
+MD5 1d91420789e57ff015edc6f4eee55764 cm-2.10.0.ebuild 2624
+RMD160 ff09245db232f8d6d4a3aab70d7b9cdaef688d0d cm-2.10.0.ebuild 2624
+SHA256 2131623243cab72b44ae0480f7a1a791e07a49a7b3ef139c782846eccba7a2d4 cm-2.10.0.ebuild 2624
 EBUILD cm-2.4.2.ebuild 969 RMD160 5edc45d759e9d96e3169e5b0b042751ee53a512d SHA1 fae9c063dd746e4f6eaed18ee2ea67fc6e6382d4 SHA256 82aba57bcea91eabb76f7d41fd43731686101b079006c1b5a823cd58e357024d
 MD5 8fee618b6ad18d603396fa99131f450f cm-2.4.2.ebuild 969
 RMD160 5edc45d759e9d96e3169e5b0b042751ee53a512d cm-2.4.2.ebuild 969
 SHA256 82aba57bcea91eabb76f7d41fd43731686101b079006c1b5a823cd58e357024d cm-2.4.2.ebuild 969
-MISC ChangeLog 1424 RMD160 8a679d48eee9996d8e54f04a0e60341417aaa662 SHA1 b82c56821ca196c149b7a09480c959b6e0bb3c09 SHA256 23447829748a5d6b29ee464352cb98d02d5de48bdaaa81f0d12db47b6fd981fc
-MD5 76973f2e56e381d471642e185dff8681 ChangeLog 1424
-RMD160 8a679d48eee9996d8e54f04a0e60341417aaa662 ChangeLog 1424
-SHA256 23447829748a5d6b29ee464352cb98d02d5de48bdaaa81f0d12db47b6fd981fc ChangeLog 1424
-MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
-MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
-RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158
-SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b metadata.xml 158
-MD5 96488265785c0bf4e9e394238f5b8e23 files/digest-cm-2.4.2 60
-RMD160 fde8be52100373d5d7ff15001604401cc7944505 files/digest-cm-2.4.2 60
-SHA256 d25f4b6114369408ae93cf8861e88032d1bcf8c3aea7e165107f659eec1b1ec3 files/digest-cm-2.4.2 60
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.1 (GNU/Linux)
-
-iD8DBQFFpULJppoStNGKGywRAo2vAKDVnUJV53QCACfQ825ZhzXLAfU8QQCfT6Ss
-XDBDusi9XzcCBpQ0YoRrMLw=
-=kpDq
------END PGP SIGNATURE-----
+MISC ChangeLog 1628 RMD160 6e239491e08298fe0f4ee1adce1d96f43ab3aa9d SHA1 694a1a12f94abf09db2fca9b938cff9e04dda804 SHA256 4c0b7cab17e462e897b8564653ba6b59d6fb74c9e94bad0b0f86ad0f9b02830f
+MD5 e6d63dd799eb0d38cda4c7f99ac7d908 ChangeLog 1628
+RMD160 6e239491e08298fe0f4ee1adce1d96f43ab3aa9d ChangeLog 1628
+SHA256 4c0b7cab17e462e897b8564653ba6b59d6fb74c9e94bad0b0f86ad0f9b02830f ChangeLog 1628
+MISC metadata.xml 669 RMD160 12972f8765a7931405d2b22c991d7eed58a96bbe SHA1 162128d4edc1e71067fea37aa97a785c4e21af34 SHA256 605b20bb2e49617d12d1c5a7128ba4cea5727aed2c63706cd1f426aa5e7fe3b1
+MD5 f456c6e5b31a1330d69ddf93c495bf5d metadata.xml 669
+RMD160 12972f8765a7931405d2b22c991d7eed58a96bbe metadata.xml 669
+SHA256 605b20bb2e49617d12d1c5a7128ba4cea5727aed2c63706cd1f426aa5e7fe3b1 metadata.xml 669
+MD5 62fd0cb5934220f97360a71fbc237354 files/digest-cm-2.10.0 229
+RMD160 99b7de8c70b62b38bfe7bf9977b12a82b9f3e9ea files/digest-cm-2.10.0 229
+SHA256 e5bf400cb844b7d63b5874c2df7af053fdd33240578fd115d80dd33c14092583 files/digest-cm-2.10.0 229
+MD5 33c2c17a13ccaf8e9911397616b2acc1 files/digest-cm-2.4.2 226
+RMD160 1308886b2b94e0487fd93e70ec4a69c507126066 files/digest-cm-2.4.2 226
+SHA256 0184796e9f7e62abf97203d2593834a85bed7db83e4a00cb9fd0f900fc583b9c files/digest-cm-2.4.2 226
diff --git a/media-sound/cm/cm-2.10.0.ebuild b/media-sound/cm/cm-2.10.0.ebuild
new file mode 100644 (file)
index 0000000..5c4262e
--- /dev/null
@@ -0,0 +1,119 @@
+# 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.1 2007/02/12 18:54:10 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
+       dev-lisp/cmucl
+       dev-lisp/clisp"
+
+INTERPRETERS="dev-lisp/ecls
+       dev-scheme/guile
+       dev-scheme/gauche"
+
+DEPEND="|| ( ${COMPILERS} ${INTERPRETERS} )
+       emacs? ( virtual/emacs )"
+RDEPEND="${DEPEND}"
+
+IUSE="doc emacs"
+
+S="${WORKDIR}/${PN}"
+
+# for easy testing of any implementation
+#FORCEIMPL="guile"
+FORCEIMPL=""
+
+CM="${S}/bin/cm.sh -R . -l \"\${FORCEIMPL}\""
+#echo "${CM}"
+
+implementation() {
+       if [[ ! -z "${FORCEIMPL}" ]]; then
+               echo "${FORCEIMPL}"
+               return
+       fi
+       local impl=$(${PN} -nv | grep Executable)
+       impl=${impl##*bin/}
+       echo ${impl}
+}
+
+lisp?() {
+       local impl="$(implementation)"
+#      echo ${impl}
+       if [[ ${impl} == "guile" || ${impl} == "gauche" ]]; then
+               return $(false)
+       fi
+       return $(true)
+}
+
+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 $(compiler? && echo "compiler" || echo "interpreter"): $(implementation)"
+
+       if compiler?; then
+               einfo "Byte-compiling code and generating Lisp code"
+               echo '(quit)' | eval ${CM}
+               echo -e "\n"
+               einfo "Byte-compiling generated 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 etc/xemacs/cm.el
+       fi
+}
+
+pkg_postinst() {
+       # make compiled lisp code newer than source files to prevent recompilation 
+       find ${ROOT}/usr/share/${PN}/bin/ -iname *fasl -exec touch '{}' \;
+       use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+       use emacs && elisp-site-regen
+}
+
diff --git a/media-sound/cm/files/digest-cm-2.10.0 b/media-sound/cm/files/digest-cm-2.10.0
new file mode 100644 (file)
index 0000000..10d58e6
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 9b674af1786b3f1be594548822c8a226 cm-2.10.0.tar.gz 820936
+RMD160 5c92ad48576c9fa556499908bcafe5f652465d1f cm-2.10.0.tar.gz 820936
+SHA256 e642afd790c936998e48258c0c1a8cd854a5cdabd2ac635e6936dca1cfff741a cm-2.10.0.tar.gz 820936
index c0a121d004d55d7ab6b62f13aeb3de44ba510e68..c445fd58783b171b1ab704ce03902b0b8dd3d1bc 100644 (file)
@@ -1 +1,3 @@
 MD5 2f33e9dac1aff473ae1af1ca38d4ec96 cm-2.4.2.tar.gz 463552
+RMD160 d3812c97b5d0a211b903867a04c37281f5e86929 cm-2.4.2.tar.gz 463552
+SHA256 b0c0229b6c7d011eb62bdc6a201ab80518abe0b7fcb8a1901d4f85771ea2d094 cm-2.4.2.tar.gz 463552
index e1774e3d9ad71fcd59b25ed8c584d61740a2d118..606175ba74c70e4264de9a135660bdb608abb160 100644 (file)
@@ -1,5 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>sound</herd>
-</pkgmetadata>
+       <herd>scheme</herd>
+       <maintainer>
+               <email>hkBst@gentoo.org</email>
+               <name>Marijn Schouten</name>
+       </maintainer>
+       <longdescription lang="en">
+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.
+       </longdescription>
+</pkgmetadata>
\ No newline at end of file