wok diff docbook-xml/receipt @ rev 13521
Up task (2.1.2)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Oct 19 19:53:45 2012 +0100 (2012-10-19) |
parents | 484050e8db80 |
children | eb8067417980 |
line diff
1.1 --- a/docbook-xml/receipt Fri Mar 18 13:16:28 2011 +0100 1.2 +++ b/docbook-xml/receipt Fri Oct 19 19:53:45 2012 +0100 1.3 @@ -3,113 +3,289 @@ 1.4 PACKAGE="docbook-xml" 1.5 VERSION="4.5" 1.6 CATEGORY="development" 1.7 -SHORT_DESC="General purpose XML Document Type Definition." 1.8 -MAINTAINER="paul@slitaz.org" 1.9 -DEPENDS="libxml2-tools libxml2" 1.10 -BUILD_DEPENDS="$DEPENDS unzip" 1.11 -SOURCE="docbook" 1.12 -TARBALL="$PACKAGE-$VERSION.zip" 1.13 -WEB_SITE="http://www.docbook.org/" 1.14 +SHORT_DESC="A widely used XML scheme for writing documentation and help. (version 4.5)" 1.15 +MAINTAINER="slaxemulator@gmail.com" 1.16 +DEPENDS="libxml2-tools libxml2 docbook-xml-412 docbook-xml-42 docbook-xml-43 docbook-xml-44" 1.17 +TARBALL="${PACKAGE}-${VERSION}.zip" 1.18 +WEB_SITE="http://www.oasis-open.org/docbook/" 1.19 WGET_URL="http://www.docbook.org/xml/$VERSION/$TARBALL" 1.20 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + cd $src 1.25 + mkdir -p $DESTDIR/usr/share/xml/docbook/xml-dtd-${VERSION} 1.26 + cp -dRf docbook.cat *.dtd ent/ *.mod \ 1.27 + $DESTDIR/usr/share/xml/docbook/xml-dtd-${VERSION} 1.28 + 1.29 +} 1.30 + 1.31 # Rules to gen a SliTaz package suitable for Tazpkg. 1.32 genpkg_rules() 1.33 { 1.34 - install -v -d -m755 $fs/usr/share/xml/docbook/xml-dtd-$VERSION && 1.35 - install -v -d -m755 $fs/etc/xml && 1.36 - chown -R root:root . && 1.37 - cp -v -af $src/docbook.cat $src/*.dtd $src/ent/ $src/*.mod \ 1.38 - $fs/usr/share/xml/docbook/xml-dtd-$VERSION 1.39 - 1.40 - # 4.2 files needed to build at least kdelibs. 1.41 - mkdir -p $fs/usr/share/xml/docbook/xml-dtd-4.2 1.42 - cd $fs/usr/share/xml/docbook/xml-dtd-4.2 1.43 - wget http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip 1.44 - unzip docbook-xml-4.2.zip && rm docbook-xml-4.2.zip 1.45 - cd $WOK/$PACKAGE 1.46 - 1.47 - xmlcatalog --noout --create $fs/etc/xml/docbook 1.48 - xmlcatalog --noout --create $fs/etc/xml/catalog 1.49 - 1.50 - for DTDVERSION in 4.1.2 4.5 4.3 4.4 1.51 - do 1.52 - xmlcatalog --noout --add "public" \ 1.53 - "-//OASIS//DTD DocBook XML V$DTDVERSION//EN" \ 1.54 - "http://www.oasis-open.org/docbook/xml/$DTDVERSION/docbookx.dtd" \ 1.55 - $fs/etc/xml/docbook 1.56 - xmlcatalog --noout --add "rewriteSystem" \ 1.57 - "http://www.oasis-open.org/docbook/xml/$DTDVERSION" \ 1.58 - "file:///usr/share/xml/docbook/xml-dtd-$VERSION" \ 1.59 - $fs/etc/xml/docbook 1.60 - xmlcatalog --noout --add "rewriteURI" \ 1.61 - "http://www.oasis-open.org/docbook/xml/$DTDVERSION" \ 1.62 - "file:///usr/share/xml/docbook/xml-dtd-$VERSION" \ 1.63 - $fs/etc/xml/docbook 1.64 - xmlcatalog --noout --add "delegateSystem" \ 1.65 - "http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \ 1.66 - "file:///etc/xml/docbook" \ 1.67 - $fs/etc/xml/catalog 1.68 - xmlcatalog --noout --add "delegateURI" \ 1.69 - "http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \ 1.70 - "file:///etc/xml/docbook" \ 1.71 - $fs/etc/xml/catalog 1.72 - done 1.73 + mkdir -p $fs 1.74 + cp -a $_pkg/usr $fs 1.75 } 1.76 1.77 -# Pre and post install commands for Tazpkg. 1.78 post_install() 1.79 { 1.80 + root=$1 1.81 + [ -d $root/etc/xml ] || mkdir -p $root/etc/xml 1.82 + if [ -f $root/etc/xml/docbook-xml ]; then 1.83 + xmlcatalog --noout $root/etc/xml/docbook-xml 1.84 + else 1.85 + xmlcatalog --noout --create $root/etc/xml/docbook-xml 1.86 + fi 1.87 echo -n "Processing post-install commands..." 1.88 1.89 - # Add /etc/xml/docbook 1.90 - install -d -m755 $1/etc/xml 1.91 - if [ ! -e /etc/xml/docbook ]; then 1.92 - xmlcatalog --noout --create $1/etc/xml/docbook 1.93 - fi && 1.94 - xmlcatalog --noout --add "public" \ 1.95 - "-//OASIS//DTD DocBook XML V4.5//EN" \ 1.96 - "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \ 1.97 - $1/etc/xml/docbook && 1.98 - xmlcatalog --noout --add "public" \ 1.99 - "-//OASIS//DTD DocBook XML CALS Table Model V4.5//EN" \ 1.100 - "file:///usr/share/xml/docbook/xml-dtd-4.5/calstblx.dtd" \ 1.101 - $1/etc/xml/docbook && 1.102 - xmlcatalog --noout --add "public" \ 1.103 - "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ 1.104 - "file:///usr/share/xml/docbook/xml-dtd-4.5/soextblx.dtd" \ 1.105 - $1/etc/xml/docbook && 1.106 - xmlcatalog --noout --add "public" \ 1.107 - "-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" \ 1.108 - "file:///usr/share/xml/docbook/xml-dtd-4.5/dbpoolx.mod" \ 1.109 - $1/etc/xml/docbook && 1.110 - xmlcatalog --noout --add "public" \ 1.111 - "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.5//EN" \ 1.112 - "file:///usr/share/xml/docbook/xml-dtd-4.5/dbhierx.mod" \ 1.113 - $1/etc/xml/docbook && 1.114 - xmlcatalog --noout --add "public" \ 1.115 - "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" \ 1.116 - "file:///usr/share/xml/docbook/xml-dtd-4.5/htmltblx.mod" \ 1.117 - $1/etc/xml/docbook && 1.118 - xmlcatalog --noout --add "public" \ 1.119 - "-//OASIS//ENTITIES DocBook XML Notations V4.5//EN" \ 1.120 - "file:///usr/share/xml/docbook/xml-dtd-4.5/dbnotnx.mod" \ 1.121 - $1/etc/xml/docbook && 1.122 - xmlcatalog --noout --add "public" \ 1.123 - "-//OASIS//ENTITIES DocBook XML Character Entities V4.5//EN" \ 1.124 - "file:///usr/share/xml/docbook/xml-dtd-4.5/dbcentx.mod" \ 1.125 - $1/etc/xml/docbook && 1.126 - xmlcatalog --noout --add "public" \ 1.127 - "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.5//EN" \ 1.128 - "file:///usr/share/xml/docbook/xml-dtd-4.5/dbgenent.mod" \ 1.129 - $1/etc/xml/docbook && 1.130 - xmlcatalog --noout --add "rewriteSystem" \ 1.131 - "http://www.oasis-open.org/docbook/xml/4.5" \ 1.132 - "file:///usr/share/xml/docbook/xml-dtd-4.5" \ 1.133 - $1/etc/xml/docbook && 1.134 - xmlcatalog --noout --add "rewriteURI" \ 1.135 - "http://www.oasis-open.org/docbook/xml/4.5" \ 1.136 - "file:///usr/share/xml/docbook/xml-dtd-4.5" \ 1.137 - $1/etc/xml/docbook 1.138 - status 1.139 + # V4.1.2 1.140 + xmlcatalog --noout --add "public" \ 1.141 + "-//OASIS//DTD DocBook XML V4.1.2//EN" \ 1.142 + "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" \ 1.143 + "$root/etc/xml/docbook-xml" 1.144 + xmlcatalog --noout --add "public" \ 1.145 + "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \ 1.146 + "http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd" \ 1.147 + "$root/etc/xml/docbook-xml" 1.148 + xmlcatalog --noout --add "public" \ 1.149 + "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \ 1.150 + "http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd" \ 1.151 + "$root/etc/xml/docbook-xml" 1.152 + xmlcatalog --noout --add "public" \ 1.153 + "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ 1.154 + "http://www.oasis-open.org/docbook/xml/4.1.2/soextblx.dtd" \ 1.155 + "$root/etc/xml/docbook-xml" 1.156 + xmlcatalog --noout --add "public" \ 1.157 + "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" \ 1.158 + "http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod" \ 1.159 + "$root/etc/xml/docbook-xml" 1.160 + xmlcatalog --noout --add "public" \ 1.161 + "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" \ 1.162 + "http://www.oasis-open.org/docbook/xml/4.1.2/dbhierx.mod" \ 1.163 + "$root/etc/xml/docbook-xml" 1.164 + xmlcatalog --noout --add "public" \ 1.165 + "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" \ 1.166 + "http://www.oasis-open.org/docbook/xml/4.1.2/dbgenent.mod" \ 1.167 + "$root/etc/xml/docbook-xml" 1.168 + xmlcatalog --noout --add "public" \ 1.169 + "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" \ 1.170 + "http://www.oasis-open.org/docbook/xml/4.1.2/dbnotnx.mod" \ 1.171 + "${DESTDIR}/etc/xml/docbook-xml" 1.172 + xmlcatalog --noout --add "public" \ 1.173 + "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" \ 1.174 + "http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod" \ 1.175 + "$root/etc/xml/docbook-xml" 1.176 + xmlcatalog --noout --add "rewriteSystem" \ 1.177 + "http://www.oasis-open.org/docbook/xml/4.1.2" \ 1.178 + "file:///usr/share/xml/docbook/xml-dtd-4.1.2" \ 1.179 + "$root/etc/xml/docbook-xml" 1.180 + xmlcatalog --noout --add "rewriteURI" \ 1.181 + "http://www.oasis-open.org/docbook/xml/4.1.2" \ 1.182 + "file:///usr/share/xml/docbook/xml-dtd-4.1.2" \ 1.183 + "$root/etc/xml/docbook-xml" 1.184 + 1.185 + # V4.2 1.186 + xmlcatalog --noout --add "public" \ 1.187 + "-//OASIS//DTD DocBook XML V4.2//EN" \ 1.188 + "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" \ 1.189 + "$root/etc/xml/docbook-xml" 1.190 + xmlcatalog --noout --add "public" \ 1.191 + "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" \ 1.192 + "http://www.oasis-open.org/docbook/xml/4.2/calstblx.dtd" \ 1.193 + "$root/etc/xml/docbook-xml" 1.194 + xmlcatalog --noout --add "public" \ 1.195 + "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ 1.196 + "http://www.oasis-open.org/docbook/xml/4.2/soextblx.dtd" \ 1.197 + "$root/etc/xml/docbook-xml" 1.198 + xmlcatalog --noout --add "public" \ 1.199 + "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" \ 1.200 + "http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod" \ 1.201 + "$root/etc/xml/docbook-xml" 1.202 + xmlcatalog --noout --add "public" \ 1.203 + "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" \ 1.204 + "http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod" \ 1.205 + "$root/etc/xml/docbook-xml" 1.206 + xmlcatalog --noout --add "public" \ 1.207 + "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" \ 1.208 + "http://www.oasis-open.org/docbook/xml/4.2/dbgenent.mod" \ 1.209 + "$root/etc/xml/docbook-xml" 1.210 + xmlcatalog --noout --add "public" \ 1.211 + "-//OASIS//ENTITIES DocBook Notations V4.2//EN" \ 1.212 + "http://www.oasis-open.org/docbook/xml/4.2/dbnotnx.mod" \ 1.213 + "$root/etc/xml/docbook-xml" 1.214 + xmlcatalog --noout --add "public" \ 1.215 + "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" \ 1.216 + "http://www.oasis-open.org/docbook/xml/4.2/dbcentx.mod" \ 1.217 + "$root/etc/xml/docbook-xml" 1.218 + xmlcatalog --noout --add "rewriteSystem" \ 1.219 + "http://www.oasis-open.org/docbook/xml/4.2" \ 1.220 + "file:///usr/share/xml/docbook/xml-dtd-4.2" \ 1.221 + "$root/etc/xml/docbook-xml" 1.222 + xmlcatalog --noout --add "rewriteURI" \ 1.223 + "http://www.oasis-open.org/docbook/xml/4.2" \ 1.224 + "file:///usr/share/xml/docbook/xml-dtd-4.2" \ 1.225 + "$root/etc/xml/docbook-xml" 1.226 + 1.227 + # V4.3 1.228 + xmlcatalog --noout --add "public" \ 1.229 + "-//OASIS//DTD DocBook XML V4.3//EN" \ 1.230 + "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" \ 1.231 + "$root/etc/xml/docbook-xml" 1.232 + xmlcatalog --noout --add "public" \ 1.233 + "-//OASIS//DTD DocBook CALS Table Model V4.3//EN" \ 1.234 + "http://www.oasis-open.org/docbook/xml/4.3/calstblx.dtd" \ 1.235 + "$root/etc/xml/docbook-xml" 1.236 + xmlcatalog --noout --add "public" \ 1.237 + "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ 1.238 + "http://www.oasis-open.org/docbook/xml/4.3/soextblx.dtd" \ 1.239 + "$root/etc/xml/docbook-xml" 1.240 + xmlcatalog --noout --add "public" \ 1.241 + "-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN" \ 1.242 + "http://www.oasis-open.org/docbook/xml/4.3/dbpoolx.mod" \ 1.243 + "$root/etc/xml/docbook-xml" 1.244 + xmlcatalog --noout --add "public" \ 1.245 + "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.3//EN" \ 1.246 + "http://www.oasis-open.org/docbook/xml/4.3/dbhierx.mod" \ 1.247 + "$root/etc/xml/docbook-xml" 1.248 + xmlcatalog --noout --add "public" \ 1.249 + "-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN" \ 1.250 + "http://www.oasis-open.org/docbook/xml/4.3/dbgenent.mod" \ 1.251 + "$root/etc/xml/docbook-xml" 1.252 + xmlcatalog --noout --add "public" \ 1.253 + "-//OASIS//ENTITIES DocBook Notations V4.3//EN" \ 1.254 + "http://www.oasis-open.org/docbook/xml/4.3/dbnotnx.mod" \ 1.255 + "$root/etc/xml/docbook-xml" 1.256 + xmlcatalog --noout --add "public" \ 1.257 + "-//OASIS//ENTITIES DocBook Character Entities V4.3//EN" \ 1.258 + "http://www.oasis-open.org/docbook/xml/4.3/dbcentx.mod" \ 1.259 + "$root/etc/xml/docbook-xml" 1.260 + xmlcatalog --noout --add "rewriteSystem" \ 1.261 + "http://www.oasis-open.org/docbook/xml/4.3" \ 1.262 + "file:///usr/share/xml/docbook/xml-dtd-4.3" \ 1.263 + "$root/etc/xml/docbook-xml" 1.264 + xmlcatalog --noout --add "rewriteURI" \ 1.265 + "http://www.oasis-open.org/docbook/xml/4.3" \ 1.266 + "file:///usr/share/xml/docbook/xml-dtd-4.3" \ 1.267 + "$root/etc/xml/docbook-xml" 1.268 + 1.269 + # V4.4 1.270 + xmlcatalog --noout --add "public" \ 1.271 + "-//OASIS//DTD DocBook XML V4.4//EN" \ 1.272 + "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" \ 1.273 + "$root/etc/xml/docbook-xml" 1.274 + xmlcatalog --noout --add "public" \ 1.275 + "-//OASIS//DTD DocBook CALS Table Model V4.4//EN" \ 1.276 + "http://www.oasis-open.org/docbook/xml/4.4/calstblx.dtd" \ 1.277 + "$root/etc/xml/docbook-xml" 1.278 + xmlcatalog --noout --add "public" \ 1.279 + "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" \ 1.280 + "http://www.oasis-open.org/docbook/xml/4.4/htmltblx.mod" \ 1.281 + "$root/etc/xml/docbook-xml" 1.282 + xmlcatalog --noout --add "public" \ 1.283 + "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ 1.284 + "http://www.oasis-open.org/docbook/xml/4.4/soextblx.dtd" \ 1.285 + "$root/etc/xml/docbook-xml" 1.286 + xmlcatalog --noout --add "public" \ 1.287 + "-//OASIS//ELEMENTS DocBook Information Pool V4.4//EN" \ 1.288 + "http://www.oasis-open.org/docbook/xml/4.4/dbpoolx.mod" \ 1.289 + "$root/etc/xml/docbook-xml" 1.290 + xmlcatalog --noout --add "public" \ 1.291 + "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.4//EN" \ 1.292 + "http://www.oasis-open.org/docbook/xml/4.4/dbhierx.mod" \ 1.293 + "$root/etc/xml/docbook-xml" 1.294 + xmlcatalog --noout --add "public" \ 1.295 + "-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN" \ 1.296 + "http://www.oasis-open.org/docbook/xml/4.4/dbgenent.mod" \ 1.297 + "$root/etc/xml/docbook-xml" 1.298 + xmlcatalog --noout --add "public" \ 1.299 + "-//OASIS//ENTITIES DocBook Notations V4.4//EN" \ 1.300 + "http://www.oasis-open.org/docbook/xml/4.4/dbnotnx.mod" \ 1.301 + "$root/etc/xml/docbook-xml" 1.302 + xmlcatalog --noout --add "public" \ 1.303 + "-//OASIS//ENTITIES DocBook Character Entities V4.4//EN" \ 1.304 + "http://www.oasis-open.org/docbook/xml/4.4/dbcentx.mod" \ 1.305 + "$root/etc/xml/docbook-xml" 1.306 + xmlcatalog --noout --add "rewriteSystem" \ 1.307 + "http://www.oasis-open.org/docbook/xml/4.4" \ 1.308 + "file:///usr/share/xml/docbook/xml-dtd-4.4" \ 1.309 + "$root/etc/xml/docbook-xml" 1.310 + xmlcatalog --noout --add "rewriteURI" \ 1.311 + "http://www.oasis-open.org/docbook/xml/4.4" \ 1.312 + "file:///usr/share/xml/docbook/xml-dtd-4.4" \ 1.313 + "$root/etc/xml/docbook-xml" 1.314 + 1.315 + # V4.5 1.316 + xmlcatalog --noout --add "public" \ 1.317 + "-//OASIS//DTD DocBook XML V4.5//EN" \ 1.318 + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \ 1.319 + "$root/etc/xml/docbook-xml" 1.320 + xmlcatalog --noout --add "public" \ 1.321 + "-//OASIS//DTD DocBook XML CALS Table Model V4.5//EN" \ 1.322 + "file:///usr/share/xml/docbook/xml-dtd-4.5/calstblx.dtd" \ 1.323 + "$root/etc/xml/docbook-xml" 1.324 + xmlcatalog --noout --add "public" \ 1.325 + "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ 1.326 + "file:///usr/share/xml/docbook/xml-dtd-4.5/soextblx.dtd" \ 1.327 + "$root/etc/xml/docbook-xml" 1.328 + xmlcatalog --noout --add "public" \ 1.329 + "-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" \ 1.330 + "file:///usr/share/xml/docbook/xml-dtd-4.5/dbpoolx.mod" \ 1.331 + "$root/etc/xml/docbook-xml" 1.332 + xmlcatalog --noout --add "public" \ 1.333 + "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.5//EN" \ 1.334 + "file:///usr/share/xml/docbook/xml-dtd-4.5/dbhierx.mod" \ 1.335 + "$root/etc/xml/docbook-xml" 1.336 + xmlcatalog --noout --add "public" \ 1.337 + "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" \ 1.338 + "file:///usr/share/xml/docbook/xml-dtd-4.5/htmltblx.mod" \ 1.339 + "$root/etc/xml/docbook-xml" 1.340 + xmlcatalog --noout --add "public" \ 1.341 + "-//OASIS//ENTITIES DocBook XML Notations V4.5//EN" \ 1.342 + "file:///usr/share/xml/docbook/xml-dtd-4.5/dbnotnx.mod" \ 1.343 + "$root/etc/xml/docbook-xml" 1.344 + xmlcatalog --noout --add "public" \ 1.345 + "-//OASIS//ENTITIES DocBook XML Character Entities V4.5//EN" \ 1.346 + "file:///usr/share/xml/docbook/xml-dtd-4.5/dbcentx.mod" \ 1.347 + "$root/etc/xml/docbook-xml" 1.348 + xmlcatalog --noout --add "public" \ 1.349 + "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.5//EN" \ 1.350 + "file:///usr/share/xml/docbook/xml-dtd-4.5/dbgenent.mod" \ 1.351 + "$root/etc/xml/docbook-xml" 1.352 + xmlcatalog --noout --add "rewriteSystem" \ 1.353 + "http://www.oasis-open.org/docbook/xml/4.5" \ 1.354 + "file:///usr/share/xml/docbook/xml-dtd-4.5" \ 1.355 + "$root/etc/xml/docbook-xml" 1.356 + xmlcatalog --noout --add "rewriteURI" \ 1.357 + "http://www.oasis-open.org/docbook/xml/4.5" \ 1.358 + "file:///usr/share/xml/docbook/xml-dtd-4.5" \ 1.359 + "$root/etc/xml/docbook-xml" 1.360 + 1.361 + if [ -f $root/etc/xml/catalog ]; then 1.362 + xmlcatalog --noout $root/etc/xml/catalog 1.363 + else 1.364 + xmlcatalog --noout --create $root/etc/xml/catalog 1.365 + fi 1.366 + xmlcatalog --noout --add "delegatePublic" \ 1.367 + "-//OASIS//ENTITIES DocBook XML" \ 1.368 + "file:///etc/xml/docbook-xml" \ 1.369 + "$root/etc/xml/catalog" 1.370 + xmlcatalog --noout --add "delegatePublic" \ 1.371 + "-//OASIS//DTD DocBook XML" \ 1.372 + "file:///etc/xml/docbook-xml" \ 1.373 + "$root/etc/xml/catalog" 1.374 + xmlcatalog --noout --add "delegateSystem" \ 1.375 + "http://www.oasis-open.org/docbook/" \ 1.376 + "file:///etc/xml/docbook-xml" \ 1.377 + "$root/etc/xml/catalog" 1.378 + xmlcatalog --noout --add "delegateURI" \ 1.379 + "http://www.oasis-open.org/docbook/" \ 1.380 + "file:///etc/xml/docbook-xml" \ 1.381 + "$root/etc/xml/catalog" 1.382 } 1.383 1.384 +post_remove() 1.385 +{ 1.386 + root=$1 1.387 + xmlcatalog --noout --del file:///etc/xml/docbook-xml $root/etc/xml/catalog 1.388 +} 1.389 +