You are not logged in.
Hi,
I just noticed that the current docbook-xml package, is pretty old-dated (Version 4.1.2). Consider that the latest version is 4.4.
I tried building myself a package for the latest docbook-xml release (4.4), but I noticed that it lacks from a build system, so you have to do it yourself. On the other side, docbook-xml 4.1.2, does have a build system, I guess that's why it's still on current.
I did a package myself, but I don't know if it's ok nor if it will work.
The PKGBUILD is:
pkgname=docbook-xml
pkgver=4.4
pkgrel=1
pkgdesc="A widely used XML scheme for writing documentation and help"
url="http://scrollkeeper.sourceforge.net/docbook.shtml"
depends=('libxml2')
source=(http://docbook.org/xml/4.4/docbook-xml-4.4.zip)
build() {
mkdir /usr/share/xml/docbook/xml-dtd-4.4
cd $startdir/src/
cp -r * /usr/share/xml/docbook/xml-dtd-4.4/
chmod 755 /usr/share/xml/docbook/xml-dtd-4.4/*
chmod 755 /usr/share/xml/docbook/xml-dtd-4.4/ent/*
}
Greetings.
Offline
Your PKGBUILD is not correct. The files should be placed in $startdir/pkg not directly in your system, otherwise your package will be empty. The md5sum are missing. Here is a corrected version:
pkgname=docbook-xml
pkgver=4.4
pkgrel=1
pkgdesc="A widely used XML scheme for writing documentation and help"
url="http://scrollkeeper.sourceforge.net/docbook.shtml"
depends=('libxml2')
source=(http://docbook.org/xml/4.4/docbook-xml-4.4.zip)
md5sums=('cbb04e9a700955d88c50962ef22c1634')
build() {
cd $startdir/src/
mkdir -p $startdir/pkg/usr/share/xml/docbook/xml-dtd-4.4
cp -r * $startdir/pkg/usr/share/xml/docbook/xml-dtd-4.4/
chmod 755 $startdir/pkg/usr/share/xml/docbook/xml-dtd-4.4/*
chmod 755 $startdir/pkg/usr/share/xml/docbook/xml-dtd-4.4/ent/*
}
Offline
Hi Snowman,
I just made those changes to my PKGBUILD. Thanks a lot
Now, I would like to know if the procedure the script follows, is OK(i'm not sure if that's the correct install procedure), and if you have to do some export so the system will know were to lookup for the docbook-xml files if required.
Greetings.
Offline
I don't think that it will work. The "official" Arch PKGBUILD uses the docbook sources from the scrollkeeper website where an installation script has been included. This is probably why Arch is still at version 4.1.2. The choices are to stay at 4.2.1 and wait for the official upgrade or to modify the installation script.
Offline
[...]
I did a package myself, but I don't know if it's ok nor if it will work.
=> test it, before posting to the forums!
The impossible missions are the only ones which succeed.
Offline