Author Topic: How To Add Other Glibc Locales  (Read 2406 times)

armonix

  • Newbie
  • *
  • Posts: 5
    • View Profile
How To Add Other Glibc Locales
« 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.

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
How To Add Other Glibc Locales
« Reply #1 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/

note that I don't know much about locales and such...tell me if these packages work  for you.
« Last Edit: February 17, 2006, 08:02:32 am by pgas »
SLC-860 cacko / senao wifi

armonix

  • Newbie
  • *
  • Posts: 5
    • View Profile
How To Add Other Glibc Locales
« Reply #2 on: February 18, 2006, 04:31:08 am »
Thank you very much.
It's what i need.