33
|
1 |
|
|
2 |
OPENSOLARIS.ORG G11N LOCALE WORKSPACE
|
|
3 |
=====================================
|
|
4 |
|
|
5 |
This file contains the structure and the instructions for downloading and
|
|
6 |
building the G11n Locale workspace for OpenSolaris.
|
|
7 |
|
|
8 |
|
|
9 |
Description of the Workspace
|
|
10 |
----------------------------
|
|
11 |
|
|
12 |
The workspace is part of Common G11n Workspace (CWS). Together with other parts it
|
|
13 |
allows to build all OpenSolaris.org G11n packages. See build instructions at
|
|
14 |
http://XXX
|
|
15 |
|
|
16 |
The workspace allow to compile OpenSolaris locale data objects (locales) based
|
|
17 |
on CLDR data. This workspace does not contain the upstream sources and tools,
|
|
18 |
the sources are downloaed during the build process so you need internet access
|
|
19 |
to build this workspace.
|
|
20 |
|
|
21 |
|
|
22 |
Structure of the Workspace
|
|
23 |
--------------------------
|
|
24 |
|
|
25 |
./Makefile master makefile
|
|
26 |
./config.mk build configuration
|
|
27 |
./downloads/ all data downloaded from internet,
|
|
28 |
'make clean' does not clean this dir
|
|
29 |
./jars/ all jars necessary to build the locale data,
|
|
30 |
some of the jars are builded from upstream
|
|
31 |
./locale/*.spec locale spec files (see 'Locale Spec File Structure' section)
|
|
32 |
./locale/charmap/ charmap files are generated there
|
|
33 |
./locale/src/ posix src files are generated there
|
|
34 |
./misc/ misc files for locale object generation
|
|
35 |
./misc/patches/ patches of upstream code
|
|
36 |
./misc/patches/cldr_core/ patches of CLDR locale data,
|
|
37 |
fix known bugs or add solaris specific code
|
|
38 |
./misc/patches/cldr_tools/ patches of CLDR tools,
|
|
39 |
fix known bugs and add solaris specific code
|
|
40 |
./tools tools used for build
|
|
41 |
|
|
42 |
|
|
43 |
Locale Spec File Structure
|
|
44 |
--------------------------
|
|
45 |
|
|
46 |
If you need add a new locale, usually all you need is to createa locale spec file to locale/<locale name>.spec
|
|
47 |
|
|
48 |
Format of the file is
|
|
49 |
|
|
50 |
# comments ...
|
|
51 |
<key>TAB+<data>
|
|
52 |
|
|
53 |
|
|
54 |
Keys:
|
|
55 |
cldr_variant cldr locale variant, see XXX for description (*)
|
|
56 |
pkg_name pkg name for the locale (*)
|
|
57 |
|
|
58 |
|
|
59 |
* mandatory keys
|