![]() ![]() |
Aug 17 2005, 01:21 AM
Post
#1
|
|
|
Group: Members Posts: 48 Joined: 13-March 05 Member No.: 6,624 |
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 |
|
|
|
Aug 17 2005, 06:56 AM
Post
#2
|
|
|
Group: Members Posts: 115 Joined: 20-November 03 Member No.: 968 |
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 |
|
|
|
Aug 17 2005, 08:20 AM
Post
#3
|
|
|
Group: Members Posts: 48 Joined: 13-March 05 Member No.: 6,624 |
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 |
|
|
|
Aug 17 2005, 10:00 AM
Post
#4
|
|
|
Group: Members Posts: 115 Joined: 20-November 03 Member No.: 968 |
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 |
|
|
|
Aug 18 2005, 12:58 AM
Post
#5
|
|
|
Group: Members Posts: 48 Joined: 13-March 05 Member No.: 6,624 |
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 |
|
|
|
Aug 18 2005, 07:14 AM
Post
#6
|
|
|
Group: Members Posts: 115 Joined: 20-November 03 Member No.: 968 |
QUOTE(allanjard @ Aug 18 2005, 12:58 AM) 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 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 |
|
|
|
Aug 18 2005, 07:38 AM
Post
#7
|
|
|
Group: Members Posts: 48 Joined: 13-March 05 Member No.: 6,624 |
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 |
|
|
|
Aug 18 2005, 08:31 AM
Post
#8
|
|
|
Group: Members Posts: 115 Joined: 20-November 03 Member No.: 968 |
Here we go:
libxml2 2.6.20 and libxslt 1.1.14 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 |
|
|
|
Aug 18 2005, 10:44 AM
Post
#9
|
|
|
Group: Members Posts: 48 Joined: 13-March 05 Member No.: 6,624 |
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 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 11:41 PM |