1 |
commit: 249e377f5bb60138e9c2ba639d479a68d2c26180 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 22 20:00:55 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 1 19:13:45 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=249e377f |
7 |
|
8 |
sys-libs/ncurses: Remove slot :5, moved to ncurses-compat |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sys-libs/ncurses/Manifest | 1 - |
13 |
sys-libs/ncurses/files/ncurses-5.8-gfbsd.patch | 24 --- |
14 |
.../files/ncurses-5.9-fix-clang-build.patch | 44 ----- |
15 |
.../files/ncurses-5.9-no-I-usr-include.patch | 45 ----- |
16 |
.../ncurses/files/ncurses-5.9-pkg-config.patch | 26 --- |
17 |
.../files/ncurses-5.9-rxvt-unicode-9.15.patch | 191 -------------------- |
18 |
sys-libs/ncurses/ncurses-5.9-r101.ebuild | 198 --------------------- |
19 |
7 files changed, 529 deletions(-) |
20 |
|
21 |
diff --git a/sys-libs/ncurses/Manifest b/sys-libs/ncurses/Manifest |
22 |
index 74a902fae6a..65b269a345c 100644 |
23 |
--- a/sys-libs/ncurses/Manifest |
24 |
+++ b/sys-libs/ncurses/Manifest |
25 |
@@ -1,4 +1,3 @@ |
26 |
-DIST ncurses-5.9.tar.gz 2826473 BLAKE2B 91101b049a5eb6a2674fb86b5eba56515207f490dc7a6348f3194bbc50649717a26aff7a0df64f67ca318b5f244455cd57e760c65b9e551f6ec65b8c035a6ae1 SHA512 d7c5e54b6d4d8b9211f0006ca8786f7609d180cc1aaebf4f25e7e35e12959779cf66447359a602daed625621ca32b0d910d67aef3eb8b6fdc3c373819a88faa1 |
27 |
DIST ncurses-6.1-20181020-patch.sh.bz2 361598 BLAKE2B e74f6b4e81c822ae500724ebe707031d3157190e96256656940241e4485fa3d96669e069e764cecc829d9fccccc11caaab8c68ae489b083ade4f286647ac74af SHA512 e54bf83cae5bae3ddb909b9bbe91f549b366a5c60b6274f6b27a3f28b5f9f1afe7263487db842f8cbc22a93e0ef17f0fd518a0585523116e192174f44423ae4a |
28 |
DIST ncurses-6.1-20190609-patch.sh.bz2 602174 BLAKE2B 38b1cb1f376b8fdfddc7cf9ed8e10190dd50fc2315f11eaf3a14c0299167c0e6bbd82a3684fa83d6e8fa6d2f02ea14e88ea065f8bb886905d85788bde13731c0 SHA512 efd009f5087a7b16413b94ce37ad19da0df8974be579b742d57bc64e034792ccf03b9967593a0ac5c90522ccfde4b6d23ef763d6fbeb91a5f327f8d7a0970872 |
29 |
DIST ncurses-6.1.tar.gz 3365395 BLAKE2B 1248a5088bc982d0880cb9550b1192457f6f624937c4b66807668c22a608002ba6c38d876986f2c2b9ee46f91d087c88bc0b19920733e4c7ca0ed8e92d9d47de SHA512 e308af43f8b7e01e98a55f4f6c4ee4d1c39ce09d95399fa555b3f0cdf5fd0db0f4c4d820b4af78a63f6cf6d8627587114a40af48cfc066134b600520808a77ee |
30 |
|
31 |
diff --git a/sys-libs/ncurses/files/ncurses-5.8-gfbsd.patch b/sys-libs/ncurses/files/ncurses-5.8-gfbsd.patch |
32 |
deleted file mode 100644 |
33 |
index 0200a14462a..00000000000 |
34 |
--- a/sys-libs/ncurses/files/ncurses-5.8-gfbsd.patch |
35 |
+++ /dev/null |
36 |
@@ -1,24 +0,0 @@ |
37 |
-we'll hijack the freebsd* case that comes later |
38 |
- |
39 |
---- ncurses-5.6/aclocal.m4 |
40 |
-+++ ncurses-5.6/aclocal.m4 |
41 |
-@@ -3806,7 +3806,7 @@ |
42 |
- fi |
43 |
- cf_cv_rm_so_locs=yes |
44 |
- ;; |
45 |
-- linux*|gnu*|k*bsd*-gnu) #(vi |
46 |
-+ linux*|gnu*|k*bsd*-gnu|freebsd*|dragonfly*) #(vi |
47 |
- if test "$DFT_LWR_MODEL" = "shared" ; then |
48 |
- LOCAL_LDFLAGS="-Wl,-rpath,\$(LOCAL_LIBDIR)" |
49 |
- LOCAL_LDFLAGS2="$LOCAL_LDFLAGS" |
50 |
---- ncurses-5.6/configure |
51 |
-+++ ncurses-5.6/configure |
52 |
-@@ -3806,7 +3806,7 @@ |
53 |
- fi |
54 |
- cf_cv_rm_so_locs=yes |
55 |
- ;; |
56 |
-- linux*|gnu*|k*bsd*-gnu) #(vi |
57 |
-+ linux*|gnu*|k*bsd*-gnu|freebsd*|dragonfly*) #(vi |
58 |
- if test "$DFT_LWR_MODEL" = "shared" ; then |
59 |
- LOCAL_LDFLAGS="-Wl,-rpath,\$(LOCAL_LIBDIR)" |
60 |
- LOCAL_LDFLAGS2="$LOCAL_LDFLAGS" |
61 |
|
62 |
diff --git a/sys-libs/ncurses/files/ncurses-5.9-fix-clang-build.patch b/sys-libs/ncurses/files/ncurses-5.9-fix-clang-build.patch |
63 |
deleted file mode 100644 |
64 |
index 0c6ca7acc4f..00000000000 |
65 |
--- a/sys-libs/ncurses/files/ncurses-5.9-fix-clang-build.patch |
66 |
+++ /dev/null |
67 |
@@ -1,44 +0,0 @@ |
68 |
-diff --git a/ncurses-5.9/c++/cursesf.h b/ncurses-5.9/c++/cursesf.h |
69 |
-index 70a30c3..db38063 100644 |
70 |
---- a/ncurses-5.9/c++/cursesf.h |
71 |
-+++ b/ncurses-5.9/c++/cursesf.h |
72 |
-@@ -677,7 +677,7 @@ protected: |
73 |
- } |
74 |
- |
75 |
- public: |
76 |
-- NCursesUserForm (NCursesFormField Fields[], |
77 |
-+ NCursesUserForm (NCursesFormField* Fields[], |
78 |
- const T* p_UserData = STATIC_CAST(T*)(0), |
79 |
- bool with_frame=FALSE, |
80 |
- bool autoDelete_Fields=FALSE) |
81 |
-@@ -686,7 +686,7 @@ public: |
82 |
- set_user (const_cast<void *>(p_UserData)); |
83 |
- }; |
84 |
- |
85 |
-- NCursesUserForm (NCursesFormField Fields[], |
86 |
-+ NCursesUserForm (NCursesFormField* Fields[], |
87 |
- int nlines, |
88 |
- int ncols, |
89 |
- int begin_y = 0, |
90 |
-diff --git a/ncurses-5.9/c++/cursesm.h b/ncurses-5.9/c++/cursesm.h |
91 |
-index d9c2273..2d5b79a 100644 |
92 |
---- a/ncurses-5.9/c++/cursesm.h |
93 |
-+++ b/ncurses-5.9/c++/cursesm.h |
94 |
-@@ -635,7 +635,7 @@ protected: |
95 |
- } |
96 |
- |
97 |
- public: |
98 |
-- NCursesUserMenu (NCursesMenuItem Items[], |
99 |
-+ NCursesUserMenu (NCursesMenuItem* Items[], |
100 |
- const T* p_UserData = STATIC_CAST(T*)(0), |
101 |
- bool with_frame=FALSE, |
102 |
- bool autoDelete_Items=FALSE) |
103 |
-@@ -644,7 +644,7 @@ public: |
104 |
- set_user (const_cast<void *>(p_UserData)); |
105 |
- }; |
106 |
- |
107 |
-- NCursesUserMenu (NCursesMenuItem Items[], |
108 |
-+ NCursesUserMenu (NCursesMenuItem* Items[], |
109 |
- int nlines, |
110 |
- int ncols, |
111 |
- int begin_y = 0, |
112 |
|
113 |
diff --git a/sys-libs/ncurses/files/ncurses-5.9-no-I-usr-include.patch b/sys-libs/ncurses/files/ncurses-5.9-no-I-usr-include.patch |
114 |
deleted file mode 100644 |
115 |
index 5c968e76c37..00000000000 |
116 |
--- a/sys-libs/ncurses/files/ncurses-5.9-no-I-usr-include.patch |
117 |
+++ /dev/null |
118 |
@@ -1,45 +0,0 @@ |
119 |
-https://bugs.gentoo.org/522586 |
120 |
- |
121 |
-delete the -I$includedir paths that get added to CPPFLAGS. these are never |
122 |
-needed when building natively or cross-compiling and really get in the way |
123 |
-in both cases (upgrades/cross-compiling/etc...). |
124 |
- |
125 |
-extracted from the upstream change: |
126 |
-http://ncurses.scripts.mit.edu/?p=ncurses.git;a=commitdiff;h=9ee3995474454b7d956885e0fe5c8cac2ae25d42#patch5 |
127 |
- |
128 |
---- a/configure |
129 |
-+++ b/configure |
130 |
-@@ -18596,33 +18596,11 @@ CPPFLAGS="$CPPFLAGS -I. -I../include" |
131 |
- if test "$srcdir" != "."; then |
132 |
- CPPFLAGS="$CPPFLAGS -I\${srcdir}/../include" |
133 |
- fi |
134 |
--if test "$GCC" != yes; then |
135 |
-- CPPFLAGS="$CPPFLAGS -I\${includedir}" |
136 |
--elif test "$includedir" != "/usr/include"; then |
137 |
-- if test "$includedir" = '${prefix}/include' ; then |
138 |
-- if test $prefix != /usr ; then |
139 |
-- CPPFLAGS="$CPPFLAGS -I\${includedir}" |
140 |
-- fi |
141 |
-- else |
142 |
-- CPPFLAGS="$CPPFLAGS -I\${includedir}" |
143 |
-- fi |
144 |
--fi |
145 |
- |
146 |
- ACPPFLAGS="-I. -I../include -I../../include $ACPPFLAGS" |
147 |
- if test "$srcdir" != "."; then |
148 |
- ACPPFLAGS="-I\${srcdir}/../../include $ACPPFLAGS" |
149 |
- fi |
150 |
--if test "$GCC" != yes; then |
151 |
-- ACPPFLAGS="$ACPPFLAGS -I\${includedir}" |
152 |
--elif test "$includedir" != "/usr/include"; then |
153 |
-- if test "$includedir" = '${prefix}/include' ; then |
154 |
-- if test $prefix != /usr ; then |
155 |
-- ACPPFLAGS="$ACPPFLAGS -I\${includedir}" |
156 |
-- fi |
157 |
-- else |
158 |
-- ACPPFLAGS="$ACPPFLAGS -I\${includedir}" |
159 |
-- fi |
160 |
--fi |
161 |
- |
162 |
- ### Build up pieces for makefile rules |
163 |
- echo "$as_me:18628: checking default library suffix" >&5 |
164 |
|
165 |
diff --git a/sys-libs/ncurses/files/ncurses-5.9-pkg-config.patch b/sys-libs/ncurses/files/ncurses-5.9-pkg-config.patch |
166 |
deleted file mode 100644 |
167 |
index 7c3c04a449f..00000000000 |
168 |
--- a/sys-libs/ncurses/files/ncurses-5.9-pkg-config.patch |
169 |
+++ /dev/null |
170 |
@@ -1,26 +0,0 @@ |
171 |
-disable the $PATH search for the PKG_CONFIG tool. it isn't needed and just |
172 |
-gets in the way when setting to a value that might not yet exist. |
173 |
- |
174 |
-disable the existence test for the PKG_CONFIG_LIBDIR dir. it breaks when you |
175 |
-cross-compile for an ABI that doesn't exist in the root dir (--build). |
176 |
- |
177 |
---- a/configure |
178 |
-+++ b/configure |
179 |
-@@ -3582,7 +3582,7 @@ fi |
180 |
- esac |
181 |
- |
182 |
- test -z "$PKG_CONFIG" && PKG_CONFIG=none |
183 |
--if test "$PKG_CONFIG" != none ; then |
184 |
-+if false ; then |
185 |
- |
186 |
- if test "x$prefix" != xNONE; then |
187 |
- cf_path_syntax="$prefix" |
188 |
-@@ -3626,7 +3626,7 @@ echo $ECHO_N "checking if we should install .pc files for $PKG_CONFIG... $ECHO_C |
189 |
- PKG_CONFIG_LIBDIR=`echo "$PKG_CONFIG" | sed -e 's,/[^/]*/[^/]*$,,'`/lib/pkgconfig |
190 |
- fi |
191 |
- PKG_CONFIG_LIBDIR=`echo "$PKG_CONFIG_LIBDIR" | sed -e 's/^://' -e 's/:.*//'` |
192 |
-- if test -n "$PKG_CONFIG_LIBDIR" && test -d "$PKG_CONFIG_LIBDIR" ; then |
193 |
-+ if test -n "$PKG_CONFIG_LIBDIR" ; then |
194 |
- |
195 |
- # Check whether --enable-pc-files or --disable-pc-files was given. |
196 |
- if test "${enable_pc_files+set}" = set; then |
197 |
|
198 |
diff --git a/sys-libs/ncurses/files/ncurses-5.9-rxvt-unicode-9.15.patch b/sys-libs/ncurses/files/ncurses-5.9-rxvt-unicode-9.15.patch |
199 |
deleted file mode 100644 |
200 |
index b6d1924cbe7..00000000000 |
201 |
--- a/sys-libs/ncurses/files/ncurses-5.9-rxvt-unicode-9.15.patch |
202 |
+++ /dev/null |
203 |
@@ -1,191 +0,0 @@ |
204 |
-Add rxvt-unicode terminfo, required by rxvt-unicode to function properly. |
205 |
- |
206 |
-Providing this in ncurses makes it widely available, much better than having to |
207 |
-install rxvt-unicode everywhere. |
208 |
- |
209 |
-http://bugs.gentoo.org/show_bug.cgi?id=192083 |
210 |
- |
211 |
-This patch uses the updated rxvt-unicode-9.15 terminfo |
212 |
-which includes 256 color support and fixes Gentoo bug 383871 |
213 |
- |
214 |
-http://bugs.gentoo.org/show_bug.cgi?id=383871 |
215 |
- |
216 |
---- misc/terminfo.src |
217 |
-+++ misc/terminfo.src |
218 |
-@@ -4208,6 +4208,176 @@ |
219 |
- rxvt-16color|xterm with 16 colors like aixterm, |
220 |
- ncv#32, use=ibm+16color, use=rxvt, |
221 |
- |
222 |
-+# From: Thomas Dickey <dickey@×××××.net> 04 Oct 1997 |
223 |
-+# Updated: Özgür Kesim <kesim@××××××××××××××.de> 02 Nov 1997 |
224 |
-+# Updated: Marc Lehmann <schmorp@×××××××.de>, 17 Feb 2005 |
225 |
-+# Updated: Marc Lehmann <schmorp@×××××××.de>, 04 Nov 2008: change init/reset sequences |
226 |
-+rxvt-unicode|rxvt-unicode terminal (X Window System), |
227 |
-+ am, |
228 |
-+ bce, |
229 |
-+ eo, |
230 |
-+ km, |
231 |
-+ msgr, |
232 |
-+ xenl, |
233 |
-+ hs, |
234 |
-+ cols#80, |
235 |
-+ it#8, |
236 |
-+ lines#24, |
237 |
-+ acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~-A.B+C\,D0EhFiG, |
238 |
-+ bel=^G, |
239 |
-+ blink=\E[5m, |
240 |
-+ bold=\E[1m, |
241 |
-+ civis=\E[?25l, |
242 |
-+ clear=\E[H\E[2J, |
243 |
-+ cnorm=\E[?25h, |
244 |
-+ cr=^M, |
245 |
-+ csr=\E[%i%p1%d;%p2%dr, |
246 |
-+ cub=\E[%p1%dD, |
247 |
-+ cub1=^H, |
248 |
-+ cud=\E[%p1%dB, |
249 |
-+ cud1=^J, |
250 |
-+ cuf=\E[%p1%dC, |
251 |
-+ cuf1=\E[C, |
252 |
-+ cup=\E[%i%p1%d;%p2%dH, |
253 |
-+ cuu=\E[%p1%dA, |
254 |
-+ cuu1=\E[A, |
255 |
-+ cvvis=\E[?25h, |
256 |
-+ dch=\E[%p1%dP, |
257 |
-+ dch1=\E[P, |
258 |
-+ dl=\E[%p1%dM, |
259 |
-+ dl1=\E[M, |
260 |
-+ ed=\E[J, |
261 |
-+ el=\E[K, |
262 |
-+ el1=\E[1K, |
263 |
-+ flash=\E[?5h$<20/>\E[?5l, |
264 |
-+ home=\E[H, |
265 |
-+ hpa=\E[%i%p1%dG, |
266 |
-+ ht=^I, |
267 |
-+ hts=\EH, |
268 |
-+ ich=\E[%p1%d@, |
269 |
-+ ich1=\E[@, |
270 |
-+ il=\E[%p1%dL, |
271 |
-+ il1=\E[L, |
272 |
-+ ind=^J, |
273 |
-+ is1=\E[\041p, |
274 |
-+ is2=\E[r\E[m\E[2J\E[?7;25h\E[?1;3;4;5;6;9;66;1000;1001;1049l\E[4l, |
275 |
-+ kDC=\E[3$, |
276 |
-+ kIC=\E[2$, |
277 |
-+ kEND=\E[8$, |
278 |
-+ kHOM=\E[7$, |
279 |
-+ kLFT=\E[d, |
280 |
-+ kNXT=\E[6$, |
281 |
-+ kPRV=\E[5$, |
282 |
-+ kRIT=\E[c, |
283 |
-+ kbs=\177, |
284 |
-+ ka1=\EOw, |
285 |
-+ ka3=\EOy, |
286 |
-+ kb2=\EOu, |
287 |
-+ kc1=\EOq, |
288 |
-+ kc3=\EOs, |
289 |
-+ kcbt=\E[Z, |
290 |
-+ kcub1=\E[D, |
291 |
-+ kcud1=\E[B, |
292 |
-+ kcuf1=\E[C, |
293 |
-+ kcuu1=\E[A, |
294 |
-+ kdch1=\E[3~, |
295 |
-+ kel=\E[8\^, |
296 |
-+ kend=\E[8~, |
297 |
-+ kent=\EOM, |
298 |
-+ kf1=\E[11~, |
299 |
-+ kf10=\E[21~, |
300 |
-+ kf11=\E[23~, |
301 |
-+ kf12=\E[24~, |
302 |
-+ kf13=\E[25~, |
303 |
-+ kf14=\E[26~, |
304 |
-+ kf15=\E[28~, |
305 |
-+ kf16=\E[29~, |
306 |
-+ kf17=\E[31~, |
307 |
-+ kf18=\E[32~, |
308 |
-+ kf19=\E[33~, |
309 |
-+ kf2=\E[12~, |
310 |
-+ kf20=\E[34~, |
311 |
-+ kf3=\E[13~, |
312 |
-+ kf4=\E[14~, |
313 |
-+ kf5=\E[15~, |
314 |
-+ kf6=\E[17~, |
315 |
-+ kf7=\E[18~, |
316 |
-+ kf8=\E[19~, |
317 |
-+ kf9=\E[20~, |
318 |
-+ kfnd=\E[1~, |
319 |
-+ khome=\E[7~, |
320 |
-+ kich1=\E[2~, |
321 |
-+ kmous=\E[M, |
322 |
-+ knp=\E[6~, |
323 |
-+ kpp=\E[5~, |
324 |
-+ kslt=\E[4~, |
325 |
-+ rc=\E8, |
326 |
-+ rev=\E[7m, |
327 |
-+ ri=\EM, |
328 |
-+ rmso=\E[27m, |
329 |
-+ rmul=\E[24m, |
330 |
-+ rs1=\Ec, |
331 |
-+ rs2=\E[r\E[m\E[?7;25h\E[?1;3;4;5;6;9;66;1000;1001;1049l\E[4l, |
332 |
-+ sgr0=\E[m\E(B, |
333 |
-+ enacs=, |
334 |
-+ smacs=\E(0, |
335 |
-+ rmacs=\E(B, |
336 |
-+ smso=\E[7m, |
337 |
-+ smul=\E[4m, |
338 |
-+ tbc=\E[3g, |
339 |
-+ vpa=\E[%i%p1%dd, |
340 |
-+ colors#88, |
341 |
-+ pairs#7744, |
342 |
-+ btns#5, |
343 |
-+ lm#0, |
344 |
-+ ccc, |
345 |
-+ npc, |
346 |
-+ mc5i, |
347 |
-+ ncv#0, |
348 |
-+ mir, |
349 |
-+ xon, |
350 |
-+ bw, |
351 |
-+ ech=\E[%p1%dX, |
352 |
-+ mc0=\E[i, |
353 |
-+ mc4=\E[4i, |
354 |
-+ mc5=\E[5i, |
355 |
-+ sitm=\E[3m, |
356 |
-+ ritm=\E[23m, |
357 |
-+ smam=\E[?7h, |
358 |
-+ rmam=\E[?7l, |
359 |
-+ smir=\E[4h, |
360 |
-+ rmir=\E[4l, |
361 |
-+ smcup=\E[?1049h, |
362 |
-+ rmcup=\E[r\E[?1049l, |
363 |
-+ smkx=\E=, |
364 |
-+ rmkx=\E>, |
365 |
-+ indn=\E[%p1%dS, |
366 |
-+ rin=\E[%p1%dT, |
367 |
-+ sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;, |
368 |
-+ op=\E[39;49m, |
369 |
-+ setaf=\E[38;5;%p1%dm, |
370 |
-+ setab=\E[48;5;%p1%dm, |
371 |
-+ setf=%?%p1%{7}%>%t\E[38;5;%p1%dm%e\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m%;, |
372 |
-+ setb=%?%p1%{7}%>%t\E[48;5;%p1%dm%e\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m%;, |
373 |
-+ initc=\E]4;%p1%d;rgb\:%p2%{65535}%*%{1000}%/%4.4X/%p3%{65535}%*%{1000}%/%4.4X/%p4%{65535}%*%{1000}%/%4.4X\E\\, |
374 |
-+ sc=\E7, |
375 |
-+ s0ds=\E(B, |
376 |
-+ s1ds=\E(0, |
377 |
-+ s2ds=\E*B, |
378 |
-+ s3ds=\E+B, |
379 |
-+ u6=\E[%i%d;%dR, |
380 |
-+ u7=\E[6n, |
381 |
-+ u8=\E[?1;2c, |
382 |
-+ u9=\E[c, |
383 |
-+ tsl=\E]2;, |
384 |
-+ fsl=\007, |
385 |
-+ dsl=\E]2;\007, |
386 |
-+ |
387 |
-+rxvt-unicode-256color|rxvt-unicode terminal with 256 colors (X Window System), |
388 |
-+ colors#256, |
389 |
-+ pairs#32767, |
390 |
-+ use=rxvt-unicode, |
391 |
-+ |
392 |
- # mrxvt 0.5.4 |
393 |
- # |
394 |
- # mrxvt is based on rxvt 2.7.11, but has by default XTERM_FKEYS defined, which |
395 |
|
396 |
diff --git a/sys-libs/ncurses/ncurses-5.9-r101.ebuild b/sys-libs/ncurses/ncurses-5.9-r101.ebuild |
397 |
deleted file mode 100644 |
398 |
index 8c033aaf885..00000000000 |
399 |
--- a/sys-libs/ncurses/ncurses-5.9-r101.ebuild |
400 |
+++ /dev/null |
401 |
@@ -1,198 +0,0 @@ |
402 |
-# Copyright 1999-2019 Gentoo Authors |
403 |
-# Distributed under the terms of the GNU General Public License v2 |
404 |
- |
405 |
-# This version is just for the ABI .5 library |
406 |
- |
407 |
-EAPI="5" |
408 |
- |
409 |
-inherit eutils toolchain-funcs multilib-minimal |
410 |
- |
411 |
-MY_PV=${PV:0:3} |
412 |
-MY_P=${PN}-${MY_PV} |
413 |
-DESCRIPTION="console display library" |
414 |
-HOMEPAGE="https://www.gnu.org/software/ncurses/ https://invisible-island.net/ncurses/" |
415 |
-SRC_URI="mirror://gnu/ncurses/${MY_P}.tar.gz" |
416 |
- |
417 |
-LICENSE="MIT" |
418 |
-# The subslot reflects the SONAME. |
419 |
-SLOT="5/5" |
420 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" |
421 |
-IUSE="gpm tinfo unicode" |
422 |
- |
423 |
-DEPEND="gpm? ( sys-libs/gpm[${MULTILIB_USEDEP}] )" |
424 |
-# Block the ncurses-5 that installs the same lib. #557472 |
425 |
-RDEPEND="${DEPEND} |
426 |
- !<sys-libs/ncurses-6:0" |
427 |
- |
428 |
-S=${WORKDIR}/${MY_P} |
429 |
- |
430 |
-PATCHES=( |
431 |
- "${FILESDIR}"/${PN}-5.8-gfbsd.patch |
432 |
- "${FILESDIR}"/${PN}-5.7-nongnu.patch |
433 |
- "${FILESDIR}"/${PN}-5.9-rxvt-unicode-9.15.patch #192083 #383871 |
434 |
- "${FILESDIR}"/${PN}-5.9-fix-clang-build.patch #417763 |
435 |
- "${FILESDIR}"/${PN}-5.9-pkg-config.patch |
436 |
- "${FILESDIR}"/${P}-no-I-usr-include.patch #522586 |
437 |
- "${FILESDIR}"/${P}-gcc-5.patch #545114 |
438 |
-) |
439 |
- |
440 |
-src_prepare() { |
441 |
- epatch "${PATCHES[@]}" |
442 |
-} |
443 |
- |
444 |
-src_configure() { |
445 |
- unset TERMINFO #115036 |
446 |
- tc-export_build_env BUILD_{CC,CPP} |
447 |
- BUILD_CPPFLAGS+=" -D_GNU_SOURCE" #214642 |
448 |
- |
449 |
- # Build the various variants of ncurses -- narrow, wide, and threaded. #510440 |
450 |
- # Order matters here -- we want unicode/thread versions to come last so that the |
451 |
- # binaries in /usr/bin support both wide and narrow. |
452 |
- # The naming is also important as we use these directly with filenames and when |
453 |
- # checking configure flags. |
454 |
- NCURSES_TARGETS=( |
455 |
- ncurses |
456 |
- $(usex unicode 'ncursesw' '') |
457 |
- ) |
458 |
- |
459 |
- # When installing ncurses, we have to use a compatible version of tic. |
460 |
- # This comes up when cross-compiling, doing multilib builds, upgrading, |
461 |
- # or installing for the first time. Build a local copy of tic whenever |
462 |
- # the host version isn't available. #249363 #557598 |
463 |
- if ! ROOT=/ has_version "~sys-libs/${P}" ; then |
464 |
- # We can't re-use the multilib BUILD_DIR because we run outside of it. |
465 |
- BUILD_DIR="${WORKDIR}" \ |
466 |
- CHOST=${CBUILD} \ |
467 |
- CFLAGS=${BUILD_CFLAGS} \ |
468 |
- CXXFLAGS=${BUILD_CXXFLAGS} \ |
469 |
- CPPFLAGS=${BUILD_CPPFLAGS} \ |
470 |
- LDFLAGS="${BUILD_LDFLAGS} -static" \ |
471 |
- do_configure cross --without-shared --with-normal |
472 |
- fi |
473 |
- multilib-minimal_src_configure |
474 |
-} |
475 |
- |
476 |
-multilib_src_configure() { |
477 |
- local t |
478 |
- for t in "${NCURSES_TARGETS[@]}" ; do |
479 |
- do_configure "${t}" |
480 |
- done |
481 |
-} |
482 |
- |
483 |
-do_configure() { |
484 |
- local target=$1 |
485 |
- shift |
486 |
- |
487 |
- mkdir "${BUILD_DIR}/${target}" |
488 |
- cd "${BUILD_DIR}/${target}" || die |
489 |
- |
490 |
- local conf=( |
491 |
- # We need the basic terminfo files in /etc, bug #37026. We will |
492 |
- # add '--with-terminfo-dirs' and then populate /etc/terminfo in |
493 |
- # src_install() ... |
494 |
- --with-terminfo-dirs="${EPREFIX}/etc/terminfo:${EPREFIX}/usr/share/terminfo" |
495 |
- |
496 |
- # Now the rest of the various standard flags. |
497 |
- --without-hashed-db |
498 |
- --disable-pc-files |
499 |
- --with-shared |
500 |
- --without-hashed-db |
501 |
- --without-ada |
502 |
- --without-cxx |
503 |
- --without-cxx-binding |
504 |
- --without-debug |
505 |
- --without-profile |
506 |
- # The configure script uses ldd to parse the linked output which |
507 |
- # is flaky for cross-compiling/multilib/ldd versions/etc... |
508 |
- $(use_with gpm gpm libgpm.so.1) |
509 |
- --disable-termcap |
510 |
- --enable-symlinks |
511 |
- --with-rcs-ids |
512 |
- --with-manpage-format=normal |
513 |
- --enable-const |
514 |
- --enable-colorfgbg |
515 |
- --enable-echo |
516 |
- --disable-warnings |
517 |
- --without-assertions |
518 |
- --enable-leaks |
519 |
- --without-expanded |
520 |
- --with-macros |
521 |
- --without-progs |
522 |
- --without-tests |
523 |
- --without-trace |
524 |
- $(use_with tinfo termlib) |
525 |
- |
526 |
- # The chtype/mmask-t settings below are to retain ABI compat |
527 |
- # with ncurses-5.4 so dont change em ! |
528 |
- --with-chtype=long |
529 |
- --with-mmask-t=long |
530 |
- --disable-ext-colors |
531 |
- --disable-ext-mouse |
532 |
- --without-{pthread,reentrant} |
533 |
- ) |
534 |
- |
535 |
- if [[ ${target} == ncurses*w ]] ; then |
536 |
- conf+=( --enable-widec ) |
537 |
- else |
538 |
- conf+=( --disable-widec ) |
539 |
- fi |
540 |
- # Make sure each variant goes in a unique location. |
541 |
- if [[ ${target} != "ncurses" ]] ; then |
542 |
- conf+=( --includedir="${EPREFIX}"/usr/include/${target} ) |
543 |
- fi |
544 |
- # See comments in src_configure. |
545 |
- if [[ ${target} != "cross" ]] ; then |
546 |
- local cross_path="${WORKDIR}/cross" |
547 |
- [[ -d ${cross_path} ]] && export TIC_PATH="${cross_path}/progs/tic" |
548 |
- else |
549 |
- conf+=( --with-progs ) |
550 |
- fi |
551 |
- |
552 |
- # Force bash until upstream rebuilds the configure script with a newer |
553 |
- # version of autotools. #545532 |
554 |
- CONFIG_SHELL=/bin/bash \ |
555 |
- ECONF_SOURCE=${S} \ |
556 |
- econf "${conf[@]}" "$@" |
557 |
-} |
558 |
- |
559 |
-src_compile() { |
560 |
- # See comments in src_configure. |
561 |
- if ! ROOT=/ has_version "~sys-libs/${P}" ; then |
562 |
- BUILD_DIR="${WORKDIR}" \ |
563 |
- do_compile cross -C progs tic |
564 |
- fi |
565 |
- |
566 |
- multilib-minimal_src_compile |
567 |
-} |
568 |
- |
569 |
-multilib_src_compile() { |
570 |
- local t |
571 |
- for t in "${NCURSES_TARGETS[@]}" ; do |
572 |
- do_compile "${t}" |
573 |
- done |
574 |
-} |
575 |
- |
576 |
-do_compile() { |
577 |
- local target=$1 |
578 |
- shift |
579 |
- |
580 |
- cd "${BUILD_DIR}/${target}" || die |
581 |
- |
582 |
- # A little hack to fix parallel builds ... they break when |
583 |
- # generating sources so if we generate the sources first (in |
584 |
- # non-parallel), we can then build the rest of the package |
585 |
- # in parallel. This is not really a perf hit since the source |
586 |
- # generation is quite small. |
587 |
- emake -j1 sources |
588 |
- emake "$@" |
589 |
-} |
590 |
- |
591 |
-multilib_src_install() { |
592 |
- local target lib |
593 |
- for target in "${NCURSES_TARGETS[@]}" ; do |
594 |
- cd "${BUILD_DIR}/${target}/lib" || die |
595 |
- for lib in *5.9 ; do |
596 |
- newlib.so "${lib}" "${lib%%.9}" |
597 |
- done |
598 |
- done |
599 |
-} |