hrev48799 adds 2 changesets to branch 'master' old head: 78e2703a6b0598362f235f7884ad9d20290861fb new head: cf76c2945674eb14df5181099cb287e456c7c474 overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=cf76c2945674+%5E78e2703a6b05 ---------------------------------------------------------------------------- cea5e640aa30: HaikuPorts/x86_gcc2: add package for xmlto, update xslt. cf76c2945674: interface_guidelines: add a convert.sh script that uses XMLTO. Works on Linux, doesn't work on Haiku. It appears xsltproc tries to fetch the DTD and XSL stylesheets (which doesn't work, for some reason it wasn't built with HTTP support, and I can't figure out why). Even when telling it to use the preinstalled XSL & DTDs using --catalog, it still tries to download the files... [ Augustin Cavalier <waddlesplash@xxxxxxxxx> ] ---------------------------------------------------------------------------- 2 files changed, 10 insertions(+), 2 deletions(-) build/jam/repositories/HaikuPorts/x86_gcc2 | 6 ++++-- docs/interface_guidelines/convert.sh | 6 ++++++ ############################################################################ Commit: cea5e640aa3057432505f3cedc53e76dc4f20154 URL: http://cgit.haiku-os.org/haiku/commit/?id=cea5e640aa30 Author: Augustin Cavalier <waddlesplash@xxxxxxxxx> Date: Fri Feb 13 15:29:46 2015 UTC HaikuPorts/x86_gcc2: add package for xmlto, update xslt. ---------------------------------------------------------------------------- diff --git a/build/jam/repositories/HaikuPorts/x86_gcc2 b/build/jam/repositories/HaikuPorts/x86_gcc2 index 887fe93..8f9f7a0 100644 --- a/build/jam/repositories/HaikuPorts/x86_gcc2 +++ b/build/jam/repositories/HaikuPorts/x86_gcc2 @@ -237,8 +237,8 @@ RemotePackageRepository HaikuPorts libxml2-2.8.0-9 libxml2_devel-2.8.0-9 libxml2_python-2.8.0-9 - libxslt-1.1.28-2 - libxslt_devel-1.1.28-2 + libxslt-1.1.28-4 + libxslt_devel-1.1.28-4 lighttpd-1.4.35-2 lighttpd_devel-1.4.35-2 links-2.8-1 @@ -380,6 +380,7 @@ RemotePackageRepository HaikuPorts wonderbrush-2.1.2-4 wpa_supplicant-2.0-3 xcb_proto-1.6-2 + xmlto-0.0.26-1 xml_parser-2.36-1 xproto-7.0.26-2 xrick-021212-2 @@ -1018,6 +1019,7 @@ RemotePackageRepository HaikuPorts yasm youtube_dl xcb_proto + xmlto xml_parser xproto xrick ############################################################################ Revision: hrev48799 Commit: cf76c2945674eb14df5181099cb287e456c7c474 URL: http://cgit.haiku-os.org/haiku/commit/?id=cf76c2945674 Author: Augustin Cavalier <waddlesplash@xxxxxxxxx> Date: Fri Feb 13 16:26:28 2015 UTC interface_guidelines: add a convert.sh script that uses XMLTO. Works on Linux, doesn't work on Haiku. It appears xsltproc tries to fetch the DTD and XSL stylesheets (which doesn't work, for some reason it wasn't built with HTTP support, and I can't figure out why). Even when telling it to use the preinstalled XSL & DTDs using --catalog, it still tries to download the files... ---------------------------------------------------------------------------- diff --git a/docs/interface_guidelines/convert.sh b/docs/interface_guidelines/convert.sh new file mode 100755 index 0000000..ba149bb --- /dev/null +++ b/docs/interface_guidelines/convert.sh @@ -0,0 +1,6 @@ +#!/bin/bash +if [ -z "$1" ]; then + echo "Usage: $0 <format>" + exit 1 +fi +xmlto $1 index.xml --skip-validation