OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: armonix on February 17, 2006, 05:15:23 am

Title: How To Add Other Glibc Locales
Post by: armonix on February 17, 2006, 05:15:23 am
Hi all,

After more than 10 months away from pdaXrom, i'm very happy to reinstall it.
I've seen that now there is glibc locales which is good thing.
Is it possible to have fr_FR@euro (or just fr_FR) or how to compile/install it.
An other distro (OZ) have this but i definitely prefer pdaXrom.

PS: I've compiled mutt, procmail, bogofilter, db3 and some other thing. I'll upload them next week.
Title: How To Add Other Glibc Locales
Post by: pgas on February 17, 2006, 08:01:43 am
Quote
Is it possible to have fr_FR@euro (or just fr_FR) or how to compile/install it.

I used the builder.
In the config file for the rom I've added:
 fr_FR.UTF-8 fr_FR.ISO-8859-1 fr_FR.ISO-8859-15 fr_FR@euro.UTF-8 el_GR@euro.UTF-8
to PTXCONF_GLIBC_LOCALES_STR

in rules/glibc.make I modified the line
Code: [Select]
ll=`echo $$l | sed -e "y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/" | sed -e "s/\_/\-/" | sed -e "s/\./\-/"  | sed -e "s/@/at/"`;    \
So that @ doesn't goes in the package name.

make glibc_targetinstall and you can find the packagess created here:
http://mail.pdaxrom.org/contrib/pgas/ (http://mail.pdaxrom.org/contrib/pgas/)

note that I don't know much about locales and such...tell me if these packages work  for you.
Title: How To Add Other Glibc Locales
Post by: armonix on February 18, 2006, 04:31:08 am
Thank you very much.
It's what i need.