Gentoo Archives: gentoo-commits

From: Mats Lidell <matsl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/xemacs/files/, app-editors/xemacs/
Date: Thu, 28 Dec 2017 16:15:17
Message-Id: 1514477700.13b62d718ed4593bc8cff1d7da0d75cad678c0eb.matsl@gentoo
1 commit: 13b62d718ed4593bc8cff1d7da0d75cad678c0eb
2 Author: Mats Lidell <matsl <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 28 16:14:33 2017 +0000
4 Commit: Mats Lidell <matsl <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 28 16:15:00 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13b62d71
7
8 app-editors/xemacs: Remove xemacs-21.4.22-r4.ebuild and patches
9
10 xemacs-21.4.24.ebuild has been stable for a long time.
11
12 Package-Manager: Portage-2.3.13, Repoman-2.3.3
13
14 app-editors/xemacs/Manifest | 1 -
15 app-editors/xemacs/files/xemacs-21.4.19-texi.patch | 33 --
16 .../xemacs/files/xemacs-21.4.21-vcdiff.patch | 19 -
17 .../files/xemacs-21.4.22-deprecated-ldap.patch | 18 -
18 .../xemacs/files/xemacs-21.4.22-large-images.patch | 122 ------
19 .../xemacs/files/xemacs-21.4.22-libpng15.patch | 66 ----
20 .../xemacs/files/xemacs-21.4.22-texinfo-5.patch | 437 ---------------------
21 app-editors/xemacs/xemacs-21.4.22-r4.ebuild | 257 ------------
22 8 files changed, 953 deletions(-)
23
24 diff --git a/app-editors/xemacs/Manifest b/app-editors/xemacs/Manifest
25 index 810f075dcc5..793589c7309 100644
26 --- a/app-editors/xemacs/Manifest
27 +++ b/app-editors/xemacs/Manifest
28 @@ -1,4 +1,3 @@
29 DIST NeXT_XEmacs.tar.gz 39571 BLAKE2B 7abf17627ec34e6b0d0edde444028c46dca6d703cfa208a8a1eaf30e2fc2543b953c9a9582c3d55bd5b37e746f45c03ebfc408a0d965606e45d5f4adb9148dea SHA512 611ddbbf5be3d2274e7f76be7f8200c6c7f3cba917efcc24e73685aa5f61c94237e6e48ce66f2d59ee4b74862e686f3ea7a29cf006717d5d0674db24d243d566
30 -DIST xemacs-21.4.22.tar.gz 8357931 BLAKE2B 257a624f2709a883d1b5c54939b332af0ba4a993faab1c5766dd18a6a0ca0ec8d26fbc44911e234c3131b73b22da132f5e09f0593dcfdf973c6c9e62e71d0b58 SHA512 7ddd91f8d1a1b9f6d984a5bfddd98705dd6f7e3d6b4f81c1e03d971c93e33bff09b641bc2ad0a0d9d2e44170063550ad0399f3e28237dd34b8ad6200d8b197e8
31 DIST xemacs-21.4.24.tar.gz 8543879 BLAKE2B d7e60e4e053a10bfc4591a5d691c849ef5e5436f6951c801f5a169592b160669d0f6b9dc8f10b6b79889a3210de977ed78a5cea826c02e425495364745ef9e10 SHA512 b7a88d5a4a9f74f74c2067ed60f7ea87ac8ccad5d9c2c1033ecf07f540250191f8fa5f9e6d23d9fedd0f2ab1eb5ea6c29a7665a310ec512d85e2e4f337447213
32 DIST xemacs-21.5.34.tar.gz 15816932 BLAKE2B e3be282717b91308c94d3d4bee74527d0b31ea5019e8ac38a62385d2ffd6f684c9e4eaf37c025db5e48a4c8f82d165fcc5258e49934c094cb66e0655d27c3e7d SHA512 b61d88fe530a77b88c2ed0cecd6597ed3c265450bc61f7c6823920f774b2d566ef6fc18a6c33928d846d08d465617d4ccd3c4656606ec8634127a683abbc929a
33
34 diff --git a/app-editors/xemacs/files/xemacs-21.4.19-texi.patch b/app-editors/xemacs/files/xemacs-21.4.19-texi.patch
35 deleted file mode 100644
36 index f53eb3dafd3..00000000000
37 --- a/app-editors/xemacs/files/xemacs-21.4.19-texi.patch
38 +++ /dev/null
39 @@ -1,33 +0,0 @@
40 -Index: emodules.texi
41 -===================================================================
42 -RCS file: /pack/xemacscvs/XEmacs/xemacs/man/emodules.texi,v
43 -retrieving revision 1.2.2.2
44 -diff -u -B -r1.2.2.2 emodules.texi
45 ---- man/emodules.texi 2002/08/20 11:35:22 1.2.2.2
46 -+++ man/emodules.texi 2006/12/09 14:21:22
47 -@@ -3,6 +3,9 @@
48 - @c %**start of header
49 - @setfilename ../info/emodules.info
50 - @settitle Extending Emacs using C Modules
51 -+@direntry
52 -+* Emodules: (emodules). XEmacs dynamically loadable module support.
53 -+@end direntry
54 - @c %**end of header
55 -
56 - @c
57 -Index: external-widget.texi
58 -===================================================================
59 -RCS file: /pack/xemacscvs/XEmacs/xemacs/man/external-widget.texi,v
60 -retrieving revision 1.3.2.1
61 -diff -u -B -r1.3.2.1 external-widget.texi
62 ---- man/external-widget.texi 2002/04/30 16:06:06 1.3.2.1
63 -+++ man/external-widget.texi 2006/12/09 14:21:22
64 -@@ -4,7 +4,7 @@
65 - @ifinfo
66 - @dircategory XEmacs Editor
67 - @direntry
68 --* External Widget: (external-widget) External Client Widget.
69 -+* External Widget: (external-widget). External Client Widget.
70 - @end direntry
71 - @end ifinfo
72 -
73
74 diff --git a/app-editors/xemacs/files/xemacs-21.4.21-vcdiff.patch b/app-editors/xemacs/files/xemacs-21.4.21-vcdiff.patch
75 deleted file mode 100644
76 index 105eb549eb6..00000000000
77 --- a/app-editors/xemacs/files/xemacs-21.4.21-vcdiff.patch
78 +++ /dev/null
79 @@ -1,19 +0,0 @@
80 ---- lib-src/vcdiff.~1~ 1996-12-18 23:42:33.000000000 +0100
81 -+++ lib-src/vcdiff 2008-04-09 08:20:36.000000000 +0200
82 -@@ -79,14 +79,14 @@
83 - case $f in
84 - s.* | */s.*)
85 - if
86 -- rev1=/tmp/geta$$
87 -+ rev1=`mktemp /tmp/geta.XXXXXXXX`
88 - get -s -p -k $sid1 "$f" > $rev1 &&
89 - case $sid2 in
90 - '')
91 - workfile=`expr " /$f" : '.*/s.\(.*\)'`
92 - ;;
93 - *)
94 -- rev2=/tmp/getb$$
95 -+ rev2=`mktemp /tmp/getb.XXXXXXXX`
96 - get -s -p -k $sid2 "$f" > $rev2
97 - workfile=$rev2
98 - esac
99
100 diff --git a/app-editors/xemacs/files/xemacs-21.4.22-deprecated-ldap.patch b/app-editors/xemacs/files/xemacs-21.4.22-deprecated-ldap.patch
101 deleted file mode 100644
102 index aceae530bcb..00000000000
103 --- a/app-editors/xemacs/files/xemacs-21.4.22-deprecated-ldap.patch
104 +++ /dev/null
105 @@ -1,18 +0,0 @@
106 -Patch to include depracated LDAP symbols, specifically
107 -ldap_open. Without the proper prototype the call will almost surely
108 -lead to crashes on 64-bit arches otherwise. Thanks to hwoareng for the
109 -initial bug report.
110 -
111 -Not reported upstream since bug tracker is down.
112 -
113 ---- src/eldap.h.~1~ 2001-04-12 20:23:36.000000000 +0200
114 -+++ src/eldap.h 2010-09-28 19:53:34.148472315 +0200
115 -@@ -21,6 +21,8 @@
116 - #ifndef INCLUDED_eldap_h_
117 - #define INCLUDED_eldap_h_
118 -
119 -+#define LDAP_DEPRECATED 1
120 -+
121 - #include <lber.h>
122 - #include <ldap.h>
123 -
124
125 diff --git a/app-editors/xemacs/files/xemacs-21.4.22-large-images.patch b/app-editors/xemacs/files/xemacs-21.4.22-large-images.patch
126 deleted file mode 100644
127 index a03af3ccfa3..00000000000
128 --- a/app-editors/xemacs/files/xemacs-21.4.22-large-images.patch
129 +++ /dev/null
130 @@ -1,122 +0,0 @@
131 -PATCH 21.4
132 -
133 -Here is the 21.4 version of the previous patch. The lisp.h hunk is a
134 -little ugly. Recommendations on how to deal with the absence of
135 -UINT_64_T in 21.4 are welcome.
136 -
137 -Index: src/glyphs-eimage.c
138 -===================================================================
139 -RCS file: /pack/xemacscvs/XEmacs/xemacs/src/glyphs-eimage.c,v
140 -retrieving revision 1.9.2.5
141 -diff -d -u -r1.9.2.5 glyphs-eimage.c
142 ---- src/glyphs-eimage.c 2007/08/20 19:52:28 1.9.2.5
143 -+++ src/glyphs-eimage.c 2009/07/01 22:36:04
144 -@@ -407,6 +407,7 @@
145 - */
146 -
147 - {
148 -+ UINT_64_BIT pixels_sq;
149 - int jpeg_gray = 0; /* if we're dealing with a grayscale */
150 - /* Step 4: set parameters for decompression. */
151 -
152 -@@ -429,7 +430,10 @@
153 - jpeg_start_decompress (&cinfo);
154 -
155 - /* Step 6: Read in the data and put into EImage format (8bit RGB triples)*/
156 --
157 -+ pixels_sq =
158 -+ (UINT_64_BIT) cinfo.output_width * (UINT_64_BIT) cinfo.output_height;
159 -+ if (pixels_sq > ((size_t) -1) / 3)
160 -+ signal_image_error ("JPEG image too large to instantiate", instantiator);
161 - unwind.eimage = (unsigned char*) xmalloc (cinfo.output_width * cinfo.output_height * 3);
162 - if (!unwind.eimage)
163 - signal_image_error("Unable to allocate enough memory for image", instantiator);
164 -@@ -671,6 +675,7 @@
165 - {
166 - ColorMapObject *cmo = unwind.giffile->SColorMap;
167 - int i, j, row, pass, interlace, slice;
168 -+ UINT_64_BIT pixels_sq;
169 - unsigned char *eip;
170 - /* interlaced gifs have rows in this order:
171 - 0, 8, 16, ..., 4, 12, 20, ..., 2, 6, 10, ..., 1, 3, 5, ... */
172 -@@ -679,6 +684,9 @@
173 -
174 - height = unwind.giffile->SHeight;
175 - width = unwind.giffile->SWidth;
176 -+ pixels_sq = (UINT_64_BIT) width * (UINT_64_BIT) height;
177 -+ if (pixels_sq > ((size_t) -1) / (3 * unwind.giffile->ImageCount))
178 -+ signal_image_error ("GIF image too large to instantiate", instantiator);
179 - unwind.eimage = (unsigned char*)
180 - xmalloc (width * height * 3 * unwind.giffile->ImageCount);
181 - if (!unwind.eimage)
182 -@@ -937,11 +945,15 @@
183 - {
184 - int y;
185 - unsigned char **row_pointers;
186 -+ UINT_64_BIT pixels_sq;
187 - height = info_ptr->height;
188 - width = info_ptr->width;
189 -+ pixels_sq = (UINT_64_BIT) width * (UINT_64_BIT) height;
190 -+ if (pixels_sq > ((size_t) -1) / 3)
191 -+ signal_image_error ("PNG image too large to instantiate", instantiator);
192 -
193 - /* Wow, allocate all the memory. Truly, exciting. */
194 -- unwind.eimage = xnew_array_and_zero (unsigned char, width * height * 3);
195 -+ unwind.eimage = xnew_array_and_zero (unsigned char, pixels_sq * 3);
196 - /* libpng expects that the image buffer passed in contains a
197 - picture to draw on top of if the png has any transparencies.
198 - This could be a good place to pass that in... */
199 -@@ -994,7 +1006,7 @@
200 - png_set_expand (png_ptr);
201 - /* send grayscale images to RGB too */
202 - if (info_ptr->color_type == PNG_COLOR_TYPE_GRAY ||
203 -- info_ptr->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
204 -+ info_ptr->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
205 - png_set_gray_to_rgb (png_ptr);
206 - /* we can't handle alpha values */
207 - if (info_ptr->color_type & PNG_COLOR_MASK_ALPHA)
208 -@@ -1268,6 +1280,7 @@
209 -
210 - uint32 *raster;
211 - unsigned char *ep;
212 -+ UINT_64_BIT pixels_sq;
213 -
214 - assert (!NILP (data));
215 -
216 -@@ -1290,12 +1303,15 @@
217 -
218 - TIFFGetField (unwind.tiff, TIFFTAG_IMAGEWIDTH, &width);
219 - TIFFGetField (unwind.tiff, TIFFTAG_IMAGELENGTH, &height);
220 -- unwind.eimage = (unsigned char *) xmalloc (width * height * 3);
221 -+ pixels_sq = (UINT_64_BIT) width * (UINT_64_BIT) height;
222 -+ if (pixels_sq >= 1 << 29)
223 -+ signal_image_error ("TIFF image too large to instantiate", instantiator);
224 -+ unwind.eimage = (unsigned char *) xmalloc (pixels_sq * 3);
225 -
226 - /* #### This is little more than proof-of-concept/function testing.
227 - It needs to be reimplemented via scanline reads for both memory
228 - compactness. */
229 -- raster = (uint32*) _TIFFmalloc (width * height * sizeof (uint32));
230 -+ raster = (uint32*) _TIFFmalloc ((tsize_t) (pixels_sq * sizeof (uint32)));
231 - if (raster != NULL)
232 - {
233 - int i,j;
234 -Index: src/lisp.h
235 -===================================================================
236 -RCS file: /pack/xemacscvs/XEmacs/xemacs/src/lisp.h,v
237 -retrieving revision 1.45.2.10
238 -diff -d -u -r1.45.2.10 lisp.h
239 ---- src/lisp.h 2005/02/01 03:55:02 1.45.2.10
240 -+++ src/lisp.h 2009/07/01 22:36:05
241 -@@ -265,6 +265,11 @@
242 - /*#define REGISTER register*/
243 - /*#endif*/
244 -
245 -+#if SIZEOF_LONG == 8
246 -+#define UINT_64_BIT unsigned long
247 -+#elif SIZEOF_LONG_LONG == 8
248 -+#define UINT_64_BIT unsigned long long
249 -+#endif
250 -
251 - /* EMACS_INT is the underlying integral type into which a Lisp_Object must fit.
252 - In particular, it must be large enough to contain a pointer.
253
254 diff --git a/app-editors/xemacs/files/xemacs-21.4.22-libpng15.patch b/app-editors/xemacs/files/xemacs-21.4.22-libpng15.patch
255 deleted file mode 100644
256 index 0143e375d74..00000000000
257 --- a/app-editors/xemacs/files/xemacs-21.4.22-libpng15.patch
258 +++ /dev/null
259 @@ -1,66 +0,0 @@
260 -diff -ur xemacs-21.4.22.orig/src/glyphs-eimage.c xemacs-21.4.22/src/glyphs-eimage.c
261 ---- xemacs-21.4.22.orig/src/glyphs-eimage.c 2011-09-26 19:44:57.889720996 +0300
262 -+++ xemacs-21.4.22/src/glyphs-eimage.c 2011-09-26 19:48:07.026226254 +0300
263 -@@ -946,8 +946,8 @@
264 - int y;
265 - unsigned char **row_pointers;
266 - UINT_64_BIT pixels_sq;
267 -- height = info_ptr->height;
268 -- width = info_ptr->width;
269 -+ height = png_get_image_height(png_ptr, info_ptr);
270 -+ width = png_get_image_width(png_ptr, info_ptr);
271 - pixels_sq = (UINT_64_BIT) width * (UINT_64_BIT) height;
272 - if (pixels_sq > ((size_t) -1) / 3)
273 - signal_image_error ("PNG image too large to instantiate", instantiator);
274 -@@ -1002,22 +1002,22 @@
275 - /* Now that we're using EImage, ask for 8bit RGB triples for any type
276 - of image*/
277 - /* convert palette images to full RGB */
278 -- if (info_ptr->color_type == PNG_COLOR_TYPE_PALETTE)
279 -+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_PALETTE)
280 - png_set_expand (png_ptr);
281 - /* send grayscale images to RGB too */
282 -- if (info_ptr->color_type == PNG_COLOR_TYPE_GRAY ||
283 -- info_ptr->color_type == PNG_COLOR_TYPE_GRAY_ALPHA)
284 -+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_GRAY ||
285 -+ png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_GRAY_ALPHA)
286 - png_set_gray_to_rgb (png_ptr);
287 - /* we can't handle alpha values */
288 -- if (info_ptr->color_type & PNG_COLOR_MASK_ALPHA)
289 -+ if (png_get_color_type(png_ptr, info_ptr) & PNG_COLOR_MASK_ALPHA)
290 - png_set_strip_alpha (png_ptr);
291 - /* tell libpng to strip 16 bit depth files down to 8 bits */
292 -- if (info_ptr->bit_depth == 16)
293 -+ if (png_get_bit_depth(png_ptr, info_ptr) == 16)
294 - png_set_strip_16 (png_ptr);
295 - /* if the image is < 8 bits, pad it out */
296 -- if (info_ptr->bit_depth < 8)
297 -+ if (png_get_bit_depth(png_ptr, info_ptr) < 8)
298 - {
299 -- if (info_ptr->color_type == PNG_COLOR_TYPE_GRAY)
300 -+ if (png_get_color_type(png_ptr, info_ptr) == PNG_COLOR_TYPE_GRAY)
301 - png_set_expand (png_ptr);
302 - else
303 - png_set_packing (png_ptr);
304 -@@ -1036,16 +1036,18 @@
305 - */
306 - {
307 - int i;
308 -+ png_textp text;
309 -+ int num_text;
310 -
311 -- for (i = 0 ; i < info_ptr->num_text ; i++)
312 -+ for (i = 0 ; i < num_text ; i++)
313 - {
314 - /* How paranoid do I have to be about no trailing NULLs, and
315 - using (int)info_ptr->text[i].text_length, and strncpy and a temp
316 - string somewhere? */
317 -
318 - warn_when_safe (Qpng, Qinfo, "%s - %s",
319 -- info_ptr->text[i].key,
320 -- info_ptr->text[i].text);
321 -+ text[i].key,
322 -+ text[i].text);
323 - }
324 - }
325 - #endif
326
327 diff --git a/app-editors/xemacs/files/xemacs-21.4.22-texinfo-5.patch b/app-editors/xemacs/files/xemacs-21.4.22-texinfo-5.patch
328 deleted file mode 100644
329 index 05dda3974a6..00000000000
330 --- a/app-editors/xemacs/files/xemacs-21.4.22-texinfo-5.patch
331 +++ /dev/null
332 @@ -1,437 +0,0 @@
333 ---- xemacs-21.4.22-orig/man/custom.texi
334 -+++ xemacs-21.4.22/man/custom.texi
335 -@@ -60,7 +60,7 @@
336 -
337 - @node Declaring Groups, Declaring Variables, Top, Top
338 - @comment node-name, next, previous, up
339 --@section Declaring Groups
340 -+@chapter Declaring Groups
341 -
342 - Use @code{defgroup} to declare new customization groups.
343 -
344 -@@ -92,7 +92,7 @@
345 -
346 - @node Declaring Variables, Declaring Faces, Declaring Groups, Top
347 - @comment node-name, next, previous, up
348 --@section Declaring Variables
349 -+@chapter Declaring Variables
350 -
351 - Use @code{defcustom} to declare user editable variables.
352 -
353 -@@ -176,7 +176,7 @@
354 -
355 - @node Declaring Faces, Usage for Package Authors, Declaring Variables, Top
356 - @comment node-name, next, previous, up
357 --@section Declaring Faces
358 -+@chapter Declaring Faces
359 -
360 - Faces are declared with @code{defface}.
361 -
362 -@@ -228,7 +228,7 @@
363 -
364 - @node Usage for Package Authors, Utilities, Declaring Faces, Top
365 - @comment node-name, next, previous, up
366 --@section Usage for Package Authors
367 -+@chapter Usage for Package Authors
368 -
369 - The recommended usage for the author of a typical emacs lisp package is
370 - to create one group identifying the package, and make all user options
371 -@@ -244,7 +244,7 @@
372 -
373 - @node Utilities, The Init File, Usage for Package Authors, Top
374 - @comment node-name, next, previous, up
375 --@section Utilities
376 -+@chapter Utilities
377 -
378 - These utilities can come in handy when adding customization support.
379 -
380 -@@ -276,7 +276,7 @@
381 -
382 - @node The Init File, Wishlist, Utilities, Top
383 - @comment node-name, next, previous, up
384 --@section The Init File
385 -+@chapter The Init File
386 -
387 - Customizations are saved to the file specified by @code{custom-file}, as
388 - calls to @code{custom-set-variables} and @code{custom-set-faces}.
389 -@@ -299,7 +299,7 @@
390 -
391 - @node Wishlist, , The Init File, Top
392 - @comment node-name, next, previous, up
393 --@section Wishlist
394 -+@chapter Wishlist
395 -
396 - @itemize @bullet
397 - @item
398 ---- xemacs-21.4.22-orig/man/info.texi
399 -+++ xemacs-21.4.22/man/info.texi
400 -@@ -543,6 +543,10 @@
401 - @c If a menu appears at the end of this node, remove it.
402 - @c It is an accident of the menu updating command.
403 -
404 -+@menu
405 -+* Help-Cross::
406 -+@end menu
407 -+
408 - @node Help-Cross, , , Help-Adv
409 - @subsection The node reached by the cross reference in Info
410 -
411 ---- xemacs-21.4.22-orig/man/lispref/edebug-inc.texi
412 -+++ xemacs-21.4.22/man/lispref/edebug-inc.texi
413 -@@ -1103,7 +1103,7 @@
414 - Here is a table of the possibilities for @var{specification} and how each
415 - directs processing of arguments.
416 -
417 --@table @bullet
418 -+@table @asis
419 -
420 - @item @code{t}
421 - All arguments are instrumented for evaluation.
422 ---- xemacs-21.4.22-orig/man/lispref/packaging.texi
423 -+++ xemacs-21.4.22/man/lispref/packaging.texi
424 -@@ -600,7 +600,7 @@
425 - Does most of the work. Builds the elcs, infos at a minimum.
426 - @end table
427 -
428 --@subsection The targets that most people would be interested in would be:
429 -+@section The targets that most people would be interested in would be:
430 -
431 - @itemize @bullet
432 - @item @code{all}
433 ---- xemacs-21.4.22-orig/man/term.texi
434 -+++ xemacs-21.4.22/man/term.texi
435 -@@ -4,7 +4,7 @@
436 -
437 - @titlepage
438 - @sp 6
439 --@center @titlefont(Notes about Emacs TERM Mode)
440 -+@center @titlefont{Notes about Emacs TERM Mode}
441 - @end titlepage
442 -
443 - @ifinfo
444 ---- xemacs-21.4.22-orig/man/widget.texi
445 -+++ xemacs-21.4.22/man/widget.texi
446 -@@ -38,7 +38,7 @@
447 -
448 - @node Introduction, User Interface, Top, Top
449 - @comment node-name, next, previous, up
450 --@section Introduction
451 -+@chapter Introduction
452 -
453 - Most graphical user interface toolkits, such as Motif and XView, provide
454 - a number of standard user interface controls (sometimes known as
455 -@@ -129,7 +129,7 @@
456 -
457 - @node User Interface, Programming Example, Introduction, Top
458 - @comment node-name, next, previous, up
459 --@section User Interface
460 -+@chapter User Interface
461 -
462 - A form consists of read only text for documentation and some fields,
463 - where each of the fields contains two parts, a tag and a value. The
464 -@@ -175,7 +175,7 @@
465 - a form, namely editing the editable text fields and activating the
466 - buttons.
467 -
468 --@subsection Editable Text Fields
469 -+@section Editable Text Fields
470 -
471 - In the example, the value for the @samp{Name} is most likely displayed
472 - in an editable text field, and so are values for each of the members of
473 -@@ -194,7 +194,7 @@
474 - Face used for other editing fields.
475 - @end deffn
476 -
477 --@subsection Buttons
478 -+@section Buttons
479 -
480 - Some portions of the buffer have an associated @dfn{action}, which can
481 - be @dfn{invoked} by a standard key or mouse command. These portions
482 -@@ -259,7 +259,7 @@
483 - Face used for buttons when the mouse pointer is above it.
484 - @end defopt
485 -
486 --@subsection Navigation
487 -+@section Navigation
488 -
489 - You can use all the normal Emacs commands to move around in a form
490 - buffer, plus you will have these additional commands:
491 -@@ -277,7 +277,7 @@
492 -
493 - @node Programming Example, Setting Up the Buffer, User Interface, Top
494 - @comment node-name, next, previous, up
495 --@section Programming Example
496 -+@chapter Programming Example
497 -
498 - Here is the code to implement the user interface example (see @ref{User
499 - Interface}).
500 -@@ -369,7 +369,7 @@
501 -
502 - @node Setting Up the Buffer, Basic Types, Programming Example, Top
503 - @comment node-name, next, previous, up
504 --@section Setting Up the Buffer
505 -+@chapter Setting Up the Buffer
506 -
507 - Widgets are created with @code{widget-create}, which returns a
508 - @dfn{widget} object. This object can be queried and manipulated by
509 -@@ -422,7 +422,7 @@
510 -
511 - @node Basic Types, Sexp Types, Setting Up the Buffer, Top
512 - @comment node-name, next, previous, up
513 --@section Basic Types
514 -+@chapter Basic Types
515 -
516 - The syntax of a type specification is given below:
517 -
518 -@@ -635,7 +635,7 @@
519 -
520 - @node link, url-link, Basic Types, Basic Types
521 - @comment node-name, next, previous, up
522 --@subsection The @code{link} Widget
523 -+@section The @code{link} Widget
524 -
525 - Syntax:
526 -
527 -@@ -659,7 +659,7 @@
528 -
529 - @node url-link, info-link, link, Basic Types
530 - @comment node-name, next, previous, up
531 --@subsection The @code{url-link} Widget
532 -+@section The @code{url-link} Widget
533 -
534 - Syntax:
535 -
536 -@@ -672,7 +672,7 @@
537 -
538 - @node info-link, push-button, url-link, Basic Types
539 - @comment node-name, next, previous, up
540 --@subsection The @code{info-link} Widget
541 -+@section The @code{info-link} Widget
542 -
543 - Syntax:
544 -
545 -@@ -685,7 +685,7 @@
546 -
547 - @node push-button, editable-field, info-link, Basic Types
548 - @comment node-name, next, previous, up
549 --@subsection The @code{push-button} Widget
550 -+@section The @code{push-button} Widget
551 -
552 - Syntax:
553 -
554 -@@ -709,7 +709,7 @@
555 -
556 - @node editable-field, text, push-button, Basic Types
557 - @comment node-name, next, previous, up
558 --@subsection The @code{editable-field} Widget
559 -+@section The @code{editable-field} Widget
560 -
561 - Syntax:
562 -
563 -@@ -753,7 +753,7 @@
564 -
565 - @node text, menu-choice, editable-field, Basic Types
566 - @comment node-name, next, previous, up
567 --@subsection The @code{text} Widget
568 -+@section The @code{text} Widget
569 -
570 - This is just like @code{editable-field}, but intended for multiline text
571 - fields. The default @code{:keymap} is @code{widget-text-keymap}, which
572 -@@ -761,7 +761,7 @@
573 -
574 - @node menu-choice, radio-button-choice, text, Basic Types
575 - @comment node-name, next, previous, up
576 --@subsection The @code{menu-choice} Widget
577 -+@section The @code{menu-choice} Widget
578 -
579 - Syntax:
580 -
581 -@@ -796,7 +796,7 @@
582 -
583 - @node radio-button-choice, item, menu-choice, Basic Types
584 - @comment node-name, next, previous, up
585 --@subsection The @code{radio-button-choice} Widget
586 -+@section The @code{radio-button-choice} Widget
587 -
588 - Syntax:
589 -
590 -@@ -856,7 +856,7 @@
591 -
592 - @node item, choice-item, radio-button-choice, Basic Types
593 - @comment node-name, next, previous, up
594 --@subsection The @code{item} Widget
595 -+@section The @code{item} Widget
596 -
597 - Syntax:
598 -
599 -@@ -870,7 +870,7 @@
600 -
601 - @node choice-item, toggle, item, Basic Types
602 - @comment node-name, next, previous, up
603 --@subsection The @code{choice-item} Widget
604 -+@section The @code{choice-item} Widget
605 -
606 - Syntax:
607 -
608 -@@ -886,7 +886,7 @@
609 -
610 - @node toggle, checkbox, choice-item, Basic Types
611 - @comment node-name, next, previous, up
612 --@subsection The @code{toggle} Widget
613 -+@section The @code{toggle} Widget
614 -
615 - Syntax:
616 -
617 -@@ -914,7 +914,7 @@
618 -
619 - @node checkbox, checklist, toggle, Basic Types
620 - @comment node-name, next, previous, up
621 --@subsection The @code{checkbox} Widget
622 -+@section The @code{checkbox} Widget
623 -
624 - The widget has two possible states, `selected' and `unselected', which
625 - corresponds to a @code{t} or @code{nil} value.
626 -@@ -927,7 +927,7 @@
627 -
628 - @node checklist, editable-list, checkbox, Basic Types
629 - @comment node-name, next, previous, up
630 --@subsection The @code{checklist} Widget
631 -+@section The @code{checklist} Widget
632 -
633 - Syntax:
634 -
635 -@@ -978,7 +978,7 @@
636 -
637 - @node editable-list, group, checklist, Basic Types
638 - @comment node-name, next, previous, up
639 --@subsection The @code{editable-list} Widget
640 -+@section The @code{editable-list} Widget
641 -
642 - Syntax:
643 -
644 -@@ -1030,7 +1030,7 @@
645 -
646 - @node group, , editable-list, Basic Types
647 - @comment node-name, next, previous, up
648 --@subsection The @code{group} Widget
649 -+@section The @code{group} Widget
650 -
651 - This widget simply groups other widgets together.
652 -
653 -@@ -1044,7 +1044,7 @@
654 -
655 - @node Sexp Types, Widget Properties, Basic Types, Top
656 - @comment
657 --@section Sexp Types
658 -+@chapter Sexp Types
659 -
660 - A number of widgets for editing s-expressions (lisp types) are also
661 - available. These basically fall in the following categories.
662 -@@ -1058,7 +1058,7 @@
663 -
664 - @node constants, generic, Sexp Types, Sexp Types
665 - @comment node-name, next, previous, up
666 --@subsection The Constant Widgets.
667 -+@section The Constant Widgets.
668 -
669 - The @code{const} widget can contain any lisp expression, but the user is
670 - prohibited from editing it, which is mainly useful as a component of one
671 -@@ -1094,7 +1094,7 @@
672 -
673 - @node generic, atoms, constants, Sexp Types
674 - @comment node-name, next, previous, up
675 --@subsection Generic Sexp Widget.
676 -+@section Generic Sexp Widget.
677 -
678 - The @code{sexp} widget can contain any lisp expression, and allows the
679 - user to edit it inline in the buffer.
680 -@@ -1115,7 +1115,7 @@
681 -
682 - @node atoms, composite, generic, Sexp Types
683 - @comment node-name, next, previous, up
684 --@subsection Atomic Sexp Widgets.
685 -+@section Atomic Sexp Widgets.
686 -
687 - The atoms are s-expressions that does not consist of other
688 - s-expressions. A string is an atom, while a list is a composite type.
689 -@@ -1192,7 +1192,7 @@
690 -
691 - @node composite, , atoms, Sexp Types
692 - @comment node-name, next, previous, up
693 --@subsection Composite Sexp Widgets.
694 -+@section Composite Sexp Widgets.
695 -
696 - The syntax for the composite are
697 -
698 -@@ -1265,7 +1265,7 @@
699 -
700 - @node Widget Properties, Defining New Widgets, Sexp Types, Top
701 - @comment node-name, next, previous, up
702 --@section Properties
703 -+@chapter Properties
704 -
705 - You can examine or set the value of a widget by using the widget object
706 - that was returned by @code{widget-create}.
707 -@@ -1353,7 +1353,7 @@
708 -
709 - @node Defining New Widgets, Widget Browser, Widget Properties, Top
710 - @comment node-name, next, previous, up
711 --@section Defining New Widgets
712 -+@chapter Defining New Widgets
713 -
714 - You can define specialized widgets with @code{define-widget}. It allows
715 - you to create a shorthand for more complex widgets. This includes
716 -@@ -1565,7 +1565,7 @@
717 -
718 - @node Widget Browser, Widget Minor Mode, Defining New Widgets, Top
719 - @comment node-name, next, previous, up
720 --@section Widget Browser
721 -+@chapter Widget Browser
722 -
723 - There is a separate package to browse widgets. This is intended to help
724 - programmers who want to examine the content of a widget. The browser
725 -@@ -1589,7 +1589,7 @@
726 -
727 - @node Widget Minor Mode, Utilities, Widget Browser, Top
728 - @comment node-name, next, previous, up
729 --@section Widget Minor Mode
730 -+@chapter Widget Minor Mode
731 -
732 - There is a minor mode for manipulating widgets in major modes that
733 - doesn't provide any support for widgets themselves. This is mostly
734 -@@ -1606,7 +1606,7 @@
735 -
736 - @node Utilities, Widget Wishlist, Widget Minor Mode, Top
737 - @comment node-name, next, previous, up
738 --@section Utilities.
739 -+@chapter Utilities.
740 -
741 - @defun widget-prompt-value widget prompt [ value unbound ]
742 - Prompt for a value matching @var{widget}, using @var{prompt}.@*
743 -@@ -1621,7 +1621,7 @@
744 -
745 - @node Widget Wishlist, Widget Internals, Utilities, Top
746 - @comment node-name, next, previous, up
747 --@section Wishlist
748 -+@chapter Wishlist
749 -
750 - @itemize @bullet
751 - @item
752 -@@ -1693,7 +1693,7 @@
753 - @end itemize
754 -
755 - @node Widget Internals, , Widget Wishlist, Top
756 --@section Internals
757 -+@chapter Internals
758 -
759 - This (very brief!) section provides a few notes on the internal
760 - structure and implementation of Emacs widgets. Avoid relying on this
761 -@@ -1701,7 +1701,7 @@
762 - To the extent that it actually describes APIs, the information will be
763 - moved to appropriate sections of the manual in due course.
764 -
765 --@subsection The @dfn{Widget} and @dfn{Type} Structures
766 -+@section The @dfn{Widget} and @dfn{Type} Structures
767 -
768 - Widgets and types are currently both implemented as lists.
769 -
770
771 diff --git a/app-editors/xemacs/xemacs-21.4.22-r4.ebuild b/app-editors/xemacs/xemacs-21.4.22-r4.ebuild
772 deleted file mode 100644
773 index 5c1ab8b2827..00000000000
774 --- a/app-editors/xemacs/xemacs-21.4.22-r4.ebuild
775 +++ /dev/null
776 @@ -1,257 +0,0 @@
777 -# Copyright 1999-2017 Gentoo Foundation
778 -# Distributed under the terms of the GNU General Public License v2
779 -
780 -# Note: xemacs currently does not work with a hardened profile. If you
781 -# want to use xemacs on a hardened profile then compile with the
782 -# -nopie flag in CFLAGS or help fix bug #75028.
783 -
784 -EAPI="5"
785 -
786 -WANT_AUTOCONF="2.1"
787 -inherit autotools eutils toolchain-funcs
788 -
789 -DESCRIPTION="highly customizable open source text editor and application development system"
790 -HOMEPAGE="http://www.xemacs.org/"
791 -SRC_URI="http://ftp.xemacs.org/xemacs-21.4/${P}.tar.gz
792 - http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz"
793 -
794 -LICENSE="GPL-2+"
795 -SLOT="0"
796 -KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86"
797 -IUSE="eolconv gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xim athena neXt Xaw3d gdbm berkdb"
798 -
799 -X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps"
800 -
801 -RDEPEND="
802 - berkdb? ( sys-libs/db:= )
803 - gdbm? ( >=sys-libs/gdbm-1.8.3 )
804 - >=sys-libs/zlib-1.1.4
805 - >=dev-libs/openssl-0.9.6:0
806 - >=media-libs/audiofile-0.2.3
807 - gpm? ( >=sys-libs/gpm-1.19.6 )
808 - postgres? ( dev-db/postgresql:= )
809 - ldap? ( net-nds/openldap )
810 - nas? ( media-libs/nas )
811 - X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) )
812 - dnd? ( x11-libs/dnd )
813 - motif? ( >=x11-libs/motif-2.3:0 )
814 - athena? ( x11-libs/libXaw )
815 - Xaw3d? ( x11-libs/libXaw3d )
816 - neXt? ( x11-libs/neXtaw )
817 - xface? ( media-libs/compface )
818 - tiff? ( media-libs/tiff:0 )
819 - png? ( >=media-libs/libpng-1.2:0 )
820 - jpeg? ( virtual/jpeg:0 )
821 - canna? ( app-i18n/canna )
822 - !amd64? ( freewnn? ( app-i18n/freewnn ) )
823 - >=sys-libs/ncurses-5.2:=
824 - >=app-eselect/eselect-emacs-1.15"
825 -
826 -DEPEND="${RDEPEND}"
827 -
828 -PDEPEND="app-xemacs/xemacs-base
829 - mule? ( app-xemacs/mule-base )"
830 -
831 -src_unpack() {
832 - unpack ${P}.tar.gz
833 - use neXt && unpack NeXT_XEmacs.tar.gz
834 -}
835 -
836 -src_prepare() {
837 - epatch "${FILESDIR}"/xemacs-21.4.19-texi.patch
838 -
839 - # see bug 58350, 102540 and 143580
840 - epatch "${FILESDIR}"/xemacs-21.4.19-db.patch
841 -
842 - # Security bug #216880
843 - epatch "${FILESDIR}"/xemacs-21.4.21-vcdiff.patch
844 -
845 - # Security bug #275397
846 - epatch "${FILESDIR}"/${P}-large-images.patch
847 -
848 - # Make sure to include deprecated LDAP symbols to avoid runtime
849 - # crashes.
850 - epatch "${FILESDIR}"/${P}-deprecated-ldap.patch
851 -
852 - # Fix compilation with libpng 1.5, bug 384461
853 - epatch "${FILESDIR}"/${P}-libpng15.patch
854 -
855 - # Add texinfo-5.1 compatibility
856 - epatch "${FILESDIR}"/${P}-texinfo-5.patch
857 -
858 - # Some binaries and man pages are installed under suffixed names
859 - # to avoid collions with their GNU Emacs counterparts (see below).
860 - # Fix internal filename references.
861 - sed -i -e 's/exec gnuclient/&-xemacs/' lib-src/gnudoit || die
862 - sed -i -e '/^\.so/s/etags/&-xemacs/' etc/ctags.1 || die
863 - sed -i -e '/^\.so/s/gnuserv/&-xemacs/' etc/gnu{client,doit,attach}.1 || die
864 -
865 - # Run autoconf. XEmacs tries to be smart by providing a stub
866 - # configure.ac file for autoconf 2.59 but this throws our
867 - # autotools eclass so it must be removed first.
868 - rm "${S}"/configure.ac || die
869 - eautoconf
870 -
871 - use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/
872 -}
873 -
874 -src_configure() {
875 - local myconf=""
876 -
877 - if use X; then
878 -
879 - myconf="${myconf} --with-widgets=athena"
880 - myconf="${myconf} --with-dialogs=athena"
881 - myconf="${myconf} --with-menubars=lucid"
882 - myconf="${myconf} --with-scrollbars=lucid"
883 - if use motif ; then
884 - myconf="--with-widgets=motif"
885 - myconf="${myconf} --with-dialogs=motif"
886 - myconf="${myconf} --with-scrollbars=motif"
887 - myconf="${myconf} --with-menubars=lucid"
888 - fi
889 - if use athena ; then
890 - myconf="--with-scrollbars=athena"
891 - fi
892 -
893 - if use Xaw3d; then
894 - myconf="${myconf} --with-athena=3d"
895 - elif use neXt; then
896 - myconf="${myconf} --with-athena=next"
897 - else
898 - myconf="${myconf} --with-athena=xaw"
899 - fi
900 -
901 - use dnd && myconf="${myconf} --with-dragndrop --with-offix"
902 -
903 - myconf="${myconf} $(use_with tiff ) $(use_with png )"
904 - myconf="${myconf} $(use_with jpeg ) $(use_with xface )"
905 - else
906 - myconf="${myconf}
907 - --without-x
908 - --without-xpm
909 - --without-dragndrop
910 - --with-gif=no"
911 - fi
912 -
913 - if use mule ; then
914 - myconf="${myconf} --with-mule"
915 -
916 - if use xim ; then
917 - if use motif ; then
918 - myconf="${myconf} --with-xim=motif"
919 - else
920 - myconf="${myconf} --with-xim=xlib"
921 - fi
922 - else
923 - myconf="${myconf} --with-xim=no"
924 - fi
925 -
926 - myconf="${myconf} $(use_with canna ) $(use_with freewnn wnn )"
927 - fi
928 -
929 - # This determines the type of sounds we are playing
930 - local soundconf="native"
931 -
932 - # This determines how these sounds should be played
933 - use nas && soundconf="${soundconf},nas"
934 -
935 - myconf="${myconf} --with-sound=${soundconf}"
936 -
937 - if use gdbm || use berkdb ; then
938 - use gdbm && mydb="gdbm"
939 -
940 - use berkdb && mydb="${mydb},berkdb"
941 -
942 - myconf="${myconf} --with-database=${mydb}"
943 - else
944 - myconf="${myconf} --without-database"
945 - fi
946 -
947 - # fixes #21264, this should be fixed in 21.4.21 and has been fixed
948 - # in 21.5 for sure. Now that 21.4.21 is out there is no real
949 - # evidence that this indeed got fixed, so keep these exceptions
950 - # for now.
951 - use alpha && myconf="${myconf} --with-system-malloc"
952 - use ppc64 && myconf="${myconf} --with-system-malloc"
953 - use ia64 && myconf="${myconf} --with-system-malloc"
954 -
955 - # Enabling modules will cause segfaults outside the XEmacs build directory
956 - use ia64 && myconf="${myconf} --without-modules"
957 -
958 - # fixes #552044, deprecation warnings fools header detection in configure
959 - myconf="${myconf} --cppflags=-Wno-cpp"
960 -
961 - einfo "${myconf}"
962 -
963 - # Don't use econf because it uses options which this configure
964 - # script does not understand (like --host).
965 - ./configure ${myconf} ${EXTRA_ECONF} \
966 - $(use_with gif ) \
967 - $(use_with gpm ) \
968 - $(use_with postgres postgresql ) \
969 - $(use_with ldap ) \
970 - $(use_with eolconv file-coding ) \
971 - $(use_with pop ) \
972 - --compiler=$(tc-getCC) \
973 - --prefix=/usr \
974 - --with-ncurses \
975 - --with-msw=no \
976 - --mail-locking=flock \
977 - --with-site-lisp=yes \
978 - --with-site-modules=yes \
979 - || die "The configure script failed to run properly"
980 -}
981 -
982 -src_install() {
983 - emake prefix="${D}"/usr \
984 - mandir="${D}"/usr/share/man/man1 \
985 - infodir="${D}"/usr/share/info \
986 - install gzip-el || die "emake install failed"
987 -
988 - # Rename some applications installed in bin so that it is clear
989 - # which application installed them and so that conflicting
990 - # packages (emacs) can't clobber the actual applications.
991 - # Addresses bug #62991.
992 - for i in b2m ctags etags rcs-checkin gnuclient gnudoit gnuattach; do
993 - mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed"
994 - done
995 -
996 - # rename man pages
997 - for i in ctags etags gnuserv gnuclient gnudoit gnuattach; do
998 - mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed"
999 - done
1000 -
1001 - # install base packages directories
1002 - dodir /usr/lib/xemacs/xemacs-packages/
1003 - dodir /usr/lib/xemacs/site-packages/
1004 - dodir /usr/lib/xemacs/site-modules/
1005 - dodir /usr/lib/xemacs/site-lisp/
1006 -
1007 - if use mule;
1008 - then
1009 - dodir /usr/lib/xemacs/mule-packages
1010 - fi
1011 -
1012 - # remove extraneous info files
1013 - cd "${D}"/usr/share/info
1014 - rm -f dir info.info texinfo* termcap* standards*
1015 -
1016 - cd "${S}"
1017 - dodoc BUGS CHANGES-* ChangeLog GETTING* INSTALL PROBLEMS README*
1018 - dodoc "${FILESDIR}"/README.Gentoo
1019 -
1020 - newicon "${S}"/etc/${PN}-icon.xpm ${PN}.xpm
1021 -
1022 - domenu "${FILESDIR}"/${PN}.desktop
1023 -}
1024 -
1025 -pkg_postinst() {
1026 - eselect emacs update ifunset
1027 - eselect gnuclient update ifunset
1028 -}
1029 -
1030 -pkg_postrm() {
1031 - eselect emacs update ifunset
1032 - eselect gnuclient update ifunset
1033 -}