]>
Commit | Line | Data |
---|---|---|
463d9dde | 1 | --- emacs-21.3.orig/configure |
2 | +++ emacs-21.3/configure | |
3 | @@ -1686,6 +1686,11 @@ | |
4 | machine=f301 opsys=uxpv | |
5 | ;; | |
6 | ||
7 | + ## AMD x86-64 Linux-based GNU system | |
8 | + x86_64-*-linux-gnu* ) | |
9 | + machine=amdx86-64 opsys=gnu-linux | |
10 | + ;; | |
11 | + | |
12 | * ) | |
13 | unported=yes | |
14 | ;; | |
15 | --- emacs-21.3.orig/configure.in | |
16 | +++ emacs-21.3/configure.in | |
17 | @@ -1060,6 +1060,11 @@ | |
18 | machine=f301 opsys=uxpv | |
19 | ;; | |
20 | ||
21 | + ## AMD x86-64 Linux-based GNU system | |
22 | + x86_64-*-linux-gnu* ) | |
23 | + machine=amdx86-64 opsys=gnu-linux | |
24 | + ;; | |
25 | + | |
26 | * ) | |
27 | unported=yes | |
28 | ;; | |
29 | --- emacs-21.3.orig/src/m/amdx86-64.h | |
30 | +++ emacs-21.3/src/m/amdx86-64.h | |
31 | @@ -0,0 +1,241 @@ | |
32 | +/* machine description file For the alpha chip. | |
33 | + Copyright (C) 1994, 1997, 1999 Free Software Foundation, Inc. | |
34 | + | |
35 | +This file is part of GNU Emacs. | |
36 | + | |
37 | +GNU Emacs is free software; you can redistribute it and/or modify | |
38 | +it under the terms of the GNU General Public License as published by | |
39 | +the Free Software Foundation; either version 1, or (at your option) | |
40 | +any later version. | |
41 | + | |
42 | +GNU Emacs is distributed in the hope that it will be useful, | |
43 | +but WITHOUT ANY WARRANTY; without even the implied warranty of | |
44 | +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
45 | +GNU General Public License for more details. | |
46 | + | |
47 | +You should have received a copy of the GNU General Public License | |
48 | +along with GNU Emacs; see the file COPYING. If not, write to | |
49 | +the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
50 | +Boston, MA 02111-1307, USA. */ | |
51 | + | |
52 | + | |
53 | +/* The following line tells the configuration script what sort of | |
54 | + operating system this machine is likely to run. | |
55 | + USUAL-OPSYS="note" | |
56 | + | |
57 | +NOTE-START | |
58 | +Use -opsystem=linux | |
59 | +NOTE-END | |
60 | + | |
61 | +*/ | |
62 | + | |
63 | +#define BITS_PER_LONG 64 | |
64 | +#define BITS_PER_EMACS_INT 64 | |
65 | + | |
66 | +/* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word | |
67 | + is the most significant byte. */ | |
68 | + | |
69 | +#undef WORDS_BIG_ENDIAN | |
70 | + | |
71 | +/* Define NO_ARG_ARRAY if you cannot take the address of the first of a | |
72 | + * group of arguments and treat it as an array of the arguments. */ | |
73 | + | |
74 | +#define NO_ARG_ARRAY | |
75 | + | |
76 | +/* Now define a symbol for the cpu type, if your compiler | |
77 | + does not define it automatically: | |
78 | + Ones defined so far include vax, m68000, ns16000, pyramid, | |
79 | + orion, tahoe, APOLLO and many others */ | |
80 | + | |
81 | +/* do we need any? */ | |
82 | + | |
83 | + | |
84 | +/* Use type EMACS_INT rather than a union, to represent Lisp_Object */ | |
85 | +/* This is desirable for most machines. */ | |
86 | + | |
87 | +#define NO_UNION_TYPE | |
88 | + | |
89 | +/* Define the type to use. */ | |
90 | +#define EMACS_INT long | |
91 | +#define EMACS_UINT unsigned long | |
92 | +#define SPECIAL_EMACS_INT | |
93 | + | |
94 | +/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
95 | + the 24-bit bit field into an int. In other words, if bit fields | |
96 | + are always unsigned. | |
97 | + | |
98 | + If you use NO_UNION_TYPE, this flag does not matter. */ | |
99 | + | |
100 | +#define EXPLICIT_SIGN_EXTEND | |
101 | + | |
102 | +/* Data type of load average, as read out of kmem. */ | |
103 | + | |
104 | +#define LOAD_AVE_TYPE long | |
105 | + | |
106 | +/* Convert that into an integer that is 100 for a load average of 1.0 */ | |
107 | + | |
108 | +#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | |
109 | + | |
110 | +/* Define C_ALLOCA if this machine does not support a true alloca | |
111 | + and the one written in C should be used instead. | |
112 | + Define HAVE_ALLOCA to say that the system provides a properly | |
113 | + working alloca function and it should be used. | |
114 | + Define neither one if an assembler-language alloca | |
115 | + in the file alloca.s should be used. */ | |
116 | + | |
117 | +#define HAVE_ALLOCA | |
118 | + | |
119 | +/* GNU malloc and the relocating allocator do not work together | |
120 | + with X. [Who wrote that?] */ | |
121 | + | |
122 | +/* May 1995: reportedly [Rainer Schoepf <schoepf@uni-mainz.de>] both the | |
123 | + system and the gnu malloc system work with "alpha-dec-osf3.0" and | |
124 | + "alpha-dec-osf3.2". */ | |
125 | + | |
126 | +/* May 1995: it seems to me [Morten Welinder <terra@diku.dk>] that both | |
127 | + mallocs work with "alpha-dec-osf2.0", but I daren't break anything | |
128 | + right now. Feel free to play if you want. */ | |
129 | + | |
130 | +/* #define SYSTEM_MALLOC */ | |
131 | + | |
132 | +#ifdef __ELF__ | |
133 | +/* With ELF, make sure that all common symbols get allocated to in the | |
134 | + data section. Otherwise, the dump of temacs may miss variables in | |
135 | + the shared library that have been initialized. For example, with | |
136 | + GNU libc, __malloc_initialized would normally be resolved to the | |
137 | + shared library's .bss section, which is fatal. */ | |
138 | +# ifdef __GNUC__ | |
139 | +# define C_SWITCH_MACHINE -fno-common | |
140 | +# else | |
141 | +# error What gives? Fix me if DEC Unix supports ELF now. | |
142 | +# endif | |
143 | +#endif | |
144 | + | |
145 | +#if defined(__OpenBSD__) | |
146 | +#define ORDINARY_LINK | |
147 | +#endif | |
148 | + | |
149 | +#ifdef __ELF__ | |
150 | +#undef UNEXEC | |
151 | +#define UNEXEC unexelf.o | |
152 | +#endif | |
153 | + | |
154 | +#ifndef __ELF__ | |
155 | + | |
156 | +/* Describe layout of the address space in an executing process. */ | |
157 | + | |
158 | +#define TEXT_START 0x120000000 | |
159 | +#define DATA_START 0x140000000 | |
160 | + | |
161 | +/* This is necessary for mem-limits.h, so that start_of_data gives | |
162 | + the correct value */ | |
163 | + | |
164 | +#define DATA_SEG_BITS 0x140000000 | |
165 | + | |
166 | +/* The program to be used for unexec. */ | |
167 | + | |
168 | +// #define UNEXEC unexalpha.o | |
169 | + | |
170 | +#endif /* notdef __ELF__ */ | |
171 | + | |
172 | +#ifdef OSF1 | |
173 | +#define ORDINARY_LINK | |
174 | + | |
175 | +/* Some systems seem to have this, others don't. */ | |
176 | +#ifdef HAVE_LIBDNET | |
177 | +#define LIBS_MACHINE -ldnet | |
178 | +#else | |
179 | +#define LIBS_MACHINE -ldnet_stub | |
180 | +#endif | |
181 | +#endif /* OSF1 */ | |
182 | + | |
183 | +#if 0 /* Rainer Schoepf <schoepf@uni-mainz.de> says this loses with X11R6 | |
184 | + since it has only shared libraries. */ | |
185 | +#ifndef __GNUC__ | |
186 | +/* This apparently is for the system ld as opposed to Gnu ld. */ | |
187 | +#ifdef OSF1 | |
188 | +#define LD_SWITCH_MACHINE -non_shared | |
189 | +#endif | |
190 | +#endif | |
191 | +#endif /* 0 */ | |
192 | + | |
193 | +#ifdef OSF1 | |
194 | +#define LIBS_DEBUG | |
195 | +#define START_FILES pre-crt0.o | |
196 | +#endif | |
197 | + | |
198 | +#if defined (LINUX) && __GNU_LIBRARY__ - 0 < 6 | |
199 | +/* This controls a conditional in main. */ | |
200 | +#define LINUX_SBRK_BUG | |
201 | +#endif | |
202 | + | |
203 | + | |
204 | +#define PNTR_COMPARISON_TYPE unsigned long | |
205 | + | |
206 | +/* On the 64 bit architecture, we can use 60 bits for addresses */ | |
207 | + | |
208 | +#define VALBITS 60 | |
209 | + | |
210 | + | |
211 | +/* This definition of MARKBIT is necessary because of the comparison of | |
212 | + ARRAY_MARK_FLAG and MARKBIT in an #if in lisp.h, which cpp doesn't like. */ | |
213 | + | |
214 | +#define MARKBIT 0x8000000000000000L | |
215 | + | |
216 | + | |
217 | +/* Define XINT and XUINT so that they can take arguments of type int */ | |
218 | + | |
219 | +#define XINT(a) (((long) (a) << (BITS_PER_LONG - VALBITS)) >> (BITS_PER_LONG - VALBITS)) | |
220 | +#define XUINT(a) ((long) (a) & VALMASK) | |
221 | + | |
222 | +/* Define XPNTR to avoid or'ing with DATA_SEG_BITS */ | |
223 | + | |
224 | +#define XPNTR(a) XUINT (a) | |
225 | + | |
226 | +#ifndef NOT_C_CODE | |
227 | +/* We need these because pointers are larger than the default ints. */ | |
228 | +#if !defined(__NetBSD__) && !defined(__OpenBSD__) | |
229 | +#include <alloca.h> | |
230 | +#endif | |
231 | + | |
232 | +#endif /* not NOT_C_CODE */ | |
233 | + | |
234 | +#ifdef OSF1 | |
235 | +#define PTY_ITERATION for (i = 0; i < 1; i++) /* ick */ | |
236 | +#define PTY_NAME_SPRINTF /* none */ | |
237 | +#define PTY_TTY_NAME_SPRINTF /* none */ | |
238 | +#define PTY_OPEN \ | |
239 | + do \ | |
240 | + { \ | |
241 | + int dummy; \ | |
242 | + SIGMASKTYPE mask; \ | |
243 | + mask = sigblock (sigmask (SIGCHLD)); \ | |
244 | + if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \ | |
245 | + fd = -1; \ | |
246 | + sigsetmask (mask); \ | |
247 | + emacs_close (dummy); \ | |
248 | + } \ | |
249 | + while (0) | |
250 | +#endif | |
251 | + | |
252 | +/* On the Alpha it's best to avoid including TERMIO since struct | |
253 | + termio and struct termios are mutually incompatible. */ | |
254 | +#define NO_TERMIO | |
255 | + | |
256 | +#if defined (LINUX) || defined (__NetBSD__) || defined (__OpenBSD__) | |
257 | +# define TEXT_END ({ extern int _etext; &_etext; }) | |
258 | +# ifndef __ELF__ | |
259 | +# define COFF | |
260 | +# define DATA_END ({ extern int _EDATA; &_EDATA; }) | |
261 | +# endif /* notdef __ELF__ */ | |
262 | +#endif | |
263 | + | |
264 | +#if (defined (__NetBSD__) || defined (__OpenBSD__)) && defined (__ELF__) | |
265 | +#define HAVE_TEXT_START | |
266 | +#endif | |
267 | + | |
268 | +/* Many Alpha implementations (e.g. gas 2.8) can't handle DBL_MIN: | |
269 | + they generate code that uses a signaling NaN instead of DBL_MIN. | |
270 | + Define DBL_MIN_REPLACEMENT to be the next value larger than DBL_MIN: | |
271 | + this avoids the assembler bug. */ | |
272 | +#define DBL_MIN_REPLACEMENT 2.2250738585072019e-308 | |
273 | --- emacs-21.3.orig/debian/copyright.in | |
274 | +++ emacs-21.3/debian/copyright.in | |
275 | @@ -0,0 +1,36 @@ | |
276 | +-*-text-*- | |
277 | + | |
278 | +This package was debianized by Rob Browning <rlb@defaultvalue.org> on | |
279 | +Tue, 16 Dec 1997 00:05:45 -0600. | |
280 | + | |
281 | +The source is a combination of the following files: | |
282 | + | |
283 | + prep.ai.mit.edu:/pub/gnu/emacs/emacs-@NOMINAL_VERSION@.tar.gz | |
284 | + prep.ai.mit.edu:/pub/gnu/emacs/leim-@NOMINAL_VERSION@.tar.gz | |
285 | + | |
286 | +Copyright: | |
287 | + | |
288 | + GNU Emacs is Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, | |
289 | + 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. | |
290 | + 59 Temple Place, Suite 330 Boston, MA 02111-1307 USA and is covered | |
291 | + under the terms of the GPL. See the file | |
292 | + /usr/share/common-licenses/GPL for more information. | |
293 | + | |
294 | + The GNU Emacs Manual is Copyright (C) 1985, 1986, 1987, 1993, 1994, | |
295 | + 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software | |
296 | + Foundation, Inc. 59 Temple Place, Suite 330 Boston, MA 02111-1307 | |
297 | + USA. It is covered under the terms of the GNU Free Documentation | |
298 | + License, version 1.1 or later. See node `GNU Free Documentation | |
299 | + License' in the Info manual (emacs) for details. | |
300 | + | |
301 | + The GNU Emacs Manual and related manuals in /usr/info/emacs-21 are | |
302 | + Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, | |
303 | + 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 59 Temple | |
304 | + Place, Suite 330 Boston, MA 02111-1307 USA. They are covered under | |
305 | + the terms of the GNU Free Documentation License, version 1.1 or | |
306 | + later. See node `GNU Free Documentation License' in the Info manual | |
307 | + (emacs) for details. | |
308 | + | |
309 | +Please see /usr/share/doc/emacs@MAJOR_VERSION@-common/README.Debian.gz for a | |
310 | +description of the Debian specific differences from the upstream | |
311 | +version. | |
312 | --- emacs-21.3.orig/debian/changelog | |
313 | +++ emacs-21.3/debian/changelog | |
314 | @@ -0,0 +1,777 @@ | |
315 | +emacs21 (21.3+1-5ubuntu4.2) warty-security; urgency=low | |
316 | + | |
317 | + * Fixed CAN-2005-0100.dpatch to work with Warty's dpatch version. | |
318 | + | |
319 | + -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 4 Feb 2005 11:53:51 +0000 | |
320 | + | |
321 | +emacs21 (21.3+1-5ubuntu4.1) warty-security; urgency=low | |
322 | + | |
323 | + * SECURITY UPDATE: fix remote privilege escalation to group 'mail'. | |
324 | + * Added patch CAN-2005-0100.dpatch: | |
325 | + - lib-src/movemail.c: Fix format string vulnerability in error message | |
326 | + output. | |
327 | + * References: | |
328 | + CAN-2005-0100 | |
329 | + | |
330 | + -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 4 Feb 2005 10:41:30 +0000 | |
331 | + | |
332 | +emacs21 (21.3+1-5ubuntu4) warty; urgency=low | |
333 | + | |
334 | + * Add patch to fix local file creation permissions. | |
335 | + (Closes: #2191) | |
336 | + | |
337 | + -- Fabio M. Di Nitto <fabbione@fabbione.net> Sun, 10 Oct 2004 07:22:56 +0200 | |
338 | + | |
339 | +emacs21 (21.3+1-5ubuntu3) warty; urgency=low | |
340 | + | |
341 | + * debian/control.in: | |
342 | + - Build-Depends on libtiff4-dev. | |
343 | + | |
344 | + -- Sebastien Bacher <seb128@debian.org> Mon, 2 Aug 2004 12:23:36 +0200 | |
345 | + | |
346 | +emacs21 (21.3+1-5ubuntu2) warty; urgency=low | |
347 | + | |
348 | + * Import debian/patches/fix-batch-mode-signal-handling.dpatch | |
349 | + from 21.3+1-6 to fix Warty bug #58 | |
350 | + | |
351 | + -- Matt Zimmerman <mdz@alcor.net> Mon, 26 Jul 2004 11:06:23 -0700 | |
352 | + | |
353 | +emacs21 (21.3+1-5ubuntu1) warty; urgency=low | |
354 | + | |
355 | + * Apply amd64 patch aggregated from #248796 | |
356 | + | |
357 | + -- LaMont Jones <lamont@mmjgroup.com> Wed, 14 Jul 2004 01:34:05 +0000 | |
358 | + | |
359 | +emacs21 (21.3+1-5) unstable; urgency=low | |
360 | + | |
361 | + * Apply patch allowing emacsclient to handle ALTERNATE_EDITOR properly | |
362 | + when the command is run without any parameter [Jérôme Marant] | |
363 | + (closes: #219658) | |
364 | + - debian/patches/emacsclient-alternate-editor.dpatch: new file. | |
365 | + | |
366 | + * Provide the `editor' virtual package. [Jérôme Marant] | |
367 | + (closes: #66243, #90154, #158807) | |
368 | + - debian/control.in: emacs and emacs-nox now provide the `editor' | |
369 | + virtual package. | |
370 | + - debian/control: synchronized with debian/control.in. | |
371 | + - debian/emacs.postinst: adding an `editor' alternative with a priority | |
372 | + of 0 as discussed in | |
373 | + http://lists.debian.org/debian-policy/2000/debian-policy-200006/msg00122.html | |
374 | + - debian/emacs.prerm: removing the `editor' alternative on package | |
375 | + removal. | |
376 | + | |
377 | + * Added automatic switching to UTF-8 encoding when editing the debian | |
378 | + changelog file. [Jérôme Marant] | |
379 | + - debian/changelog: added Emacs local variables forcing coding | |
380 | + to UTF-8. | |
381 | + | |
382 | + * Fix handling of menu entry for text version of Emacs [Jérôme Marant] | |
383 | + (closes: #221171) | |
384 | + - debian/menu.in: call the text version of emacs with the `-nw' | |
385 | + parameter. | |
386 | + | |
387 | + * Install the emacsclient manpage [Jérôme Marant] (closes: #222767) | |
388 | + - debian/build-common-pkg: install missing emacsclient manpage. | |
389 | + - debian/emacs-common.postinst: install alternative for emacsclient | |
390 | + manpage. | |
391 | + | |
392 | + * Install .desktop entry in order to make Emacs easy to start in | |
393 | + both GNOME and KDE. Thanks to Adam C Powell IV <hazelsct@debian.org> | |
394 | + [Jérôme Marant] (closes: #233711) | |
395 | + - emacs.desktop: new template file for desktop entries | |
396 | + - debian/rules: generate desktop file from emacs.desktop template | |
397 | + and install it for emacs21. | |
398 | + | |
399 | + * test -n "${major_ver}" in a few places so that we don't accidentally | |
400 | + generate bad output files from our .in files. [rlb] | |
401 | + - debian/rules | |
402 | + | |
403 | + * truncate aclocal.m4 during autofiles-sync so that old bits won't kill new | |
404 | + autoconf run. Also ignore autom4te.cache when generating | |
405 | + autofiles.diff. [rlb] | |
406 | + - debian/rules | |
407 | + | |
408 | + * fix bug in prepare-release autodiff prompt handling. [rlb] | |
409 | + - debian/rules | |
410 | + | |
411 | + * update configure.in for newer autoconf versions. [rlb] | |
412 | + - autoconf-updates.dpatch | |
413 | + | |
414 | + * add an emacsXY-bin-common package containing all the architecture | |
415 | + specific bits, so that emacsXY-common can be architecture independent. | |
416 | + This should save many megabytes * architectures in the debian pool. | |
417 | + [rlb] (closes: #232888, #233345) | |
418 | + - debian/rules: move some build-* code from debian/ scripts to rules | |
419 | + and adjust to build emacsXY-bin-common. | |
420 | + - debian/emacs-common.postinst debian/emacs-common.prerm: some code | |
421 | + moved to new emacs-bin-common scripts. | |
422 | + - debian/emacs-common.postrm: deleted. | |
423 | + - debian/emacs-bin-common.postinst: new file. | |
424 | + - debian/emacs-bin-common.prerm: new file. | |
425 | + - debian/emacs-bin-common.postrm: new file. | |
426 | + - debian/build-common-pkg: deleted - code now in debian/rules. | |
427 | + - debian/build--pkg: deleted - code now in debian/rules. | |
428 | + - debian/emacs-el.postinst: deleted - was empty. | |
429 | + - debian/control.in: add emacsXY-bin-common and adjust other entries. | |
430 | + - debian/fix-debian-scripts: deleted - no longer used. | |
431 | + - debian/build-binary-pkg: adjusted to handle more of the common code. | |
432 | + | |
433 | + * Add support for linux 2.6 to ACPI in lisp/battery.el. Thanks to | |
434 | + Mario Lang <mlang@debian.org> [Jérôme Marant] (closes: #228658) | |
435 | + - debian/patches/battery-acpi-support.dpatch: updated. | |
436 | + | |
437 | + * Generate md5sums file for every package [Jérôme Marant] (closes: #22590) | |
438 | + - debian/rules: generate md5sums file just before building packages. | |
439 | + - debian/build-binary-pkg: likewise. | |
440 | + | |
441 | + * no point in byte-compiling fns-*.el according to upstream authors | |
442 | + (closes: #189277) | |
443 | + | |
444 | + * fix configure args (--build alone doesn't seem to work anymore). [rlb] | |
445 | + - debian/rules | |
446 | + | |
447 | + * re-enable gif support via libungif. [rlb] | |
448 | + - debian/rules | |
449 | + | |
450 | + * re-enable toolkit scrollbars, but make it really easy for people to | |
451 | + disable them in debian/rules. Search for | |
452 | + --without-toolkit-scrollbars. [rlb] | |
453 | + - debian/rules | |
454 | + - debian/README.in | |
455 | + | |
456 | + * fix problem with upgrades by adding emacs21-common (<< 21.3+1-4) to | |
457 | + Replaces for the common packages. [rlb] | |
458 | + - debian/control.in | |
459 | + - debian/control | |
460 | + | |
461 | + -- Rob Browning <rlb@defaultvalue.org> Tue, 6 Apr 2004 18:07:38 -0500 | |
462 | + | |
463 | +emacs21 (21.3+1-4) unstable; urgency=medium | |
464 | + | |
465 | + * debian/changelog: converted to UTF-8 as per Policy. [Jérôme Marant] | |
466 | + * debian/control.in: | |
467 | + - Bumped Standards-Version to 3.6.1. [Jérôme Marant] | |
468 | + - Added versioned build-dependency on dpatch >= 1.23 since this version | |
469 | + no longer requires numerial prefixes to dpatches. [Jérôme Marant] | |
470 | + * debian/patches/*.dpatch: removed numerical prefix since the patch order | |
471 | + is specified in debian/patches/00list. [Jérôme Marant] | |
472 | + * debian/patches/hurd-libio-glibc.dpatch: new patch allowing Emacs | |
473 | + to be built on Hurd systems using a libio-based glibc. | |
474 | + Thanks to Markus Brinkmann <marcus@gnu.org>. | |
475 | + (closes: #143220) [Jérôme Marant] | |
476 | + * debian/patches/battery-acpi-support.dpatch: new patch adding ACPI | |
477 | + support to lisp/battery.el. Thanks to Mario Lang <mlang@debian.org>. | |
478 | + (closes: #208812) [Jérôme Marant] | |
479 | + * debian/patches/scroll-margin.dpatch: new patch preventing emacs | |
480 | + to hang with a non-0 scroll-margin set. | |
481 | + (closes: #175658) [Jérôme Marant] | |
482 | + * debian/patches/save-buffer.dpatch: new patch fixing a bug which | |
483 | + makes a file being removed when the coding system of its buffer | |
484 | + has changed and saving the changes was canceled. | |
485 | + (closes: #194171) [Jérôme Marant] | |
486 | + * debian/patches/00list: updated with respect to new patches. | |
487 | + [Jérôme Marant] | |
488 | + * debian/menu.in: | |
489 | + - Added hints to menu entries. (closes: #144282) [Jérôme Marant] | |
490 | + - Changed titles for both text and X11 entries in order to | |
491 | + differenciate them. (closes: #197527, #188598) [Jérôme Marant] | |
492 | + * debian/patches/browse-url.dpatch: | |
493 | + - Updated patch fixing a wrong call to galeon. Thanks to | |
494 | + Mikael Hedin <micce@debian.org>. (closes: #208206) [Jérôme Marant] | |
495 | + - Updated patch fixing browse-url's invocation of Mozilla. | |
496 | + Thanks to Jeff Sheinberg <jeffsh@erols.com>, | |
497 | + Martin Pool <mbp@sourcefrog.net> and KATO Kazuyoshi <kzys@users.sf.net>. | |
498 | + (closes: #148408, #216067) [Jérôme Marant] | |
499 | + * Use -O1 rather than -O2 on m68k. Fixes a build failure (looks like a | |
500 | + broken byte compiler) with newer versions of gcc. (closes: #207580) | |
501 | + | |
502 | + -- Rob Browning <rlb@defaultvalue.org> Fri, 31 Oct 2003 00:00:10 -0600 | |
503 | + | |
504 | +emacs21 (21.3+1-3) unstable; urgency=low | |
505 | + | |
506 | + * create debian/stmap it doesn't exist. (closes: #210802) | |
507 | + | |
508 | + -- Rob Browning <rlb@defaultvalue.org> Sat, 13 Sep 2003 14:49:18 -0500 | |
509 | + | |
510 | +emacs21 (21.3+1-2) unstable; urgency=low | |
511 | + | |
512 | + * add back accidentally removed dpatch Build-Depends. (closes: #210627) | |
513 | + | |
514 | + -- Rob Browning <rlb@defaultvalue.org> Fri, 12 Sep 2003 10:30:21 -0500 | |
515 | + | |
516 | +emacs21 (21.3+1-1) unstable; urgency=low | |
517 | + | |
518 | + * repackage without .elc files since we regenerate all of them anyway. | |
519 | + This will save space, and will also allow us to use dpatch in a | |
520 | + straightforward way. | |
521 | + * modify debian/rules computation of version numbers to handle | |
522 | + (i.e. ignore) the +1 in 21.3+1. | |
523 | + * rework to use dpatch and to patch/unpatch the debian source in-place | |
524 | + rather than using a debian/build-src copy of the whole source tree. | |
525 | + * incorporated patch (500-detect-coding-iso2022.dpatch) to fix raw-text | |
526 | + coding problem. Thanks to Kenichi Handa <handa@etl.go.jp>. | |
527 | + (closes: #198736) | |
528 | + | |
529 | + -- Rob Browning <rlb@defaultvalue.org> Thu, 11 Sep 2003 23:15:44 -0500 | |
530 | + | |
531 | +emacs21 (21.3-2) unstable; urgency=low | |
532 | + | |
533 | + * Compile --without-toolkit-scroll-bars for now (my pref, and to avoid | |
534 | + xaw3d issues for the moment). | |
535 | + * Update copyright to reflect documentation licenses. (closes: #161500) | |
536 | + | |
537 | + -- Rob Browning <rlb@defaultvalue.org> Wed, 13 Aug 2003 08:53:35 -0500 | |
538 | + | |
539 | +emacs21 (21.3-1) unstable; urgency=low | |
540 | + | |
541 | + * new upstream version. | |
542 | + | |
543 | + -- Rob Browning <rlb@defaultvalue.org> Wed, 23 Apr 2003 13:16:06 -0500 | |
544 | + | |
545 | +emacs21 (21.2-6) unstable; urgency=low | |
546 | + | |
547 | + * changed sort behavior for x-vs-no-x fix in cus-dep.el based on | |
548 | + suggestion from Matt Kraai <kraai@alumni.cmu.edu>. (closes: #166139) | |
549 | + * finish breaking up most of the debian/patch/* files. | |
550 | + * set up automatic generation for autofiles.diff which contains all the | |
551 | + diffs to automatically generated files and is applied after all of the | |
552 | + debian/patch/*.diff files. | |
553 | + * add an apply-patches-upto command so it's easier to create partially | |
554 | + patched trees for editing. | |
555 | + | |
556 | + -- Rob Browning <rlb@defaultvalue.org> Thu, 6 Feb 2003 18:12:41 -0600 | |
557 | + | |
558 | +emacs21 (21.2-5) unstable; urgency=low | |
559 | + | |
560 | + * fix bug in rules and binary-pkg generation. (closes: #164770) | |
561 | + * fix problem with config.sub and config.guess updates. (closes: #164763) | |
562 | + * time to stop creating the /usr/doc symlinks... | |
563 | + | |
564 | + -- Rob Browning <rlb@defaultvalue.org> Tue, 15 Oct 2002 16:34:52 -0500 | |
565 | + | |
566 | +emacs21 (21.2-4) unstable; urgency=low | |
567 | + | |
568 | + * create debian/patches/ and start migrating to represent | |
569 | + changes as patches against the upstream source. Don't edit the main | |
570 | + tree anymore. | |
571 | + * rework tree and packaging to have emacs21-common, emacs21, and | |
572 | + emacs21-nox packages with emacs21-common containing nearly all the | |
573 | + data. | |
574 | + | |
575 | + -- Rob Browning <rlb@defaultvalue.org> Sat, 12 Oct 2002 15:09:37 -0500 | |
576 | + | |
577 | +emacs21 (21.2-3) unstable; urgency=low | |
578 | + | |
579 | + * Update emacs21-nox package description. | |
580 | + | |
581 | + -- Rob Browning <rlb@defaultvalue.org> Wed, 29 May 2002 14:04:57 -0500 | |
582 | + | |
583 | +emacs21 (21.2-2) unstable; urgency=low | |
584 | + | |
585 | + * fix control file priorities to match overrides. | |
586 | + * fix rules to handle autotools more correctly. See | |
587 | + /usr/share/doc/autotools-dev/README.Debian.gz for details. | |
588 | + (closes: #139998) | |
589 | + * firewall, headless box, and anti-X users everywhere rejoice! | |
590 | + Introducing emacs21-nox package :> | |
591 | + | |
592 | + -- Rob Browning <rlb@defaultvalue.org> Tue, 28 May 2002 12:09:48 -0500 | |
593 | + | |
594 | +emacs21 (21.2-1) unstable; urgency=low | |
595 | + | |
596 | + * new upstream release. | |
597 | + * move outline of Debian specific Emacs changes to | |
598 | + /usr/share/doc/*/README.Debian.gz.x | |
599 | + | |
600 | + -- Rob Browning <rlb@defaultvalue.org> Fri, 22 Mar 2002 11:41:17 -0600 | |
601 | + | |
602 | +emacs21 (21.1-9) unstable; urgency=low | |
603 | + | |
604 | + * fix control.in to use ${Source-Version}. (closes: #138994) | |
605 | + | |
606 | + -- Rob Browning <rlb@defaultvalue.org> Mon, 18 Mar 2002 21:54:47 -0600 | |
607 | + | |
608 | +emacs21 (21.1-8) unstable; urgency=low | |
609 | + | |
610 | + * Fix .texi problems with upstream patch. (closes: #138236) | |
611 | + | |
612 | + -- Rob Browning <rlb@defaultvalue.org> Sun, 17 Mar 2002 11:58:59 -0600 | |
613 | + | |
614 | +emacs21 (21.1-7) unstable; urgency=high | |
615 | + | |
616 | + * fix vc-path to be correct for a Debian system. (closes: #107251) | |
617 | + * re-add lost hppa and s390 patches. (closes: #120079) | |
618 | + | |
619 | + -- Rob Browning <rlb@defaultvalue.org> Thu, 6 Dec 2001 14:10:45 -0600 | |
620 | + | |
621 | +emacs21 (21.1-6) unstable; urgency=medium | |
622 | + | |
623 | + * modify order in browse-url.el. | |
624 | + * added upstream iso-acc.el patch to fix accent bug. (closes: #119852) | |
625 | + * fix ppc nocombreloc bug with upstream patch. (closes: #117557) | |
626 | + | |
627 | + -- Rob Browning <rlb@defaultvalue.org> Tue, 4 Dec 2001 08:43:38 -0600 | |
628 | + | |
629 | +emacs21 (21.1-5) unstable; urgency=low | |
630 | + | |
631 | + * Run autoconf to remove stale ppc code. (closes: #119189) | |
632 | + * Write new browse-url.el code with support for galeon and to default to | |
633 | + searching for a suitable browser, free browsers first. (closes: #116822) | |
634 | + | |
635 | + -- Rob Browning <rlb@defaultvalue.org> Tue, 13 Nov 2001 09:51:31 -0600 | |
636 | + | |
637 | +emacs21 (21.1-4) unstable; urgency=low | |
638 | + | |
639 | + * Really fix alternatives problem this time. | |
640 | + | |
641 | + -- Rob Browning <rlb@defaultvalue.org> Fri, 9 Nov 2001 10:24:49 -0600 | |
642 | + | |
643 | +emacs21 (21.1-3) unstable; urgency=low | |
644 | + | |
645 | + * Fix but in grep in postinst. (closes: #117251, #117256, #117415, #118792) | |
646 | + * Remove vestigal ppc bits and add upstream patch for ppc nocombreloc | |
647 | + problem. (closes: #117557) | |
648 | + * fix bug in upstream-files.tar handling. | |
649 | + * don't configure gif support until our libungif is new enough. See bug | |
650 | + #117729. | |
651 | + * Fix manpage to list correct default window size. (closes: #118641) | |
652 | + | |
653 | + -- Rob Browning <rlb@defaultvalue.org> Thu, 8 Nov 2001 21:15:20 -0600 | |
654 | + | |
655 | +emacs21 (21.1-2) unstable; urgency=low | |
656 | + | |
657 | + * change to priority optional. | |
658 | + * use xaw3d scrollbars after checking upstream preferences. | |
659 | + (closes: #116831, #116911, #116638) | |
660 | + * added some build-depends. (closes: #116981) | |
661 | + * fixed typo in NEWS. (closes: #116814) | |
662 | + * fixed alternatives bug in postinst/prerm for emacsclient (closes: #116915) | |
663 | + | |
664 | + -- Rob Browning <rlb@defaultvalue.org> Thu, 25 Oct 2001 16:02:45 -0500 | |
665 | + | |
666 | +emacs21 (21.1-1) unstable; urgency=low | |
667 | + | |
668 | + * New emacs21 packages. Many changes -- reviewed all Debian files. | |
669 | + | |
670 | + -- Rob Browning <rlb@defaultvalue.org> Thu, 18 Oct 2001 17:28:03 -0500 | |
671 | + | |
672 | +emacs20 (20.7-10) unstable; urgency=medium | |
673 | + | |
674 | + * Add arch header for mipsel and fix configure.in and | |
675 | + configure. (closes: #103959) | |
676 | + | |
677 | + -- Rob Browning <rlb@defaultvalue.org> Mon, 23 Jul 2001 09:23:06 -0500 | |
678 | + | |
679 | +emacs20 (20.7-9) unstable; urgency=low | |
680 | + | |
681 | + * Added more Build-Depends. (closes: #101832) | |
682 | + * Disable ralloc on Hurd. Thanks to Robert Bihlmeyer | |
683 | + <robbe@orcus.priv.at>. (closes: #101926) | |
684 | + | |
685 | + -- Rob Browning <rlb@defaultvalue.org> Tue, 10 Jul 2001 12:48:22 -0500 | |
686 | + | |
687 | +emacs20 (20.7-8) unstable; urgency=low | |
688 | + | |
689 | + * Added ia64 patches from Bdale Garbee <bdale@gag.com> for ia64.h. | |
690 | + (closes: #90518) | |
691 | + * Added Build-Depends on mailx for now (though this is *wrong* for the | |
692 | + long run -- I need to fix my fakemail handling). | |
693 | + (closes: #95903, #96761) | |
694 | + * Fix fakeroot sgid problem (move movemail chmod +s in debian/rules). | |
695 | + * Remove emacs' overzealous dir.gz file. | |
696 | + * Shrink gnu.xpm to 32x32 and make it the menu icon. (closes: #20253, #21310) | |
697 | + * Update manpage to not refer to kitchen sink anymore -- though with | |
698 | + emacs21, we're going to move back to using whatever they choose. | |
699 | + (closes: #81682) | |
700 | + | |
701 | + -- Rob Browning <rlb@cs.utexas.edu> Wed, 13 Jun 2001 23:56:16 -0500 | |
702 | + | |
703 | +emacs20 (20.7-7) unstable; urgency=low | |
704 | + | |
705 | + * Fixed reftex-info problem. (closes: #44837). | |
706 | + * Fix install-strip target in Makefile.in. Thanks to | |
707 | + Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>. (closes: #51348) | |
708 | + | |
709 | + -- Rob Browning <rlb@cs.utexas.edu> Sat, 5 May 2001 23:50:50 -0500 | |
710 | + | |
711 | +emacs20 (20.7-6) unstable; urgency=low | |
712 | + | |
713 | + * Fix improper usage of dpkg-statoverride and make sure movemail is set | |
714 | + up right. (closes: #95953) | |
715 | + * Fix bad manpage location in postinst update-alternatives call. | |
716 | + * Fix bad .so in ctags manpage (closes: #88231, #45317, #65017, #74570) | |
717 | + | |
718 | + -- Rob Browning <rlb@cs.utexas.edu> Sat, 5 May 2001 09:47:40 -0500 | |
719 | + | |
720 | +emacs20 (20.7-5) unstable; urgency=low | |
721 | + | |
722 | + * configure.in: add detection of CONF_MAIL_PROGRAM_NAME. | |
723 | + * lib-src/fakemail.c: use CONF_MAIL_PROGRAM_NAME when appropriate | |
724 | + (closes: #72103) -- need to forward upstream. | |
725 | + * Add "modified by Debian" clause to (emacs-version) at RMS's request. | |
726 | + * Start Debian modifications section in copyright file as per policy. | |
727 | + * Add build fixes for hurd (closes: #78461). Changes suggested by | |
728 | + Marcus.Brinkmann@ruhr-uni-bochum.de. Thanks. | |
729 | + * Switch from Debian sendmail.el hack to Francesco's suggestion of | |
730 | + setting mail-from-style to 'system-default by default at startup | |
731 | + (closes: #35128). This allows the user to override when desired in | |
732 | + the normal way. This should be discussed with the upstream | |
733 | + maintainers. They may be amenable to making this the default on | |
734 | + Debian systems. | |
735 | + * add dependency on dpkg (>= 1.9.0) for new install-info. | |
736 | + * info pages should finally work right (or at least closer to right). | |
737 | + They're now installed in /usr/share/info/emacs-20/ under their normal | |
738 | + names, and install-info can add the appropriate (emacs-20/emacs), | |
739 | + etc. entries to /usr/share/info/dir. This hopefully closes a bunch of | |
740 | + old bugs. | |
741 | + (closes: #64994, #64512, #64025, #62155, #59332, #51163, #40443) | |
742 | + * No more files in /usr/doc. (closes: #91454, #63768) | |
743 | + * /usr/man moved to /usr/share/man. (closes: #91149) | |
744 | + * This should be fixed, in addition we've switched to dpkg-statoverride | |
745 | + (closes: #73007) | |
746 | + * /usr/share/info/dir.gz should be gone. | |
747 | + (closes: #75594, #68551, #65012) | |
748 | + | |
749 | + -- Rob Browning <rlb@cs.utexas.edu> Sun, 29 Apr 2001 22:03:33 -0500 | |
750 | + | |
751 | +emacs20 (20.7-4) unstable frozen; urgency=low | |
752 | + | |
753 | + * Upload to unstable *and* frozen since this fixes outstanding grave | |
754 | + bugs. | |
755 | + | |
756 | + -- Rob Browning <rlb@cs.utexas.edu> Thu, 27 Jul 2000 16:21:15 -0500 | |
757 | + | |
758 | +emacs20 (20.7-3) unstable; urgency=low | |
759 | + | |
760 | + * Change code to rebuild *all* the install tree .elc files at build | |
761 | + time. This should fix the grave problems with gnus trashing mail at | |
762 | + the expense of more CPU at build time. | |
763 | + | |
764 | + -- Rob Browning <rlb@cs.utexas.edu> Wed, 19 Jul 2000 20:27:27 -0500 | |
765 | + | |
766 | +emacs20 (20.7-2) frozen unstable; urgency=low | |
767 | + | |
768 | + * Revert to setting debian-emacs-flavor in startup.el as per recent | |
769 | + flip-flop in debian-emacs-policy :< This was a *tiny* source change, | |
770 | + and definitely has to go into frozen - too much breaks otherwise. | |
771 | + | |
772 | + -- Rob Browning <rlb@cs.utexas.edu> Tue, 20 Jun 2000 11:31:29 -0500 | |
773 | + | |
774 | +emacs20 (20.7-1) frozen unstable; urgency=low | |
775 | + | |
776 | + * New upstream bug-fix version. Fixes security bugs, among others. | |
777 | + * Removed some now redundant Debian patches. | |
778 | + | |
779 | + -- Rob Browning <rlb@cs.utexas.edu> Sat, 17 Jun 2000 12:59:48 -0500 | |
780 | + | |
781 | +emacs20 (20.6-3) unstable frozen; urgency=medium | |
782 | + | |
783 | + * Temp fix for alpha corruption problem in cm/src.h | |
784 | + src/termcap.c, src/terminfo.c, and src/sysdep.c (forwarded bug 63993). | |
785 | + | |
786 | + -- Rob Browning <rlb@cs.utexas.edu> Mon, 12 Jun 2000 18:55:22 -0500 | |
787 | + | |
788 | +emacs20 (20.6-2) frozen unstable; urgency=low | |
789 | + | |
790 | + * Make sure info files get registered after /usr/share migration. | |
791 | + | |
792 | + -- Rob Browning <rlb@cs.utexas.edu> Fri, 12 May 2000 15:30:02 -0500 | |
793 | + | |
794 | +emacs20 (20.6-1) frozen unstable; urgency=low | |
795 | + | |
796 | + * Let emacsen-common handle setting debian-emacs-flavor and modify | |
797 | + "Depends:" accordingly. | |
798 | + * Maintainer release of 20.6 - fixes same issues as 20.6-0.1, so it | |
799 | + should go into frozen. | |
800 | + * Move info files to /usr/share/info. | |
801 | + * Make sure .elc files for .el files we've modified are *always* rebuilt. | |
802 | + * Add new unexelf.c from Gerd Moellmann <gerd@gnu.org>. Without this, | |
803 | + emacs20 will *not* build on either frozen or unstable x86 machines. | |
804 | + | |
805 | + -- Rob Browning <rlb@cs.utexas.edu> Fri, 12 May 2000 11:00:33 -0500 | |
806 | + | |
807 | +emacs20 (20.6-0.1) frozen unstable; urgency=low | |
808 | + | |
809 | + * Non-maintainer release. | |
810 | + * New upstream bug fix release (closes:#60931). | |
811 | + * ARM support merged upstream. | |
812 | + * Add security patches from RUS-CERT posting on BugTraq. | |
813 | + * postinst: Use 2775 as directory permissions in /usr/local (closes:#59919) | |
814 | + | |
815 | + -- Joel Klecker <espy@debian.org> Wed, 26 Apr 2000 11:26:28 -0700 | |
816 | + | |
817 | +emacs20 (20.5a-2) unstable; urgency=low | |
818 | + | |
819 | + * Check in a bogus modification to all the .el files that we modified | |
820 | + before 20.5a so that new .elc files with our changes will be generated | |
821 | + when we build. This must be done every time an upstream change is | |
822 | + merged in. | |
823 | + | |
824 | + -- Rob Browning <rlb@cs.utexas.edu> Tue, 28 Dec 1999 19:51:14 -0600 | |
825 | + | |
826 | +emacs20 (20.5a-1) unstable; urgency=high | |
827 | + | |
828 | + * Upstream version number is just fine (20.5a *is* newer than 20.5). | |
829 | + Switch to use it. | |
830 | + | |
831 | + -- Rob Browning <rlb@cs.utexas.edu> Wed, 22 Dec 1999 11:12:44 -0600 | |
832 | + | |
833 | +emacs20 (20.4.pre20.5a-1) unstable; urgency=high | |
834 | + | |
835 | + * New upstream version, including some Y2K fixes. | |
836 | + * Use weird version to avoid epochs. This is upstream 20.5a. | |
837 | + | |
838 | + -- Rob Browning <rlb@cs.utexas.edu> Wed, 22 Dec 1999 00:16:52 -0600 | |
839 | + | |
840 | +emacs20 (20.4-3) unstable; urgency=low | |
841 | + | |
842 | + * Fix mistake in this file. Fix bug number in architecture | |
843 | + dependency "closes" in last revision. | |
844 | + * Powerpc configure.in patch from Susumu OSAWA <susumuo@debian.org>. | |
845 | + (Should close bug 48997, but marked forwarded instead until patch is | |
846 | + resolved upstream.) | |
847 | + * Jargon problems apparently fixed. (closes: #31103 #37030) | |
848 | + * Gnus printing problems apparently fixed (closes: #20760) | |
849 | + * Fix manpage to refer to more accurate Debian file locations. | |
850 | + (closes: #35267) | |
851 | + * cperl-mode problem apparently fixed. (closes: #46739) | |
852 | + * Fix build stripping problem (use INSTALL_STRIP=-s rather than | |
853 | + INSTALL_PROGRAM="install -s"). | |
854 | + | |
855 | + -- Rob Browning <rlb@cs.utexas.edu> Sat, 4 Dec 1999 19:24:07 -0600 | |
856 | + | |
857 | +emacs20 (20.4-2) unstable; urgency=low | |
858 | + | |
859 | + * Modify mail-spool-directory/movemail patch in preparation for upstream | |
860 | + inclusion. | |
861 | + * Fix architecture dependency. (closes: #48997) | |
862 | + | |
863 | + -- Rob Browning <rlb@cs.utexas.edu> Fri, 12 Nov 1999 17:59:01 -0600 | |
864 | + | |
865 | +emacs20 (20.4-1) unstable; urgency=low | |
866 | + | |
867 | + * New upstream version. | |
868 | + * I decided to go ahead and get this out without the major overhaul | |
869 | + that's coming, but I'm going to be working more tightly the core | |
870 | + upstream developers from now on, so there will be some more | |
871 | + substantial changes soon, including getting rid of more Debianisms and | |
872 | + double checking all our current patches. | |
873 | + * Fix movemail liblockfile detection to be non-Debian specific | |
874 | + (currently working out the appropriate upstream patch (see etc/NEWS)). | |
875 | + * Fix emacs to support a --with-mail-spool-directory configure option and to | |
876 | + automagically detect the right answer most of the time without it | |
877 | + (currently working out the appropriate upstream patch (see etc/NEWS)). | |
878 | + * Add the lisp-level variable mail-spool-directory which always contains | |
879 | + the location of the mail spool, and hack movemail, nnmail, rmail, and | |
880 | + friends to use it (currently working out the appropriate upstream | |
881 | + patch (see etc/NEWS)) . | |
882 | + * hexl-mode bug fixed upstream. (closes: #21762) | |
883 | + | |
884 | + -- Rob Browning <rlb@cs.utexas.edu> Sat, 30 Oct 1999 13:24:39 -0500 | |
885 | + | |
886 | +emacs20 (20.3-11) unstable; urgency=low | |
887 | + | |
888 | + * Fix liblockfile version skew. (closes: #43803 #45123) | |
889 | + | |
890 | + -- Rob Browning <rlb@cs.utexas.edu> Thu, 23 Sep 1999 13:27:00 -0500 | |
891 | + | |
892 | +emacs20 (20.3-10) unstable; urgency=low | |
893 | + | |
894 | + * Restructure debian/rules to build -el in binary-indep | |
895 | + (closes: #26761) | |
896 | + * Add emacsclient.1 manpage submitted ages ago. (closes: #22463) | |
897 | + * Handle duplicate DOC files (closes: #27668) | |
898 | + * Switch to gnu icon from old B&W drippy sink (closes: #33260) | |
899 | + | |
900 | + -- Rob Browning <rlb@cs.utexas.edu> Tue, 6 Jul 1999 23:21:44 -0500 | |
901 | + | |
902 | +emacs20 (20.3-9) unstable; urgency=low | |
903 | + | |
904 | + * Added HURD patch from Marcus Brinkmann <brinkmd@debian.org>. | |
905 | + (closes: #38571). | |
906 | + * Backed out (global-set-key [delete] 'delete-char) modification | |
907 | + (Ref: #26366). This is too controversial (think cross-platform) | |
908 | + and needs to be resolved by the Debian Keyboard Czar in concert with | |
909 | + others. For now we revert to the upstream behavior... | |
910 | + * Add /usr/share/info to info search path (closes: #38285). | |
911 | + | |
912 | + -- Rob Browning <rlb@cs.utexas.edu> Fri, 11 Jun 1999 00:43:51 -0500 | |
913 | + | |
914 | +emacs20 (20.3-8) unstable; urgency=low | |
915 | + | |
916 | + * Added patch to emacs.c from Wolfram Gloger | |
917 | + <wmglo@dent.med.uni-muenchen.de> to fix exit segfaults. | |
918 | + (closes: #37745) | |
919 | + * Fixed suidregister inconsistency between postinst and postrm | |
920 | + (closes #36845) | |
921 | + | |
922 | + -- Rob Browning <rlb@cs.utexas.edu> Sun, 30 May 1999 14:38:51 -0500 | |
923 | + | |
924 | +emacs20 (20.3-7) unstable frozen; urgency=low | |
925 | + | |
926 | + * Needed to go to frozen too: --print-architecture was an important | |
927 | + bug. Should be OK since other fixes since -5 are minor and | |
928 | + important. | |
929 | + * Add conflict with w3-el (as per Ben Pfaff's <pfaffben@pilot.msu.edu> | |
930 | + request). (closes: #30413). | |
931 | + * Undo broken (and unneeded) "fix" for suidregister call in postrm. | |
932 | + | |
933 | + -- Rob Browning <rlb@cs.utexas.edu> Thu, 28 Jan 1999 14:49:27 -0600 | |
934 | + | |
935 | +emacs20 (20.3-6) unstable; urgency=low | |
936 | + | |
937 | + * Use --print-installation-architecture rather than --print-architecture | |
938 | + (closes: #28177). | |
939 | + * Remove "#undef SIGIO" from m/arm.h as indicated by David Welton | |
940 | + <davidw@debian.org> (closes: #31279). | |
941 | + * Fix call to suidunregister (I didn't realize that it can't take | |
942 | + multiple file arguments) (closes: #21243 #26886). | |
943 | + | |
944 | + -- Rob Browning <rlb@cs.utexas.edu> Wed, 27 Jan 1999 11:50:14 -0600 | |
945 | + | |
946 | +emacs20 (20.3-5) frozen unstable; urgency=low | |
947 | + | |
948 | + * Added NetWinder patches (closes: #28277). (Thanks to David Welton) | |
949 | + * Rebuilt emacs20-el so the versions coincide. In the future, people | |
950 | + need to be sure to build *both* binary packages when doing a | |
951 | + non-maintainer binary release. (This fix justifies inclusion into | |
952 | + frozen). | |
953 | + | |
954 | + -- Rob Browning <rlb@cs.utexas.edu> Sun, 1 Nov 1998 20:14:36 -0600 | |
955 | + | |
956 | +emacs20 (20.3-4) unstable; urgency=low | |
957 | + | |
958 | + * Fix gnus to default to /var/spool/mail rather than /usr/spool/mail for | |
959 | + mailbox locations (closes: #21364). | |
960 | + | |
961 | + -- Rob Browning <rlb@cs.utexas.edu> Sat, 17 Oct 1998 14:28:45 -0500 | |
962 | + | |
963 | +emacs20 (20.3-3) unstable; urgency=low | |
964 | + | |
965 | + * Fixed leim. All the input methods should work now (closes: #27398). | |
966 | + * Made (global-set-key [delete] 'delete-char) the default (closes: #26366). | |
967 | + * Fix ownership on emacs20-el files (closes: #27398). | |
968 | + | |
969 | + -- Rob Browning <rlb@cs.utexas.edu> Tue, 13 Oct 1998 16:57:51 -0500 | |
970 | + | |
971 | +emacs20 (20.3-2) unstable; urgency=low | |
972 | + | |
973 | + * Added 20.2 patches for powerpc. I omitted the patches to the | |
974 | + following files because it looks like equivalent fixes have already | |
975 | + made it into 20.3. If anyone who understands that code better knows | |
976 | + differently, please let me know. The rest of the patches applied | |
977 | + cleanly. | |
978 | + src/callproc.c.rej | |
979 | + src/dired.c.rej | |
980 | + src/fileio.c.rej | |
981 | + src/process.c.rej | |
982 | + src/regex.c.rej | |
983 | + I also modified src/m/powerpc.h to fix problems calling the ldscript. | |
984 | + | |
985 | + -- Rob Browning <rlb@cs.utexas.edu> Mon, 7 Sep 1998 18:20:41 -0500 | |
986 | + | |
987 | +emacs20 (20.3-1) unstable; urgency=low | |
988 | + | |
989 | + * New upstream version. | |
990 | + * Modify all the debian/* stuff to automatically track version changes. | |
991 | + * Major changes to info page handling. Emacs20 info is now integrated into | |
992 | + the main info page. This was the best way I could think of to handle | |
993 | + cross references, etc. without major source changes. | |
994 | + * Locked emacs20-el and emacs20 package versions together with dependencies. | |
995 | + * Add info direntries for widget, info, and customize. | |
996 | + * Fix handling of /usr/local/share (which was badly broken). | |
997 | + * Turn stripping back on. It appears to work. | |
998 | + | |
999 | + -- Rob Browning <rlb@cs.utexas.edu> Tue, 1 Sep 1998 11:44:04 -0500 | |
1000 | + | |
1001 | +emacs20 (20.2-9) unstable; urgency=low | |
1002 | + | |
1003 | + * Fixes for leim problems (closes: #25536). Thanks to | |
1004 | + Junio Hamano <junio@twinsun.com> | |
1005 | + * update-elc now made executable (closes: #25899). Thanks to | |
1006 | + Junio Hamano <junio@twinsun.com> | |
1007 | + * Fix problem with package including dirs in /usr/local/share | |
1008 | + (closes: #23431). | |
1009 | + | |
1010 | + -- Rob Browning <rlb@cs.utexas.edu> Sat, 22 Aug 1998 11:45:16 -0500 | |
1011 | + | |
1012 | +emacs20 (20.2-8) unstable; urgency=low | |
1013 | + | |
1014 | + * Regenerate .elc files for .el files we've modified. I didn't realize | |
1015 | + that some of the .elc files were in the upstream tar file. Hope this | |
1016 | + doesn't break anything. We haven't been using our sendmail and | |
1017 | + message modifications until now. (closes: #21079). | |
1018 | + * Fix i386ism in debian scripts use "dpkg --print-architecture" | |
1019 | + instead. (closes: #20548). | |
1020 | + * Fixed reference in README.add-on-package-maintainers | |
1021 | + (closes: #23445) | |
1022 | + * Fix some alpha problems (closes: #21834). | |
1023 | + * Had to add Replaces: emacs20 to emacs20-el to fix problem with | |
1024 | + copyright files being in the wrong package (closes: #21531). | |
1025 | + | |
1026 | + -- Rob Browning <rlb@cs.utexas.edu> Fri, 7 Aug 1998 20:39:59 -0500 | |
1027 | + | |
1028 | +emacs20 (20.2-7) frozen unstable; urgency=low | |
1029 | + | |
1030 | + * Changed emacs20-el from standard to optional. | |
1031 | + * Fixed broken postrm (release critical) (closes: #24236) | |
1032 | + * Don't strip emacs binary (strip is broken see binutils #23153). | |
1033 | + * Since we can't strip, don't compile or link with "-g". | |
1034 | + | |
1035 | + -- Rob Browning <rlb@cs.utexas.edu> Thu, 16 Jul 1998 16:58:04 -0500 | |
1036 | + | |
1037 | +emacs20 (20.2-6) frozen unstable; urgency=low | |
1038 | + | |
1039 | + * Gack. Fix reject due to changed .tar.gz file (./leim added to tar). | |
1040 | + | |
1041 | + -- Rob Browning <rlb@cs.utexas.edu> Wed, 8 Apr 1998 14:04:54 -0500 | |
1042 | + | |
1043 | +emacs20 (20.2-5) frozen unstable; urgency=low | |
1044 | + | |
1045 | + * Make sure to preserve timestamps on .el files in emacs20-el | |
1046 | + (closes: #20274) | |
1047 | + * Add leim support for alternate input methods. May close several | |
1048 | + bugs. | |
1049 | + | |
1050 | + -- Rob Browning <rlb@cs.utexas.edu> Sun, 5 Apr 1998 10:38:20 -0500 | |
1051 | + | |
1052 | +emacs20 (20.2-4) frozen unstable; urgency=low | |
1053 | + | |
1054 | + * Added copright file to emacs20-el package (closes: #19300) | |
1055 | + * suidmanager doesn't understand symbolic perms | |
1056 | + (closes: #18448, #19213) | |
1057 | + | |
1058 | + -- Rob Browning <rlb@cs.utexas.edu> Fri, 13 Mar 1998 13:01:07 -0600 | |
1059 | + | |
1060 | +emacs20 (20.2-3) unstable; urgency=low | |
1061 | + | |
1062 | + * Fixed problem with permissions on /usr/share/emacs/20.2/site-lisp/ | |
1063 | + (closes: #18717) | |
1064 | + | |
1065 | + -- Rob Browning <rlb@cs.utexas.edu> Mon, 2 Mar 1998 12:02:33 -0600 | |
1066 | + | |
1067 | +emacs20 (20.2-2) unstable; urgency=low | |
1068 | + | |
1069 | + * fixed bad menu line (closes: #18362). | |
1070 | + | |
1071 | + -- Rob Browning <rlb@cs.utexas.edu> Thu, 19 Feb 1998 10:52:58 -0600 | |
1072 | + | |
1073 | +emacs20 (20.2-2) unstable; urgency=low | |
1074 | + | |
1075 | + * Explicit dependency on liblockfile0 until bug is fixed | |
1076 | + (closes #18186) | |
1077 | + * added lisp/site-lisp.el to fix info path problem (closes #18190) | |
1078 | + | |
1079 | + -- Rob Browning <rlb@cs.utexas.edu> Sat, 14 Feb 1998 19:19:09 -0600 | |
1080 | + | |
1081 | +emacs20 (20.2-1) unstable; urgency=low | |
1082 | + | |
1083 | + * movemail no longer suid -- not needed. | |
1084 | + * start from scratch with emacs-20.2 source and old emacs-19.34 and | |
1085 | + xemacs patches. | |
1086 | + | |
1087 | + -- Rob Browning <rlb@cs.utexas.edu> Tue, 16 Dec 1997 01:20:27 -0600 | |
1088 | + | |
1089 | +Local Variables: | |
1090 | +coding: utf-8 | |
1091 | +End: | |
1092 | --- emacs-21.3.orig/debian/control.in | |
1093 | +++ emacs-21.3/debian/control.in | |
1094 | @@ -0,0 +1,64 @@ | |
1095 | +Source: emacs@MAJOR_VERSION@ | |
1096 | +Section: editors | |
1097 | +Priority: optional | |
1098 | +Maintainer: Rob Browning <rlb@defaultvalue.org> | |
1099 | +Build-Depends: mailx, libncurses5-dev, texinfo, liblockfile-dev, libungif4-dev, libtiff4-dev, xaw3dg-dev, libpng3-dev, libjpeg62-dev, autotools-dev, dpkg-dev (>> 1.10.0), dpatch (>= 1.23) | |
1100 | +Standards-Version: 3.6.1 | |
1101 | + | |
1102 | +Package: emacs@MAJOR_VERSION@ | |
1103 | +Section: editors | |
1104 | +Priority: optional | |
1105 | +Architecture: any | |
1106 | +Depends: emacs@MAJOR_VERSION@-bin-common (= ${Source-Version}), ${shlibs:Depends} | |
1107 | +Provides: emacsen, editor, info-browser, mail-reader, news-reader, www-browser | |
1108 | +Conflicts: emacs@MAJOR_VERSION@-nox, w3-el | |
1109 | +Replaces: emacs@MAJOR_VERSION@-nox | |
1110 | +Description: The GNU Emacs editor | |
1111 | + GNU Emacs is the extensible self-documenting text editor. | |
1112 | + | |
1113 | +Package: emacs@MAJOR_VERSION@-nox | |
1114 | +Section: editors | |
1115 | +Priority: optional | |
1116 | +Architecture: any | |
1117 | +Depends: emacs@MAJOR_VERSION@-bin-common (= ${Source-Version}), ${shlibs:Depends} | |
1118 | +Provides: emacs@MAJOR_VERSION@, editor, emacsen, info-browser, mail-reader, news-reader, www-browser | |
1119 | +Conflicts: emacs@MAJOR_VERSION@, w3-el | |
1120 | +Replaces: emacs@MAJOR_VERSION@ | |
1121 | +Description: The GNU Emacs editor (without X support) | |
1122 | + GNU Emacs is the extensible self-documenting text editor. | |
1123 | + This package contains a version of Emacs compiled without support for X. | |
1124 | + | |
1125 | +Package: emacs@MAJOR_VERSION@-bin-common | |
1126 | +Section: editors | |
1127 | +Priority: optional | |
1128 | +Architecture: any | |
1129 | +Depends: emacs@MAJOR_VERSION@-common (= ${Source-Version}), ${shlibs:Depends} | |
1130 | +Replaces: emacs21 (<< 21.2-4), emacs21-common (<< 21.3+1-4) | |
1131 | +Description: The GNU Emacs editor's shared, architecture dependent files | |
1132 | + GNU Emacs is the extensible self-documenting text editor. | |
1133 | + This package contains the architecture dependent infrastructure | |
1134 | + that's shared by emacs@MAJOR_VERSION@ and emacs@MAJOR_VERSION@-nox. | |
1135 | + | |
1136 | +Package: emacs@MAJOR_VERSION@-common | |
1137 | +Section: editors | |
1138 | +Priority: optional | |
1139 | +Architecture: all | |
1140 | +Depends: emacsen-common (>= 1.4.10), dpkg (>= 1.9.0), ${shlibs:Depends} | |
1141 | +Suggests: emacs@MAJOR_VERSION@-el | |
1142 | +Conflicts: emacs@MAJOR_VERSION@-el (<< ${Source-Version}), w3-el | |
1143 | +Replaces: emacs21 (<< 21.2-4) | |
1144 | +Description: The GNU Emacs editor's shared, architecture independent infrastructure | |
1145 | + GNU Emacs is the extensible self-documenting text editor. | |
1146 | + This package contains the architecture independent infrastructure | |
1147 | + that's shared by emacs@MAJOR_VERSION@ and emacs@MAJOR_VERSION@-nox. | |
1148 | + | |
1149 | +Package: emacs@MAJOR_VERSION@-el | |
1150 | +Section: editors | |
1151 | +Priority: optional | |
1152 | +Architecture: all | |
1153 | +Depends: emacs@MAJOR_VERSION@-common (= ${Source-Version}) | |
1154 | +Replaces: emacs@MAJOR_VERSION@ (<< 21.2-4) | |
1155 | +Description: GNU Emacs LISP (.el) files | |
1156 | + GNU Emacs is the extensible self-documenting text editor. | |
1157 | + This package contains the elisp sources for the convenience of users, | |
1158 | + saving space in the main package for small systems. | |
1159 | --- emacs-21.3.orig/debian/emacs-common.postinst | |
1160 | +++ emacs-21.3/debian/emacs-common.postinst | |
1161 | @@ -0,0 +1,106 @@ | |
1162 | +#!/bin/sh -e | |
1163 | + | |
1164 | +MAJOR=@MAJOR_VERSION@ | |
1165 | +MINOR=@MINOR_VERSION@ | |
1166 | +FULL=@FULL_VERSION@ | |
1167 | +INFOFILES="@INFOFILES@" | |
1168 | + | |
1169 | +PRIORITY=24 | |
1170 | + | |
1171 | +# Fix from Manoj so we don't clean up more than we should. | |
1172 | +if [ -f /usr/share/info/gnus.gz ]; then | |
1173 | + CRUFT_INFOFILES="ccmode cl dired-x ediff emacs forms info mh-e reftex sc \ | |
1174 | + vip viper widget" | |
1175 | +else | |
1176 | + CRUFT_INFOFILES="ccmode cl dired-x ediff emacs forms gnus info message \ | |
1177 | + mh-e reftex sc vip viper widget" | |
1178 | +fi | |
1179 | + | |
1180 | +# We have to clean these up because the old package didn't. The info | |
1181 | +# files were being removed in the postinst, not the prerm, and so | |
1182 | +# install-info wasn't doing anything because the files weren't there.. | |
1183 | +for file in ${CRUFT_INFOFILES} | |
1184 | +do | |
1185 | + install-info --quiet --remove-exactly ${file} || true | |
1186 | +done | |
1187 | + | |
1188 | +for file in ${INFOFILES} | |
1189 | +do | |
1190 | + install-info --quiet --section Emacs Emacs \ | |
1191 | + /usr/share/info/emacs-${MAJOR}/${file}.gz || true | |
1192 | +done | |
1193 | + | |
1194 | +# Create the site-lisp dir for this flavor if we're allowed | |
1195 | + | |
1196 | +#### Begin Bug fix hack for old emacs20 package brain damage. | |
1197 | +# | |
1198 | +# We have to handle /usr/local/share and /usr/local/share/emacs here | |
1199 | +# because emacs20 used to contain /usr/local/share :< . Normally | |
1200 | +# these dirs should have been handled exclusively by emacsen-common. | |
1201 | + | |
1202 | +parentdir=/usr/local | |
1203 | +newdir=share | |
1204 | + | |
1205 | +if [ -d ${parentdir} ] | |
1206 | +then | |
1207 | + if mkdir ${parentdir}/${newdir} 2>/dev/null | |
1208 | + then | |
1209 | + chown root:staff ${parentdir}/${newdir} | |
1210 | + chmod 2775 ${parentdir}/${newdir} | |
1211 | + fi | |
1212 | +fi | |
1213 | + | |
1214 | +parentdir=/usr/local/share | |
1215 | +newdir=emacs | |
1216 | + | |
1217 | +if [ -d ${parentdir} ] | |
1218 | +then | |
1219 | + if mkdir ${parentdir}/${newdir} 2>/dev/null | |
1220 | + then | |
1221 | + chown root:staff ${parentdir}/${newdir} | |
1222 | + chmod 2775 ${parentdir}/${newdir} | |
1223 | + fi | |
1224 | +fi | |
1225 | + | |
1226 | +parentdir=/usr/local/share/emacs | |
1227 | +newdir=site-lisp | |
1228 | + | |
1229 | +if [ -d ${parentdir} ] | |
1230 | +then | |
1231 | + if mkdir ${parentdir}/${newdir} 2>/dev/null | |
1232 | + then | |
1233 | + chown root:staff ${parentdir}/${newdir} | |
1234 | + chmod 2775 ${parentdir}/${newdir} | |
1235 | + fi | |
1236 | +fi | |
1237 | + | |
1238 | +#### End Bug fix hack for old emacs20 package brain damage. | |
1239 | + | |
1240 | + | |
1241 | +parentdir=/usr/local/share/emacs | |
1242 | +newdir=${FULL} | |
1243 | + | |
1244 | +if [ -d ${parentdir} ] | |
1245 | +then | |
1246 | + if mkdir ${parentdir}/${newdir} 2>/dev/null | |
1247 | + then | |
1248 | + chown root:staff ${parentdir}/${newdir} | |
1249 | + chmod 2775 ${parentdir}/${newdir} | |
1250 | + fi | |
1251 | +fi | |
1252 | + | |
1253 | +parentdir=/usr/local/share/emacs/${FULL} | |
1254 | +newdir=site-lisp | |
1255 | + | |
1256 | +if [ -d ${parentdir} ] | |
1257 | +then | |
1258 | + if mkdir ${parentdir}/${newdir} 2>/dev/null | |
1259 | + then | |
1260 | + chown root:staff ${parentdir}/${newdir} | |
1261 | + chmod 2775 ${parentdir}/${newdir} | |
1262 | + fi | |
1263 | +fi | |
1264 | + | |
1265 | +# emacsen-common/emacs-install used to be here. | |
1266 | + | |
1267 | +exit 0 | |
1268 | --- emacs-21.3.orig/debian/control | |
1269 | +++ emacs-21.3/debian/control | |
1270 | @@ -0,0 +1,64 @@ | |
1271 | +Source: emacs21 | |
1272 | +Section: editors | |
1273 | +Priority: optional | |
1274 | +Maintainer: Rob Browning <rlb@defaultvalue.org> | |
1275 | +Build-Depends: mailx, libncurses5-dev, texinfo, liblockfile-dev, libungif4-dev, libtiff4-dev, xaw3dg-dev, libpng3-dev, libjpeg62-dev, autotools-dev, dpkg-dev (>> 1.10.0), dpatch (>= 1.23) | |
1276 | +Standards-Version: 3.6.1 | |
1277 | + | |
1278 | +Package: emacs21 | |
1279 | +Section: editors | |
1280 | +Priority: optional | |
1281 | +Architecture: any | |
1282 | +Depends: emacs21-bin-common (= ${Source-Version}), ${shlibs:Depends} | |
1283 | +Provides: emacsen, editor, info-browser, mail-reader, news-reader, www-browser | |
1284 | +Conflicts: emacs21-nox, w3-el | |
1285 | +Replaces: emacs21-nox | |
1286 | +Description: The GNU Emacs editor | |
1287 | + GNU Emacs is the extensible self-documenting text editor. | |
1288 | + | |
1289 | +Package: emacs21-nox | |
1290 | +Section: editors | |
1291 | +Priority: optional | |
1292 | +Architecture: any | |
1293 | +Depends: emacs21-bin-common (= ${Source-Version}), ${shlibs:Depends} | |
1294 | +Provides: emacs21, editor, emacsen, info-browser, mail-reader, news-reader, www-browser | |
1295 | +Conflicts: emacs21, w3-el | |
1296 | +Replaces: emacs21 | |
1297 | +Description: The GNU Emacs editor (without X support) | |
1298 | + GNU Emacs is the extensible self-documenting text editor. | |
1299 | + This package contains a version of Emacs compiled without support for X. | |
1300 | + | |
1301 | +Package: emacs21-bin-common | |
1302 | +Section: editors | |
1303 | +Priority: optional | |
1304 | +Architecture: any | |
1305 | +Depends: emacs21-common (= ${Source-Version}), ${shlibs:Depends} | |
1306 | +Replaces: emacs21 (<< 21.2-4), emacs21-common (<< 21.3+1-4) | |
1307 | +Description: The GNU Emacs editor's shared, architecture dependent files | |
1308 | + GNU Emacs is the extensible self-documenting text editor. | |
1309 | + This package contains the architecture dependent infrastructure | |
1310 | + that's shared by emacs21 and emacs21-nox. | |
1311 | + | |
1312 | +Package: emacs21-common | |
1313 | +Section: editors | |
1314 | +Priority: optional | |
1315 | +Architecture: all | |
1316 | +Depends: emacsen-common (>= 1.4.10), dpkg (>= 1.9.0), ${shlibs:Depends} | |
1317 | +Suggests: emacs21-el | |
1318 | +Conflicts: emacs21-el (<< ${Source-Version}), w3-el | |
1319 | +Replaces: emacs21 (<< 21.2-4) | |
1320 | +Description: The GNU Emacs editor's shared, architecture independent infrastructure | |
1321 | + GNU Emacs is the extensible self-documenting text editor. | |
1322 | + This package contains the architecture independent infrastructure | |
1323 | + that's shared by emacs21 and emacs21-nox. | |
1324 | + | |
1325 | +Package: emacs21-el | |
1326 | +Section: editors | |
1327 | +Priority: optional | |
1328 | +Architecture: all | |
1329 | +Depends: emacs21-common (= ${Source-Version}) | |
1330 | +Replaces: emacs21 (<< 21.2-4) | |
1331 | +Description: GNU Emacs LISP (.el) files | |
1332 | + GNU Emacs is the extensible self-documenting text editor. | |
1333 | + This package contains the elisp sources for the convenience of users, | |
1334 | + saving space in the main package for small systems. | |
1335 | --- emacs-21.3.orig/debian/emacs-bin-common.postinst | |
1336 | +++ emacs-21.3/debian/emacs-bin-common.postinst | |
1337 | @@ -0,0 +1,30 @@ | |
1338 | +#!/bin/sh -e | |
1339 | + | |
1340 | +MAJOR=@MAJOR_VERSION@ | |
1341 | +MINOR=@MINOR_VERSION@ | |
1342 | +FULL=@FULL_VERSION@ | |
1343 | +INFOFILES="@INFOFILES@" | |
1344 | +ALTERNATIVES="@ALTERNATIVES@" | |
1345 | + | |
1346 | +PRIORITY=24 | |
1347 | + | |
1348 | +# update-alternatives on things that collide with xemacs, other editors | |
1349 | +for i in ctags etags emacsclient | |
1350 | +do | |
1351 | + update-alternatives \ | |
1352 | + --install /usr/bin/$i $i /usr/bin/$i.emacs${MAJOR} ${PRIORITY} \ | |
1353 | + --slave /usr/share/man/man1/$i.1.gz $i.1.gz \ | |
1354 | + /usr/share/man/man1/$i.1emacs${MAJOR}.gz | |
1355 | +done | |
1356 | + | |
1357 | +for i in ${ALTERNATIVES} | |
1358 | +do | |
1359 | + test $i = ctags && continue | |
1360 | + test $i = etags && continue | |
1361 | + test $i = emacs && continue | |
1362 | + test $i = emacsclient && continue | |
1363 | + update-alternatives --install /usr/bin/$i $i /usr/bin/$i.emacs${MAJOR} \ | |
1364 | + ${PRIORITY} | |
1365 | +done | |
1366 | + | |
1367 | +exit 0 | |
1368 | --- emacs-21.3.orig/debian/emacs-bin-common.prerm | |
1369 | +++ emacs-21.3/debian/emacs-bin-common.prerm | |
1370 | @@ -0,0 +1,25 @@ | |
1371 | +#!/bin/sh | |
1372 | + | |
1373 | +set -e | |
1374 | + | |
1375 | +MAJOR=@MAJOR_VERSION@ | |
1376 | +MINOR=@MINOR_VERSION@ | |
1377 | +FULL=@FULL_VERSION@ | |
1378 | +INFOFILES="@INFOFILES@" | |
1379 | +ALTERNATIVES="@ALTERNATIVES@" | |
1380 | + | |
1381 | +if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -L /usr/doc/@PKG_NAME@ ] | |
1382 | +then | |
1383 | + rm -f /usr/doc/@PKG_NAME@ | |
1384 | +fi | |
1385 | + | |
1386 | +# update-alternatives on things that collide with xemacs, other editors | |
1387 | +if [ "$1" != "upgrade" ] | |
1388 | +then | |
1389 | + for i in `echo ${ALTERNATIVES} | grep -v emacs` | |
1390 | + do | |
1391 | + update-alternatives --remove $i /usr/bin/$i.emacs${MAJOR} | |
1392 | + done | |
1393 | +fi | |
1394 | + | |
1395 | +exit 0 | |
1396 | --- emacs-21.3.orig/debian/emacsclient-plus | |
1397 | +++ emacs-21.3/debian/emacsclient-plus | |
1398 | @@ -0,0 +1,31 @@ | |
1399 | +#!/usr/bin/perl | |
1400 | + | |
1401 | +# If there is an Emacs server, runs emacsclient. | |
1402 | +# Otherwise, launches Emacs. | |
1403 | +# Only for systems with Berkeley sockets (like Debian GNU/Linux). | |
1404 | + | |
1405 | +$real_emacsclient = "/usr/bin/emacsclient"; | |
1406 | +$socket_prefix = "esrv"; | |
1407 | +$id = `id --user`; | |
1408 | +chomp $id; | |
1409 | +$socket_dir = "/tmp/"; | |
1410 | +$hostname = `hostname`; | |
1411 | +chomp $hostname; | |
1412 | + | |
1413 | +if (-S "$socket_dir$socket_prefix$id-$hostname") { | |
1414 | + exec ("$real_emacsclient " . join (" ", @ARGV)); | |
1415 | + die "Cannot run $real_emacsclient: $!"; | |
1416 | +} | |
1417 | +else { | |
1418 | + if ($ENV{'DISPLAY'}) { | |
1419 | + system "emacs &"; | |
1420 | + # Wait the server (Emacs is slow) | |
1421 | + sleep 2; | |
1422 | + exec ("$real_emacsclient " . join (" ", @ARGV)); | |
1423 | + die "Cannot run $real_emacsclient: $!"; | |
1424 | + } | |
1425 | + else { | |
1426 | + exec ("emacs " . join (" ", @ARGV)); | |
1427 | + die "Cannot run emacs: $!"; | |
1428 | + } | |
1429 | +} | |
1430 | --- emacs-21.3.orig/debian/patches/00list | |
1431 | +++ emacs-21.3/debian/patches/00list | |
1432 | @@ -0,0 +1,19 @@ | |
1433 | +autoconf-updates | |
1434 | +misc-unseparated | |
1435 | +arch-hppa | |
1436 | +arch-mipsel | |
1437 | +arch-s390 | |
1438 | +browse-url | |
1439 | +bzero-and-have-stdlib | |
1440 | +detect-coding-iso2022 | |
1441 | +movemail-mailspool | |
1442 | +version-mention-debian | |
1443 | +hurd-libio-glibc | |
1444 | +battery-acpi-support | |
1445 | +scroll-margin | |
1446 | +save-buffer | |
1447 | +emacsclient-alternate-editor | |
1448 | +fix-x-vs-no-x-diffs | |
1449 | +fix-batch-mode-signal-handling | |
1450 | +fix-insecure-permissions-on-restore | |
1451 | +CAN-2005-0100 | |
1452 | --- emacs-21.3.orig/debian/patches/arch-hppa.dpatch | |
1453 | +++ emacs-21.3/debian/patches/arch-hppa.dpatch | |
1454 | @@ -0,0 +1,105 @@ | |
1455 | +#! /bin/sh -e | |
1456 | +## 500-arch-hppa.dpatch by Rob Browning <rlb@defaultvalue.org> | |
1457 | +## | |
1458 | +## DP: ** Support for the hppa architecture has been added. | |
1459 | +## DP: Status: appears to be incorporated upstream | |
1460 | + | |
1461 | +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts | |
1462 | +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" | |
1463 | + | |
1464 | +if [ $# -ne 1 ]; then | |
1465 | + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | |
1466 | + exit 1 | |
1467 | +fi | |
1468 | +case "$1" in | |
1469 | + -patch) patch $patch_opts -p1 < $0;; | |
1470 | + -unpatch) patch $patch_opts -p1 -R < $0;; | |
1471 | + *) | |
1472 | + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | |
1473 | + exit 1;; | |
1474 | +esac | |
1475 | + | |
1476 | +exit 0 | |
1477 | +@DPATCH@ | |
1478 | +--- emacs21-21.2.orig/configure.in | |
1479 | ++++ emacs21-21.2/configure.in | |
1480 | +@@ -552,6 +552,9 @@ | |
1481 | + hppa*-*-nextstep* ) | |
1482 | + machine=hp800 opsys=nextstep | |
1483 | + ;; | |
1484 | ++ hppa*-*-linux-gnu* ) | |
1485 | ++ machine=hp800 opsys=gnu-linux | |
1486 | ++ ;; | |
1487 | + | |
1488 | + ## Orion machines | |
1489 | + orion-orion-bsd* ) | |
1490 | +--- emacs21-21.2.orig/src/m/hp800.h | |
1491 | ++++ emacs21-21.2/src/m/hp800.h | |
1492 | +@@ -85,7 +85,7 @@ | |
1493 | + #define bcmp memcmp | |
1494 | + #endif | |
1495 | + \f | |
1496 | +-#ifdef __hpux | |
1497 | ++#if defined(__hpux) || defined(__linux__) | |
1498 | + /* Now define a symbol for the cpu type, if your compiler | |
1499 | + does not define it automatically: | |
1500 | + Ones defined so far include vax, m68000, ns16000, pyramid, | |
1501 | +@@ -94,6 +94,15 @@ | |
1502 | + # define hp9000s800 | |
1503 | + #endif | |
1504 | + | |
1505 | ++#ifdef __linux__ | |
1506 | ++/* Data type of load average, as read out of kmem. */ | |
1507 | ++ | |
1508 | ++#define LOAD_AVE_TYPE long | |
1509 | ++ | |
1510 | ++/* Convert that into an integer that is 100 for a load average of 1.0 */ | |
1511 | ++ | |
1512 | ++#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | |
1513 | ++#else | |
1514 | + /* Data type of load average, as read out of kmem. */ | |
1515 | + | |
1516 | + #define LOAD_AVE_TYPE double | |
1517 | +@@ -101,7 +110,7 @@ | |
1518 | + /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
1519 | + | |
1520 | + #define LOAD_AVE_CVT(x) ((int) (x * 100.0)) | |
1521 | +- | |
1522 | ++#endif | |
1523 | + | |
1524 | + /* Define CANNOT_DUMP on machines where unexec does not work. | |
1525 | + Then the function dump-emacs will not be defined | |
1526 | +@@ -116,6 +125,7 @@ | |
1527 | + Otherwise Emacs assumes that text space precedes data space, | |
1528 | + numerically. */ | |
1529 | + | |
1530 | ++#ifdef __hpux | |
1531 | + #define VIRT_ADDR_VARIES | |
1532 | + | |
1533 | + /* Define C_ALLOCA if this machine does not support a true alloca | |
1534 | +@@ -134,6 +144,9 @@ | |
1535 | + | |
1536 | + #define DATA_START 0x40000000 | |
1537 | + #define TEXT_START 0x00000000 | |
1538 | ++#else | |
1539 | ++#define HAVE_ALLOCA | |
1540 | ++#endif | |
1541 | + | |
1542 | + #define STACK_DIRECTION 1 | |
1543 | + | |
1544 | +@@ -147,6 +160,7 @@ | |
1545 | + /* This machine requires completely different unexec code | |
1546 | + which lives in a separate file. Specify the file name. */ | |
1547 | + | |
1548 | ++#ifdef __hpux | |
1549 | + #define UNEXEC unexhp9k800.o | |
1550 | + | |
1551 | + #define LIBS_MACHINE | |
1552 | +@@ -179,5 +193,5 @@ | |
1553 | + | |
1554 | + #define index strchr | |
1555 | + #define rindex strrchr | |
1556 | +- | |
1557 | +-#endif /* __hpux */ | |
1558 | ++#endif | |
1559 | ++#endif | |
1560 | --- emacs-21.3.orig/debian/patches/CAN-2005-0100.dpatch | |
1561 | +++ emacs-21.3/debian/patches/CAN-2005-0100.dpatch | |
1562 | @@ -0,0 +1,35 @@ | |
1563 | +#! /bin/sh -e | |
1564 | +## CAN-2005-0100.dpatch by <martin.pitt@ubuntu.com> | |
1565 | +## | |
1566 | +## All lines beginning with `## DP:' are a description of the patch. | |
1567 | +## DP: Fix format string vulnerability in movemal (CAN-2005-0100). | |
1568 | + | |
1569 | +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts | |
1570 | +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" | |
1571 | + | |
1572 | +if [ $# -ne 1 ]; then | |
1573 | + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | |
1574 | + exit 1 | |
1575 | +fi | |
1576 | +case "$1" in | |
1577 | + -patch) patch $patch_opts -p1 < $0;; | |
1578 | + -unpatch) patch $patch_opts -p1 -R < $0;; | |
1579 | + *) | |
1580 | + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | |
1581 | + exit 1;; | |
1582 | +esac | |
1583 | + | |
1584 | +exit 0 | |
1585 | +@DPATCH@ | |
1586 | +diff -urNad emacs-21.3/lib-src/movemail.c /tmp/dpep.yMvw2I/emacs-21.3/lib-src/movemail.c | |
1587 | +--- emacs-21.3/lib-src/movemail.c 2005-02-04 10:07:21.636219680 +0000 | |
1588 | ++++ /tmp/dpep.yMvw2I/emacs-21.3/lib-src/movemail.c 2005-02-04 10:08:17.325885034 +0000 | |
1589 | +@@ -786,7 +786,7 @@ | |
1590 | + mbx_delimit_begin (mbf); | |
1591 | + if (pop_retr (server, i, mbf) != OK) | |
1592 | + { | |
1593 | +- error (Errmsg, 0, 0); | |
1594 | ++ error ("%s", Errmsg, 0); | |
1595 | + close (mbfi); | |
1596 | + return (1); | |
1597 | + } | |
1598 | --- emacs-21.3.orig/debian/patches/misc-unseparated.dpatch | |
1599 | +++ emacs-21.3/debian/patches/misc-unseparated.dpatch | |
1600 | @@ -0,0 +1,248 @@ | |
1601 | +#! /bin/sh -e | |
1602 | +## 400-misc-unseparated.dpatch by Rob Browning <rlb@defaultvalue.org> | |
1603 | +## | |
1604 | +## DP: ** Some documentation references to /usr/local/ have been changed to /usr. | |
1605 | +## DP: | |
1606 | +## DP: ** Emacs runs debian-startup | |
1607 | +## DP: Emacs runs debian-startup during the startup process unless | |
1608 | +## DP: site-run-file is false. | |
1609 | +## DP: | |
1610 | +## DP: ** The default for message-sendmail-f-is-evil has been changed to t. | |
1611 | +## DP: This is correct for Debian systems where we know the MTA should be | |
1612 | +## DP: trusted. | |
1613 | +## DP: | |
1614 | +## DP: ** mail-from-style changed from 'angles to 'system-default by default. | |
1615 | +## DP: | |
1616 | +## DP: ** debian-emacs-flavor is a global variable bound to 'emacs21. | |
1617 | +## DP: Author: rlb | |
1618 | +## DP: | |
1619 | +## DP: ** Info-default-directory-list includes /usr/share/info/emacs-MAJOR | |
1620 | +## DP: Author: rlb | |
1621 | +## DP: Info-default-directory-list was modified to reflect the install | |
1622 | +## DP: location of the info files. This location allows multiple emacsen to | |
1623 | +## DP: coexist on the same Debian system. | |
1624 | +## DP: | |
1625 | +## DP: ** The build process was modified to accommodate Debian packaging. | |
1626 | +## DP: Author: rlb | |
1627 | +## DP: Emacs has to be able to install into a directory that will | |
1628 | +## DP: not be the eventual run directory without embedding the install | |
1629 | +## DP: directory in any of the resulting files. | |
1630 | + | |
1631 | +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts | |
1632 | +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" | |
1633 | + | |
1634 | +if [ $# -ne 1 ]; then | |
1635 | + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | |
1636 | + exit 1 | |
1637 | +fi | |
1638 | +case "$1" in | |
1639 | + -patch) patch $patch_opts -p1 < $0;; | |
1640 | + -unpatch) patch $patch_opts -p1 -R < $0;; | |
1641 | + *) | |
1642 | + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | |
1643 | + exit 1;; | |
1644 | +esac | |
1645 | + | |
1646 | +exit 0 | |
1647 | +@DPATCH@ | |
1648 | +diff -urNad /home/rlb/deb/emacs21/trunk/Makefile.in trunk/Makefile.in | |
1649 | +--- /home/rlb/deb/emacs21/trunk/Makefile.in 2003-09-11 01:16:07.000000000 -0500 | |
1650 | ++++ trunk/Makefile.in 2003-09-11 01:16:53.000000000 -0500 | |
1651 | +@@ -474,11 +474,16 @@ | |
1652 | + $(srcdir)/mkinstalldirs ${datadir}; \ | |
1653 | + chmod a+r ${datadir};\ | |
1654 | + fi | |
1655 | ++ test "${debepkgdir}" | |
1656 | + $(srcdir)/mkinstalldirs ${COPYDESTS} ${infodir} ${man1dir} \ | |
1657 | + ${bindir} ${docdir} ${libexecdir} \ | |
1658 | + ${datadir}/emacs/site-lisp \ | |
1659 | + ${datadir}/emacs/${version}/site-lisp \ | |
1660 | +- `echo ${locallisppath} | sed 's/:/ /g'` | |
1661 | ++ `echo ${debepkgdir}${locallisppath} | sed 's|:| ${debepkgdir}|g'` | |
1662 | ++ | |
1663 | ++# debepkgdir (above) is set in debian/rules | |
1664 | ++ | |
1665 | ++# `echo debian/tmp-emacs${locallisppath} | sed 's/:/ debian\/tmp-emacs/g'` | |
1666 | + | |
1667 | + ### Delete all the installed files that the `install' target would | |
1668 | + ### create (but not the noninstalled files such as `make all' would | |
1669 | +diff -urNad /home/rlb/deb/emacs21/trunk/etc/NEWS trunk/etc/NEWS | |
1670 | +--- /home/rlb/deb/emacs21/trunk/etc/NEWS 2003-09-11 01:16:07.000000000 -0500 | |
1671 | ++++ trunk/etc/NEWS 2003-09-11 01:16:53.000000000 -0500 | |
1672 | +@@ -6,6 +6,11 @@ | |
1673 | + For older news, see the file ONEWS | |
1674 | + | |
1675 | + \f | |
1676 | ++* Debian specific changes to Emacs | |
1677 | ++ | |
1678 | ++Please see /usr/share/doc/emacs21/README.Debian.gz. | |
1679 | ++ | |
1680 | ++\f | |
1681 | + * Installation changes in Emacs 21.3 | |
1682 | + | |
1683 | + ** Support for GNU/Linux on little-endian MIPS and on IBM S390 has | |
1684 | +diff -urNad /home/rlb/deb/emacs21/trunk/etc/emacs.1 trunk/etc/emacs.1 | |
1685 | +--- /home/rlb/deb/emacs21/trunk/etc/emacs.1 2003-09-11 01:16:07.000000000 -0500 | |
1686 | ++++ trunk/etc/emacs.1 2003-09-11 01:16:53.000000000 -0500 | |
1687 | +@@ -169,7 +169,7 @@ | |
1688 | + window in reverse video. | |
1689 | + .TP | |
1690 | + .B \-i | |
1691 | +-Use the "kitchen sink" bitmap icon when iconifying the | |
1692 | ++Use the Emacs icon when iconifying the | |
1693 | + .I Emacs | |
1694 | + window. | |
1695 | + .TP | |
1696 | +@@ -221,7 +221,7 @@ | |
1697 | + .IR X (1) | |
1698 | + for more information. | |
1699 | + The width and height are specified in characters; the default is 80 by | |
1700 | +-24. | |
1701 | ++40. | |
1702 | + .PP | |
1703 | + .TP 8 | |
1704 | + .BI \-fg " color" | |
1705 | +@@ -411,29 +411,29 @@ | |
1706 | + manual is also included in the Emacs source distribution. | |
1707 | + .PP | |
1708 | + .SH FILES | |
1709 | +-/usr/local/info - files for the Info documentation browser | |
1710 | ++/usr/info - files for the Info documentation browser | |
1711 | + (a subsystem of Emacs) to refer to. Currently not much of Unix | |
1712 | + is documented here, but the complete text of the Emacs reference | |
1713 | + manual is included in a convenient tree structured form. | |
1714 | + | |
1715 | +-/usr/local/share/emacs/$VERSION/src - C source files and object files | |
1716 | ++/usr/share/emacs/$VERSION/src - C source files and object files | |
1717 | + | |
1718 | +-/usr/local/share/emacs/$VERSION/lisp - Lisp source files and compiled files | |
1719 | ++/usr/share/emacs/$VERSION/lisp - Lisp source files and compiled files | |
1720 | + that define most editing commands. Some are preloaded; | |
1721 | + others are autoloaded from this directory when used. | |
1722 | + | |
1723 | +-/usr/local/share/emacs/$VERSION/etc - various programs that are used with | |
1724 | ++/usr/share/emacs/$VERSION/etc - various programs that are used with | |
1725 | + GNU Emacs, and some files of information. | |
1726 | + | |
1727 | +-/usr/local/share/emacs/$VERSION/etc/DOC.* - contains the documentation | |
1728 | ++/usr/share/emacs/$VERSION/etc/DOC.* - contains the documentation | |
1729 | + strings for the Lisp primitives and preloaded Lisp functions | |
1730 | + of GNU Emacs. They are stored here to reduce the size of | |
1731 | + Emacs proper. | |
1732 | + | |
1733 | +-/usr/local/share/emacs/$VERSION/etc/OTHER.EMACSES discusses GNU Emacs | |
1734 | ++/usr/share/emacs/$VERSION/etc/OTHER.EMACSES discusses GNU Emacs | |
1735 | + vs. other versions of Emacs. | |
1736 | + .br | |
1737 | +-/usr/local/share/emacs/$VERSION/etc/SERVICE lists people offering | |
1738 | ++/usr/share/emacs/$VERSION/etc/SERVICE lists people offering | |
1739 | + various services to assist users of GNU Emacs, including education, | |
1740 | + troubleshooting, porting and customization. | |
1741 | + .br | |
1742 | +@@ -441,7 +441,7 @@ | |
1743 | + programs in the Emacs Lisp extension language, which has not yet been fully | |
1744 | + documented. | |
1745 | + | |
1746 | +-/usr/local/com/emacs/lock - holds lock files that are made for all | |
1747 | ++/usr/com/emacs/lock - holds lock files that are made for all | |
1748 | + files being modified in Emacs, to prevent simultaneous modification | |
1749 | + of one file by two users. | |
1750 | + | |
1751 | +@@ -468,7 +468,7 @@ | |
1752 | + Send requests to be added to mailing lists to the special list | |
1753 | + info-gnu-emacs-request@prep.ai.mit.edu (or the corresponding UUCP | |
1754 | + address). For more information about Emacs mailing lists, see the | |
1755 | +-file /usr/local/emacs/etc/MAILINGLISTS. Bugs tend actually to be | |
1756 | ++file /usr/emacs/etc/MAILINGLISTS. Bugs tend actually to be | |
1757 | + fixed if they can be isolated, so it is in your interest to report | |
1758 | + them in such a way that they can be easily reproduced. | |
1759 | + .PP | |
1760 | +diff -urNad /home/rlb/deb/emacs21/trunk/lisp/gnus/message.el trunk/lisp/gnus/message.el | |
1761 | +--- /home/rlb/deb/emacs21/trunk/lisp/gnus/message.el 2003-09-11 01:16:07.000000000 -0500 | |
1762 | ++++ trunk/lisp/gnus/message.el 2003-09-11 01:16:53.000000000 -0500 | |
1763 | +@@ -402,9 +402,14 @@ | |
1764 | + (const use) | |
1765 | + (const ask))) | |
1766 | + | |
1767 | +-(defcustom message-sendmail-f-is-evil nil | |
1768 | +- "*Non-nil means don't add \"-f username\" to the sendmail command line. | |
1769 | +-Doing so would be even more evil than leaving it out." | |
1770 | ++;; message-sendmail-f-is-evil is nil here in the upstream source, but | |
1771 | ++;; sendmail works right under Debian Linux, so we want t. [was | |
1772 | ++;; orignally reported for emacs 19 as debian#7051] | |
1773 | ++(defcustom message-sendmail-f-is-evil t | |
1774 | ++ "*Non-nil means don't add \"-f username\" to the sendmail command | |
1775 | ++line, because adding it would be more evil than leaving it out. Under | |
1776 | ++Debian/GNU/Linux, sendmail works right, so it should be safe for this | |
1777 | ++to be set to true." | |
1778 | + :group 'message-sending | |
1779 | + :type 'boolean) | |
1780 | + | |
1781 | +diff -urNad /home/rlb/deb/emacs21/trunk/lisp/mail/sendmail.el trunk/lisp/mail/sendmail.el | |
1782 | +--- /home/rlb/deb/emacs21/trunk/lisp/mail/sendmail.el 2003-09-11 01:16:07.000000000 -0500 | |
1783 | ++++ trunk/lisp/mail/sendmail.el 2003-09-11 01:16:53.000000000 -0500 | |
1784 | +@@ -43,7 +43,7 @@ | |
1785 | + :group 'mail) | |
1786 | + | |
1787 | + ;;;###autoload | |
1788 | +-(defcustom mail-from-style 'angles "\ | |
1789 | ++(defcustom mail-from-style 'system-default "\ | |
1790 | + *Specifies how \"From:\" fields look. | |
1791 | + | |
1792 | + If `nil', they contain just the return address like: | |
1793 | +diff -urNad /home/rlb/deb/emacs21/trunk/lisp/site-init.el trunk/lisp/site-init.el | |
1794 | +--- /home/rlb/deb/emacs21/trunk/lisp/site-init.el 1969-12-31 18:00:00.000000000 -0600 | |
1795 | ++++ trunk/lisp/site-init.el 2003-09-11 01:16:53.000000000 -0500 | |
1796 | +@@ -0,0 +1,3 @@ | |
1797 | ++(setq Info-default-directory-list | |
1798 | ++ ;; the command line info doesn't seem to need this, but emacs does. | |
1799 | ++ (append Info-default-directory-list '("/usr/share/info/emacs-21/"))) | |
1800 | +diff -urNad /home/rlb/deb/emacs21/trunk/lisp/startup.el trunk/lisp/startup.el | |
1801 | +--- /home/rlb/deb/emacs21/trunk/lisp/startup.el 2003-09-11 01:16:07.000000000 -0500 | |
1802 | ++++ trunk/lisp/startup.el 2003-09-11 01:16:53.000000000 -0500 | |
1803 | +@@ -339,6 +339,10 @@ | |
1804 | + | |
1805 | + (defvar normal-top-level-add-subdirs-inode-list nil) | |
1806 | + | |
1807 | ++(defconst debian-emacs-flavor 'emacs21 | |
1808 | ++ "A symbol representing the particular debian flavor of emacs running. | |
1809 | ++Something like 'emacs20, 'xemacs20, etc.") | |
1810 | ++ | |
1811 | + (defun normal-top-level-add-subdirs-to-load-path () | |
1812 | + "Add all subdirectories of current directory to `load-path'. | |
1813 | + More precisely, this uses only the subdirectories whose names | |
1814 | +@@ -848,8 +852,18 @@ | |
1815 | + ;; Run the site-start library if it exists. The point of this file is | |
1816 | + ;; that it is run before .emacs. There is no point in doing this after | |
1817 | + ;; .emacs; that is useless. | |
1818 | +- (if site-run-file | |
1819 | +- (load site-run-file t t)) | |
1820 | ++ ;; (if site-run-file | |
1821 | ++ ;; (load site-run-file t t)) | |
1822 | ++ | |
1823 | ++ ;; Debian version of site-start. | |
1824 | ++ (if site-run-file | |
1825 | ++ (progn | |
1826 | ++ ;; Load all the debian package snippets. | |
1827 | ++ ;; It's in here because we want -q to kill it too. | |
1828 | ++ (if (load "debian-startup" t t nil) | |
1829 | ++ (debian-startup debian-emacs-flavor)) | |
1830 | ++ ;; Now the normal site file... | |
1831 | ++ (load site-run-file t t nil))) | |
1832 | + | |
1833 | + ;; Sites should not disable this. Only individuals should disable | |
1834 | + ;; the startup message. | |
1835 | +diff -urNad /home/rlb/deb/emacs21/trunk/lisp/vc-hooks.el trunk/lisp/vc-hooks.el | |
1836 | +--- /home/rlb/deb/emacs21/trunk/lisp/vc-hooks.el 2003-09-11 01:16:07.000000000 -0500 | |
1837 | ++++ trunk/lisp/vc-hooks.el 2003-09-11 01:16:53.000000000 -0500 | |
1838 | +@@ -54,8 +54,8 @@ | |
1839 | + :group 'vc) | |
1840 | + | |
1841 | + (defcustom vc-path | |
1842 | +- (if (file-directory-p "/usr/sccs") | |
1843 | +- '("/usr/sccs") | |
1844 | ++ (if (file-directory-p "/usr/lib/cssc") | |
1845 | ++ '("/usr/lib/cssc") | |
1846 | + nil) | |
1847 | + "*List of extra directories to search for version control commands." | |
1848 | + :type '(repeat directory) | |
1849 | --- emacs-21.3.orig/debian/patches/fix-insecure-permissions-on-restore.dpatch | |
1850 | +++ emacs-21.3/debian/patches/fix-insecure-permissions-on-restore.dpatch | |
1851 | @@ -0,0 +1,35 @@ | |
1852 | +#! /bin/sh -e | |
1853 | +## 500-version-mention-debian.dpatch by Rob Browning <rlb@defaultvalue.org> | |
1854 | +## | |
1855 | +## DP: ** (version) has been modified to indicate Debian modifications. | |
1856 | +## DP: Author: rlb | |
1857 | + | |
1858 | +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts | |
1859 | +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" | |
1860 | + | |
1861 | +if [ $# -ne 1 ]; then | |
1862 | + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | |
1863 | + exit 1 | |
1864 | +fi | |
1865 | +case "$1" in | |
1866 | + -patch) patch $patch_opts -p1 < $0;; | |
1867 | + -unpatch) patch $patch_opts -p1 -R < $0;; | |
1868 | + *) | |
1869 | + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | |
1870 | + exit 1;; | |
1871 | +esac | |
1872 | + | |
1873 | +exit 0 | |
1874 | +@DPATCH@ | |
1875 | +diff -Narud emacs-21.3.orig/src/fileio.c emacs-21.3/src/fileio.c | |
1876 | +--- emacs-21.3.orig/src/fileio.c 2003-02-04 11:52:40.000000000 +0100 | |
1877 | ++++ emacs-21.3/src/fileio.c 2004-10-10 07:14:11.891375352 +0200 | |
1878 | +@@ -5438,6 +5438,8 @@ | |
1879 | + && stat (XSTRING (current_buffer->filename)->data, &st) >= 0) | |
1880 | + /* But make sure we can overwrite it later! */ | |
1881 | + auto_save_mode_bits = st.st_mode | 0600; | |
1882 | ++ else if (! NILP (current_buffer->filename)) | |
1883 | ++ auto_save_mode_bits = XINT (Ffile_modes (current_buffer->filename)) | 0600; | |
1884 | + else | |
1885 | + auto_save_mode_bits = 0666; | |
1886 | + | |
1887 | --- emacs-21.3.orig/debian/patches/fix-batch-mode-signal-handling.dpatch | |
1888 | +++ emacs-21.3/debian/patches/fix-batch-mode-signal-handling.dpatch | |
1889 | @@ -0,0 +1,57 @@ | |
1890 | +#! /bin/sh -e | |
1891 | +## fix-batch-mode-signal-handling.dpatch by <rlb@defaultvalue.org> | |
1892 | +## | |
1893 | +## DP: ** A problem with emacs non-interactive signal handling has been fixed. | |
1894 | +## DP: An upstream patch from 2003-06-21 was backported to fix Bug#253887. | |
1895 | +## DP: Under certain conditions running "emacs --batch ... < /dev/null" would | |
1896 | +## DP: trigger a process exit via SIGIO or SIGHUP. This has been fixed. | |
1897 | +## DP: Status: patch backported from upstream. | |
1898 | + | |
1899 | +if [ $# -lt 1 ]; then | |
1900 | + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 | |
1901 | + exit 1 | |
1902 | +fi | |
1903 | + | |
1904 | +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts | |
1905 | +patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" | |
1906 | + | |
1907 | +case "$1" in | |
1908 | + -patch) patch -p1 ${patch_opts} < $0;; | |
1909 | + -unpatch) patch -R -p1 ${patch_opts} < $0;; | |
1910 | + *) | |
1911 | + echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 | |
1912 | + exit 1;; | |
1913 | +esac | |
1914 | + | |
1915 | +exit 0 | |
1916 | + | |
1917 | +@DPATCH@ | |
1918 | +diff -urNad /home/rlb/deb/emacs/trunk-21/src/keyboard.c trunk-21/src/keyboard.c | |
1919 | +--- /home/rlb/deb/emacs/trunk-21/src/keyboard.c 2003-09-09 17:26:14.000000000 -0500 | |
1920 | ++++ trunk-21/src/keyboard.c 2004-07-18 17:10:35.000000000 -0500 | |
1921 | +@@ -6186,7 +6186,12 @@ | |
1922 | + /* ??? Is it really right to send the signal just to this process | |
1923 | + rather than to the whole process group? | |
1924 | + Perhaps on systems with FIONREAD Emacs is alone in its group. */ | |
1925 | +- kill (getpid (), SIGHUP); | |
1926 | ++ { | |
1927 | ++ if (! noninteractive) | |
1928 | ++ kill (getpid (), SIGHUP); | |
1929 | ++ else | |
1930 | ++ n_to_read = 0; | |
1931 | ++ } | |
1932 | + if (n_to_read == 0) | |
1933 | + return 0; | |
1934 | + if (n_to_read > sizeof cbuf) | |
1935 | +diff -urNad /home/rlb/deb/emacs/trunk-21/src/process.c trunk-21/src/process.c | |
1936 | +--- /home/rlb/deb/emacs/trunk-21/src/process.c 2003-09-09 17:28:35.000000000 -0500 | |
1937 | ++++ trunk-21/src/process.c 2004-07-18 17:11:21.000000000 -0500 | |
1938 | +@@ -2734,7 +2734,7 @@ | |
1939 | + but select says there is input. */ | |
1940 | + | |
1941 | + if (XINT (read_kbd) && interrupt_input | |
1942 | +- && keyboard_bit_set (&Available)) | |
1943 | ++ && keyboard_bit_set (&Available) && ! noninteractive) | |
1944 | + kill (getpid (), SIGIO); | |
1945 | + #endif | |
1946 | + | |
1947 | --- emacs-21.3.orig/debian/patches/browse-url.dpatch | |
1948 | +++ emacs-21.3/debian/patches/browse-url.dpatch | |
1949 | @@ -0,0 +1,312 @@ | |
1950 | +#! /bin/sh -e | |
1951 | +## 500-browse-url.dpatch by Rob Browning <rlb@defaultvalue.org> | |
1952 | +## | |
1953 | +## DP: ** Added new browse-url.el code. | |
1954 | +## DP: Fixes support for mozilla, adds support for galeon, and defaults to | |
1955 | +## DP: free browsers when available, rather than just trying netscape. | |
1956 | + | |
1957 | +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts | |
1958 | +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" | |
1959 | + | |
1960 | +if [ $# -ne 1 ]; then | |
1961 | + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | |
1962 | + exit 1 | |
1963 | +fi | |
1964 | +case "$1" in | |
1965 | + -patch) patch $patch_opts -p1 < $0;; | |
1966 | + -unpatch) patch $patch_opts -p1 -R < $0;; | |
1967 | + *) | |
1968 | + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | |
1969 | + exit 1;; | |
1970 | +esac | |
1971 | + | |
1972 | +exit 0 | |
1973 | +@DPATCH@ | |
1974 | +--- emacs21-21.2.orig/lisp/net/browse-url.el | |
1975 | ++++ emacs21-21.2/lisp/net/browse-url.el | |
1976 | +@@ -4,7 +4,7 @@ | |
1977 | + ;; Free Software Foundation, Inc. | |
1978 | + | |
1979 | + ;; Author: Denis Howe <dbh@doc.ic.ac.uk> | |
1980 | +-;; Maintainer: Dave Love <fx@gnu.org> | |
1981 | ++;; Maintainer: FSF | |
1982 | + ;; Created: 03 Apr 1995 | |
1983 | + ;; Keywords: hypertext, hypermedia, mouse | |
1984 | + | |
1985 | +@@ -66,14 +66,6 @@ | |
1986 | + ;; control but which window DO you want to control and how do you | |
1987 | + ;; discover its id? | |
1988 | + | |
1989 | +-;; If using XMosaic before version 2.5, check the definition of | |
1990 | +-;; browse-url-usr1-signal below. | |
1991 | +-;; <URL:http://www.ncsa.uiuc.edu/SDG/Software/XMosaic/remote-control.html> | |
1992 | +- | |
1993 | +-;; XMosaic version 2.5 introduced Common Client Interface allowing you | |
1994 | +-;; to control mosaic through Unix sockets. | |
1995 | +-;; <URL:http://www.ncsa.uiuc.edu/SDG/Software/XMosaic/CCI/cci-spec.html> | |
1996 | +- | |
1997 | + ;; William M. Perry's excellent "w3" WWW browser for | |
1998 | + ;; Emacs <URL:ftp://cs.indiana.edu/pub/elisp/w3/> | |
1999 | + ;; has a function w3-follow-url-at-point, but that | |
2000 | +@@ -90,10 +82,6 @@ | |
2001 | + ;; Python see <url:http://www.python.org/>. Grail support in | |
2002 | + ;; browse-url.el written by Barry Warsaw <bwarsaw@python.org>. | |
2003 | + | |
2004 | +-;; MMM is a semi-free WWW browser implemented in Objective Caml, an | |
2005 | +-;; interesting impure functional programming language. See | |
2006 | +-;; <URL:http://pauillac.inria.fr/%7Erouaix/mmm/>. | |
2007 | +- | |
2008 | + ;; Lynx is now distributed by the FSF. See also | |
2009 | + ;; <URL:http://lynx.browser.org/>. | |
2010 | + | |
2011 | +@@ -226,8 +214,10 @@ | |
2012 | + (eval-when-compile (require 'thingatpt) | |
2013 | + (require 'term) | |
2014 | + (require 'dired) | |
2015 | ++ (require 'executable) | |
2016 | + (require 'w3-auto nil t)) | |
2017 | + | |
2018 | ++ | |
2019 | + (defgroup browse-url nil | |
2020 | + "Use a web browser to look at a URL." | |
2021 | + :prefix "browse-url-" | |
2022 | +@@ -238,7 +228,8 @@ | |
2023 | + (defcustom browse-url-browser-function | |
2024 | + (if (memq system-type '(windows-nt ms-dos)) | |
2025 | + 'browse-url-default-windows-browser | |
2026 | +- 'browse-url-netscape) | |
2027 | ++ 'browse-url-default-browser) | |
2028 | ++ | |
2029 | + "*Function to display the current buffer in a WWW browser. | |
2030 | + This is used by the `browse-url-at-point', `browse-url-at-mouse', and | |
2031 | + `browse-url-of-file' commands. | |
2032 | +@@ -252,6 +243,8 @@ | |
2033 | + (function-item :tag "Emacs W3" :value browse-url-w3) | |
2034 | + (function-item :tag "W3 in another Emacs via `gnudoit'" | |
2035 | + :value browse-url-w3-gnudoit) | |
2036 | ++ (function-item :tag "Mozilla" :value browse-url-mozilla) | |
2037 | ++ (function-item :tag "Galeon" :value browse-url-galeon) | |
2038 | + (function-item :tag "Netscape" :value browse-url-netscape) | |
2039 | + (function-item :tag "Mosaic" :value browse-url-mosaic) | |
2040 | + (function-item :tag "Mosaic using CCI" :value browse-url-cci) | |
2041 | +@@ -269,6 +262,8 @@ | |
2042 | + :value browse-url-default-windows-browser) | |
2043 | + (function-item :tag "GNOME invoking Mozilla" | |
2044 | + :value browse-url-gnome-moz) | |
2045 | ++ (function-item :tag "Default browser" | |
2046 | ++ :value browse-url-default-browser) | |
2047 | + (function :tag "Your own function") | |
2048 | + (alist :tag "Regexp/function association list" | |
2049 | + :key-type regexp :value-type function)) | |
2050 | +@@ -300,6 +295,47 @@ | |
2051 | + :group 'browse-url) | |
2052 | + | |
2053 | + ;;;###autoload | |
2054 | ++(defcustom browse-url-browser-display nil | |
2055 | ++ "*The X display for running the browser, if not same as Emacs'." | |
2056 | ++ :type '(choice string (const :tag "Default" nil)) | |
2057 | ++ :group 'browse-url) | |
2058 | ++ | |
2059 | ++(defcustom browse-url-mozilla-program "mozilla" | |
2060 | ++ "The name by which to invoke Mozilla." | |
2061 | ++ :type 'string | |
2062 | ++ :group 'browse-url) | |
2063 | ++ | |
2064 | ++(defcustom browse-url-mozilla-arguments nil | |
2065 | ++ "A list of strings to pass to Mozilla as arguments." | |
2066 | ++ :type '(repeat (string :tag "Argument")) | |
2067 | ++ :group 'browse-url) | |
2068 | ++ | |
2069 | ++(defcustom browse-url-mozilla-startup-arguments browse-url-mozilla-arguments | |
2070 | ++ "A list of strings to pass to Mozilla when it starts up. | |
2071 | ++Defaults to the value of `browse-url-mozilla-arguments' at the time | |
2072 | ++`browse-url' is loaded." | |
2073 | ++ :type '(repeat (string :tag "Argument")) | |
2074 | ++ :group 'browse-url) | |
2075 | ++ | |
2076 | ++;;;###autoload | |
2077 | ++(defcustom browse-url-galeon-program "galeon" | |
2078 | ++ "The name by which to invoke Galeon." | |
2079 | ++ :type 'string | |
2080 | ++ :group 'browse-url) | |
2081 | ++ | |
2082 | ++(defcustom browse-url-galeon-arguments nil | |
2083 | ++ "A list of strings to pass to Galeon as arguments." | |
2084 | ++ :type '(repeat (string :tag "Argument")) | |
2085 | ++ :group 'browse-url) | |
2086 | ++ | |
2087 | ++(defcustom browse-url-galeon-startup-arguments browse-url-galeon-arguments | |
2088 | ++ "A list of strings to pass to Galeon when it starts up. | |
2089 | ++Defaults to the value of `browse-url-galeon-arguments' at the time | |
2090 | ++`browse-url' is loaded." | |
2091 | ++ :type '(repeat (string :tag "Argument")) | |
2092 | ++ :group 'browse-url) | |
2093 | ++ | |
2094 | ++;;;###autoload | |
2095 | + (defcustom browse-url-new-window-flag nil | |
2096 | + "*If non-nil, always open a new browser window with appropriate browsers. | |
2097 | + Passing an interactive argument to \\[browse-url], or specific browser | |
2098 | +@@ -308,12 +344,6 @@ | |
2099 | + :type 'boolean | |
2100 | + :group 'browse-url) | |
2101 | + | |
2102 | +-;;;###autoload | |
2103 | +-(defcustom browse-url-netscape-display nil | |
2104 | +- "*The X display for running Netscape, if not same as Emacs'." | |
2105 | +- :type '(choice string (const :tag "Default" nil)) | |
2106 | +- :group 'browse-url) | |
2107 | +- | |
2108 | + (defcustom browse-url-mosaic-program "xmosaic" | |
2109 | + "The name by which to invoke Mosaic (or mMosaic)." | |
2110 | + :type 'string | |
2111 | +@@ -681,11 +711,11 @@ | |
2112 | + ;; --- Netscape --- | |
2113 | + | |
2114 | + (defun browse-url-process-environment () | |
2115 | +- "Set DISPLAY in the environment to the X display Netscape is running on. | |
2116 | +-This is either the value of variable `browse-url-netscape-display' if | |
2117 | ++ "Set DISPLAY in the environment to the X display the browser will use. | |
2118 | ++This is either the value of variable `browse-url-browser-display' if | |
2119 | + non-nil, or the same display as Emacs if different from the current | |
2120 | + environment, otherwise just use the current environment." | |
2121 | +- (let ((display (or browse-url-netscape-display (browse-url-emacs-display)))) | |
2122 | ++ (let ((display (or browse-url-browser-display (browse-url-emacs-display)))) | |
2123 | + (if display | |
2124 | + (cons (concat "DISPLAY=" display) process-environment) | |
2125 | + process-environment))) | |
2126 | +@@ -701,6 +731,35 @@ | |
2127 | + display))) | |
2128 | + | |
2129 | + ;;;###autoload | |
2130 | ++(defun browse-url-default-browser (url &rest args) | |
2131 | ++ "Find a suitable browser and ask it to load URL. | |
2132 | ++Default to the URL around or before point. | |
2133 | ++ | |
2134 | ++When called interactively, if variable `browse-url-new-window-flag' is | |
2135 | ++non-nil, load the document in a new window, if possible, otherwise use | |
2136 | ++a random existing one. A non-nil interactive prefix argument reverses | |
2137 | ++the effect of `browse-url-new-window-flag'. | |
2138 | ++ | |
2139 | ++When called non-interactively, optional second argument NEW-WINDOW is | |
2140 | ++used instead of `browse-url-new-window-flag'. | |
2141 | ++ | |
2142 | ++The order attempted is gnome-moz-remote, Mozilla, Galeon, Netscape, | |
2143 | ++Mosaic, IXI Mosaic, Lynx in an xterm, MMM, Konqueror, and then W3." | |
2144 | ++ (apply | |
2145 | ++ (cond | |
2146 | ++ ((executable-find "gnome-moz-remote") 'browse-url-gnome-moz) | |
2147 | ++ ((executable-find browse-url-mozilla-program) 'browse-url-mozilla) | |
2148 | ++ ((executable-find browse-url-galeon-program) 'browse-url-galeon) | |
2149 | ++ ((executable-find browse-url-kde-program) 'browse-url-kde) | |
2150 | ++ ((executable-find browse-url-netscape-program) 'browse-url-netscape) | |
2151 | ++ ((executable-find browse-url-mosaic-program) 'browse-url-mosaic) | |
2152 | ++ ((executable-find "tellw3b") 'browse-url-iximosaic) | |
2153 | ++ ((executable-find browse-url-xterm-program) 'browse-url-lynx-xterm) | |
2154 | ++ ((executable-find "mmm") 'browse-url-mmm) | |
2155 | ++ (t 'browse-url-w3)) | |
2156 | ++ url args)) | |
2157 | ++ | |
2158 | ++;;;###autoload | |
2159 | + (defun browse-url-netscape (url &optional new-window) | |
2160 | + "Ask the Netscape WWW browser to load URL. | |
2161 | + Default to the URL around or before point. The strings in variable | |
2162 | +@@ -767,6 +826,50 @@ | |
2163 | + (append browse-url-netscape-arguments | |
2164 | + (list "-remote" command))))) | |
2165 | + | |
2166 | ++;;;###autoload | |
2167 | ++(defun browse-url-mozilla (url &optional new-window) | |
2168 | ++ "Ask the Mozilla WWW browser to load URL. | |
2169 | ++Default to the URL around or before point. The strings in variable | |
2170 | ++`browse-url-mozilla-arguments' are also passed to Mozilla. | |
2171 | ++ | |
2172 | ++When called interactively, if variable `browse-url-new-window-flag' is | |
2173 | ++non-nil, load the document in a new Mozilla window, otherwise use a | |
2174 | ++random existing one. A non-nil interactive prefix argument reverses | |
2175 | ++the effect of `browse-url-new-window-flag'. | |
2176 | ++ | |
2177 | ++When called non-interactively, optional second argument NEW-WINDOW is | |
2178 | ++used instead of `browse-url-new-window-flag'." | |
2179 | ++ (interactive (browse-url-interactive-arg "URL: ")) | |
2180 | ++ ;; URL encode any `confusing' characters in the URL. This needs to | |
2181 | ++ ;; include at least commas; presumably also close parens. | |
2182 | ++ (while (string-match "[,)]" url) | |
2183 | ++ (setq url (replace-match | |
2184 | ++ (format "%%%x" (string-to-char (match-string 0 url))) t t url))) | |
2185 | ++ (let* ((process-environment (browse-url-process-environment)) | |
2186 | ++ (process (apply 'start-process | |
2187 | ++ (concat "mozilla " url) nil | |
2188 | ++ browse-url-mozilla-program | |
2189 | ++ (append | |
2190 | ++ browse-url-mozilla-arguments | |
2191 | ++ (list "-remote" | |
2192 | ++ (concat "openurl(" | |
2193 | ++ url | |
2194 | ++ (if new-window ",new-window" "") | |
2195 | ++ ")")))))) | |
2196 | ++ (set-process-sentinel process | |
2197 | ++ `(lambda (process change) | |
2198 | ++ (browse-url-mozilla-sentinel process ,url))))) | |
2199 | ++ | |
2200 | ++(defun browse-url-mozilla-sentinel (process url) | |
2201 | ++ "Handle a change to the process communicating with Mozilla." | |
2202 | ++ (or (eq (process-exit-status process) 0) | |
2203 | ++ (let* ((process-environment (browse-url-process-environment))) | |
2204 | ++ ;; Mozilla is not running - start it | |
2205 | ++ (message "Starting Mozilla...") | |
2206 | ++ (apply 'start-process (concat "mozilla " url) nil | |
2207 | ++ browse-url-mozilla-program | |
2208 | ++ (append browse-url-mozilla-startup-arguments (list url)))))) | |
2209 | ++ | |
2210 | + ;; GNOME means of invoking either Mozilla or Netrape. | |
2211 | + | |
2212 | + (defcustom browse-url-gnome-moz-arguments '() | |
2213 | +@@ -776,6 +880,48 @@ | |
2214 | + :group 'browse-url) | |
2215 | + | |
2216 | + ;;;###autoload | |
2217 | ++(defun browse-url-galeon (url &optional new-window) | |
2218 | ++ "Ask the Galeon WWW browser to load URL. | |
2219 | ++Default to the URL around or before point. The strings in variable | |
2220 | ++`browse-url-galeon-arguments' are also passed to Galeon. | |
2221 | ++ | |
2222 | ++When called interactively, if variable `browse-url-new-window-flag' is | |
2223 | ++non-nil, load the document in a new Galeon window, otherwise use a | |
2224 | ++random existing one. A non-nil interactive prefix argument reverses | |
2225 | ++the effect of `browse-url-new-window-flag'. | |
2226 | ++ | |
2227 | ++When called non-interactively, optional second argument NEW-WINDOW is | |
2228 | ++used instead of `browse-url-new-window-flag'." | |
2229 | ++ (interactive (browse-url-interactive-arg "URL: ")) | |
2230 | ++ ;; URL encode any `confusing' characters in the URL. This needs to | |
2231 | ++ ;; include at least commas; presumably also close parens. | |
2232 | ++ (while (string-match "[,)]" url) | |
2233 | ++ (setq url (replace-match | |
2234 | ++ (format "%%%x" (string-to-char (match-string 0 url))) t t url))) | |
2235 | ++ (let* ((process-environment (browse-url-process-environment)) | |
2236 | ++ (process (apply 'start-process | |
2237 | ++ (concat "galeon " url) nil | |
2238 | ++ browse-url-galeon-program | |
2239 | ++ (append | |
2240 | ++ browse-url-galeon-arguments | |
2241 | ++ (if new-window '("-w" "--noraise") | |
2242 | ++ '("-x")) | |
2243 | ++ (list url))))) | |
2244 | ++ (set-process-sentinel process | |
2245 | ++ `(lambda (process change) | |
2246 | ++ (browse-url-galeon-sentinel process ,url))))) | |
2247 | ++ | |
2248 | ++(defun browse-url-galeon-sentinel (process url) | |
2249 | ++ "Handle a change to the process communicating with Galeon." | |
2250 | ++ (or (eq (process-exit-status process) 0) | |
2251 | ++ (let* ((process-environment (browse-url-process-environment))) | |
2252 | ++ ;; Galeon is not running - start it | |
2253 | ++ (message "Starting Galeon...") | |
2254 | ++ (apply 'start-process (concat "galeon " url) nil | |
2255 | ++ browse-url-galeon-program | |
2256 | ++ (append browse-url-galeon-startup-arguments (list url)))))) | |
2257 | ++ | |
2258 | ++;;;###autoload | |
2259 | + (defun browse-url-gnome-moz (url &optional new-window) | |
2260 | + "Ask Mozilla/Netscape to load URL via the GNOME program `gnome-moz-remote'. | |
2261 | + Default to the URL around or before point. The strings in variable | |
2262 | --- emacs-21.3.orig/debian/patches/battery-acpi-support.dpatch | |
2263 | +++ emacs-21.3/debian/patches/battery-acpi-support.dpatch | |
2264 | @@ -0,0 +1,187 @@ | |
2265 | +#!/bin/sh -e | |
2266 | +## battery-acpi-support.dpatch by Jerome Marant <jerome@debian.org> | |
2267 | +## | |
2268 | +## DP: ** Support for ACPI in battery.el has be added | |
2269 | +## DP: Status: appears to be incorporated upstream | |
2270 | +## DP: Provided by: Mario Lang <mlang@debian.org> | |
2271 | +## DP: Date: Fri, 26 Sep 2003 15:30:43 +0200 | |
2272 | + | |
2273 | +if [ $# -ne 1 ]; then | |
2274 | + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | |
2275 | + exit 1 | |
2276 | +fi | |
2277 | + | |
2278 | +[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts | |
2279 | +patch_opts="${patch_opts:--f --no-backup-if-mismatch}" | |
2280 | + | |
2281 | +case "$1" in | |
2282 | + -patch) patch $patch_opts -p1 < $0;; | |
2283 | + -unpatch) patch $patch_opts -p1 -R < $0;; | |
2284 | + *) | |
2285 | + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | |
2286 | + exit 1;; | |
2287 | +esac | |
2288 | + | |
2289 | +exit 0 | |
2290 | + | |
2291 | +@DPATCH@ | |
2292 | +diff -urNad /home/jerome/pkg/emacs21/svn/emacs/lisp/battery.el emacs/lisp/battery.el | |
2293 | +--- /home/jerome/pkg/emacs21/svn/emacs/lisp/battery.el 2003-09-26 19:57:43.000000000 +0200 | |
2294 | ++++ emacs/lisp/battery.el 2003-09-28 17:19:22.000000000 +0200 | |
2295 | +@@ -42,7 +42,10 @@ | |
2296 | + (defcustom battery-status-function | |
2297 | + (cond ((and (eq system-type 'gnu/linux) | |
2298 | + (file-readable-p "/proc/apm")) | |
2299 | +- 'battery-linux-proc-apm)) | |
2300 | ++ 'battery-linux-proc-apm) | |
2301 | ++ ((and (eq system-type 'gnu/linux) | |
2302 | ++ (file-directory-p "/proc/acpi/battery")) | |
2303 | ++ 'battery-linux-proc-acpi)) | |
2304 | + "*Function for getting battery status information. | |
2305 | + The function has to return an alist of conversion definitions. | |
2306 | + Its cons cells are of the form | |
2307 | +@@ -56,7 +59,9 @@ | |
2308 | + | |
2309 | + (defcustom battery-echo-area-format | |
2310 | + (cond ((eq battery-status-function 'battery-linux-proc-apm) | |
2311 | +- "Power %L, battery %B (%p%% load, remaining time %t)")) | |
2312 | ++ "Power %L, battery %B (%p%% load, remaining time %t)") | |
2313 | ++ ((eq battery-status-function 'battery-linux-proc-acpi) | |
2314 | ++ "Power %L, battery %B at %r (%p%% load, remaining time %t)")) | |
2315 | + "*Control string formatting the string to display in the echo area. | |
2316 | + Ordinary characters in the control string are printed as-is, while | |
2317 | + conversion specifications introduced by a `%' character in the control | |
2318 | +@@ -70,7 +75,9 @@ | |
2319 | + | |
2320 | + (defcustom battery-mode-line-format | |
2321 | + (cond ((eq battery-status-function 'battery-linux-proc-apm) | |
2322 | +- " [%b%p%%]")) | |
2323 | ++ " [%b%p%%]") | |
2324 | ++ ((eq battery-status-function 'battery-linux-proc-acpi) | |
2325 |