[Xastir] RE: Xastir and Slackware Slax

Tom Russo russo at bogodyn.org
Sun Mar 23 18:04:37 EDT 2008


On Sun, Mar 23, 2008 at 02:58:26PM -0500, we recorded a bogon-computron collision of the <lee.bengston at gmail.com> flavor, containing:
> On Sun, Mar 23, 2008 at 7:36 AM, Tony Hunt <wavetel at internode.on.net> wrote:
> 
> > Well here we go again.. Ive got xastir going.. I used the Slackware
> > pkgtool
> > and loaded Openmotif 2.3.0 for Slackw 12 and ImageMagick 6.3.3 also.
> >
> > Xastir compiles and runs but has a strange problem that I have not seen
> > before.
> > The Menu texts are missing. There are just small boxes in place of the
> > Text
> > on all menus. making it a real memory test to drive xastir. What is this
> > issue ?
> 
> 
> There's a known bug in OpenMotif 2.3, and it sounds like that is what you
> have run into.  From what I have seen, version 2.2.3 and 2.2.4 work fine,
> but I have never tried 2.2.2.  Where did you find the Slackware package for
> OpenMotif 2.2.2?  I never found a Slackware package for OpenMotif when I
> making Xastir work with VectorLinux 5.9.  Is there perhaps a 2.2.3 version
> where that came from?  If all else fails you may want to try Lesstif.
> That's what I did to make things work on Vector - a few minor text issues
> with some menu items, but nothing major.

Last November I googled a bunch and found that there is a known bug in 
OpenMotif 2.3:

 http://bugs.motifzone.net/show_bug.cgi?id=1381
(this bug is still opened)

By looking at the duplicate bug report:
  http://bugs.motifzone.net/show_bug.cgi?id=1360
I found a suggested work-around, involving tweaking
the font renderer with an X resource hack.  This *might* work, and I posted
it back in November for those who might actually have this issue (I've 
never installed motif 2.3 so have no way of testing):
-----------
On Mon, Nov 12, 2007 at 03:49:04PM -0700, we recorded a bogon-computron collision of the <russo at bogodyn.org> flavor, containing:
> On Mon, Nov 12, 2007 at 02:54:24PM -0700, we recorded a bogon-computron collision of the <russo at bogodyn.org> flavor, containing:
> > On Thu, Nov 08, 2007 at 11:25:02PM -0500, we recorded a bogon-computron collision of the <rtg at aapsc.com> flavor, containing:
> > [missing fonts with recent versions of openmotif]
> > > 
> > >   I know the developers have been saying this is a bug in the motif 
> > > libraries, but I don't see this artifact in any other applications which 
> > > depend on those same libraries, so there must be some component of coding 
> > > style involved as well...
> > 
> > I just spent ten minutes googling the issue and found this:
> > 
> > http://bugs.motifzone.net/show_bug.cgi?id=1381
> > 
> > Turns out that there *is* a bug in openmotif related to labels and such that
> > are set to insensitive with the XtSetSensitive function.  We use that all
> > over the place.  They claim to have it fixed, but the fix is ifdef'd, meanin
g
> > you'd have to recompile openmotif from source with that symbol defined.
> 
[...]
> 
> The relevant resource looks like it would be the one that sets the FontType
> in the render table, but I don't know how much of the other parts of the 
> example resource file in that bug report would be necessary to get the job
> done in Xastir.  I would think it was just the one line, but not sure.
> 
> If someone with time could read through 
> http://www.ist.co.uk/motif/books/vol6A/ch-25.fm.html
> and see if they can make heads or tails of it enough to try something, that
> would probably be of benefit to the community.

It looks like if one were to create a resource file, say, "resource.test" with:
*.fontType: FONT_IS_FONT

in it, then make xastir use it by running:

XENVIRONMENT=`pwd`/resource.test /usr/local/bin/xastir

then perhaps the issue might clear up.  Could someone try it?

-- 
Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236 AHTB#1 http://kevan.org/brain.cgi?DDTNM
"And, isn't sanity really just a one-trick pony anyway? I mean all you get is
 one trick, rational thinking, but when you're good and crazy, oooh, oooh,
 oooh, the sky is the limit!"  --- The Tick



More information about the Xastir mailing list