Re: use native libintl/gettext?
Jonas Fonseca <[email protected]>
| Newsgroups | gmane.comp.web.links |
|---|---|
| Message-ID | <[email protected]> |
Jeremy C. Reed <[email protected]> wrote Fri, Dec 08, 2006: > My problem is that it installs or modifies > ${PREFIX}/share/locale/locale.alias. > > Does it really need this locale alias mapping file? Can't it just use what > is provided by native system? Probably not. I don't know, but as far as I know it should it already tries to "patch" the locale.alias file of the local system. This might not work so good when installing packages. > As far as I can tell with building and installing hundreds of programs > from source (and many that use gettext / libintl) nothing else on my > system create or modify this ${PREFIX}/share/locale/locale.alias. Note I > have a system /usr/share/locale/locale.alias that is used. > > So I now see the only difference is that elinks provides its own gettext. > > Since elinks provides its own maybe it can be have "elinks" as part of the > name. Or maybe it can be coded to just use the systems' own version. > > Either way, this could be changed in read_alias_file() in > src/intl/gettext/localealias.c. > > Probably not very important now that I understand some background on this. I am not sure I understand. You want ELinks to install the alias file under /usr/share/elinks/<something>. I agree that touching (especially) the alias file under /usr/share is a bad idea. It might be more acceptable for /usr/local/share. -- Jonas Fonseca _______________________________________________ elinks-dev mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-dev