HEADSUP: lesstif replaced by motif

Jon TURNEY jon.turney@dronecode.org.uk
Mon Nov 26 12:28:00 GMT 2012

On 19/11/2012 06:50, Yaakov (Cygwin/X) wrote:
> The ("Open")Motif toolkit has finally been open-sourced (LGPL2.1), so it
> now replaces the poorly-maintained (and now unnecessary) lesstif
> implementation in the distro.
> The following maintainers have Motif-based packages which should be
> rebuilt ASAP:
> Jon TURNEY: ddd.
> Volker Quetschke: grace.
> Dr. Volker Zell: libmng, tcm, ted, XmHTML, xpdf.
> Once rebuilt, Motif-based (sub)packages will depend on libXm4.  This
> should be an API-compatible upgrade (I had no problems with those that I
> tested), but please let me know if you encounter problems rebuilding
> your packages.

I had look at rebuilding ddd with openmotif.

This shows a rather obvious problem: The initial output to the gdb window
stops before the 'ü' in "Dorothea Lütkehaus" (internally this is ISO-8859-1
encoded and presumably forms an invalid UTF-8 sequence)

This is listed in the ddd PROBLEMS file with solutions "don't use a UTF-8
locale" or "link with lesstif" :-)

(Even when built with lesstif, there are known character encoding issues e.g.
source files containing UTF-8 do not display correctly in a UTF-8 locale [1],
man/info/ddd -h are ISO-8859-1 encoded [2])

I'm not sure how to approach this.  A minimal fix might be to just replace the
ISO-8859-1 encoded strings with their ASCII equivalents (e.g. ü -> u), but
since OpenMotif apparently does now know about UTF-8, a better solution might
be to actually fix ddd, but I have no idea what would be involved.

[1] https://bugzilla.novell.com/show_bug.cgi?id=254472
[2] https://bugzilla.redhat.com/show_bug.cgi?id=648627

More information about the Cygwin-apps mailing list