OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: allanjard on August 17, 2005, 05:21:02 am
-
Hello all,
Does anyone know of any programs for pdaxrom that will let me perform xsl-fo etc transforms? The editor part is obviously just a text editor, although a specialist application would be nice as well. I couldn't see any, but there might be something I missed...
Thanks
Allan
-
Well... libxml is currently in the pdaXrom, so that's a good start. I can't imagine compiling libxslt with the SDK would be too hard... I can actually give it a shot sometime today. That gets you started...
In my three-second google search I saw "xmlroff - xmlroff (http://xmlroff.sourceforge.net/) is a free open source project based on libxml2 and other GNOME libraries. It is written in C"
Is that something that would work for you? I wonder how many gnome libraries it actually uses... if it's not much than it should be ok to compile, too.
jason
-
Hi Jason,
xmlroff certainly looks like it would probably work.
I must try and set up the SDK compiler on my machine.... (edit - I guess I can't - just looked and I don't see a cross compiler for PPC or a native on the c1000 )
Thanks
Allan
-
Ok... just tried to compile xmlroff... it has a dependency on libgnomeprint >= 2.8 but the version in pdaxrom is 2.6.2. I'm afraid if I try and compile a newer version of ligbnomeprint I might get into dependency hell and wind up compiling a good portion of gnome 2.8.
Maybe an older version supports an older libgnomeprint. I was able to compile the latest libxml2 and libxslt (xslt required an upgrade of libxml2), though.
jason
-
That's wonderful - thanks. Any chance you could post them? I just remembered that I installed Virtual PC on my powerbook ages ago (used it at the time and not since...) so I'll try installing a cross compiler on that (its getting complicated... lol). Then I'll fidget around with whatever packages I can find as well.
Thanks
A
-
That's wonderful - thanks. Any chance you could post them? I just remembered that I installed Virtual PC on my powerbook ages ago (used it at the time and not since...) so I'll try installing a cross compiler on that (its getting complicated... lol). Then I'll fidget around with whatever packages I can find as well.
Thanks
A
[div align=\"right\"][a href=\"index.php?act=findpost&pid=92301\"][{POST_SNAPBACK}][/a][/div]
Sure, I'll make an ipk sometime today. Currently they'll install to /usr/local/* which might not be best since then you'll have two libxml installations. I think I'll redo libxml to install to /usr/* so it will upgrade the existing package.
At least with libxslt you'll have xsltproc to do transforms... I'll try a few when I install it on my Z.
As for VitrualPC... sashz and laze have been talking about a livecd that would work for compiling stuff... you might just be able to boot up VirtualPC off that ISO when it comes out...? I'm not familiar with virtualpc but I know vmware will boot off an ISO image.
jason
-
Hi,
I think VirtualPC will boot a LiveCD, it certainly boots from CD for installing an OS (Windows...) so I think that is definitely my top option. I presume the compiler is gcc based, so I might have a look at setting up an environment for cross compiling in OSX as well.
Thanks very much for having a look at the xsl stuff for me - it is much appreciated!
Allan
-
Here we go:
libxml2 2.6.20 (http://www.haslup.com/libxml2_2.6.20_armv5tel.ipk)
and
libxslt 1.1.14 (http://www.haslup.com/libxslt_1.1.14_armv5tel.ipk)
They'll both install into /usr/local/* so it won't clobber your existing libxml2. I've installed them both on my C1k and ran a quick xstlproc and it worked fine without modifying my LD_LIBRARY_PATH, etc...
Let me know if you have any problems. The libxml2 package is kind of big (4mb)... I could probably split that up into a couple ipks if it's a problem. It has some sample code, manpages, include files... stuff you probably don't need/want.
jason
-
Fantastic - thank you very much. I'll give it a go on my Z when I get back home tonight. I'll let you know how I get on.
Allan