README.opensolaris.g11n
author Jon Tibble <meths@btinternet.com>
Mon, 16 Jan 2012 15:05:12 +0000
changeset 571 adc489805699
parent 2 1c00d793498a
permissions -rw-r--r--
Merge unneeded branch
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
     1
README.opensolaris.g11n v2.0, Jul 3, 2007
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
     2
0
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
     3
2
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
     4
OPENSOLARIS.ORG NEVADA G11N WORKSPACE BUILD INSTRUCTIONS
0
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
     5
2
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
     6
This file contains the instructions for checking out and building the G11N
0
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
     7
workspace for OpenSolaris, where to file bug or RFE (Request For Enhancement)
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
     8
reports, and also how to contribute.
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
     9
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    10
2
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
    11
0
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    12
G11N Workspace Build Instructions
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    13
---------------------------------
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    14
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    15
1. Install a build machine with the latest version of Solaris Express from:
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    16
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    17
	http://www.sun.com/software/solaris/solaris-express/get.jsp
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    18
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    19
   Currently, the build machines must have Developer System Support or higher
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    20
   meta-cluster and all locales installed. It is recommended to have at least
2
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
    21
   1GB of swap space or memory combined for a proper build.
0
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    22
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    23
   After the build machine installation, about 3.2GB of free disk space is
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    24
   needed to keep the downloaded tarballs and also to build.
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    25
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    26
2. Download an install image of Sun Studio 11 for OpenSolaris, SPARC or
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    27
   x86/x64 from:
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    28
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    29
	http://opensolaris.org/os/community/tools/sun_studio_tools/sun_studio_11_tools/
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    30
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    31
   This must be installed into /opt/SUNWspro/, i.e. your cc compiler should be
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    32
   available as /opt/SUNWspro/bin/cc.
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    33
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    34
3. Download the closed binary tarballs by following the link from the following
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    35
   web page:
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    36
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    37
	http://www.opensolaris.org/os/community/int_localization/sources/
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    38
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    39
   The binary tarballs contain binary objects that may not be on your current
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    40
   system but are needed by the workspace to build, and use the naming
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    41
   convention 'g11n-{closed,GPL}-bins-<DATE>.<PLATFORM>.tar.bz2'. Make sure
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    42
   you take the correct ones for your architecture, for instance, download
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    43
   'g11n-closed-bins-20061220.sparc.tar.bz2' and
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    44
   'g11n-GPL-bins-20061220.sparc.tar.bz2' if you are working on a SPARC-based
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    45
   system and 'g11n-closed-bins-20061220.i386.tar.bz2' and
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    46
   g11n-GPL-bins-20061220.i386.tar.bz2' if you are working on an x86/x64-based
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    47
   system. The tarballs are also organized by date, where the date is in
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    48
   the format of YYYYMMDD.
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    49
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    50
4. Unpack the binary tarballs at the root file system as root:
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    51
2
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
    52
	$ su -
0
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    53
	# bzcat g11n-closed-bins-20061220.sparc.tar.bz2 | (cd / ; tar xvf -)
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    54
	# bzcat g11n-GPL-bins-20061220.sparc.tar.bz2 | (cd / ; tar xvf -)
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    55
2
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
    56
5. Check out the latest source codes from live repository
0
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    57
2
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
    58
    # cd /build
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
    59
    # hg clone ssh://[email protected]/hg/nv-g11n/g11n
0
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    60
2
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
    61
    More details about G11N live repository can be found from:
0
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    62
2
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
    63
    http://www.opensolaris.org/os/project/nv-g11n/documents/repository/
0
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    64
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    65
6. Set an environment variable called 'SRC' to the full path of the g11n
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    66
   directory, i.e., if you extracted it into a /build directory then SRC
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    67
   should be /build/g11n. In ksh:
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    68
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    69
	# export SRC=/build/g11n
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    70
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    71
7. Add the necessary paths to your $PATH variable such as '/usr/ccs/bin' for
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    72
   make and '/opt/SUNWspro/bin' for compilers. These should be near
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    73
   the beginning so that they are the first to be picked up.
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    74
2
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
    75
	# export PATH=/opt/SUNWspro/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/bin
