On Thu, 16 Aug 2012, Jon Trulson wrote:

> On Fri, 17 Aug 2012, Marcin Cieslak wrote:
> 
> > We need to use mkcatdefs to build those.
> > 
> > mkcatdefs needs to be built from the open motif
> > source tree (localized/util/mkcatdefs.c)
> > and installed as:
> > 
> > cde/imports/motif/localized/util/mkcatdefs
> 
> If we had a mkcatdefs already included in cde and building, would this
> patch be neccessary?  I'm thinking not..

Yes, it is necessary because without the patch "mkcatdefs"
is not invoked at all in the "C" locale (it is so for German,
 French, etc - those locales get their Mrm.cat, Uil.cat files).

What happens without the patch is that "gencat" utility
is invoked on the .msg file and it fails because it cannot
parse symbolic set names:

$set MS_Mrm

gencat insists on having numbers here:

ln -s ../../../../imports/motif/localized/C/msg/Xm.msg Xm.msg
/usr/local/bin/ksh93 ../../../../programs/localized/util/makeMessCat  Xm.cat C
Running gencat on  ./Xm.vmsg with LANG set to C 
gencat: neither blank line nor start of a message id on line 28
 
^
gencat: neither blank line nor start of a message id on line 29
 
^
gencat: setId's must be greater than zero on line 31
$set MS_ArrowButton
chmod: ./Xm.cat: No such file or directory
 Removing  ./Xm.vmsg 

I am not a locale expert but I understand that we
still need .cat files installed even for C locale -
the installer does so for CDE programs as well
as it attempts to install those three
files as well.

//Marcin

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to