Browse Source

ap/docbook: Upgraded to docbook-5.1.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
882fb992c7
  1. 83
      ap/docbook/catalog.xml
  2. 4
      ap/docbook/checksums
  3. 39
      ap/docbook/docbook.SlackBuild
  4. 4
      ap/docbook/slack-desc

83
ap/docbook/catalog.xml

@ -1,33 +1,56 @@
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="public">
<public publicId="-//OASIS//DTD DocBook XML 5.0//EN" uri="file:///usr/share/xml/docbook/xml-5.0/dtd/docbook.dtd"/>
<system systemId="http://www.oasis-open.org/docbook/xml/5.0/dtd/docbook.dtd" uri="file:///usr/share/xml/docbook/xml-5.0/dtd/docbook.dtd"/>
<system systemId="http://docbook.org/xml/5.0/dtd/docbook.dtd" uri="file:///usr/share/xml/docbook/xml-5.0/dtd/docbook.dtd"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rng" uri="file:///usr/share/xml/docbook/xml-5.0/rng/docbook.rng"/>
<uri name="http://docbook.org/xml/5.0/rng/docbook.rng" uri="file:///usr/share/xml/docbook/xml-5.0/rng/docbook.rng"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng" uri="file:///usr/share/xml/docbook/xml-5.0/rng/docbookxi.rng"/>
<uri name="http://docbook.org/xml/5.0/rng/docbookxi.rng" uri="file:///usr/share/xml/docbook/xml-5.0/rng/docbookxi.rng"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rnc" uri="file:///usr/share/xml/docbook/xml-5.0/rng/docbook.rnc"/>
<uri name="http://docbook.org/xml/5.0/rng/docbook.rnc" uri="file:///usr/share/xml/docbook/xml-5.0/rng/docbook.rnc"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rnc" uri="file:///usr/share/xml/docbook/xml-5.0/rng/docbookxi.rnc"/>
<uri name="http://docbook.org/xml/5.0/rng/docbookxi.rnc" uri="file:///usr/share/xml/docbook/xml-5.0/rng/docbookxi.rnc"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.0/xsd/docbook.xsd" uri="file:///usr/share/xml/docbook/xml-5.0/xsd/docbook.xsd"/>
<uri name="http://docbook.org/xml/5.0/xsd/docbook.xsd" uri="file:///usr/share/xml/docbook/xml-5.0/xsd/docbook.xsd"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.0/xsd/docbookxi.xsd" uri="file:///usr/share/xml/docbook/xml-5.0/xsd/docbookxi.xsd"/>
<uri name="http://docbook.org/xml/5.0/xsd/docbookxi.xsd" uri="file:///usr/share/xml/docbook/xml-5.0/xsd/docbookxi.xsd"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.0/xsd/xi.xsd" uri="file:///usr/share/xml/docbook/xml-5.0/xsd/xi.xsd"/>
<uri name="http://docbook.org/xml/5.0/xsd/xi.xsd" uri="file:///usr/share/xml/docbook/xml-5.0/xsd/xi.xsd"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.0/xsd/xlink.xsd" uri="file:///usr/share/xml/docbook/xml-5.0/xsd/xlink.xsd"/>
<uri name="http://docbook.org/xml/5.0/xsd/xlink.xsd" uri="file:///usr/share/xml/docbook/xml-5.0/xsd/xlink.xsd"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.0/xsd/xml.xsd" uri="file:///usr/share/xml/docbook/xml-5.0/xsd/xml.xsd"/>
<uri name="http://docbook.org/xml/5.0/xsd/xml.xsd" uri="file:///usr/share/xml/docbook/xml-5.0/xsd/xml.xsd"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.0/sch/docbook.sch" uri="file:///usr/share/xml/docbook/xml-5.0/sch/docbook.sch"/>
<uri name="http://docbook.org/xml/5.0/sch/docbook.sch" uri="file:///usr/share/xml/docbook/xml-5.0/sch/docbook.sch"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.0/docbook.nvdl" uri="file:///usr/share/xml/docbook/xml-5.0/docbook.nvdl"/>
<uri name="http://docbook.org/xml/5.0/docbook.nvdl" uri="file:///usr/share/xml/docbook/xml-5.0/docbook.nvdl"/>
<rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl-ns/current/" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-ns-1.78.1/"/>
<rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl-ns/current/" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-ns-1.78.1/"/>
<rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl-ns/1.78.1/" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-ns-1.78.1/"/>
<rewriteSystem systemIdStartString="http://docbook.sourceforge.net/release/xsl-ns/1.78.1/" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-ns-1.78.1/"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.1/docbook.nvdl" uri="file:///usr/share/xml/docbook/xml-5.1/docbook.nvdl"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.1/rng/assembly.rnc" uri="file:///usr/share/xml/docbook/xml-5.1/rng/assembly.rnc"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.1/rng/assembly.rng" uri="file:///usr/share/xml/docbook/xml-5.1/rng/assembly.rng"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.1/rng/dbits.rnc" uri="file:///usr/share/xml/docbook/xml-5.1/rng/dbits.rnc"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.1/rng/dbits.rng" uri="file:///usr/share/xml/docbook/xml-5.1/rng/dbits.rng"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.1/rng/docbook.rnc" uri="file:///usr/share/xml/docbook/xml-5.1/rng/docbook.rnc"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.1/rng/docbook.rng" uri="file:///usr/share/xml/docbook/xml-5.1/rng/docbook.rng"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.1/rng/docbookxi.rnc" uri="file:///usr/share/xml/docbook/xml-5.1/rng/docbookxi.rnc"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.1/rng/docbookxi.rng" uri="file:///usr/share/xml/docbook/xml-5.1/rng/docbookxi.rng"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.1/sch/docbook.sch" uri="file:///usr/share/xml/docbook/xml-5.1/sch/docbook.sch"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.1/xsd/docbook.xsd" uri="file:///usr/share/xml/docbook/xml-5.1/xsd/docbook.xsd"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.1/xsd/docbookxi.xsd" uri="file:///usr/share/xml/docbook/xml-5.1/xsd/docbookxi.xsd"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.1/xsd/xi.xsd" uri="file:///usr/share/xml/docbook/xml-5.1/xsd/xi.xsd"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.1/xsd/xlink.xsd" uri="file:///usr/share/xml/docbook/xml-5.1/xsd/xlink.xsd"/>
<uri name="http://www.oasis-open.org/docbook/xml/5.1/xsd/xml.xsd" uri="file:///usr/share/xml/docbook/xml-5.1/xsd/xml.xsd"/>
<uri name="http://docbook.org/xml/5.1/docbook.nvdl" uri="file:///usr/share/xml/docbook/xml-5.1/docbook.nvdl"/>
<uri name="http://docbook.org/xml/5.1/rng/assembly.rnc" uri="file:///usr/share/xml/docbook/xml-5.1/rng/assembly.rnc"/>
<uri name="http://docbook.org/xml/5.1/rng/assembly.rng" uri="file:///usr/share/xml/docbook/xml-5.1/rng/assembly.rng"/>
<uri name="http://docbook.org/xml/5.1/rng/dbits.rnc" uri="file:///usr/share/xml/docbook/xml-5.1/rng/dbits.rnc"/>
<uri name="http://docbook.org/xml/5.1/rng/dbits.rng" uri="file:///usr/share/xml/docbook/xml-5.1/rng/dbits.rng"/>
<uri name="http://docbook.org/xml/5.1/rng/docbook.rnc" uri="file:///usr/share/xml/docbook/xml-5.1/rng/docbook.rnc"/>
<uri name="http://docbook.org/xml/5.1/rng/docbook.rng" uri="file:///usr/share/xml/docbook/xml-5.1/rng/docbook.rng"/>
<uri name="http://docbook.org/xml/5.1/rng/docbookxi.rnc" uri="file:///usr/share/xml/docbook/xml-5.1/rng/docbookxi.rnc"/>
<uri name="http://docbook.org/xml/5.1/rng/docbookxi.rng" uri="file:///usr/share/xml/docbook/xml-5.1/rng/docbookxi.rng"/>
<uri name="http://docbook.org/xml/5.1/sch/docbook.sch" uri="file:///usr/share/xml/docbook/xml-5.1/sch/docbook.sch"/>
<uri name="http://docbook.org/xml/5.1/xsd/docbook.xsd" uri="file:///usr/share/xml/docbook/xml-5.1/xsd/docbook.xsd"/>
<uri name="http://docbook.org/xml/5.1/xsd/docbookxi.xsd" uri="file:///usr/share/xml/docbook/xml-5.1/xsd/docbookxi.xsd"/>
<uri name="http://docbook.org/xml/5.1/xsd/xi.xsd" uri="file:///usr/share/xml/docbook/xml-5.1/xsd/xi.xsd"/>
<uri name="http://docbook.org/xml/5.1/xsd/xlink.xsd" uri="file:///usr/share/xml/docbook/xml-5.1/xsd/xlink.xsd"/>
<uri name="http://docbook.org/xml/5.1/xsd/xml.xsd" uri="file:///usr/share/xml/docbook/xml-5.1/xsd/xml.xsd"/>
<uri name="http://www.docbook.org/xml/5.1/docbook.nvdl" uri="file:///usr/share/xml/docbook/xml-5.1/docbook.nvdl"/>
<uri name="http://www.docbook.org/xml/5.1/rng/assembly.rnc" uri="file:///usr/share/xml/docbook/xml-5.1/rng/assembly.rnc"/>
<uri name="http://www.docbook.org/xml/5.1/rng/assembly.rng" uri="file:///usr/share/xml/docbook/xml-5.1/rng/assembly.rng"/>
<uri name="http://www.docbook.org/xml/5.1/rng/dbits.rnc" uri="file:///usr/share/xml/docbook/xml-5.1/rng/dbits.rnc"/>
<uri name="http://www.docbook.org/xml/5.1/rng/dbits.rng" uri="file:///usr/share/xml/docbook/xml-5.1/rng/dbits.rng"/>
<uri name="http://www.docbook.org/xml/5.1/rng/docbook.rnc" uri="file:///usr/share/xml/docbook/xml-5.1/rng/docbook.rnc"/>
<uri name="http://www.docbook.org/xml/5.1/rng/docbook.rng" uri="file:///usr/share/xml/docbook/xml-5.1/rng/docbook.rng"/>
<uri name="http://www.docbook.org/xml/5.1/rng/docbookxi.rnc" uri="file:///usr/share/xml/docbook/xml-5.1/rng/docbookxi.rnc"/>
<uri name="http://www.docbook.org/xml/5.1/rng/docbookxi.rng" uri="file:///usr/share/xml/docbook/xml-5.1/rng/docbookxi.rng"/>
<uri name="http://www.docbook.org/xml/5.1/sch/docbook.sch" uri="file:///usr/share/xml/docbook/xml-5.1/sch/docbook.sch"/>
<uri name="http://www.docbook.org/xml/5.1/xsd/docbook.xsd" uri="file:///usr/share/xml/docbook/xml-5.1/xsd/docbook.xsd"/>
<uri name="http://www.docbook.org/xml/5.1/xsd/docbookxi.xsd" uri="file:///usr/share/xml/docbook/xml-5.1/xsd/docbookxi.xsd"/>
<uri name="http://www.docbook.org/xml/5.1/xsd/xi.xsd" uri="file:///usr/share/xml/docbook/xml-5.1/xsd/xi.xsd"/>
<uri name="http://www.docbook.org/xml/5.1/xsd/xlink.xsd" uri="file:///usr/share/xml/docbook/xml-5.1/xsd/xlink.xsd"/>
<uri name="http://www.docbook.org/xml/5.1/xsd/xml.xsd" uri="file:///usr/share/xml/docbook/xml-5.1/xsd/xml.xsd"/>
<rewriteURI uriStartString="http://cdn.docbook.org/release/xsl/current/" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-ns-1.79.2/"/>
<rewriteSystem systemIdStartString="http://cdn.docbook.org/release/xsl-ns/current/" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-ns-1.79.2/"/>
<rewriteURI uriStartString="http://cdn.docbook.org/release/xsl/1.79.2/" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-ns-1.79.2/"/>
<rewriteSystem systemIdStartString="http://cdb.docbook.org/release/xsl/1.79.2/" rewritePrefix="/usr/share/xml/docbook/xsl-stylesheets-ns-1.79.2/"/>
</catalog>

4
ap/docbook/checksums

@ -1,2 +1,2 @@
49f274e67efdee771300cba4da1f3e4bc00be1ec docbook-5.0.zip
6a0823039b22ae0e0e9bc5ecc0dc325acdc3218f docbook-xsl-ns-1.78.1.tar.bz2
b3f3413654003c1e773360d7fc60ebb8abd0e8c9af8e7d6c4b55f124f34d1e7f docbook-v5.1-os.zip
966188d7c05fc76eaca115a55893e643dd01a3486f6368733c9ad974fcee7a26 docbook-xsl-1.79.2.tar.gz

39
ap/docbook/docbook.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2010,2011,2013 Damien Goutte-Gattat
# Copyright (C) 2010,2011,2013,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,12 +26,13 @@
# <http://docbook.sourceforge.net/>.
# Source package infos
DBVERSION=5.0
DBARCHIVE=docbook-$DBVERSION.zip
DBVERSION=5.1
DBARCHIVE=docbook-v$DBVERSION-os.zip
DBURL=http://www.docbook.org/xml/$DBVERSION/$DBARCHIVE
XSLVERSION=1.78.1
XSLARCHIVE=docbook-xsl-ns-$XSLVERSION.tar.bz2
XSLURL=http://downloads.sourceforge.net/docbook/$XSLARCHIVE
DBURL=https://docbook.org/xml/$DBVERSION/$DBARCHIVE
XSLVERSION=1.79.2
XSLARCHIVE=docbook-xsl-$XSLVERSION.tar.gz
XSLURL=https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F$XSLVERSION/$XSLARCHIVE
# Build infos
NAMEPKG=${NAMEPKG:-docbook}
@ -67,29 +68,25 @@ if [ ! -r $XSLARCHIVE ]; then
wget -c -O $XSLARCHIVE.part "$XSLURL"
mv $XSLARCHIVE.part $XSLARCHIVE
fi
sha1sum -c checksums
sha256sum -c checksums
# Install DocBook schemas
cd $TMP
mkdir -p $TMP/docbook-$DBVERSION
cd $TMP/docbook-$DBVERSION
unzip $CWD/$DBARCHIVE
cd docbook-$DBVERSION
mkdir -p $PKG/usr/share/xml/docbook/xml-$DBVERSION
install -m 644 docbook.nvdl $PKG/usr/share/xml/docbook/xml-$DBVERSION
cp -a dtd rng sch tools xsd $PKG/usr/share/xml/docbook/xml-$DBVERSION
mkdir -p $PKG/usr/share/xml/docbook
cp -a schemas $PKG/usr/share/xml/docbook-$DBVERSION
mkdir -p $PKG/usr/doc/docbook-$DBVERSION
install -m 644 ChangeLog $PKG/usr/doc/docbook-$DBVERSION
cp -a docs $PKG/usr/doc/docbook-$DBVERSION
mkdir -p $PKG/etc/xml $PKG/usr/share/xml/docbook \
$PKG/usr/doc/docbook-$DBVERSION
install -m 644 docbook-v$DBVERSION-os.pdf $PKG/usr/doc/docbook-$DBVERSION
# Install XSL stylesheets
cd $TMP
tar xf $CWD/$XSLARCHIVE
cd docbook-xsl-ns-$XSLVERSION
cd docbook-xsl-$XSLVERSION
mkdir -p $PKG/usr/share/xml/docbook/xsl-stylesheets-ns-$XSLVERSION
cp -a common eclipse epub extensions fo highlighting html htmlhelp \
images javahelp lib manpages params profiling roundtrip slides \
template tools webhelp website xhtml xhtml-1_1 VERSION{,.xsl} \
cp -a assembly common eclipse epub epub3 extensions fo highlighting html \
htmlhelp images javahelp lib manpages params profiling roundtrip \
slides template tools webhelp website xhtml xhtml-1_1 xhtml5 VERSION{,.xsl} \
$PKG/usr/share/xml/docbook/xsl-stylesheets-ns-$XSLVERSION
install -m 644 AUTHORS BUGS COPYING NEWS* README RELEASE-NOTES* \
TODO $PKG/usr/doc/docbook-$DBVERSION
@ -109,7 +106,7 @@ chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/docbook-$DBVERSION
rm -rf $TMP/docbook-xsl-ns-$XSLVERSION
rm -rf $TMP/docbook-xsl-$XSLVERSION
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot

4
ap/docbook/slack-desc

@ -1,8 +1,8 @@
|-----handy-ruler------------------------------------------------------|
docbook: docbook (DocBook 5.0 schemas and stylesheets)
docbook: docbook (DocBook 5.1 schemas and stylesheets)
docbook:
docbook: This package provides RelaxNG/Schematron schemas for DocBook version
docbook: 5.0 and the corresponding namespace-enabled XSL stylesheets.
docbook: 5.1 and the corresponding namespace-enabled XSL stylesheets.
docbook:
docbook:
docbook:

Loading…
Cancel
Save