summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2005-03-16 09:22:55 +0000
committerMamoru Komachi <usata@gentoo.org>2005-03-16 09:22:55 +0000
commit0c2127b2c42df44f82e2c2e775aadc4ce5e58887 (patch)
treeedfafc74efa9373e54b0e9b5e2dc7cac5702e4da /app-text/ptex
parentversion bump (bug #82411) (diff)
downloadgentoo-2-0c2127b2c42df44f82e2c2e775aadc4ce5e58887.tar.gz
gentoo-2-0c2127b2c42df44f82e2c2e775aadc4ce5e58887.tar.bz2
gentoo-2-0c2127b2c42df44f82e2c2e775aadc4ce5e58887.zip
Version bumped.
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-text/ptex')
-rw-r--r--app-text/ptex/ChangeLog7
-rw-r--r--app-text/ptex/Manifest22
-rw-r--r--app-text/ptex/files/digest-ptex-3.1.8.14
-rw-r--r--app-text/ptex/ptex-3.1.8.1.ebuild164
4 files changed, 181 insertions, 16 deletions
diff --git a/app-text/ptex/ChangeLog b/app-text/ptex/ChangeLog
index 2ed08393185b..d2c03fe422cd 100644
--- a/app-text/ptex/ChangeLog
+++ b/app-text/ptex/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/ptex
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ChangeLog,v 1.37 2005/03/06 20:47:40 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ChangeLog,v 1.38 2005/03/16 09:22:55 usata Exp $
+
+*ptex-3.1.8.1 (16 Mar 2005)
+
+ 16 Mar 2005; Mamoru KOMACHI <usata@gentoo.org> +ptex-3.1.8.1.ebuild:
+ Version bumped.
07 Mar 2005; Mamoru KOMACHI <usata@gentoo.org> ptex-3.1.4-r2.ebuild,
ptex-3.1.5.ebuild, -ptex-3.1.8.20050111.ebuild:
diff --git a/app-text/ptex/Manifest b/app-text/ptex/Manifest
index 17199fef0ab7..a32e28c6cb93 100644
--- a/app-text/ptex/Manifest
+++ b/app-text/ptex/Manifest
@@ -1,28 +1,20 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 710ccf7132e6302e3f590cbf8cabc919 ChangeLog 5504
MD5 d2fd604b88f163116f23670ca84b1815 metadata.xml 531
-MD5 b8191d6e039d4434e4fd70d1b19cc4a0 ptex-3.1.4-r2.ebuild 3526
+MD5 fb31bfd39844534ff868a2b1566c71a6 ptex-3.1.8.1.ebuild 4845
MD5 b15520d10c398d825eb8afd22ec776de ptex-3.1.5.ebuild 3536
MD5 c004152e2907bd7aca89e8fbf88bdce4 ptex-3.1.8.20050218.ebuild 4828
+MD5 b8191d6e039d4434e4fd70d1b19cc4a0 ptex-3.1.4-r2.ebuild 3526
+MD5 a1829990d625a3607cc38b99a27b9574 files/20texmf-cmap.cnf 65
+MD5 661aaa7be66ace377a17bb300e99b508 files/digest-ptex-3.1.8.1 271
MD5 d15f2d9ab04bcfa15c3e737f106d1625 files/psfonts-ja.map 1158
+MD5 6648e754bb26bb4ebeaae5a2051aca01 files/digest-ptex-3.1.8.20050218 271
MD5 3e6bd16aa42a2c0f77d9ea14dabb96f3 files/digest-ptex-3.1.5 718
MD5 4d1956517ccb98e9be75cdf83f9b7ac0 files/20fmtutil-platex.cnf 121
MD5 424cf5900fe6b1af9867cd2e8c952292 files/digest-ptex-3.1.4-r2 718
MD5 77107ec8ba31c93b0e1bc35a9e4c9c4b files/xdvizilla.patch 912
-MD5 2fce5bedd61300fad1566a41f991a782 files/xpdf-goo-sizet.patch 1424
-MD5 a1829990d625a3607cc38b99a27b9574 files/20texmf-cmap.cnf 65
-MD5 d4d469b2a8b88c4d97440979fd5c2a41 files/20updmap-ja.cfg 43
MD5 5d40ba9d885af84bcc917ad17e2bf8e0 files/xpdf-3.00pl2-CAN-2004-1125.patch 1136
+MD5 d4d469b2a8b88c4d97440979fd5c2a41 files/20updmap-ja.cfg 43
MD5 c32a612ce419b9930ff273cf382558bf files/xpdf-3.00pl3-CAN-2005-0064.patch 346
MD5 87d20c86d1451638e4b7adc2f7ac8067 files/xpdf-CESA-2004-007-xpdf2-newer.diff 2718
+MD5 2fce5bedd61300fad1566a41f991a782 files/xpdf-goo-sizet.patch 1424
MD5 362296e34a1a04a6e5e2a7d9e97547c6 files/xpdf2-underflow.patch 2363
-MD5 6648e754bb26bb4ebeaae5a2051aca01 files/digest-ptex-3.1.8.20050218 271
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (Darwin)
-
-iD8DBQFCK3F0VWNWqTUmv+0RAvKtAJ9mwdPLNkvckaYKCWAwg8fOHalIfQCdFTKx
-UYhNwPHod+G0sCBW9LdCv7o=
-=x4Ws
------END PGP SIGNATURE-----
diff --git a/app-text/ptex/files/digest-ptex-3.1.8.1 b/app-text/ptex/files/digest-ptex-3.1.8.1
new file mode 100644
index 000000000000..5fb4e5ca51d3
--- /dev/null
+++ b/app-text/ptex/files/digest-ptex-3.1.8.1
@@ -0,0 +1,4 @@
+MD5 944a4641e79e61043fdaf8f38ecbb4b3 tetex-src-3.0.tar.gz 12749314
+MD5 11aa15c8d3e28ee7815e0d5fcdf43fd4 tetex-texmf-3.0.tar.gz 91762123
+MD5 89b89d6c78c60602c32915d59b24befd ptetex3-20050315.tar.gz 3842375
+MD5 3d45189842f826b84ed867ab74a8b9fe tetex-3.0-gentoo.tar.gz 1352
diff --git a/app-text/ptex/ptex-3.1.8.1.ebuild b/app-text/ptex/ptex-3.1.8.1.ebuild
new file mode 100644
index 000000000000..1960f8ecb9c8
--- /dev/null
+++ b/app-text/ptex/ptex-3.1.8.1.ebuild
@@ -0,0 +1,164 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/ptex/ptex-3.1.8.1.ebuild,v 1.1 2005/03/16 09:22:55 usata Exp $
+
+TETEX_PV=3.0
+TEXMF_PATH=/var/lib/texmf
+
+inherit tetex eutils
+
+DESCRIPTION="The ASCII publishing TeX distribution"
+HOMEPAGE="http://www.ascii.co.jp/pb/ptex/
+ http://www.misojiro.t.u-tokyo.ac.jp/~tutimura/ptetex3/0README
+ http://www.fsci.fuk.kindai.ac.jp/aftp/pub/ptex/utils/"
+
+PTEX_PV=3.1.8.1
+PTEX_TEXMF_PV=2.3
+PTEX_SRC="ptex-src-${PTEX_PV}.tar.gz"
+PTEX_TEXMF="ptex-texmf-${PTEX_TEXMF_PV}.tar.gz"
+PTETEX=ptetex3-20050315
+
+S=${WORKDIR}/tetex-src-${TETEX_PV}
+
+SRC_PATH_PTEX="ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex"
+SRC_PATH_TETEX="ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/current/distrib"
+TETEX_SRC="tetex-src-${TETEX_PV}.tar.gz"
+TETEX_TEXMF="tetex-texmf-${TETEX_PV}.tar.gz"
+TETEX_TEXMF_SRC=""
+SRC_URI="${SRC_PATH_TETEX}/${TETEX_SRC}
+ ${SRC_PATH_TETEX}/${TETEX_TEXMF}
+ http://www.misojiro.t.u-tokyo.ac.jp/~tutimura/ptetex3/${PTETEX}.tar.gz
+ mirror://gentoo/tetex-${TETEX_PV}-gentoo.tar.gz"
+
+LICENSE="GPL-2 BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~ppc-macos ~sparc ~x86"
+IUSE="X motif lesstif Xaw3d neXt"
+
+DEPEND="X? ( >=media-libs/freetype-2
+ >=media-fonts/kochi-substitute-20030809-r3
+ motif? ( lesstif? ( x11-libs/lesstif )
+ !lesstif? ( x11-libs/openmotif ) )
+ !motif? ( neXt? ( x11-libs/neXtaw )
+ !neXt? ( Xaw3d? ( x11-libs/Xaw3d ) ) )
+ !app-text/xdvik
+ )
+ !dev-tex/memoir
+ !dev-tex/lineno
+ !dev-tex/SIunits
+ !dev-tex/floatflt
+ !dev-tex/g-brief
+ !dev-tex/pgf
+ !dev-tex/xcolor
+ !dev-tex/xkeyval"
+
+src_unpack() {
+ unpack ${PTETEX}.tar.gz
+ tetex_src_unpack
+
+ einfo "Unpacking pTeX sources ..."
+ cd ${S}/texmf
+ echo ">>> Unpacking ${PTEX_TEXMF} to ${S}/texmf ..."
+ tar xzf ${WORKDIR}/${PTETEX}/archive/${PTEX_TEXMF} || die
+
+ cd ${S}/texk/web2c
+ echo ">>> Unpacking ${PTEX_SRC} to ${S}/texk/web2c ..."
+ tar xzf ${WORKDIR}/${PTETEX}/archive/${PTEX_SRC} || die
+
+ cd ${S}/texk
+ echo ">>> Unpacking dvipsk-jpatch to ${S}/texk ..."
+ tar xzf ${WORKDIR}/${PTETEX}/archive/dvipsk-*.tar.gz || die
+ epatch dvipsk-*.patch
+
+ if use X ; then
+ cd ${S}
+ epatch ${WORKDIR}/${PTETEX}/archive/xdvik-*.diff.gz
+ cat >>${S}/texk/xdvik/vfontmap.sample<<-EOF
+
+ # TrueType fonts
+ min /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
+ nmin /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
+ goth /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
+ tmin /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
+ tgoth /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
+ ngoth /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
+ jis /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
+ jisg /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
+ dm /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
+ dg /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
+ mgoth /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
+ fmin /usr/share/fonts/kochi-substitute/kochi-mincho-subst.ttf
+ fgoth /usr/share/fonts/kochi-substitute/kochi-gothic-subst.ttf
+ EOF
+ fi
+}
+
+src_compile() {
+ sed -i -e "/mktexlsr/,+3d" -e "s/\(updmap-sys\)/\1 --nohash/" Makefile.in || die
+
+ if use X ; then
+ export CPPFLAGS="${CPPFLAGS} -I/usr/include/freetype2"
+
+ if use motif ; then
+ if use lesstif ; then
+ append-ldflags -L/usr/X11R6/lib/lesstif -R/usr/X11R6/lib/lesstif
+ export CPPFLAGS="${CPPFLAGS} -I/usr/X11R6/include/lesstif"
+ fi
+ toolkit="motif"
+ elif use neXt ; then
+ toolkit="neXtaw"
+ elif use Xaw3d ; then
+ toolkit="xaw3d"
+ else
+ toolkit="xaw"
+ fi
+
+ TETEX_ECONF="--with-vflib=vf2ft --enable-freetype --with-x-toolkit=${toolkit}"
+ fi
+
+ tetex_src_compile
+
+ # make ptex.tex visible to ptex
+ TEXMF="${S}/texmf" ${S}/texk/kpathsea/mktexlsr || die
+
+ cd ${S}/texk/web2c/${PTEX_SRC%.tar.gz} || die
+ chmod +x configure
+ ./configure EUC || die "configure pTeX failed"
+
+ # make ptex.tex visible to ptex
+ TEXMF="${S}/texmf" make || die "make pTeX failed"
+}
+
+src_install() {
+ addwrite /var/cache/fonts
+ tetex_src_install base doc fixup
+
+ einfo "Installing pTeX ..."
+ dodir ${TEXMF_PATH}/web2c
+ cd ${S}/texk/web2c/${PTEX_SRC%.tar.gz} || die
+ einstall bindir=${D}/usr/bin texmf=${D}${TEXMF_PATH} || die
+
+ # ptex reinstalls ${TEXMF_PATH}/web2c
+ tetex_src_install link
+
+ insinto /usr/share/texmf/fonts/map/dvips/tetex
+ doins ${FILESDIR}/psfonts-ja.map || die
+ insinto /etc/texmf/updmap.d
+ doins ${FILESDIR}/20updmap-ja.cfg
+ insinto /etc/texmf/fmtutil.d
+ doins ${FILESDIR}/20fmtutil-platex.cnf
+ insinto /etc/texmf/texmf.d
+ doins ${FILESDIR}/20texmf-cmap.cnf
+
+ docinto dvipsk
+ cd ${S}/texk/dvipsk
+ dodoc ../ChangeLog.jpatch ../README.jpatch
+
+ if use X ; then
+ cd ${S}/texk/xdvik
+ docinto xdvik
+ dodoc ANNOUNCE BUGS CHANGES.xdvik-jp FAQ README.*
+ docinto xdvik/READMEs
+ dodoc READMEs/*
+ fi
+}