Alan Coopersmith wrote:
> Ali Bahrami wrote:
<snip>
>>
>> So given that I want to continue with athena widgets for now, my options
>> seem to be:
>>
>>         1) Just do the Nevada port, and wait for the libXaw work
>>            to get done, at which time, emacs will "just work" on
>>            OpenSolaris.
>>
>>         2) Build a private copy of libXaw, and statically link it
>>
>>         3) Examine the possibility of rebuilding the package on
>>             OpenSolaris, instead of simply using the
>>             built-on-nevada binaries.
>>
>> I could use your advice in deciding what my next step is.
> 
> I'd lean towards #1 I guess.
> 
>> While I'm here: What is the story on libXaw3d for OpenSolaris?
> 
> As far as I know, no one has requested it or thought about it.
> I don't know of any reason it wouldn't be doable, just a matter
> of finding someone with time to do it.
> 
> The Athena Widgets are mostly used only by obsolete software, since
> much better widget sets have long been available, and unlike Xaw,
> they're still maintained and not deprecated.
> 

I've done a couple of experiments since yesterday.

The first one was to get libXaw from Xorg and build it myself,
and then statically link it into emacs. This is pretty easy,
and seems to work fine (the same binary runs on Nevada and
OpenSolaris).

The second experiment was to get libXaw3d and do the same thing.
This also works, but there are two gotchas. (1) The configuration/build
is on a "good luck" basis, and (2) Although the scrollbar looks 3-D,
it has the same mouse bindings as the regular Xaw scrollbar, meaning that
you can't grab it with mouse button 1 and drag it. So it looks better, but
that can trick the user into thinking it will behave like more modern toolkits.

So I think my plan is going to be to static link the Xorg libXaw for now, and
then switch it out the moment a libXaw.so shows up on OpenSolaris. And I won't
bother with libXaw3d at all.

Does the libXaw work have a CR associated with it?

 > The Athena Widgets are mostly used only by obsolete software, since
 > much better widget sets have long been available, and unlike Xaw,
 > they're still maintained and not deprecated.

True. I'm sure emacs will eventually evolve off this in time as well.
Or more likely, someone will contribute a gtk fix for Solaris emacs.

Thanks....

- Ali



Reply via email to