diff options
author | Martin Ehmsen <ehmsen@gentoo.org> | 2006-02-02 22:13:19 +0000 |
---|---|---|
committer | Martin Ehmsen <ehmsen@gentoo.org> | 2006-02-02 22:13:19 +0000 |
commit | 2ef7680e9d907000334faaaac55b33878c3be5b1 (patch) | |
tree | eb157280abbad4aca0cf2f2eaa2186aa81c06bf3 /app-text/tetex | |
parent | Stable on amd64 (diff) | |
download | historical-2ef7680e9d907000334faaaac55b33878c3be5b1.tar.gz historical-2ef7680e9d907000334faaaac55b33878c3be5b1.tar.bz2 historical-2ef7680e9d907000334faaaac55b33878c3be5b1.zip |
Readded tetex-1.0.7-r13 because stuff depends on it (which they shouldn't).
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'app-text/tetex')
-rw-r--r-- | app-text/tetex/ChangeLog | 5 | ||||
-rw-r--r-- | app-text/tetex/Manifest | 12 | ||||
-rw-r--r-- | app-text/tetex/files/digest-tetex-1.0.7-r13 | 15 | ||||
-rw-r--r-- | app-text/tetex/tetex-1.0.7-r13.ebuild | 200 |
4 files changed, 228 insertions, 4 deletions
diff --git a/app-text/tetex/ChangeLog b/app-text/tetex/ChangeLog index 160e3bf3623d..3b1a161b0969 100644 --- a/app-text/tetex/ChangeLog +++ b/app-text/tetex/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-text/tetex # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.107 2006/02/02 16:46:16 ehmsen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/ChangeLog,v 1.108 2006/02/02 22:13:19 ehmsen Exp $ + + 02 Feb 2006; Martin Ehmsen <ehmsen@gentoo.org> +tetex-1.0.7-r13.ebuild: + Readded tetex-1.0.7-r13 because stuff depends on it (which they shouldn't). 02 Feb 2006; Martin Ehmsen <ehmsen@gentoo.org> -tetex-1.0.7-r13.ebuild, tetex-3.0_p1-r1.ebuild: diff --git a/app-text/tetex/Manifest b/app-text/tetex/Manifest index a52a955a0f7f..2a8075c5be18 100644 --- a/app-text/tetex/Manifest +++ b/app-text/tetex/Manifest @@ -1,6 +1,9 @@ -MD5 2d4d990c4e50a3cb91ec680462c930b5 ChangeLog 19369 -RMD160 d8e25412caa5b4d41902bac0199de1724e479c1e ChangeLog 19369 -SHA256 9d6ab6e1115e8527206bdd680e6b2066677d77ba0cf63aee5787bdd8e36150ea ChangeLog 19369 +MD5 c6210158e1dc1a6938520633b36ca8dd ChangeLog 19522 +RMD160 7c9128a31e7598ffc09d887bea9fba24eeb10b0a ChangeLog 19522 +SHA256 63887e77073b7e31f072b88f26fb19a7b6df61ffa400a8ae87a8917424aacba1 ChangeLog 19522 +MD5 cc0be22b4e4ac7d6802a5a2a639a6001 files/digest-tetex-1.0.7-r13 1259 +RMD160 d57a184e1acc3083d0e85bb5bdad07205f475659 files/digest-tetex-1.0.7-r13 1259 +SHA256 87edfe22f8ad177c46988508ef9acbca026052936e80b6afc424ca850d2a5ede files/digest-tetex-1.0.7-r13 1259 MD5 d9e3971f8b0ed3b93c4c8db657fc3629 files/digest-tetex-2.0.2-r5 282 RMD160 9fdfb8c4a8f2567474821c29538632ee6e6636a7 files/digest-tetex-2.0.2-r5 282 SHA256 0c54518c10db1bd21924535447d22d01f889b1b1d37a355a517148283f79a866 files/digest-tetex-2.0.2-r5 282 @@ -76,6 +79,9 @@ SHA256 88a06ef62c423805a0fed011db59e9c170a2482c29f0359dec8ae962395a28ba files/xp MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164 RMD160 698422e821458386b8da17baa6014296f8284e0b metadata.xml 164 SHA256 7bd4d93c657a26aa9af1dea4232520c0d388cc92115dd9ca0eb04259228e044f metadata.xml 164 +MD5 3e41886004d55eb01635f3837dec252c tetex-1.0.7-r13.ebuild 4926 +RMD160 cbc4d15a274aff3bdac538ea9ce6deb29cc40410 tetex-1.0.7-r13.ebuild 4926 +SHA256 404a9912c7fb70721fe7e90f814bae1a4cd682918c435832755bee4a74e309a2 tetex-1.0.7-r13.ebuild 4926 MD5 ac832dc2976c466da737908fafa9a30b tetex-2.0.2-r5.ebuild 1272 RMD160 f3abfa5a1df5d9b5dcf855e33b451022549e883f tetex-2.0.2-r5.ebuild 1272 SHA256 3195b6f96b7fa75997cb870e29b1b64d8edf508798e847da454528de1f732ff0 tetex-2.0.2-r5.ebuild 1272 diff --git a/app-text/tetex/files/digest-tetex-1.0.7-r13 b/app-text/tetex/files/digest-tetex-1.0.7-r13 new file mode 100644 index 000000000000..139ce115e580 --- /dev/null +++ b/app-text/tetex/files/digest-tetex-1.0.7-r13 @@ -0,0 +1,15 @@ +MD5 12925188fdadcd6a970c21bba3269fc2 ec-ready-mf-tfm.tar.gz 386630 +RMD160 9e52d01d237c9186c9aff85795728b916aabb5c7 ec-ready-mf-tfm.tar.gz 386630 +SHA256 7361d87cd0f2c43282c676d8a0edc117a1333c4a2c395bce8407319bec1e3c56 ec-ready-mf-tfm.tar.gz 386630 +MD5 37393316b285926214c247acd55db743 teTeX-french.tar.gz 268161 +RMD160 6be2487294e283b98ac81d7d2b76be94861b88e5 teTeX-french.tar.gz 268161 +SHA256 a2922ce0e841ba66933e9a770811e59de371eee01fb4b58e66f59fb781691c73 teTeX-french.tar.gz 268161 +MD5 2c6da2a45096c2fdc41b8de6a8af1a52 teTeX-src-1.0.7.tar.gz 8040192 +RMD160 5846994b85ff67a8ec982cd7cb275650c363a7c2 teTeX-src-1.0.7.tar.gz 8040192 +SHA256 bd73a8c9da21215a19e8bbbc42decf64611147a4f940bbe3010db1c68503604e teTeX-src-1.0.7.tar.gz 8040192 +MD5 984530be5cc0dd73738de9d0067bc130 teTeX-texmf-gg-1.0.3.tar.bz2 35037546 +RMD160 2b2b7ce4f984dde648dca855038a803c8594e0af teTeX-texmf-gg-1.0.3.tar.bz2 35037546 +SHA256 d1e7f0cb2532a7600ef2c70fbad89f3ea853853180ca55be14437cd73dbd17c6 teTeX-texmf-gg-1.0.3.tar.bz2 35037546 +MD5 8e593d8dc1ffcd9e767d7436504e0a38 tetex-1.0.7-gentoo.tar.gz 18189 +RMD160 48a9476df17ad8250253bc55e22b4560a0f07d54 tetex-1.0.7-gentoo.tar.gz 18189 +SHA256 f205c35254910ba60e7ca1553528ebfe81ade30fbbcebc9ad63af656df8893a5 tetex-1.0.7-gentoo.tar.gz 18189 diff --git a/app-text/tetex/tetex-1.0.7-r13.ebuild b/app-text/tetex/tetex-1.0.7-r13.ebuild new file mode 100644 index 000000000000..0fd6dab30309 --- /dev/null +++ b/app-text/tetex/tetex-1.0.7-r13.ebuild @@ -0,0 +1,200 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/tetex/tetex-1.0.7-r13.ebuild,v 1.15 2006/02/02 22:13:19 ehmsen Exp $ + +inherit eutils flag-o-matic + +TEXMFSRC="teTeX-texmf-gg-1.0.3.tar.bz2" +S=${WORKDIR}/teTeX-1.0 + +DESCRIPTION="a complete TeX distribution" +HOMEPAGE="http://tug.org/teTeX/" +SRC_URI="ftp://sunsite.informatik.rwth-aachen.de/pub/comp/tex/teTeX/1.0/distrib/sources/teTeX-src-${PV}.tar.gz + ftp://ftp.dante.de/pub/tex/systems/unix/teTeX/1.0/contrib/ghibo/${TEXMFSRC} + mirror://gentoo/ec-ready-mf-tfm.tar.gz + mirror://gentoo/teTeX-french.tar.gz + mirror://gentoo/${P}-gentoo.tar.gz" + +KEYWORDS="x86 ppc sparc alpha hppa" +SLOT="0" +LICENSE="GPL-2" +IUSE="X" + +DEPEND="!app-text/ptex + !app-text/cstetex + sys-apps/ed + X? ( || ( ( + x11-libs/libXmu + x11-libs/libXp + x11-libs/libXpm + x11-libs/libICE + x11-libs/libSM + x11-libs/libXaw + x11-libs/libXfont + ) + virtual/x11 + ) + ) + >=media-libs/libpng-1.2.1 + sys-libs/ncurses + >=net-libs/libwww-5.3.2-r1 + sys-libs/zlib" +RDEPEND="${DEPEND} + >=dev-lang/perl-5.2 + dev-util/dialog" +PROVIDE="virtual/tetex" + +src_unpack() { + unpack teTeX-src-${PV}.tar.gz + + cd ${S} + + mkdir ${S}/texmf + cd ${S}/texmf + umask 022 + echo ">>> Unpacking ${TEXMFSRC}" + tar --no-same-owner -xjf ${DISTDIR}/${TEXMFSRC} || die + echo ">>> Unpacking ec-ready-mf-tfm.tar.gz" + tar --no-same-owner -xzf ${DISTDIR}/ec-ready-mf-tfm.tar.gz -C .. || die + echo ">>> Unpacking teTeX-french.tar.gz" + tar --no-same-owner -xzf ${DISTDIR}/teTeX-french.tar.gz || die + + cd ${S} + unpack ${P}-gentoo.tar.gz + epatch ${P}-dvips-secure.diff + + # Fixes from way back ... not sure even Achim will + # still know why :/ + epatch teTeX-1.0-gentoo.diff + epatch teTeX-1.0.diff + + # Do not run config stuff + epatch ${P}-dont-run-config.diff + + # Fix for dvips to print directly. + epatch teTeX-1.0-dvips.diff + + # Fix picins.sty + epatch ${P}-picins.diff + + # Prevent the silly readlink manpage from installing + epatch ${FILESDIR}/${PN}-no-readlink-manpage.diff + + # Fix problem where the *.fmt files are not generated due to the LaTeX + # source being older than a year. + local x + for x in `find ${S}/texmf/ -type f -name '*.ini'` + do + cp ${x} ${x}.orig + sed -e '1i \\scrollmode' ${x}.orig > ${x} + rm -f ${x}.orig + done + + # IMPORTANT! If you're having *.fmt problems, do this: + # fmtutil --all + # after the merge. +} + +src_compile() { + filter-flags -fstack-protector + + local myconf="" + use X \ + && myconf="--with-x" \ + || myconf="--without-x" + + econf \ + --without-texinfo \ + --without-dialog \ + --disable-multiplatform \ + --with-epsfwin \ + --with-mftalkwin \ + --with-regiswin \ + --with-system-wwwlib \ + --with-libwww-include=/usr/include/w3c-libwww \ + --with-system-pnglib \ + --with-system-ncurses \ + --with-system-zlib \ + --with-tektronixwin \ + --with-unitermwin \ + --with-ps=gs \ + --enable-ipc \ + --with-etex \ + ${myconf} || die "econf failed" + + # emake seems to not work (18 Jan 2003 agriffis) + make || die +} + +src_install() { + dodir /usr/share/ + # Install texmf files + einfo "Installing texmf..." + cp -Rv texmf ${D}/usr/share || die "cp -Rv texmf failed" + + einstall \ + texmf=${D}/usr/share/texmf \ + texmfmain=${D}/usr/share/texmf \ + mandir=${D}/usr/share/man/man1 \ + || die "einstall failed" + + dodoc PROBLEMS README + docinto texk + dodoc texk/ChangeLog texk/README + docinto kpathesa + cd ${S}/texk/kpathsea + dodoc README* NEWS PROJECTS HIER + docinto dviljk + cd ${S}/texk/dviljk + dodoc AUTHORS README NEWS + docinto dvipsk + cd ${S}/texk/dvipsk + dodoc AUTHORS ChangeLog INSTALLATION README + docinto makeindexk + cd ${S}/texk/makeindexk + dodoc CONTRIB COPYING NEWS NOTES PORTING README + docinto ps2pkm + cd ${S}/texk/ps2pkm + dodoc ChangeLog CHANGES.type1 INSTALLATION README* + docinto web2c + cd ${S}/texk/web2c + dodoc AUTHORS ChangeLog NEWS PROJECTS README + docinto xdvik + cd ${S}/texk/xdvik + dodoc BUGS FAQ README* + + #fix for conflicting readlink binary: + rm -f ${D}/bin/readlink + rm -f ${D}/usr/bin/readlink + #add /var/cache/fonts directory + dodir /var/cache/fonts + + #fix for lousy upstream permisssions on /usr/share/texmf files + #NOTE: do not use fowners, as its not recursive ... + einfo "Fixing permissions..." + chown -R root:root ${D}/usr/share/texmf +} + +pkg_postinst() { + if [ $ROOT = "/" ] + then + einfo "Configuring teTeX..." + mktexlsr &>/dev/null + texlinks &>/dev/null + texconfig init &>/dev/null + texconfig confall &>/dev/null + texconfig font vardir /var/cache/fonts &>/dev/null + + # Fix bug 13789; this should really be done by texconfig init + # but oh well, it will probably be fixed by 2.0, right? ;-) + # (18 Jan 2003 agriffis) + ( cd /var/lib/texmf/web2c; inimf mf; ) &>/dev/null + + einfo "Generating format files..." + fmtutil --missing &>/dev/null # This should generate all missing fmt files. + + echo + einfo "Use 'texconfig font rw' to allow all users to generate fonts." + echo + fi +} |