Unfortunately, we haven't published a release yet. However, if you don't mind, you could clone the GitHub repository and try it yourself. Here is how to do:
Clone the DAPS repository:
cd /tmp; git clone git@github.com:openSUSE/daps.git
Make sure you have aclocal, autoconf, and automake installed (and maybe some other tools). Probably you have that already.
Run ./autogen.sh to see if everything works.
Hope that works for you.
Thanks for your help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for your quick answer and help. The version from the Github repository works! Almost :-) PDF and HTML generation is perfect, but webhelp does not work. I get an ERROR
webhelp only works when a recent snapshot of the DocBook stylesheets is
installed. Your version of the DocBook styles at
/usr/share/xml/docbook/stylesheet/docbook-xsl
is not webhelp capable.
I get the same error (with another path in the error message) on a Fedora 23 system (yes, we have quite a potpourri of Linux distributions :-) ). But I think this is no subject for this thread, right!?
Thank you very much.
Best regards,
Willi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
webhelp requires at least version 1.78.1 of the DocBook stylesheets - previous versions of the stylesheet package do not have any webhelp stylesheets.
/usr/share/xml/docbook/stylesheet/docbook-xsl/VERSION.xsl
and /usr/share/xml/docbook/stylesheet/nwalsh/VERSION.xsl
on Ubuntu 15.10 both report version 1.78.1, but the docbook-xsl package does not contain the webhelp stylesheets (check with dpkg-query -L docbook-xsl | grep webhelp).
Haven't checked Fedora, yet, but I assume it is also either a version that is too old, or missing webhelp stylesheets.
Workaround:
1. Download the version 1.78.1 (not 1.79.0 !!) from here: https://sourceforge.net/projects/docbook/files/docbook-xsl/1.78.1/
2. Unpack the tarball/zip, e.g. to ~/db4/docbook-xsl-1.78.1
3. Run daps with the parameter --styleroot ~/db4/docbook-xsl-1.78.1, for example daps -d DC-foo --styleroot ~/db4/docbook-xsl-1.78.1 webhelp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to follow your workaround but it neither works under Xubuntu 15.10 nor under Fedora 23. I cloned the git repository and put everything under /tmp for testing purposes. The parameter --styleroot does not seem to work
$ cd /tmp/daps/doc
$ /tmp/daps/bin/daps -d DC-daps-user --dapsroot /tmp/daps/
--styleroot /tmp/docbook-xsl-1.78.1 webhelp
ERROR:
webhelp only works when a recent snapshot of the DocBook stylesheets is
installed. Your version of the DocBook styles at
/usr/share/sgml/docbook/xsl-stylesheets-1.78.1
is not webhelp capable.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This might (might!) be an xmlcatalog issue... We recently had some Debian fixes in that area. It is possible that this inadvertently caused issues on Ubuntu. Could you try
Re: Webhelp DAPS error above:
The error may be a bit misleading. If you take a look at what DAPS does before it gives the error message, it may become clearer:
for EXTENSION in $DOCBOOK_STYLES/extensions/webhelpindexer.jar \
$DOCBOOK_STYLES/extensions/lucene-analyzers-*.jar \
$DOCBOOK_STYLES/extensions/lucene-core-*.jar \
$DOCBOOK_STYLES/extensions/tagsoup-*.jar; do [...]
docbook-xsl (1.68.1.dfsg.1-0.1) unstable; urgency=low
* NMU
* new "upstream" tarball:
- Remove the extensions directory that contains the xalan and saxon
JAVA extensions we are missing the source for.
(closes: #331661).
(Do not forget to remove them from future new upstream versions.)
You may have to copy them into the right folder, it seems. :/
Last edit: Stefan Knorr 2015-12-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "DAPS General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion, old (read-only)"
Hello All,
I need some help installing Daps 2.1.5 on a xubuntu 15.10 system.
The configure step
./configure --prefix=/opt/daps
runs fine and without errors. Every check after
configure: ===== Checking for DocBook XSL Stylesheets...
shows a "yes".
But the make step fails with
ERROR: STYLEROOT_CMDL=file:/usr/share/xml/docbook/stylesheet/docbook-xsl: Path does not exist
The path exists
Does anyone have an idea what might be wrong? Thank you.
Best regards,
Willi
Thanks Willi for your report!
It seems it has something to do with the incorrect stripping of the "file:" suffix. As I haven't installed a recent Ubuntu yet, I couldn't test myself.
I've tried to fix that in the
sanitize_path
function. See my commit on GitHub: https://github.com/openSUSE/daps/commit/d8469856722fbb7ed8638443f832df5771de2f76Unfortunately, we haven't published a release yet. However, if you don't mind, you could clone the GitHub repository and try it yourself. Here is how to do:
Clone the DAPS repository:
cd /tmp; git clone git@github.com:openSUSE/daps.git
Make sure you have
aclocal
,autoconf
, andautomake
installed (and maybe some other tools). Probably you have that already../autogen.sh
to see if everything works.Hope that works for you.
Thanks for your help!
View and moderate all "DAPS General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion, old (read-only)"
Hello Thomas!
Thank you for your quick answer and help. The version from the Github repository works! Almost :-) PDF and HTML generation is perfect, but webhelp does not work. I get an ERROR
I get the same error (with another path in the error message) on a Fedora 23 system (yes, we have quite a potpourri of Linux distributions :-) ). But I think this is no subject for this thread, right!?
Thank you very much.
Best regards,
Willi
webhelp requires at least version 1.78.1 of the DocBook stylesheets - previous versions of the stylesheet package do not have any webhelp stylesheets.
/usr/share/xml/docbook/stylesheet/docbook-xsl/VERSION.xsl
and
/usr/share/xml/docbook/stylesheet/nwalsh/VERSION.xsl
on Ubuntu 15.10 both report version 1.78.1, but the docbook-xsl package does not contain the webhelp stylesheets (check with dpkg-query -L docbook-xsl | grep webhelp).
Haven't checked Fedora, yet, but I assume it is also either a version that is too old, or missing webhelp stylesheets.
Workaround:
1. Download the version 1.78.1 (not 1.79.0 !!) from here: https://sourceforge.net/projects/docbook/files/docbook-xsl/1.78.1/
2. Unpack the tarball/zip, e.g. to
~/db4/docbook-xsl-1.78.1
3. Run daps with the parameter
--styleroot ~/db4/docbook-xsl-1.78.1
, for exampledaps -d DC-foo --styleroot ~/db4/docbook-xsl-1.78.1 webhelp
View and moderate all "DAPS General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion, old (read-only)"
Hi,
I tried to follow your workaround but it neither works under Xubuntu 15.10 nor under Fedora 23. I cloned the git repository and put everything under /tmp for testing purposes. The parameter --styleroot does not seem to work
$ cd /tmp/daps/doc $ /tmp/daps/bin/daps -d DC-daps-user --dapsroot /tmp/daps/ --styleroot /tmp/docbook-xsl-1.78.1 webhelp ERROR: webhelp only works when a recent snapshot of the DocBook stylesheets is installed. Your version of the DocBook styles at /usr/share/sgml/docbook/xsl-stylesheets-1.78.1 is not webhelp capable.
View and moderate all "DAPS General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion, old (read-only)"
This might (might!) be an xmlcatalog issue... We recently had some Debian fixes in that area. It is possible that this inadvertently caused issues on Ubuntu. Could you try
and
Then please post the output here.
Stefan.
Last edit: Stefan Knorr 2015-12-14
View and moderate all "DAPS General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion, old (read-only)"
Re: Webhelp DAPS error above:
The error may be a bit misleading. If you take a look at what DAPS does before it gives the error message, it may become clearer:
Looking at the Ubuntu package, it seems they do not ship the extensions folder, even though it is included in the official release.
Maybe they package these extensions separately?
Wait, no, there is this
You may have to copy them into the right folder, it seems. :/
Last edit: Stefan Knorr 2015-12-17