Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/nano/, app-editors/nano/files/
Date: Fri, 28 Aug 2015 02:23:24
Message-Id: 1440728585.e31ae64ca383c64789a8078e535628f118a7933d.mrueg@gentoo
1 commit: e31ae64ca383c64789a8078e535628f118a7933d
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 28 02:20:29 2015 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 28 02:23:05 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e31ae64c
7
8 app-editors/nano: Remove old
9
10 Package-Manager: portage-2.2.20.1
11
12 app-editors/nano/Manifest | 8 -
13 app-editors/nano/files/nano-1.3.12-fix2.patch | 15 --
14 app-editors/nano/files/nano-1.3.12-path.patch | 199 ---------------------
15 app-editors/nano/files/nano-1.3.12-scroll.patch | 39 ----
16 .../nano/files/nano-2.3.1-bind-unbind-docs.patch | 118 ------------
17 .../nano/files/nano-2.3.1-drop-target.patch | 30 ----
18 .../nano/files/nano-2.3.1-gentoo-nanorc.patch | 95 ----------
19 .../nano/files/nano-2.3.1-ncurses-pkg-config.patch | 52 ------
20 .../nano/files/nano-2.3.1-shell-nanorc.patch | 44 -----
21 .../nano/files/nano-2.3.2-bind-unbind-docs.patch | 119 ------------
22 app-editors/nano/nano-1.3.12-r1.ebuild | 80 ---------
23 app-editors/nano/nano-2.0.9.ebuild | 79 --------
24 app-editors/nano/nano-2.1.10.ebuild | 84 ---------
25 app-editors/nano/nano-2.2.5.ebuild | 84 ---------
26 app-editors/nano/nano-2.3.1-r1.ebuild | 71 --------
27 app-editors/nano/nano-2.3.1-r2.ebuild | 68 -------
28 app-editors/nano/nano-2.3.1.ebuild | 77 --------
29 app-editors/nano/nano-2.3.2-r1.ebuild | 79 --------
30 app-editors/nano/nano-2.3.2.ebuild | 72 --------
31 app-editors/nano/nano-2.3.3.ebuild | 76 --------
32 app-editors/nano/nano-2.3.4.ebuild | 76 --------
33 21 files changed, 1565 deletions(-)
34
35 diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest
36 index 65e6438..91061a0 100644
37 --- a/app-editors/nano/Manifest
38 +++ b/app-editors/nano/Manifest
39 @@ -1,11 +1,3 @@
40 -DIST nano-1.3.12.tar.gz 1250777 SHA256 f5537b8a988618fa8524b6a4b0a6950184d37db983b4521ad843b98845da571c SHA512 30d95122486e13159c4e36d4408ab977351d0d46bb28e21b0e867ab6246a3a5a51d987fcca956d66d629753698188bffec34f076a1cf505cbadd6bec4cd54afb WHIRLPOOL a2ef9482ade321ffc231e5bc0429a363389049ab4fbb82f74719003ca3446681805fbcf8c78dd6fad62c0363030e9804f649b297a7c6840fff83148cb031c7d1
41 -DIST nano-2.0.9.tar.gz 1403773 SHA256 6d212385680d29dcda35dda7801da19c80182a8bc6bc6d5cf7533034c853d37f SHA512 9090dc005670998db2d10657e8c37751051a71ea4a6ba514d1c8e36d5d5030c778ede5d2c3734106a92e100e3755add828f3094b3b5c2b41def8e15e674e4907 WHIRLPOOL 4d16cb2c684bf34f441096311778b9249243cc84351af7586ff1bbbbbd7c0fb251548a1fc987cb91a08633b49fb0841e97d3ca79e8392b8f0ff2e12560b2b098
42 -DIST nano-2.1.10.tar.gz 1478204 SHA256 03af11adace9f6c482a06f5304c5aba5d134972a416ce4368307b604420b2e40 SHA512 647174879abb0658776e9f3c6734db0989cfe1cb445bda616997d24e2955f7df790bf1c6b7d8dd3fe4878c73d589d84c6c1acae6b851dbf6ab623f0992cf284e WHIRLPOOL 8b813d18c9b2d94c1ec11377f9b7467e18a0fd9d425fe84d9209f6a6c4192bbdd1377f78306c489830a563f4aba0962bfd7349086e59cd12fed6ea96ea67531a
43 -DIST nano-2.2.5.tar.gz 1554750 SHA256 9015945d1badabbada203b37c4779d3dd1066234235c714deb439989c5cd7d9e SHA512 5dd9bd1bccb8ab5c6592310e2e6cee5a59370595ab1ce2065f0d77a6eb58d8e115559a00b17582ccc6321dcd93a557af391e716977d3ce86f99d83b1aad648fc WHIRLPOOL b2b65c589dc4bfc665e3f73a6fa6bfecfc6bae0d68d99a43ec392fd625717b9e3792b868d84fece44622e245c15c8f20d0c97aa129813319327c42cc89fc96c3
44 -DIST nano-2.3.1.tar.gz 1624332 SHA256 b7bace9a8e543b84736d6ef5ce5430305746efea3aacb24391f692efc6f3c8d3 SHA512 ab8e17f712c0609e5e7e7caeec79c4bb28d1d6e1c837d2a9c2e7a691156f58c6770375d8c410898648a3629a38cf6b3bb2de9a6c02556e62a583c0500a1aec94 WHIRLPOOL ea14ce055f41884956ad5de5e763396522b9f63c8fd64720078f11c1c97e0fbc6f760789fc52bd3f485d1856dda2727899fb8e79cae3c87850ba0ad8793b1a4d
45 -DIST nano-2.3.2.tar.gz 1725485 SHA256 ff309248071486445609ad4269b798262a1324d7503dc09dea289f5b60106be8 SHA512 c4bf4a152e797e860e9f8aee5091b8e380f5305d3457d5503c2b6187897394510dd756948cce7157fe986bbb9db7a5b98c9cb5794d12cf6399d7e96e0db1be49 WHIRLPOOL 48111c18a50ab5215646b0a85a6f90a55274d349890fee54e18a66028b1b5a79f51c6f2f12a039751342845b3c8e5f58854e3368d7f8f18c1ab94d6f56f40b02
46 -DIST nano-2.3.3.tar.gz 1812671 SHA256 d80e0fce656b5cd2f327ea599c708c897dc1b8c608e87c756d63c79e97e8cc19 SHA512 542a12ac7dd8bd48b69e7c3c4850b5757372c0abb2082f12ca049a5857137ef93a7225ca9f23b8aaa934c639c2c1c1d54ae40da868b7c4adf3b3cfc9dec16a95 WHIRLPOOL a9b7c9d2f2904e588f0847d2b897649e780ca489c1240da49a5afdabf10c588191c8cbd3a6360409a26e24ad5604cb12172bb9680200e3edbad2bd94cb5fc3ca
47 -DIST nano-2.3.4.tar.gz 1812943 SHA256 1774129f4b933df5dbfdf45c4ecdbfc19eb6ff8c2fc6ad43c7f392aa7cd998c1 SHA512 5f0e3d170cce60a6b20647607745373727700fbb59d579ce5f62fd5915568ef0065f5e0e2923812a321dd3b13c77ab9231fd62f7b2a86965925d1da675fa646b WHIRLPOOL 2c703bbc79304a28c06154a451a5035967101ecc82cddbd005cb1a6599466d8b54c944f2aef9dd6c7f9b7a171b705177e3d0e7a496c43ffca39000244371547e
48 DIST nano-2.3.6.tar.gz 1816012 SHA256 a74bf3f18b12c1c777ae737c0e463152439e381aba8720b4bc67449f36a09534 SHA512 00d66dbbd1ee59b3d606af8688599ce627aa98cee494611e255293347b9aa4f3f583820ac28adae5f7209410a28669cdd5211258411d83364d3eb788d909bb73 WHIRLPOOL 6900e40e41f7bbd23a0dc76fe24bbf29c46b65bead328cb574008045f397e92643a7cee35605ef044e1921029dca54e49831548828490abbf24b2c63f0f9092b
49 DIST nano-2.4.0.tar.gz 1886052 SHA256 5076fb502680503e648cbdcbf2077e39fba193420ae19203f0a54cb2d94a75bd SHA512 7f079e307521a47405ba6d107d481df6869dbd7ea9297de6c69e831d00335cee403ac3ec1ef3578488cbec65c2e2ddec15edfddd45071f0fb4e2eccc94cbef1d WHIRLPOOL 1e4aaaa67c44bf051210b9c65db80c30189606fc2ba0d3e1a6802a41e7244901e60858ad412a0c6ee6e0eaa90d65925d8c954b398387cc12109a626811d8ad07
50 DIST nano-2.4.1.tar.gz 1890805 SHA256 6a0ceb5e1b9b9bea72d5d1f46488ace4782b1f198ea6ba558480a86d994f29d2 SHA512 0e2bc99627682350496853b2dc8d3d4c25303b3723fd1dec2e26f2860b21d0f4c6cb99810517fc4e86312f3bec5481c327afab84dac55f4c388799453e6f5f11 WHIRLPOOL 3c3decdd0c94c33a2cb3854e6b8cda4082a9a98d55d8e1d256ec73febaa0de597d41b1f63c18cb6308fb7174b6ced0995434697f6c05a2efb53e3588f2ca7d8a
51
52 diff --git a/app-editors/nano/files/nano-1.3.12-fix2.patch b/app-editors/nano/files/nano-1.3.12-fix2.patch
53 deleted file mode 100644
54 index 1c6ba22..0000000
55 --- a/app-editors/nano/files/nano-1.3.12-fix2.patch
56 +++ /dev/null
57 @@ -1,15 +0,0 @@
58 -diff -ru nano-1.3.12/src/rcfile.c nano-1.3.12-fix2/src/rcfile.c
59 ---- nano-1.3.12/src/rcfile.c 2006-06-07 22:50:56.000000000 -0400
60 -+++ nano-1.3.12-fix2/src/rcfile.c 2006-07-18 19:22:30.000000000 -0400
61 -@@ -834,9 +834,11 @@
62 - rcfile_error(N_("Unknown flag \"%s\""), option);
63 - }
64 -
65 -+#ifdef ENABLE_COLOR
66 - if (endsyntax != NULL && endcolor == NULL)
67 - rcfile_error(N_("Syntax \"%s\" has no color commands"),
68 - endsyntax->desc);
69 -+#endif
70 -
71 - free(buf);
72 - fclose(rcstream);
73
74 diff --git a/app-editors/nano/files/nano-1.3.12-path.patch b/app-editors/nano/files/nano-1.3.12-path.patch
75 deleted file mode 100644
76 index b8b2a7e..0000000
77 --- a/app-editors/nano/files/nano-1.3.12-path.patch
78 +++ /dev/null
79 @@ -1,199 +0,0 @@
80 -diff -ur nano-1.3.12/src/files.c nano-1.3.12-fixed/src/files.c
81 ---- nano-1.3.12/src/files.c 2006-06-14 09:19:43.000000000 -0400
82 -+++ nano-1.3.12-fixed/src/files.c 2006-07-05 11:44:17.000000000 -0400
83 -@@ -902,21 +902,29 @@
84 - * able to go there. */
85 - char *get_full_path(const char *origpath)
86 - {
87 -- char *d_here, *d_there = NULL;
88 -+ struct stat fileinfo;
89 -+ char *d_here, *d_there, *d_there_file = NULL;
90 -+ const char *last_slash;
91 -+ bool path_only;
92 -
93 - if (origpath == NULL)
94 - return NULL;
95 -
96 -- /* Get the current directory. */
97 -+ /* Get the current directory. If it doesn't exist, back up and try
98 -+ * again until we get a directory that does, and use that as the
99 -+ * current directory. */
100 - d_here = charalloc(PATH_MAX + 1);
101 - d_here = getcwd(d_here, PATH_MAX + 1);
102 -
103 -- if (d_here != NULL) {
104 -- const char *last_slash;
105 -- char *d_there_file = NULL;
106 -- bool path_only;
107 -- struct stat fileinfo;
108 -+ while (d_here == NULL) {
109 -+ if (chdir("..") == -1)
110 -+ break;
111 -+
112 -+ d_here = getcwd(d_here, PATH_MAX + 1);
113 -+ }
114 -
115 -+ /* If we succeeded, canonicalize it in d_here. */
116 -+ if (d_here != NULL) {
117 - align(&d_here);
118 -
119 - /* If the current directory isn't "/", tack a slash onto the end
120 -@@ -925,89 +933,91 @@
121 - d_here = charealloc(d_here, strlen(d_here) + 2);
122 - strcat(d_here, "/");
123 - }
124 -+ /* Otherwise, set d_here to "". */
125 -+ } else
126 -+ d_here = mallocstrcpy(NULL, "");
127 -
128 -- d_there = real_dir_from_tilde(origpath);
129 -+ d_there = real_dir_from_tilde(origpath);
130 -
131 -- assert(d_there != NULL);
132 -+ assert(d_there != NULL);
133 -
134 -- /* Stat d_there. If stat() fails, assume that d_there refers to
135 -- * a new file that hasn't been saved to disk yet. Set path_only
136 -- * to TRUE if d_there refers to a directory, and FALSE if
137 -- * d_there refers to a file. */
138 -- path_only = !stat(d_there, &fileinfo) &&
139 -- S_ISDIR(fileinfo.st_mode);
140 --
141 -- /* If path_only is TRUE, make sure d_there ends in a slash. */
142 -- if (path_only) {
143 -- size_t d_there_len = strlen(d_there);
144 --
145 -- if (d_there[d_there_len - 1] != '/') {
146 -- d_there = charealloc(d_there, d_there_len + 2);
147 -- strcat(d_there, "/");
148 -- }
149 -- }
150 -+ /* If stat()ing d_there fails, assume that d_there refers to a new
151 -+ * file that hasn't been saved to disk yet. Set path_only to TRUE
152 -+ * if d_there refers to a directory, and FALSE otherwise. */
153 -+ path_only = stat(d_there, &fileinfo) == 0 &&
154 -+ S_ISDIR(fileinfo.st_mode);
155 -
156 -- /* Search for the last slash in d_there. */
157 -- last_slash = strrchr(d_there, '/');
158 -+ /* If path_only is TRUE, make sure d_there ends in a slash. */
159 -+ if (path_only) {
160 -+ size_t d_there_len = strlen(d_there);
161 -
162 -- /* If we didn't find one, then make sure the answer is in the
163 -- * format "d_here/d_there". */
164 -- if (last_slash == NULL) {
165 -- assert(!path_only);
166 -+ if (d_there[d_there_len - 1] != '/') {
167 -+ d_there = charealloc(d_there, d_there_len + 2);
168 -+ strcat(d_there, "/");
169 -+ }
170 -+ }
171 -
172 -- d_there_file = d_there;
173 -- d_there = d_here;
174 -- } else {
175 -- /* If path_only is FALSE, then save the filename portion of
176 -- * the answer, everything after the last slash, in
177 -- * d_there_file. */
178 -- if (!path_only)
179 -- d_there_file = mallocstrcpy(NULL, last_slash + 1);
180 --
181 -- /* And remove the filename portion of the answer from
182 -- * d_there. */
183 -- null_at(&d_there, last_slash - d_there + 1);
184 --
185 -- /* Go to the path specified in d_there. */
186 -- if (chdir(d_there) == -1) {
187 -- free(d_there);
188 -- d_there = NULL;
189 -- } else {
190 -- /* Get the full path and save it in d_there. */
191 -- free(d_there);
192 -+ /* Search for the last slash in d_there. */
193 -+ last_slash = strrchr(d_there, '/');
194 -
195 -- d_there = charalloc(PATH_MAX + 1);
196 -- d_there = getcwd(d_there, PATH_MAX + 1);
197 -+ /* If we didn't find one, then make sure the answer is in the format
198 -+ * "d_here/d_there". */
199 -+ if (last_slash == NULL) {
200 -+ assert(!path_only);
201 -
202 -- if (d_there != NULL) {
203 -- align(&d_there);
204 -+ d_there_file = d_there;
205 -+ d_there = d_here;
206 -+ } else {
207 -+ /* If path_only is FALSE, then save the filename portion of the
208 -+ * answer (everything after the last slash) in d_there_file. */
209 -+ if (!path_only)
210 -+ d_there_file = mallocstrcpy(NULL, last_slash + 1);
211 -+
212 -+ /* And remove the filename portion of the answer from
213 -+ * d_there. */
214 -+ null_at(&d_there, last_slash - d_there + 1);
215 -+
216 -+ /* Go to the path specified in d_there. */
217 -+ if (chdir(d_there) == -1) {
218 -+ free(d_there);
219 -+ d_there = NULL;
220 -+ } else {
221 -+ free(d_there);
222 -
223 -- if (strcmp(d_there, "/") != 0) {
224 -- /* Make sure d_there ends in a slash. */
225 -- d_there = charealloc(d_there,
226 -- strlen(d_there) + 2);
227 -- strcat(d_there, "/");
228 -- }
229 -- } else
230 -- /* If we couldn't get the full path, set path_only
231 -- * to TRUE so that we clean up correctly, free all
232 -- * allocated memory, and return NULL. */
233 -- path_only = TRUE;
234 --
235 -- /* Finally, go back to the path specified in d_here,
236 -- * where we were before. */
237 -- chdir(d_here);
238 -- }
239 -+ /* Get the full path. */
240 -+ d_there = charalloc(PATH_MAX + 1);
241 -+ d_there = getcwd(d_there, PATH_MAX + 1);
242 -+
243 -+ /* If we succeeded, canonicalize it in d_there. */
244 -+ if (d_there != NULL) {
245 -+ align(&d_there);
246 -+
247 -+ /* If the current directory isn't "/", tack a slash onto
248 -+ * the end of it. */
249 -+ if (strcmp(d_there, "/") != 0) {
250 -+ d_there = charealloc(d_there, strlen(d_there) + 2);
251 -+ strcat(d_there, "/");
252 -+ }
253 -+ } else
254 -+ /* Otherwise, set path_only to TRUE, so that we clean up
255 -+ * correctly, free all allocated memory, and return
256 -+ * NULL. */
257 -+ path_only = TRUE;
258 -+
259 -+ /* Finally, go back to the path specified in d_here,
260 -+ * where we were before. We don't check for a chdir()
261 -+ * error, since we can do nothing then. */
262 -+ chdir(d_here);
263 -
264 - /* Free d_here, since we're done using it. */
265 - free(d_here);
266 - }
267 -
268 -- /* At this point, if path_only is FALSE and d_there exists,
269 -+ /* At this point, if path_only is FALSE and d_there isn't NULL,
270 - * d_there contains the path portion of the answer and
271 - * d_there_file contains the filename portion of the answer. If
272 -- * this is the case, tack d_there_file onto the end of
273 -- * d_there, so that d_there contains the complete answer. */
274 -+ * this is the case, tack the latter onto the end of the former.
275 -+ * d_there will then contain the complete answer. */
276 - if (!path_only && d_there != NULL) {
277 - d_there = charealloc(d_there, strlen(d_there) +
278 - strlen(d_there_file) + 1);
279
280 diff --git a/app-editors/nano/files/nano-1.3.12-scroll.patch b/app-editors/nano/files/nano-1.3.12-scroll.patch
281 deleted file mode 100644
282 index f5d5336..0000000
283 --- a/app-editors/nano/files/nano-1.3.12-scroll.patch
284 +++ /dev/null
285 @@ -1,39 +0,0 @@
286 -fix from upstream
287 -
288 -diff -ur nano-1.3.12/src/move.c nano-1.3.12-fixed/src/move.c
289 ---- nano-1.3.12/src/move.c 2006-05-21 22:08:49.000000000 -0400
290 -+++ nano-1.3.12-fixed/src/move.c 2006-07-06 17:01:03.000000000 -0400
291 -@@ -521,6 +521,16 @@
292 -
293 - /* Scroll the edit window up one line. */
294 - edit_scroll(UP, 1);
295 -+
296 -+ /* If we're not on the first line of the edit window, update the
297 -+ * line we were on before and the line we're on now. The former
298 -+ * needs to be redrawn if we're not on the first page, and the
299 -+ * latter needs to be drawn unconditionally. */
300 -+ if (openfile->current_y > 0) {
301 -+ if (need_vertical_update(0))
302 -+ update_line(openfile->current->next, 0);
303 -+ update_line(openfile->current, openfile->current_x);
304 -+ }
305 - }
306 - #endif /* !NANO_TINY */
307 -
308 -@@ -574,6 +584,16 @@
309 -
310 - /* Scroll the edit window down one line. */
311 - edit_scroll(DOWN, 1);
312 -+
313 -+ /* If we're not on the last line of the edit window, update the line
314 -+ * we were on before and the line we're on now. The former needs to
315 -+ * be redrawn if we're not on the first page, and the latter needs
316 -+ * to be drawn unconditionally. */
317 -+ if (openfile->current_y < editwinrows - 1) {
318 -+ if (need_vertical_update(0))
319 -+ update_line(openfile->current->prev, 0);
320 -+ update_line(openfile->current, openfile->current_x);
321 -+ }
322 - }
323 - #endif /* !NANO_TINY */
324 -
325
326 diff --git a/app-editors/nano/files/nano-2.3.1-bind-unbind-docs.patch b/app-editors/nano/files/nano-2.3.1-bind-unbind-docs.patch
327 deleted file mode 100644
328 index 300ee2d..0000000
329 --- a/app-editors/nano/files/nano-2.3.1-bind-unbind-docs.patch
330 +++ /dev/null
331 @@ -1,118 +0,0 @@
332 -From 5afd6d3e9558f8295496f7c59c765947e7f19d8a Mon Sep 17 00:00:00 2001
333 -From: Mike Frysinger <vapier@g.o>
334 -Date: Mon, 28 Nov 2011 15:37:02 -0500
335 -Subject: [PATCH 1/2] nanorc(5): fix bind/unbind documentation
336 -
337 -The unbind section is listed after valid key/menu/functions, but tries
338 -to say those sections come after it. So reorganization the section so
339 -that bind/unbind comes first, and then we cover the key/menu/functions
340 -after both of them.
341 -
342 -Signed-off-by: Mike Frysinger <vapier@g.o>
343 ----
344 - doc/man/nanorc.5 | 32 +++++++++++++++++++-------------
345 - 1 file changed, 19 insertions(+), 13 deletions(-)
346 -
347 -diff --git a/doc/man/nanorc.5 b/doc/man/nanorc.5
348 -index da33179..2da71ab 100644
349 ---- a/doc/man/nanorc.5
350 -+++ b/doc/man/nanorc.5
351 -@@ -282,9 +282,19 @@ Read in self-contained color syntaxes from \fIsyntaxfile\fP. Note that
352 - .SH KEY BINDINGS
353 - Key bindings may be reassigned via the following commands:
354 - .TP
355 --.B bind \fIkey\fP \fIfunction\fP \fImenu\fP
356 -+.B bind \fIkey\fP \fIfunction\fP \fImenu\fP
357 - Rebinds the key \fIkey\fP to a new function named \fIfunction\fP in the
358 --context of menu \fImenu\fP. The format of \fIkey\fP should be one of:
359 -+context of menu \fImenu\fP.
360 -+.TP
361 -+.B unbind \fIkey\fP \fImenu\fP
362 -+Unbind the key \fIkey\fP from the menu named \fImenu\fP or from all
363 -+menus by using \fIall\fP. Same key syntax as for binding.
364 -+Rebinds the key \fIkey\fP to a new function named \fIfunction\fP in the
365 -+context of menu \fImenu\fP.
366 -+.TP
367 -+
368 -+The format of \fIkey\fP should be one of:
369 -+
370 - .TP
371 - .B ^
372 - followed by an alpha character or the word "Space".
373 -@@ -298,8 +308,10 @@ Example: M-C
374 - followed by a numeric value from 1 to 16.
375 - Example: F10
376 - .TP
377 --Valid function names to be bound include:
378 --.TP 3
379 -+
380 -+Valid \fIfunction\fP names to be bound include:
381 -+
382 -+.TP 2
383 - .B help
384 - Invoke the help menu.
385 - .TP
386 -@@ -506,8 +518,9 @@ Toggle whether long lines will be wrapped to the next line.
387 - Toggle whether the suspend sequence (normally ^Z) will suspend the editor window.
388 - .TP
389 -
390 --Valid menu sections are:
391 --.TP
392 -+Valid \fImenu\fP sections are:
393 -+
394 -+.TP 2
395 - .B main
396 - The main editor window where text is entered.
397 - .TP
398 -@@ -549,13 +562,6 @@ The 'go to directory' menu.
399 - .TP
400 - .B all
401 - A special name meaning: apply to all menus where this function exists.
402 --
403 --.TP
404 --.B unbind \fIkey\fP \fImenu\fP
405 --Unbind the key \fIkey\fP from the menu named \fImenu\fP or from all
406 --menus by using \fIall\fP. Same key syntax as for binding.
407 --Rebinds the key \fIkey\fP to a new function named \fIfunction\fP in the
408 --context of menu \fImenu\fP. The format of \fIkey\fP should be one of:
409 - .SH FILES
410 - .TP
411 - .I SYSCONFDIR/nanorc
412 ---
413 -1.7.9.7
414 -
415 -From 4b3e912d4a5c3561d1cfaf944d33ba9c30a9a555 Mon Sep 17 00:00:00 2001
416 -From: Mike Frysinger <vapier@g.o>
417 -Date: Mon, 28 Nov 2011 15:38:26 -0500
418 -Subject: [PATCH 2/2] nanorc syntax: add bind/unbind commands
419 -
420 -We don't currently handle the bind/unbind commands, so adding them to
421 -your nanorc file with colorization enabled makes it look like they're
422 -not actually supported.
423 -
424 -Signed-off-by: Mike Frysinger <vapier@g.o>
425 ----
426 - doc/syntax/nanorc.nanorc | 6 ++++--
427 - 1 file changed, 4 insertions(+), 2 deletions(-)
428 -
429 -diff --git a/doc/syntax/nanorc.nanorc b/doc/syntax/nanorc.nanorc
430 -index bda5f4f..287be56 100644
431 ---- a/doc/syntax/nanorc.nanorc
432 -+++ b/doc/syntax/nanorc.nanorc
433 -@@ -2,10 +2,12 @@
434 - ##
435 - syntax "nanorc" "\.?nanorc$"
436 - ## Possible errors and parameters
437 --icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$"
438 -+icolor brightwhite "^[[:space:]]*((un)?(bind|set)|include|syntax|i?color).*$"
439 - ## Keywords
440 - icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(allow_insecure_backup|autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|matchbrackets|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|operatingdir|poslog|preserve|punct)\>" "^[[:space:]]*(set|unset)[[:space:]]+(quickblank|quotestr|rebinddelete|rebindkeypad|regexp|smarthome|smooth|softwrap|speller|suspend|suspendenable|tabsize|tabstospaces|tempfile|undo|view|whitespace|wordbounds)\>"
441 --icolor green "^[[:space:]]*(set|unset|include|syntax|header|magic)\>"
442 -+icolor brightgreen "^[[:space:]]*bind[[:space:]]+((\^|M-)([[:alpha:]]|space)|F([0-9]|1[0-6]))[[:space:]]+[[:alpha:]]+[[:space:]]+[[:alpha:]]+[[:space:]]*$"
443 -+icolor brightgreen "^[[:space:]]*unbind[[:space:]]+((\^|M-)([[:alpha:]]|space)|F([0-9]|1[0-6]))[[:space:]]+[[:alpha:]]+[[:space:]]*$"
444 -+icolor green "^[[:space:]]*((un)?(bind|set)|include|syntax|header|magic)\>"
445 - ## Colors
446 - icolor yellow "^[[:space:]]*i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"
447 - icolor magenta "^[[:space:]]*i?color\>" "\<(start|end)="
448 ---
449 -1.7.9.7
450
451 diff --git a/app-editors/nano/files/nano-2.3.1-drop-target.patch b/app-editors/nano/files/nano-2.3.1-drop-target.patch
452 deleted file mode 100644
453 index 3b56476..0000000
454 --- a/app-editors/nano/files/nano-2.3.1-drop-target.patch
455 +++ /dev/null
456 @@ -1,30 +0,0 @@
457 -From 0708d921211fa0f89288690593c406a682b2c826 Mon Sep 17 00:00:00 2001
458 -From: Mike Frysinger <vapier@g.o>
459 -Date: Tue, 14 Jun 2011 16:00:52 -0400
460 -Subject: [PATCH] drop --target as it makes no sense
461 -
462 -Since nano doesn't produce code, the --target option to configure
463 -doesn't make sense. So only support --{build,host} since those are
464 -what we need in order to cross-compile.
465 -
466 -Signed-off-by: Mike Frysinger <vapier@g.o>
467 ----
468 - configure.ac | 2 +-
469 - 1 file changed, 1 insertion(+), 1 deletion(-)
470 -
471 -diff --git a/configure.ac b/configure.ac
472 -index c590737..3eb61c2 100644
473 ---- a/configure.ac
474 -+++ b/configure.ac
475 -@@ -22,7 +22,7 @@
476 -
477 - AC_INIT([GNU nano], [2.3.1], [nano-devel@×××.org], [nano])
478 - AC_CONFIG_SRCDIR([src/nano.c])
479 --AC_CANONICAL_TARGET([])
480 -+AC_CANONICAL_HOST
481 - AM_INIT_AUTOMAKE
482 - AC_CONFIG_HEADERS([config.h])
483 -
484 ---
485 -1.7.9.7
486 -
487
488 diff --git a/app-editors/nano/files/nano-2.3.1-gentoo-nanorc.patch b/app-editors/nano/files/nano-2.3.1-gentoo-nanorc.patch
489 deleted file mode 100644
490 index c775e29..0000000
491 --- a/app-editors/nano/files/nano-2.3.1-gentoo-nanorc.patch
492 +++ /dev/null
493 @@ -1,95 +0,0 @@
494 -From 7051588fee7a20a69c67c8899b3e6c35ebf51fbf Mon Sep 17 00:00:00 2001
495 -From: Mike Frysinger <vapier@g.o>
496 -Date: Sat, 25 Aug 2012 23:03:22 -0400
497 -Subject: [PATCH] gentoo syntax: update
498 -
499 -Update to newer EAPIs, and fold in updated shell changes too.
500 -Much of this is based on work by Davide.
501 -
502 -Reported-by: Davide Pesavento <pesa@g.o>
503 -Signed-off-by: Mike Frysinger <vapier@g.o>
504 ----
505 - doc/syntax/gentoo.nanorc | 46 +++++++++++++++++++++++++++-------------------
506 - 1 file changed, 27 insertions(+), 19 deletions(-)
507 -
508 -diff --git a/doc/syntax/gentoo.nanorc b/doc/syntax/gentoo.nanorc
509 -index 2ad1597..ad89fce 100644
510 ---- a/doc/syntax/gentoo.nanorc
511 -+++ b/doc/syntax/gentoo.nanorc
512 -@@ -2,30 +2,38 @@
513 - ##
514 - syntax "ebuild" "\.e(build|class)$"
515 - ## All the standard portage functions
516 --color brightgreen "^src_(unpack|prepare|configure|compile|install|test)" "^pkg_(config|nofetch|setup|(pre|post)(inst|rm))"
517 -+color brightgreen "(^|\<default_)src_(unpack|prepare|configure|compile|install|test)\>"
518 -+color brightgreen "^pkg_(config|nofetch|pretend|setup|(pre|post)(inst|rm))\>"
519 -+color brightgreen "\<default(_pkg_nofetch)?\>"
520 - ## Highlight bash related syntax
521 --color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while|continue|break)\>"
522 --color green "\<(declare|eval|exec|let)\>"
523 --color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
524 --color green "-[edfgruwxL]\>"
525 --color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>"
526 -+color green "\<(break|case|continue|do|done|elif|else|esac|exit|fi|for|function|if|in|read|return|select|shift|then|time|until|while)\>"
527 -+color green "\<(declare|eval|exec|export|let|local)\>"
528 -+color green "[{}():;|`$<>!=&\\]" "(\]|\[)"
529 -+color green "-[defhnrsuwxzL]\>"
530 -+color green "-(eq|ne|gt|lt|ge|le)\>"
531 - ## Highlight variables ... official portage ones in red, all others in bright red
532 --color brightred "\$\{?[a-zA-Z_0-9]+\}?"
533 --color red "\<(EAPI|ARCH|HOMEPAGE|DESCRIPTION|IUSE|SRC_URI|LICENSE|SLOT|KEYWORDS|(P|R)?DEPEND|PROVIDE|PROPERTIES|RESTRICT|USERLAND)\>"
534 --color red "\<(S|D|T|PV|PF|P|PN|PR|PVR|A|CATEGORY|DISTDIR|FILESDIR|ROOT|WORKDIR)\>" "\<(AS|C(PP|XX)?|LD)FLAGS\>" "\<C(HOST|TARGET|BUILD)\>"
535 --color red "\<QA_((TEXTRELS|EXECSTACK|WX_LOAD)(_[a-zA-Z_0-9]+)?|DT_HASH|PRESTRIPPED)\>" "\<WANT_AUTO(CONF|MAKE)\>" "\<AT_M4DIR\>"
536 -+color brightred "\$[-0-9@*#?$!]" "\$[[:alpha:]_][[:alnum:]_]*"
537 -+color brightred "\$\{[#!]?([-@*#?$!]|[0-9]+|[[:alpha:]_][[:alnum:]_]*)(\[([[:digit:]]|@)+\])?(([#%/]|:?[-=?+])[^}]*\}|\[|\})"
538 -+color red "\<(EAPI|ARCH|HOMEPAGE|DESCRIPTION|IUSE|SRC_URI|LICENSE|SLOT|KEYWORDS|(P|R)?DEPEND|PROVIDE|PROPERTIES|REQUIRED_USE|RESTRICT|USERLAND)\>"
539 -+color red "\<(S|E?D|T|PV|PF|P|PN|PR|PVR|A|CATEGORY|DISTDIR|FILESDIR|EPREFIX|E?ROOT|WORKDIR)\>"
540 -+color red "\<(AS|C(PP|XX)?|LD)FLAGS\>" "\<C(HOST|TARGET|BUILD)\>"
541 -+color red "\<QA_((TEXTRELS|EXECSTACK|WX_LOAD)(_[a-zA-Z_0-9]+)?|DT_HASH|PRESTRIPPED)\>"
542 -+color red "\<(PATCHES|(HTML_)?DOCS)\>" "\<WANT_(AUTO(CONF|MAKE)|LIBTOOL)\>" "\<AT_M4DIR\>"
543 - ## Highlight portage commands
544 --color magenta "\<use(_(with|enable))?\> [!a-zA-Z0-9_+ -]*" "inherit.*"
545 --color brightblue "\<e(begin|end|conf|install|make|qmake[34]|ant|(qa)?warn|infon?|error|log|patch|new(group|user))\>"
546 --color brightblue "\<e(pause|beep|mktemp|(cvs|svn)_clean|punt_cxx)\>" "\<e(aclocal|auto(reconf|header|conf|make))\>"
547 --color brightblue "\<built_with_use\>" "\<make_desktop_entry\>" "\<unpack(_(makeself|pdv))?\>"
548 --color brightblue "\<die\>" "\<use(_(with|enable))?\>" "\<inherit\>" "\<has\>" "\<(has|best)_version\>"
549 -+color magenta "\<(use(_(with|enable|if_iuse)|x)?|in_iuse)\> [!a-zA-Z0-9_+ -]*" "inherit.*"
550 -+color brightblue "\<e(begin|end|conf|install|make|qmake4|ant|(qa)?warn|infon?|error|log|patch(_user)?|new(group|user))\>"
551 -+color brightblue "\<e(pause|beep|mktemp|(cvs|svn)_clean|punt_cxx)\>" "\<e(aclocal|auto(reconf|header|conf|make)|libtoolize)\>"
552 -+color brightblue "\<e(stack|shopts|umask)_(push|pop)\>" "\<version_is_at_least\>"
553 -+color brightblue "\<make_desktop_entry\>" "\<unpack(_(makeself|pdv))?\>"
554 -+color brightblue "\<(die|has|inherit|nonfatal)\>" "\<(use(_(with|enable|if_iuse)|x)?|in_iuse)\>" "\<(has|best)_version\>"
555 - color brightblue "\<(do|new)(ins|(games)?s?bin|doc|lib(\.so|\.a)?|man|info|exe|initd|confd|envd|pam|menu|icon)\>"
556 --color brightblue "\<do(python|sed|dir|hard|sym|html|jar|mo)\>" "\<keepdir\>"
557 --color brightblue "prepall(docs|info|man|strip)?" "prep(info|lib|lib\.(so|a)|man|strip|gamesdirs)"
558 -+color brightblue "\<do(compress|python|sed|dir|hard|sym|html|jar|mo)\>" "\<keepdir\>"
559 -+color brightblue "\<prepall(docs|info|man|strip)?\>" "\<prep(info|lib|lib\.(so|a)|man|strip|gamesdirs)\>"
560 - color brightblue "\<(doc|ins|exe)?into\>" "\<(f|games)(owners|perms)\>" "\<(exe|ins|dir)opts\>"
561 -+color brightblue "\<tc-get(BUILD_)?(AR|AS|CC|CPP|CXX|LD|NM|OBJCOPY|PKG_CONFIG|RANLIB)\>"
562 -+color brightblue "\<tc-(arch(-kernel)?|export|has-(tls|openmp))\>"
563 - ## Highlight common commands used in ebuilds
564 --color blue "\<make\>" "\<(awk|cat|cd|chmod|chown|cp|echo|env|export|find|e?grep|ln|mkdir|mv|rm|sed|set|tar|touch|unset|xargs)\>"
565 -+color blue "\<(awk|cat|cd|chmod|chown|cp|echo|env|find|e?grep|ln|make|mkdir|mv|popd|printf|pushd|rm|rmdir|sed|set|tar|touch|unset|xargs)\>"
566 - ## Highlight comments (doesnt work that well)
567 - color yellow "(^|[[:space:]])#.*$"
568 - ## Highlight strings (doesnt work that well)
569 -@@ -35,7 +43,7 @@ color ,green "[[:space:]]+$"
570 -
571 - ## Here is an example for Portage control files
572 - ##
573 --syntax "/etc/portage" "\.(keywords|mask|unmask|use)(/.+)?$"
574 -+syntax "/etc/portage" "\.(accept_keywords|env|keywords|mask|unmask|use)(/.+)?$"
575 - ## Base text:
576 - color green "^.+$"
577 - ## Use flags:
578 ---
579 -1.8.3.2
580 -
581 ---- a/doc/syntax/gentoo.nanorc
582 -+++ b/doc/syntax/gentoo.nanorc
583 -@@ -61,3 +61,5 @@ color cyan "^[[:space:]]*.*/"
584 - color brightmagenta "^[[:space:]]*(=|~|<|<=|=<|>|>=|=>)"
585 - ## Comments:
586 - color yellow "#.*$"
587 -+## Trailing space is bad!
588 -+color ,green "[[:space:]]+$"
589
590 diff --git a/app-editors/nano/files/nano-2.3.1-ncurses-pkg-config.patch b/app-editors/nano/files/nano-2.3.1-ncurses-pkg-config.patch
591 deleted file mode 100644
592 index 84bd0b7..0000000
593 --- a/app-editors/nano/files/nano-2.3.1-ncurses-pkg-config.patch
594 +++ /dev/null
595 @@ -1,52 +0,0 @@
596 -From c662db58448fefe86184117e6bab5799e43eccf1 Mon Sep 17 00:00:00 2001
597 -From: Mike Frysinger <vapier@g.o>
598 -Date: Sun, 1 Jan 2012 02:26:16 -0500
599 -Subject: [PATCH] search ncurses via pkg-config first
600 -
601 -Newer ncurses installs include pkg-config files which tell us the right
602 --I/-L paths we need, so default to that before trying the legacy ways.
603 -
604 -Signed-off-by: Mike Frysinger <vapier@g.o>
605 ----
606 - configure.ac | 18 ++++++++++++++++++
607 - 1 files changed, 18 insertions(+), 0 deletions(-)
608 -
609 -diff --git a/configure.ac b/configure.ac
610 -index 1f61ae4..05308be 100644
611 ---- a/configure.ac
612 -+++ b/configure.ac
613 -@@ -35,6 +35,7 @@ AC_PROG_CC
614 - AC_PROG_LN_S
615 - AC_ISC_POSIX
616 - AC_SYS_LARGEFILE
617 -+PKG_PROG_PKG_CONFIG
618 -
619 - dnl Internationalization macros.
620 -
621 -@@ -439,6 +440,23 @@ AC_CHECK_FUNCS(getopt_long)
622 - dnl Checks for libraries.
623 -
624 - if eval "test x$CURSES_LIB_NAME = x"; then
625 -+ if test x$enable_utf8 != xno; then
626 -+ PKG_CHECK_MODULES([NCURSESW], [ncursesw], [
627 -+ CURSES_LIB=$NCURSESW_LIBS
628 -+ CPPFLAGS="$NCURSESW_CFLAGS $CPPFLAGS"
629 -+ CURSES_LIB_NAME=ncursesw
630 -+ CURSES_LIB_WIDE=yes
631 -+ ], [:])
632 -+ else
633 -+ PKG_CHECK_MODULES([NCURSES], [ncurses], [
634 -+ CURSES_LIB=$NCURSES_LIBS
635 -+ CPPFLAGS="$NCURSES_CFLAGS $CPPFLAGS"
636 -+ CURSES_LIB_NAME=ncurses
637 -+ ], [:])
638 -+ fi
639 -+fi
640 -+
641 -+if eval "test x$CURSES_LIB_NAME = x"; then
642 - AC_CHECK_HEADERS(ncurses.h)
643 -
644 - if test x$enable_utf8 != xno; then
645 ---
646 -1.7.6.1
647 -
648
649 diff --git a/app-editors/nano/files/nano-2.3.1-shell-nanorc.patch b/app-editors/nano/files/nano-2.3.1-shell-nanorc.patch
650 deleted file mode 100644
651 index 805130f..0000000
652 --- a/app-editors/nano/files/nano-2.3.1-shell-nanorc.patch
653 +++ /dev/null
654 @@ -1,44 +0,0 @@
655 -From 5a6a9c107148162f47032b03af3f393c3888c5df Mon Sep 17 00:00:00 2001
656 -From: Mike Frysinger <vapier@g.o>
657 -Date: Tue, 28 Feb 2012 11:14:33 -0500
658 -Subject: [PATCH] shell syntax: major updates
659 -
660 -Highlight more shell builtins and common commands.
661 -
662 -Rewrite the variable highlighting to be more exact and handle cases where
663 -string operations are used.
664 -
665 -Signed-off-by: Mike Frysinger <vapier@g.o>
666 ----
667 - doc/syntax/sh.nanorc | 13 +++++++++----
668 - 1 file changed, 9 insertions(+), 4 deletions(-)
669 -
670 -diff --git a/doc/syntax/sh.nanorc b/doc/syntax/sh.nanorc
671 -index f660105..a664ef6 100644
672 ---- a/doc/syntax/sh.nanorc
673 -+++ b/doc/syntax/sh.nanorc
674 -@@ -4,12 +4,17 @@ syntax "sh" "\.sh$"
675 - magic "(POSIX|Bourne.*) shell script text"
676 - header "^#!.*/(ba|k|pdk)?sh[-0-9_]*"
677 - icolor brightgreen "^[0-9A-Z_]+\(\)"
678 --color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>"
679 --color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
680 -+color green "\<(break|case|continue|do|done|elif|else|esac|exit|fi|for|function|if|in|read|return|select|shift|then|time|until|while)\>"
681 -+color green "\<(declare|eval|exec|export|let|local)\>"
682 -+color green "[{}():;|`$<>!=&\\]" "(\]|\[)"
683 - color green "-[Ldefgruwx]\>"
684 - color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>"
685 --color brightblue "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|install|let|ln|make|mkdir|mv|rm|sed|set|tar|touch|umask|unset)\>"
686 --icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
687 -+color brightblue "\<(awk|cat|cd|ch(grp|mod|own)|cp|echo|env|grep|install|ln|make|mkdir|mv|popd|printf|pushd|rm|rmdir|sed|set|tar|touch|umask|unset)\>"
688 -+# Basic variable names (no braces)
689 -+color brightred "\$[-0-9@*#?$!]" "\$[[:alpha:]_][[:alnum:]_]*"
690 -+# More complicated variable names; handles braces
691 -+# and replacements and arrays
692 -+color brightred "\$\{[#!]?([-@*#?$!]|[0-9]+|[[:alpha:]_][[:alnum:]_]*)(\[([[:space:]]*[[:alnum:]_]+[[:space:]]*|@)\])?(([#%/]|:?[-=?+])[^}]*\}|\[|\})"
693 - color cyan "(^|[[:space:]])#.*$"
694 - color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
695 - color ,green "[[:space:]]+$"
696 ---
697 -1.7.9.7
698 -
699
700 diff --git a/app-editors/nano/files/nano-2.3.2-bind-unbind-docs.patch b/app-editors/nano/files/nano-2.3.2-bind-unbind-docs.patch
701 deleted file mode 100644
702 index cd7dd34..0000000
703 --- a/app-editors/nano/files/nano-2.3.2-bind-unbind-docs.patch
704 +++ /dev/null
705 @@ -1,119 +0,0 @@
706 -From 17e1ba8530b9e21932935ad052ad416a0c2058a7 Mon Sep 17 00:00:00 2001
707 -From: Mike Frysinger <vapier@g.o>
708 -Date: Mon, 28 Nov 2011 15:37:02 -0500
709 -Subject: [PATCH] nanorc(5): fix bind/unbind documentation
710 -
711 -The unbind section is listed after valid key/menu/functions, but tries
712 -to say those sections come after it. So reorganization the section so
713 -that bind/unbind comes first, and then we cover the key/menu/functions
714 -after both of them.
715 -
716 -Signed-off-by: Mike Frysinger <vapier@g.o>
717 ----
718 - doc/man/nanorc.5 | 32 +++++++++++++++++++-------------
719 - 1 file changed, 19 insertions(+), 13 deletions(-)
720 -
721 -diff --git a/doc/man/nanorc.5 b/doc/man/nanorc.5
722 -index b9c0a19..3fc3c5d 100644
723 ---- a/doc/man/nanorc.5
724 -+++ b/doc/man/nanorc.5
725 -@@ -285,9 +285,19 @@ Read in self-contained color syntaxes from \fIsyntaxfile\fP. Note that
726 - .SH KEY BINDINGS
727 - Key bindings may be reassigned via the following commands:
728 - .TP
729 --.B bind \fIkey\fP \fIfunction\fP \fImenu\fP
730 -+.B bind \fIkey\fP \fIfunction\fP \fImenu\fP
731 - Rebinds the key \fIkey\fP to a new function named \fIfunction\fP in the
732 --context of menu \fImenu\fP. The format of \fIkey\fP should be one of:
733 -+context of menu \fImenu\fP.
734 -+.TP
735 -+.B unbind \fIkey\fP \fImenu\fP
736 -+Unbind the key \fIkey\fP from the menu named \fImenu\fP or from all
737 -+menus by using \fIall\fP. Same key syntax as for binding.
738 -+Rebinds the key \fIkey\fP to a new function named \fIfunction\fP in the
739 -+context of menu \fImenu\fP.
740 -+.TP
741 -+
742 -+The format of \fIkey\fP should be one of:
743 -+
744 - .TP
745 - .B ^
746 - followed by an alpha character or the word "Space".
747 -@@ -301,8 +311,10 @@ Example: M-C
748 - followed by a numeric value from 1 to 16.
749 - Example: F10
750 - .TP
751 --Valid function names to be bound include:
752 --.TP 3
753 -+
754 -+Valid \fIfunction\fP names to be bound include:
755 -+
756 -+.TP 2
757 - .B help
758 - Invoke the help menu.
759 - .TP
760 -@@ -509,8 +521,9 @@ Toggle whether long lines will be wrapped to the next line.
761 - Toggle whether the suspend sequence (normally ^Z) will suspend the editor window.
762 - .TP
763 -
764 --Valid menu sections are:
765 --.TP
766 -+Valid \fImenu\fP sections are:
767 -+
768 -+.TP 2
769 - .B main
770 - The main editor window where text is entered.
771 - .TP
772 -@@ -552,13 +565,6 @@ The 'go to directory' menu.
773 - .TP
774 - .B all
775 - A special name meaning: apply to all menus where this function exists.
776 --
777 --.TP
778 --.B unbind \fIkey\fP \fImenu\fP
779 --Unbind the key \fIkey\fP from the menu named \fImenu\fP or from all
780 --menus by using \fIall\fP. Same key syntax as for binding.
781 --Rebinds the key \fIkey\fP to a new function named \fIfunction\fP in the
782 --context of menu \fImenu\fP. The format of \fIkey\fP should be one of:
783 - .SH FILES
784 - .TP
785 - .I SYSCONFDIR/nanorc
786 ---
787 -1.8.1.2
788 -
789 -From 0d49d9f0c62013e0d86169a92a2d0f5557e7be05 Mon Sep 17 00:00:00 2001
790 -From: Mike Frysinger <vapier@g.o>
791 -Date: Mon, 28 Nov 2011 15:38:26 -0500
792 -Subject: [PATCH] nanorc syntax: add bind/unbind commands
793 -
794 -We don't currently handle the bind/unbind commands, so adding them to
795 -your nanorc file with colorization enabled makes it look like they're
796 -not actually supported.
797 -
798 -Signed-off-by: Mike Frysinger <vapier@g.o>
799 ----
800 - doc/syntax/nanorc.nanorc | 6 ++++--
801 - 1 file changed, 4 insertions(+), 2 deletions(-)
802 -
803 -diff --git a/doc/syntax/nanorc.nanorc b/doc/syntax/nanorc.nanorc
804 -index 2c9f23a..494c2f4 100644
805 ---- a/doc/syntax/nanorc.nanorc
806 -+++ b/doc/syntax/nanorc.nanorc
807 -@@ -2,10 +2,12 @@
808 - ##
809 - syntax "nanorc" "\.?nanorc$"
810 - ## Possible errors and parameters
811 --icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$"
812 -+icolor brightwhite "^[[:space:]]*((un)?(bind|set)|include|syntax|i?color).*$"
813 - ## Keywords
814 - icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(allow_insecure_backup|autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|matchbrackets|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|operatingdir|poslog|preserve|punct)\>" "^[[:space:]]*(set|unset)[[:space:]]+(quickblank|quotestr|rebinddelete|rebindkeypad|regexp|smarthome|smooth|softwrap|speller|suspend|suspendenable|tabsize|tabstospaces|tempfile|undo|view|whitespace|wordbounds|locking)\>"
815 --icolor green "^[[:space:]]*(set|unset|include|syntax|header|magic)\>"
816 -+icolor brightgreen "^[[:space:]]*bind[[:space:]]+((\^|M-)([[:alpha:]]|space)|F([0-9]|1[0-6]))[[:space:]]+[[:alpha:]]+[[:space:]]+[[:alpha:]]+[[:space:]]*$"
817 -+icolor brightgreen "^[[:space:]]*unbind[[:space:]]+((\^|M-)([[:alpha:]]|space)|F([0-9]|1[0-6]))[[:space:]]+[[:alpha:]]+[[:space:]]*$"
818 -+icolor green "^[[:space:]]*((un)?(bind|set)|include|syntax|header|magic)\>"
819 - ## Colors
820 - icolor yellow "^[[:space:]]*i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"
821 - icolor magenta "^[[:space:]]*i?color\>" "\<(start|end)="
822 ---
823 -1.8.1.2
824 -
825
826 diff --git a/app-editors/nano/nano-1.3.12-r1.ebuild b/app-editors/nano/nano-1.3.12-r1.ebuild
827 deleted file mode 100644
828 index ad05ed3..0000000
829 --- a/app-editors/nano/nano-1.3.12-r1.ebuild
830 +++ /dev/null
831 @@ -1,80 +0,0 @@
832 -# Copyright 1999-2009 Gentoo Foundation
833 -# Distributed under the terms of the GNU General Public License v2
834 -# $Id$
835 -
836 -#ECVS_SERVER="savannah.gnu.org:/cvsroot/nano"
837 -#ECVS_MODULE="nano"
838 -#ECVS_AUTH="pserver"
839 -#ECVS_USER="anonymous"
840 -#inherit cvs
841 -inherit eutils
842 -
843 -MY_P=${PN}-${PV/_}
844 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
845 -HOMEPAGE="http://www.nano-editor.org/"
846 -SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
847 -
848 -LICENSE="GPL-2"
849 -SLOT="0"
850 -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
851 -IUSE="debug justify minimal ncurses nls slang spell unicode"
852 -
853 -DEPEND=">=sys-libs/ncurses-5.2
854 - nls? ( sys-devel/gettext )
855 - !ncurses? ( slang? ( sys-libs/slang ) )"
856 -
857 -src_unpack() {
858 - unpack ${A}
859 - cd "${S}"
860 - epatch "${FILESDIR}"/${P}-path.patch
861 - epatch "${FILESDIR}"/${P}-scroll.patch
862 - epatch "${FILESDIR}"/${P}-fix2.patch
863 -}
864 -
865 -src_compile() {
866 - if [[ ! -e configure ]] ; then
867 - ./autogen.sh || die "autogen failed"
868 - fi
869 -
870 - local myconf=""
871 - use ncurses \
872 - && myconf="--without-slang" \
873 - || myconf="${myconf} $(use_with slang)"
874 -
875 - econf \
876 - --bindir=/bin \
877 - --enable-color \
878 - --enable-multibuffer \
879 - --enable-nanorc \
880 - --disable-wrapping-as-root \
881 - $(use_enable spell speller) \
882 - $(use_enable justify) \
883 - $(use_enable debug) \
884 - $(use_enable nls) \
885 - $(use_enable unicode utf8) \
886 - $(use_enable minimal tiny) \
887 - ${myconf} \
888 - || die "configure failed"
889 - emake || die
890 -}
891 -
892 -src_install() {
893 - emake DESTDIR="${D}" install || die
894 -
895 - dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO
896 - dohtml *.html
897 - insinto /etc
898 - newins doc/nanorc.sample nanorc
899 -
900 - insinto /usr/share/nano
901 - doins "${FILESDIR}"/*.nanorc || die
902 - echo $'\n''# include "/usr/share/nano/gentoo.nanorc"' >> "${D}"/etc/nanorc
903 -
904 - dodir /usr/bin
905 - dosym /bin/nano /usr/bin/nano
906 -}
907 -
908 -pkg_postinst() {
909 - einfo "More helpful info about nano, visit the GDP page:"
910 - einfo "https://www.gentoo.org/doc/en/nano-basics-guide.xml"
911 -}
912
913 diff --git a/app-editors/nano/nano-2.0.9.ebuild b/app-editors/nano/nano-2.0.9.ebuild
914 deleted file mode 100644
915 index 33a5335..0000000
916 --- a/app-editors/nano/nano-2.0.9.ebuild
917 +++ /dev/null
918 @@ -1,79 +0,0 @@
919 -# Copyright 1999-2009 Gentoo Foundation
920 -# Distributed under the terms of the GNU General Public License v2
921 -# $Id$
922 -
923 -inherit eutils
924 -if [[ ${PV} == "9999" ]] ; then
925 - ECVS_SERVER="savannah.gnu.org:/cvsroot/nano"
926 - ECVS_MODULE="nano"
927 - ECVS_AUTH="pserver"
928 - ECVS_USER="anonymous"
929 - inherit cvs
930 -else
931 - MY_P=${PN}-${PV/_}
932 - SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
933 -fi
934 -
935 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
936 -HOMEPAGE="http://www.nano-editor.org/"
937 -
938 -LICENSE="GPL-3"
939 -SLOT="0"
940 -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
941 -IUSE="debug justify minimal ncurses nls slang spell unicode"
942 -
943 -DEPEND=">=sys-libs/ncurses-5.2
944 - nls? ( sys-devel/gettext )
945 - !ncurses? ( slang? ( sys-libs/slang ) )"
946 -
947 -src_unpack() {
948 - unpack ${A}
949 - cd "${S}"
950 - if [[ ! -e configure ]] ; then
951 - ./autogen.sh || die "autogen failed"
952 - fi
953 -}
954 -
955 -src_compile() {
956 - local myconf=""
957 - use ncurses \
958 - && myconf="--without-slang" \
959 - || myconf="${myconf} $(use_with slang)"
960 -
961 - econf \
962 - --bindir=/bin \
963 - --enable-color \
964 - --enable-multibuffer \
965 - --enable-nanorc \
966 - --disable-wrapping-as-root \
967 - $(use_enable spell speller) \
968 - $(use_enable justify) \
969 - $(use_enable debug) \
970 - $(use_enable nls) \
971 - $(use_enable unicode utf8) \
972 - $(use_enable minimal tiny) \
973 - ${myconf} \
974 - || die "configure failed"
975 - emake || die
976 -}
977 -
978 -src_install() {
979 - emake DESTDIR="${D}" install || die
980 -
981 - dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO
982 - dohtml *.html
983 - insinto /etc
984 - newins doc/nanorc.sample nanorc
985 -
986 - insinto /usr/share/nano
987 - doins "${FILESDIR}"/*.nanorc || die
988 - echo $'\n''# include "/usr/share/nano/gentoo.nanorc"' >> "${D}"/etc/nanorc
989 -
990 - dodir /usr/bin
991 - dosym /bin/nano /usr/bin/nano
992 -}
993 -
994 -pkg_postinst() {
995 - einfo "More helpful info about nano, visit the GDP page:"
996 - einfo "https://www.gentoo.org/doc/en/nano-basics-guide.xml"
997 -}
998
999 diff --git a/app-editors/nano/nano-2.1.10.ebuild b/app-editors/nano/nano-2.1.10.ebuild
1000 deleted file mode 100644
1001 index cd5b9c9..0000000
1002 --- a/app-editors/nano/nano-2.1.10.ebuild
1003 +++ /dev/null
1004 @@ -1,84 +0,0 @@
1005 -# Copyright 1999-2009 Gentoo Foundation
1006 -# Distributed under the terms of the GNU General Public License v2
1007 -# $Id$
1008 -
1009 -EAPI=2
1010 -inherit eutils
1011 -if [[ ${PV} == "9999" ]] ; then
1012 - ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano"
1013 - inherit subversion
1014 -else
1015 - MY_P=${PN}-${PV/_}
1016 - SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
1017 -fi
1018 -
1019 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
1020 -HOMEPAGE="http://www.nano-editor.org/"
1021 -
1022 -LICENSE="GPL-3"
1023 -SLOT="0"
1024 -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
1025 -IUSE="debug justify minimal ncurses nls slang spell unicode"
1026 -
1027 -DEPEND=">=sys-libs/ncurses-5.2[unicode?]
1028 - nls? ( sys-devel/gettext )
1029 - !ncurses? ( slang? ( sys-libs/slang ) )"
1030 -
1031 -src_unpack() {
1032 - if [[ ${PV} == "9999" ]] ; then
1033 - subversion_src_unpack
1034 - else
1035 - unpack ${A}
1036 - fi
1037 - cd "${S}"
1038 - if [[ ! -e configure ]] ; then
1039 - ./autogen.sh || die "autogen failed"
1040 - fi
1041 -}
1042 -
1043 -src_configure() {
1044 - local myconf=""
1045 - use ncurses \
1046 - && myconf="--without-slang" \
1047 - || myconf="${myconf} $(use_with slang)"
1048 -
1049 - econf \
1050 - --bindir=/bin \
1051 - $(use_enable !minimal color) \
1052 - $(use_enable !minimal multibuffer) \
1053 - $(use_enable !minimal nanorc) \
1054 - --disable-wrapping-as-root \
1055 - $(use_enable spell speller) \
1056 - $(use_enable justify) \
1057 - $(use_enable debug) \
1058 - $(use_enable nls) \
1059 - $(use_enable unicode utf8) \
1060 - $(use_enable minimal tiny) \
1061 - ${myconf} \
1062 - || die "configure failed"
1063 -}
1064 -
1065 -src_install() {
1066 - emake DESTDIR="${D}" install || die
1067 -
1068 - dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO
1069 - dohtml doc/faq.html
1070 - insinto /etc
1071 - newins doc/nanorc.sample nanorc
1072 -
1073 - dodir /usr/bin
1074 - dosym /bin/nano /usr/bin/nano
1075 -
1076 - insinto /usr/share/nano
1077 - local f
1078 - for f in "${FILESDIR}"/*.nanorc ; do
1079 - [[ -e ${D}/usr/share/nano/${f##*/} ]] && continue
1080 - doins "${f}" || die
1081 - echo "# include \"/usr/share/nano/${f##*/}\"" >> "${D}"/etc/nanorc
1082 - done
1083 -}
1084 -
1085 -pkg_postinst() {
1086 - einfo "More helpful info about nano, visit the GDP page:"
1087 - einfo "https://www.gentoo.org/doc/en/nano-basics-guide.xml"
1088 -}
1089
1090 diff --git a/app-editors/nano/nano-2.2.5.ebuild b/app-editors/nano/nano-2.2.5.ebuild
1091 deleted file mode 100644
1092 index 8977326..0000000
1093 --- a/app-editors/nano/nano-2.2.5.ebuild
1094 +++ /dev/null
1095 @@ -1,84 +0,0 @@
1096 -# Copyright 1999-2011 Gentoo Foundation
1097 -# Distributed under the terms of the GNU General Public License v2
1098 -# $Id$
1099 -
1100 -EAPI=3
1101 -inherit eutils
1102 -if [[ ${PV} == "9999" ]] ; then
1103 - ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano"
1104 - inherit subversion
1105 -else
1106 - MY_P=${PN}-${PV/_}
1107 - SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
1108 -fi
1109 -
1110 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
1111 -HOMEPAGE="http://www.nano-editor.org/"
1112 -
1113 -LICENSE="GPL-3"
1114 -SLOT="0"
1115 -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
1116 -IUSE="debug justify minimal ncurses nls slang spell unicode"
1117 -
1118 -DEPEND=">=sys-libs/ncurses-5.2[unicode?]
1119 - nls? ( sys-devel/gettext )
1120 - !ncurses? ( slang? ( sys-libs/slang ) )"
1121 -
1122 -src_unpack() {
1123 - if [[ ${PV} == "9999" ]] ; then
1124 - subversion_src_unpack
1125 - else
1126 - unpack ${A}
1127 - fi
1128 - cd "${S}"
1129 - if [[ ! -e configure ]] ; then
1130 - ./autogen.sh || die "autogen failed"
1131 - fi
1132 -}
1133 -
1134 -src_configure() {
1135 - local myconf=""
1136 - use ncurses \
1137 - && myconf="--without-slang" \
1138 - || myconf="${myconf} $(use_with slang)"
1139 -
1140 - econf \
1141 - --bindir="${EPREFIX}"/bin \
1142 - $(use_enable !minimal color) \
1143 - $(use_enable !minimal multibuffer) \
1144 - $(use_enable !minimal nanorc) \
1145 - --disable-wrapping-as-root \
1146 - $(use_enable spell speller) \
1147 - $(use_enable justify) \
1148 - $(use_enable debug) \
1149 - $(use_enable nls) \
1150 - $(use_enable unicode utf8) \
1151 - $(use_enable minimal tiny) \
1152 - ${myconf} \
1153 - || die "configure failed"
1154 -}
1155 -
1156 -src_install() {
1157 - emake DESTDIR="${D}" install || die
1158 -
1159 - dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO
1160 - dohtml doc/faq.html
1161 - insinto /etc
1162 - newins doc/nanorc.sample nanorc
1163 -
1164 - dodir /usr/bin
1165 - dosym /bin/nano /usr/bin/nano
1166 -
1167 - insinto /usr/share/nano
1168 - local f
1169 - for f in "${FILESDIR}"/*.nanorc ; do
1170 - [[ -e ${ED}/usr/share/nano/${f##*/} ]] && continue
1171 - doins "${f}" || die
1172 - echo "# include \"/usr/share/nano/${f##*/}\"" >> "${ED}"/etc/nanorc
1173 - done
1174 -}
1175 -
1176 -pkg_postinst() {
1177 - einfo "More helpful info about nano, visit the GDP page:"
1178 - einfo "https://www.gentoo.org/doc/en/nano-basics-guide.xml"
1179 -}
1180
1181 diff --git a/app-editors/nano/nano-2.3.1-r1.ebuild b/app-editors/nano/nano-2.3.1-r1.ebuild
1182 deleted file mode 100644
1183 index 02b0ae6..0000000
1184 --- a/app-editors/nano/nano-2.3.1-r1.ebuild
1185 +++ /dev/null
1186 @@ -1,71 +0,0 @@
1187 -# Copyright 1999-2012 Gentoo Foundation
1188 -# Distributed under the terms of the GNU General Public License v2
1189 -# $Id$
1190 -
1191 -EAPI="3"
1192 -
1193 -inherit eutils autotools
1194 -if [[ ${PV} == "9999" ]] ; then
1195 - ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano"
1196 - inherit subversion autotools
1197 -else
1198 - MY_P=${PN}-${PV/_}
1199 - SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
1200 -fi
1201 -
1202 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
1203 -HOMEPAGE="http://www.nano-editor.org/"
1204 -
1205 -LICENSE="GPL-3"
1206 -SLOT="0"
1207 -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
1208 -IUSE="debug justify minimal ncurses nls slang spell unicode"
1209 -
1210 -RDEPEND=">=sys-libs/ncurses-5.9-r1[unicode?]
1211 - nls? ( sys-devel/gettext )
1212 - !ncurses? ( slang? ( sys-libs/slang ) )"
1213 -DEPEND="${RDEPEND}
1214 - virtual/pkgconfig"
1215 -
1216 -src_prepare() {
1217 - epatch "${FILESDIR}"/${PN}-2.3.1-ncurses-pkg-config.patch
1218 - eautoreconf
1219 -}
1220 -
1221 -src_configure() {
1222 - local myconf=""
1223 - use ncurses \
1224 - && myconf="--without-slang" \
1225 - || myconf="${myconf} $(use_with slang)"
1226 -
1227 - econf \
1228 - --bindir="${EPREFIX}"/bin \
1229 - $(use_enable !minimal color) \
1230 - $(use_enable !minimal multibuffer) \
1231 - $(use_enable !minimal nanorc) \
1232 - --disable-wrapping-as-root \
1233 - $(use_enable spell speller) \
1234 - $(use_enable justify) \
1235 - $(use_enable debug) \
1236 - $(use_enable nls) \
1237 - $(use_enable unicode utf8) \
1238 - $(use_enable minimal tiny) \
1239 - ${myconf}
1240 -}
1241 -
1242 -src_install() {
1243 - emake DESTDIR="${D}" install || die
1244 -
1245 - dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO
1246 - dohtml doc/faq.html
1247 - insinto /etc
1248 - newins doc/nanorc.sample nanorc
1249 -
1250 - dodir /usr/bin
1251 - dosym /bin/nano /usr/bin/nano
1252 -}
1253 -
1254 -pkg_postinst() {
1255 - einfo "More helpful info about nano, visit the GDP page:"
1256 - einfo "https://www.gentoo.org/doc/en/nano-basics-guide.xml"
1257 -}
1258
1259 diff --git a/app-editors/nano/nano-2.3.1-r2.ebuild b/app-editors/nano/nano-2.3.1-r2.ebuild
1260 deleted file mode 100644
1261 index afb9bbd..0000000
1262 --- a/app-editors/nano/nano-2.3.1-r2.ebuild
1263 +++ /dev/null
1264 @@ -1,68 +0,0 @@
1265 -# Copyright 1999-2013 Gentoo Foundation
1266 -# Distributed under the terms of the GNU General Public License v2
1267 -# $Id$
1268 -
1269 -EAPI="3"
1270 -
1271 -inherit eutils autotools
1272 -if [[ ${PV} == "9999" ]] ; then
1273 - ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano"
1274 - inherit subversion autotools
1275 -else
1276 - MY_P=${PN}-${PV/_}
1277 - SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
1278 -fi
1279 -
1280 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
1281 -HOMEPAGE="http://www.nano-editor.org/ https://www.gentoo.org/doc/en/nano-basics-guide.xml"
1282 -
1283 -LICENSE="GPL-3"
1284 -SLOT="0"
1285 -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
1286 -IUSE="debug justify +magic minimal ncurses nls slang spell unicode"
1287 -
1288 -RDEPEND=">=sys-libs/ncurses-5.9-r1[unicode?]
1289 - magic? ( sys-apps/file )
1290 - nls? ( virtual/libintl )
1291 - !ncurses? ( slang? ( sys-libs/slang ) )"
1292 -DEPEND="${RDEPEND}
1293 - nls? ( sys-devel/gettext )
1294 - virtual/pkgconfig"
1295 -
1296 -src_prepare() {
1297 - epatch "${FILESDIR}"/${PN}-2.3.1-drop-target.patch
1298 - epatch "${FILESDIR}"/${PN}-2.3.1-ncurses-pkg-config.patch
1299 - epatch "${FILESDIR}"/${PN}-2.3.1-bind-unbind-docs.patch
1300 - epatch "${FILESDIR}"/${PN}-2.3.1-{shell,gentoo}-nanorc.patch
1301 - eautoreconf
1302 -}
1303 -
1304 -src_configure() {
1305 - eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic)
1306 - econf \
1307 - --bindir="${EPREFIX}"/bin \
1308 - $(use_enable !minimal color) \
1309 - $(use_enable !minimal multibuffer) \
1310 - $(use_enable !minimal nanorc) \
1311 - --disable-wrapping-as-root \
1312 - $(use_enable spell speller) \
1313 - $(use_enable justify) \
1314 - $(use_enable debug) \
1315 - $(use_enable nls) \
1316 - $(use_enable unicode utf8) \
1317 - $(use_enable minimal tiny) \
1318 - $(usex ncurses --without-slang $(use_with slang))
1319 -}
1320 -
1321 -src_install() {
1322 - emake DESTDIR="${D}" install || die
1323 - rm -rf "${ED}"/usr/share/nano/man-html
1324 -
1325 - dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO
1326 - dohtml doc/faq.html
1327 - insinto /etc
1328 - newins doc/nanorc.sample nanorc
1329 -
1330 - dodir /usr/bin
1331 - dosym /bin/nano /usr/bin/nano
1332 -}
1333
1334 diff --git a/app-editors/nano/nano-2.3.1.ebuild b/app-editors/nano/nano-2.3.1.ebuild
1335 deleted file mode 100644
1336 index ded16d4..0000000
1337 --- a/app-editors/nano/nano-2.3.1.ebuild
1338 +++ /dev/null
1339 @@ -1,77 +0,0 @@
1340 -# Copyright 1999-2011 Gentoo Foundation
1341 -# Distributed under the terms of the GNU General Public License v2
1342 -# $Id$
1343 -
1344 -EAPI="3"
1345 -inherit eutils
1346 -if [[ ${PV} == "9999" ]] ; then
1347 - ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano"
1348 - inherit subversion
1349 -else
1350 - MY_P=${PN}-${PV/_}
1351 - SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
1352 -fi
1353 -
1354 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
1355 -HOMEPAGE="http://www.nano-editor.org/"
1356 -
1357 -LICENSE="GPL-3"
1358 -SLOT="0"
1359 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
1360 -IUSE="debug justify minimal ncurses nls slang spell unicode"
1361 -
1362 -DEPEND=">=sys-libs/ncurses-5.2[unicode?]
1363 - nls? ( sys-devel/gettext )
1364 - !ncurses? ( slang? ( sys-libs/slang ) )"
1365 -
1366 -src_prepare() {
1367 - if [[ ! -e configure ]] ; then
1368 - ./autogen.sh || die
1369 - fi
1370 -}
1371 -
1372 -src_configure() {
1373 - local myconf=""
1374 - use ncurses \
1375 - && myconf="--without-slang" \
1376 - || myconf="${myconf} $(use_with slang)"
1377 -
1378 - econf \
1379 - --bindir="${EPREFIX}"/bin \
1380 - $(use_enable !minimal color) \
1381 - $(use_enable !minimal multibuffer) \
1382 - $(use_enable !minimal nanorc) \
1383 - --disable-wrapping-as-root \
1384 - $(use_enable spell speller) \
1385 - $(use_enable justify) \
1386 - $(use_enable debug) \
1387 - $(use_enable nls) \
1388 - $(use_enable unicode utf8) \
1389 - $(use_enable minimal tiny) \
1390 - ${myconf}
1391 -}
1392 -
1393 -src_install() {
1394 - emake DESTDIR="${D}" install || die
1395 -
1396 - dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO
1397 - dohtml doc/faq.html
1398 - insinto /etc
1399 - newins doc/nanorc.sample nanorc
1400 -
1401 - dodir /usr/bin
1402 - dosym /bin/nano /usr/bin/nano
1403 -
1404 - insinto /usr/share/nano
1405 - local f
1406 - for f in "${FILESDIR}"/*.nanorc ; do
1407 - [[ -e ${ED}/usr/share/nano/${f##*/} ]] && continue
1408 - doins "${f}" || die
1409 - echo "# include \"/usr/share/nano/${f##*/}\"" >> "${ED}"/etc/nanorc
1410 - done
1411 -}
1412 -
1413 -pkg_postinst() {
1414 - einfo "More helpful info about nano, visit the GDP page:"
1415 - einfo "https://www.gentoo.org/doc/en/nano-basics-guide.xml"
1416 -}
1417
1418 diff --git a/app-editors/nano/nano-2.3.2-r1.ebuild b/app-editors/nano/nano-2.3.2-r1.ebuild
1419 deleted file mode 100644
1420 index f5af13c..0000000
1421 --- a/app-editors/nano/nano-2.3.2-r1.ebuild
1422 +++ /dev/null
1423 @@ -1,79 +0,0 @@
1424 -# Copyright 1999-2014 Gentoo Foundation
1425 -# Distributed under the terms of the GNU General Public License v2
1426 -# $Id$
1427 -
1428 -EAPI="4"
1429 -
1430 -inherit eutils autotools
1431 -if [[ ${PV} == "9999" ]] ; then
1432 - ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano"
1433 - inherit subversion autotools
1434 -else
1435 - MY_P=${PN}-${PV/_}
1436 - SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
1437 -fi
1438 -
1439 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
1440 -HOMEPAGE="http://www.nano-editor.org/ https://www.gentoo.org/doc/en/nano-basics-guide.xml"
1441 -
1442 -LICENSE="GPL-3"
1443 -SLOT="0"
1444 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
1445 -IUSE="debug justify +magic minimal ncurses nls slang +spell unicode"
1446 -
1447 -RDEPEND=">=sys-libs/ncurses-5.9-r1[unicode?]
1448 - magic? ( sys-apps/file )
1449 - nls? ( virtual/libintl )
1450 - !ncurses? ( slang? ( sys-libs/slang ) )"
1451 -DEPEND="${RDEPEND}
1452 - nls? ( sys-devel/gettext )
1453 - virtual/pkgconfig"
1454 -
1455 -src_prepare() {
1456 - epatch "${FILESDIR}"/${PN}-2.3.1-ncurses-pkg-config.patch
1457 - epatch "${FILESDIR}"/${PN}-2.3.2-bind-unbind-docs.patch
1458 - epatch "${FILESDIR}"/${PN}-2.3.1-{shell,gentoo}-nanorc.patch
1459 - epatch_user
1460 - eautoreconf
1461 -}
1462 -
1463 -src_configure() {
1464 - eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic)
1465 - local myconf=()
1466 - case ${CHOST} in
1467 - *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
1468 - esac
1469 - econf \
1470 - --bindir="${EPREFIX}"/bin \
1471 - $(use_enable !minimal color) \
1472 - $(use_enable !minimal multibuffer) \
1473 - $(use_enable !minimal nanorc) \
1474 - --disable-wrapping-as-root \
1475 - $(use_enable spell speller) \
1476 - $(use_enable justify) \
1477 - $(use_enable debug) \
1478 - $(use_enable nls) \
1479 - $(use_enable unicode utf8) \
1480 - $(use_enable minimal tiny) \
1481 - $(usex ncurses --without-slang $(use_with slang)) \
1482 - "${myconf[@]}"
1483 -}
1484 -
1485 -src_install() {
1486 - default
1487 - rm -rf "${ED}"/usr/share/nano/man-html
1488 -
1489 - dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO
1490 - dohtml doc/faq.html
1491 - insinto /etc
1492 - newins doc/nanorc.sample nanorc
1493 - if ! use minimal ; then
1494 - # Enable colorization by default.
1495 - sed -i \
1496 - -e '/^# include /s:# *::' \
1497 - "${ED}"/etc/nanorc || die
1498 - fi
1499 -
1500 - dodir /usr/bin
1501 - dosym /bin/nano /usr/bin/nano
1502 -}
1503
1504 diff --git a/app-editors/nano/nano-2.3.2.ebuild b/app-editors/nano/nano-2.3.2.ebuild
1505 deleted file mode 100644
1506 index d7ec222..0000000
1507 --- a/app-editors/nano/nano-2.3.2.ebuild
1508 +++ /dev/null
1509 @@ -1,72 +0,0 @@
1510 -# Copyright 1999-2014 Gentoo Foundation
1511 -# Distributed under the terms of the GNU General Public License v2
1512 -# $Id$
1513 -
1514 -EAPI="3"
1515 -
1516 -inherit eutils autotools
1517 -if [[ ${PV} == "9999" ]] ; then
1518 - ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano"
1519 - inherit subversion autotools
1520 -else
1521 - MY_P=${PN}-${PV/_}
1522 - SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
1523 -fi
1524 -
1525 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
1526 -HOMEPAGE="http://www.nano-editor.org/ https://www.gentoo.org/doc/en/nano-basics-guide.xml"
1527 -
1528 -LICENSE="GPL-3"
1529 -SLOT="0"
1530 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
1531 -IUSE="debug justify +magic minimal ncurses nls slang spell unicode"
1532 -
1533 -RDEPEND=">=sys-libs/ncurses-5.9-r1[unicode?]
1534 - magic? ( sys-apps/file )
1535 - nls? ( virtual/libintl )
1536 - !ncurses? ( slang? ( sys-libs/slang ) )"
1537 -DEPEND="${RDEPEND}
1538 - nls? ( sys-devel/gettext )
1539 - virtual/pkgconfig"
1540 -
1541 -src_prepare() {
1542 - epatch "${FILESDIR}"/${PN}-2.3.1-ncurses-pkg-config.patch
1543 - epatch "${FILESDIR}"/${PN}-2.3.2-bind-unbind-docs.patch
1544 - epatch "${FILESDIR}"/${PN}-2.3.1-{shell,gentoo}-nanorc.patch
1545 - eautoreconf
1546 -}
1547 -
1548 -src_configure() {
1549 - eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic)
1550 - local myconf=()
1551 - case ${CHOST} in
1552 - *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
1553 - esac
1554 - econf \
1555 - --bindir="${EPREFIX}"/bin \
1556 - $(use_enable !minimal color) \
1557 - $(use_enable !minimal multibuffer) \
1558 - $(use_enable !minimal nanorc) \
1559 - --disable-wrapping-as-root \
1560 - $(use_enable spell speller) \
1561 - $(use_enable justify) \
1562 - $(use_enable debug) \
1563 - $(use_enable nls) \
1564 - $(use_enable unicode utf8) \
1565 - $(use_enable minimal tiny) \
1566 - $(usex ncurses --without-slang $(use_with slang)) \
1567 - "${myconf[@]}"
1568 -}
1569 -
1570 -src_install() {
1571 - emake DESTDIR="${D}" install || die
1572 - rm -rf "${ED}"/usr/share/nano/man-html
1573 -
1574 - dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO
1575 - dohtml doc/faq.html
1576 - insinto /etc
1577 - newins doc/nanorc.sample nanorc
1578 -
1579 - dodir /usr/bin
1580 - dosym /bin/nano /usr/bin/nano
1581 -}
1582
1583 diff --git a/app-editors/nano/nano-2.3.3.ebuild b/app-editors/nano/nano-2.3.3.ebuild
1584 deleted file mode 100644
1585 index 093b904..0000000
1586 --- a/app-editors/nano/nano-2.3.3.ebuild
1587 +++ /dev/null
1588 @@ -1,76 +0,0 @@
1589 -# Copyright 1999-2014 Gentoo Foundation
1590 -# Distributed under the terms of the GNU General Public License v2
1591 -# $Id$
1592 -
1593 -EAPI="4"
1594 -
1595 -inherit eutils
1596 -if [[ ${PV} == "9999" ]] ; then
1597 - ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano"
1598 - inherit subversion autotools
1599 -else
1600 - MY_P=${PN}-${PV/_}
1601 - SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
1602 -fi
1603 -
1604 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
1605 -HOMEPAGE="http://www.nano-editor.org/ https://www.gentoo.org/doc/en/nano-basics-guide.xml"
1606 -
1607 -LICENSE="GPL-3"
1608 -SLOT="0"
1609 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
1610 -IUSE="debug justify +magic minimal ncurses nls slang +spell unicode"
1611 -
1612 -RDEPEND=">=sys-libs/ncurses-5.9-r1[unicode?]
1613 - magic? ( sys-apps/file )
1614 - nls? ( virtual/libintl )
1615 - !ncurses? ( slang? ( sys-libs/slang ) )"
1616 -DEPEND="${RDEPEND}
1617 - nls? ( sys-devel/gettext )
1618 - virtual/pkgconfig"
1619 -
1620 -src_prepare() {
1621 - epatch_user
1622 -}
1623 -
1624 -src_configure() {
1625 - eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic)
1626 - local myconf=()
1627 - case ${CHOST} in
1628 - *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
1629 - esac
1630 - econf \
1631 - --bindir="${EPREFIX}"/bin \
1632 - --htmldir=/trash \
1633 - $(use_enable !minimal color) \
1634 - $(use_enable !minimal multibuffer) \
1635 - $(use_enable !minimal nanorc) \
1636 - --disable-wrapping-as-root \
1637 - $(use_enable spell speller) \
1638 - $(use_enable justify) \
1639 - $(use_enable debug) \
1640 - $(use_enable nls) \
1641 - $(use_enable unicode utf8) \
1642 - $(use_enable minimal tiny) \
1643 - $(usex ncurses --without-slang $(use_with slang)) \
1644 - "${myconf[@]}"
1645 -}
1646 -
1647 -src_install() {
1648 - default
1649 - rm -rf "${D}"/trash
1650 -
1651 - dodoc doc/nanorc.sample
1652 - dohtml doc/faq.html
1653 - insinto /etc
1654 - newins doc/nanorc.sample nanorc
1655 - if ! use minimal ; then
1656 - # Enable colorization by default.
1657 - sed -i \
1658 - -e '/^# include /s:# *::' \
1659 - "${ED}"/etc/nanorc || die
1660 - fi
1661 -
1662 - dodir /usr/bin
1663 - dosym /bin/nano /usr/bin/nano
1664 -}
1665
1666 diff --git a/app-editors/nano/nano-2.3.4.ebuild b/app-editors/nano/nano-2.3.4.ebuild
1667 deleted file mode 100644
1668 index 093b904..0000000
1669 --- a/app-editors/nano/nano-2.3.4.ebuild
1670 +++ /dev/null
1671 @@ -1,76 +0,0 @@
1672 -# Copyright 1999-2014 Gentoo Foundation
1673 -# Distributed under the terms of the GNU General Public License v2
1674 -# $Id$
1675 -
1676 -EAPI="4"
1677 -
1678 -inherit eutils
1679 -if [[ ${PV} == "9999" ]] ; then
1680 - ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano"
1681 - inherit subversion autotools
1682 -else
1683 - MY_P=${PN}-${PV/_}
1684 - SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
1685 -fi
1686 -
1687 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
1688 -HOMEPAGE="http://www.nano-editor.org/ https://www.gentoo.org/doc/en/nano-basics-guide.xml"
1689 -
1690 -LICENSE="GPL-3"
1691 -SLOT="0"
1692 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
1693 -IUSE="debug justify +magic minimal ncurses nls slang +spell unicode"
1694 -
1695 -RDEPEND=">=sys-libs/ncurses-5.9-r1[unicode?]
1696 - magic? ( sys-apps/file )
1697 - nls? ( virtual/libintl )
1698 - !ncurses? ( slang? ( sys-libs/slang ) )"
1699 -DEPEND="${RDEPEND}
1700 - nls? ( sys-devel/gettext )
1701 - virtual/pkgconfig"
1702 -
1703 -src_prepare() {
1704 - epatch_user
1705 -}
1706 -
1707 -src_configure() {
1708 - eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic)
1709 - local myconf=()
1710 - case ${CHOST} in
1711 - *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
1712 - esac
1713 - econf \
1714 - --bindir="${EPREFIX}"/bin \
1715 - --htmldir=/trash \
1716 - $(use_enable !minimal color) \
1717 - $(use_enable !minimal multibuffer) \
1718 - $(use_enable !minimal nanorc) \
1719 - --disable-wrapping-as-root \
1720 - $(use_enable spell speller) \
1721 - $(use_enable justify) \
1722 - $(use_enable debug) \
1723 - $(use_enable nls) \
1724 - $(use_enable unicode utf8) \
1725 - $(use_enable minimal tiny) \
1726 - $(usex ncurses --without-slang $(use_with slang)) \
1727 - "${myconf[@]}"
1728 -}
1729 -
1730 -src_install() {
1731 - default
1732 - rm -rf "${D}"/trash
1733 -
1734 - dodoc doc/nanorc.sample
1735 - dohtml doc/faq.html
1736 - insinto /etc
1737 - newins doc/nanorc.sample nanorc
1738 - if ! use minimal ; then
1739 - # Enable colorization by default.
1740 - sed -i \
1741 - -e '/^# include /s:# *::' \
1742 - "${ED}"/etc/nanorc || die
1743 - fi
1744 -
1745 - dodir /usr/bin
1746 - dosym /bin/nano /usr/bin/nano
1747 -}