Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-dev:uclibc commit in: dev-lang/tk/, dev-lang/tk/files/
Date: Sat, 03 Nov 2012 20:12:59
Message-Id: 1351972983.d56e0d4fcf33948b8b33481d51f79e7aacd1aff1.blueness@gentoo
1 commit: d56e0d4fcf33948b8b33481d51f79e7aacd1aff1
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 3 20:03:03 2012 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 3 20:03:03 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=d56e0d4f
7
8 Avoid name collision with unshare in uclibc's <bits/sched.h>.
9
10 On a uclibc system, unshare() is defined as an extern int function
11 in /usr/include/bits/sched.h, while tk defines unshare as a static
12 Tcl_Obj in generic/ttk/ttkTreeview.c. The name collision can be
13 avoided by renaming unshare in ttkTreeview.c.
14
15 X-Gentoo-Bug: xxxxx
16 X-Gentoo-Bug-URL: https://bugs.gentoo.org/xxxxx
17 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
18
19 ---
20 dev-lang/tk/ChangeLog | 697 ++++++++++++++++++++
21 dev-lang/tk/files/tk-8.4.11-multilib.patch | 24 +
22 dev-lang/tk/files/tk-8.4.15-aqua.patch | 20 +
23 dev-lang/tk/files/tk-8.4.15-tclm4-soname.patch | 12 +
24 .../tk-8.5.10-fix-name-collision-uclibc.patch | 35 +
25 dev-lang/tk/files/tk-8.5_alpha6-tclm4-soname.patch | 12 +
26 dev-lang/tk/metadata.xml | 5 +
27 dev-lang/tk/tk-8.5.10-r99.ebuild | 114 ++++
28 8 files changed, 919 insertions(+), 0 deletions(-)
29
30 diff --git a/dev-lang/tk/ChangeLog b/dev-lang/tk/ChangeLog
31 new file mode 100644
32 index 0000000..84eabe2
33 --- /dev/null
34 +++ b/dev-lang/tk/ChangeLog
35 @@ -0,0 +1,697 @@
36 +# ChangeLog for dev-lang/tk
37 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
38 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/ChangeLog,v 1.173 2012/08/07 02:34:03 jer Exp $
39 +
40 + 03 Aug 2012; Mike Frysinger <vapier@g.o> tk-8.5.11-r1.ebuild:
41 + Make sure we link against fontconfig since we use it.
42 +
43 +*tk-8.5.11-r1 (07 Jun 2012)
44 +
45 + 07 Jun 2012; Justin Lecher <jlec@g.o> +tk-8.5.11-r1.ebuild:
46 + Drop standard lib location from tkConfig.sh equal to tcl, #420129
47 +
48 + 26 Apr 2012; Alexis Ballier <aballier@g.o> tk-8.5.11.ebuild:
49 + keyword ~amd64-fbsd
50 +
51 + 26 Apr 2012; Alexis Ballier <aballier@g.o>
52 + +files/tcl-8.5.9-gentoo-fbsd.patch, tk-8.5.11.ebuild:
53 + port tcl fbsd patch to let it build sanely on FreeBSD: the patch is for
54 + tcl.m4 and tk bundles it own unfixed version...
55 +
56 + 01 Apr 2012; Raúl Porcel <armin76@g.o> tk-8.5.10-r1.ebuild:
57 + alpha/ia64/s390/sh/sparc stable wrt #406607
58 +
59 + 19 Mar 2012; Markus Meier <maekke@g.o> tk-8.5.10-r1.ebuild:
60 + arm stable, bug #406607
61 +
62 + 19 Mar 2012; Justin Lecher <jlec@g.o> tk-8.5.11.ebuild:
63 + Drop unnessecary stripping of slashes, #408261, thanks Kevin Pyle for the
64 + patch
65 +
66 + 11 Mar 2012; Jeff Horelick <jdhore@g.o> tk-8.5.10-r1.ebuild:
67 + marked x86 per bug 406607
68 +
69 + 06 Mar 2012; Jeroen Roovers <jer@g.o> tk-8.5.10-r1.ebuild:
70 + Stable for HPPA (bug #406607).
71 +
72 +*tk-8.5.10-r1 (06 Mar 2012)
73 +
74 + 06 Mar 2012; Justin Lecher <jlec@g.o> -tk-8.5.10.ebuild,
75 + +tk-8.5.10-r1.ebuild:
76 + Revbump to force rebuild, which is needed because of the removed static
77 + archives
78 +
79 + 06 Mar 2012; Justin Lecher <jlec@g.o> tk-8.5.10.ebuild:
80 + Remove last bit of bad handling of static-libs, #407083
81 +
82 + 05 Mar 2012; Brent Baude <ranger@g.o> tk-8.5.10.ebuild:
83 + Marking tk-8.5.10 ppc for bug 406607
84 +
85 + 05 Mar 2012; Agostino Sarubbo <ago@g.o> tk-8.5.10.ebuild:
86 + Stable for amd64, wrt bug #406607
87 +
88 + 04 Mar 2012; Justin Lecher <jlec@g.o> tk-8.5.10.ebuild,
89 + tk-8.5.11.ebuild:
90 + Revert static-libs handling, #406905; push changes from 8.5.10 to .11
91 +
92 + 02 Mar 2012; Brent Baude <ranger@g.o> tk-8.5.10.ebuild:
93 + Marking tk-8.5.10 ppc64 for bug 406607
94 +
95 + 02 Mar 2012; Justin Lecher <jlec@g.o> tk-8.5.10.ebuild:
96 + Add missing dies, remove unnessecary dies, handle static-libs
97 +
98 +*tk-8.5.11 (02 Mar 2012)
99 +
100 + 02 Mar 2012; Justin Lecher <jlec@g.o> +tk-8.5.11.ebuild,
101 + +files/tk-8.5.11-fedora-xft.patch:
102 + Version Bump
103 +
104 +*tk-8.5.10 (04 Oct 2011)
105 +
106 + 04 Oct 2011; Justin Lecher <jlec@g.o> +tk-8.5.10.ebuild, metadata.xml:
107 + Version Bump
108 +
109 + 23 Mar 2011; Kacper Kowalik <xarthisius@g.o> tk-8.5.9-r1.ebuild:
110 + ppc64 stable wrt #353854
111 +
112 + 06 Mar 2011; Raúl Porcel <armin76@g.o> tk-8.5.9-r1.ebuild:
113 + alpha/ia64/s390/sh stable wrt #353854
114 +
115 + 26 Feb 2011; Michael Weber <xmw@g.o> tk-8.5.9-r1.ebuild:
116 + ppc/sparc stable (bug 353854)
117 +
118 + 20 Feb 2011; Markus Meier <maekke@g.o> tk-8.5.9-r1.ebuild:
119 + arm stable, bug #353854
120 +
121 + 11 Feb 2011; Markos Chandras <hwoarang@g.o> tk-8.5.9-r1.ebuild:
122 + Stable on amd64 wrt bug #353854
123 +
124 + 11 Feb 2011; Jeroen Roovers <jer@g.o> tk-8.5.9-r1.ebuild:
125 + Stable for HPPA (bug #353854).
126 +
127 + 09 Feb 2011; Pawel Hajdan jr <phajdan.jr@g.o> tk-8.5.9-r1.ebuild:
128 + x86 stable wrt bug #353854
129 +
130 + 13 Jan 2011; Kacper Kowalik <xarthisius@g.o> tk-8.5.8-r1.ebuild:
131 + ppc64 stable wrt #332415
132 +
133 + 04 Jan 2011; Justin Lecher <jlec@g.o> tk-8.5.8-r1.ebuild:
134 + Backport correct detection of truetype support
135 +
136 + 29 Dec 2010; Markos Chandras <hwoarang@g.o> tk-8.5.8-r1.ebuild:
137 + Stable on amd64 wrt bug #332415
138 +
139 +*tk-8.5.9-r1 (09 Dec 2010)
140 +
141 + 09 Dec 2010; Justin Lecher <jlec@g.o> -tk-8.5.9.ebuild,
142 + +tk-8.5.9-r1.ebuild:
143 + Added missing patch for XFT handling
144 +
145 + 07 Dec 2010; Justin Lecher <jlec@g.o> tk-8.5.8-r1.ebuild,
146 + tk-8.5.9.ebuild:
147 + Corrected logic on die, thanks Guilherme Amadio for the patch #347929
148 +
149 +*tk-8.5.9 (06 Dec 2010)
150 +
151 + 06 Dec 2010; Justin Lecher <jlec@g.o> -tk-8.4.15-r1.ebuild,
152 + tk-8.4.18.ebuild, tk-8.4.18-r1.ebuild, tk-8.4.19-r1.ebuild, tk-8.5.7.ebuild,
153 + -tk-8.5.8.ebuild, tk-8.5.8-r1.ebuild, +tk-8.5.9.ebuild:
154 + Version Bump, #347561; Fix for libXft recognition, #347569
155 +
156 + 24 Oct 2010; Brent Baude <ranger@g.o> tk-8.5.8-r1.ebuild:
157 + Marking tk-8.5.8-r1 ppc for bug 332415
158 +
159 + 23 Oct 2010; Raúl Porcel <armin76@g.o> tk-8.5.8-r1.ebuild:
160 + arm/ia64/s390/sh/sparc stable wrt #332415
161 +
162 + 20 Oct 2010; Christian Faulhammer <fauli@g.o> tk-8.5.8-r1.ebuild:
163 + stable x86, bug 332415
164 +
165 + 06 Oct 2010; Jeroen Roovers <jer@g.o> tk-8.5.8-r1.ebuild:
166 + Stable for HPPA (bug #332415).
167 +
168 + 03 Oct 2010; Tobias Klausmann <klausman@g.o> tk-8.5.8-r1.ebuild:
169 + Stable on alpha, bug #332415
170 +
171 + 08 Jul 2010; Sébastien Fabbro <bicatali@g.o> tk-8.5.8-r1.ebuild:
172 + Added an xscreensaver flag to avoid automagic
173 +
174 + 16 Jun 2010; Justin Lecher <jlec@g.o> tk-8.5.8-r1.ebuild:
175 + Compile in src_compile, fix for 324201
176 +
177 +
178 + 15 Jun 2010; Justin Lecher <jlec@g.o> tk-8.5.8-r1.ebuild:
179 + Removing epause reported in bug 324139
180 +
181 +*tk-8.5.8-r1 (15 Jun 2010)
182 +
183 + 15 Jun 2010; Justin Lecher <jlec@g.o> +files/tk-8.4.15-aqua.patch,
184 + +tk-8.5.8-r1.ebuild:
185 + QA, imported prefix changes
186 +
187 +*tk-8.5.8 (07 Jan 2010)
188 +
189 + 07 Jan 2010; Patrick Lauer <patrick@g.o> +tk-8.5.8.ebuild:
190 + Bump for #297448
191 +
192 + 07 Oct 2009; Raúl Porcel <armin76@g.o> tk-8.5.7.ebuild:
193 + ia64/s390/sh/sparc stable wrt #280845
194 +
195 +*tk-8.5.7-r1 (06 Oct 2009)
196 +
197 + 06 Oct 2009; Federico Ferri <mescalinum@g.o> +tk-8.5.7-r1.ebuild:
198 + normalize $S path, bug #280766 (pkgcore)
199 +
200 + 27 Sep 2009; Markus Meier <maekke@g.o> tk-8.5.7.ebuild:
201 + arm stable, bug #280845
202 +
203 + 22 Sep 2009; Markus Meier <maekke@g.o> tk-8.5.7.ebuild:
204 + amd64 stable, bug #280845
205 +
206 + 31 Aug 2009; Brent Baude <ranger@g.o> tk-8.5.7.ebuild:
207 + Marking tk-8.5.7 ppc64 for bug 280845
208 +
209 + 29 Aug 2009; nixnut <nixnut@g.o> tk-8.5.7.ebuild:
210 + ppc stable #280845
211 +
212 + 29 Aug 2009; Tobias Klausmann <klausman@g.o> tk-8.5.7.ebuild:
213 + Stable on alpha, bug #280845
214 +
215 + 27 Aug 2009; Jeroen Roovers <jer@g.o> tk-8.5.7.ebuild:
216 + Stable for HPPA (bug #280845).
217 +
218 + 18 Aug 2009; Christian Faulhammer <fauli@g.o> tk-8.5.7.ebuild:
219 + stable x86, bug 280845
220 +
221 + 07 May 2009; Tobias Klausmann <klausman@g.o> tk-8.4.18-r1.ebuild:
222 + Stable on alpha, bug #268174
223 +
224 + 06 May 2009; Kenneth Prugh <ken69267@g.o> tk-8.4.18-r1.ebuild:
225 + amd64 stable, bug #268174
226 +
227 + 06 May 2009; Jeroen Roovers <jer@g.o> tk-8.4.18-r1.ebuild:
228 + Stable for HPPA (bug #268174).
229 +
230 + 06 May 2009; Ferris McCormick <fmccor@g.o> tk-8.4.18-r1.ebuild:
231 + Sparc stable, bug #268174.
232 +
233 + 06 May 2009; Christian Faulhammer <fauli@g.o> tk-8.4.18-r1.ebuild:
234 + stable x86, bug 268174
235 +
236 + 06 May 2009; Brent Baude <ranger@g.o> tk-8.4.18-r1.ebuild:
237 + Marking tk-8.4.18-r1 ppc64 and ppc for bug 268174
238 +
239 +*tk-8.5.7 (17 Apr 2009)
240 +
241 + 17 Apr 2009; Federico Ferri <mescalinum@g.o> -tk-8.5.1.ebuild,
242 + -tk-8.5.6.ebuild, +tk-8.5.7.ebuild:
243 + bump to version 8.5.7
244 +
245 + 25 Feb 2009; Raúl Porcel <armin76@g.o> tk-8.4.19-r1.ebuild,
246 + tk-8.5.6.ebuild:
247 + Add ~s390
248 +
249 +*tk-8.5.6 (17 Jan 2009)
250 +
251 + 17 Jan 2009; Federico Ferri <mescalinum@g.o> -tk-8.5.5.ebuild,
252 + +tk-8.5.6.ebuild:
253 + version bump, #253571
254 +
255 +*tk-8.4.19-r1 (16 Nov 2008)
256 +
257 + 16 Nov 2008; Federico Ferri <mescalinum@g.o> -tk-8.4.19.ebuild,
258 + +tk-8.4.19-r1.ebuild:
259 + rev bump, fixes bug #246774
260 +
261 +*tk-8.4.18-r1 (27 Oct 2008)
262 +
263 + 27 Oct 2008; Federico Ferri <mescalinum@g.o>
264 + +files/tk-8.4-lastevent.patch, +tk-8.4.18-r1.ebuild, tk-8.4.19.ebuild:
265 + adding patch 8.4-lastevent, fixes bug #225999
266 +
267 +*tk-8.4.19 (26 Oct 2008)
268 +
269 + 26 Oct 2008; Federico Ferri <mescalinum@g.o> +tk-8.4.19.ebuild:
270 + version bump for 8.4 too
271 +
272 +*tk-8.5.5 (26 Oct 2008)
273 +
274 + 26 Oct 2008; Federico Ferri <mescalinum@g.o> +tk-8.5.5.ebuild:
275 + version bumped
276 +
277 + 07 Mar 2008; Christoph Mende <angelos@g.o> tk-8.4.18.ebuild:
278 + Stable on amd64, bug #210326
279 +
280 + 25 Feb 2008; Jeroen Roovers <jer@g.o> tk-8.4.18.ebuild:
281 + Stable for HPPA (bug #210326).
282 +
283 + 18 Feb 2008; Brent Baude <ranger@g.o> tk-8.4.18.ebuild:
284 + Marking tk-8.4.18 ppc64 for bug 210326
285 +
286 + 17 Feb 2008; Raúl Porcel <armin76@g.o> tk-8.4.18.ebuild:
287 + alpha/ia64/sparc stable wrt #210326
288 +
289 + 17 Feb 2008; nixnut <nixnut@g.o> tk-8.4.18.ebuild:
290 + Stable on ppc wrt bug 210326
291 +
292 + 16 Feb 2008; Christian Faulhammer <opfer@g.o> tk-8.4.18.ebuild:
293 + stable x86, bug 210326
294 +
295 +*tk-8.5.1 (16 Feb 2008)
296 +*tk-8.4.18 (16 Feb 2008)
297 +
298 + 16 Feb 2008; MATSUU Takuto <matsuu@g.o>
299 + -files/tk-CVE-2006-4484.patch, -tk-8.4.9.ebuild, -tk-8.4.15-r2.ebuild,
300 + -tk-8.4.17.ebuild, +tk-8.4.18.ebuild, -tk-8.5.0-r2.ebuild,
301 + +tk-8.5.1.ebuild:
302 + Version bumped, bug #208464.
303 + Removed old versions.
304 +
305 +*tk-8.5.0-r2 (04 Feb 2008)
306 +*tk-8.4.17 (04 Feb 2008)
307 +*tk-8.4.15-r2 (04 Feb 2008)
308 +
309 + 04 Feb 2008; MATSUU Takuto <matsuu@g.o>
310 + +files/tk-CVE-2006-4484.patch, +tk-8.4.15-r2.ebuild, -tk-8.4.16.ebuild,
311 + +tk-8.4.17.ebuild, -tk-8.5.0.ebuild, -tk-8.5.0-r1.ebuild,
312 + +tk-8.5.0-r2.ebuild:
313 + Version bumped.
314 + Fixed CVE-2006-4484, bug #208464.
315 +
316 +*tk-8.5.0-r1 (30 Dec 2007)
317 +
318 + 30 Dec 2007; MATSUU Takuto <matsuu@g.o> +tk-8.5.0-r1.ebuild:
319 + Added truetype USE flag. bug #173467.
320 +
321 +*tk-8.5.0 (22 Dec 2007)
322 +*tk-8.4.16 (22 Dec 2007)
323 +
324 + 22 Dec 2007; MATSUU Takuto <matsuu@g.o> -tk-8.4.15.ebuild,
325 + +tk-8.4.16.ebuild, -tk-8.5_alpha6.ebuild, -tk-8.5_alpha6-r1.ebuild,
326 + -tk-8.5_beta3.ebuild, +tk-8.5.0.ebuild:
327 + Version bumped. bug #194385.
328 + Removed old versions.
329 +
330 +*tk-8.5_beta3 (25 Nov 2007)
331 +
332 + 25 Nov 2007; <matsuu@g.o> +tk-8.5_beta3.ebuild, -tk-8.5b.ebuild:
333 + Version bumped.
334 + Fixed wrong symlink wrt bug #200090.
335 +
336 +*tk-8.5b (03 Nov 2007)
337 +
338 + 03 Nov 2007; Markus Ullmann <jokey@g.o> +tk-8.5b.ebuild:
339 + Version bump, dropping keywords as status wrt other packages is untested
340 +
341 + 23 Sep 2007; Ferris McCormick <fmccor@g.o> tk-8.4.15-r1.ebuild:
342 + Sparc stable --- security Bug #192539 --- has been running fine.
343 +
344 + 20 Sep 2007; Brent Baude <ranger@g.o> tk-8.4.15-r1.ebuild:
345 + keywording tk-8.4.15-r1 ppc64 for bug#190697
346 +
347 + 17 Sep 2007; Tobias Scherbaum <dertobi123@g.o> tk-8.4.15-r1.ebuild:
348 + ppc stable, bug #192539
349 +
350 + 17 Sep 2007; Raúl Porcel <armin76@g.o> tk-8.4.15-r1.ebuild:
351 + alpha/ia64 stable wrt security #192539
352 +
353 + 16 Sep 2007; Christoph Mende <angelos@g.o> tk-8.4.15-r1.ebuild:
354 + Stable on amd64 wrt security bug #192539
355 +
356 + 16 Sep 2007; Markus Meier <maekke@g.o> tk-8.4.15-r1.ebuild:
357 + x86 stable, security bug #192539
358 +
359 + 16 Sep 2007; Jeroen Roovers <jer@g.o> tk-8.4.15-r1.ebuild:
360 + Stable for HPPA (bug #192539).
361 +
362 +*tk-8.5_alpha6-r1 (16 Sep 2007)
363 +*tk-8.4.15-r1 (16 Sep 2007)
364 +
365 + 16 Sep 2007; MATSUU Takuto <matsuu@g.o>
366 + -files/tk-8.3.5-tclm4-soname.patch, +files/tk-CVE-2007-4851.patch,
367 + -tk-8.4.14.ebuild, -tk-8.4.14-r1.ebuild, +tk-8.4.15-r1.ebuild,
368 + +tk-8.5_alpha6-r1.ebuild:
369 + Fixed CVE-2007-4851, bug #192539.
370 + Removed old versions.
371 +
372 + 21 Aug 2007; Christoph Mende <angelos@g.o> tk-8.4.15.ebuild:
373 + Stable on amd64 wrt bug #178320
374 +
375 + 18 Aug 2007; nixnut <nixnut@g.o> tk-8.4.15.ebuild:
376 + Stable on ppc wrt bug 178320
377 +
378 + 15 Aug 2007; Jeroen Roovers <jer@g.o> tk-8.4.15.ebuild:
379 + Stable for HPPA (bug #178320).
380 +
381 + 14 Aug 2007; Markus Rothe <corsair@g.o> tk-8.4.15.ebuild:
382 + Stable on ppc64; bug #178320
383 +
384 + 14 Aug 2007; Raúl Porcel <armin76@g.o> tk-8.4.15.ebuild:
385 + alpha/ia64/x86 stable wrt #178320
386 +
387 + 13 Aug 2007; Ferris McCormick <fmccor@g.o> tk-8.4.15.ebuild:
388 + Sparc stable --- Bug #178320 --- no problems.
389 +
390 + 22 Jul 2007; Hans de Graaff <graaff@g.o> tk-8.4.9.ebuild,
391 + tk-8.4.14.ebuild:
392 + Drop virtual/x11 references.
393 +
394 +*tk-8.5_alpha6 (20 Jul 2007)
395 +*tk-8.4.15 (20 Jul 2007)
396 +
397 + 20 Jul 2007; MATSUU Takuto <matsuu@g.o>
398 + +files/tk-8.4.15-tclm4-soname.patch,
399 + +files/tk-8.5_alpha6-tclm4-soname.patch, +tk-8.4.15.ebuild,
400 + +tk-8.5_alpha6.ebuild:
401 + Version bumped, Bug #173467, #181597.
402 +
403 +*tk-8.4.14-r1 (12 Jul 2007)
404 +
405 + 12 Jul 2007; MATSUU Takuto <matsuu@g.o> +tk-8.4.14-r1.ebuild:
406 + Fixed library filenames issue, bug #149037.
407 +
408 + 25 May 2007; Brent Baude <ranger@g.o> tk-8.4.14.ebuild:
409 + Marking tk-8.4.14 ppc64 stable for bug 178320
410 +
411 + 20 May 2007; nixnut <nixnut@g.o> tk-8.4.14.ebuild:
412 + Stable on ppc wrt bug 178320
413 +
414 + 16 May 2007; Christian Faulhammer <opfer@g.o> tk-8.4.14.ebuild:
415 + stable amd64, bug 178320
416 +
417 + 15 May 2007; Raúl Porcel <armin76@g.o> tk-8.4.14.ebuild:
418 + alpha/ia64/x86 stable wrt #178320
419 +
420 + 15 May 2007; Ferris McCormick <fmccor@g.o> tk-8.4.14.ebuild:
421 + Sparc stable --- Bug #178320 --- Has been without problems for over 4 months.
422 +
423 + 15 May 2007; Jeroen Roovers <jer@g.o> tk-8.4.14.ebuild:
424 + Stable for HPPA (bug #178320).
425 +
426 + 27 Apr 2007; MATSUU Takuto <matsuu@g.o>
427 + -files/remove-control-v.diff, tk-8.4.9.ebuild, -tk-8.4.11-r1.ebuild,
428 + -tk-8.4.12.ebuild, -tk-8.4.13.ebuild, tk-8.4.14.ebuild:
429 + Fixed SONAME issue, bug #125971.
430 + Fixed tkConfig.sh issue, bug #164649.
431 + Added tc-export CC, bug #154328.
432 + Removed old versions.
433 +
434 + 26 Mar 2007; Alec Warner <antarus@g.o> tk-8.4.9.ebuild,
435 + tk-8.4.11-r1.ebuild, tk-8.4.12.ebuild, tk-8.4.13.ebuild, tk-8.4.14.ebuild:
436 + Remove dependency on portage: ref bug 162516
437 +
438 +*tk-8.4.14 (06 Jan 2007)
439 +
440 + 06 Jan 2007; MATSUU Takuto <matsuu@g.o> -tk-8.3.4-r1.ebuild,
441 + +tk-8.4.14.ebuild:
442 + Version bumped.
443 +
444 + 26 Dec 2006; Mike Frysinger <vapier@g.o> tk-8.4.13.ebuild:
445 + Clean up src_install() to use proper ebuild commands rather than running
446 + `install` and use relative symlinks for libraries.
447 +
448 +*tk-8.4.13 (03 Jun 2006)
449 +
450 + 03 Jun 2006; MATSUU Takuto <matsuu@g.o>
451 + +files/tk-8.3.5-tclm4-soname.patch, +tk-8.4.13.ebuild:
452 + Version bumped, Bug 128681.
453 + Added debug USE flag, Bug 123444.
454 + Added soname patch, Bug 125971.
455 +
456 + 30 May 2006; Diego Pettenò <flameeyes@g.o> tk-8.4.12.ebuild:
457 + Add ~x86-fbsd keyword.
458 +
459 + 24 Mar 2006; Aron Griffis <agriffis@g.o> tk-8.3.4-r1.ebuild,
460 + tk-8.4.9.ebuild:
461 + Copy bash-3 fix from tk-8.4.11-r1.ebuild to tk-8.4.9.ebuild #117982. Port
462 + tk-8.3.4-r1 to modular X
463 +
464 +*tk-8.4.12 (03 Mar 2006)
465 +
466 + 03 Mar 2006; MATSUU Takuto <matsuu@g.o>
467 + -files/remove-control-v-8.4.diff, -files/tk-wm-maxsize.patch,
468 + -tk-8.4.6.ebuild, -tk-8.4.6-r1.ebuild, -tk-8.4.11.ebuild,
469 + +tk-8.4.12.ebuild:
470 + Version bumped, Bug 117122.
471 + Removed old versions.
472 +
473 + 26 Feb 2006; Joshua Kinard <kumba@g.o> tk-8.4.9.ebuild:
474 + Marked stable on mips.
475 +
476 + 03 Feb 2006; Mike Frysinger <vapier@g.o>
477 + +files/tk-configure-LANG.patch, tk-8.4.9.ebuild, tk-8.4.11.ebuild,
478 + tk-8.4.11-r1.ebuild:
479 + Fix nls breakage #120133 by J.
480 +
481 + 30 Jan 2006; Michael Sterrett <mr_bones_@g.o> tk-8.4.6.ebuild,
482 + tk-8.4.6-r1.ebuild, tk-8.4.9.ebuild:
483 + more modular X dependencies
484 +
485 +*tk-8.4.11-r1 (08 Jan 2006)
486 +
487 + 08 Jan 2006; MATSUU Takuto <matsuu@g.o> +tk-8.4.11-r1.ebuild:
488 + Fixed fails with bash3.1, Bug 117982
489 +
490 + 11 Dec 2005; Donnie Berkholz <spyderous@g.o>; tk-8.4.11.ebuild:
491 + Fix them.
492 +
493 + 11 Dec 2005; Donnie Berkholz <spyderous@g.o>; tk-8.4.11.ebuild:
494 + Add modular X dependencies.
495 +
496 + 03 Aug 2005; Bryan Østergaard <kloeri@g.o> tk-8.4.9.ebuild:
497 + Stable on alpha.
498 +
499 +*tk-8.4.11 (02 Jul 2005)
500 +
501 + 02 Jul 2005; MATSUU Takuto <matsuu@g.o>
502 + +files/tk-8.4.11-multilib.patch, +tk-8.4.11.ebuild:
503 + Version bumped.
504 + Added multilib patch.
505 +
506 + 06 Jun 2005; Markus Rothe <corsair@g.o> tk-8.4.9.ebuild:
507 + Stable on ppc64
508 +
509 + 03 Jun 2005; Mike Frysinger <vapier@g.o> tk-8.4.9.ebuild:
510 + Touchup libdir usage to get rid of all the // gremlins.
511 +
512 + 27 May 2005; Joseph Jezak <josejx@g.o> tk-8.4.9.ebuild:
513 + Marked ppc stable.
514 +
515 + 09 May 2005; Gustavo Zacarias <gustavoz@g.o> tk-8.4.9.ebuild:
516 + Stable on sparc
517 +
518 + 08 May 2005; Marcus D. Hanwell <cryos@g.o> tk-8.4.9.ebuild:
519 + Stable on amd64.
520 +
521 + 07 May 2005; Aron Griffis <agriffis@g.o> tk-8.4.9.ebuild:
522 + stable on ia64
523 +
524 + 07 May 2005; MATSUU Takuto <matsuu@g.o> tk-8.4.9.ebuild:
525 + Stable on x86.
526 +
527 +*tk-8.4.9 (19 Mar 2005)
528 +
529 + 19 Mar 2005; MATSUU Takuto <matsuu@g.o>
530 + +files/remove-control-v-8.4.9.diff, +files/tk-8.4.9-man.patch,
531 + +tk-8.4.9.ebuild:
532 + Version bumped, #83816
533 +
534 + 29 Dec 2004; Ciaran McCreesh <ciaranm@g.o> :
535 + Change encoding to UTF-8 for GLEP 31 compliance
536 +
537 + 21 Dec 2004; Jeremy Huddleston <eradicator@g.o> tk-8.4.6-r1.ebuild:
538 + Multilib fixes.
539 +
540 + 10 Nov 2004; Joseph Jezak <josejx@g.o> tk-8.4.6-r1.ebuild:
541 + Marked ppc stable.
542 +
543 + 06 Oct 2004; Bryan Østergaard <kloeri@g.o> tk-8.4.6-r1.ebuild:
544 + Stable on alpha.
545 +
546 + 21 Sep 2004; Danny van Dyk <kugelfang@g.o> tk-8.4.6-r1.ebuild:
547 + Marked stable on amd64.
548 +
549 + 14 Sep 2004; Guy Martin <gmsoft@g.o> tk-8.4.6-r1.ebuild:
550 + Stable on hppa.
551 +
552 + 09 Sep 2004; Gustavo Zacarias <gustavoz@g.o> tk-8.4.6-r1.ebuild:
553 + Keyworded sparc
554 +
555 + 06 Sep 2004; Ciaran McCreesh <ciaranm@g.o> tk-8.3.4-r1.ebuild,
556 + tk-8.4.6-r1.ebuild, tk-8.4.6.ebuild:
557 + Switch to use epause and ebeep, bug #62950
558 +
559 + 30 Aug 2004; Tom Gall <tgall@g.o> tk-8.4.6-r1.ebuild:
560 + stable on ppc64, bug #61745
561 +
562 + 25 Aug 2004; Doug Goldstein <cardoe@g.o> tk-8.4.6-r1.ebuild:
563 + Stable on x86
564 +
565 + 18 Aug 2004; Aron Griffis <agriffis@g.o> tk-8.4.6.ebuild:
566 + stable on alpha and ia64
567 +
568 +*tk-8.4.6-r1 (07 Aug 2004)
569 +
570 + 07 Aug 2004; Doug Goldstein <cardoe@g.o> tk-8.4.6-r1.ebuild
571 + +files/tk-wm-maxsize.patch, +tk-8.4.6-r1.ebuild:
572 + Fixed bug #56229. KDE 3.2 missing maximize button with tk apps.
573 + http://bugs.kde.org/show_bug.cgi?id=67577
574 + http://sourceforge.net/tracker/index.php?func=detail&aid=915350&group_id=12997
575 + &atid=112997
576 +
577 + 15 Jun 2004; Ferris McCormick <fmccor@g.o> tk-8.4.6.ebuild:
578 + Marked stable for sparc.
579 +
580 + 04 Jun 2004; Michael Sterrett <mr_bones_@g.o> tk-8.4.6.ebuild:
581 + ppc64 needs a stable virtual/x11 first. Removed keyword
582 +
583 + 31 May 2004; Tom Gall <tgall@g.o> tk-8.4.6.ebuild:
584 + stable on ppc64
585 +
586 + 02 May 2004; <tuxus@g.o> tk-8.4.6.ebuild:
587 + Stable on mips
588 +
589 + 25 Apr 2004; Michael Sterrett <mr_bones_@g.o> tk-8.3.4-r1.ebuild,
590 + tk-8.4.6.ebuild:
591 + don't depend on use echo
592 +
593 + 24 Apr 2004; Ian Leitch <port001@g.o> tk-8.3.4-r1.ebuild,
594 + tk-8.4.6.ebuild:
595 + Enable threads with local USE flag 'threads'. #2024
596 +
597 + 20 Apr 2004; Ian Leitch <port001@g.o> tk-8.4.6.ebuild:
598 + Marked stable on amd64
599 +
600 + 20 Apr 2004; Ian Leitch <port001@g.o> -tk-8.3.3-r2.ebuild,
601 + -tk-8.3.3-r3.ebuild, -tk-8.3.3.ebuild, -tk-8.3.4.ebuild, -tk-8.4.3.ebuild,
602 + -tk-8.4.4.ebuild, -tk-8.4.5.ebuild:
603 + Removed stale ebuilds
604 +
605 + 31 Mar 2004; Tom Gall <tgall@g.o> tk-8.4.5.ebuild, tk-8.4.6.ebuild:
606 + remove ppc64 for now, we're not ready
607 +
608 +*tk-8.4.6 (04 Mar 2004)
609 +
610 + 04 Mar 2004; Martin Holzer <mholzer@g.o> tk-8.4.6.ebuild:
611 + Verison bumped.
612 +
613 + 04 Jan 2004; <tuxus@g.o> tk-8.4.3.ebuild:
614 + Added mips to KEYWORDS
615 +
616 + 03 Jan 2004; Aron Griffis <agriffis@g.o> tk-8.4.5.ebuild:
617 + Add ~alpha
618 +
619 + 03 Jan 2004; Brian Jackson <iggy@g.o> tk-8.3.4-r1.ebuild:
620 + repoman still complaining, 8.3.4 to ia64 to match tcl
621 +
622 + 03 Jan 2004; Brian Jackson <iggy@g.o> tk-8.3.3-r2.ebuild,
623 + tk-8.3.3-r3.ebuild, tk-8.3.3.ebuild, tk-8.3.4-r1.ebuild, tk-8.3.4.ebuild,
624 + tk-8.4.3.ebuild, tk-8.4.4.ebuild, tk-8.4.5.ebuild:
625 + adding ~ia64 keywords, it's installed on the releng ia64 box, so I assume it's
626 + safe, needed for bitkeeper
627 +
628 + 19 Dec 2003; David Holm <dholm@g.o> tk-8.4.5.ebuild:
629 + Added to ~ppc.
630 +
631 +*tk-8.4.5 (07 Dec 2003)
632 +
633 + 07 Dec 2003; Martin Holzer <mholzer@g.o> tk-8.4.5.ebuild:
634 + Version bumped.
635 +
636 + 07 Dec 2003; Martin Holzer <mholzer@g.o> tk-8.4.3.ebuild,
637 + tk-8.4.4.ebuild:
638 + changing to sf
639 +
640 + 16 Nov 2003; Brad House <brad_mssw@g.o> tk-8.4.4.ebuild:
641 + mark stable on amd64
642 +
643 +*tk-8.4.4 (22 Oct 2003)
644 +
645 + 22 Oct 2003; Martin Holzer <mholzer@g.o> tk-8.4.4.ebuild:
646 + Version bumped.
647 +
648 +*tk-8.4.3 (30 Jun 2003)
649 +
650 + 30 Sep 2003; Joshua Kinard <kumba@g.o> tk-8.4.3.ebuild:
651 + Added ~sparc & ~mips to KEYWORDS
652 +
653 + 30 Jun 2003; Daniel Ahlberg <aliz@g.o> tk-8.4.3.ebuild :
654 + Version bump.
655 +
656 +*tk-8.4.2-r1 (19 May 2003)
657 +
658 + 19 May 2003; Stanislav Brabec <utx@g.o> tk-8.4.2-r1.ebuild:
659 + Fixed man-pages installation (worked around bug in mkLinks script - unset
660 + variable S for installation).
661 +
662 +*tk-8.4.2 (17 Apr 2003)
663 +
664 + 17 Apr 2003; Stanislav Brabec <utx@g.o> tk-8.4.2.ebuild,
665 + files/remove-control-v-8.4.diff:
666 + Updated to version 8.4.2 (bug #18483) and updated Control-V remove patch.
667 +
668 +*tk-8.3.4-r1 (28 Mar 2003)
669 +
670 + 28 Mar 2003; Seemant Kulleen <seemant@g.o> tk-8.3.4-r1.ebuild:
671 + fixed sed expression, hopefully closes bug #18300 by Marc 'huz' REYNES
672 + <marc.reynes@×××××××××.org>
673 +
674 + 06 Dec 2002; Rodney Rees <manson@g.o> : changed sparc ~sparc keywords
675 +
676 +*tk-8.3.4 (18 Dec 2002)
677 +
678 + 20 Mar 2003; Zach Welch <zwelch@g.o> tk-8.3.4.ebuild:
679 + add arm keyword
680 +
681 + 08 Mar 2003; Guy Martin <gmsoft@g.o> tk-8.3.4.ebuild :
682 + Added hppa to keywords.
683 +
684 + 18 Dec 2002; Stefan Jones <cretin@g.o>
685 + New revision.
686 +
687 +*tk-8.3.3-r3 (11 Nov 2002)
688 +
689 + 20 Mar 2003; Zach Welch <zwelch@g.o> tk-8.3.3-r3.ebuild:
690 + add arm keyword
691 +
692 + 11 Nov 2002; Karl Trygve Kalleberg <karltk@g.o>
693 + tk-8.3.3-r3.ebuild files/digest-tk-8.3.3-r3:
694 + Some legacy code for default handling of the Control-V keypress is now
695 + patched away. Fixes #10154.
696 +
697 +*tk-8.3.3-r2 (25 Sep 2002)
698 +
699 + 25 Sep 2002; Karl Trygve Kalleberg <karltk@g.o>
700 + tk-8.3.3-r2.ebuild files/digest-tk-8.3.3-r2:
701 + -r1 placed header files in the wrong place, applied patch from
702 + Scott Lampert <scott@×××××××.org> to fix it. Fixes #8054.
703 +
704 + Removed tk-8.3.3-r1.ebuild files/digest-tk-8.3.3-r1
705 +
706 +*tk-8.3.3-r1 (13 Jul 2002)
707 +
708 + 02 Aug 2002; mark Guertin <gerk@g.o> tk-8.3.3-r1.ebuild :
709 + Added ppc to keywords
710 +
711 + 13 Jul 2002; Seemant Kulleen <seemant@g.o> tk-8.3.3-r1.ebuild
712 + files/digest-tk-8.3.3-r1 :
713 +
714 + Symlink for the .so was not being created. Thanks to
715 + j_r_fonseca@××××××××.uk (Jose' Fonseca) in bug #4946 for the catch and
716 + fix.
717 +
718 +
719 + 25 Apr 2002; Seemant Kulleen <seemant@g.o> tk-8.3.3.ebuild :
720 +
721 + Fixed bug #2112 from arndtc@×××××××××××××××××××.org (Chris Arndt) to reflect
722 + that the required tcl version may have a revision number on its ebuild
723 +
724 +*tk-8.3.3 (1 Feb 2002)
725 +
726 + 1 Feb 2002; G.Bevin <gbevin@g.o> ChangeLog :
727 +
728 + Added initial ChangeLog which should be updated whenever the package is
729 + updated in any way. This changelog is targetted to users. This means that the
730 + comments should well explained and written in clean English. The details about
731 + writing correct changelogs are explained in the skel.ChangeLog file which you
732 + can find in the root directory of the portage repository.
733
734 diff --git a/dev-lang/tk/files/tk-8.4.11-multilib.patch b/dev-lang/tk/files/tk-8.4.11-multilib.patch
735 new file mode 100644
736 index 0000000..092b806
737 --- /dev/null
738 +++ b/dev-lang/tk/files/tk-8.4.11-multilib.patch
739 @@ -0,0 +1,24 @@
740 +diff -Naur tk8.4.11.orig/unix/configure tk8.4.11/unix/configure
741 +--- tk8.4.11.orig/unix/configure 2005-06-30 01:43:10.000000000 +0900
742 ++++ tk8.4.11/unix/configure 2005-07-02 23:22:35.000000000 +0900
743 +@@ -5721,7 +5721,7 @@
744 + TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
745 + fi
746 +
747 +-TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
748 ++TK_LIBRARY='$(libdir)/tk$(VERSION)'
749 + PRIVATE_INCLUDE_DIR='$(includedir)'
750 + HTML_DIR='$(DISTDIR)/html'
751 + TK_PKG_DIR='tk$(VERSION)$(TK_DBGX)'
752 +diff -Naur tk8.4.11.orig/unix/configure.in tk8.4.11/unix/configure.in
753 +--- tk8.4.11.orig/unix/configure.in 2005-06-30 01:43:10.000000000 +0900
754 ++++ tk8.4.11/unix/configure.in 2005-07-02 23:22:16.000000000 +0900
755 +@@ -393,7 +393,7 @@
756 + TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
757 + fi
758 +
759 +-TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
760 ++TK_LIBRARY='$(libdir)/tk$(VERSION)'
761 + PRIVATE_INCLUDE_DIR='$(includedir)'
762 + HTML_DIR='$(DISTDIR)/html'
763 + TK_PKG_DIR='tk$(VERSION)$(TK_DBGX)'
764
765 diff --git a/dev-lang/tk/files/tk-8.4.15-aqua.patch b/dev-lang/tk/files/tk-8.4.15-aqua.patch
766 new file mode 100644
767 index 0000000..0131dbd
768 --- /dev/null
769 +++ b/dev-lang/tk/files/tk-8.4.15-aqua.patch
770 @@ -0,0 +1,20 @@
771 +--- unix/Makefile.in
772 ++++ unix/Makefile.in
773 +@@ -280,7 +280,7 @@
774 + TK_RSRC_FILE = @TK_RSRC_FILE@
775 + WISH_RSRC_FILE = @WISH_RSRC_FILE@
776 + REZ = @REZ@
777 +-REZ_SWITCHES = @REZ_FLAGS@ -i $(GENERIC_DIR) -i $(TCL_GENERIC_DIR)
778 ++REZ_SWITCHES = @REZ_FLAGS@ -i $(GENERIC_DIR) -i $(TCL_GENERIC_DIR) -i @GENTOO_PORTAGE_EPREFIX@/usr/include
779 +
780 + #----------------------------------------------------------------
781 + # The information below is modified by the configure script when
782 +@@ -468,7 +468,7 @@
783 +
784 + AQUA_HDRS = $(MAC_OSX_DIR)/tkMacOSX.h $(GENERIC_DIR)/tkIntXlibDecls.h
785 +
786 +-AQUA_XLIB_HDRS = $(XLIB_DIR)/X11/*.h $(XLIB_DIR)/xbytes.h
787 ++AQUA_XLIB_HDRS =
788 +
789 + AQUA_PRIVATE_HDRS = $(MAC_OSX_DIR)/tkMacOSXPort.h $(MAC_OSX_DIR)/tkMacOSXInt.h
790 +
791
792 diff --git a/dev-lang/tk/files/tk-8.4.15-tclm4-soname.patch b/dev-lang/tk/files/tk-8.4.15-tclm4-soname.patch
793 new file mode 100644
794 index 0000000..b427d27
795 --- /dev/null
796 +++ b/dev-lang/tk/files/tk-8.4.15-tclm4-soname.patch
797 @@ -0,0 +1,12 @@
798 +diff -Naur tk8.4.15.orig/unix/tcl.m4 tk8.4.15/unix/tcl.m4
799 +--- tk8.4.15.orig/unix/tcl.m4 2007-05-26 01:09:54.000000000 +0900
800 ++++ tk8.4.15/unix/tcl.m4 2007-07-21 02:16:13.000000000 +0900
801 +@@ -1345,7 +1345,7 @@
802 + #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
803 +
804 + if test "$have_dl" = yes; then
805 +- SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
806 ++ SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -Wl,-soname,${@}'
807 + DL_OBJS="tclLoadDl.o"
808 + DL_LIBS="-ldl"
809 + LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
810
811 diff --git a/dev-lang/tk/files/tk-8.5.10-fix-name-collision-uclibc.patch b/dev-lang/tk/files/tk-8.5.10-fix-name-collision-uclibc.patch
812 new file mode 100644
813 index 0000000..30ce843
814 --- /dev/null
815 +++ b/dev-lang/tk/files/tk-8.5.10-fix-name-collision-uclibc.patch
816 @@ -0,0 +1,35 @@
817 +diff -Naur tk8.5.10.orig/generic/ttk/ttkTreeview.c tk8.5.10/generic/ttk/ttkTreeview.c
818 +--- tk8.5.10.orig/generic/ttk/ttkTreeview.c 2011-06-20 16:17:08.000000000 -0400
819 ++++ tk8.5.10/generic/ttk/ttkTreeview.c 2012-11-03 14:50:48.000000000 -0400
820 +@@ -486,11 +486,11 @@
821 + }
822 + }
823 +
824 +-/* + unshare(objPtr) --
825 ++/* + unshared(objPtr) --
826 + * Ensure that a Tcl_Obj * has refcount 1 -- either return objPtr
827 + * itself, or a duplicated copy.
828 + */
829 +-static Tcl_Obj *unshare(Tcl_Obj *objPtr)
830 ++static Tcl_Obj *unshared(Tcl_Obj *objPtr)
831 + {
832 + if (Tcl_IsShared(objPtr)) {
833 + Tcl_Obj *newObj = Tcl_DuplicateObj(objPtr);
834 +@@ -2526,7 +2526,7 @@
835 + } else { /* set column */
836 + int length;
837 +
838 +- item->valuesObj = unshare(item->valuesObj);
839 ++ item->valuesObj = unshared(item->valuesObj);
840 +
841 + /* Make sure -values is fully populated:
842 + */
843 +@@ -2827,7 +2827,7 @@
844 + */
845 + for (parent = item->parent; parent; parent = parent->parent) {
846 + if (!(parent->state & TTK_STATE_OPEN)) {
847 +- parent->openObj = unshare(parent->openObj);
848 ++ parent->openObj = unshared(parent->openObj);
849 + Tcl_SetBooleanObj(parent->openObj, 1);
850 + parent->state |= TTK_STATE_OPEN;
851 + TtkRedisplayWidget(&tv->core);
852
853 diff --git a/dev-lang/tk/files/tk-8.5_alpha6-tclm4-soname.patch b/dev-lang/tk/files/tk-8.5_alpha6-tclm4-soname.patch
854 new file mode 100644
855 index 0000000..3fdd484
856 --- /dev/null
857 +++ b/dev-lang/tk/files/tk-8.5_alpha6-tclm4-soname.patch
858 @@ -0,0 +1,12 @@
859 +diff -Naur tk8.5a6.orig/unix/tcl.m4 tk8.5a6/unix/tcl.m4
860 +--- tk8.5a6.orig/unix/tcl.m4 2007-04-27 06:02:27.000000000 +0900
861 ++++ tk8.5a6/unix/tcl.m4 2007-07-21 02:47:58.000000000 +0900
862 +@@ -1425,7 +1425,7 @@
863 + # get rid of the warnings.
864 + #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
865 +
866 +- SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
867 ++ SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -Wl,-soname,${@}'
868 + DL_OBJS="tclLoadDl.o"
869 + DL_LIBS="-ldl"
870 + LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
871
872 diff --git a/dev-lang/tk/metadata.xml b/dev-lang/tk/metadata.xml
873 new file mode 100644
874 index 0000000..815cc91
875 --- /dev/null
876 +++ b/dev-lang/tk/metadata.xml
877 @@ -0,0 +1,5 @@
878 +<?xml version="1.0" encoding="UTF-8"?>
879 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
880 +<pkgmetadata>
881 + <herd>tcltk</herd>
882 +</pkgmetadata>
883
884 diff --git a/dev-lang/tk/tk-8.5.10-r99.ebuild b/dev-lang/tk/tk-8.5.10-r99.ebuild
885 new file mode 100644
886 index 0000000..d88f4cf
887 --- /dev/null
888 +++ b/dev-lang/tk/tk-8.5.10-r99.ebuild
889 @@ -0,0 +1,114 @@
890 +# Copyright 1999-2012 Gentoo Foundation
891 +# Distributed under the terms of the GNU General Public License v2
892 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.5.10-r1.ebuild,v 1.5 2012/04/01 15:24:52 armin76 Exp $
893 +
894 +EAPI=4
895 +
896 +inherit autotools eutils multilib toolchain-funcs prefix
897 +
898 +MY_P="${PN}${PV/_beta/b}"
899 +
900 +DESCRIPTION="Tk Widget Set"
901 +HOMEPAGE="http://www.tcl.tk/"
902 +SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz"
903 +
904 +LICENSE="BSD"
905 +SLOT="0"
906 +KEYWORDS="amd64 arm ~mips ppc ppc64 x86"
907 +IUSE="debug threads truetype aqua xscreensaver"
908 +
909 +RDEPEND="
910 + !aqua? (
911 + x11-libs/libX11
912 + x11-libs/libXt
913 + truetype? ( x11-libs/libXft )
914 + xscreensaver? ( x11-libs/libXScrnSaver ) )
915 + ~dev-lang/tcl-${PV}"
916 +DEPEND="${RDEPEND}
917 + !aqua? ( x11-proto/xproto )"
918 +
919 +S="${WORKDIR}/${MY_P}"
920 +
921 +src_prepare() {
922 + epatch "${FILESDIR}"/${PN}-8.4.11-multilib.patch
923 +
924 + epatch "${FILESDIR}"/${PN}-8.4.15-aqua.patch
925 + eprefixify unix/Makefile.in
926 +
927 + # Bug 125971
928 + epatch "${FILESDIR}"/${PN}-8.5_alpha6-tclm4-soname.patch
929 +
930 + # Bug to-be-filed
931 + epatch "${FILESDIR}"/${PN}-8.5.10-fix-name-collision-uclibc.patch
932 +
933 + sed -i 's/FT_New_Face/XftFontOpen/g' unix/configure.in || die
934 +
935 + cd "${S}"/unix
936 + eautoreconf
937 +}
938 +
939 +src_configure() {
940 + tc-export CC
941 + cd "${S}"/unix
942 +
943 + local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/}
944 +
945 + econf \
946 + --with-tcl="${EPREFIX}/usr/${mylibdir}" \
947 + $(use_enable threads) \
948 + $(use_enable aqua) \
949 + $(use_enable truetype xft) \
950 + $(use_enable xscreensaver xss) \
951 + $(use_enable debug symbols)
952 +}
953 +
954 +src_compile() {
955 + cd "${S}"/unix && emake
956 +}
957 +
958 +src_install() {
959 + #short version number
960 + local v1
961 + v1=${PV%.*}
962 +
963 + cd "${S}"/unix
964 + S= emake DESTDIR="${D}" install
965 +
966 + # normalize $S path, bug #280766 (pkgcore)
967 + local nS="$(cd "${S}"; pwd)"
968 +
969 + # fix the tkConfig.sh to eliminate refs to the build directory
970 + local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/}
971 + sed -i \
972 + -e "s,^\(TK_BUILD_LIB_SPEC='-L\)${nS}/unix,\1${EPREFIX}/usr/${mylibdir}," \
973 + -e "s,^\(TK_SRC_DIR='\)${nS}',\1${EPREFIX}/usr/${mylibdir}/tk${v1}/include'," \
974 + -e "s,^\(TK_BUILD_STUB_LIB_SPEC='-L\)${nS}/unix,\1${EPREFIX}/usr/${mylibdir}," \
975 + -e "s,^\(TK_BUILD_STUB_LIB_PATH='\)${nS}/unix,\1${EPREFIX}/usr/${mylibdir}," \
976 + "${ED}"/usr/${mylibdir}/tkConfig.sh || die
977 +
978 + if [[ ${CHOST} != *-darwin* ]]; then
979 + sed -i \
980 + -e "s,^\(TK_CC_SEARCH_FLAGS='.*\)',\1:${EPREFIX}/usr/${mylibdir}'," \
981 + -e "s,^\(TK_LD_SEARCH_FLAGS='.*\)',\1:${EPREFIX}/usr/${mylibdir}'," \
982 + "${ED}"/usr/${mylibdir}/tkConfig.sh || die
983 + fi
984 +
985 + # install private headers
986 + insinto /usr/${mylibdir}/tk${v1}/include/unix
987 + doins "${S}"/unix/*.h
988 + insinto /usr/${mylibdir}/tk${v1}/include/generic
989 + doins "${S}"/generic/*.h
990 + rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/tk.h
991 + rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/tkDecls.h
992 + rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/tkPlatDecls.h
993 +
994 + # install symlink for libraries
995 + #dosym libtk${v1}.a /usr/${mylibdir}/libtk.a
996 + dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname)
997 + dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a
998 +
999 + dosym wish${v1} /usr/bin/wish
1000 +
1001 + cd "${S}"
1002 + dodoc ChangeLog* README changes
1003 +}