[arch-commits] Commit in docbook-xml/repos/extra-any (6 files)

Pierre Schmitz pierre at archlinux.org
Sat Feb 25 02:07:27 EST 2012


    Date: Saturday, February 25, 2012 @ 02:07:26
  Author: pierre
Revision: 151188

archrelease: copy trunk to extra-any

Added:
  docbook-xml/repos/extra-any/LICENSE
    (from rev 151187, docbook-xml/trunk/LICENSE)
  docbook-xml/repos/extra-any/PKGBUILD
    (from rev 151187, docbook-xml/trunk/PKGBUILD)
  docbook-xml/repos/extra-any/docbook-xml.install
    (from rev 151187, docbook-xml/trunk/docbook-xml.install)
Deleted:
  docbook-xml/repos/extra-any/LICENSE
  docbook-xml/repos/extra-any/PKGBUILD
  docbook-xml/repos/extra-any/docbook-xml.install

---------------------+
 LICENSE             |   48 ++--
 PKGBUILD            |  546 +++++++++++++++++++++++++-------------------------
 docbook-xml.install |   88 +++-----
 3 files changed, 339 insertions(+), 343 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2012-02-25 07:07:07 UTC (rev 151187)
+++ LICENSE	2012-02-25 07:07:26 UTC (rev 151188)
@@ -1,24 +0,0 @@
-     Copyright 1992-2006 HaL Computer Systems, Inc.,
-     O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
-     Corporation, Norman Walsh, Sun Microsystems, Inc., and the
-     Organization for the Advancement of Structured Information
-     Standards (OASIS).
-
-     See also http://docbook.org/specs/
-
-     Permission to use, copy, modify and distribute the DocBook XML DTD
-     and its accompanying documentation for any purpose and without fee
-     is hereby granted in perpetuity, provided that the above copyright
-     notice and this paragraph appear in all copies.  The copyright
-     holders make no representation about the suitability of the DTD for
-     any purpose.  It is provided "as is" without expressed or implied
-     warranty.
-
-     If you modify the DocBook DTD in any way, except for declaring and
-     referencing additional sets of general entities and declaring
-     additional notations, label your DTD as a variant of DocBook.  See
-     the maintenance documentation for more information.
-
-     Please direct all questions, bug reports, or suggestions for
-     changes to the docbook at lists.oasis-open.org mailing list. For more
-     information, see http://www.oasis-open.org/docbook/.

