diff options
author | Marijn Schouten <hkbst@gentoo.org> | 2008-06-28 16:53:06 +0000 |
---|---|---|
committer | Marijn Schouten <hkbst@gentoo.org> | 2008-06-28 16:53:06 +0000 |
commit | ab788eee1c7dccd6306583b747bfc4391092e960 (patch) | |
tree | 85f9d322ce2c051d1d92095ee63533d277da3e39 /dev-scheme/drscheme | |
parent | Fix mdraid on no-multilib systems and tweak minor node discovery #229501 by I... (diff) | |
download | gentoo-2-ab788eee1c7dccd6306583b747bfc4391092e960.tar.gz gentoo-2-ab788eee1c7dccd6306583b747bfc4391092e960.tar.bz2 gentoo-2-ab788eee1c7dccd6306583b747bfc4391092e960.zip |
add new major version 4.0.1 and reversion latest ~
(Portage version: 2.2_rc1/cvs/Linux 2.6.23-gentoo-r8 x86_64)
Diffstat (limited to 'dev-scheme/drscheme')
-rw-r--r-- | dev-scheme/drscheme/ChangeLog | 9 | ||||
-rw-r--r-- | dev-scheme/drscheme/drscheme-0.372-r1.ebuild | 99 | ||||
-rw-r--r-- | dev-scheme/drscheme/drscheme-4.0.1.ebuild | 90 | ||||
-rw-r--r-- | dev-scheme/drscheme/reversion.patch | 12 |
4 files changed, 209 insertions, 1 deletions
diff --git a/dev-scheme/drscheme/ChangeLog b/dev-scheme/drscheme/ChangeLog index 8b28f8c9bb2e..b64922c90cdd 100644 --- a/dev-scheme/drscheme/ChangeLog +++ b/dev-scheme/drscheme/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-scheme/drscheme # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.59 2008/06/03 10:19:12 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.60 2008/06/28 16:53:06 hkbst Exp $ + +*drscheme-4.0.1 (28 Jun 2008) +*drscheme-0.372-r1 (28 Jun 2008) + + 28 Jun 2008; Marijn Schouten <hkBst@gentoo.org> +reversion.patch, + +drscheme-0.372-r1.ebuild, +drscheme-4.0.1.ebuild: + add new major version 4.0.1 and reversion latest ~ 03 Jun 2008; Tiziano Müller <dev-zero@gentoo.org> +files/drscheme-372-as_needed.patch, drscheme-372-r1.ebuild: diff --git a/dev-scheme/drscheme/drscheme-0.372-r1.ebuild b/dev-scheme/drscheme/drscheme-0.372-r1.ebuild new file mode 100644 index 000000000000..ec5c2ca95f63 --- /dev/null +++ b/dev-scheme/drscheme/drscheme-0.372-r1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/drscheme-0.372-r1.ebuild,v 1.1 2008/06/28 16:53:06 hkbst Exp $ + +inherit eutils latex-package + +#reversion for 4.0.x +MY_PV=${PV/0./} + +SRC_URI="http://download.plt-scheme.org/bundles/${MY_PV}/plt/plt-${MY_PV}-src-unix.tgz + http://pre.plt-scheme.org/installers/plt-${MY_PV}-src-unix.tgz" +#"mirror://gentoo/plt-${MY_PV%%_p*}-src-unix.tgz" + +DESCRIPTION="DrScheme programming environment. Includes mzscheme." +HOMEPAGE="http://www.plt-scheme.org/software/drscheme/" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="backtrace cairo cgc llvm opengl profile X" + +RDEPEND="X? ( x11-libs/libICE + x11-libs/libSM + x11-libs/libXaw + >=x11-libs/libXft-2.1.12 + x11-libs/libXrender + media-libs/freetype + media-libs/fontconfig + cairo? ( x11-libs/cairo ) + media-libs/jpeg + opengl? ( virtual/opengl ) + media-libs/libpng )" + +DEPEND="${RDEPEND} !dev-tex/slatex" + +S="${WORKDIR}/plt-${MY_PV%%_p*}" + +pkg_setup() { + if use cairo; then + if ! built_with_use cairo X; then + eerror "Cairo must be built with X use flag" + die "Cairo must be built with X use flag" + fi + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i \ + -e "s,docdir=\"\${datadir}/plt/doc,docdir=\"\${datadir}/doc/${PF}," \ + src/configure || die "sed failed" + + epatch "${FILESDIR}/${PN}-372-as_needed.patch" +} + +src_compile() { + cd src + +# according to vapier, we should use the bundled libtool +# such that we don't preclude cross-compile. Thus don't use +# --enable-lt=/usr/bin/libtool + econf $(use_enable X mred) \ + --enable-shared \ + --disable-perl \ + $(use_enable backtrace) \ + $(use_enable cairo) \ + $(use_enable llvm) \ + $(use_enable opengl gl) \ + $(use_enable profile gprof) \ + --enable-xft \ + --enable-xrender + + if use cgc; then + emake -j1 both || die "emake both failed" + else + emake -j1 || die "emake failed" + fi +} + +src_install() { + # deal with slatex + insinto /usr/share/texmf/tex/latex/slatex/ + doins collects/slatex/slatex.sty + + cd src + export MZSCHEME_DYNEXT_LINKER_FLAGS=$(raw-ldflags) + + if use cgc; then + emake DESTDIR="${D}" install-both || die "emake install-both failed" + else + emake DESTDIR="${D}" install || die "emake install failed" + fi + + if use X; then + newicon ../collects/icons/PLT-206.png drscheme.png + make_desktop_entry drscheme "DrScheme" drscheme "Development" + fi +} diff --git a/dev-scheme/drscheme/drscheme-4.0.1.ebuild b/dev-scheme/drscheme/drscheme-4.0.1.ebuild new file mode 100644 index 000000000000..8582c278cdfc --- /dev/null +++ b/dev-scheme/drscheme/drscheme-4.0.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/drscheme-4.0.1.ebuild,v 1.1 2008/06/28 16:53:06 hkbst Exp $ + +inherit eutils latex-package + +SRC_URI="http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz + http://pre.plt-scheme.org/installers/plt-${PV}-src-unix.tgz" +#"mirror://gentoo/plt-${PV%%_p*}-src-unix.tgz" + +DESCRIPTION="DrScheme programming environment. Includes mzscheme." +HOMEPAGE="http://www.plt-scheme.org/software/drscheme/" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="backtrace cairo llvm opengl profile X" + +RDEPEND="X? ( x11-libs/libICE + x11-libs/libSM + x11-libs/libXaw + >=x11-libs/libXft-2.1.12 + x11-libs/libXrender + media-libs/freetype + media-libs/fontconfig + cairo? ( x11-libs/cairo ) + media-libs/jpeg + opengl? ( virtual/opengl ) + media-libs/libpng )" + +DEPEND="${RDEPEND} !dev-tex/slatex" + +S="${WORKDIR}/plt-${PV%%_p*}" + +pkg_setup() { + if use cairo; then + if ! built_with_use cairo X; then + eerror "Cairo must be built with X use flag" + die "Cairo must be built with X use flag" + fi + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + sed "s,docdir=\"\${datadir}/plt/doc,docdir=\"\${datadir}/doc/${PF}," -i src/configure + + epatch "${FILESDIR}/${PN}-372-as_needed.patch" +} + +src_compile() { + cd src + +# according to vapier, we should use the bundled libtool +# such that we don't preclude cross-compile. Thus don't use +# --enable-lt=/usr/bin/libtool + econf $(use_enable X mred) \ + --enable-shared \ + --disable-perl \ + $(use_enable backtrace) \ + $(use_enable cairo) \ + $(use_enable llvm) \ + $(use_enable opengl gl) \ + $(use_enable profile gprof) \ + --enable-xft \ + --enable-xrender + + emake || die "emake failed" +} + +src_install() { + # deal with slatex + insinto /usr/share/texmf/tex/latex/slatex/ + doins collects/slatex/slatex.sty + + cd src + export MZSCHEME_DYNEXT_LINKER_FLAGS=$(raw-ldflags) + + if use cgc; then + emake DESTDIR="${D}" install-both || die "emake install-both failed" + else + emake DESTDIR="${D}" install || die "emake install failed" + fi + + if use X; then + newicon ../collects/icons/PLT-206.png drscheme.png + make_desktop_entry drscheme "DrScheme" drscheme "Development" + fi +} diff --git a/dev-scheme/drscheme/reversion.patch b/dev-scheme/drscheme/reversion.patch new file mode 100644 index 000000000000..c3b28288ea36 --- /dev/null +++ b/dev-scheme/drscheme/reversion.patch @@ -0,0 +1,12 @@ +--- drscheme-372-r1.ebuild 2008-06-03 12:45:14.000000000 +0200 ++++ drscheme-0.372-r1.ebuild 2008-06-28 16:25:28.000000000 +0200 +@@ -4,6 +4,9 @@ + + inherit eutils latex-package + ++#reversion for 4.0.x ++PV=${PV/0./} ++ + SRC_URI="http://download.plt-scheme.org/bundles/${PV}/plt/plt-${PV}-src-unix.tgz + http://pre.plt-scheme.org/installers/plt-${PV}-src-unix.tgz" + #"mirror://gentoo/plt-${PV%%_p*}-src-unix.tgz" |