annotate etc/BETA @ 195:a2f645c6b9f8 r20-3b24

Import from CVS: tag r20-3b24
author cvs
date Mon, 13 Aug 2007 09:59:05 +0200
parents 9ad43877534d
children acd284d43ca1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
134
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
1 -*- mode:outline; minor-mode:outl-mouse -*-
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
2
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
3 * Introduction
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
4 ==============
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
5
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
6 You are running an experimental version of XEmacs. Please do not
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
7 report problems with Beta XEmacs to comp.emacs.xemacs. Report them to
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
8 xemacs-beta@xemacs.org.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
9
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
10 ** XEmacs Beta Mailing List
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
11 ===========================
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
12
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
13 *** Subscribing
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
14 ---------------
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
15
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
16 If you are not subscribed to the XEmacs beta list you should be. Send
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
17 an email message with a subject of `subscribe' (without the quotes) to
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
18 xemacs-beta-request@xemacs.org and follow the directions. You do not
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
19 have to fill out the survey if you don't want to.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
20
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
21 *** Unsubscribing
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
22 -----------------
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
23
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
24 To unsubscribe from the list send an email message with a subject of
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
25 `unsubscribe' (without the quotes) to xemacs-beta-request@xemacs.org.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
26
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
27 *** Administrivia
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
28 -----------------
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
29
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
30 The XEmacs beta list is managed by the SmartList mailing list package,
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
31 and the usual SmartList commands work. Do not send mailing list
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
32 requests to the main address (xemacs-beta@xemacs.org), always send
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
33 them to xemacs-beta-request@xemacs.org. If you have problems with the
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
34 list itself, they should be brought to the attention of the Mailing
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
35 List manager Chuck Thompson <cthomp@xemacs.org>.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
36
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
37
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
38 ** Beta Release Schedule
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
39 ========================
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
40
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
41 The URL ftp://ftp.xemacs.org/pub/beta/README always contains the best
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
42 estimate of when the next beta XEmacs will be released. For weekend
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
43 betas the release time is generally in the vicinity of 2PM to 5PM US
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
44 Pacific Time (Universal Time minus 8 hours). For weekday betas, the
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
45 release time is generally in the vicinity of 8PM to Midnight US
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
46 Pacific Time on the listed day.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
47
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
48 While 19.15 and 20.x are in parallel development, a simultaneous
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
49 release day implies a release of 20.x first, followed a few hours
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
50 later by 19.15.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
51
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
52 Betas are nominally a week apart, scheduled on every Saturday.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
53 Midweek releases are made when a serious enough problem warrants it.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
54
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
55
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
56 ** Reporting Problems
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
57 =====================
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
58
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
59 The best way to get problems fixed in XEmacs is to submit good problem
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
60 reports. Since this is beta software problems are certain to exist.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
61 Please read through all of part II of the XEmacs FAQ for an overview
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
62 of problem reporting. Other items which are most important are:
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
63
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
64 1. Do not submit C stack backtraces without line numbers. Since it
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
65 is possible to compile optimized with debug information with GCC
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
66 it is never a good idea to compile XEmacs without the -g flag.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
67 XEmacs runs on a variety of platforms, and often it is not
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
68 possible to recreate problems which afflict a specific platform.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
69 The line numbers in the C stack backtrace help isolate where the
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
70 problem is actually occurring.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
71
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
72 2. Attempt to recreate the problem starting with an invocation of
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
73 XEmacs with `xemacs -q -no-site-file'. Quite often problems are
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
74 due to package interdependencies, and the like. An actual bug in
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
75 XEmacs should be reproducible in a default configuration without
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
76 loading any special packages (or the one or two specific packages
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
77 that cause the bug to appear).
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
78
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
79 3. A picture can be worth a thousand words. When reporting an
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
80 unusual display, it is generally best to capture the problem in a
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
81 screen dump and include that with the problem report. The easiest
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
82 way to get a screen dump is to use the xv program and its grab
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
83 function. Save the image as a GIF to keep bandwidth requirements
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
84 down without loss of information. MIME is the preferred method
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
85 for making the image attachments.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
86
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
87 * Compiling Beta XEmacs
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
88 =======================
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
89
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
90 ** Building an XEmacs from patches
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
91 ==================================
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
92
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
93 All beta releases of XEmacs are included with patches from the
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
94 previous version in an attempt to keep bandwidth requirements down.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
95 Patches should be applied with the GNU patch program in something like
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
96 the following. Let's say you're upgrading XEmacs 20.4-beta10 to
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
97 XEmacs 20.4-beta11 and you have a full unmodified XEmacs 20.4-beta10
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
98 source tree to work with. Cd to the top level directory and issue the
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
99 shell command:
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
100
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
101 $ gunzip -c /tmp/xemacs-20.4-b10-20.4-b11.patch.gz | patch -p1
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
102
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
103 After patching check to see that no patches were missed by doing
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
104 $ find . -name \*.rej -print
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
105
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
106 Any rejections should be treated as serious problems to be resolved
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
107 before starting compilation.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
108
179
9ad43877534d Import from CVS: tag r20-3b16
cvs
parents: 136
diff changeset
109 After seeing that there were no rejections, issue the commands
134
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
110
179
9ad43877534d Import from CVS: tag r20-3b16
cvs
parents: 136
diff changeset
111 $ ./config.status --recheck
9ad43877534d Import from CVS: tag r20-3b16
cvs
parents: 136
diff changeset
112 $ make beta
134
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
113
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
114 and go play minesweep for awhile on an older XEmacs while the binary
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
115 is rebuilt.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
116
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
117 ** Building an XEmacs from a full distribution
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
118 ==============================================
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
119
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
120 Locate a convenient place where you have at least 100MB of free space
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
121 and issue the command
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
122
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
123 $ gunzip -c /tmp/xemacs-20.4-b11.tar.gz | tar xvf -
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
124
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
125 (or the simpler `tar zxvf /tmp/xemacs-20.4-b11.tar.gz' if you use GNU
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
126 tar).
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
127
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
128 cd to the top level directory and issue an appropriate configure
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
129 command. The maintainer uses the following at the time of this
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
130 writing:
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
131
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
132 ./configure --with-offix --with-mule=yes --with-dialogs=athena3d \
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
133 --cflags="-m486 -g -O4 -fno-strength-reduce -malign-loops=2 \
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
134 -malign-jumps=2 -malign-functions=2" --with-sound=no \
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
135 --with-xface=yes --error-checking=all --debug=yes \
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
136 --with-scrollbars=athena3d \
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
137 --with-canna=yes --with-wnn=yes --wnn-includes=/usr/X11R6/include/wnn
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
138
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
139 Save the output from configure that looks something like:
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
140 Configured for `i586-unknown-linux2.0.28'.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
141
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
142 Where should the build process find the source code? /usr/src/xemacs-20.0
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
143 What installation prefix should install use? /usr/local
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
144 What operating system and machine description files should XEmacs use?
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
145 `s/linux.h' and `m/intel386.h'
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
146 What compiler should XEmacs be built with? gcc -m486 -g -O4 -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
147 Should XEmacs use the GNU version of malloc? yes
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
148 Should XEmacs use the relocating allocator for buffers? yes
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
149 What window system should XEmacs use? x11
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
150 Where do we find X Windows header files? /usr/X11R6/include
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
151 Where do we find X Windows libraries? /usr/X11R6/lib
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
152 Compiling in support for XAUTH.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
153 Compiling in support for XPM.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
154 Compiling in support for X-Face headers.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
155 Compiling in support for GIF image conversion.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
156 Compiling in support for JPEG image conversion.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
157 Compiling in support for PNG image conversion.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
158 Compiling in support for Berkeley DB.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
159 Compiling in support for GNU DBM.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
160 Compiling in Mule (multi-lingual) support.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
161 Compiling in support for OffiX.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
162 Using the Lucid menubar.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
163 Using the Athena-3d scrollbar.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
164 Using the Athena-3d dialog boxes.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
165
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
166 Then type make and you should have a working XEmacs.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
167
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
168 After you have verified that you have a functional editor, fire up
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
169 your favorite mail program and send a build report to
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
170 xemacs-beta@xemacs.org. The build report should include
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
171
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
172 1. Your hardware configuration (OS version, etc.)
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
173
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
174 2. Version numbers of software in use (X11 version, system library
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
175 versions if appropriate, graphics library versions if appropriate).
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
176 If you're on a system like Linux, include all the version numbers
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
177 you can because chances are it makes a difference.
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
178
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
179 3. The options given to configure
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
180
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
181 4. The configuration report illustrated above
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
182
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
183 5. Any other unusual items you feel should be brought to the attention
34a5b81f86ba Import from CVS: tag r20-2b1
cvs
parents:
diff changeset
184 of the developers.
136
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
185
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
186 ** Creating patches for submission
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
187 ==================================
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
188
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
189 When making patches you should use the `-c', or preferably if your
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
190 diff supports it, `-u'. Using ordinary diffs like this are
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
191 notoriously prone to error (and this one won't in fact work, since
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
192 I've already applied a patch to this file so the line numbers probably
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
193 don't match up any more).
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
194
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
195 $ diff -u old-file.c new-file.c
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
196
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
197 -or-
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
198
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
199 $ diff -c old-file.c new-file.c
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
200
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
201 Also, it is helpful for me if you create the patch in the top level of
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
202 the XEmacs source directory:
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
203
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
204 $ diff -u lwlib/xlwmenu.c~ lwlib/xlwmenu.c
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
205
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
206 I prefer patches to be accompanied by an update (either a raw entry or
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
207 a patch) to the appropriate ChangeLog file, but it is not required.
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
208
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
209 Also note that if you cut & paste from an xterm to an XEmacs mail buffer
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
210 you will probably lose due to tab expansion. The best thing to do is to
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
211 M-x cd to the appropriate directory, and issue the command `C-u M-!' from
b980b6286996 Import from CVS: tag r20-2b2
cvs
parents: 134
diff changeset
212 within XEmacs.
195
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
213
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
214 * XEmacs 20.3 packages
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
215
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
216 XEmacs 20.3 has added the concept of installable packages searched prior
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
217 to dump time when building.
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
218
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
219 Packages are searched by default under /usr/local/lib/xemacs/packages/.
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
220 The summary message in configure will tell you where XEmacs is looking
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
221 for them. The packages hierarchy differs from site-lisp in that you
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
222 do not have install XEmacs to use it, indeed, the package path is
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
223 searched prior to dump time so that installed packages have the same
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
224 status as lisp distributed in the xemacs base tarball.
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
225
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
226 The structure of each directory in the package search path should look
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
227 like the base installed directory (ie. have etc/, info/, and lisp/,).
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
228 Lisp is searched recursively. It and all subdirectories are added to
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
229 the `load-path'. Each etc directory is added to `data-directory-list',
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
230 and each info directory is added to `Info-default-directory-list'.
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
231
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
232 A `find . -type d -print' in my top-level package directory reveals:
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
233 ./etc
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
234 ./etc/auctex
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
235 ./etc/auctex/style
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
236 ./etc/gnus
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
237 ./etc/skk
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
238 ./etc/gnusrefcard
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
239 ./etc/smilies
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
240 ./etc/message
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
241 ./info
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
242 ./lisp
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
243 ./lisp/gnus
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
244 ./lisp/auctex
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
245 ./lisp/auctex/man
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
246 ./lisp/footnote
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
247 ./lisp/skk
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
248
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
249
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
250 AUCTeX and Gnus have package tarballs in
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
251 ftp://ftp.xemacs.org/pub/beta/packages-20.3/
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
252 that you can simply untar in a package directory to install.
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
253
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
254 Karl Hegbloom has a set of packages in
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
255 [I lost the reference]
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
256 that work the same way.
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
257
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 179
diff changeset
258 This is not how package installation will work in released 20.3.