[haiku-gsoc] patch: locale kit cross tools

  • From: PulkoMandy <pulkomandy@xxxxxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Wed, 1 Jul 2009 18:42:49 +0200

I've done some work on getting the cross tools working. Now i ran into
a problem, so first here is a patch so you can see my current code.
The problem is in src/kits/locale/LocaleRoster.cpp, in the function
InitializeCatalogAddOns. This function should iterate trough some
system directories to find all the catalog add ons and load them. I
need it to work, but B_SYSTEM_DATA_DIRECTORY is not defined so the add
ons will not be found.

-Is there a way to define this constant, or should I change the code
for the cross tool version to find the add ons therwise (ie in a
static folder ?)
-What path should I put for them to be found ? is it relative to the
generated folder ? to something else ?

-- 
Adrien Destugues / PulkoMandy
Elève ingénieur ENSSAT EII1- www.enssat.fr
GSoC student for Haiku - http://haiku-os.org
GrafX2 project team - http://code.google.com/p/grafx2

Other related posts: