~ubuntu-branches/ubuntu/trusty/rasmol/trusty

« back to all changes in this revision

Viewing changes to src/languages/README.txt

  • Committer: Bazaar Package Importer
  • Author(s): Teemu Ikonen
  • Date: 2009-11-24 16:48:04 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091124164804-liuvywcs6l45ibl3
Tags: 2.7.5-1
* New upstream release
* Imakefile: Use Debian versions of library dependencies
* control:
  - Add build-deps to libcvector2-dev, libcqrlib2-dev, libneartree3-dev
  - Update to standards-version 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
1. COMPILING
8
8
 
9
 
languages/ - herein lie the files that make up langsel.c
10
 
They are separated for the ease of maintenance, each file has its own text
11
 
encoding.
12
 
 
13
9
TO "COMPILE" THE langsel.c FILE:
14
10
 
15
 
(Unix)
16
 
On any Unix machine (linux/unix/mac os x)
17
 
From a terminal window cd to the languages/ directory and type
18
 
 
19
 
./genlangsel_all
20
 
 
21
 
to execute all the following scripts
22
 
 
23
 
./genlangsel_unix
24
 
 
25
 
to compile langsel_unix.c for unix systems with EUC-CN, EUC-JP and CP1251 fonts.
26
 
 
27
 
./genlangsel_mswin
28
 
 
29
 
to compile langsel_mswin.c for MS Windows systems with EUC-CN, SJIS and CP1251 fonts.
30
 
 
31
 
./genlangsel_mac
32
 
 
33
 
to compile langsel_mac.c for mac os classic (if using X11 emulation, use
34
 
langsel_unix.c)
35
 
 
36
 
or
37
 
 
38
 
./genlangsel_master
39
 
 
40
 
to generate a utf-8 version where all character sets will be visible (the
41
 
"master" file)
42
 
 
43
 
 
44
 
Keep in mind it may be necessary to give executable permissions to these scripts
45
 
if they don't already have them! If the scripts do not run, try:
46
 
 
47
 
chmod +x filename
48
 
 
49
 
where filename is the name of the script, i.e.:
50
 
 
51
 
chmod +x genlangsel
52
 
 
 
11
        Execute the genlangsel script by typing:
 
12
                ./genlangsel
 
13
        
 
14
        Don't forget to chmod +x genlangsel if it does not have execute permissions.
 
15
        For more info on genlangsel type:
 
16
                ./genlangsel --help
53
17
 
54
18
2. EDITING
55
19
 
56
 
Each one of this files is in a separate encoding, please be kind and keep the
57
 
encodings consistent by opening the files in their appropriate encodings. You
58
 
should work with the UTF-8 files and convert them with an encoding utility,
59
 
such as "iconv" for unix. Type "iconv --help" at a terminal window for more
60
 
details.
 
20
        Edit the appropriate language file in its .utf.c file.
61
21
 
62
22
2.1 ENCODING LIST
63
23
 
64
 
Below is a list of all of the files included in this folder and what encodings
65
 
they are using.
66
 
 
67
 
The .utf.c files are all UTF8.
68
 
The .utf16.c files are all UTF16 (or UCS2).
69
 
 
70
 
langsel.Bulgarian.c                     CP1251
71
 
langsel.Bulgarian.mac.c         
72
 
langsel.Chinese.c                       GB 18030 (EUC-CN)
73
 
langsel.Chinese.mac.c
74
 
langsel.English.c                       ISO-8859-1
75
 
langsel.English.mac.c
76
 
langsel.French.c                        ISO-8859-1
77
 
langsel.French.mac.c
78
 
langsel.Italian.c                       ISO-8859-1
79
 
langsel.Italian.mac.c
80
 
langsel.Japanese.c                      shift_jis
81
 
langsel.Japanese.EUC.c          EUC-JP
82
 
langsel.Japanese.mac.c          japanese (mac)
83
 
langsel.Russian.c                       CP1251
84
 
langsel.Russian.mac.c
85
 
langsel.Spanish.c                       ISO-8859-1
86
 
langsel.Spanish.mac.c
 
24
        Below is a list of all of the files included in this folder and what
 
25
        encodings they are using.
 
26
 
 
27
        The .utf.c files are all UTF8.
 
28
 
 
29
        langsel.Bulgarian.c                     CP1251
 
30
        langsel.Bulgarian.mac.c         
 
31
        langsel.Chinese.c                       GB 18030 (EUC-CN)
 
32
        langsel.Chinese.mac.c
 
33
        langsel.English.c                       ISO-8859-1
 
34
        langsel.English.mac.c
 
35
        langsel.French.c                        ISO-8859-1
 
36
        langsel.French.mac.c
 
37
        langsel.Italian.c                       ISO-8859-1
 
38
        langsel.Italian.mac.c
 
39
        langsel.Japanese.c                      shift_jis
 
40
        langsel.Japanese.EUC.c          EUC-JP
 
41
        langsel.Japanese.mac.c          CP932
 
42
        langsel.Russian.c                       CP1251
 
43
        langsel.Russian.mac.c
 
44
        langsel.Spanish.c                       ISO-8859-1
 
45
        langsel.Spanish.mac.c