diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-lang/mozart | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-lang/mozart')
-rw-r--r-- | dev-lang/mozart/Manifest | 3 | ||||
-rw-r--r-- | dev-lang/mozart/files/50mozart-gentoo.el | 11 | ||||
-rw-r--r-- | dev-lang/mozart/metadata.xml | 8 | ||||
-rw-r--r-- | dev-lang/mozart/mozart-1.4.0-r2.ebuild | 131 | ||||
-rw-r--r-- | dev-lang/mozart/mozart-1.4.0-r3.ebuild | 125 |
5 files changed, 278 insertions, 0 deletions
diff --git a/dev-lang/mozart/Manifest b/dev-lang/mozart/Manifest new file mode 100644 index 000000000000..1807ace297eb --- /dev/null +++ b/dev-lang/mozart/Manifest @@ -0,0 +1,3 @@ +DIST mozart-1.4.0-gentoo-patchset-5.tar.gz 24700 SHA256 7ab555ea5345d6a2d5b89b4112fde11ef5be9e9bc9c05b1d84bb54d1f115993b SHA512 99db9bf62682fd306c4b665d99ab3b48a787c26230d5e8db2e3564684eff2e41ac0c6bb6a612afa0446555dcb1e419ae7ef1dbfec4c918d769d51dafeeee8462 WHIRLPOOL ef7c2974bc8ec03823c1432f56be6349991774a221bd1f278adf733e08b6d5cfe763d23d984f502070ab2afce7d7c805a15d073c0c1e302647d9d63cde126b43 +DIST mozart-1.4.0.20080704-doc.tar.gz 4085020 SHA256 68c52cb7379504a5142af37459c89884355fb9cc020f585d7778e7d4b1f0cd9e SHA512 25f8f4b603ae7f4ef054a79a2baa4e10074f8a95f762b75fd88480526fb073b5b4874c269d116a960017a9e7ef989dd9f41853b0ff76e08b2cad2de2090c2eb4 WHIRLPOOL 1f05b48d9ad41006576a66fa5062116bb60bc02438a119ddfe334ff0da02fe8505dee8254db20ca2d02e713e02f8327188ded4b957ee7fec5b965375fe39d5c0 +DIST mozart-1.4.0.20080704-src.tar.gz 11848201 SHA256 5da73d80b5aa7fa42edca64159a1a076323f090e5c548f3747f94d0afc60b223 SHA512 f1114662c8c603cc2ac530d4ea1d22a0581f6e1b4d5cb57ccf899b8051ea48dbcf2fa2b62173359a754367a5456a7cb121a208d6a246248207599b0470525229 WHIRLPOOL e96ff3688025cffb0c78f050f02421872f2119498943b5ebf5786e0886a13f264e0f637c6a41869b6e79ee10c6ed03c8dc55fe1775c5cf66d60fc9f5d09db742 diff --git a/dev-lang/mozart/files/50mozart-gentoo.el b/dev-lang/mozart/files/50mozart-gentoo.el new file mode 100644 index 000000000000..64f65c54a682 --- /dev/null +++ b/dev-lang/mozart/files/50mozart-gentoo.el @@ -0,0 +1,11 @@ + +;;; mozart site-lisp configuration + +(add-to-list 'load-path "@SITELISP@") +(autoload 'oz-mode "oz" "Major mode for editing Oz code." t) +(autoload 'oz-gump-mode "oz" + "Major mode for editing Oz code with embedded Gump specifications." t) +(autoload 'ozm-mode "mozart" "Major mode for displaying Oz machine code." t) +(add-to-list 'auto-mode-alist '("\\.oz$" . oz-mode)) +(add-to-list 'auto-mode-alist '("\\.ozg$" . oz-gump-mode)) +(add-to-list 'auto-mode-alist '("\\.ozm$" . ozm-mode)) diff --git a/dev-lang/mozart/metadata.xml b/dev-lang/mozart/metadata.xml new file mode 100644 index 000000000000..b60aa8b6a4a7 --- /dev/null +++ b/dev-lang/mozart/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>keri@gentoo.org</email> + <name>Keri Harris</name> +</maintainer> +</pkgmetadata> diff --git a/dev-lang/mozart/mozart-1.4.0-r2.ebuild b/dev-lang/mozart/mozart-1.4.0-r2.ebuild new file mode 100644 index 000000000000..c6c842860e09 --- /dev/null +++ b/dev-lang/mozart/mozart-1.4.0-r2.ebuild @@ -0,0 +1,131 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit elisp-common eutils + +PATCHSET_VER="5" +MY_P="mozart-${PV}.20080704" + +DESCRIPTION="Advanced development platform for intelligent, distributed applications" +HOMEPAGE="http://www.mozart-oz.org/" +SRC_URI=" + http://www.mozart-oz.org/download/mozart-ftp/store/1.4.0-2008-07-02-tar/mozart-1.4.0.20080704-src.tar.gz + mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz + doc? ( http://www.mozart-oz.org/download/mozart-ftp/store/1.4.0-2008-07-02-tar/mozart-1.4.0.20080704-doc.tar.gz )" + +SLOT="0" +LICENSE="Mozart" +KEYWORDS="-amd64 ppc -ppc64 x86" +IUSE="doc emacs examples gdbm static tcl threads tk" + +RDEPEND=" + dev-lang/perl + dev-libs/gmp + sys-libs/zlib + emacs? ( virtual/emacs ) + gdbm? ( sys-libs/gdbm ) + tcl? ( + tk? ( + dev-lang/tk:0 + dev-lang/tcl:0 + ) + )" +DEPEND="${RDEPEND} + sys-devel/bison + sys-devel/flex" + +SITEFILE=50${PN}-gentoo.el + +S="${WORKDIR}"/${MY_P} + +src_prepare() { + EPATCH_FORCE=yes + EPATCH_SUFFIX=patch + epatch "${WORKDIR}"/${PV} +} + +src_configure() { + local myconf="\ + --without-global-oz \ + --enable-opt=none" + + if use tcl && use tk ; then + myconf="${myconf} --enable-wish" + else + myconf="${myconf} --disable-wish" + fi + + econf \ + ${myconf} \ + --disable-doc \ + --enable-contrib \ + --disable-contrib-micq \ + $(use_enable doc contrib-doc) \ + $(use_enable gdbm contrib-gdbm) \ + $(use_enable tk contrib-tk) \ + $(use_enable emacs compile-elisp) \ + $(use_enable static link-static) \ + $(use_enable threads threaded) +} + +src_compile() { + emake bootstrap || die "emake bootstrap failed" +} + +src_test() { + # Mozart tests must be run single-threaded + cd "${S}"/share/test + emake -j1 boot-oztest || die "emake boot-oztest failed" + emake -j1 boot-check || die "emake boot-check failed" +} + +src_install() { + emake \ + PREFIX="${D}"/usr/lib/mozart \ + ELISPDIR="${D}${SITELISP}/${PN}" \ + install || die "emake install failed" + + dosym /usr/lib/mozart/bin/convertTextPickle /usr/bin/convertTextPickle || die + dosym /usr/lib/mozart/bin/oldpickle2text /usr/bin/oldpickle2text || die + dosym /usr/lib/mozart/bin/ozc /usr/bin/ozc || die + dosym /usr/lib/mozart/bin/ozd /usr/bin/ozd || die + dosym /usr/lib/mozart/bin/ozengine /usr/bin/ozengine || die + dosym /usr/lib/mozart/bin/ozl /usr/bin/ozl || die + dosym /usr/lib/mozart/bin/ozplatform /usr/bin/ozplatform || die + dosym /usr/lib/mozart/bin/oztool /usr/bin/oztool || die + dosym /usr/lib/mozart/bin/pickle2text /usr/bin/pickle2text || die + dosym /usr/lib/mozart/bin/text2pickle /usr/bin/text2pickle || die + + if use emacs; then + dosym /usr/lib/mozart/bin/oz /usr/bin/oz || die + elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ + || die "elisp-site-file-install failed" + fi + + if use doc ; then + dohtml -r "${WORKDIR}"/mozart/doc/* || die + fi + + if use examples; then + cd "${S}"/share + insinto /usr/share/doc/${PF}/examples + doins -r examples/* || die + doins -r demo/* || die + rm -rf $(find "${D}"/usr/share/doc/${PF}/examples \ + -name Makefile -o -name Makefile.in) + fi + + cd "${S}" + dodoc README || die +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-lang/mozart/mozart-1.4.0-r3.ebuild b/dev-lang/mozart/mozart-1.4.0-r3.ebuild new file mode 100644 index 000000000000..00a81c5e68b3 --- /dev/null +++ b/dev-lang/mozart/mozart-1.4.0-r3.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit elisp-common eutils + +PATCHSET_VER="5" +MY_P="mozart-${PV}.20080704" + +DESCRIPTION="Advanced development platform for intelligent, distributed applications" +HOMEPAGE="http://www.mozart-oz.org/" +SRC_URI=" + http://www.mozart-oz.org/download/mozart-ftp/store/1.4.0-2008-07-02-tar/mozart-1.4.0.20080704-src.tar.gz + mirror://gentoo/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz + doc? ( http://www.mozart-oz.org/download/mozart-ftp/store/1.4.0-2008-07-02-tar/mozart-1.4.0.20080704-doc.tar.gz )" + +SLOT="0" +LICENSE="Mozart" +KEYWORDS="-amd64 ppc -ppc64 ~x86" +IUSE="doc emacs examples gdbm static tcl threads tk" + +RDEPEND=" + dev-lang/perl + dev-libs/gmp + sys-libs/zlib + emacs? ( virtual/emacs ) + gdbm? ( sys-libs/gdbm ) + tcl? ( + tk? ( + dev-lang/tk:0= + dev-lang/tcl:0= + ) + )" +DEPEND="${RDEPEND} + sys-devel/bison + sys-devel/flex" + +SITEFILE=50${PN}-gentoo.el + +S="${WORKDIR}"/${MY_P} + +src_prepare() { + EPATCH_FORCE=yes + EPATCH_SUFFIX=patch + epatch "${WORKDIR}"/${PV} +} + +src_configure() { + local myconf="\ + --without-global-oz \ + --enable-opt=none" + + if use tcl && use tk ; then + myconf="${myconf} --enable-wish" + else + myconf="${myconf} --disable-wish" + fi + + econf \ + ${myconf} \ + --disable-doc \ + --enable-contrib \ + --disable-contrib-micq \ + $(use_enable doc contrib-doc) \ + $(use_enable gdbm contrib-gdbm) \ + $(use_enable tk contrib-tk) \ + $(use_enable emacs compile-elisp) \ + $(use_enable static link-static) \ + $(use_enable threads threaded) +} + +src_compile() { + emake bootstrap +} + +src_test() { + # Mozart tests must be run single-threaded + cd "${S}"/share/test || die + emake -j1 boot-oztest + emake -j1 boot-check +} + +src_install() { + emake \ + PREFIX="${D}"/usr/lib/mozart \ + ELISPDIR="${D}${SITELISP}/${PN}" \ + install + + dosym /usr/lib/mozart/bin/convertTextPickle /usr/bin/convertTextPickle + dosym /usr/lib/mozart/bin/oldpickle2text /usr/bin/oldpickle2text + dosym /usr/lib/mozart/bin/ozc /usr/bin/ozc + dosym /usr/lib/mozart/bin/ozd /usr/bin/ozd + dosym /usr/lib/mozart/bin/ozengine /usr/bin/ozengine + dosym /usr/lib/mozart/bin/ozl /usr/bin/ozl + dosym /usr/lib/mozart/bin/ozplatform /usr/bin/ozplatform + dosym /usr/lib/mozart/bin/oztool /usr/bin/oztool + dosym /usr/lib/mozart/bin/pickle2text /usr/bin/pickle2text + dosym /usr/lib/mozart/bin/text2pickle /usr/bin/text2pickle + + if use emacs; then + dosym /usr/lib/mozart/bin/oz /usr/bin/oz + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi + + dodoc "${S}"/README + use doc && dohtml -r "${WORKDIR}"/mozart/doc/* + + if use examples; then + cd "${S}"/share || die + insinto /usr/share/doc/${PF} + doins -r examples demo + rm -rf $(find "${ED}"/usr/share/doc/${PF}/examples \ + -name Makefile -o -name Makefile.in) || die + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |