1 |
commit: b945c4c69dd58704ae4ffa58bfc32299610ad812 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 26 09:31:08 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 29 15:03:51 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b945c4c6 |
7 |
|
8 |
dev-lang/tk: Drop old |
9 |
|
10 |
Closes: https://bugs.gentoo.org/806276 |
11 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
dev-lang/tk/Manifest | 5 - |
15 |
dev-lang/tk/files/tk-8.5.11-fedora-xft.patch | 13 - |
16 |
dev-lang/tk/files/tk-8.5.13-multilib.patch | 12 - |
17 |
dev-lang/tk/files/tk-8.5.14-conf.patch | 16 - |
18 |
dev-lang/tk/files/tk-8.6.10-test.patch | 527 --------------------------- |
19 |
dev-lang/tk/files/tk-8.6.8-libieee.patch | 15 - |
20 |
dev-lang/tk/tk-8.6.10.ebuild | 153 -------- |
21 |
dev-lang/tk/tk-8.6.11.ebuild | 146 -------- |
22 |
dev-lang/tk/tk-8.6.8.ebuild | 149 -------- |
23 |
dev-lang/tk/tk-8.6.9.1.ebuild | 146 -------- |
24 |
dev-lang/tk/tk-8.6.9.ebuild | 146 -------- |
25 |
11 files changed, 1328 deletions(-) |
26 |
|
27 |
diff --git a/dev-lang/tk/Manifest b/dev-lang/tk/Manifest |
28 |
index acc2f5b2ecf1..376ea5bc6d52 100644 |
29 |
--- a/dev-lang/tk/Manifest |
30 |
+++ b/dev-lang/tk/Manifest |
31 |
@@ -1,6 +1 @@ |
32 |
-DIST tk8.6.10-src.tar.gz 4444764 BLAKE2B f56647e005778c802352aee0257c0a8f5e0014c9d21362592f08030252d83141cca385f0fb95c0e7e930016255c3b2cef49a65064e056a877214b7d7a1a01246 SHA512 d12ef3a5bde9e10209a24e9f978bd23360a979d8fa70a859cf750a79ca51067a11ef6df7589303b52fe2a2baed4083583ddaa19e2c7cb433ea523639927f1be5 |
33 |
-DIST tk8.6.11-src.tar.gz 4496914 BLAKE2B c3050a48d5cb3bd3095b2c439b3d33992551f953a981bf23eedbf774368b383abc77fb3156aa4bcaae658d0706495cff03536ab8258f9d824ff8f4325b36cc38 SHA512 2e11490f2f51ef7e723661dd91c95622234fb97850e80d8ecd564be8c28f7c8fb0334a97cf8267af9d68f63e4adea887a1a4eec8d2e807d6a970b5912f99d3f2 |
34 |
DIST tk8.6.11.1-src.tar.gz 4496008 BLAKE2B d7bae2fa535411ad8620ec81cdc0b34a1206fed82f50dbd98d3977af46ac43f794166cb7029f274f7903228c62ce83dfbd56cea06669ff1e382b185d733b0792 SHA512 e2a1d27ba63601731d43c4c4e2b658771a14afd97ef8231f8bc7854e762b83a42f23b8db600e4b4a4a14ae6fc97378d0b9a9a180ae09308b9d12436ec2b176c4 |
35 |
-DIST tk8.6.8-src.tar.gz 4319854 BLAKE2B 167c5dc6c32e49653c04bc067c3d75df022ca230657be32797021b0e2f7748215d9ad0493c8020b8d1be1f005b9b2d561339a6a0b209721c0d05dd222d47d377 SHA512 d0d30637b733fb0b0d38461b6d872934c04af422fcdb7ec41a72331b2529cc94414e6f441f95a98642d69505e4f41469847fedd1cbe58bd08cdd818fcabd1db9 |
36 |
-DIST tk8.6.9-src.tar.gz 4364606 BLAKE2B 9c96d977aa72dcc0c8d2a570d644284a1eef217ef082d8a78461bdcb4845e206ccad59cb5bc21ef80e32ea19951fa3a845e45059bb9eaf0756f128a95530260c SHA512 654d73aad006e628110057681477b958b7ec0a42287bc78259fb4b84635e7ebe757e69099d66c0c73479bc506ca66fa5baf13f13b0f403d60b2c54fd48a4a686 |
37 |
-DIST tk8.6.9.1-src.tar.gz 4364603 BLAKE2B 3d96637ceadc28977f8b4532be071907d64f11bd22881baf02aa6fa2778b607437edce8f1ed02e7011bcf78468128f7bfe81ee6dac9bd73a796e7fefae130dcf SHA512 b9c811ffc8326331ae03c6fb25ea71f7a5eaeebd9d5a16a51a1671d0f0422268bd351b077e17ae925f0a7eddac9642aa640658615c52d4269c299373af031a92 |
38 |
|
39 |
diff --git a/dev-lang/tk/files/tk-8.5.11-fedora-xft.patch b/dev-lang/tk/files/tk-8.5.11-fedora-xft.patch |
40 |
deleted file mode 100644 |
41 |
index 98ae39c07316..000000000000 |
42 |
--- a/dev-lang/tk/files/tk-8.5.11-fedora-xft.patch |
43 |
+++ /dev/null |
44 |
@@ -1,13 +0,0 @@ |
45 |
---- a/unix/configure.in |
46 |
-+++ b/unix/configure.in |
47 |
-@@ -530,8 +530,8 @@ |
48 |
- XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no" |
49 |
- if test "$found_xft" = "no" ; then |
50 |
- found_xft=yes |
51 |
-- XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no" |
52 |
-- XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no" |
53 |
-+ XFT_CFLAGS=`pkg-config --cflags xft freetype2 2>/dev/null` || found_xft="no" |
54 |
-+ XFT_LIBS=`pkg-config --libs xft freetype2 2>/dev/null` || found_xft="no" |
55 |
- fi |
56 |
- AC_MSG_RESULT([$found_xft]) |
57 |
- dnl make sure that compiling against Xft header file doesn't bomb |
58 |
|
59 |
diff --git a/dev-lang/tk/files/tk-8.5.13-multilib.patch b/dev-lang/tk/files/tk-8.5.13-multilib.patch |
60 |
deleted file mode 100644 |
61 |
index db3d8cc00817..000000000000 |
62 |
--- a/dev-lang/tk/files/tk-8.5.13-multilib.patch |
63 |
+++ /dev/null |
64 |
@@ -1,12 +0,0 @@ |
65 |
-diff -Naur tk8.4.11.orig/unix/configure.in tk8.4.11/unix/configure.in |
66 |
---- tk8.4.11.orig/unix/configure.in 2005-06-30 01:43:10.000000000 +0900 |
67 |
-+++ tk8.4.11/unix/configure.in 2005-07-02 23:22:16.000000000 +0900 |
68 |
-@@ -393,7 +393,7 @@ |
69 |
- TCL_STUB_FLAGS="-DUSE_TCL_STUBS" |
70 |
- fi |
71 |
- |
72 |
--TK_LIBRARY='$(prefix)/lib/tk$(VERSION)' |
73 |
-+TK_LIBRARY='$(libdir)/tk$(VERSION)' |
74 |
- PRIVATE_INCLUDE_DIR='$(includedir)' |
75 |
- HTML_DIR='$(DISTDIR)/html' |
76 |
- TK_PKG_DIR='tk$(VERSION)$(TK_DBGX)' |
77 |
|
78 |
diff --git a/dev-lang/tk/files/tk-8.5.14-conf.patch b/dev-lang/tk/files/tk-8.5.14-conf.patch |
79 |
deleted file mode 100644 |
80 |
index 553f93f9b7dc..000000000000 |
81 |
--- a/dev-lang/tk/files/tk-8.5.14-conf.patch |
82 |
+++ /dev/null |
83 |
@@ -1,16 +0,0 @@ |
84 |
- unix/tcl.m4 | 6 +++--- |
85 |
- 1 file changed, 3 insertions(+), 3 deletions(-) |
86 |
- |
87 |
-diff --git a/unix/tcl.m4 b/unix/tcl.m4 |
88 |
-index 3974753..9c36eb5 100644 |
89 |
---- a/unix/tcl.m4 |
90 |
-+++ b/unix/tcl.m4 |
91 |
-@@ -1420,7 +1420,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ |
92 |
- # get rid of the warnings. |
93 |
- #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES" |
94 |
- |
95 |
-- SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}' |
96 |
-+ SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -Wl,-soname,${@}' |
97 |
- DL_OBJS="tclLoadDl.o" |
98 |
- DL_LIBS="-ldl" |
99 |
- LDFLAGS="$LDFLAGS -Wl,--export-dynamic" |
100 |
|
101 |
diff --git a/dev-lang/tk/files/tk-8.6.10-test.patch b/dev-lang/tk/files/tk-8.6.10-test.patch |
102 |
deleted file mode 100644 |
103 |
index 89dcbabfbdc0..000000000000 |
104 |
--- a/dev-lang/tk/files/tk-8.6.10-test.patch |
105 |
+++ /dev/null |
106 |
@@ -1,527 +0,0 @@ |
107 |
---- a/tests/ttk/entry.test 2020-12-26 18:46:45.262306641 +0100 |
108 |
-+++ b/tests/ttk/entry.test 2020-12-26 18:47:00.246040124 +0100 |
109 |
-@@ -111,34 +111,34 @@ |
110 |
- set result [.e xview] |
111 |
- } -result {0.0 0.5} |
112 |
- |
113 |
--test entry-3.3 "xview" -body { |
114 |
-+test entry-3.3 "xview" -constraints knownBug -body { |
115 |
- .e delete 0 end; |
116 |
- .e insert end abcdefghijklmnopqrstuvwxyz |
117 |
- .e xview end |
118 |
- set result [.e index @0] |
119 |
- } -result {7} |
120 |
- |
121 |
--test entry-3.4 "xview" -body { |
122 |
-+test entry-3.4 "xview" -constraints knownBug -body { |
123 |
- .e delete 0 end; |
124 |
- .e insert end abcdefghijklmnopqrstuvwxyz |
125 |
- .e xview moveto 1.0 |
126 |
- set result [.e index @0] |
127 |
- } -result {7} |
128 |
- |
129 |
--test entry-3.5 "xview" -body { |
130 |
-+test entry-3.5 "xview" -constraints knownBug -body { |
131 |
- .e delete 0 end; |
132 |
- .e insert end abcdefghijklmnopqrstuvwxyz |
133 |
- .e xview scroll 5 units |
134 |
- set result [.e index @0] |
135 |
- } -result {5} |
136 |
- |
137 |
--test entry-3.6 "xview" -body { |
138 |
-+test entry-3.6 "xview" -constraints knownBug -body { |
139 |
- .e delete 0 end; |
140 |
- .e insert end [string repeat abcdefghijklmnopqrstuvwxyz 5] |
141 |
- .e xview scroll 2 pages |
142 |
- set result [.e index @0] |
143 |
- } -result {40} |
144 |
- |
145 |
- test entry-3.last "Series 3 cleanup" -body { |
146 |
- destroy .e |
147 |
- } |
148 |
---- a/tests/bind.test 2020-12-26 18:48:21.586593331 +0100 |
149 |
-+++ b/tests/bind.test 2020-12-26 18:48:50.134085486 +0100 |
150 |
-@@ -639,7 +639,7 @@ |
151 |
- } -cleanup { |
152 |
- destroy .t.f |
153 |
- } -result {Keycolon Releasecolon} |
154 |
--test bind-13.14 {Tk_BindEvent procedure: invalid key detail} -setup { |
155 |
-+test bind-13.14 {Tk_BindEvent procedure: invalid key detail} -constraints knownBug -setup { |
156 |
- frame .t.f -class Test -width 150 -height 100 |
157 |
- pack .t.f |
158 |
- focus -force .t.f |
159 |
-@@ -3536,7 +3536,7 @@ |
160 |
- destroy .t.f |
161 |
- } -returnCodes error -result {bad window name/identifier "xyz"} |
162 |
- |
163 |
--test bind-22.66 {HandleEventGenerate: options <Key> -root [winfo id .t]} -setup { |
164 |
-+test bind-22.66 {HandleEventGenerate: options <Key> -root [winfo id .t]} -constraints knownBug -setup { |
165 |
- frame .t.f -class Test -width 150 -height 100 |
166 |
- pack .t.f |
167 |
- focus -force .t.f |
168 |
---- a/tests/ttk/spinbox.test 2020-12-26 18:49:19.967554727 +0100 |
169 |
-+++ b/tests/ttk/spinbox.test 2020-12-26 18:49:58.015877788 +0100 |
170 |
-@@ -136,7 +136,7 @@ |
171 |
- destroy .sb |
172 |
- } -returnCodes error -result {bad validate "bogus": must be all, key, focus, focusin, focusout, or none} |
173 |
- |
174 |
--test spinbox-1.8.4 "-validate option: " -setup { |
175 |
-+test spinbox-1.8.4 "-validate option: " -constraints knownBug -setup { |
176 |
- set ::spinbox_test {} |
177 |
- ttk::spinbox .sb -from 0 -to 100 |
178 |
- } -body { |
179 |
---- a/tests/canvText.test 2020-12-26 18:57:00.520357006 +0100 |
180 |
-+++ b/tests/canvText.test 2020-12-26 19:02:44.545236036 +0100 |
181 |
-@@ -921,7 +921,7 @@ |
182 |
- destroy .c |
183 |
- } -result {{Yeah } Yeah- 4 4} |
184 |
- |
185 |
--test canvText-20.1 {angled text bounding box} -setup { |
186 |
-+test canvText-20.1 {angled text bounding box} -constraints knownBug -setup { |
187 |
- destroy .c |
188 |
- canvas .c |
189 |
- proc transpose {bbox} { |
190 |
---- a/tests/focus.test 2020-12-26 19:03:59.769904923 +0100 |
191 |
-+++ b/tests/focus.test 2020-12-26 19:11:21.583080155 +0100 |
192 |
-@@ -73,7 +73,7 @@ |
193 |
- } |
194 |
- |
195 |
- |
196 |
--test focus-1.1 {Tk_FocusCmd procedure} -constraints unix -body { |
197 |
-+test focus-1.1 {Tk_FocusCmd procedure} -constraints knownBug -body { |
198 |
- focusClear |
199 |
- focus |
200 |
- } -result {} |
201 |
-@@ -83,7 +83,7 @@ |
202 |
- focus .alt.b |
203 |
- focus |
204 |
- } -result {} |
205 |
--test focus-1.3 {Tk_FocusCmd procedure} -constraints unix -body { |
206 |
-+test focus-1.3 {Tk_FocusCmd procedure} -constraints knownBug -body { |
207 |
- focusClear |
208 |
- focus .t.b3 |
209 |
- focus |
210 |
-@@ -145,7 +145,7 @@ |
211 |
- focus -displayof .lousy |
212 |
- } -returnCodes error -result {bad window path name ".lousy"} |
213 |
- test focus-1.12 {Tk_FocusCmd procedure, -displayof option} -constraints { |
214 |
-- unix |
215 |
-+ knownBug |
216 |
- } -body { |
217 |
- focusClear |
218 |
- focus .t |
219 |
-@@ -308,7 +308,7 @@ |
220 |
- } .t.b1} |
221 |
- |
222 |
- test focus-2.6 {TkFocusFilterEvent procedure, FocusIn events} -constraints { |
223 |
-- unix testwrapper |
224 |
-+ knownBug |
225 |
- } -body { |
226 |
- focus .t.b1 |
227 |
- focus . |
228 |
-@@ -320,7 +320,7 @@ |
229 |
- list $x $focusInfo |
230 |
- } -result {.t.b1 {press .t.b1 x}} |
231 |
- test focus-2.7 {TkFocusFilterEvent procedure, FocusOut events} -constraints { |
232 |
-- unix testwrapper |
233 |
-+ knownBug |
234 |
- } -body { |
235 |
- set result {} |
236 |
- foreach detail {NotifyAncestor NotifyInferior NotifyNonlinear |
237 |
-@@ -341,7 +341,7 @@ |
238 |
- focus |
239 |
- } -result {.t.b1} |
240 |
- test focus-2.9 {TkFocusFilterEvent procedure, FocusOut events} -constraints { |
241 |
-- unix testwrapper |
242 |
-+ knownBug |
243 |
- } -body { |
244 |
- focus .t.b1 |
245 |
- event gen [testwrapper .] <FocusOut> -detail NotifyAncestor |
246 |
-@@ -348,7 +348,7 @@ |
247 |
- focus |
248 |
- } -result {} |
249 |
- test focus-2.10 {TkFocusFilterEvent procedure, Enter events} -constraints { |
250 |
-- unix testwrapper |
251 |
-+ knownBug |
252 |
- } -body { |
253 |
- set result {} |
254 |
- focus .t.b1 |
255 |
-@@ -410,7 +410,7 @@ |
256 |
- destroy .t2 |
257 |
- } -result {} |
258 |
- test focus-2.15 {TkFocusFilterEvent procedure, Leave events} -constraints { |
259 |
-- unix testwrapper |
260 |
-+ knownBug |
261 |
- } -body { |
262 |
- set result {} |
263 |
- focus .t.b1 |
264 |
-@@ -426,7 +426,7 @@ |
265 |
- return $result |
266 |
- } -result {{} .t.b1 {} {} {}} |
267 |
- test focus-2.16 {TkFocusFilterEvent procedure, Leave events} -constraints { |
268 |
-- unix testwrapper |
269 |
-+ knownBug |
270 |
- } -body { |
271 |
- focusClear |
272 |
- focus .t.b1 |
273 |
-@@ -440,7 +440,7 @@ |
274 |
- out .t NotifyVirtual |
275 |
- } |
276 |
- test focus-2.17 {TkFocusFilterEvent procedure, Leave events} -constraints { |
277 |
-- unix testwrapper |
278 |
-+ knownBug |
279 |
- } -body { |
280 |
- focusClear |
281 |
- focus .t.b1 |
282 |
-@@ -508,7 +508,7 @@ |
283 |
- destroy .t2 |
284 |
- } -result {} |
285 |
- test focus-3.5 {SetFocus procedure, generating events} -constraints { |
286 |
-- unix testwrapper |
287 |
-+ knownBug |
288 |
- } -body { |
289 |
- focusSetup |
290 |
- focusClear |
291 |
-@@ -548,7 +548,7 @@ |
292 |
- |
293 |
- |
294 |
- test focus-4.1 {TkFocusDeadWindow procedure} -constraints { |
295 |
-- unix testwrapper |
296 |
-+ knownBug |
297 |
- } -body { |
298 |
- focusSetup |
299 |
- update |
300 |
-@@ -599,7 +599,7 @@ |
301 |
- |
302 |
- # Test 5.1 fails (before and after update) |
303 |
- test focus-5.1 {ChangeXFocus procedure, don't take focus unless have it} -constraints { |
304 |
-- unix testwrapper secureserver |
305 |
-+ knownBug |
306 |
- } -body { |
307 |
- setupbg |
308 |
- focusSetup |
309 |
-@@ -622,7 +622,7 @@ |
310 |
- |
311 |
- fixfocus |
312 |
- test focus-6.1 {miscellaneous - embedded application in same process} -constraints { |
313 |
-- unix testwrapper |
314 |
-+ knownBug |
315 |
- } -setup { |
316 |
- eval interp delete [interp slaves] |
317 |
- } -body { |
318 |
-@@ -677,7 +677,7 @@ |
319 |
- } -result {{.t.f2.e1 {} {focus out .t.f2.e1 NotifyNonlinear} {focus out .t.f2 NotifyNonlinearVirtual} {focus in .t.f1 NotifyNonlinear} | {focus out .t.f1 NotifyNonlinear} {focus in .t.f2 NotifyNonlinearVirtual} {focus in .t.f2.e1 NotifyNonlinear}} {{focus in . NotifyVirtual} {focus in .e1 NotifyAncestor} | {focus out .e1 NotifyAncestor} {focus out . NotifyVirtual}}} |
320 |
- |
321 |
- test focus-6.2 {miscellaneous - embedded application in different process} -constraints { |
322 |
-- unix testwrapper |
323 |
-+ knownBug |
324 |
- } -body { |
325 |
- setupbg |
326 |
- toplevel .t |
327 |
---- a/tests/font.test 2020-12-26 19:15:55.199228774 +0100 |
328 |
-+++ b/tests/font.test 2020-12-26 19:18:05.414951407 +0100 |
329 |
-@@ -134,7 +134,7 @@ |
330 |
- # not (objc > 3) so objPtr = NULL |
331 |
- lindex [font actual {-family times}] 0 |
332 |
- } -result {-family} |
333 |
--test font-4.9 {font command: actual} -constraints {unix noExceed} -body { |
334 |
-+test font-4.9 {font command: actual} -constraints {knownBug} -body { |
335 |
- # (objc > 3) so objPtr = objv[3 + skip] |
336 |
- string tolower [font actual {-family times} -family] |
337 |
- } -result {times} |
338 |
-@@ -399,7 +399,7 @@ |
339 |
- # (tkfont == NULL) |
340 |
- font measure "\{xyz" abc |
341 |
- } -returnCodes error -result "font \"{xyz\" doesn't exist" |
342 |
--test font-9.5 {font command: measure} -body { |
343 |
-+test font-9.5 {font command: measure} -constraints knownBug -body { |
344 |
- # Tk_TextWidth() |
345 |
- expr {[font measure $fixed "abcdefg"] == [font measure $fixed "a"]*7 } |
346 |
- } -result 1 |
347 |
-@@ -450,7 +450,7 @@ |
348 |
- # (Tcl_GetIndexFromObj() != TCL_OK) |
349 |
- font metrics $fixed -xyz |
350 |
- } -returnCodes error -result {bad metric "-xyz": must be -ascent, -descent, -linespace, or -fixed} |
351 |
--test font-10.9 {font command: metrics: get individual metrics} -body { |
352 |
-+test font-10.9 {font command: metrics: get individual metrics} -constraints knownBug -body { |
353 |
- font metrics $fixed -ascent |
354 |
- font metrics $fixed -descent |
355 |
- font metrics $fixed -linespace |
356 |
-@@ -921,7 +921,7 @@ |
357 |
- } |
358 |
- } -result {LucidaBright} |
359 |
- test font-21.6 {Tk_PostscriptFontName procedure: spaces} -constraints { |
360 |
-- x11 |
361 |
-+ knownBug |
362 |
- } -body { |
363 |
- psfontname "{new century schoolbook} 10" |
364 |
- } -result {NewCenturySchlbk-Roman} |
365 |
---- a/tests/main.test.old 2020-12-26 19:27:49.188791206 +0100 |
366 |
-+++ b/tests/main.test 2020-12-26 19:28:40.782897366 +0100 |
367 |
-@@ -91,7 +91,7 @@ |
368 |
- removeFile script |
369 |
- } -returnCodes ok -result {-enc utf-8 script} |
370 |
- |
371 |
--test main-3.1 {Tk_ParseArgv: -help option} -constraints unix -body { |
372 |
-+test main-3.1 {Tk_ParseArgv: -help option} -constraints knownBug -body { |
373 |
- # Run only on unix as Win32 pops up native dialog |
374 |
- exec [interpreter] -help |
375 |
- } -returnCodes error -match glob -result {% application-specific initialization failed: Command-specific options:*} |
376 |
---- a/tests/pack.test 2020-12-26 19:29:47.742736743 +0100 |
377 |
-+++ b/tests/pack.test 2020-12-26 19:30:50.867642152 +0100 |
378 |
-@@ -1551,7 +1551,7 @@ |
379 |
- |
380 |
- |
381 |
- test pack-18.1 {unmap slaves when master unmapped} -constraints { |
382 |
-- tempNotPc |
383 |
-+ knownBug |
384 |
- } -setup { |
385 |
- eval destroy [winfo child .pack] |
386 |
- } -body { |
387 |
-@@ -1575,7 +1575,7 @@ |
388 |
- update |
389 |
- lappend result [winfo ismapped .pack.a] |
390 |
- } -result {1 0 200 75 0 1} |
391 |
--test pack-18.2 {unmap slaves when master unmapped} -setup { |
392 |
-+test pack-18.2 {unmap slaves when master unmapped} -constraints knownBug -setup { |
393 |
- eval destroy [winfo child .pack] |
394 |
- } -body { |
395 |
- |
396 |
---- a/tests/place.test 2020-12-26 20:20:26.508256229 +0100 |
397 |
-+++ b/tests/place.test 2020-12-26 20:21:00.213678014 +0100 |
398 |
-@@ -259,7 +259,7 @@ |
399 |
- } -result {30 60} |
400 |
- |
401 |
- |
402 |
--test place-8.1 {MasterStructureProc, mapping and unmapping slaves} -setup { |
403 |
-+test place-8.1 {MasterStructureProc, mapping and unmapping slaves} -constraints knownBug -setup { |
404 |
- place forget .t.f2 |
405 |
- place forget .t.f |
406 |
- } -body { |
407 |
-@@ -276,7 +276,7 @@ |
408 |
- update |
409 |
- lappend result [winfo ismapped .t.f2] |
410 |
- } -result {1 0 40 30 0 1} |
411 |
--test place-8.2 {MasterStructureProc, mapping and unmapping slaves} -setup { |
412 |
-+test place-8.2 {MasterStructureProc, mapping and unmapping slaves} -constraints knownBug -setup { |
413 |
- place forget .t.f2 |
414 |
- place forget .t.f |
415 |
- } -body { |
416 |
---- a/tests/scrollbar.test 2020-12-26 20:24:21.356505305 +0100 |
417 |
-+++ b/tests/scrollbar.test 2020-12-26 20:26:32.214409209 +0100 |
418 |
-@@ -270,15 +270,9 @@ |
419 |
- format {%.6g} [.s fraction 4 21] |
420 |
- } [format %.6g [expr {(21.0 - ([winfo height .s] - [getTroughSize .s])/2.0) \ |
421 |
- /([getTroughSize .s] - 1)}]] |
422 |
--test scrollbar-3.36 {ScrollbarWidgetCmd procedure, "fraction" option} x11 { |
423 |
-- format {%.6g} [.s fraction 4 179] |
424 |
--} {1} |
425 |
- test scrollbar-3.37 {ScrollbarWidgetCmd procedure, "fraction" option} {testmetrics} { |
426 |
- format {%.6g} [.s fraction 4 [expr {200 - [testmetrics cyvscroll .s]}]] |
427 |
- } {1} |
428 |
--test scrollbar-3.38 {ScrollbarWidgetCmd procedure, "fraction" option} x11 { |
429 |
-- format {%.6g} [.s fraction 4 178] |
430 |
--} {0.993711} |
431 |
- test scrollbar-3.39 {ScrollbarWidgetCmd procedure, "fraction" option} {testmetrics win} { |
432 |
- expr { |
433 |
- [format {%.6g} [.s fraction 4 [expr {200 - [testmetrics cyvscroll .s] - 2}]]] |
434 |
-@@ -491,9 +485,6 @@ |
435 |
- # macOS scrollbars have no arrows nowadays |
436 |
- .s identify 8 4 |
437 |
- } {trough1} |
438 |
--test scrollbar-6.12.1 {ScrollbarPosition procedure} x11 { |
439 |
-- .s identify 8 19 |
440 |
--} {arrow1} |
441 |
- test scrollbar-6.12.2 {ScrollbarPosition procedure} aqua { |
442 |
- # macOS scrollbars have no arrows nowadays |
443 |
- .s identify 8 19 |
444 |
-@@ -549,9 +540,6 @@ |
445 |
- .s identify [expr {[winfo width .s] / 2}] [expr {[winfo height .s] |
446 |
- - [testmetrics cyvscroll .s] - 1}] |
447 |
- } {trough2} |
448 |
--test scrollbar-6.29.1 {ScrollbarPosition procedure} x11 { |
449 |
-- .s identify 8 180 |
450 |
--} {arrow2} |
451 |
- test scrollbar-6.29.2 {ScrollbarPosition procedure} aqua { |
452 |
- # macOS scrollbars have no arrows nowadays |
453 |
- .s identify 8 180 |
454 |
-@@ -573,9 +561,6 @@ |
455 |
- test scrollbar-6.34 {ScrollbarPosition procedure} unix { |
456 |
- .s identify 4 100 |
457 |
- } {trough2} |
458 |
--test scrollbar-6.35 {ScrollbarPosition procedure} unix { |
459 |
-- .s identify 18 100 |
460 |
--} {trough2} |
461 |
- test scrollbar-6.37 {ScrollbarPosition procedure} win { |
462 |
- .s identify 0 100 |
463 |
- } {trough2} |
464 |
-@@ -612,9 +597,6 @@ |
465 |
- .t.s identify [expr {int(.4 / [.t.s delta 1 0]) + [testmetrics cxhscroll .t.s] |
466 |
- - 1}] [expr {[winfo height .t.s] / 2}] |
467 |
- } {slider} |
468 |
--test scrollbar-6.44 {ScrollbarPosition procedure} unix { |
469 |
-- .t.s identify 100 18 |
470 |
--} {trough2} |
471 |
- test scrollbar-6.46 {ScrollbarPosition procedure} win { |
472 |
- .t.s identify 100 [expr {[winfo height .t.s] - 1}] |
473 |
- } {trough2} |
474 |
---- a/tests/send.test 2020-12-26 22:31:48.460395767 +0100 |
475 |
-+++ b/tests/send.test 2020-12-26 22:32:55.577225240 +0100 |
476 |
-@@ -522,10 +522,6 @@ |
477 |
- set x |
478 |
- } {1 {target application died}} |
479 |
- |
480 |
--test send-11.1 {AppendPropCarefully and AppendErrorProc procedures} {secureserver testsend} { |
481 |
-- testsend prop root InterpRegistry "0x21447 dummy\n" |
482 |
-- list [catch {send dummy foo} msg] $msg |
483 |
--} {1 {no application named "dummy"}} |
484 |
- test send-11.2 {AppendPropCarefully and AppendErrorProc procedures} {secureserver testsend} { |
485 |
- testsend prop comm Comm "c\n-r0x123 44\n-n tktest\n-s concat a b c\n" |
486 |
- update |
487 |
---- a/tests/text.test 2020-12-26 22:33:20.794786722 +0100 |
488 |
-+++ b/tests/text.test 2020-12-26 22:35:03.560000413 +0100 |
489 |
-@@ -6682,7 +6682,7 @@ |
490 |
- } -cleanup { |
491 |
- destroy .t |
492 |
- } -result {no_<<Selection>>_event_fired} |
493 |
--test text-27.15d {<<Selection>> virtual event on <Delete> with cursor inside selection} -body { |
494 |
-+test text-27.15d {<<Selection>> virtual event on <Delete> with cursor inside selection} -constraints knownBug -body { |
495 |
- pack [text .t] |
496 |
- .t insert end "There is a selection in this text widget,\n" |
497 |
- .t insert end "and it will be impacted by the <Delete> event received.\n" |
498 |
---- a/tests/unixEmbed.test 2020-12-26 22:51:50.192506259 +0100 |
499 |
-+++ b/tests/unixEmbed.test 2020-12-26 22:52:21.590963386 +0100 |
500 |
-@@ -1086,7 +1086,7 @@ |
501 |
- } -result {{} {{key b}}} |
502 |
- |
503 |
- test unixEmbed-8.1 {TkpClaimFocus procedure} -constraints { |
504 |
-- unix notAqua |
505 |
-+ knownBug |
506 |
- } -setup { |
507 |
- deleteWindows |
508 |
- } -body { |
509 |
---- a/tests/textWind.test 2020-12-26 23:02:18.379690140 +0100 |
510 |
-+++ b/tests/textWind.test 2020-12-26 23:02:51.948113638 +0100 |
511 |
-@@ -790,7 +790,7 @@ |
512 |
- {{can't embed .t relative to .t}} \ |
513 |
- [list [expr {$padx+5*$fixedWidth}] [expr {$pady+($fixedHeight/2)}] 0 0]] |
514 |
- |
515 |
--test textWind-10.7 {EmbWinLayoutProc procedure, error in creating window} -setup { |
516 |
-+test textWind-10.7 {EmbWinLayoutProc procedure, error in creating window} -constraints knownBug -setup { |
517 |
- .t delete 1.0 end |
518 |
- destroy .t2 |
519 |
- proc bgerror args { |
520 |
---- a/tests/winWm.test 2020-12-26 23:03:20.701619782 +0100 |
521 |
-+++ b/tests/winWm.test 2020-12-26 23:03:46.991168197 +0100 |
522 |
-@@ -532,7 +532,7 @@ |
523 |
- destroy .tx .t .sd |
524 |
- } -result {ok} |
525 |
- |
526 |
--test winWm-9.2 "check wm forget for unmapped parent (#3205464,#2967911)" -setup { |
527 |
-+test winWm-9.2 "check wm forget for unmapped parent (#3205464,#2967911)" -constraints knownBug -setup { |
528 |
- destroy .t |
529 |
- toplevel .t |
530 |
- set winwm92 {} |
531 |
---- a/tests/winfo.test 2020-12-26 23:04:34.411353552 +0100 |
532 |
-+++ b/tests/winfo.test 2020-12-26 23:05:25.199480886 +0100 |
533 |
-@@ -291,7 +291,7 @@ |
534 |
- test winfo-9.3 {"winfo viewable" command} -body { |
535 |
- winfo viewable . |
536 |
- } -result {1} |
537 |
--test winfo-9.4 {"winfo viewable" command} -body { |
538 |
-+test winfo-9.4 {"winfo viewable" command} -constraints knownBug -body { |
539 |
- wm iconify . |
540 |
- winfo viewable . |
541 |
- } -cleanup { |
542 |
-@@ -320,7 +320,7 @@ |
543 |
- } -cleanup { |
544 |
- deleteWindows |
545 |
- } -result {0 0} |
546 |
--test winfo-9.7 {"winfo viewable" command} -setup { |
547 |
-+test winfo-9.7 {"winfo viewable" command} -constraints knownBug -setup { |
548 |
- deleteWindows |
549 |
- } -body { |
550 |
- frame .f1 -width 100 -height 100 -relief raised -bd 2 |
551 |
---- a/tests/wm.test 2020-12-26 23:06:24.946454094 +0100 |
552 |
-+++ b/tests/wm.test 2020-12-26 23:09:41.055082358 +0100 |
553 |
-@@ -805,7 +805,7 @@ |
554 |
- destroy .t2 .r.f |
555 |
- } -result {can't iconify .t2: it is an embedded window} |
556 |
- |
557 |
--test wm-iconify-3.1 {iconify behavior} -body { |
558 |
-+test wm-iconify-3.1 {iconify behavior} -constraints knownBug -body { |
559 |
- toplevel .t2 |
560 |
- wm geom .t2 -0+0 |
561 |
- update |
562 |
-@@ -1413,7 +1413,7 @@ |
563 |
- |
564 |
- deleteWindows |
565 |
- |
566 |
--test wm-stackorder-3.1 {unmapped toplevel} -body { |
567 |
-+test wm-stackorder-3.1 {unmapped toplevel} -constraints knownBug -body { |
568 |
- toplevel .t1 ; update |
569 |
- toplevel .t2 ; update |
570 |
- wm iconify .t1 |
571 |
-@@ -1523,7 +1523,7 @@ |
572 |
- destroy .t |
573 |
- } -result {.t .} |
574 |
- test wm-stackorder-5.2 {A normal toplevel can't be raised above an \ |
575 |
-- overrideredirect toplevel on unix} -constraints x11 -body { |
576 |
-+ overrideredirect toplevel on unix} -constraints knownBug -body { |
577 |
- toplevel .t |
578 |
- tkwait visibility .t |
579 |
- wm overrideredirect .t 1 |
580 |
-@@ -1722,7 +1722,7 @@ |
581 |
- } -result {withdrawn 0 normal 1} |
582 |
- |
583 |
- test wm-transient-4.1 {transient toplevel is withdrawn |
584 |
-- when mapped if master is iconic} -body { |
585 |
-+ when mapped if master is iconic} -constraints knownBug -body { |
586 |
- toplevel .master |
587 |
- wm iconify .master |
588 |
- update |
589 |
-@@ -1734,7 +1734,7 @@ |
590 |
- deleteWindows |
591 |
- } -result {withdrawn 0} |
592 |
- test wm-transient-4.2 {already mapped transient toplevel |
593 |
-- is withdrawn if master is iconic} -body { |
594 |
-+ is withdrawn if master is iconic} -constraints knownBug -body { |
595 |
- toplevel .master |
596 |
- raiseDelay |
597 |
- wm iconify .master |
598 |
-@@ -1748,7 +1748,7 @@ |
599 |
- deleteWindows |
600 |
- } -result {withdrawn 0} |
601 |
- test wm-transient-4.3 {iconify/deiconify on the master |
602 |
-- does a withdraw/deiconify on the transient} -setup { |
603 |
-+ does a withdraw/deiconify on the transient} -constraints knownBug -setup { |
604 |
- set results [list] |
605 |
- } -body { |
606 |
- toplevel .master |
607 |
-@@ -1924,7 +1924,7 @@ |
608 |
- deleteWindows |
609 |
- } |
610 |
- |
611 |
--test wm-transient-8.1 {transient to withdrawn window, Bug 1163496} -setup { |
612 |
-+test wm-transient-8.1 {transient to withdrawn window, Bug 1163496} -constraints knownBug -setup { |
613 |
- deleteWindows |
614 |
- set result {} |
615 |
- } -body { |
616 |
-@@ -2001,7 +2001,7 @@ |
617 |
- } -cleanup { |
618 |
- deleteWindows |
619 |
- } -result {iconic} |
620 |
--test wm-state-2.8 {state change after map} -body { |
621 |
-+test wm-state-2.8 {state change after map} -constraints knownBug -body { |
622 |
- toplevel .t |
623 |
- update |
624 |
- wm state .t iconic |
625 |
-@@ -2009,7 +2009,7 @@ |
626 |
- } -cleanup { |
627 |
- deleteWindows |
628 |
- } -result {iconic} |
629 |
--test wm-state-2.9 {state change after map} -body { |
630 |
-+test wm-state-2.9 {state change after map} -constraints knownBug -body { |
631 |
- toplevel .t |
632 |
- update |
633 |
- wm iconify .t |
634 |
|
635 |
diff --git a/dev-lang/tk/files/tk-8.6.8-libieee.patch b/dev-lang/tk/files/tk-8.6.8-libieee.patch |
636 |
deleted file mode 100644 |
637 |
index 942144e68c71..000000000000 |
638 |
--- a/dev-lang/tk/files/tk-8.6.8-libieee.patch |
639 |
+++ /dev/null |
640 |
@@ -1,15 +0,0 @@ |
641 |
---- a/unix/tcl.m4 |
642 |
-+++ b/unix/tcl.m4 |
643 |
-@@ -2470,12 +2470,9 @@ |
644 |
- #-------------------------------------------------------------------- |
645 |
- # On a few very rare systems, all of the libm.a stuff is |
646 |
- # already in libc.a. Set compiler flags accordingly. |
647 |
-- # Also, Linux requires the "ieee" library for math to work |
648 |
-- # right (and it must appear before "-lm"). |
649 |
- #-------------------------------------------------------------------- |
650 |
- |
651 |
- AC_CHECK_FUNC(sin, MATH_LIBS="", MATH_LIBS="-lm") |
652 |
-- AC_CHECK_LIB(ieee, main, [MATH_LIBS="-lieee $MATH_LIBS"]) |
653 |
- |
654 |
- #-------------------------------------------------------------------- |
655 |
- # Interactive UNIX requires -linet instead of -lsocket, plus it |
656 |
|
657 |
diff --git a/dev-lang/tk/tk-8.6.10.ebuild b/dev-lang/tk/tk-8.6.10.ebuild |
658 |
deleted file mode 100644 |
659 |
index 4797dd034e20..000000000000 |
660 |
--- a/dev-lang/tk/tk-8.6.10.ebuild |
661 |
+++ /dev/null |
662 |
@@ -1,153 +0,0 @@ |
663 |
-# Copyright 1999-2021 Gentoo Authors |
664 |
-# Distributed under the terms of the GNU General Public License v2 |
665 |
- |
666 |
-EAPI=7 |
667 |
- |
668 |
-inherit autotools multilib-minimal multilib prefix toolchain-funcs virtualx |
669 |
- |
670 |
-MY_P="${PN}${PV/_beta/b}" |
671 |
- |
672 |
-DESCRIPTION="Tk Widget Set" |
673 |
-HOMEPAGE="http://www.tcl.tk/" |
674 |
-SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz" |
675 |
- |
676 |
-LICENSE="tcltk" |
677 |
-SLOT="0/8.6" |
678 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
679 |
-IUSE="debug +threads truetype aqua xscreensaver" |
680 |
-RESTRICT="!test? ( test )" |
681 |
- |
682 |
-RDEPEND=" |
683 |
- !aqua? ( |
684 |
- >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] |
685 |
- >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
686 |
- >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] |
687 |
- truetype? ( >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}] ) |
688 |
- xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1[${MULTILIB_USEDEP}] ) |
689 |
- ) |
690 |
- ~dev-lang/tcl-$(ver_cut 1-3):0=[${MULTILIB_USEDEP}]" |
691 |
-DEPEND="${RDEPEND} |
692 |
- !aqua? ( x11-base/xorg-proto )" |
693 |
-BDEPEND="virtual/pkgconfig" |
694 |
-# Not bumped to 8.6 |
695 |
-#RESTRICT=test |
696 |
- |
697 |
-SPARENT="${WORKDIR}/${PN}$(ver_cut 1-3 ${PV})" |
698 |
-S="${SPARENT}"/unix |
699 |
- |
700 |
-PATCHES=( |
701 |
- "${FILESDIR}"/${P}-multilib.patch |
702 |
- "${FILESDIR}"/${PN}-8.4.15-aqua.patch |
703 |
- "${FILESDIR}"/${PN}-8.6.9-conf.patch # Bug 125971 |
704 |
- "${FILESDIR}"/${P}-test.patch |
705 |
-) |
706 |
- |
707 |
-src_prepare() { |
708 |
- find \ |
709 |
- "${SPARENT}"/compat/* \ |
710 |
- -delete || die |
711 |
- |
712 |
- pushd "${SPARENT}" &>/dev/null || die |
713 |
- default |
714 |
- |
715 |
- # failing test too big to be adapted |
716 |
- rm tests/textDisp.test \ |
717 |
- tests/unixFont.test \ |
718 |
- tests/unixWm.test \ |
719 |
- || die |
720 |
- |
721 |
- popd &>/dev/null || die |
722 |
- eprefixify Makefile.in |
723 |
- |
724 |
- # Make sure we use the right pkg-config, and link against fontconfig |
725 |
- # (since the code base uses Fc* functions). |
726 |
- sed \ |
727 |
- -e 's/FT_New_Face/XftFontOpen/g' \ |
728 |
- -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \ |
729 |
- -e 's:xft freetype2:xft freetype2 fontconfig:' \ |
730 |
- -i configure.in || die |
731 |
- rm configure || die |
732 |
- |
733 |
- tc-export CC |
734 |
- |
735 |
- sed \ |
736 |
- -e '/chmod/s:555:755:g' \ |
737 |
- -i Makefile.in || die |
738 |
- |
739 |
- sed \ |
740 |
- -e 's:-O[2s]\?::g' \ |
741 |
- -i tcl.m4 || die |
742 |
- |
743 |
- mv configure.{in,ac} || die |
744 |
- |
745 |
- eautoconf |
746 |
- |
747 |
- multilib_copy_sources |
748 |
-} |
749 |
- |
750 |
-multilib_src_configure() { |
751 |
- if tc-is-cross-compiler ; then |
752 |
- export ac_cv_func_strtod=yes |
753 |
- export tcl_cv_strtod_buggy=1 |
754 |
- fi |
755 |
- |
756 |
- local mylibdir=$(get_libdir) |
757 |
- |
758 |
- econf \ |
759 |
- --with-tcl="${EPREFIX}/usr/${mylibdir}" \ |
760 |
- $(use_enable threads) \ |
761 |
- $(use_enable aqua) \ |
762 |
- $(use_enable truetype xft) \ |
763 |
- $(use_enable xscreensaver xss) \ |
764 |
- $(use_enable debug symbols) |
765 |
-} |
766 |
- |
767 |
-multilib_src_test() { |
768 |
- virtx emake test |
769 |
-} |
770 |
- |
771 |
-multilib_src_install() { |
772 |
- #short version number |
773 |
- local v1=$(ver_cut 1-2) |
774 |
- local mylibdir=$(get_libdir) |
775 |
- |
776 |
- S= default |
777 |
- |
778 |
- # normalize $S path, bug #280766 (pkgcore) |
779 |
- local nS="$(cd "${S}"; pwd)" |
780 |
- |
781 |
- # fix the tkConfig.sh to eliminate refs to the build directory |
782 |
- # and drop unnecessary -L inclusion to default system libdir |
783 |
- |
784 |
- sed \ |
785 |
- -e "/^TK_BUILD_LIB_SPEC=/s:-L${S}-\w*\.\w* ::g" \ |
786 |
- -e "/^TK_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ |
787 |
- -e "/^TK_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tk${v1}/include:g" \ |
788 |
- -e "/^TK_BUILD_STUB_LIB_SPEC=/s:-L${S}-\w*\.\w* *::g" \ |
789 |
- -e "/^TK_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ |
790 |
- -e "/^TK_BUILD_STUB_LIB_PATH=/s:${S}-\w*\.\w*:${EPREFIX}/usr/${mylibdir}:g" \ |
791 |
- -e "/^TK_LIB_FILE=/s:'libtk${v1}..TK_DBGX..so':\"libk${v1}\$\{TK_DBGX\}.so\":g" \ |
792 |
- -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die |
793 |
- if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then |
794 |
- sed \ |
795 |
- -e "/^TK_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \ |
796 |
- -e "/^TK_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \ |
797 |
- -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die |
798 |
- fi |
799 |
- |
800 |
- # install private headers |
801 |
- insinto /usr/${mylibdir}/tk${v1}/include/unix |
802 |
- doins "${S}"/*.h |
803 |
- insinto /usr/${mylibdir}/tk${v1}/include/generic |
804 |
- doins "${SPARENT}"/generic/*.h |
805 |
- rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/{tk,tkDecls,tkPlatDecls}.h || die |
806 |
- |
807 |
- # install symlink for libraries |
808 |
- dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname) |
809 |
- dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a |
810 |
- |
811 |
- if multilib_is_native_abi; then |
812 |
- dosym wish${v1} /usr/bin/wish |
813 |
- dodoc "${SPARENT}"/{ChangeLog*,README.md,changes} |
814 |
- fi |
815 |
-} |
816 |
|
817 |
diff --git a/dev-lang/tk/tk-8.6.11.ebuild b/dev-lang/tk/tk-8.6.11.ebuild |
818 |
deleted file mode 100644 |
819 |
index 60626177b843..000000000000 |
820 |
--- a/dev-lang/tk/tk-8.6.11.ebuild |
821 |
+++ /dev/null |
822 |
@@ -1,146 +0,0 @@ |
823 |
-# Copyright 1999-2021 Gentoo Authors |
824 |
-# Distributed under the terms of the GNU General Public License v2 |
825 |
- |
826 |
-EAPI=7 |
827 |
- |
828 |
-inherit autotools multilib-minimal multilib prefix toolchain-funcs virtualx |
829 |
- |
830 |
-MY_P="${PN}${PV/_beta/b}" |
831 |
- |
832 |
-DESCRIPTION="Tk Widget Set" |
833 |
-HOMEPAGE="http://www.tcl.tk/" |
834 |
-SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz" |
835 |
- |
836 |
-LICENSE="tcltk" |
837 |
-SLOT="0/8.6" |
838 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
839 |
-IUSE="debug +threads truetype aqua xscreensaver" |
840 |
-RESTRICT="!test? ( test )" |
841 |
- |
842 |
-RDEPEND=" |
843 |
- !aqua? ( |
844 |
- >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] |
845 |
- >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
846 |
- >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] |
847 |
- truetype? ( >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}] ) |
848 |
- xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1[${MULTILIB_USEDEP}] ) |
849 |
- ) |
850 |
- ~dev-lang/tcl-$(ver_cut 1-3):0=[${MULTILIB_USEDEP}]" |
851 |
-DEPEND="${RDEPEND} |
852 |
- !aqua? ( x11-base/xorg-proto )" |
853 |
-BDEPEND="virtual/pkgconfig" |
854 |
-# Not bumped to 8.6 |
855 |
-#RESTRICT=test |
856 |
- |
857 |
-SPARENT="${WORKDIR}/${PN}$(ver_cut 1-3 ${PV})" |
858 |
-S="${SPARENT}"/unix |
859 |
- |
860 |
-PATCHES=( |
861 |
- "${FILESDIR}"/${PN}-8.6.10-multilib.patch |
862 |
- "${FILESDIR}"/${PN}-8.4.15-aqua.patch |
863 |
- "${FILESDIR}"/${PN}-8.6.9-conf.patch # Bug 125971 |
864 |
- "${FILESDIR}"/${P}-test.patch |
865 |
-) |
866 |
- |
867 |
-src_prepare() { |
868 |
- find \ |
869 |
- "${SPARENT}"/compat/* \ |
870 |
- -delete || die |
871 |
- |
872 |
- pushd "${SPARENT}" &>/dev/null || die |
873 |
- default |
874 |
- popd &>/dev/null || die |
875 |
- eprefixify Makefile.in |
876 |
- |
877 |
- # Make sure we use the right pkg-config, and link against fontconfig |
878 |
- # (since the code base uses Fc* functions). |
879 |
- sed \ |
880 |
- -e 's/FT_New_Face/XftFontOpen/g' \ |
881 |
- -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \ |
882 |
- -e 's:xft freetype2:xft freetype2 fontconfig:' \ |
883 |
- -i configure.in || die |
884 |
- rm configure || die |
885 |
- |
886 |
- tc-export CC |
887 |
- |
888 |
- sed \ |
889 |
- -e '/chmod/s:555:755:g' \ |
890 |
- -i Makefile.in || die |
891 |
- |
892 |
- sed \ |
893 |
- -e 's:-O[2s]\?::g' \ |
894 |
- -i tcl.m4 || die |
895 |
- |
896 |
- mv configure.{in,ac} || die |
897 |
- |
898 |
- eautoconf |
899 |
- |
900 |
- multilib_copy_sources |
901 |
-} |
902 |
- |
903 |
-multilib_src_configure() { |
904 |
- if tc-is-cross-compiler ; then |
905 |
- export ac_cv_func_strtod=yes |
906 |
- export tcl_cv_strtod_buggy=1 |
907 |
- fi |
908 |
- |
909 |
- local mylibdir=$(get_libdir) |
910 |
- |
911 |
- econf \ |
912 |
- --with-tcl="${EPREFIX}/usr/${mylibdir}" \ |
913 |
- $(use_enable threads) \ |
914 |
- $(use_enable aqua) \ |
915 |
- $(use_enable truetype xft) \ |
916 |
- $(use_enable xscreensaver xss) \ |
917 |
- $(use_enable debug symbols) |
918 |
-} |
919 |
- |
920 |
-multilib_src_test() { |
921 |
- CI=1 virtx emake test |
922 |
-} |
923 |
- |
924 |
-multilib_src_install() { |
925 |
- #short version number |
926 |
- local v1=$(ver_cut 1-2) |
927 |
- local mylibdir=$(get_libdir) |
928 |
- |
929 |
- S= default |
930 |
- |
931 |
- # normalize $S path, bug #280766 (pkgcore) |
932 |
- local nS="$(cd "${S}"; pwd)" |
933 |
- |
934 |
- # fix the tkConfig.sh to eliminate refs to the build directory |
935 |
- # and drop unnecessary -L inclusion to default system libdir |
936 |
- |
937 |
- sed \ |
938 |
- -e "/^TK_BUILD_LIB_SPEC=/s:-L${S}-\w*\.\w* ::g" \ |
939 |
- -e "/^TK_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ |
940 |
- -e "/^TK_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tk${v1}/include:g" \ |
941 |
- -e "/^TK_BUILD_STUB_LIB_SPEC=/s:-L${S}-\w*\.\w* *::g" \ |
942 |
- -e "/^TK_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ |
943 |
- -e "/^TK_BUILD_STUB_LIB_PATH=/s:${S}-\w*\.\w*:${EPREFIX}/usr/${mylibdir}:g" \ |
944 |
- -e "/^TK_LIB_FILE=/s:'libtk${v1}..TK_DBGX..so':\"libk${v1}\$\{TK_DBGX\}.so\":g" \ |
945 |
- -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die |
946 |
- if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then |
947 |
- sed \ |
948 |
- -e "/^TK_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \ |
949 |
- -e "/^TK_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \ |
950 |
- -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die |
951 |
- fi |
952 |
- |
953 |
- # install private headers |
954 |
- insinto /usr/${mylibdir}/tk${v1}/include/unix |
955 |
- doins "${S}"/*.h |
956 |
- insinto /usr/${mylibdir}/tk${v1}/include/generic |
957 |
- doins "${SPARENT}"/generic/*.h |
958 |
- rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/{tk,tkDecls,tkPlatDecls}.h || die |
959 |
- |
960 |
- # install symlink for libraries |
961 |
- dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname) |
962 |
- dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a |
963 |
- |
964 |
- if multilib_is_native_abi; then |
965 |
- dosym wish${v1} /usr/bin/wish |
966 |
- dodoc "${SPARENT}"/{ChangeLog*,README.md,changes} |
967 |
- fi |
968 |
-} |
969 |
|
970 |
diff --git a/dev-lang/tk/tk-8.6.8.ebuild b/dev-lang/tk/tk-8.6.8.ebuild |
971 |
deleted file mode 100644 |
972 |
index cd10397286df..000000000000 |
973 |
--- a/dev-lang/tk/tk-8.6.8.ebuild |
974 |
+++ /dev/null |
975 |
@@ -1,149 +0,0 @@ |
976 |
-# Copyright 1999-2021 Gentoo Authors |
977 |
-# Distributed under the terms of the GNU General Public License v2 |
978 |
- |
979 |
-EAPI=6 |
980 |
- |
981 |
-inherit autotools multilib multilib-minimal prefix toolchain-funcs versionator virtualx |
982 |
- |
983 |
-MY_P="${PN}${PV/_beta/b}" |
984 |
- |
985 |
-DESCRIPTION="Tk Widget Set" |
986 |
-HOMEPAGE="http://www.tcl.tk/" |
987 |
-SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz" |
988 |
- |
989 |
-LICENSE="tcltk" |
990 |
-SLOT="0/8.6" |
991 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
992 |
-IUSE="debug +threads truetype aqua xscreensaver" |
993 |
-RESTRICT="!test? ( test )" |
994 |
- |
995 |
-RDEPEND=" |
996 |
- !aqua? ( |
997 |
- >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] |
998 |
- >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
999 |
- >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] |
1000 |
- truetype? ( >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}] ) |
1001 |
- xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1[${MULTILIB_USEDEP}] ) |
1002 |
- ) |
1003 |
- ~dev-lang/tcl-${PV}:0=[${MULTILIB_USEDEP}]" |
1004 |
-DEPEND=" |
1005 |
- ${RDEPEND} |
1006 |
- virtual/pkgconfig |
1007 |
- !aqua? ( x11-base/xorg-proto )" |
1008 |
- |
1009 |
-# Not bumped to 8.6 |
1010 |
-#RESTRICT=test |
1011 |
- |
1012 |
-SPARENT="${WORKDIR}/${MY_P}" |
1013 |
-S="${SPARENT}"/unix |
1014 |
- |
1015 |
-PATCHES=( |
1016 |
- "${FILESDIR}"/${PN}-8.5.11-fedora-xft.patch |
1017 |
- "${FILESDIR}"/${PN}-8.5.13-multilib.patch |
1018 |
- "${FILESDIR}"/${PN}-8.4.15-aqua.patch |
1019 |
- "${FILESDIR}"/${PN}-8.5.14-conf.patch # Bug 125971 |
1020 |
- "${FILESDIR}"/${PN}-8.6.8-libieee.patch |
1021 |
-) |
1022 |
- |
1023 |
-src_prepare() { |
1024 |
- find \ |
1025 |
- "${SPARENT}"/compat/* \ |
1026 |
- -delete || die |
1027 |
- |
1028 |
- pushd "${SPARENT}" &>/dev/null || die |
1029 |
- default |
1030 |
- popd &>/dev/null || die |
1031 |
- eprefixify Makefile.in |
1032 |
- |
1033 |
- # Make sure we use the right pkg-config, and link against fontconfig |
1034 |
- # (since the code base uses Fc* functions). |
1035 |
- sed \ |
1036 |
- -e 's/FT_New_Face/XftFontOpen/g' \ |
1037 |
- -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \ |
1038 |
- -e 's:xft freetype2:xft freetype2 fontconfig:' \ |
1039 |
- -i configure.in || die |
1040 |
- rm configure || die |
1041 |
- |
1042 |
- tc-export CC |
1043 |
- |
1044 |
- sed \ |
1045 |
- -e '/chmod/s:555:755:g' \ |
1046 |
- -i Makefile.in || die |
1047 |
- |
1048 |
- sed \ |
1049 |
- -e 's:-O[2s]\?::g' \ |
1050 |
- -i tcl.m4 || die |
1051 |
- |
1052 |
- mv configure.{in,ac} || die |
1053 |
- |
1054 |
- eautoconf |
1055 |
- |
1056 |
- multilib_copy_sources |
1057 |
-} |
1058 |
- |
1059 |
-multilib_src_configure() { |
1060 |
- if tc-is-cross-compiler ; then |
1061 |
- export ac_cv_func_strtod=yes |
1062 |
- export tcl_cv_strtod_buggy=1 |
1063 |
- fi |
1064 |
- |
1065 |
- local mylibdir=$(get_libdir) |
1066 |
- |
1067 |
- econf \ |
1068 |
- --with-tcl="${EPREFIX}/usr/${mylibdir}" \ |
1069 |
- $(use_enable threads) \ |
1070 |
- $(use_enable aqua) \ |
1071 |
- $(use_enable truetype xft) \ |
1072 |
- $(use_enable xscreensaver xss) \ |
1073 |
- $(use_enable debug symbols) |
1074 |
-} |
1075 |
- |
1076 |
-multilib_src_test() { |
1077 |
- virtx emake test |
1078 |
-} |
1079 |
- |
1080 |
-multilib_src_install() { |
1081 |
- #short version number |
1082 |
- local v1=$(get_version_component_range 1-2) |
1083 |
- local mylibdir=$(get_libdir) |
1084 |
- |
1085 |
- S= default |
1086 |
- |
1087 |
- # normalize $S path, bug #280766 (pkgcore) |
1088 |
- local nS="$(cd "${S}"; pwd)" |
1089 |
- |
1090 |
- # fix the tkConfig.sh to eliminate refs to the build directory |
1091 |
- # and drop unnecessary -L inclusion to default system libdir |
1092 |
- |
1093 |
- sed \ |
1094 |
- -e "/^TK_BUILD_LIB_SPEC=/s:-L${S}-\w*\.\w* ::g" \ |
1095 |
- -e "/^TK_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ |
1096 |
- -e "/^TK_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tk${v1}/include:g" \ |
1097 |
- -e "/^TK_BUILD_STUB_LIB_SPEC=/s:-L${S}-\w*\.\w* *::g" \ |
1098 |
- -e "/^TK_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ |
1099 |
- -e "/^TK_BUILD_STUB_LIB_PATH=/s:${S}-\w*\.\w*:${EPREFIX}/usr/${mylibdir}:g" \ |
1100 |
- -e "/^TK_LIB_FILE=/s:'libtk${v1}..TK_DBGX..so':\"libk${v1}\$\{TK_DBGX\}.so\":g" \ |
1101 |
- -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die |
1102 |
- if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then |
1103 |
- sed \ |
1104 |
- -e "/^TK_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \ |
1105 |
- -e "/^TK_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \ |
1106 |
- -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die |
1107 |
- fi |
1108 |
- |
1109 |
- # install private headers |
1110 |
- insinto /usr/${mylibdir}/tk${v1}/include/unix |
1111 |
- doins "${S}"/*.h |
1112 |
- insinto /usr/${mylibdir}/tk${v1}/include/generic |
1113 |
- doins "${SPARENT}"/generic/*.h |
1114 |
- rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/{tk,tkDecls,tkPlatDecls}.h || die |
1115 |
- |
1116 |
- # install symlink for libraries |
1117 |
- dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname) |
1118 |
- dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a |
1119 |
- |
1120 |
- if multilib_is_native_abi; then |
1121 |
- dosym wish${v1} /usr/bin/wish |
1122 |
- dodoc "${SPARENT}"/{ChangeLog*,README,changes} |
1123 |
- fi |
1124 |
-} |
1125 |
|
1126 |
diff --git a/dev-lang/tk/tk-8.6.9.1.ebuild b/dev-lang/tk/tk-8.6.9.1.ebuild |
1127 |
deleted file mode 100644 |
1128 |
index 21e415874b5e..000000000000 |
1129 |
--- a/dev-lang/tk/tk-8.6.9.1.ebuild |
1130 |
+++ /dev/null |
1131 |
@@ -1,146 +0,0 @@ |
1132 |
-# Copyright 1999-2021 Gentoo Authors |
1133 |
-# Distributed under the terms of the GNU General Public License v2 |
1134 |
- |
1135 |
-EAPI=7 |
1136 |
- |
1137 |
-inherit autotools multilib-minimal multilib prefix toolchain-funcs virtualx |
1138 |
- |
1139 |
-MY_P="${PN}${PV/_beta/b}" |
1140 |
- |
1141 |
-DESCRIPTION="Tk Widget Set" |
1142 |
-HOMEPAGE="http://www.tcl.tk/" |
1143 |
-SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz" |
1144 |
- |
1145 |
-LICENSE="tcltk" |
1146 |
-SLOT="0/8.6" |
1147 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
1148 |
-IUSE="debug +threads truetype aqua xscreensaver" |
1149 |
-RESTRICT="!test? ( test )" |
1150 |
- |
1151 |
-RDEPEND=" |
1152 |
- !aqua? ( |
1153 |
- >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] |
1154 |
- >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
1155 |
- >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] |
1156 |
- truetype? ( >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}] ) |
1157 |
- xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1[${MULTILIB_USEDEP}] ) |
1158 |
- ) |
1159 |
- ~dev-lang/tcl-$(ver_cut 1-3):0=[${MULTILIB_USEDEP}]" |
1160 |
-DEPEND="${RDEPEND} |
1161 |
- !aqua? ( x11-base/xorg-proto )" |
1162 |
-BDEPEND="virtual/pkgconfig" |
1163 |
-# Not bumped to 8.6 |
1164 |
-#RESTRICT=test |
1165 |
- |
1166 |
-SPARENT="${WORKDIR}/${PN}$(ver_cut 1-3 ${PV})" |
1167 |
-S="${SPARENT}"/unix |
1168 |
- |
1169 |
-PATCHES=( |
1170 |
- "${FILESDIR}"/${PN}-8.5.11-fedora-xft.patch |
1171 |
- "${FILESDIR}"/${PN}-8.5.13-multilib.patch |
1172 |
- "${FILESDIR}"/${PN}-8.4.15-aqua.patch |
1173 |
- "${FILESDIR}"/${PN}-8.6.9-conf.patch # Bug 125971 |
1174 |
-) |
1175 |
- |
1176 |
-src_prepare() { |
1177 |
- find \ |
1178 |
- "${SPARENT}"/compat/* \ |
1179 |
- -delete || die |
1180 |
- |
1181 |
- pushd "${SPARENT}" &>/dev/null || die |
1182 |
- default |
1183 |
- popd &>/dev/null || die |
1184 |
- eprefixify Makefile.in |
1185 |
- |
1186 |
- # Make sure we use the right pkg-config, and link against fontconfig |
1187 |
- # (since the code base uses Fc* functions). |
1188 |
- sed \ |
1189 |
- -e 's/FT_New_Face/XftFontOpen/g' \ |
1190 |
- -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \ |
1191 |
- -e 's:xft freetype2:xft freetype2 fontconfig:' \ |
1192 |
- -i configure.in || die |
1193 |
- rm configure || die |
1194 |
- |
1195 |
- tc-export CC |
1196 |
- |
1197 |
- sed \ |
1198 |
- -e '/chmod/s:555:755:g' \ |
1199 |
- -i Makefile.in || die |
1200 |
- |
1201 |
- sed \ |
1202 |
- -e 's:-O[2s]\?::g' \ |
1203 |
- -i tcl.m4 || die |
1204 |
- |
1205 |
- mv configure.{in,ac} || die |
1206 |
- |
1207 |
- eautoconf |
1208 |
- |
1209 |
- multilib_copy_sources |
1210 |
-} |
1211 |
- |
1212 |
-multilib_src_configure() { |
1213 |
- if tc-is-cross-compiler ; then |
1214 |
- export ac_cv_func_strtod=yes |
1215 |
- export tcl_cv_strtod_buggy=1 |
1216 |
- fi |
1217 |
- |
1218 |
- local mylibdir=$(get_libdir) |
1219 |
- |
1220 |
- econf \ |
1221 |
- --with-tcl="${EPREFIX}/usr/${mylibdir}" \ |
1222 |
- $(use_enable threads) \ |
1223 |
- $(use_enable aqua) \ |
1224 |
- $(use_enable truetype xft) \ |
1225 |
- $(use_enable xscreensaver xss) \ |
1226 |
- $(use_enable debug symbols) |
1227 |
-} |
1228 |
- |
1229 |
-multilib_src_test() { |
1230 |
- virtx emake test |
1231 |
-} |
1232 |
- |
1233 |
-multilib_src_install() { |
1234 |
- #short version number |
1235 |
- local v1=$(ver_cut 1-2) |
1236 |
- local mylibdir=$(get_libdir) |
1237 |
- |
1238 |
- S= default |
1239 |
- |
1240 |
- # normalize $S path, bug #280766 (pkgcore) |
1241 |
- local nS="$(cd "${S}"; pwd)" |
1242 |
- |
1243 |
- # fix the tkConfig.sh to eliminate refs to the build directory |
1244 |
- # and drop unnecessary -L inclusion to default system libdir |
1245 |
- |
1246 |
- sed \ |
1247 |
- -e "/^TK_BUILD_LIB_SPEC=/s:-L${S}-\w*\.\w* ::g" \ |
1248 |
- -e "/^TK_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ |
1249 |
- -e "/^TK_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tk${v1}/include:g" \ |
1250 |
- -e "/^TK_BUILD_STUB_LIB_SPEC=/s:-L${S}-\w*\.\w* *::g" \ |
1251 |
- -e "/^TK_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ |
1252 |
- -e "/^TK_BUILD_STUB_LIB_PATH=/s:${S}-\w*\.\w*:${EPREFIX}/usr/${mylibdir}:g" \ |
1253 |
- -e "/^TK_LIB_FILE=/s:'libtk${v1}..TK_DBGX..so':\"libk${v1}\$\{TK_DBGX\}.so\":g" \ |
1254 |
- -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die |
1255 |
- if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then |
1256 |
- sed \ |
1257 |
- -e "/^TK_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \ |
1258 |
- -e "/^TK_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \ |
1259 |
- -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die |
1260 |
- fi |
1261 |
- |
1262 |
- # install private headers |
1263 |
- insinto /usr/${mylibdir}/tk${v1}/include/unix |
1264 |
- doins "${S}"/*.h |
1265 |
- insinto /usr/${mylibdir}/tk${v1}/include/generic |
1266 |
- doins "${SPARENT}"/generic/*.h |
1267 |
- rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/{tk,tkDecls,tkPlatDecls}.h || die |
1268 |
- |
1269 |
- # install symlink for libraries |
1270 |
- dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname) |
1271 |
- dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a |
1272 |
- |
1273 |
- if multilib_is_native_abi; then |
1274 |
- dosym wish${v1} /usr/bin/wish |
1275 |
- dodoc "${SPARENT}"/{ChangeLog*,README,changes} |
1276 |
- fi |
1277 |
-} |
1278 |
|
1279 |
diff --git a/dev-lang/tk/tk-8.6.9.ebuild b/dev-lang/tk/tk-8.6.9.ebuild |
1280 |
deleted file mode 100644 |
1281 |
index 5f5f27304523..000000000000 |
1282 |
--- a/dev-lang/tk/tk-8.6.9.ebuild |
1283 |
+++ /dev/null |
1284 |
@@ -1,146 +0,0 @@ |
1285 |
-# Copyright 1999-2021 Gentoo Authors |
1286 |
-# Distributed under the terms of the GNU General Public License v2 |
1287 |
- |
1288 |
-EAPI=7 |
1289 |
- |
1290 |
-inherit autotools multilib-minimal multilib prefix toolchain-funcs virtualx |
1291 |
- |
1292 |
-MY_P="${PN}${PV/_beta/b}" |
1293 |
- |
1294 |
-DESCRIPTION="Tk Widget Set" |
1295 |
-HOMEPAGE="http://www.tcl.tk/" |
1296 |
-SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz" |
1297 |
- |
1298 |
-LICENSE="tcltk" |
1299 |
-SLOT="0/8.6" |
1300 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
1301 |
-IUSE="debug +threads truetype aqua xscreensaver" |
1302 |
-RESTRICT="!test? ( test )" |
1303 |
- |
1304 |
-RDEPEND=" |
1305 |
- !aqua? ( |
1306 |
- >=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}] |
1307 |
- >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
1308 |
- >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}] |
1309 |
- truetype? ( >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}] ) |
1310 |
- xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1[${MULTILIB_USEDEP}] ) |
1311 |
- ) |
1312 |
- ~dev-lang/tcl-${PV}:0=[${MULTILIB_USEDEP}]" |
1313 |
-DEPEND="${RDEPEND} |
1314 |
- !aqua? ( x11-base/xorg-proto )" |
1315 |
-BDEPEND="virtual/pkgconfig" |
1316 |
-# Not bumped to 8.6 |
1317 |
-#RESTRICT=test |
1318 |
- |
1319 |
-SPARENT="${WORKDIR}/${MY_P}" |
1320 |
-S="${SPARENT}"/unix |
1321 |
- |
1322 |
-PATCHES=( |
1323 |
- "${FILESDIR}"/${PN}-8.5.11-fedora-xft.patch |
1324 |
- "${FILESDIR}"/${PN}-8.5.13-multilib.patch |
1325 |
- "${FILESDIR}"/${PN}-8.4.15-aqua.patch |
1326 |
- "${FILESDIR}"/${P}-conf.patch # Bug 125971 |
1327 |
-) |
1328 |
- |
1329 |
-src_prepare() { |
1330 |
- find \ |
1331 |
- "${SPARENT}"/compat/* \ |
1332 |
- -delete || die |
1333 |
- |
1334 |
- pushd "${SPARENT}" &>/dev/null || die |
1335 |
- default |
1336 |
- popd &>/dev/null || die |
1337 |
- eprefixify Makefile.in |
1338 |
- |
1339 |
- # Make sure we use the right pkg-config, and link against fontconfig |
1340 |
- # (since the code base uses Fc* functions). |
1341 |
- sed \ |
1342 |
- -e 's/FT_New_Face/XftFontOpen/g' \ |
1343 |
- -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \ |
1344 |
- -e 's:xft freetype2:xft freetype2 fontconfig:' \ |
1345 |
- -i configure.in || die |
1346 |
- rm configure || die |
1347 |
- |
1348 |
- tc-export CC |
1349 |
- |
1350 |
- sed \ |
1351 |
- -e '/chmod/s:555:755:g' \ |
1352 |
- -i Makefile.in || die |
1353 |
- |
1354 |
- sed \ |
1355 |
- -e 's:-O[2s]\?::g' \ |
1356 |
- -i tcl.m4 || die |
1357 |
- |
1358 |
- mv configure.{in,ac} || die |
1359 |
- |
1360 |
- eautoconf |
1361 |
- |
1362 |
- multilib_copy_sources |
1363 |
-} |
1364 |
- |
1365 |
-multilib_src_configure() { |
1366 |
- if tc-is-cross-compiler ; then |
1367 |
- export ac_cv_func_strtod=yes |
1368 |
- export tcl_cv_strtod_buggy=1 |
1369 |
- fi |
1370 |
- |
1371 |
- local mylibdir=$(get_libdir) |
1372 |
- |
1373 |
- econf \ |
1374 |
- --with-tcl="${EPREFIX}/usr/${mylibdir}" \ |
1375 |
- $(use_enable threads) \ |
1376 |
- $(use_enable aqua) \ |
1377 |
- $(use_enable truetype xft) \ |
1378 |
- $(use_enable xscreensaver xss) \ |
1379 |
- $(use_enable debug symbols) |
1380 |
-} |
1381 |
- |
1382 |
-multilib_src_test() { |
1383 |
- virtx emake test |
1384 |
-} |
1385 |
- |
1386 |
-multilib_src_install() { |
1387 |
- #short version number |
1388 |
- local v1=$(ver_cut 1-2) |
1389 |
- local mylibdir=$(get_libdir) |
1390 |
- |
1391 |
- S= default |
1392 |
- |
1393 |
- # normalize $S path, bug #280766 (pkgcore) |
1394 |
- local nS="$(cd "${S}"; pwd)" |
1395 |
- |
1396 |
- # fix the tkConfig.sh to eliminate refs to the build directory |
1397 |
- # and drop unnecessary -L inclusion to default system libdir |
1398 |
- |
1399 |
- sed \ |
1400 |
- -e "/^TK_BUILD_LIB_SPEC=/s:-L${S}-\w*\.\w* ::g" \ |
1401 |
- -e "/^TK_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ |
1402 |
- -e "/^TK_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tk${v1}/include:g" \ |
1403 |
- -e "/^TK_BUILD_STUB_LIB_SPEC=/s:-L${S}-\w*\.\w* *::g" \ |
1404 |
- -e "/^TK_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \ |
1405 |
- -e "/^TK_BUILD_STUB_LIB_PATH=/s:${S}-\w*\.\w*:${EPREFIX}/usr/${mylibdir}:g" \ |
1406 |
- -e "/^TK_LIB_FILE=/s:'libtk${v1}..TK_DBGX..so':\"libk${v1}\$\{TK_DBGX\}.so\":g" \ |
1407 |
- -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die |
1408 |
- if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then |
1409 |
- sed \ |
1410 |
- -e "/^TK_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \ |
1411 |
- -e "/^TK_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \ |
1412 |
- -i "${ED}"/usr/${mylibdir}/tkConfig.sh || die |
1413 |
- fi |
1414 |
- |
1415 |
- # install private headers |
1416 |
- insinto /usr/${mylibdir}/tk${v1}/include/unix |
1417 |
- doins "${S}"/*.h |
1418 |
- insinto /usr/${mylibdir}/tk${v1}/include/generic |
1419 |
- doins "${SPARENT}"/generic/*.h |
1420 |
- rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/{tk,tkDecls,tkPlatDecls}.h || die |
1421 |
- |
1422 |
- # install symlink for libraries |
1423 |
- dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname) |
1424 |
- dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a |
1425 |
- |
1426 |
- if multilib_is_native_abi; then |
1427 |
- dosym wish${v1} /usr/bin/wish |
1428 |
- dodoc "${SPARENT}"/{ChangeLog*,README,changes} |
1429 |
- fi |
1430 |
-} |