2537
|
1 \input texinfo @c -*-texinfo-*-
|
|
2
|
2547
|
3 @c This file is in Texinfo format.
|
|
4 @c If for some reason you do not have the formatted version available,
|
|
5 @c this file is more or less readable as plain text.
|
|
6 @c Skip to the line beginning "@node Introduction".
|
|
7
|
2537
|
8 @c %**start of header
|
|
9 @setfilename ../info/beta.info
|
|
10 @settitle Info on beta versions of XEmacs
|
|
11 @direntry
|
|
12 * Beta: (beta). Info on beta versions of XEmacs.
|
|
13 @end direntry
|
|
14 @c footnotestyle separate
|
|
15 @c paragraphindent 2
|
|
16 @c %**end of header
|
|
17
|
|
18 @ifinfo
|
|
19 This file describes info relevant to beta versions of XEmacs.
|
|
20
|
|
21 Copyright @copyright{} 2005 Ben Wing.
|
2547
|
22 Copyright @copyright{} 2005 Free Software Foundation, Inc.
|
2537
|
23
|
|
24 This file is part of XEmacs.
|
|
25
|
|
26 XEmacs is free software; you can redistribute it and/or modify it
|
|
27 under the terms of the GNU General Public License as published by the
|
|
28 Free Software Foundation; either version 2, or (at your option) any
|
|
29 later version.
|
|
30
|
|
31 XEmacs is distributed in the hope that it will be useful, but WITHOUT
|
|
32 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
33 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
34 for more details.
|
|
35
|
|
36 You should have received a copy of the GNU General Public License
|
|
37 along with XEmacs; see the file COPYING. If not, write to
|
|
38 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
39 Boston, MA 02111-1307, USA.
|
|
40 @end ifinfo
|
|
41
|
|
42 @c Combine indices.
|
|
43 @syncodeindex fn cp
|
|
44 @syncodeindex vr cp
|
|
45 @syncodeindex ky cp
|
|
46 @syncodeindex pg cp
|
|
47 @syncodeindex tp cp
|
|
48
|
|
49 @setchapternewpage odd
|
|
50 @finalout
|
|
51
|
|
52 @titlepage
|
|
53 @title Info on beta versions of XEmacs
|
|
54
|
|
55 @author XEmacs Development Team
|
|
56 @page
|
|
57 @vskip 0pt plus 1fill
|
|
58
|
|
59 @noindent
|
|
60 Copyright @copyright{} 2005 Ben Wing. @*
|
|
61
|
|
62 This file is part of XEmacs.
|
|
63
|
|
64 XEmacs is free software; you can redistribute it and/or modify it
|
|
65 under the terms of the GNU General Public License as published by the
|
|
66 Free Software Foundation; either version 2, or (at your option) any
|
|
67 later version.
|
|
68
|
|
69 XEmacs is distributed in the hope that it will be useful, but WITHOUT
|
|
70 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
71 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
72 for more details.
|
|
73
|
|
74 You should have received a copy of the GNU General Public License
|
|
75 along with XEmacs; see the file COPYING. If not, write to
|
|
76 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
77 Boston, MA 02111-1307, USA.
|
|
78 @end titlepage
|
|
79 @page
|
|
80
|
|
81 @ifinfo
|
|
82 @node Top, Introduction, (dir), (dir)
|
|
83 This Info file describes info relevant to beta versions of XEmacs.
|
|
84 @menu
|
|
85 * Introduction::
|
|
86 * Compiling Beta XEmacs::
|
|
87 * Packages::
|
|
88 * Improving XEmacs::
|
2547
|
89 * Index::
|
2537
|
90
|
|
91 @detailmenu
|
|
92 --- The Detailed Node Listing ---
|
|
93
|
|
94 Introduction
|
|
95
|
|
96 * Mailing Lists::
|
|
97 * Beta Release Schedule::
|
|
98 * Reporting Problems::
|
|
99 * Getting the Source::
|
|
100
|
|
101 Mailing Lists
|
|
102
|
|
103 * XEmacs Beta Mailing List::
|
|
104 * XEmacs Patches Mailing List::
|
|
105 * XEmacs Design Mailing List::
|
|
106 * List Administrivia::
|
|
107 * Managing your subscription via the Web::
|
|
108 * Subscribing by e-mail::
|
|
109 * Unsubscribing by e-mail::
|
|
110
|
|
111 Compiling Beta XEmacs
|
|
112
|
|
113 * Building an XEmacs from patches::
|
|
114 * Building XEmacs from a full distribution::
|
|
115
|
|
116 Packages
|
|
117
|
|
118 * Binary package installation::
|
|
119 * Manual procedures for package management::
|
|
120 * Building XEmacs and XEmacs packages from scratch::
|
|
121
|
|
122 Improving XEmacs
|
|
123
|
|
124 * Creating patches for submission::
|
|
125 * Large contributions::
|
|
126
|
|
127 Creating patches for submission
|
|
128
|
|
129 * Patch discussion etiquette::
|
|
130
|
|
131 Large contributions
|
|
132
|
|
133 * Updates to existing packages::
|
|
134 * New packages::
|
|
135 * Syncing with GNU Emacs::
|
|
136
|
|
137 @end detailmenu
|
|
138 @end menu
|
|
139
|
|
140 @end ifinfo
|
|
141
|
|
142 @node Introduction, Compiling Beta XEmacs, Top, Top
|
|
143 @chapter Introduction
|
|
144
|
|
145 You are running a potentially unstable version of XEmacs. Please do
|
|
146 not report problems with Beta XEmacs to comp.emacs.xemacs. Report
|
|
147 them to @uref{mailto:xemacs-beta@@xemacs.org}, preferably with
|
|
148 @kbd{M-x report-xemacs-bug RET}.
|
|
149
|
|
150 @menu
|
|
151 * Mailing Lists::
|
|
152 * Beta Release Schedule::
|
|
153 * Reporting Problems::
|
|
154 * Getting the Source::
|
|
155 @end menu
|
|
156
|
|
157 @node Mailing Lists, Beta Release Schedule, Introduction, Introduction
|
|
158 @section Mailing Lists
|
|
159
|
|
160 @menu
|
|
161 * XEmacs Beta Mailing List::
|
|
162 * XEmacs Patches Mailing List::
|
|
163 * XEmacs Design Mailing List::
|
|
164 * List Administrivia::
|
|
165 * Managing your subscription via the Web::
|
|
166 * Subscribing by e-mail::
|
|
167 * Unsubscribing by e-mail::
|
|
168 @end menu
|
|
169
|
|
170 @node XEmacs Beta Mailing List, XEmacs Patches Mailing List, Mailing Lists, Mailing Lists
|
|
171 @subsection XEmacs Beta Mailing List
|
|
172
|
|
173 If you are not subscribed to the XEmacs beta list you should be.
|
|
174 Currently all discussion of development issues, including bug reports
|
|
175 and coding discussion, takes place on the XEmacs Beta mailing list.
|
|
176 Only patches and administrative actions regarding patches are sent
|
|
177 elsewhere (to the XEmacs Patches list).
|
|
178
|
|
179 @node XEmacs Patches Mailing List, XEmacs Design Mailing List, XEmacs Beta Mailing List, Mailing Lists
|
|
180 @subsection XEmacs Patches Mailing List
|
|
181
|
|
182 XEmacs Patches records proposed changes to XEmacs, and their
|
|
183 disposition. It is open subscription, and all patches that are
|
|
184 seriously proposed for inclusion in XEmacs should be posted here. You
|
|
185 can follow progress of your patch by subscribing to the mailing list
|
|
186 or in the archives.
|
|
187
|
|
188 Besides patches, only actions by members of the XEmacs Review Board
|
|
189 should be posted to this list. All discussion should be redirected to
|
|
190 XEmacs Beta or XEmacs Design.
|
|
191
|
|
192 @node XEmacs Design Mailing List, List Administrivia, XEmacs Patches Mailing List, Mailing Lists
|
|
193 @subsection XEmacs Design Mailing List
|
|
194
|
|
195 XEmacs Design is for design discussions such as adding major features
|
|
196 or whole modules, or reimplementation of existing functions, to XEmacs.
|
|
197
|
|
198 @node List Administrivia, Managing your subscription via the Web, XEmacs Design Mailing List, Mailing Lists
|
|
199 @subsection List Administrivia
|
|
200
|
|
201 In the descriptions below, the word LIST (all uppercase) is a
|
|
202 variable. Substitute "beta", "design", or "patches" as appropriate
|
|
203 (to get "xemacs-beta" as the mailbox for the XEmacs Beta mailing list,
|
|
204 or @uref{http://www.xemacs.org/Lists/#xemacs-beta} for its URL).
|
|
205
|
|
206 The XEmacs mailing lists are managed by the Mailman mailing list package,
|
|
207 and the usual Mailman commands work. Do not send mailing list requests to
|
|
208 the main address (@uref{mailto:xemacs-LIST@@xemacs.org}), always send them
|
|
209 to @uref{mailto:xemacs-LIST-request@@xemacs.org}. If you have problems with
|
|
210 the list itself, they should be brought to the attention of the XEmacs
|
|
211 Mailing List manager @uref{mailto:list-manager@@xemacs.org} (the same
|
|
212 mailbox, "list-manager", for all lists). All public mailing lists have
|
|
213 searchable archives. The URL is
|
|
214
|
|
215 @uref{http://list-archive.xemacs.org/xemacs-LIST}
|
|
216
|
|
217 Note that the xemacs-LIST-admin address is used internally by the
|
|
218 Mailman software; it is NOT a synonym for xemacs-LIST-request.
|
|
219
|
|
220 @node Managing your subscription via the Web, Subscribing by e-mail, List Administrivia, Mailing Lists
|
|
221 @subsection Managing your subscription via the Web
|
|
222
|
|
223 Subscription, unsubscription, and options (such as digests and
|
|
224 temporarily suspending delivery) can be accomplished via the web
|
|
225 interface at @uref{http://www.xemacs.org/Lists/#xemacs-LIST}.
|
|
226
|
|
227 @node Subscribing by e-mail, Unsubscribing by e-mail, Managing your subscription via the Web, Mailing Lists
|
|
228 @subsection Subscribing by e-mail
|
|
229
|
|
230 Send an email message to @uref{mailto:xemacs-LIST-request@@xemacs.org} with
|
|
231 @samp{subscribe} (without the quotes) as the BODY of the message.
|
|
232
|
|
233 @node Unsubscribing by e-mail, , Subscribing by e-mail, Mailing Lists
|
|
234 @subsection Unsubscribing by e-mail
|
|
235
|
|
236 Send an email message to @uref{mailto:xemacs-LIST-request@@xemacs.org} with
|
|
237 @samp{unsubscribe} (without the quotes) as the BODY of the message.
|
|
238
|
|
239 @node Beta Release Schedule, Reporting Problems, Mailing Lists, Introduction
|
|
240 @section Beta Release Schedule
|
|
241
|
|
242 We would like to achieve a weekly or fortnightly release cycle (you
|
|
243 know the Open Source model: release early, release often), and in a
|
|
244 perfect world that would indeed be the case. There are at least three
|
|
245 things that often get in the way of that goal: 1) The Release Manager
|
|
246 has a life outside of XEmacs (hard to believe, I know, but true),
|
|
247 2) we like to make releases that will build (at least on the Release
|
|
248 Manager's box), and 3) Murphy likes to throw a spanner in the works
|
|
249 right when you least expect it (Murphy's Law: Whatever can go wrong,
|
|
250 will go wrong).
|
|
251
|
|
252 If you'd like to keep right up to date and ride the bleeding edge, use
|
|
253 CVS (see @uref{http://www.xemacs.org/Develop/cvsaccess.html}). If you
|
|
254 can't use CVS for some reason and must use FTP, please let us know.
|
|
255 it will make it more likely that we release betas more often.
|
|
256
|
|
257
|
|
258 @node Reporting Problems, Getting the Source, Beta Release Schedule, Introduction
|
|
259 @section Reporting Problems
|
|
260
|
|
261 The best way to get problems fixed in XEmacs is to submit good problem
|
|
262 reports, @kbd{M-x report-xemacs-bug RET} will help you do this (assuming
|
|
263 you have a usable XEmacs). Since this is beta software, problems are
|
|
264 certain to exist. Please read through all of part II of the XEmacs
|
|
265 FAQ for an overview of problem reporting. Other items which are most
|
|
266 important are:
|
|
267
|
|
268 @enumerate
|
|
269 @item
|
|
270 Do not submit C stack backtraces without line numbers. Since it
|
|
271 is possible to compile optimized with debug information with GCC
|
|
272 it is never a good idea to compile XEmacs without the -g flag.
|
|
273 XEmacs runs on a variety of platforms, and often it is not
|
|
274 possible to recreate problems which afflict a specific platform.
|
|
275 The line numbers in the C stack backtrace help isolate where the
|
|
276 problem is actually occurring.
|
|
277
|
|
278 @item
|
|
279 Attempt to recreate the problem starting with an invocation of
|
|
280 XEmacs with @code{xemacs -no-autoloads}. Quite often, problems are
|
|
281 due to package interdependencies, and the like. An actual bug
|
|
282 in XEmacs should be reproducible in a default configuration
|
|
283 without loading any special packages (or the one or two specific
|
|
284 packages that cause the bug to appear). If you have trouble
|
|
285 getting anything to work at all with the above invocation, use
|
|
286 @code{xemacs -vanilla} instead. If you need to load your user init
|
|
287 file or the site file to get the problem to occur, then it has
|
|
288 something to do with them, and you should try to isolate the
|
|
289 issue in those files.
|
|
290
|
|
291 @item
|
|
292 A picture can be worth a thousand words. When reporting an
|
|
293 unusual display, it is generally best to capture the problem in a
|
|
294 screen dump and include that with the problem report. The easiest
|
|
295 way to get a screen dump is to use the xv program and its grab
|
|
296 function. Save the image as a GIF to keep bandwidth requirements
|
|
297 down without loss of information. MIME is the preferred method
|
|
298 for making the image attachments.
|
|
299 @end enumerate
|
|
300
|
|
301 @node Getting the Source, , Reporting Problems, Introduction
|
|
302 @section Getting the Source
|
|
303
|
|
304 In addition to the normal tar distribution, XEmacs source is now
|
|
305 available via CVS. Please see
|
|
306
|
|
307 @uref{http://www.xemacs.org/Develop/cvsaccess.html}
|
|
308
|
|
309 @node Compiling Beta XEmacs, Packages, Introduction, Top
|
|
310 @chapter Compiling Beta XEmacs
|
|
311
|
|
312 @menu
|
|
313 * Building an XEmacs from patches::
|
|
314 * Building XEmacs from a full distribution::
|
|
315 @end menu
|
|
316
|
|
317 @node Building an XEmacs from patches, Building XEmacs from a full distribution, Compiling Beta XEmacs, Compiling Beta XEmacs
|
|
318 @section Building an XEmacs from patches
|
|
319
|
|
320 All beta releases of XEmacs are included with patches from the previous
|
|
321 version in an attempt to keep bandwidth requirements down. Patches
|
|
322 should be applied with the GNU patch program in something like the
|
|
323 following. Let's say you're upgrading XEmacs 21.5-beta9 to XEmacs
|
|
324 21.5-beta10 and you have a full unmodified XEmacs 21.5-beta9 source
|
|
325 tree to work with. Change to the top level directory and issue the
|
|
326 shell command:
|
|
327
|
|
328 @example
|
|
329 $ gunzip -c /tmp/xemacs-21.5.9-21.5.10.patch.gz | patch -p1
|
|
330 @end example
|
|
331
|
|
332 After patching, check to see that no patches were missed by doing
|
|
333
|
|
334 @example
|
|
335 $ find . -name \*.rej -print
|
|
336 @end example
|
|
337
|
|
338 Any rejections should be treated as serious problems to be resolved
|
|
339 before building XEmacs.
|
|
340
|
|
341 After seeing that there were no rejections, issue the commands
|
|
342
|
|
343 @example
|
|
344 $ ./config.status --recheck
|
|
345 $ make beta > ./beta.err 2>&1
|
|
346 $ make check > ./xemacs-make-check.err 2>&1
|
|
347 @end example
|
|
348
|
|
349 Redirect the output from make to those files because you'll use them
|
|
350 later when you send off a build report with @kbd{M-x build-report RET}
|
|
351
|
|
352 @node Building XEmacs from a full distribution, , Building an XEmacs from patches, Compiling Beta XEmacs
|
|
353 @section Building XEmacs from a full distribution
|
|
354
|
|
355 @enumerate
|
|
356 @item
|
|
357 Locate a convenient place where you have at least 100MB of free space
|
|
358 and issue the command
|
|
359
|
|
360 @example
|
|
361 $ gunzip -c /tmp/xemacs-21.5.10.tar.gz | tar xvf -
|
|
362 @end example
|
|
363
|
|
364 (or simply @code{tar zxvf /tmp/xemacs-21.5.10.tar.gz} if you use GNU tar).
|
|
365
|
|
366 @item
|
|
367 cd to the top level directory and issue an appropriate configure
|
|
368 command.
|
|
369
|
|
370 @item
|
|
371 Run @code{configure}. If you are new, just consider running it with no
|
|
372 options, to see if you can get a succesful build. When you are more
|
|
373 experienced, you should put various flags in. Here is what we suggest:
|
|
374
|
|
375 @enumerate
|
|
376 @item
|
|
377 It's a good idea to use
|
|
378
|
|
379 @example
|
|
380 --extra-verbose
|
|
381 --debug
|
|
382 --memory-usage-stats
|
|
383 --error-checking=all
|
|
384 @end example
|
|
385
|
|
386 These turn on extra debugging info and checks. The last one in particular
|
|
387 will add a great deal of extra error-checking -- which will slow your XEmacs
|
|
388 down somewhat but is likely to catch bugs much sooner and make your bug
|
|
389 reports much more useful.
|
|
390
|
|
391 @item
|
|
392 You should also strongly consider
|
|
393
|
|
394 @example
|
|
395 --with-mule
|
|
396 --use-pkcc
|
|
397 --pdump
|
|
398 --with-clash-detection
|
|
399 --with-wmcommand
|
|
400 --with-xfs
|
|
401 @end example
|
|
402
|
|
403 These turn on optional features, which can always use testing.
|
|
404
|
|
405 @item
|
|
406 If you have gcc, consider using
|
|
407
|
|
408 @example
|
|
409 --compiler=gcc
|
|
410 --xemacs-compiler=g++
|
|
411 @end example
|
|
412
|
|
413 This will compile XEmacs using g++, which will turn on a lot of additional
|
|
414 error-checking.
|
|
415
|
|
416 @item
|
|
417 If your packages are not installed under /usr/local, you should add a
|
|
418 line like
|
|
419
|
|
420 @example
|
|
421 --package-path=~/.xemacs::/xemacs/site-packages:/xemacs/xemacs-packages:/xemacs/mule-packages
|
|
422 @end example
|
|
423
|
|
424 @item
|
|
425 If you want to build multiple configurations from the same source
|
|
426 tree, make separate build directories for each configuration, run
|
|
427 @code{configure} from the top level of these (currently empty)
|
|
428 directories and use an option like
|
|
429
|
|
430 @example
|
|
431 --srcdir=/xemacs/source-tree
|
|
432 @end example
|
|
433
|
|
434 (or wherever your source tree is). This will magically create symlinks and
|
|
435 populate your build directory.
|
|
436
|
|
437 @item
|
|
438 Use --site-prefixes (or --site-includes and --site-libraries) if you have
|
|
439 some packages that XEmacs can compile with that are located in an unusual
|
|
440 place. For example:
|
|
441
|
|
442 @example
|
|
443 --site-prefixes=/usr/local/pgsql:/usr/local/BerkeleyDB.4.1
|
|
444 @end example
|
|
445
|
|
446 @item
|
|
447 Depending on your build environment, consuder setting or not setting
|
|
448 options for menubars, scrollbars, window systems, native sound, etc. If
|
|
449 you're not sure, leave them out and let configure do the auto-detection.
|
|
450 (If you get bugs compiling GTK, use @code{--with-gtk=no --with-gnome=no}.)
|
|
451
|
|
452 Part of the configure output is a summary that looks something
|
|
453 like the following. (this summary is also available as the file
|
|
454 'Installation' in the top directory of your build tree, and via
|
|
455 the command @kbd{M-x describe-installation RET}).
|
|
456
|
|
457 @example
|
|
458 uname -a: Linux eicq 2.4.20 #1 Wed Dec 18 02:14:29 EST 2002 i586 unknown
|
|
459
|
|
460 ./configure '--extra-verbose' '--site-prefixes=/usr/local/pgsql:/usr/local/BerkeleyDB.4.1' '--dynamic=yes' '--with-gtk=no' '--with-gnome=no' '--with-toolbars' '--with-wmcommand' '--with-athena=next' '--with-menubars=lucid' '--with-scrollbars=athena' '--with-dialogs=athena' '--with-widgets=athena' '--with-gif' '--with-sound=native,noesd' '--with-site-lisp=no' '--with-site-modules' '--pdump' '--with-mule' '--with-xfs' '--debug' '--error-checking=all' '--memory-usage-stats' '--use-kkcc' '--with-clash-detection'
|
|
461
|
|
462
|
|
463 XEmacs 21.5-b10 "burdock" (+CVS-20030131) configured for `i586-pc-linux'.
|
|
464
|
|
465
|
|
466 Compilation / Installation:
|
|
467 Source code location: /usr/local/src/xemacs
|
|
468 Installation prefix: /usr/local
|
|
469 Additional prefixes: /usr/local/pgsql /usr/local/BerkeleyDB.4.1
|
|
470 Operating system description file: `s/linux.h'
|
|
471 Machine description file: `m/intel386.h'
|
|
472 Compiler: gcc -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wundef -Wstrict-prototypes -Wshadow -Wmissing-declarations -O1 -ggdb3 -Wall -Wchar-subscripts -Wunused -Wundef -Wshadow -Wsign-compare -Wmissing-declarations -march=k6
|
|
473 Relocating allocator for buffers: no
|
|
474 GNU version of malloc: yes
|
|
475 - Using Doug Lea's new malloc from the GNU C Library.
|
|
476
|
|
477 Window System:
|
|
478 Compiling in support for the X window system:
|
|
479 - X Windows headers location: /usr/X11/include
|
|
480 - X Windows libraries location: /usr/X11/lib
|
|
481 - Handling WM_COMMAND properly.
|
|
482 Compiling in support for the Athena widget set:
|
|
483 - Athena headers location: X11/neXtaw
|
|
484 - Athena library to link: neXtaw
|
|
485 Using Lucid menubars.
|
|
486 Using Athena scrollbars.
|
|
487 Using Athena dialog boxes.
|
|
488 Using Athena native widgets.
|
|
489
|
|
490 TTY:
|
|
491 Compiling in support for ncurses.
|
|
492 Compiling in support for GPM (General Purpose Mouse).
|
|
493
|
|
494 Images:
|
|
495 Compiling in support for GIF images (builtin).
|
|
496 Compiling in support for XPM images.
|
|
497 Compiling in support for PNG images.
|
|
498 Compiling in support for JPEG images.
|
|
499 Compiling in support for TIFF images.
|
|
500 Compiling in support for X-Face message headers.
|
|
501
|
|
502 Sound:
|
|
503 Compiling in support for sound (native).
|
|
504
|
|
505 Databases:
|
|
506 Compiling in support for Berkeley database.
|
|
507 Compiling in support for PostgreSQL.
|
|
508 - Using PostgreSQL header file: libpq-fe.h
|
|
509 - Using PostgreSQL V7 bindings.
|
|
510
|
|
511 Internationalization:
|
|
512 Compiling in support for Mule (multi-lingual Emacs).
|
|
513 Compiling in support for XIM (X11R5+ I18N input method).
|
|
514 - Using raw Xlib to provide XIM support.
|
|
515 - Using XFontSet to provide bilingual menubar.
|
|
516
|
|
517 Mail:
|
|
518 Compiling in support for "dot-locking" mail spool file locking method.
|
|
519
|
|
520 Other Features:
|
|
521 Inhibiting IPv6 canonicalization at startup.
|
|
522 Compiling in support for dynamic shared object modules.
|
|
523 Using the new GC algorithms.
|
|
524 Using the new portable dumper.
|
|
525 Compiling in support for extra debugging code.
|
|
526 WARNING: WARNING: Compiling in support for runtime error checking.
|
|
527 WARNING: XEmacs will run noticeably more slowly as a result.
|
|
528 WARNING: Error checking is on by default for XEmacs beta releases.
|
|
529 WARNING:
|
|
530 @end example
|
|
531 @end enumerate
|
|
532
|
|
533
|
|
534 @item
|
|
535 Then...
|
|
536
|
|
537 @example
|
|
538 $ make > ./beta.err 2>&1
|
|
539 $ make check > ./xemacs-make-check.err 2>&1
|
|
540 @end example
|
|
541
|
|
542 ...and you should have a working XEmacs.
|
|
543
|
|
544 @item
|
|
545 After you have verified that you have a functional editor, fire up
|
|
546 your favorite mail program and send a build report to
|
|
547 @uref{mailto:xemacs-buildreports@@xemacs.org}.
|
|
548
|
|
549 Preferably this is best done from XEmacs, following these simple steps:
|
|
550
|
|
551 @enumerate
|
|
552 @kbd{M-x customize-group RET build-report RET}
|
|
553 @kbd{M-x build-report RET}
|
|
554 @end enumerate
|
|
555
|
|
556 See also
|
|
557 @uref{http://www.xemacs.org/Releases/Public-21.2/tester.html#reporting}
|
|
558
|
|
559 If you create the report manually by other means, here is what the
|
|
560 build report should include:
|
|
561
|
|
562 @enumerate
|
|
563 @item
|
|
564 Your hardware configuration (OS version, etc.)
|
|
565
|
|
566 @item
|
|
567 Version numbers of software in use (X11 version, system library
|
|
568 versions if appropriate, graphics library versions if appropriate).
|
|
569 If you're on a system like Linux, include all the version numbers
|
|
570 you can because chances are it makes a difference.
|
|
571
|
|
572 @item
|
|
573 The options given to configure
|
|
574
|
|
575 @item
|
|
576 The configuration report illustrated above
|
|
577
|
|
578 For convenience all of the above items are placed in a file called
|
|
579 `Installation' in the top level build directory. They are also
|
|
580 available by performing @kbd{M-x describe-installation} inside XEmacs.
|
|
581
|
|
582 @item
|
|
583 Any other unusual items you feel should be brought to the attention
|
|
584 of the developers.
|
|
585 @end enumerate
|
|
586 @end enumerate
|
|
587
|
|
588 @node Packages, Improving XEmacs, Compiling Beta XEmacs, Top
|
|
589 @chapter Packages
|
|
590
|
|
591 [Note: these instructions have been partly updated, but not carefully
|
|
592 reviewed in some time. Caveat tester.]
|
|
593
|
|
594 Starting with XEmacs 21.1, much of the functionality of XEmacs has
|
|
595 been unbundled into "the packages." For more information about the
|
|
596 package system, see the Info nodes on Packages (in the XEmacs User
|
|
597 Manual) and on Packaging (in the Lisp Reference).
|
|
598
|
|
599 When bootstrapping XEmacs, you may need to manually install some
|
|
600 packages (at least xemacs-base and efs). These packages are available
|
|
601 by FTP at @uref{ftp://ftp.xemacs.org/pub/xemacs/packages/}.
|
|
602
|
|
603 @menu
|
|
604 * Binary package installation::
|
|
605 * Manual procedures for package management::
|
|
606 * Building XEmacs and XEmacs packages from scratch::
|
|
607 @end menu
|
|
608
|
|
609 @node Binary package installation, Manual procedures for package management, Packages, Packages
|
|
610 @section Binary package installation
|
|
611
|
|
612 Prerequisite: XEmacs 21.0-b1.
|
|
613
|
|
614 Binary packages are complete entities that can be untarred at the top
|
|
615 level of an XEmacs package hierarchy and work at runtime. To install files
|
|
616 in this directory, run the command @kbd{M-x package-admin-add-binary-package}
|
|
617 and fill in appropriate values to the prompts.
|
|
618
|
|
619 @node Manual procedures for package management, Building XEmacs and XEmacs packages from scratch, Binary package installation, Packages
|
|
620 @section Manual procedures for package management
|
|
621
|
|
622 Prerequisite: XEmacs 21.0
|
|
623
|
|
624 When adding and deleting files from a lisp directory the
|
|
625 auto-autoloads.el (global symbols) and custom-load.el (Customization
|
|
626 groups) must be kept in synch. Assuming one is manipulating a
|
|
627 directory called `lisp-utils', the command to rebuild the
|
|
628 auto-autoloads.el file is:
|
|
629
|
|
630 @example
|
|
631 xemacs -vanilla -batch \
|
|
632 -eval \("setq autoload-package-name \"lisp-utils\""\) \
|
|
633 -f batch-update-directory lisp-utils
|
|
634 @end example
|
|
635
|
|
636 The command to rebuild the custom-load.el file is:
|
|
637
|
|
638 @example
|
|
639 xemacs -vanilla -batch -f Custom-make-dependencies lisp-utils
|
|
640 @end example
|
|
641
|
|
642 To byte-compile both of these files the command is:
|
|
643
|
|
644 @example
|
|
645 xemacs -vanilla -batch -f batch-byte-compile \
|
|
646 lisp-utils/auto-autoloads.el lisp-utils/custom-load.el
|
|
647 @end example
|
|
648
|
|
649 Of course, being a beta tester, you'd be aware that it is much easier
|
|
650 to manage your XEmacs packages with PUI.
|
|
651
|
|
652 @node Building XEmacs and XEmacs packages from scratch, , Manual procedures for package management, Packages
|
|
653 @section Building XEmacs and XEmacs packages from scratch
|
|
654
|
|
655 To build everything completely from scratch isn't hard, just time
|
|
656 consuming.
|
|
657
|
|
658 @subheading Step 1 - grab the sources (core and packages)
|
|
659
|
|
660 @example
|
|
661 $ cvs -d :pserver:cvs@@cvs.xemacs.org:/pack/xemacscvs login
|
|
662 [password: "cvs" (sans quotes)]
|
|
663
|
|
664 $ cvs -d :pserver:cvs@@cvs.xemacs.org:/pack/xemacscvs co -d xemacs-21.5 xemacs
|
|
665
|
|
666 $ cvs -d :pserver:cvs@@cvs.xemacs.org:/pack/xemacscvs co packages
|
|
667 @end example
|
|
668
|
|
669 @subheading Step 2 - build XEmacs
|
|
670
|
|
671 @example
|
|
672 $ cd xemacs-21.5
|
|
673 $ ./configure [options...]
|
|
674 $ make > ./beta.err 2>&1
|
|
675 $ make check > ./xemacs-make-check.err 2>&1
|
|
676 @end example
|
|
677
|
|
678 And optionally:
|
|
679
|
|
680 @example
|
|
681 $ make install > ./xemacs-make-install.err 2>&1
|
|
682 @end example
|
|
683
|
|
684 @subheading Step 3 - build and install the packages
|
|
685
|
|
686 @example
|
|
687 $ cd packages
|
|
688 $ cp Local.rules.template Local.rules
|
|
689 @end example
|
|
690
|
|
691 Then edit Local.rules to suit your needs/environment
|
|
692 (@pxref{Local.rules file,,, xemacs, XEmacs User's Manual}) for details
|
|
693 about this file.
|
|
694
|
|
695 And then:
|
|
696
|
|
697 @example
|
|
698 $ make install
|
|
699 @end example
|
|
700
|
2547
|
701 @node Improving XEmacs, Index, Packages, Top
|
2537
|
702 @chapter Improving XEmacs
|
|
703
|
|
704 @menu
|
|
705 * Creating patches for submission::
|
|
706 * Large contributions::
|
|
707 @end menu
|
|
708
|
|
709 @node Creating patches for submission, Large contributions, Improving XEmacs, Improving XEmacs
|
|
710 @section Creating patches for submission
|
|
711
|
|
712 All patches to XEmacs that are seriously proposed for inclusion (eg,
|
|
713 bug fixes) should be mailed to @uref{mailto:xemacs-patches@@xemacs.org}. Each
|
|
714 patch will be reviewed by the patches review board, and will be
|
|
715 acknowledged and added to the distribution, or rejected with an
|
|
716 explanation. Progress of the patch is tracked on the XEmacs Patches
|
|
717 mailing list, which is open subscription. (If a patch is simply
|
|
718 intended to facilitate discussion, "I mean something that works like
|
|
719 this but this is really rough", a Cc to XEmacs Patches is optional,
|
|
720 but doesn't hurt.)
|
|
721
|
|
722 Patches to XEmacs Lisp packages should be sent to the maintainer of
|
|
723 the package. If the maintainer is listed as `XEmacs Development Team'
|
|
724 patches should be sent to @uref{mailto:xemacs-patches@@xemacs.org}.
|
|
725
|
|
726 Emailed patches should preferably be sent in MIME format and quoted
|
|
727 printable encoding (if necessary).
|
|
728
|
|
729 The simplest way to create well-formed patches is to use CVS and
|
|
730 Didier Verna's Patcher library (available as patcher.el in the
|
|
731 xemacs-devel package). Patcher is new and requires some setup, but
|
|
732 most of the core developers are now using it for their own patches.
|
|
733 Patcher also can be configured to create patches for several projects,
|
|
734 and recognize the project from the directory it is invoked in. This
|
|
735 makes it a useful general tool (as long as XEmacs-style patches are
|
|
736 accepted at your other projects, which is likely since they conform to
|
|
737 the GNU standards).
|
|
738
|
|
739 When making patches by hand, please use the `-u' option, or if your
|
|
740 diff doesn't support it, `-c'. Using ordinary (context-free) diffs
|
|
741 are notoriously prone to error, since line numbers tend to change when
|
|
742 others make changes to the same source file.
|
|
743
|
|
744 An example of the `diff' usage:
|
|
745
|
|
746 @example
|
|
747 $ diff -u OLDFILE NEWFILE
|
|
748 @end example
|
|
749
|
|
750 -or-
|
|
751
|
|
752 @example
|
|
753 $ diff -c OLDFILE NEWFILE
|
|
754 @end example
|
|
755
|
|
756 Also, it is helpful if you create the patch in the top level of the
|
|
757 XEmacs source directory:
|
|
758
|
|
759 @example
|
|
760 $ cp -p lwlib/xlwmenu.c lwlib/xlwmenu.c.orig
|
|
761 hack, hack, hack....
|
|
762 $ diff -u lwlib/xlwmenu.c.orig lwlib/xlwmenu.c
|
|
763 @end example
|
|
764
|
|
765 Also note that if you cut & paste from an xterm to an XEmacs mail
|
|
766 buffer you will probably lose due to tab expansion. The best thing to
|
|
767 do is to use an XEmacs shell buffer to run the diff commands, or ...
|
|
768 @kbd{M-x cd} to the appropriate directory, and issue the command
|
|
769 @kbd{C-u M-!} from within XEmacs.
|
|
770
|
|
771 Patches should be as single-minded as possible. Mammoth patches can
|
|
772 be very difficult to place into the right slot. They are much easier
|
|
773 to deal with when broken down into functional or conceptual chunks.
|
|
774 The patches submitted by Kyle Jones and Hrvoje Niksic are stellar
|
|
775 examples of how to "Do The Right Thing".
|
|
776
|
|
777 Each patch should be accompanied by an update to the appropriate
|
|
778 ChangeLog file. Guidelines for writing ChangeLog entries is governed
|
|
779 by the GNU coding standards. Please see
|
|
780 @uref{http://www.gnu.org/prep/standards_toc.html} [Change Logs section]
|
|
781 for details.
|
|
782
|
|
783 Do not submit context diffs (either -c or -u) of ChangeLogs. Because
|
|
784 of the "stack" nature of ChangeLogs (new entries are always pushed on
|
|
785 the top), context diffs will fail to apply more often than they
|
|
786 succeed. Simply cutting and pasting the entry from an Emacs buffer to
|
|
787 the mail buffer (beware of tab expansion!) is probably easiest. The
|
|
788 Patcher library also will set up your ChangeLogs for you, and copy
|
|
789 them to the mail. Context-less unified diffs (-U 0) are also
|
|
790 acceptable.
|
|
791
|
|
792 @menu
|
|
793 * Patch discussion etiquette::
|
|
794 @end menu
|
|
795
|
|
796 @node Patch discussion etiquette, , Creating patches for submission, Creating patches for submission
|
|
797 @subsection Patch discussion etiquette
|
|
798
|
|
799 If you intend a patch for _application_ to the sources as is, _always_
|
|
800 post it to xemacs-patches, even if there are minor points you would
|
|
801 like to have discussed by others. Not doing so will resulting in
|
|
802 patches getting "lost". If you expect that the patch will not be
|
|
803 acceptable, but are using it to stimulate discussion, then don't post
|
|
804 to xemacs-patches. Intermediate cases are up to your judgment;
|
|
805 unless you're sure you'll follow up with a "real" patch, better to err
|
|
806 on the side of posting to xemacs-patches.
|
|
807
|
|
808 Discussion of the _content_ of the patch (ie responses to reviewer
|
|
809 comments beyond "that's right, ok, I'll do it your way") should _always_
|
|
810 be posted to xemacs-beta or to xemacs-design. If you're not sure
|
|
811 which is more appropriate, send it to xemacs-beta. That is the most
|
|
812 widely read channel.
|
|
813
|
|
814 If discussion results in a bright idea and you come up with a new
|
|
815 patch, normally you should post it to both mailing lists. The people
|
|
816 discussing on XEmacs Beta will want to know the outcome of the thread,
|
|
817 and you need to submit to XEmacs Patches as the "list of record."
|
|
818
|
|
819 If the old patch has been applied to CVS, then just submit the new one
|
|
820 as usual. If it has not been applied, then it is best to submit a new
|
|
821 patch against CVS. If possible do this as a reply to the original
|
|
822 patch post, or something following it in the thread. (The point is to
|
|
823 get the original patch post's Message-ID in your References header.)
|
|
824 In this case, also use the keyword SUPERSEDES in the Subject header to
|
|
825 indicate that the old patch is no longer valid, and that this one
|
|
826 replaces it.
|
|
827
|
|
828 These rules will result in a fair number of cross posts, but we don't
|
|
829 yet have a better way to handle that.
|
|
830
|
|
831 Note: Developers should never post to xemacs-patches unless there is a
|
|
832 patch in the post. We plan to enforce this with an automatic filter.
|
|
833
|
|
834 The exceptions are administrative. If you have commit authorization,
|
|
835 then post a short COMMIT notice to xemacs-patches when you commit to
|
|
836 CVS. Members of the Review Board will also post short notices of
|
|
837 administrative action (APPROVE, VETO, QUERY, etc) to xemacs-patches.
|
|
838
|
|
839 @node Large contributions, , Creating patches for submission, Improving XEmacs
|
|
840 @section Large contributions
|
|
841
|
|
842 Perhaps you have a whole new mode, or a major synchronization with
|
|
843 upstream for a neglected package, or a synchronization with GNU Emacs
|
|
844 you would like to contribute. We welcome such contributions, but they
|
|
845 are likely to be relatively controversial, generate more comments and
|
|
846 requests for revision, and take longer to integrate. Please be
|
|
847 patient with the process.
|
|
848
|
|
849 @menu
|
|
850 * Updates to existing packages::
|
|
851 * New packages::
|
|
852 * Syncing with GNU Emacs::
|
|
853 @end menu
|
|
854
|
|
855 @node Updates to existing packages, New packages, Large contributions, Large contributions
|
|
856 @subsection Updates to existing packages
|
|
857
|
|
858 If a package has gotten a bit out of date, or even started to bitrot,
|
|
859 we welcome patches to synchronize it with upstream/GNU Emacs versions.
|
|
860 Most packages end up varying somewhat from their GNU origins. See
|
|
861 "Syncing with GNU Emacs" for hints. Note that if you do a reasonably
|
|
862 large amount of syncing with GNU Emacs, you should log this in the
|
|
863 file itself as well as in the ChangeLog.
|
|
864
|
|
865 If the package is important to you, please consider becoming the
|
|
866 maintainer. (See "New packages", below.)
|
|
867
|
|
868 @node New packages, Syncing with GNU Emacs, Updates to existing packages, Large contributions
|
|
869 @subsection New packages
|
|
870
|
|
871 If you have a new mode or other large addition that does not require
|
|
872 changes to the core, please consider submitting it as a package, and
|
|
873 becoming the maintainer. You get direct commit privileges to the
|
|
874 repository for your package, "approval" privileges for your own
|
|
875 patches as well as third party patches to your package, and some
|
|
876 degree of veto power over patches you don't like. In return, you are
|
|
877 expected to maintain friendly liaison with the upstream developer (if
|
|
878 you aren't the upstream developer), keep watch on the XEmacs Patches
|
|
879 list for relevant patches, and be available by email to other
|
|
880 developers for discussion of changes that impact your package. It's
|
|
881 also a pretty standard route to the "core" development group, where we
|
|
882 have plenty of extra work waiting for volunteers.
|
|
883
|
|
884 You don't have to become the maintainer, but it virtually ensures
|
|
885 rapid acceptance of the package.
|
|
886
|
|
887 For help in creating new packages, see the (rather sparse) discussions
|
2547
|
888 in the XEmacs User's Guide and the Lisp Reference Manual. The
|
|
889 participants in the XEmacs Beta mailing list
|
|
890 @uref{mailto:xemacs-beta@@xemacs.org} and the XEmacs Package Release
|
|
891 Engineer are the most likely sources of advice. See
|
|
892 @uref{http://www.xemacs.org/Develop/jobs.html#package,jobs.html} for
|
|
893 current information about package release engineers.
|
2537
|
894
|
|
895 @node Syncing with GNU Emacs, , New packages, Large contributions
|
|
896 @subsection Syncing with GNU Emacs
|
|
897
|
|
898 Syncing with GNU Emacs is an important activity. Although each
|
|
899 version has its advantages and areas of concentration, it is very
|
|
900 desirable that common functionality share specifications and APIs.
|
|
901 When porting GNU code to XEmacs, the following points should be given
|
|
902 special attention:
|
|
903
|
|
904 @itemize @bullet
|
|
905 @item
|
|
906 Recent GNU Emacsen cannot be built without Mule, but XEmacs can.
|
2547
|
907 Make sure that changes that depend on the presence of Mule are
|
|
908 appropriately conditionalized, with @samp{#ifdef MULE} in C code and
|
|
909 with @samp{(featurep 'mule)} in Lisp.
|
2537
|
910
|
|
911 @item
|
|
912 GNU Emacs nomenclature often differs from that of XEmacs.
|
|
913 Sometimes syncing the names is desirable, other times not.
|
|
914
|
|
915 @item
|
|
916 GNU Emacs functionality often differs from that of XEmacs.
|
|
917 Syncing functionality is often controversial.
|
|
918 @end itemize
|
|
919
|
|
920 It is important that you let other developers know that
|
|
921 synchronization has taken place, to what degree, and when. For this
|
|
922 purpose, we use comments of the form
|
|
923
|
|
924 @example
|
2547
|
925 /* Synched up with: GNU 21.3 by Stephen Turnbull */
|
2537
|
926 @end example
|
|
927
|
|
928 in the source file itself, as the last element of the prefatory
|
|
929 material (copyright notice and commentary). Obviously the comment
|
|
930 marker needs to be changed to leading semicolons for Lisp, but
|
2547
|
931 otherwise the format is the same. (Older sync comments may have ``FSF''
|
|
932 in place of ``GNU''. They're equally accurate in our opinion, but
|
|
933 Richard Stallman and other GNU developers consider the term ``FSF
|
|
934 Emacs'' ``insulting''. Please use ``GNU'' in new sync comments.)
|
2537
|
935
|
|
936 Of course you should note syncing as the purpose in the ChangeLog,
|
|
937 too. But entries get buried deep in the ChangeLog file, and may even
|
|
938 get moved to a separate ChangeLog.OLD file for rarely synched files.
|
|
939
|
|
940 Rather than dates we use the version of GNU Emacs to sync to. If the
|
|
941 synchronization is partial, add a new comment describing what has
|
|
942 actually been synched, leaving the description of the last full sync
|
|
943 in place. At each full sync, remove all previous synchronization
|
|
944 comments.
|
|
945
|
|
946 This applies to Lisp that we have broken out into packages, but
|
|
947 remains in the GNU Emacs core, as well to core Lisp in XEmacs.
|
|
948
|
|
949 @c Print the tables of contents
|
|
950 @contents
|
|
951 @c That's all
|
|
952
|
2547
|
953 @node Index, , Improving XEmacs, Top
|
2537
|
954 @unnumbered Index
|
|
955
|
|
956 @printindex cp
|
|
957
|
|
958 @bye
|