Hello All,
Just reporting back to the kermunniti about New Ted (Ted v2.23) on IRIX.
Over the past few weeks I've been in touch with its developer and he's been looking at the bugs I was seeing on IRIX. Turns out that the main culprit is the IRIX system iconv which is missing the 1252 codepage. This codepage just happens to be the default for RTF, which is what Ted uses as its native dataformat. The developer has a hack in place to fallback to the ISO-8859-1 codepage which IRIX iconv does support natively. That said, he's unhappy with it so he hasn't released it. When he gets back from vacation he'll be looking into a more permanent fix.
In the meantime I thought I'd share my kwikfixes for compiling New Ted on IRIX. It's from memory so I might have missed something.
1. Get GNU iconv off ftp.gnu.org and compile/install it. I did not check the nekoware version coz unlike Hamei I have a house rule that says this stuff goes into /usr/local/
2. Make sure your IRIX box has access to:
- Freetype2
- Xft
- Fontconfig
- libRender
- PCRE
- GCC
I probably missed one or two other dependencies but this list should get you started.
3. In the ./Ted source directory you'll need to replace
Ted/tedListTool.c
Ted/tedInput.c
with the ones I've attached to this post. They contain my hack for the X11 keysyms #include bug on IRIX. Once the developer gets back from holiday we'll get a proper fix in place for this too.
4. Run a 'configure' with the switches you need to point to /usr/nekoware/* and/or /usr/local/*. The compile run should work fine till you get to the link stage when IRIX ld will do the o32/n32 complaining that it does... Just dive into ./Ted/makefile and find the definitions of:
MOTIF_STATIC_LIBS=
MOTIF_SHARED_LIBS=
and change /usr/lib to /usr/lib32. Then call 'make' again to complete the compilation of Ted.
5. Run 'make private' and all being well-ish you'll end up with a binary that does word processing on IRIX with a Motif UI and modern font handling. Drop any TTF/OTF font into a directory that fontconfig keeps track of on your system and hey presto - it's available for use in yer Motif word processor. nom nom nom.
Enjoy,
J.
PS. If you do get New Ted up and running well enough to send Pymbles' granny a letter, you might also want to drop the Ted developer a Thank You email. After all, this is Motif software that does something useful and has a living, breathing developer behind it. Recently I've seen more hens teeth, unicorns and flying pigs.
He's particular about having his email posted freely wrt. junk-email, so get the details here:
http://www.nllgg.nl/Ted/