[haiku-commits] Re: haiku: hrev48799 - docs/interface_guidelines build/jam/repositories/HaikuPorts

  • From: Adrien Destugues <pulkomandy@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 15 Feb 2015 18:41:57 +0100

On Fri, Feb 13, 2015 at 05:30:20PM +0100, waddlesplash@xxxxxxxxx wrote:
> 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...

The XML catalogs as they are done now in the recipes for the XSL and DTD
won't work as is. libxml needs its catalogs all in a single file. You
can see one way to do that in the gtk_tdoc recipe.

Probably the calls to xmlcatalog to generate the catalogs should be
moved to post-install scripts, but then I'm not sure how to handle
uninstallation.

I have tried to patch libxml to allow the catalogs to be stored in a
directory but I think I never completed that patch. I think it would be
a cleaner way to solve that problem.

-- 
Adrien.

Other related posts: