Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 49022 Details for
Bug 78686
cm-super-0.3.3.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
cm-super-0.3.3.ebuild
cm-super-0.3.3.ebuild (text/plain), 3.32 KB, created by
Sune Foldager
on 2005-01-19 23:54:02 UTC
(
hide
)
Description:
cm-super-0.3.3.ebuild
Filename:
MIME Type:
Creator:
Sune Foldager
Created:
2005-01-19 23:54:02 UTC
Size:
3.32 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils > >DESCRIPTION="A type-1 font package for TeX" >HOMEPAGE="http://www.ctan.org/tex-archive/fonts/ps-type1/cm-super/" >SRC_URI="ftp://ftp.dante.de/tex-archive/fonts/ps-type1/${PN}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86 ppc" > >IUSE="" >DEPEND="virtual/tetex" > >src_install() { > > # First, the main cm fonts. > thedir=${D}/usr/share/texmf > dodir /usr/share/texmf/fonts/type1/public/cm-super > cp ${WORKDIR}/${PN}/pfb/* ${thedir}/fonts/type1/public/cm-super > > # Then, the afm files. > dodir /usr/share/texmf/fonts/afm/public/cm-super > cp ${WORKDIR}/${PN}/afm/* ${thedir}/fonts/afm/public/cm-super > > # Finally, dvips and dvipdfm maps. > dodir /usr/share/texmf/dvips/cm-super > cp ${WORKDIR}/${PN}/dvips/*.map ${thedir}/dvips/cm-super > cp ${WORKDIR}/${PN}/dvips/*.enc ${thedir}/dvips/cm-super > cp ${WORKDIR}/${PN}/dvips/config.cm-super ${thedir}/dvips/cm-super > dodir /usr/share/texmf/dvipdfm/config > cp ${WORKDIR}/${PN}/dvipdfm/*.map ${thedir}/dvipdfm/config > unset thedir > >} > >pkg_postinst() { > > # Configure pdftex. > einfo Configuring pdftex... > if grep -q '% --- Begin cm-super config ---' ${ROOT}/usr/share/texmf/pdftex/config/pdftex.cfg; then > einfo " Seems to be done already. Check ${ROOT}/usr/share/texmf/pdftex/config/pdftex.cfg and rerun config if needed." > else > cat >>${ROOT}/usr/share/texmf/pdftex/config/pdftex.cfg ${FILESDIR}/pdftex.config > fi > > # Configure dvips. > einfo Configuring dvips... > if grep -q '% --- Begin cm-super config ---' ${ROOT}/usr/share/texmf/dvips/config/config.ps; then > einfo " Seems to be done already. Check ${ROOT}/usr/share/texmf/dvips/config/config.ps and rerun config if needed." > else > cat >>${ROOT}/usr/share/texmf/dvips/config/config.ps ${FILESDIR}/dvips.config > fi > > # Configure dvipdfm. > einfo Configuring dvipdfm... > if grep -q '% --- Begin cm-super config ---' ${ROOT}/usr/share/texmf/dvipdfm/config/config; then > einfo " Seems to be done already. Check ${ROOT}/usr/share/texmf/dvipdfm/config/config and rerun config if needed." > else > cat >>${ROOT}/usr/share/texmf/dvipdfm/config/config ${FILESDIR}/dvipdfm.config > fi > > # Update database. > einfo Updating the filename search database... > ${ROOT}/usr/bin/mktexlsr > einfo "All done. You're all set to use cm-super!" > >} > >pkg_prerm() { > > # Unconfiguring... > einfo Removing cm-super from the configuration... > olddir=`pwd` > > # Pdftex. > cd ${ROOT}/usr/share/texmf/pdftex/config > mv pdftex.cfg __pdftex.cfg > awk <__pdftex.cfg >pdftex.cfg 'BEGIN { skip = 0 } /^% --- Begin cm-super config ---/ { skip = 2 } /^% --- End cm-super config ---/ { skip = 1 } { if(!skip) print $0; else if(skip == 1) skip = 0 }' > rm __pdftex.cfg > > # Dvips. > cd ${ROOT}/usr/share/texmf/dvips/config > mv config.ps __config.ps > awk <__config.ps >config.ps 'BEGIN { skip = 0 } /^% --- Begin cm-super config ---/ { skip = 2 } /^% --- End cm-super config ---/ { skip = 1 } { if(!skip) print $0; else if(skip == 1) skip = 0 }' > rm __config.ps > > # Dvipdfm. > cd ${ROOT}/usr/share/texmf/dvipdfm/config > mv config __config > awk <__config >config 'BEGIN { skip = 0 } /^% --- Begin cm-super config ---/ { skip = 2 } /^% --- End cm-super config ---/ { skip = 1 } { if(!skip) print $0; else if(skip == 1) skip = 0 }' > rm __config > > # All done. > cd $olddir > unset olddir > einfo " Done. Now unmerging..." > >}
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 Raw
Actions:
View
Attachments on
bug 78686
:
48962
|
48968
|
49021
| 49022