diff options
author | grozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-08-08 09:25:19 +0000 |
---|---|---|
committer | grozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb> | 2006-08-08 09:25:19 +0000 |
commit | baa5e80190e2326e150f6f080f4f8c3831650583 (patch) | |
tree | df32f465f1d18b35044490bbb2ca1946cd808fa2 /app-office | |
parent | Added xspice and X use flag. See bug 140402 (diff) | |
download | sci-baa5e80190e2326e150f6f080f4f8c3831650583.tar.gz sci-baa5e80190e2326e150f6f080f4f8c3831650583.tar.bz2 sci-baa5e80190e2326e150f6f080f4f8c3831650583.zip |
new version: texmacs-1.0.6.5
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@265 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/texmacs/Manifest | 8 | ||||
-rw-r--r-- | app-office/texmacs/texmacs-1.0.6.5.ebuild | 79 |
2 files changed, 87 insertions, 0 deletions
diff --git a/app-office/texmacs/Manifest b/app-office/texmacs/Manifest index 15d9a851f..092b603f8 100644 --- a/app-office/texmacs/Manifest +++ b/app-office/texmacs/Manifest @@ -5,6 +5,7 @@ SHA256 f6292ac99e7adc8efd006df2dc458b4f8bc075dd5c4be2b8fdeb30a63198ff08 files/Te DIST TeXmacs-1.0.6.2-src.tar.gz 3739356 RMD160 8acc43e1af94f62c29c72e511faa56a45b3f446e SHA1 cf6c6e05aac16543425070fdba77e061f90b8eaa SHA256 2a54952afa9393e227b7812ecee5d4ebb3017da4f9f7712217301a47ea0dd100 DIST TeXmacs-1.0.6.3-src.tar.gz 3772545 RMD160 9015ae8ee09fe8be0c04d3b9fb03163d01978d5e SHA1 099653f0814ee60a2921507acc6f6e73f0752615 SHA256 f6f04ae977a30e926a842db632ac6f7e95b4b538863d3dccbf37078a88513a28 DIST TeXmacs-1.0.6.4-src.tar.gz 3780474 RMD160 d890e0d0debe9ced76ec800e129ea8a13a57162d SHA1 49f28124d1eb153ded0aa058d194ef0cc31c00ba SHA256 a72be5fdc51a8f620250fe52e850f5b6cb56c4fd9074f7e6dc37c0f788af43ed +DIST TeXmacs-1.0.6.5-src.tar.gz 3782401 RMD160 4d83e98072cee30e06119d401cc01c942c4cb5b9 SHA1 7f8d8e7f67ef7cffddc53cd39419ea04422fe3c6 SHA256 f728fe30bcac51d2fb4bda225a60ea63a81dbbbc588d0c223f01809458c75f5c DIST TeXmacs-600dpi-fonts.tar.gz 2899193 RMD160 b5a27a59ed0c178f94836b828d12d3534b506582 SHA1 0a3a279b842b63f55449856690483d07c6e1219c SHA256 e8eeb3c97a1405fd037b0567f683a6d2225d47c7829893b9768bd6c1c707cc81 EBUILD texmacs-1.0.6.2.ebuild 1792 RMD160 6cd8067ca6b46cb176a30d9e327aeb51fdadb357 SHA1 f1f4ef12368ac54fd3411e26649e728086239bb1 SHA256 47801e0394c00f2cf57c53d2405ee4aa5c0d10f6554d321f260089f22f0d1e94 MD5 98cf9c17a447054d5cb92c8ff162a01c texmacs-1.0.6.2.ebuild 1792 @@ -18,6 +19,10 @@ EBUILD texmacs-1.0.6.4.ebuild 1792 RMD160 6cd8067ca6b46cb176a30d9e327aeb51fdadb3 MD5 98cf9c17a447054d5cb92c8ff162a01c texmacs-1.0.6.4.ebuild 1792 RMD160 6cd8067ca6b46cb176a30d9e327aeb51fdadb357 texmacs-1.0.6.4.ebuild 1792 SHA256 47801e0394c00f2cf57c53d2405ee4aa5c0d10f6554d321f260089f22f0d1e94 texmacs-1.0.6.4.ebuild 1792 +EBUILD texmacs-1.0.6.5.ebuild 1792 RMD160 6cd8067ca6b46cb176a30d9e327aeb51fdadb357 SHA1 f1f4ef12368ac54fd3411e26649e728086239bb1 SHA256 47801e0394c00f2cf57c53d2405ee4aa5c0d10f6554d321f260089f22f0d1e94 +MD5 98cf9c17a447054d5cb92c8ff162a01c texmacs-1.0.6.5.ebuild 1792 +RMD160 6cd8067ca6b46cb176a30d9e327aeb51fdadb357 texmacs-1.0.6.5.ebuild 1792 +SHA256 47801e0394c00f2cf57c53d2405ee4aa5c0d10f6554d321f260089f22f0d1e94 texmacs-1.0.6.5.ebuild 1792 MISC ChangeLog 7696 RMD160 90479baabd0eebe3c0983083254bceecbdc6f918 SHA1 2f4f063c51abf8310b14035c14e47add33bdd87d SHA256 424ae024def719d473f4979f42a4555f1086ad4cbb3b3fec7832612ec1b66d06 MD5 b3a306974c2a1cc054e52235b9aed875 ChangeLog 7696 RMD160 90479baabd0eebe3c0983083254bceecbdc6f918 ChangeLog 7696 @@ -35,3 +40,6 @@ SHA256 1731205c2a08fe04888082fab956b53fcb3deec04f328769b7f6b5d1ae304d5b files/di MD5 0f9f6816359c7380df733789fb58d926 files/digest-texmacs-1.0.6.4 527 RMD160 514b0c266833b85b6fc196f70c23d6c87b83e332 files/digest-texmacs-1.0.6.4 527 SHA256 ce47617a724e3748cd1275738e1aafd4665008d3ffa00206544f8579f2740285 files/digest-texmacs-1.0.6.4 527 +MD5 9d667c77693c78b5d2caf42fafafbf26 files/digest-texmacs-1.0.6.5 527 +RMD160 bef414b4284db2f78c65823903b013c9750dd536 files/digest-texmacs-1.0.6.5 527 +SHA256 fac2d7add5810a412dc7c692702728ba818683de602d3a8c6af8ec720de48483 files/digest-texmacs-1.0.6.5 527 diff --git a/app-office/texmacs/texmacs-1.0.6.5.ebuild b/app-office/texmacs/texmacs-1.0.6.5.ebuild new file mode 100644 index 000000000..b6c7575b9 --- /dev/null +++ b/app-office/texmacs/texmacs-1.0.6.5.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +# although flag-o-matic functions in portage, we should inherit it +inherit flag-o-matic eutils + +MY_P=${P/tex/TeX}-src +S=${WORKDIR}/${MY_P} + +DESCRIPTION="GNU TeXmacs is a free GUI scientific editor, inspired by TeX and GNU Emacs." +SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/targz/${MY_P}.tar.gz + ftp://ftp.texmacs.org/pub/TeXmacs/targz/TeXmacs-600dpi-fonts.tar.gz" +HOMEPAGE="http://www.texmacs.org/" +LICENSE="GPL-2" + +SLOT="0" +IUSE="ispell aspell static" +# TeXmacs 1.0.X-r? -> stable release, TeXmacs 1.0.X.Y -> development release +KEYWORDS="~x86" + +RDEPEND="virtual/tetex + >=dev-util/guile-1.4 + >=sys-apps/sed-4 + media-libs/freetype + || ( ( x11-libs/libX11 + x11-libs/libICE ) + virtual/x11 + ) + media-libs/imlib2 + ispell? ( >=app-text/ispell-3.2 ) + aspell? ( >=app-text/aspell-0.5 )" + +DEPEND="${RDEPEND} + || ( x11-proto/xproto + virtual/x11 ) + virtual/ghostscript" + +src_unpack() { + unpack ${A} + cd "${S}" + use aspell && sed -i -e 's/ispell -a -d/aspell -a -d/' src/Plugins/Ispell/ispell.cpp +} + +src_compile() { + + # we're not trusting texmacs optimisations here, so + # we only want the following two + strip-flags + append-flags -fno-default-inline + append-flags -fno-inline + + econf || die + # and now replace the detected optimisations with our safer ones + sed -i "s:\(^CXXOPTIMIZE = \).*:\1${CXXFLAGS}:" src/common.makefile + # emake b0rked + if use static ; then + emake -j1 STATIC_TEXMACS || die + else + emake -j1 || die + fi + +} + + +src_install() { + + make DESTDIR=${D} install || die + dodoc COMPILE + + insinto /usr/share/applications + doins ${FILESDIR}/TeXmacs.desktop + + # now install the fonts + cd ${WORKDIR} + dodir /usr/share/texmf + cp -r fonts ${D}/usr/share/texmf/ + +} |