At 1:49 PM +0200 4/5/02, Martin Costabel wrote:
>
>mkdir /sw/src/root-gtk+-1.2.10-9/sw/share/locale/es
>mkdir /sw/src/root-gtk+-1.2.10-9/sw/share/locale/es/LC_MESSAGES
>installing es.gmo as 
>/sw/src/root-gtk+-1.2.10-9/sw/share/locale/es/LC_MESSAGES/gtk+.mo
>
>in my build log, and all these files end up in share/locale.


Aha! I figured it out.. i believe i'd call it a bug in the info files:

To save disk space and compile time, i had put the following in my 
.tchrc, per docs i had read on the web:

setenv LINGUAS=en_US

This will prevent the locale stuff from installing any locales other 
than en_US. (i don't need all the other langs)

Hence the configure generates:

checking for catalogs to be installed...


without it i get:

checking for catalogs to be installed...  az ca cs da de el es et eu 
fi fr ga gl hr hu it ja ko lt nl no nn pl pt pt_BR ro ru sk sl sp sr 
sv tr uk vi wa zh_CN.GB2312 zh_TW.Big5

And the locales are installed, and the files phase of the info file 
has a /share/locales directory to copy.

However if your locale is not on the list that a package provides, 
the info file will break because NO locales will be built, no locale 
dir exists and it can't be copied.

To fix the info file needs to check for the presence of the locale 
dir and only copy it if present.

-Ben
-- 
http://homepage.mac.com/bhines/

_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to