0
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    76
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    77
8. Run 'make all' to build the workspace in its entirety. This will compile
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    78
   and generate binary files and create an empty directory tree in
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    79
   $SRC/proto/$arch/fileroot where $arch is your machine's architecture,
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    80
   i.e., sparc or i386:
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    81
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    82
	# make all 2>&1 | tee make.log
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    83
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    84
   The '2>&1 | tee make.log' will write all output from the make into
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    85
   a file called make.log. This isn't strictly necessary but is useful for
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    86
   debugging purposes later.
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    87
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    88
9. Run 'make install' to populate this directory tree. This will copy all
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    89
   necessary files into $SRC/proto/$arch/fileroot in the locations that they
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    90
   would be installed on your system:
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    91
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    92
	# make install 2>&1 | tee install.log
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    93
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    94
10. Run 'make links' to set up the necessary permissions and symbolic links in
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    95
   the proto directory. This changes the permissions and owners of the files
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    96
   to what they would be on the installed system, and also creates all
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    97
   necessary symbolic links between files:
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    98
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
    99
	# make links 2>&1 | tee links.log
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   100
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   101
11. To install the G11N files on your system, the workspace will create
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   102
   a set of binary tarballs in $SRC/dist/$arch which, if extracted from
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   103
   the root of your machine, will install all of the components to their
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   104
   correct locations. There are three options for this:
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   105
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   106
   - All components in one tarball. This will bundle everything into
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   107
     the one tarball, approx 62MB in size depending on the architecture.
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   108
     Build this by running 'make tarball'.
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   109
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   110
   - One tarball per locale. This creates a separate tarball for each locale,
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   111
     using the locale name as the tarball name, plus a common tarball for
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   112
     components that are common across all locales. Build this by running
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   113
     'make tarballs'.
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   114
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   115
   - One tarball for a specific locale. If you only want to install one locale,
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   116
     then you can run 'make <locale>' where <locale> is the name of the locale
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   117
     you want to create the tarball for, e.g., 'make de_DE' for German locales.
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   118
     If you just provide the "short" locale name without the codeset,
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   119
     the tarball will contain all of the codesets for that locale.
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   120
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   121
12. After installation
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   122
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   123
    Run tools/update_fonts_cache.sh to update fonts.cache-1 files
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   124
    possibly outdated by installing font files.
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   125
    (Otherwise desktop login may fail.)
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   126
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   127
    # $SRC/tools/update_fonts_cache.sh
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   128
    updating /usr/openwin/lib/X11/fonts/TrueType/ttmap/fonts.cache-1...
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   129
    updating /usr/openwin/lib/X11/fonts/TrueType/fonts.cache-1...
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   130
    updating /usr/openwin/lib/locale/ar/X11/fonts/TrueType/fonts.cache-1...
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   131
    updating /usr/openwin/lib/locale/ko.UTF-8/X11/fonts/TrueType/fonts.cache-1...
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   132
    updating /usr/openwin/lib/locale/en_US.UTF-8/X11/fonts/misc/fonts.cache-1...
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   133
    updating /usr/openwin/lib/locale/ko/X11/fonts/TrueType/fonts.cache-1...
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   134
    # 
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   135
2
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
   136
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
   137
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
   138
0
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   139
Bug/RFE Reports
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   140
---------------
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   141
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   142
To report a bug or an RFE, use the following web interface:
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   143
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   144
	https://www.opensolaris.org/bug/report.jspa
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   145
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   146
Available category values are library and utility and subcategory values are
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   147
l10n-common, l10n-asia, l10n-europe, l10n-japan, and l10n-message.
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   148
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   149
Alternatively you can also inform and discuss your issue or idea with
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   150
other community members at i18n-discuss at opensolaris.org mailing list and
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   151
other language mailing lists shown at the following:
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   152
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   153
	http://www.opensolaris.org/os/community/int_localization/discussions/
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   154
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   155
2
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
   156
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
   157
0
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   158
How to Contribute
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   159
-----------------
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   160
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   161
If you would like make contributions (source, idea, translation, and so on),
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   162
sending an email to i18n-discuss at opensolaris.org mailing list and
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   163
discuss about the contribution would be a good start.
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   164
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   165
You can also follow the Development Process at OpenSolaris.org shown at
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   166
the following:
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   167
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   168
	http://www.opensolaris.org/os/community/on/os_dev_process/
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   169
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   170
and start a project.
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   171
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   172
If bug or RFE that you're thinking about to contribute are not big enough for
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   173
a project and if you have code changes already more or less, you can also
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   174
simply file a bug or RFE report and send an email to request-sponsor at
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   175
opensolaris.org *and* i18n-discuss at opensolaris.org asking for a sponsor.
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   176
There are many emails that you can reference before you send out
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   177
a request from the following:
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   178
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   179
	http://www.opensolaris.org/jive/forum.jspa?forumID=27
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   180
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   181
Shortly after your email, there will be a sponsor contacting you and work
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   182
together with you to integrate your contributions into G11N or any other
542988ea726d initial version of Nevada G11N repository
simford
parents:
diff changeset
   183
consolidation/community's workspaces as needed.
2
1c00d793498a update README.opensolaris.g11n with live repository information
simford
parents: 0
diff changeset
   184