comparison INSTALL @ 88155:d7ddb3e565de

sync with trunk
author Henrik Enberg <henrik.enberg@telia.com>
date Mon, 16 Jan 2006 00:03:54 +0000
parents e09f7a4a26cd
children
comparison
equal deleted inserted replaced
88154:8ce476d3ba36 88155:d7ddb3e565de
1 GNU Emacs Installation Guide 1 GNU Emacs Installation Guide
2 Copyright (c) 1992, 1994, 1996, 1997, 2000, 2001 Free software Foundation, Inc. 2 Copyright (c) 1992, 94, 96, 97, 2000, 01, 02 Free software Foundation, Inc.
3 See the end of the file for copying permissions. 3 See the end of the file for copying permissions.
4 4
5 5
6 BASIC INSTALLATION 6 BASIC INSTALLATION
7 7
91 91
92 ADDITIONAL DISTRIBUTION FILES 92 ADDITIONAL DISTRIBUTION FILES
93 93
94 * intlfonts-VERSION.tar.gz 94 * intlfonts-VERSION.tar.gz
95 95
96 The intlfonts distribution contains X11 fonts that Emacs needs in 96 The intlfonts distribution contains X11 fonts in various encodings
97 order to display international characters. If you see a non-ASCII 97 that Emacs can use to display international characters. If you see a
98 character appear as a hollow box, that means you don't have a font for 98 non-ASCII character appear as a hollow box, that means you don't have
99 it. You might find a font in the intlfonts distribution. If you do 99 a font for it. You might find one in the intlfonts distribution. If
100 have a font for a non-ASCII character, but some characters don't look 100 you do have a font for a non-ASCII character, but some characters
101 right, or appear improperly aligned, a font from the intlfonts 101 don't look right, or appear improperly aligned, a font from the
102 distribution might look better. 102 intlfonts distribution might look better.
103 103
104 The fonts in the intlfonts distribution are also used by the ps-print 104 The fonts in the intlfonts distribution are also used by the ps-print
105 package for printing international characters. The file 105 package for printing international characters. The file
106 lisp/ps-mule.el defines the *.bdf font files required for printing 106 lisp/ps-mule.el defines the *.bdf font files required for printing
107 each character set. 107 each character set.
154 154
155 At first, Emacs does not include fonts and does not install them. You 155 At first, Emacs does not include fonts and does not install them. You
156 must do this yourself. 156 must do this yourself.
157 157
158 To take proper advantage of Emacs 21's mule-unicode charsets, you need 158 To take proper advantage of Emacs 21's mule-unicode charsets, you need
159 a Unicode font. For information on Unicode fonts for X, see 159 a suitable font. For `Unicode' (ISO 10646) fonts for X, see
160 <URL:http://czyborra.com/unifont/>, 160 <URL:http://dvdeug.dhis.org/unifont.html> (packaged in Debian),
161 <URL:http://openlab.ring.gr.jp/efont/> and 161 <URL:http://openlab.ring.gr.jp/efont/> (packaged in Debian). (In
162 recent Debian versions, there is an extensive `misc-fixed' iso10646-1
163 in the default X installation.) Perhaps also see
162 <URL:http://www.cl.cam.ac.uk/%7Emgk25/ucs-fonts.html>. 164 <URL:http://www.cl.cam.ac.uk/%7Emgk25/ucs-fonts.html>.
165
163 <URL:http://czyborra.com/charsets/> has basic fonts for Emacs's 166 <URL:http://czyborra.com/charsets/> has basic fonts for Emacs's
164 ISO-8859 charsets. 167 ISO-8859 charsets.
165 168
166 XFree86 release 4 (from <URL:ftp://ftp.xfree86.org/> and mirrors) 169 XFree86 release 4 (from <URL:ftp://ftp.xfree86.org/> and mirrors)
167 contains font support for most, if not all, of the charsets that Emacs 170 contains font support for most, if not all, of the charsets that Emacs
168 supports. The font files should be usable separately with older X 171 currently supports, including iso10646-1 encoded fonts for use with
169 releases. 172 the mule-unicode charsets. The font files should also be usable with
173 older X releases. Note that XFree 4 contains many iso10646-1 fonts
174 with minimal character repertoires, which can cause problems -- see
175 etc/PROBLEMS.
170 176
171 BDF fonts etl-unicode.tar.gz used by ps-print and ps-mule to print 177 BDF fonts etl-unicode.tar.gz used by ps-print and ps-mule to print
172 Unicode characters are available from <URL:ftp://ftp.x.org/contrib/fonts/> 178 Unicode characters are available from <URL:ftp://ftp.x.org/contrib/fonts/>
173 and <URL:ftp://ftp.xfree86.org/pub/X.Org/contrib/fonts/>. 179 and <URL:ftp://ftp.xfree86.org/pub/X.Org/contrib/fonts/>.
174 180
175 181 * GNU/Linux development packages
176 The new Indian implementation uses the ISFOC standard fonts. We use 182
177 CDAC ISFOC fonts to display the Devanagari script in Emacs. They are 183 Many GNU/Linux systems do not come with development packages by
178 copyrighted, but we received permission to use them in Emacs from the 184 default; they just include the files that you need to run Emacs, but
179 font developers. These fonts can be obtained from the internet, or 185 not those you need to compile it. For example, to compile Emacs with
180 may be found in C-DAC products (including downloadable ones). For 186 X11 support, you may need to install the special `X11 development'
181 examle, you can search the CDAC Devanagari font `dvsr0ntt.ttf' by 187 package. For example, in April 2003, the package names to install
182 using some search engines and they will guide you to appropriate URLs 188 were `XFree86-devel' and `Xaw3d-devel' on RedHat. On Debian, the
183 to obtain them. 189 packages necessary to build the installed version should be
184 190 sufficient; they can be installed using `apt-get build-dep emacs21' in
185 After you've downloaded the fonts, then run the following Makefile 191 Debian 3 and above.
186 to create the appropriate BDF/PCF fonts. (You will need `ttf2bdf',
187 equipped with freetype 1, to create BDF file.)
188
189 TTFS= asdr0ntt.ttf:Assamese\
190 bndr0ntt.ttf:Bengali\
191 dvsr0ntt.ttf:Devanagari\
192 gjav0ntt.ttf:Gujarati\
193 knum0ntt.ttf:Kannada\
194 mlkr0ntt.ttf:Malayalam\
195 orsr0ntt.ttf:Oriya\
196 pnam0ntt.ttf:Punjabi\
197 sdsr0ntt.ttf:Sanskrit\
198 tlhm0ntt.ttf:Telugu\
199 tmvl0ntt.ttf:Tamil
200
201 all:
202 for f in ${TTFS}; do \
203 ttf=`echo $$f | sed 's/:.*$$//'`; \
204 reg=`echo $$f | sed 's/[^:]*://'`; \
205 base=`basename $$ttf .ttf`; \
206 echo Converting "$$ttf to $$base-XX.bdf/pcf with registry $$reg"; \
207 for i in 16 24; do \
208 ttf2bdf -p $${i} -r 100 -l 0_255 $$ttf > temp; \
209 sed "/^FONT /s/ISO10646-1/$$reg-CDAC/" <temp >$$base-$$i.bdf; \
210 bdftopcf $$base-$$i.bdf > $$base-$$i.pcf; \
211 done; \
212 done
213 rm -f temp
214
215 clean:
216 rm -f *.pcf *.bdf
217 192
218 193
219 DETAILED BUILDING AND INSTALLATION: 194 DETAILED BUILDING AND INSTALLATION:
220 195
221 (This is for a Unix or Unix-like system. For MS-DOS and Windows 3.X, 196 (This is for a Unix or Unix-like system. For MS-DOS and Windows 3.X,
314 --without-tiff for TIFF image support 289 --without-tiff for TIFF image support
315 --without-gif for GIF image support 290 --without-gif for GIF image support
316 --without-png for PNG image support 291 --without-png for PNG image support
317 292
318 Use --without-toolkit-scroll-bars to disable LessTif/Motif or Xaw3d 293 Use --without-toolkit-scroll-bars to disable LessTif/Motif or Xaw3d
319 scroll bars. --without-xim disables the use of X Input Methods, and 294 scroll bars.
320 --disable-largefile omits support for files larger than 2GB on systems 295
321 which support that. Use --without-sound to disable sound support. 296 Use --without-xim to inhibit the default use of X Input Methods. In
297 this case, the X resource useXIM can be used to turn on use of XIM.
298
299 Use --disable-largefile omits support for files larger than 2GB on
300 systems which support that.
301
302 Use --without-sound to disable sound support.
322 303
323 The `--prefix=PREFIXDIR' option specifies where the installation process 304 The `--prefix=PREFIXDIR' option specifies where the installation process
324 should put emacs and its data files. This defaults to `/usr/local'. 305 should put emacs and its data files. This defaults to `/usr/local'.
325 - Emacs (and the other utilities users run) go in PREFIXDIR/bin 306 - Emacs (and the other utilities users run) go in PREFIXDIR/bin
326 (unless the `--exec-prefix' option says otherwise). 307 (unless the `--exec-prefix' option says otherwise).
482 Lisp library changes from one version of Emacs to 463 Lisp library changes from one version of Emacs to
483 another, including the version number in the path 464 another, including the version number in the path
484 allows you to have several versions of Emacs installed 465 allows you to have several versions of Emacs installed
485 at the same time; in particular, you don't have to 466 at the same time; in particular, you don't have to
486 make Emacs unavailable while installing a new version. 467 make Emacs unavailable while installing a new version.
487
488 `/usr/local/share/emacs/VERSION/site-lisp' holds the local Emacs Lisp
489 files installed for Emacs version VERSION only.
490
491 `/usr/local/share/emacs/site-lisp' holds the local Emacs Lisp
492 files installed for all Emacs versions.
493
494 When Emacs is installed, it searches for its Lisp files
495 in `/usr/local/share/emacs/VERSION/site-lisp', then in
496 `/usr/local/share/emacs/site-lisp', and finally in
497 `/usr/local/share/emacs/VERSION/lisp'.
498 468
499 `/usr/local/share/emacs/VERSION/etc' holds the Emacs tutorial, the DOC 469 `/usr/local/share/emacs/VERSION/etc' holds the Emacs tutorial, the DOC
500 file, the `yow' database, and other 470 file, the `yow' database, and other
501 architecture-independent files Emacs might need while 471 architecture-independent files Emacs might need while
502 running. VERSION is as specified for `.../lisp'. 472 running. VERSION is as specified for `.../lisp'.
522 using info files as well, so this directory stands 492 using info files as well, so this directory stands
523 apart from the other, Emacs-specific directories. 493 apart from the other, Emacs-specific directories.
524 494
525 `/usr/local/man/man1' holds the man pages for the programs installed 495 `/usr/local/man/man1' holds the man pages for the programs installed
526 in `/usr/local/bin'. 496 in `/usr/local/bin'.
497
498 Any version of Emacs, whether installed or not, also looks for Lisp
499 files in these directories.
500
501 `/usr/local/share/emacs/VERSION/site-lisp' holds the local Emacs Lisp
502 files installed for Emacs version VERSION only.
503
504 `/usr/local/share/emacs/site-lisp' holds the local Emacs Lisp
505 files installed for all Emacs versions.
506
507 When Emacs is installed, it searches for its Lisp files
508 in `/usr/local/share/emacs/VERSION/site-lisp', then in
509 `/usr/local/share/emacs/site-lisp', and finally in
510 `/usr/local/share/emacs/VERSION/lisp'.
527 511
528 If these directories are not what you want, you can specify where to 512 If these directories are not what you want, you can specify where to
529 install Emacs's libraries and data files or where Emacs should search 513 install Emacs's libraries and data files or where Emacs should search
530 for its Lisp files by giving values for `make' variables as part of 514 for its Lisp files by giving values for `make' variables as part of
531 the command. See the section below called `MAKE VARIABLES' for more 515 the command. See the section below called `MAKE VARIABLES' for more