Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/nano/files/, app-editors/nano/
Date: Sun, 25 Jun 2017 17:31:39
Message-Id: 1498411889.42d586daa34280ff6f8ad642ff75b3a5ad92fc64.polynomial-c@gentoo
1 commit: 42d586daa34280ff6f8ad642ff75b3a5ad92fc64
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 25 17:31:13 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 25 17:31:29 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42d586da
7
8 app-editors/nano: Removed old.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 app-editors/nano/Manifest | 2 -
13 app-editors/nano/files/nano-2.6.3-minimal.patch | 97 -------------------------
14 app-editors/nano/nano-2.6.3.ebuild | 83 ---------------------
15 app-editors/nano/nano-2.8.3.ebuild | 83 ---------------------
16 4 files changed, 265 deletions(-)
17
18 diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest
19 index ea363364b78..51fbb9f8df8 100644
20 --- a/app-editors/nano/Manifest
21 +++ b/app-editors/nano/Manifest
22 @@ -1,5 +1,3 @@
23 -DIST nano-2.6.3.tar.gz 2019354 SHA256 4f4054e12f2181c8e436163e931a0a565612242ff9e566c4d1adeda0f91fd503 SHA512 5079c0da976e3cfef9f3980e37c2501837bc66bb98fadd6fe7f02b061b83c99454678833fd43c74e6796cdc4ee9028ccba7a8a05e0f86e7a6517ba4d4c6bc95e WHIRLPOOL 94520ca9c7a11342133adfd3a1e9e9c77a6c07ab18b1b51bf39918b331abc6bd7ebeb937c2ec8ed3e59b8d0468e40f4e5811e66a8aecd469ad42c595c1b61fe4
24 DIST nano-2.7.5.tar.gz 2031723 SHA256 226be22f46359007aa76499623739f4a7d5fa294a2899c70b21bc09b8d81d907 SHA512 a5332a361c4d0d9d0a77ebb11cdcffa976bee4981d5665b2732a9e6d7a2997566d9345332f2e6e5cb74f0a81be4413f54ca8f719962ab10b32d7ec1c9271973c WHIRLPOOL bd28cde96896ad531bb499504bb1438b358b64e7f6080fa24758bee7c222b4d1df0c395d480d0cef54de8e78a7e457db403a9ef2d6a56033e65299b6d7f95634
25 -DIST nano-2.8.3.tar.gz 2773717 SHA256 2b3b7f383a40899db5367d3c4e663ba0088868c0f9aa4edfd7457c9a0eedbdd1 SHA512 ffedd36252bf13d57c9970840bc05b68c2b9211bf222a47a9aa559c078fdd993929c004d9aae3648e3190cbb32eef7ffb7a57de1c02e6e56b230366b9b55d9a1 WHIRLPOOL 63b4a3a0d93506788ba33553da3a6b7943e3559a2eae37b16700027665711f97313cc7199b189f4668d8a04584907dbf2a4b510f73ade8023729e6569890cd80
26 DIST nano-2.8.4.tar.gz 2785297 SHA256 78a2f3b3f6b500fad995c5e207d2816cbd6b531154aa2a3a2bd50c8fdf7dc57f SHA512 bbcaf710fdb5f403812b584a182ee472421d65c076f5fa2d538603c4cda8292485010157a2670e9890fcffc29d7db5c7334334d54d14f4e154b9bc3fe1ee919c WHIRLPOOL 9cce7539122b915b7b2a48c00b6cfce6ffe4e6af86605865a4e15f99e1a75cf0766f04ba81316dc92677c9fa78daf1513dce2a06c9cc668287cacf71f650fce5
27 DIST nano-2.8.5.tar.gz 2795845 SHA256 e2b929b24fba87f7a44285ce8d47af7170e379bee1bf2d04fbc728b7326a558a SHA512 f59e32395b63e64afe8fa9c98785c53f9f841a1fce0677b8591c0f570b3bec24188b5f7acf4fb66cf41a83e0b3ba9436ca4abcfb861c27c7c24f4a5b7dd249db WHIRLPOOL bc83966f2f7e952115185e648fc77517dd31e0e9adace43b3543d5944f08000675a03de9bf9d2841993df86016a52720538a5e8579d35801dd8ffd0416253e17
28
29 diff --git a/app-editors/nano/files/nano-2.6.3-minimal.patch b/app-editors/nano/files/nano-2.6.3-minimal.patch
30 deleted file mode 100644
31 index 7e5387e3d74..00000000000
32 --- a/app-editors/nano/files/nano-2.6.3-minimal.patch
33 +++ /dev/null
34 @@ -1,97 +0,0 @@
35 -https://bugs.gentoo.org/591026
36 -
37 -From 928a24c20444a652212e544a506ed55c44efdf3b Mon Sep 17 00:00:00 2001
38 -From: Benno Schulenberg <bensberg@×××××××××.net>
39 -Date: Thu, 11 Aug 2016 12:37:11 +0200
40 -Subject: [PATCH] input: look at the modifier keys only when compiled on Linux
41 -
42 -This fixes https://savannah.gnu.org/bugs/?48751 reported by Andrew Ho.
43 -
44 -This also fixes compilation when configured with --enable-tiny.
45 ----
46 - src/global.c | 3 +++
47 - src/nano.c | 3 ++-
48 - src/proto.h | 3 +++
49 - src/winio.c | 4 ++++
50 - 4 files changed, 12 insertions(+), 1 deletion(-)
51 -
52 -diff --git a/src/global.c b/src/global.c
53 -index 69c66473508d..3347476f1afb 100644
54 ---- a/src/global.c
55 -+++ b/src/global.c
56 -@@ -33,8 +33,11 @@ volatile sig_atomic_t sigwinch_counter = 0;
57 - /* Is incremented by the handler whenever a SIGWINCH occurs. */
58 - #endif
59 -
60 -+#if defined(__linux__) && !defined(NANO_TINY)
61 - bool console;
62 - /* Whether we're running on a Linux VC (TRUE) or under X (FALSE). */
63 -+#endif
64 -+
65 - bool meta_key;
66 - /* Whether the current keystroke is a Meta key. */
67 - bool focusing = TRUE;
68 -diff --git a/src/nano.c b/src/nano.c
69 -index 6e55f4948346..4d82c938628c 100644
70 ---- a/src/nano.c
71 -+++ b/src/nano.c
72 -@@ -2482,9 +2482,10 @@ int main(int argc, char **argv)
73 - /* Set up the terminal state. */
74 - terminal_init();
75 -
76 -+#if defined(__linux__) && !defined(NANO_TINY)
77 - /* Check whether we're running on a Linux console. */
78 - console = (getenv("DISPLAY") == NULL);
79 --
80 -+#endif
81 - #ifdef DEBUG
82 - fprintf(stderr, "Main: set up windows\n");
83 - #endif
84 -diff --git a/src/proto.h b/src/proto.h
85 -index 6396f3735127..4f6624ea0f16 100644
86 ---- a/src/proto.h
87 -+++ b/src/proto.h
88 -@@ -30,7 +30,10 @@
89 - extern volatile sig_atomic_t sigwinch_counter;
90 - #endif
91 -
92 -+#if defined(__linux__) && !defined(NANO_TINY)
93 - extern bool console;
94 -+#endif
95 -+
96 - extern bool meta_key;
97 - extern bool focusing;
98 -
99 -diff --git a/src/winio.c b/src/winio.c
100 -index bcfb8a2adf3f..1f31195af5d3 100644
101 ---- a/src/winio.c
102 -+++ b/src/winio.c
103 -@@ -23,7 +23,9 @@
104 - #include "proto.h"
105 - #include "revision.h"
106 -
107 -+#if defined(__linux__) && !defined(NANO_TINY)
108 - #include <sys/ioctl.h>
109 -+#endif
110 -
111 - #include <stdio.h>
112 - #include <stdarg.h>
113 -@@ -504,6 +506,7 @@ int parse_kbinput(WINDOW *win)
114 - return sc_seq_or(do_next_block, 0);
115 - #endif
116 -
117 -+#if defined(__linux__) && !defined(NANO_TINY)
118 - /* When not running under X, check for the bare arrow keys whether
119 - * the Ctrl key is being held together with them. */
120 - if (console && (retval == KEY_UP || retval == KEY_DOWN ||
121 -@@ -521,6 +524,7 @@ int parse_kbinput(WINDOW *win)
122 - return sc_seq_or(do_next_word_void, 0);
123 - }
124 - }
125 -+#endif /* __linux__ && !NANO_TINY */
126 -
127 - switch (retval) {
128 - #ifdef KEY_SLEFT
129 ---
130 -2.11.1
131 -
132
133 diff --git a/app-editors/nano/nano-2.6.3.ebuild b/app-editors/nano/nano-2.6.3.ebuild
134 deleted file mode 100644
135 index 91c21c12143..00000000000
136 --- a/app-editors/nano/nano-2.6.3.ebuild
137 +++ /dev/null
138 @@ -1,83 +0,0 @@
139 -# Copyright 1999-2017 Gentoo Foundation
140 -# Distributed under the terms of the GNU General Public License v2
141 -
142 -EAPI="5"
143 -
144 -inherit eutils flag-o-matic
145 -if [[ ${PV} == "9999" ]] ; then
146 - EGIT_REPO_URI="git://git.sv.gnu.org/nano.git"
147 - inherit git-r3 autotools
148 -else
149 - MY_P=${PN}-${PV/_}
150 - SRC_URI="https://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
151 - KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
152 -fi
153 -
154 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
155 -HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide"
156 -
157 -LICENSE="GPL-3"
158 -SLOT="0"
159 -IUSE="debug justify +magic minimal ncurses nls slang +spell static unicode"
160 -
161 -LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?]
162 - sys-libs/ncurses:0=[static-libs(+)]
163 - magic? ( sys-apps/file[static-libs(+)] )
164 - nls? ( virtual/libintl )
165 - !ncurses? ( slang? ( sys-libs/slang[static-libs(+)] ) )"
166 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
167 -DEPEND="${RDEPEND}
168 - nls? ( sys-devel/gettext )
169 - virtual/pkgconfig
170 - static? ( ${LIB_DEPEND} )"
171 -
172 -src_prepare() {
173 - if [[ ${PV} == "9999" ]] ; then
174 - eautoreconf
175 - fi
176 - epatch "${FILESDIR}"/${P}-minimal.patch #591026
177 - epatch_user
178 -}
179 -
180 -src_configure() {
181 - use static && append-ldflags -static
182 - local myconf=()
183 - case ${CHOST} in
184 - *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
185 - esac
186 - econf \
187 - --bindir="${EPREFIX}"/bin \
188 - --htmldir=/trash \
189 - $(use_enable !minimal color) \
190 - $(use_enable !minimal multibuffer) \
191 - $(use_enable !minimal nanorc) \
192 - --disable-wrapping-as-root \
193 - $(use_enable magic libmagic) \
194 - $(use_enable spell speller) \
195 - $(use_enable justify) \
196 - $(use_enable debug) \
197 - $(use_enable nls) \
198 - $(use_enable unicode utf8) \
199 - $(use_enable minimal tiny) \
200 - $(usex ncurses --without-slang $(use_with slang)) \
201 - "${myconf[@]}"
202 -}
203 -
204 -src_install() {
205 - default
206 - rm -rf "${D}"/trash
207 -
208 - dodoc doc/nanorc.sample
209 - dohtml doc/faq.html
210 - insinto /etc
211 - newins doc/nanorc.sample nanorc
212 - if ! use minimal ; then
213 - # Enable colorization by default.
214 - sed -i \
215 - -e '/^# include /s:# *::' \
216 - "${ED}"/etc/nanorc || die
217 - fi
218 -
219 - dodir /usr/bin
220 - dosym /bin/nano /usr/bin/nano
221 -}
222
223 diff --git a/app-editors/nano/nano-2.8.3.ebuild b/app-editors/nano/nano-2.8.3.ebuild
224 deleted file mode 100644
225 index ce5e828a27c..00000000000
226 --- a/app-editors/nano/nano-2.8.3.ebuild
227 +++ /dev/null
228 @@ -1,83 +0,0 @@
229 -# Copyright 1999-2017 Gentoo Foundation
230 -# Distributed under the terms of the GNU General Public License v2
231 -
232 -EAPI="6"
233 -
234 -inherit eutils flag-o-matic
235 -if [[ ${PV} == "9999" ]] ; then
236 - EGIT_REPO_URI="git://git.sv.gnu.org/nano.git"
237 - inherit git-r3 autotools
238 -else
239 - MY_P=${PN}-${PV/_}
240 - SRC_URI="https://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
241 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
242 -fi
243 -
244 -DESCRIPTION="GNU GPL'd Pico clone with more functionality"
245 -HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide"
246 -
247 -LICENSE="GPL-3"
248 -SLOT="0"
249 -IUSE="debug justify +magic minimal ncurses nls slang +spell static unicode"
250 -
251 -LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?]
252 - sys-libs/ncurses:0=[static-libs(+)]
253 - magic? ( sys-apps/file[static-libs(+)] )
254 - nls? ( virtual/libintl )
255 - !ncurses? ( slang? ( sys-libs/slang[static-libs(+)] ) )"
256 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
257 -DEPEND="${RDEPEND}
258 - nls? ( sys-devel/gettext )
259 - virtual/pkgconfig
260 - static? ( ${LIB_DEPEND} )"
261 -
262 -src_prepare() {
263 - if [[ ${PV} == "9999" ]] ; then
264 - eautoreconf
265 - fi
266 - default
267 -}
268 -
269 -src_configure() {
270 - use static && append-ldflags -static
271 - local myconf=()
272 - case ${CHOST} in
273 - *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
274 - esac
275 - econf \
276 - --bindir="${EPREFIX}"/bin \
277 - --htmldir=/trash \
278 - $(use_enable !minimal color) \
279 - $(use_enable !minimal multibuffer) \
280 - $(use_enable !minimal nanorc) \
281 - --disable-wrapping-as-root \
282 - $(use_enable magic libmagic) \
283 - $(use_enable spell speller) \
284 - $(use_enable justify) \
285 - $(use_enable debug) \
286 - $(use_enable nls) \
287 - $(use_enable unicode utf8) \
288 - $(use_enable minimal tiny) \
289 - $(usex ncurses --without-slang $(use_with slang)) \
290 - "${myconf[@]}"
291 -}
292 -
293 -src_install() {
294 - default
295 - rm -rf "${D}"/trash
296 -
297 - dodoc doc/sample.nanorc
298 - docinto html
299 - dodoc doc/faq.html
300 - insinto /etc
301 - newins doc/sample.nanorc nanorc
302 - if ! use minimal ; then
303 - # Enable colorization by default.
304 - sed -i \
305 - -e '/^# include /s:# *::' \
306 - "${ED}"/etc/nanorc || die
307 - fi
308 -
309 - dodir /usr/bin
310 - dosym /bin/nano /usr/bin/nano
311 -}