This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: HEADSUP: lesstif replaced by motif
- From: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- To: cygwin-apps at cygwin dot com
- Date: Mon, 26 Nov 2012 12:28:42 +0000
- Subject: Re: HEADSUP: lesstif replaced by motif
- References: <1353307836.7220.25.camel@YAAKOV04>
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