Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 132389 Details for
Bug 194501
app-text/mathml-xml-dtd-2.0 - new ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
mathml-xml-dtd-2.0.ebuild
mathml-xml-dtd-2.0.ebuild (text/plain), 2.30 KB, created by
Jiri Tyr
on 2007-10-02 12:50:16 UTC
(
hide
)
Description:
mathml-xml-dtd-2.0.ebuild
Filename:
MIME Type:
Creator:
Jiri Tyr
Created:
2007-10-02 12:50:16 UTC
Size:
2.30 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >URL="http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd" >DTD="mathml2.dtd" >INSTDIR="/usr/share/sgml/mathml/${P}" >CATDIR="/etc/xml" >ROOTCATALOG="${CATDIR}/catalog" >CATALOG="${CATDIR}/mathml" >XMLCATALOG="/usr/bin/xmlcatalog" > >inherit eutils > >DESCRIPTION="MathML DTD and entity files." >HOMEPAGE="http://www.w3.org/1998/Math/MathML" >SRC_URI="http://www.w3.org/Math/DTD/mathml2.tgz" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="" >RESTRICT="nomirror" >RDEPEND="" >DEPEND="dev-libs/libxml2 > ${RDEPEND}" > >S="${WORKDIR}/mathml2" > >src_compile() { > mkdir -p ${T}${CATDIR} > > if [[ ! -r ${ROOTCATALOG} ]] ; then > einfo "Creating Root XML Catalog" > ${XMLCATALOG} --noout --create ${T}${ROOTCATALOG} > if [[ ! -r ${T}${ROOTCATALOG} ]] ; then > eerror "Failed creating Root XML Catalog" > die > fi > else > cp ${ROOTCATALOG} ${T}${ROOTCATALOG} > > einfo "Cleaning Root XML Catalog" > ${XMLCATALOG} --noout --del "-//W3C//DTD MathML" ${T}${ROOTCATALOG} > ${XMLCATALOG} --noout --del "-//W3C//ENTITIES" ${T}${ROOTCATALOG} > ${XMLCATALOG} --noout --del "http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd" ${T}${ROOTCATALOG} > > einfo "Updating Root XML Catalog" > ${XMLCATALOG} --noout --add "delegatePublic" "-//W3C//DTD MathML" "file://${CATALOG}" ${T}${ROOTCATALOG} > ${XMLCATALOG} --noout --add "delegatePublic" "-//W3C//ENTITIES" "file://${CATALOG}" ${T}${ROOTCATALOG} > ${XMLCATALOG} --noout --add "delegateURI" "http://www.w3.org/TR/2001/REC-MathML2-20010221/dtd" "file://${CATALOG}" ${T}${ROOTCATALOG} > fi > > # greb all files in DTD > cd ${S} > AAA=`cat ${DTD} | grep -A1 -E "(SYSTEM|PUBLIC) \"" | grep -v -E "^$" | sed -r 's/^ +//' | sed -r 's/( |)>( |)$//' | sed 's/SYSTEM //' | sed -r 's/--//'` > INSTDIR2=`echo ${INSTDIR} | sed 's/\//\\\\\//g'` > > # create MathML catalog > ${XMLCATALOG} --noout --create ${T}${CATALOG} > echo $AAA | sed -r 's/(PUBLIC |SYSTEM )/\n/g' | grep -v -E '$^' | sed -r 's/^//' | sed "s/\" \"/\" \"file:\/\/${INSTDIR2}\//" | awk "{system(\"${XMLCATALOG} --noout --add \\\"public\\\" \"\$0\" ${T}${CATALOG}\")}" > ${XMLCATALOG} --noout -add "rewriteURI" "${URL}" "file://${INSTDIR}" ${T}${CATALOG} >} > >src_install() { > dodir ${INSTDIR} > dodir ${CATDIR} > > cp -r ${S}/* ${D}${INSTDIR} > cp -r ${T}${CATDIR}/* ${D}${CATDIR} >}
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 194501
: 132389 |
270885
|
271033
|
271487