Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 122800 Details for
Bug 168177
app-text/texlive-2007 has been released
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Diff: texlive-2005.ebuild -> texlive-2007.ebuild
2005_2007.diff (text/plain), 8.36 KB, created by
Robert Führicht
on 2007-06-22 13:12:48 UTC
(
hide
)
Description:
Diff: texlive-2005.ebuild -> texlive-2007.ebuild
Filename:
MIME Type:
Creator:
Robert Führicht
Created:
2007-06-22 13:12:48 UTC
Size:
8.36 KB
patch
obsolete
>--- /var/paludis/repositories/gentoo/app-text/texlive/texlive-2005.ebuild 2007-01-28 07:35:41.000000000 +0100 >+++ texlive-2007-r1.ebuild 2007-06-22 14:15:07.000000000 +0200 >@@ -1,22 +1,23 @@ > # Copyright 1999-2007 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/app-text/texlive/texlive-2005.ebuild,v 1.4 2007/01/28 06:10:10 genone Exp $ >+# $Header:$ > > inherit eutils flag-o-matic toolchain-funcs versionator virtualx > > TEXMF_PATH=/var/lib/texmf >+#TEXMF_PATH=/etc/texmf > > DESCRIPTION="a complete TeX distribution" > HOMEPAGE="http://tug.org/texlive/" > SLOT="0" > LICENSE="GPL-2" > >-SRC_URI="http://dev.gentoo.org/~ehmsen/texlive/${P}-src.tar.bz2 >- http://dev.gentoo.org/~ehmsen/texlive/${P}-texmf-dist.tar.bz2 >- http://dev.gentoo.org/~ehmsen/texlive/${P}-texmf.tar.bz2" >+SRC_URI="http://134.60.104.12/gentoo/${P}-src.tar.bz2 >+ http://134.60.104.12/gentoo/${P}-texmf-dist.tar.bz2 >+ http://134.60.104.12/gentoo/${P}-texmf.tar.bz2" > > KEYWORDS="~amd64 ~x86" >-IUSE="X doc tk Xaw3d lesstif motif neXt" >+IUSE="X doc tk Xaw3d lesstif motif neXt png zlib" > > # This is less than an ideal name > PROVIDE="virtual/tetex" >@@ -81,13 +82,8 @@ > unpack ${P}-texmf-dist.tar.bz2 || die "unpack texmf-dist" > > epatch "${FILESDIR}/${PV}/${P}-use-system-libtool.patch" || die >- epatch "${FILESDIR}/${PV}/${P}-amd64-xdvik-wp.patch" || die >- epatch "${FILESDIR}/${PV}/${P}-mptest.patch" || die >- epatch "${FILESDIR}/${PV}/${P}-fmtutil-in.patch" || die >- epatch "${FILESDIR}/${PV}/${P}-xpdf-vulnerabilities.patch" || die >- epatch "${FILESDIR}/${PV}/${P}-pdftosrc-install.patch" || die >- epatch "${FILESDIR}/${PV}/${P}-create-empty-files.patch" || die >- epatch "${FILESDIR}/${PV}/${P}-gentoo-texmf-site.patch" || die >+ epatch "${FILESDIR}/${PV}/${P}-gentoo-texmf.patch" || die >+ epatch "${FILESDIR}/${PV}/${P}-mpware-libtool.patch" || die > > sed -i -e "/mktexlsr/,+3d" -e "s/\(updmap-sys\)/\1 --nohash/" \ > Makefile.in || die "sed" >@@ -121,16 +117,22 @@ > my_conf="${my_conf} --without-xdvik --without-oxdvik" > fi > >+ if use zlib ; then >+ my_conf="${my_conf} --with-system-zlib" >+ fi >+ >+ if use png ; then >+ my_conf="${my_conf} --with-system-pnglib" >+ fi >+ > econf --bindir=/usr/bin \ >- --datadir=${S} \ >- --with-system-wwwlib \ >- --with-libwww-include=/usr/include/w3c-libwww \ >+ --datadir="${S}" \ > --with-system-ncurses \ >- --with-system-pnglib \ >+ --with-system-freetype2 \ >+ --with-freetype2-include=/usr/include \ > --without-texinfo \ > --without-dialog \ > --without-texi2html \ >- --with-system-zlib \ > --disable-multiplatform \ > --with-epsfwin \ > --with-mftalkwin \ >@@ -139,20 +141,21 @@ > --with-unitermwin \ > --with-ps=gs \ > --enable-ipc \ >- --with-etex \ > --without-dvipng \ > --without-dvipdfm \ > --without-dvipdfmx \ >+ --without-psutils \ >+ --without-t1utils \ > $(use_with X x) \ > ${my_conf} || die "econf" > > if use X && use ppc-macos ; then >- for f in $(find ${S} -name config.status) ; do >+ for f in $(find "${S}" -name config.status) ; do > sed -i -e "s:-ldl::g" $f > done > fi > >- emake -j1 CC="$(tc-getCC)" CXX="$(tc-getCXX)" texmf=${TEXMF_PATH:-/usr/share/texmf} || die "make" >+ emake -j1 texmf=${TEXMF_PATH:-/usr/share/texmf} || die "make" > } > > src_test() { >@@ -162,107 +165,122 @@ > > src_install() { > dodir /usr/share/ >- cp -R texmf ${D}/usr/share >- cp -R texmf-dist ${D}/usr/share >+ cp -R texmf "${D}/usr/share" >+ cp -R texmf-dist "${D}/usr/share" > > dodir ${TEXMF_PATH:-/usr/share/texmf}/web2c >- einstall bindir=${D}/usr/bin texmf=${D}${TEXMF_PATH:-/usr/share/texmf} || die "install" >+ einstall \ >+ bindir="${D}/usr/bin" \ >+ texmf="${D}${TEXMF_PATH:-/usr/share/texmf}" \ >+ || die "install" > >- dosbin ${FILESDIR}/${PV}/texmf-update >+ dosbin "${FILESDIR}/texmf-update" > > docinto texk >- cd ${S}/TeX/texk >+ cd "${S}/texk" > dodoc ChangeLog README > > docinto kpathesa >- cd ${S}/TeX/texk/kpathsea >+ cd "${S}/texk/kpathsea" > dodoc BUGS ChangeLog NEWS PROJECTS README > > docinto dviljk >- cd ${S}/TeX/texk/dviljk >+ cd "${S}/texk/dviljk" > dodoc ChangeLog README NEWS > > docinto dvipsk >- cd ${S}/TeX/texk/dvipsk >+ cd "${S}/texk/dvipsk" > dodoc ChangeLog README > > docinto makeindexk >- cd ${S}/TeX/texk/makeindexk >+ cd "${S}/texk/makeindexk" > dodoc ChangeLog NEWS NOTES README > > docinto ps2pkm >- cd ${S}/TeX/texk/ps2pkm >+ cd "${S}/texk/ps2pkm" > dodoc ChangeLog README README.14m > > docinto web2c >- cd ${S}/TeX/texk/web2c >+ cd "${S}/texk/web2c" > dodoc ChangeLog NEWS PROJECTS README > > if use doc ; then >- dodir /usr/share/doc/${PF} >+ dodir /usr/share/doc/${PF}/texmf > mv ${D}/usr/share/texmf/doc/* \ >- ${D}/usr/share/doc/${PF} \ >- || die "mv doc failed." >- cd ${D}/usr/share/texmf >+ "${D}/usr/share/doc/${PF}/texmf" \ >+ || die "mv texmf doc failed." >+ cd "${D}/usr/share/texmf" > rmdir doc >- ln -s ../doc/${PF} doc || die "ln -s doc failed." >+ ln -s ../doc/${PF}/texmf doc || die "ln -s doc failed." >+ cd - >+ dodir /usr/share/doc/${PF}/texmf-dist >+ mv ${D}/usr/share/texmf-dist/doc/* \ >+ "${D}/usr/share/doc/${PF}/texmf-dist" \ >+ || die "mv texmf-dist doc failed." >+ cd "${D}/usr/share/texmf-dist" >+ rmdir doc >+ ln -s ../doc/${PF}/texmf-dist doc || die "ln -s doc failed." > cd - > else >- rm -rf ${D}/usr/share/texmf/doc >+ rm -rf "${D}/usr/share/texmf/doc" >+ rm -rf "${D}/usr/share/texmf-dist/doc" > fi > > dodir /var/cache/fonts > > # root group name doesn't exist on Mac OS X >- chown -R 0:0 ${D}/usr/share/texmf >+ chown -R 0:0 "${D}/usr/share/texmf" > > dodir /etc/env.d >- echo 'CONFIG_PROTECT_MASK="/etc/texmf/web2c"' > ${D}/etc/env.d/98tetex >+ echo 'CONFIG_PROTECT_MASK="/etc/texmf/web2c"' > "${D}/etc/env.d/98texlive" > # populate /etc/texmf > keepdir /etc/texmf/web2c > # _not_ ${TEXMF_PATH} >- cd ${D}/usr/share/texmf >+ cd "${D}/usr/share/texmf" > for d in $(find . -name config -type d | sed -e "s:\./::g") ; do > dodir /etc/texmf/${d} >- for f in $(find ${D}usr/share/texmf/$d -maxdepth 1 -mindepth 1); do >- mv $f ${D}/etc/texmf/$d || die "mv $f failed" >+ for f in $(find "${D}usr/share/texmf/$d" -maxdepth 1 -mindepth 1); do >+ mv $f "${D}/etc/texmf/$d" || die "mv $f failed" > dosym /etc/texmf/$d/$(basename $f) /usr/share/texmf/$d/$(basename $f) > done > done > cd - >- cd ${D}/${TEXMF_PATH} >+ cd "${D}/${TEXMF_PATH}" > for f in $(find . -name '*.cnf' -o -name '*.cfg' -type f | sed -e "s:\./::g") ; do > if [ "${f/config/}" != "${f}" ] ; then > continue > fi > dodir /etc/texmf/$(dirname $f) >- mv ${D}/${TEXMF_PATH}/$f ${D}/etc/texmf/$(dirname $f) || die "mv $f failed." >+ mv "${D}/${TEXMF_PATH}/$f" "${D}/etc/texmf/$(dirname $f)" || die "mv $f failed." > dosym /etc/texmf/$f ${TEXMF_PATH}/$f > done > > # take care of updmap.cfg, fmtutil.cnf and texmf.cnf > dodir /etc/texmf/{updmap.d,fmtutil.d,texmf.d} > dosym /etc/texmf/web2c/updmap.cfg ${TEXMF_PATH}/web2c/updmap.cfg >- mv ${D}/usr/share/texmf/web2c/updmap.cfg ${D}/etc/texmf/updmap.d/00updmap.cfg >- mv ${D}/etc/texmf/web2c/fmtutil.cnf ${D}/etc/texmf/fmtutil.d/00fmtutil.cnf >- mv ${D}/etc/texmf/web2c/texmf.cnf ${D}/etc/texmf/texmf.d/00texmf.cnf >+ dosym /etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf >+ dosym /etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf >+ mv "${D}/usr/share/texmf/web2c/updmap.cfg" "${D}/etc/texmf/updmap.d/00updmap.cfg" >+ mv "${D}/usr/share/texmf/web2c/fmtutil.cnf" "${D}/etc/texmf/fmtutil.d/00fmtutil.cnf" >+ mv "${S}/texk/kpathsea/texmf.cnf" "${D}/etc/texmf/texmf.d/00texmf.cnf" >+ find ${D}/usr/share/texmf/web2c -name texmf.\* -exec rm -f {} \; > > # xdvi > if use X ; then > dodir /etc/X11/app-defaults /etc/texmf/xdvi >- mv ${D}${TEXMF_PATH}/xdvi/XDvi ${D}/etc/X11/app-defaults || die "mv XDvi failed" >+ mv "${D}${TEXMF_PATH}/xdvi/XDvi" "${D}/etc/X11/app-defaults" || die "mv XDvi failed" > dosym /etc/X11/app-defaults/XDvi ${TEXMF_PATH}/xdvi/XDvi > fi > >- doman ${S}/texk/web2c/pdftexdir/pdftosrc.1 >- > keepdir /usr/share/texmf-site > > # the virtex symlink is not installed > # The links has to be relative, since the targets > # is not present at this stage and MacOS doesn't > # like non-existing targets >- cd ${D}/usr/bin/ >+ cd "${D}/usr/bin/" >+ ln -snf platex latex >+ ln -snf pdftex pdflatex > ln -snf tex virtex > ln -snf pdftex pdfvirtex > } >@@ -270,6 +288,10 @@ > pkg_preinst() { > ewarn "Removing ${ROOT}usr/share/texmf/web2c" > rm -rf "${ROOT}usr/share/texmf/web2c" >+ ewarn "Removing ${ROOT}var/lib/texmf/web2c" >+ rm -rf "${ROOT}var/lib/texmf/web2c" >+ ewarn "Removing ${ROOT}etc/texmf/web2c" >+ rm -rf "${ROOT}etc/texmf/web2c" > } > > pkg_postinst() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 168177
:
113021
|
113044
|
113045
|
113046
|
113072
|
113073
|
113574
|
114885
|
114955
|
120478
|
120479
|
120480
|
120920
| 122800 |
122965
|
127764
|
127766
|
127768
|
129323
|
132234