Mercurial > emacs
annotate INSTALL.BZR @ 109573:228a5fa4eda0
Remove extern declarations from .c files, and them to .h files.
* src/xsmfns.c (Vuser_login_name):
* src/xrdb.c (Vdouble_click_time):
* src/xfaces.c (xic_create_fontsetname):
* src/w32select.c (waiting_for_input):
* src/print.c (minibuffer_auto_raise):
* src/msdos.c (Qhelp_echo):
* src/macros.c (real_this_command):
* src/keymap.c (Voverriding_local_map):
* src/xterm.c (poll_for_input_1, gray_bitmap_width)
(gray_bitmap_height, gray_bitmap_bits;
* src/xmenu.c ( Voverriding_local_map)
(Voverriding_local_map_menu_flag; Qmenu_item; use_dialog_box)
(use_file_dialog, Xt_app_con):
* src/xdisp.c (minibuffer_auto_raise, Voverriding_local_map)
(Voverriding_local_map_menu_flag, Qmenu_item, Qface, Qinvisible)
(Qwidth, Qinvisible, Qwindow, Qpriority, Qtool_bar_lines)
(Qtool_bar_lines, ignore_mouse_drag_p):
* src/minibuf.c (Voverriding_local_map, Qfield, Qfront_sticky)
(Qrear_nonsticky, nconc2):
* src/keyboard.c (current_global_map, minibuf_level, Qmenu_item)
(Vhistory_length, Vtranslation_table_for_input, Qcomposition)
(Qdisplay, Qafter_string, Qbefore_string, Qundefined):
* src/fileio.c (use_dialog_box, use_file_dialog, Vuser_login_name)
(minibuf_level, minibuffer_auto_raise, lisp_time_argument):
* src/eval.c (Qinteractive_form, Qrisky_local_variable, Qfunction)
(gc_in_progress):
* src/doc.c (Voverriding_local_map, Qremap):
* src/dired.c (completion_ignore_case, Qcompletion_ignore_case)
(Vcompletion_regexp_list):
* src/coding.c (Qmac, Qinsert_file_contents, Qwrite_region)
(Qcompletion_ignore_case):
* src/callint.c (Qcursor_in_echo_area, Qfile_directory_p, Qonly)
(Vhistory_length, Vthis_original_command, real_this_command)
(Qface, Qminibuffer_prompt, history_delete_duplicates):
* src/image.c (Qrisky_local_variable):
* src/fontset.c (QCname):
* src/fns.c (minibuffer_auto_raise, QCname):
* src/dispnew.c (char_ins_del_cost):
* src/composite.c (font_fill_lglyph_metrics):
* src/cmds.c (Qface, Vtranslation_table_for_input):
* src/charset.c (map_char_table_for_charset, Qfile_name_handler_alist):
* src/ccl.c (charset_unicode):
* src/callproc.c (Vtemporary_file_directory):
* src/buffer.c (emacs_strerror): Remove extern declarations.
Remove extern declarations from .c files, and them to .h files.
* src/keyboard.h (Qhelp_echo, waiting_for_input)
(input_available_clear_time, ignore_mouse_drag_p)
(Vdouble_click_time, real_this_command, Vthis_original_command):
* src/keymap.h (Qremap, Qmenu_item, Voverriding_local_map)
(Voverriding_local_map_menu_flag):
* src/lisp.h (Qinteractive_form, use_file_dialog)
(Qcursor_in_echo_area, QCascent, QCmargin, QCrelief, Qcount)
(Qextension_data, QCconversion, QCcolor_symbols, QCheuristic_mask)
(QCindex, QCmatrix, QCcolor_adjustment, QCmask)
(Qrisky_local_variable, map_char_table_for_charset, Vprint_level)
(Qfunction, debug_on_next_call, Qfield)
(Vinhibit_field_text_motion, Vuser_login_name, lisp_time_argument)
(Qpriority, Qwindow, Qevaporate, Qbefore_string, Qafter_string)
(Qfile_directory_p, Qinsert_file_contents)
(Qcompletion_ignore_case, Qcompletion_ignore_case)
(Vcompletion_regexp_list, Vhistory_length, completion_ignore_case)
(history_delete_duplicates, minibuffer_auto_raise, Qonly)
(Qfile_name_handler_alist, Qfront_sticky, Qrear_nonsticky)
(Qminibuffer_prompt)
(Vtemporary_file_directory,char_ins_del_vector, Qface):
* src/xterm.h (gray_bitmap_width, gray_bitmap_height)
(gray_bitmap_bits, xic_create_fontsetname):
* src/coding.h (Vtranslation_table_for_input): Add extern declarations.
* src/data.c (Qwindow): Make non-static, used from other files too.
* src/frame.c (validate_x_resource_name): Remove shadow definition for i.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Wed, 28 Jul 2010 22:48:06 -0700 |
parents | 4d2a82992443 |
children | ac52af4a044c |
rev | line source |
---|---|
106802
b92c3979701c
Replace emacs-pretest-bug with bug-gnu-emacs mailing list.
Glenn Morris <rgm@gnu.org>
parents:
106667
diff
changeset
|
1 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
75587
68cfc1db0d26
Add copyright and permissions notices.
Glenn Morris <rgm@gnu.org>
parents:
72914
diff
changeset
|
2 Free Software Foundation, Inc. |
75769
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
3 See the end of the file for license conditions. |
75587
68cfc1db0d26
Add copyright and permissions notices.
Glenn Morris <rgm@gnu.org>
parents:
72914
diff
changeset
|
4 |
68cfc1db0d26
Add copyright and permissions notices.
Glenn Morris <rgm@gnu.org>
parents:
72914
diff
changeset
|
5 |
106652
7b9e6639caa3
* INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents:
104860
diff
changeset
|
6 Building and Installing Emacs from Bazaar |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
7 |
101131
1541a3c11c7f
Move configuration explicitly to the first step.
Juri Linkov <juri@jurta.org>
parents:
100959
diff
changeset
|
8 If this is the first time you go through it, you'll need to configure |
1541a3c11c7f
Move configuration explicitly to the first step.
Juri Linkov <juri@jurta.org>
parents:
100959
diff
changeset
|
9 before bootstrapping: |
1541a3c11c7f
Move configuration explicitly to the first step.
Juri Linkov <juri@jurta.org>
parents:
100959
diff
changeset
|
10 |
1541a3c11c7f
Move configuration explicitly to the first step.
Juri Linkov <juri@jurta.org>
parents:
100959
diff
changeset
|
11 $ ./configure |
1541a3c11c7f
Move configuration explicitly to the first step.
Juri Linkov <juri@jurta.org>
parents:
100959
diff
changeset
|
12 |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
13 Some of the files that are included in the Emacs tarball, such as |
106652
7b9e6639caa3
* INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents:
104860
diff
changeset
|
14 byte-compiled Lisp files, are not stored in Bazaar. Therefore, to |
7b9e6639caa3
* INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents:
104860
diff
changeset
|
15 build from Bazaar you must run "make bootstrap" instead of just "make": |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
16 |
106667
7ef5489936c5
Fix bazaar update instructions
Andreas Schwab <schwab@linux-m68k.org>
parents:
106655
diff
changeset
|
17 $ bzr pull |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
18 $ make bootstrap |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
19 |
106652
7b9e6639caa3
* INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents:
104860
diff
changeset
|
20 Normally, it is not necessary to use "make bootstrap" after every |
7b9e6639caa3
* INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents:
104860
diff
changeset
|
21 update from Bazaar. "make" should work in 90% of the cases and be |
7b9e6639caa3
* INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents:
104860
diff
changeset
|
22 much quicker. |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
23 |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
24 $ make |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
25 |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
26 (If you want to install the Emacs binary, type "make install" instead |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
27 of "make" in the last command.) |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
28 |
95687
18c9a69d751f
loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents:
95686
diff
changeset
|
29 Occasionally the file "lisp/loaddefs.el" (and similar automatically |
18c9a69d751f
loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents:
95686
diff
changeset
|
30 generated files, such as esh-groups.el, and *-loaddefs.el in some |
18c9a69d751f
loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents:
95686
diff
changeset
|
31 subdirectories of lisp/, e.g. mh-e/ and calendar/) will need to be |
18c9a69d751f
loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents:
95686
diff
changeset
|
32 updated to reflect new autoloaded functions. If you see errors (rather |
18c9a69d751f
loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents:
95686
diff
changeset
|
33 than warnings) about undefined lisp functions during compilation, that |
18c9a69d751f
loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents:
95686
diff
changeset
|
34 may be the reason. Another symptom may be an error saying that |
18c9a69d751f
loaddefs are always fully regenerated on bootstrapping.
Glenn Morris <rgm@gnu.org>
parents:
95686
diff
changeset
|
35 "loaddefs.el" could not be found; this is due to a change in the way |
106652
7b9e6639caa3
* INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents:
104860
diff
changeset
|
36 loaddefs.el was handled in version control, and should only happen |
7b9e6639caa3
* INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents:
104860
diff
changeset
|
37 once, for users that are updating old sources. Finally, sometimes |
7b9e6639caa3
* INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents:
104860
diff
changeset
|
38 there can be build failures related to *loaddefs.el (e.g. "required |
7b9e6639caa3
* INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents:
104860
diff
changeset
|
39 feature `esh-groups' was not provided"). In that case, follow the |
7b9e6639caa3
* INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents:
104860
diff
changeset
|
40 instructions below. |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
41 |
93899 | 42 To update loaddefs.el (and similar files), do: |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
43 |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
44 $ cd lisp |
96069
b0615674c5b7
Remove references to passing EMACS to make, since the defaults are
Glenn Morris <rgm@gnu.org>
parents:
95722
diff
changeset
|
45 $ make autoloads |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
46 |
66301
6f111b7dd138
Add mh-autoloads to the partial rebuild procedure.
Eli Zaretskii <eliz@gnu.org>
parents:
54679
diff
changeset
|
47 If either of the above partial procedures fails, try "make bootstrap". |
104860
216634f325ab
Don't mention maintainer-clean, since `make bootstrap' does this now.
Glenn Morris <rgm@gnu.org>
parents:
102349
diff
changeset
|
48 If CPU time is not an issue, the most thorough way to rebuild, and |
216634f325ab
Don't mention maintainer-clean, since `make bootstrap' does this now.
Glenn Morris <rgm@gnu.org>
parents:
102349
diff
changeset
|
49 avoid any spurious problems, is always to use this method. |
93869
f06f50495cd9
Mention deleting loaddefs, maintainer-clean.
Glenn Morris <rgm@gnu.org>
parents:
79751
diff
changeset
|
50 |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
51 Users of non-Posix systems (MS-Windows etc.) should run the |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
52 platform-specific configuration scripts (nt/configure.bat, config.bat, |
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
53 etc.) before "make bootstrap" or "make"; the rest of the procedure is |
96069
b0615674c5b7
Remove references to passing EMACS to make, since the defaults are
Glenn Morris <rgm@gnu.org>
parents:
95722
diff
changeset
|
54 applicable to those systems as well. |
53439
19d4dac27e5c
Renamed INSTALL-CVS to INSTALL.CVS to avoid file-name
Eli Zaretskii <eliz@is.elta.co.il>
parents:
diff
changeset
|
55 |
106652
7b9e6639caa3
* INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents:
104860
diff
changeset
|
56 Questions, requests, and bug reports about the Bazaar versions of Emacs |
106802
b92c3979701c
Replace emacs-pretest-bug with bug-gnu-emacs mailing list.
Glenn Morris <rgm@gnu.org>
parents:
106667
diff
changeset
|
57 should be sent to bug-gnu-emacs@gnu.org rather than gnu.emacs.help. |
b92c3979701c
Replace emacs-pretest-bug with bug-gnu-emacs mailing list.
Glenn Morris <rgm@gnu.org>
parents:
106667
diff
changeset
|
58 Ideally, use M-x report-emacs-bug RET. |
54055
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
59 |
106652
7b9e6639caa3
* INSTALL.BZR: Rename from INSTALL.CVS, edit to talk about Bazaar.
Karl Fogel <kfogel@red-bean.com>
parents:
104860
diff
changeset
|
60 Because the Bazaar version of Emacs is a work in progress, it will |
97932
20ce3b4f1247
A plea for fewer "it doesn't build" messages.
Glenn Morris <rgm@gnu.org>
parents:
96134
diff
changeset
|
61 sometimes fail to build. Please wait a day or so (and check the bug |
20ce3b4f1247
A plea for fewer "it doesn't build" messages.
Glenn Morris <rgm@gnu.org>
parents:
96134
diff
changeset
|
62 and development mailing list archives) before reporting such problems. |
20ce3b4f1247
A plea for fewer "it doesn't build" messages.
Glenn Morris <rgm@gnu.org>
parents:
96134
diff
changeset
|
63 In most cases, the problem is known about and is just waiting for |
20ce3b4f1247
A plea for fewer "it doesn't build" messages.
Glenn Morris <rgm@gnu.org>
parents:
96134
diff
changeset
|
64 someone to fix it. |
20ce3b4f1247
A plea for fewer "it doesn't build" messages.
Glenn Morris <rgm@gnu.org>
parents:
96134
diff
changeset
|
65 |
54055
6a13a0f9d22b
Add info about ssh/cvs related problems and work-around.
Kim F. Storm <storm@cua.dk>
parents:
53439
diff
changeset
|
66 |
75769
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
67 |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
68 This file is part of GNU Emacs. |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
69 |
94719
1a762a842f80
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94434
diff
changeset
|
70 GNU Emacs is free software: you can redistribute it and/or modify |
75769
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
71 it under the terms of the GNU General Public License as published by |
94719
1a762a842f80
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94434
diff
changeset
|
72 the Free Software Foundation, either version 3 of the License, or |
1a762a842f80
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94434
diff
changeset
|
73 (at your option) any later version. |
75769
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
74 |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
75 GNU Emacs is distributed in the hope that it will be useful, |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
76 but WITHOUT ANY WARRANTY; without even the implied warranty of |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
77 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
78 GNU General Public License for more details. |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
79 |
92a0e87ff562
Switch to standard GPL text for license.
Glenn Morris <rgm@gnu.org>
parents:
75587
diff
changeset
|
80 You should have received a copy of the GNU General Public License |
94719
1a762a842f80
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
94434
diff
changeset
|
81 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |