summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarijn Schouten <hkbst@gentoo.org>2008-03-23 11:51:43 +0000
committerMarijn Schouten <hkbst@gentoo.org>2008-03-23 11:51:43 +0000
commit15c8dbad988e460f6224e0eabfe4373808777cbe (patch)
tree074477d645d980fcff9a4742c7fa1b20758d2eda
parentAdded note to run revdep-rebuild due to abi break. (diff)
downloadhistorical-15c8dbad988e460f6224e0eabfe4373808777cbe.tar.gz
historical-15c8dbad988e460f6224e0eabfe4373808777cbe.tar.bz2
historical-15c8dbad988e460f6224e0eabfe4373808777cbe.zip
add slatex support thanks to Massimo Zanetti <zanetti.massimo@gmail.com>, bug 188118
Package-Manager: portage-2.1.4.4
-rw-r--r--dev-scheme/drscheme/ChangeLog8
-rw-r--r--dev-scheme/drscheme/Manifest3
-rw-r--r--dev-scheme/drscheme/drscheme-372-r1.ebuild81
3 files changed, 90 insertions, 2 deletions
diff --git a/dev-scheme/drscheme/ChangeLog b/dev-scheme/drscheme/ChangeLog
index fe4775e0a48d..7395cb17849a 100644
--- a/dev-scheme/drscheme/ChangeLog
+++ b/dev-scheme/drscheme/ChangeLog
@@ -1,6 +1,12 @@
# 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.57 2008/03/03 09:29:23 hkbst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.58 2008/03/23 11:51:43 hkbst Exp $
+
+*drscheme-372-r1 (23 Mar 2008)
+
+ 23 Mar 2008; Marijn Schouten <hkBst@gentoo.org> +drscheme-372-r1.ebuild:
+ add slatex support thanks to Massimo Zanetti <zanetti.massimo@gmail.com>,
+ bug 188118
*drscheme-372 (03 Mar 2008)
diff --git a/dev-scheme/drscheme/Manifest b/dev-scheme/drscheme/Manifest
index ddb430ced50c..3fd068004149 100644
--- a/dev-scheme/drscheme/Manifest
+++ b/dev-scheme/drscheme/Manifest
@@ -14,6 +14,7 @@ EBUILD drscheme-360-r3.ebuild 2332 RMD160 1997b792d0515d40aa3e5f5368d155f15ae4f5
EBUILD drscheme-370.6_p20070725-r1.ebuild 2059 RMD160 b4e1b832ffb9bf3f7899a66a76f2d50d098a3c23 SHA1 4d6c13bab7edc412f2f4f5034e59f246d3dce3e5 SHA256 9c7ed0605d4ef77896a090c0767e5940093c6b57dfbf248b61de09b672e1933f
EBUILD drscheme-370.6_p20070725.ebuild 2126 RMD160 6a42e25ae78eac8d5fa2674b2a1356830102692a SHA1 305e8def948c46f1f8078b5e96c8bf9d3a850781 SHA256 7cfe79a751f10d4796a1a0c2220039b338bdcf9cd744e4fee4ca4b6d492c5dae
EBUILD drscheme-371.ebuild 2029 RMD160 26eba0175d2dd681a5cbca5c9b95e2eab8c85b7a SHA1 b96cc6cdfa51d6b083d1d35a70deb67dcab8a983 SHA256 e1c289f0b375b78f276cfd9dd8191c34ad52a4dfc10abb75643c111c7c1395bc
+EBUILD drscheme-372-r1.ebuild 2161 RMD160 96d1738cf794a4580c8a9b36eba399b6ca66b862 SHA1 66d25cf770813c3c7d019f9eaca9531f39786e2d SHA256 035450ac4be61a6ad0d13de618f041ff2dfee3865fe573a06d150d8171f2e5e8
EBUILD drscheme-372.ebuild 2029 RMD160 9942880458f1b93882df88ec3db67753203edee6 SHA1 6ca5cc43291805f832fb57dccf10c5c11e7703a7 SHA256 cc3a777258ffd6bfff552b453751a00d33eadaf42a668e33ba823d5511cf17b9
-MISC ChangeLog 11208 RMD160 f9485bcbc7faa6bbb5973f04b7bcde1e669be33d SHA1 16d602d856b06c23aaf59cddb70239853a53a409 SHA256 69496396af6fe6a8e9da4964737ef773f3d819c3b5a183f78a4792bbfca79de1
+MISC ChangeLog 11405 RMD160 43658d02b6f856e774db906367f30b035f6d1bdc SHA1 0264707483bbef053cd3abcb415b5d9a2bedf337 SHA256 847adc6629db35997eed765b2be2fa305d8bfe344eddcc0b7d76bf66aa64e7cf
MISC metadata.xml 599 RMD160 a228df650ca5754ecdc718ce046c3a88c429c65f SHA1 bc80c435999a6d6e26f1a678b4946d7cd1ddd054 SHA256 5e18280a7962fdcc78ca14de2f71c5756f32d8a247e3e4f665282363b133cbbb
diff --git a/dev-scheme/drscheme/drscheme-372-r1.ebuild b/dev-scheme/drscheme/drscheme-372-r1.ebuild
new file mode 100644
index 000000000000..5535127f9f8a
--- /dev/null
+++ b/dev-scheme/drscheme/drscheme-372-r1.ebuild
@@ -0,0 +1,81 @@
+# 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-372-r1.ebuild,v 1.1 2008/03/23 11:51:43 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 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-${PV%%_p*}"
+
+src_unpack() {
+ unpack ${A}; cd "${S}"
+ sed "s,docdir=\"\${datadir}/plt/doc,docdir=\"\${datadir}/doc/${PF}," -i src/configure
+}
+
+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
+}