Copied: docbook-xml/repos/extra-any/LICENSE (from rev 151187, docbook-xml/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2012-02-25 07:07:26 UTC (rev 151188)
@@ -0,0 +1,24 @@
+     Copyright 1992-2006 HaL Computer Systems, Inc.,
+     O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
+     Corporation, Norman Walsh, Sun Microsystems, Inc., and the
+     Organization for the Advancement of Structured Information
+     Standards (OASIS).
+
+     See also http://docbook.org/specs/
+
+     Permission to use, copy, modify and distribute the DocBook XML DTD
+     and its accompanying documentation for any purpose and without fee
+     is hereby granted in perpetuity, provided that the above copyright
+     notice and this paragraph appear in all copies.  The copyright
+     holders make no representation about the suitability of the DTD for
+     any purpose.  It is provided "as is" without expressed or implied
+     warranty.
+
+     If you modify the DocBook DTD in any way, except for declaring and
+     referencing additional sets of general entities and declaring
+     additional notations, label your DTD as a variant of DocBook.  See
+     the maintenance documentation for more information.
+
+     Please direct all questions, bug reports, or suggestions for
+     changes to the docbook at lists.oasis-open.org mailing list. For more
+     information, see http://www.oasis-open.org/docbook/.

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-25 07:07:07 UTC (rev 151187)
+++ PKGBUILD	2012-02-25 07:07:26 UTC (rev 151188)
@@ -1,273 +0,0 @@
-# $Id$
-# Maintainer: dorphell <dorphell at archlinux.org>
-# Committer: Judd Vinet <jvinet at zeroflux.org>
-
-pkgname=docbook-xml
-pkgver=4.5
-pkgrel=4
-pkgdesc="A widely used XML scheme for writing documentation and help"
-arch=(any)
-url="http://www.oasis-open.org/docbook/"
-license=('MIT')
-depends=('libxml2')
-install=docbook-xml.install
-source=(http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip
-        http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip
-        http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip
-        http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip
-        http://www.docbook.org/xml/4.1.2/docbkx412.zip
-        LICENSE)
-noextract=('docbook-xml-4.5.zip' 'docbook-xml-4.4.zip' 'docbook-xml-4.3.zip' 'docbook-xml-4.2.zip' 'docbkx412.zip')
-md5sums=('03083e288e87a7e829e437358da7ef9e'
-         'cbb04e9a700955d88c50962ef22c1634'
-         'ab200202b9e136a144db1e0864c45074'
-         '73fe50dfe74ca631c1602f558ed8961f'
-         '900d7609fb7e6d78901b357e4acfbc17'
-         '50e1eea70bc071b812e963e65af6707e')
-
-build() {
-  for ver in 4.2 4.3 4.4 4.5; do
-    mkdir docbook-xml-${ver}
-    pushd docbook-xml-${ver}
-    bsdtar xf "${srcdir}/docbook-xml-${ver}.zip"
-    mkdir -p "${pkgdir}/usr/share/xml/docbook/xml-dtd-${ver}"
-    cp -dRf docbook.cat *.dtd ent/ *.mod \
-        "${pkgdir}/usr/share/xml/docbook/xml-dtd-${ver}/" || return 1
-    popd
-  done
-  mkdir docbook-xml-4.1.2
-  pushd docbook-xml-4.1.2
-  bsdtar xf "${srcdir}/docbkx412.zip"
-  mkdir -p "${pkgdir}/usr/share/xml/docbook/xml-dtd-4.1.2"
-  cp -dRf docbook.cat *.dtd ent/ *.mod \
-      "${pkgdir}/usr/share/xml/docbook/xml-dtd-4.1.2/" || return 1
-  popd
-
-  mkdir -p "${pkgdir}/etc/xml"
-  xmlcatalog --noout --create "${pkgdir}/etc/xml/docbook-xml" || return 1
-
-  # V4.1.2
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//DTD DocBook XML V4.1.2//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.1.2/soextblx.dtd" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.1.2/dbhierx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.1.2/dbgenent.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.1.2/dbnotnx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "rewriteSystem" \
-    "http://www.oasis-open.org/docbook/xml/4.1.2" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.1.2" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "rewriteURI" \
-    "http://www.oasis-open.org/docbook/xml/4.1.2" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.1.2" \
-    "${pkgdir}/etc/xml/docbook-xml"
-
-  # V4.2
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//DTD DocBook XML V4.2//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.2/calstblx.dtd" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.2/soextblx.dtd" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.2/dbgenent.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ENTITIES DocBook Notations V4.2//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.2/dbnotnx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.2/dbcentx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "rewriteSystem" \
-    "http://www.oasis-open.org/docbook/xml/4.2" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.2" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "rewriteURI" \
-    "http://www.oasis-open.org/docbook/xml/4.2" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.2" \
-    "${pkgdir}/etc/xml/docbook-xml"
-
-  # V4.3
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//DTD DocBook XML V4.3//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//DTD DocBook CALS Table Model V4.3//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.3/calstblx.dtd" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.3/soextblx.dtd" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.3/dbpoolx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.3//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.3/dbhierx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.3/dbgenent.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ENTITIES DocBook Notations V4.3//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.3/dbnotnx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ENTITIES DocBook Character Entities V4.3//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.3/dbcentx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "rewriteSystem" \
-    "http://www.oasis-open.org/docbook/xml/4.3" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.3" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "rewriteURI" \
-    "http://www.oasis-open.org/docbook/xml/4.3" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.3" \
-    "${pkgdir}/etc/xml/docbook-xml"
-
-  # V4.4
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//DTD DocBook XML V4.4//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//DTD DocBook CALS Table Model V4.4//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.4/calstblx.dtd" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.4/htmltblx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.4/soextblx.dtd" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ELEMENTS DocBook Information Pool V4.4//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.4/dbpoolx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.4//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.4/dbhierx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.4/dbgenent.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ENTITIES DocBook Notations V4.4//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.4/dbnotnx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ENTITIES DocBook Character Entities V4.4//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.4/dbcentx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "rewriteSystem" \
-    "http://www.oasis-open.org/docbook/xml/4.4" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.4" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "rewriteURI" \
-    "http://www.oasis-open.org/docbook/xml/4.4" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.4" \
-    "${pkgdir}/etc/xml/docbook-xml"
-
-  # V4.5
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//DTD DocBook XML V4.5//EN" \
-    "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//DTD DocBook XML CALS Table Model V4.5//EN" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.5/calstblx.dtd" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.5/soextblx.dtd" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.5/dbpoolx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.5//EN" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.5/dbhierx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.5/htmltblx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ENTITIES DocBook XML Notations V4.5//EN" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.5/dbnotnx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ENTITIES DocBook XML Character Entities V4.5//EN" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.5/dbcentx.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "public" \
-    "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.5//EN" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.5/dbgenent.mod" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "rewriteSystem" \
-    "http://www.oasis-open.org/docbook/xml/4.5" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.5" \
-    "${pkgdir}/etc/xml/docbook-xml"
-  xmlcatalog --noout --add "rewriteURI" \
-    "http://www.oasis-open.org/docbook/xml/4.5" \
-    "file:///usr/share/xml/docbook/xml-dtd-4.5" \
-    "${pkgdir}/etc/xml/docbook-xml"
-
-# license
-  install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: docbook-xml/repos/extra-any/PKGBUILD (from rev 151187, docbook-xml/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2012-02-25 07:07:26 UTC (rev 151188)
@@ -0,0 +1,273 @@
+# $Id$
+# Maintainer: dorphell <dorphell at archlinux.org>
+# Committer: Judd Vinet <jvinet at zeroflux.org>
+
+pkgname=docbook-xml
+pkgver=4.5
+pkgrel=5
+pkgdesc="A widely used XML scheme for writing documentation and help"
+arch=('any')
+url="http://www.oasis-open.org/docbook/"
+license=('MIT')
+depends=('libxml2')
+install=docbook-xml.install
+source=('http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip'
+        'http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip'
+        'http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip'
+        'http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip'
+        'http://www.docbook.org/xml/4.1.2/docbkx412.zip'
+        'LICENSE')
+noextract=('docbook-xml-4.5.zip' 'docbook-xml-4.4.zip' 'docbook-xml-4.3.zip' 'docbook-xml-4.2.zip' 'docbkx412.zip')
+md5sums=('03083e288e87a7e829e437358da7ef9e'
+         'cbb04e9a700955d88c50962ef22c1634'
+         'ab200202b9e136a144db1e0864c45074'
+         '73fe50dfe74ca631c1602f558ed8961f'
+         '900d7609fb7e6d78901b357e4acfbc17'
+         '50e1eea70bc071b812e963e65af6707e')
+
+package() {
+  for ver in 4.2 4.3 4.4 4.5; do
+    mkdir docbook-xml-${ver}
+    pushd docbook-xml-${ver}
+    bsdtar xf "${srcdir}/docbook-xml-${ver}.zip"
+    mkdir -p "${pkgdir}/usr/share/xml/docbook/xml-dtd-${ver}"
+    cp -dRf docbook.cat *.dtd ent/ *.mod \
+        "${pkgdir}/usr/share/xml/docbook/xml-dtd-${ver}/"
+    popd
+  done
+  mkdir docbook-xml-4.1.2
+  pushd docbook-xml-4.1.2
+  bsdtar xf "${srcdir}/docbkx412.zip"
+  mkdir -p "${pkgdir}/usr/share/xml/docbook/xml-dtd-4.1.2"
+  cp -dRf docbook.cat *.dtd ent/ *.mod \
+      "${pkgdir}/usr/share/xml/docbook/xml-dtd-4.1.2/"
+  popd
+
+  mkdir -p "${pkgdir}/etc/xml"
+  xmlcatalog --noout --create "${pkgdir}/etc/xml/docbook-xml"
+
+  # V4.1.2
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//DTD DocBook XML V4.1.2//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.1.2/soextblx.dtd" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.1.2/dbhierx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.1.2/dbgenent.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.1.2/dbnotnx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "rewriteSystem" \
+    "http://www.oasis-open.org/docbook/xml/4.1.2" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.1.2" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "rewriteURI" \
+    "http://www.oasis-open.org/docbook/xml/4.1.2" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.1.2" \
+    "${pkgdir}/etc/xml/docbook-xml"
+
+  # V4.2
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//DTD DocBook XML V4.2//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.2/calstblx.dtd" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.2/soextblx.dtd" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.2/dbgenent.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ENTITIES DocBook Notations V4.2//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.2/dbnotnx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.2/dbcentx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "rewriteSystem" \
+    "http://www.oasis-open.org/docbook/xml/4.2" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.2" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "rewriteURI" \
+    "http://www.oasis-open.org/docbook/xml/4.2" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.2" \
+    "${pkgdir}/etc/xml/docbook-xml"
+
+  # V4.3
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//DTD DocBook XML V4.3//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//DTD DocBook CALS Table Model V4.3//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.3/calstblx.dtd" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.3/soextblx.dtd" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.3/dbpoolx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.3//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.3/dbhierx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.3/dbgenent.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ENTITIES DocBook Notations V4.3//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.3/dbnotnx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ENTITIES DocBook Character Entities V4.3//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.3/dbcentx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "rewriteSystem" \
+    "http://www.oasis-open.org/docbook/xml/4.3" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.3" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "rewriteURI" \
+    "http://www.oasis-open.org/docbook/xml/4.3" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.3" \
+    "${pkgdir}/etc/xml/docbook-xml"
+
+  # V4.4
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//DTD DocBook XML V4.4//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//DTD DocBook CALS Table Model V4.4//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.4/calstblx.dtd" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.4/htmltblx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.4/soextblx.dtd" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ELEMENTS DocBook Information Pool V4.4//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.4/dbpoolx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.4//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.4/dbhierx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.4/dbgenent.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ENTITIES DocBook Notations V4.4//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.4/dbnotnx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ENTITIES DocBook Character Entities V4.4//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.4/dbcentx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "rewriteSystem" \
+    "http://www.oasis-open.org/docbook/xml/4.4" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.4" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "rewriteURI" \
+    "http://www.oasis-open.org/docbook/xml/4.4" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.4" \
+    "${pkgdir}/etc/xml/docbook-xml"
+
+  # V4.5
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//DTD DocBook XML V4.5//EN" \
+    "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//DTD DocBook XML CALS Table Model V4.5//EN" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.5/calstblx.dtd" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.5/soextblx.dtd" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.5/dbpoolx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.5//EN" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.5/dbhierx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.5/htmltblx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ENTITIES DocBook XML Notations V4.5//EN" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.5/dbnotnx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ENTITIES DocBook XML Character Entities V4.5//EN" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.5/dbcentx.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "public" \
+    "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.5//EN" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.5/dbgenent.mod" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "rewriteSystem" \
+    "http://www.oasis-open.org/docbook/xml/4.5" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.5" \
+    "${pkgdir}/etc/xml/docbook-xml"
+  xmlcatalog --noout --add "rewriteURI" \
+    "http://www.oasis-open.org/docbook/xml/4.5" \
+    "file:///usr/share/xml/docbook/xml-dtd-4.5" \
+    "${pkgdir}/etc/xml/docbook-xml"
+
+# license
+  install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Deleted: docbook-xml.install
===================================================================
--- docbook-xml.install	2012-02-25 07:07:07 UTC (rev 151187)
+++ docbook-xml.install	2012-02-25 07:07:26 UTC (rev 151188)
@@ -1,46 +0,0 @@
-post_install() {
-  if [ -e etc/xml/catalog.preserve ]; then
-    mv etc/xml/catalog.preserve etc/xml/catalog
-  elif [ ! -e etc/xml/catalog ]; then
-    xmlcatalog --noout --create etc/xml/catalog
-  fi
-  xmlcatalog --noout --add "delegatePublic" \
-    "-//OASIS//ENTITIES DocBook XML" \
-    "file:///etc/xml/docbook-xml" \
-    etc/xml/catalog
-  xmlcatalog --noout --add "delegatePublic" \
-    "-//OASIS//DTD DocBook XML" \
-    "file:///etc/xml/docbook-xml" \
-    etc/xml/catalog
-  xmlcatalog --noout --add "delegateSystem" \
-    "http://www.oasis-open.org/docbook/" \
-    "file:///etc/xml/docbook-xml" \
-    etc/xml/catalog
-  xmlcatalog --noout --add "delegateURI" \
-    "http://www.oasis-open.org/docbook/" \
-    "file:///etc/xml/docbook-xml" \
-    etc/xml/catalog
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-pre_upgrade() {
-  if [ $(vercmp $2 4.5) -lt 0 ]; then
-    xmlcatalog --del "file:///etc/xml/docbook" etc/xml/catalog > etc/xml/catalog.preserve
-  fi
-}
-
-post_upgrade() {
-  if [ $(vercmp $2 4.5) -ge 0 ]; then
-    post_remove
-  fi
-  post_install
-}
-
-post_remove() {
-  xmlcatalog --noout --del file:///etc/xml/docbook-xml etc/xml/catalog
-}
-
-op=$1
-shift
-$op $*

Copied: docbook-xml/repos/extra-any/docbook-xml.install (from rev 151187, docbook-xml/trunk/docbook-xml.install)
===================================================================
--- docbook-xml.install	                        (rev 0)
+++ docbook-xml.install	2012-02-25 07:07:26 UTC (rev 151188)
@@ -0,0 +1,42 @@
+post_install() {
+  if [ -e etc/xml/catalog.preserve ]; then
+    mv etc/xml/catalog.preserve etc/xml/catalog
+  elif [ ! -e etc/xml/catalog ]; then
+    xmlcatalog --noout --create etc/xml/catalog
+  fi
+  xmlcatalog --noout --add "delegatePublic" \
+    "-//OASIS//ENTITIES DocBook XML" \
+    "file:///etc/xml/docbook-xml" \
+    etc/xml/catalog
+  xmlcatalog --noout --add "delegatePublic" \
+    "-//OASIS//DTD DocBook XML" \
+    "file:///etc/xml/docbook-xml" \
+    etc/xml/catalog
+  xmlcatalog --noout --add "delegateSystem" \
+    "http://www.oasis-open.org/docbook/" \
+    "file:///etc/xml/docbook-xml" \
+    etc/xml/catalog
+  xmlcatalog --noout --add "delegateURI" \
+    "http://www.oasis-open.org/docbook/" \
+    "file:///etc/xml/docbook-xml" \
+    etc/xml/catalog
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+pre_upgrade() {
+  if [ $(vercmp $2 4.5) -lt 0 ]; then
+    xmlcatalog --del "file:///etc/xml/docbook" etc/xml/catalog > etc/xml/catalog.preserve
+  fi
+}
+
+post_upgrade() {
+  if [ $(vercmp $2 4.5) -ge 0 ]; then
+    post_remove
+  fi
+  post_install
+}
+
+post_remove() {
+  xmlcatalog --noout --del file:///etc/xml/docbook-xml etc/xml/catalog
+}



More information about the arch-commits mailing list