summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/tcl/ChangeLog429
-rw-r--r--dev-lang/tcl/Manifest15
-rw-r--r--dev-lang/tcl/files/tcl-8.4.11-multilib.patch42
-rw-r--r--dev-lang/tcl/files/tcl-8.4.15-tclm4-soname.patch11
-rw-r--r--dev-lang/tcl/files/tcl-8.4.16-multilib.patch21
-rw-r--r--dev-lang/tcl/files/tcl-8.4.9-strtod.patch11
-rw-r--r--dev-lang/tcl/files/tcl-8.5_alpha6-multilib.patch24
-rw-r--r--dev-lang/tcl/files/tcl-8.5_alpha6-tclm4-soname.patch11
-rw-r--r--dev-lang/tcl/files/tcl-configure-LANG.patch41
-rw-r--r--dev-lang/tcl/metadata.xml9
-rw-r--r--dev-lang/tcl/tcl-8.4.15.ebuild122
-rw-r--r--dev-lang/tcl/tcl-8.4.18.ebuild124
-rw-r--r--dev-lang/tcl/tcl-8.4.19.ebuild124
-rw-r--r--dev-lang/tk/ChangeLog516
-rw-r--r--dev-lang/tk/Manifest17
-rw-r--r--dev-lang/tk/files/remove-control-v-8.4.9.diff18
-rw-r--r--dev-lang/tk/files/tk-8.4-lastevent.patch28
-rw-r--r--dev-lang/tk/files/tk-8.4.11-multilib.patch24
-rw-r--r--dev-lang/tk/files/tk-8.4.15-tclm4-soname.patch12
-rw-r--r--dev-lang/tk/files/tk-8.4.9-man.patch29
-rw-r--r--dev-lang/tk/files/tk-8.5_alpha6-tclm4-soname.patch12
-rw-r--r--dev-lang/tk/files/tk-CVE-2007-4851.patch12
-rw-r--r--dev-lang/tk/files/tk-configure-LANG.patch41
-rw-r--r--dev-lang/tk/metadata.xml6
-rw-r--r--dev-lang/tk/tk-8.4.15-r1.ebuild120
-rw-r--r--dev-lang/tk/tk-8.4.18-r1.ebuild120
-rw-r--r--dev-lang/tk/tk-8.4.18.ebuild117
-rw-r--r--dev-lang/tk/tk-8.4.19-r1.ebuild120
28 files changed, 2176 insertions, 0 deletions
diff --git a/dev-lang/tcl/ChangeLog b/dev-lang/tcl/ChangeLog
new file mode 100644
index 0000000..d74e155
--- /dev/null
+++ b/dev-lang/tcl/ChangeLog
@@ -0,0 +1,429 @@
+# ChangeLog for dev-lang/tcl
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/ChangeLog,v 1.105 2009/04/17 18:56:08 mescalinum Exp $
+
+*tcl-8.5.7 (17 Apr 2009)
+
+ 17 Apr 2009; Federico Ferri <mescalinum@gentoo.org> -tcl-8.5.1.ebuild,
+ -tcl-8.5.6.ebuild, +tcl-8.5.7.ebuild:
+ bump to version 8.5.7
+
+*tcl-8.5.6 (17 Jan 2009)
+
+ 17 Jan 2009; Federico Ferri <mescalinum@gentoo.org> -tcl-8.5.5.ebuild,
+ +tcl-8.5.6.ebuild:
+ version bump, #253571
+
+*tcl-8.4.19 (26 Oct 2008)
+
+ 26 Oct 2008; Federico Ferri <mescalinum@gentoo.org> +tcl-8.4.19.ebuild:
+ version bump for 8.4 too
+
+*tcl-8.5.5 (26 Oct 2008)
+
+ 26 Oct 2008; Federico Ferri <mescalinum@gentoo.org>
+ +tcl-8.5.5.ebuild:
+ version bumped
+
+ 11 May 2008; <solar@gentoo.org> +files/tcl-8.4.9-strtod.patch,
+ tcl-8.4.18.ebuild:
+ - cross compile fix from buildroot
+
+ 07 Mar 2008; Christoph Mende <angelos@gentoo.org> tcl-8.4.18.ebuild:
+ Stable on amd64, bug #210326
+
+ 25 Feb 2008; Jeroen Roovers <jer@gentoo.org> tcl-8.4.18.ebuild:
+ Stable for HPPA (bug #210326).
+
+ 18 Feb 2008; Brent Baude <ranger@gentoo.org> tcl-8.4.18.ebuild:
+ Marking tcl-8.4.18 ppc64 for bug 210326
+
+ 17 Feb 2008; Raúl Porcel <armin76@gentoo.org> tcl-8.4.18.ebuild:
+ alpha/ia64/sparc stable wrt #210326
+
+ 17 Feb 2008; nixnut <nixnut@gentoo.org> tcl-8.4.18.ebuild:
+ Stable on ppc wrt bug 210326
+
+ 16 Feb 2008; Christian Faulhammer <opfer@gentoo.org> tcl-8.4.18.ebuild:
+ stable x86, bug 210326
+
+*tcl-8.5.1 (16 Feb 2008)
+*tcl-8.4.18 (16 Feb 2008)
+
+ 16 Feb 2008; MATSUU Takuto <matsuu@gentoo.org>
+ -files/tcl-8.4.6-multilib.patch, -tcl-8.4.9.ebuild, -tcl-8.4.17.ebuild,
+ +tcl-8.4.18.ebuild, -tcl-8.5.0.ebuild, +tcl-8.5.1.ebuild:
+ Version bumped, bug #208464.
+ Removed old versions.
+
+*tcl-8.4.17 (04 Feb 2008)
+
+ 04 Feb 2008; MATSUU Takuto <matsuu@gentoo.org> -tcl-8.4.16.ebuild,
+ +tcl-8.4.17.ebuild:
+ Version bumped.
+
+*tcl-8.5.0 (22 Dec 2007)
+*tcl-8.4.16 (22 Dec 2007)
+
+ 22 Dec 2007; MATSUU Takuto <matsuu@gentoo.org>
+ -files/tcl-8.3.5-tclm4-soname.patch, +files/tcl-8.4.16-multilib.patch,
+ -tcl-8.4.14.ebuild, -tcl-8.4.14-r1.ebuild, +tcl-8.4.16.ebuild,
+ -tcl-8.5_alpha6.ebuild, -tcl-8.5_beta3.ebuild, +tcl-8.5.0.ebuild:
+ Version bumped. bug #194385.
+ Removed old versions.
+
+*tcl-8.5_beta3 (25 Nov 2007)
+
+ 25 Nov 2007; <matsuu@gentoo.org> +tcl-8.5_beta3.ebuild, -tcl-8.5b.ebuild:
+ Version bumped.
+ Fixed tclsh issue wrt bug #200090.
+
+*tcl-8.5b (03 Nov 2007)
+
+ 03 Nov 2007; Markus Ullmann <jokey@gentoo.org> +tcl-8.5b.ebuild:
+ Version bump, dropping keywords as status wrt other packages is untested
+
+ 21 Aug 2007; Christoph Mende <angelos@gentoo.org> tcl-8.4.15.ebuild:
+ Stable on amd64 wrt bug #178320
+
+ 18 Aug 2007; nixnut <nixnut@gentoo.org> tcl-8.4.15.ebuild:
+ Stable on ppc wrt bug 178320
+
+ 15 Aug 2007; Jeroen Roovers <jer@gentoo.org> tcl-8.4.15.ebuild:
+ Stable for HPPA (bug #178320).
+
+ 14 Aug 2007; Markus Rothe <corsair@gentoo.org> tcl-8.4.15.ebuild:
+ Stable on ppc64; bug #178320
+
+ 14 Aug 2007; Raúl Porcel <armin76@gentoo.org> tcl-8.4.15.ebuild:
+ alpha/ia64/x86 stable wrt #178320
+
+ 13 Aug 2007; Ferris McCormick <fmccor@gentoo.org> tcl-8.4.15.ebuild:
+ Sparc stable --- Bug #178320 --- has been fine for 4 weeks.
+
+*tcl-8.5_alpha6 (20 Jul 2007)
+*tcl-8.4.15 (20 Jul 2007)
+
+ 20 Jul 2007; MATSUU Takuto <matsuu@gentoo.org>
+ +files/tcl-8.4.15-tclm4-soname.patch,
+ +files/tcl-8.5_alpha6-multilib.patch,
+ +files/tcl-8.5_alpha6-tclm4-soname.patch, +tcl-8.4.15.ebuild,
+ +tcl-8.5_alpha6.ebuild:
+ Version bumped, Bug #173467, #181597.
+
+*tcl-8.4.14-r1 (12 Jul 2007)
+
+ 12 Jul 2007; MATSUU Takuto <matsuu@gentoo.org> +tcl-8.4.14-r1.ebuild:
+ Fixed library filenames issue, bug #149037.
+
+ 24 Jun 2007; Piotr Jaroszyński <peper@gentoo.org> tcl-8.4.9.ebuild,
+ tcl-8.4.14.ebuild:
+ (QA) Fix ${ROOT} abuse. bug #167271.
+
+ 25 May 2007; Brent Baude <ranger@gentoo.org> tcl-8.4.14.ebuild:
+ Marking tcl-8.4.14 ppc64 stable for bug 178320
+
+ 20 May 2007; nixnut <nixnut@gentoo.org> tcl-8.4.14.ebuild:
+ Stable on ppc wrt bug 178320
+
+ 16 May 2007; Christian Faulhammer <opfer@gentoo.org> tcl-8.4.14.ebuild:
+ stable amd64, bug 178320
+
+ 15 May 2007; Raúl Porcel <armin76@gentoo.org> tcl-8.4.14.ebuild:
+ alpha/ia64/x86 stable wrt #178320
+
+ 15 May 2007; Ferris McCormick <fmccor@gentoo.org> tcl-8.4.14.ebuild:
+ Sparc stable --- Bug #178320 --- Has been without problems for over 4 months.
+
+ 15 May 2007; Jeroen Roovers <jer@gentoo.org> tcl-8.4.14.ebuild:
+ Stable for HPPA (bug #178320).
+
+ 27 Apr 2007; MATSUU Takuto <matsuu@gentoo.org> -tcl-8.4.11-r1.ebuild,
+ -tcl-8.4.12.ebuild, -tcl-8.4.13.ebuild, tcl-8.4.14.ebuild:
+ Fixed soname problem, bug #125971.
+ Removed old versions.
+
+*tcl-8.4.14 (06 Jan 2007)
+
+ 06 Jan 2007; MATSUU Takuto <matsuu@gentoo.org> -tcl-8.3.4.ebuild,
+ +tcl-8.4.14.ebuild:
+ Version bumped.
+
+ 26 Dec 2006; Mike Frysinger <vapier@gentoo.org> tcl-8.4.13.ebuild:
+ Clean up src_install() to use proper ebuild commands rather than running
+ `install` and use relative symlinks for libraries.
+
+ 18 Oct 2006; Roy Marples <uberlord@gentoo.org> tcl-8.4.13.ebuild:
+ Added ~sparc-fbsd keyword.
+
+ 04 Jun 2006; Diego Pettenò <flameeyes@gentoo.org> tcl-8.4.13.ebuild:
+ Export CC variable to be safe on cross-distcc.
+
+*tcl-8.4.13 (03 Jun 2006)
+
+ 03 Jun 2006; MATSUU Takuto <matsuu@gentoo.org>
+ +files/tcl-8.3.5-tclm4-soname.patch, +tcl-8.4.13.ebuild:
+ Version bumped, Bug 128681.
+ Added debug USE flag, Bug 123444.
+ Added soname patch, Bug 125971.
+ Removed PDEPEND.
+
+ 11 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> tcl-8.4.12.ebuild:
+ Add ~x86-fbsd keyword.
+
+ 21 Mar 2006; Aron Griffis <agriffis@gentoo.org> tcl-8.4.9.ebuild:
+ Port bash-3 fix from tcl-8.4.11.ebuild to tcl-8.4.9.ebuild #117744
+
+*tcl-8.4.12 (03 Mar 2006)
+
+ 03 Mar 2006; MATSUU Takuto <matsuu@gentoo.org> -tcl-8.4.6.ebuild,
+ -tcl-8.4.6-r1.ebuild, -tcl-8.4.11.ebuild, +tcl-8.4.12.ebuild:
+ Version bumped, Bug 117122.
+ Removed old versions.
+
+ 26 Feb 2006; Joshua Kinard <kumba@gentoo.org> tcl-8.4.9.ebuild:
+ Marked stable on mips.
+
+ 03 Feb 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/tcl-configure-LANG.patch, tcl-8.4.9.ebuild, tcl-8.4.11.ebuild,
+ tcl-8.4.11-r1.ebuild:
+ Fix nls breakage #120133 by J.
+
+ 18 Jan 2006; Simon Stelling <blubb@gentoo.org> tcl-8.4.11-r1.ebuild:
+ add missing multilib inherit
+
+*tcl-8.4.11-r1 (08 Jan 2006)
+
+ 08 Jan 2006; MATSUU Takuto <matsuu@gentoo.org> +tcl-8.4.11-r1.ebuild:
+ Fixed fails with bash 3.1, Bug 117744.
+
+ 03 Aug 2005; Bryan Østergaard <kloeri@gentoo.org> tcl-8.4.9.ebuild:
+ Stable on alpha.
+
+ 02 Jul 2005; MATSUU Takuto <matsuu@gentoo.org> tcl-8.4.11.ebuild:
+ Added PDEPEND. Bug 97357.
+
+*tcl-8.4.11 (02 Jul 2005)
+
+ 02 Jul 2005; MATSUU Takuto <matsuu@gentoo.org>
+ +files/tcl-8.4.11-multilib.patch, +tcl-8.4.11.ebuild:
+ Version bumped.
+
+ 06 Jun 2005; Markus Rothe <corsair@gentoo.org> tcl-8.4.9.ebuild:
+ Stable on ppc64
+
+ 03 Jun 2005; Mike Frysinger <vapier@gentoo.org> tcl-8.4.9.ebuild:
+ Touchup ROOT / libdir usage to get rid of all the // gremlins.
+
+ 27 May 2005; Joseph Jezak <josejx@gentoo.org> tcl-8.4.9.ebuild:
+ Marked ppc stable.
+
+ 09 May 2005; Gustavo Zacarias <gustavoz@gentoo.org> tcl-8.4.9.ebuild:
+ Stable on sparc
+
+ 08 May 2005; Marcus D. Hanwell <cryos@gentoo.org> tcl-8.4.9.ebuild:
+ Stable on amd64.
+
+ 07 May 2005; Aron Griffis <agriffis@gentoo.org> tcl-8.4.9.ebuild:
+ stable on ia64
+
+ 07 May 2005; MATSUU Takuto <matsuu@gentoo.org> tcl-8.4.9.ebuild:
+ Stable on x86.
+
+ 21 Mar 2005; Lars Weiler <pylon@gentoo.org> tcl-8.4.6-r1.ebuild,
+ tcl-8.4.9.ebuild:
+ Downgrading tcl for ppc.
+
+ 19 Mar 2005; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
+ Changing to proper herd
+
+*tcl-8.4.9 (19 Mar 2005)
+
+ 19 Mar 2005; MATSUU Takuto <matsuu@gentoo.org> +tcl-8.4.9.ebuild:
+ Version bumped, #83816
+
+ 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+ 21 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ +files/tcl-8.4.6-multilib.patch, tcl-8.4.6-r1.ebuild:
+ Made tcl multilib friendly.
+
+ 01 Nov 2004; Lars Weiler <pylon@gentoo.org> tcl-8.4.6-r1.ebuild:
+ Stable on ppc for PHP5, Bug #60442.
+
+ 19 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> :
+ Stable on alpha.
+
+ 21 Sep 2004; Doug Goldstein <cardoe@gentoo.org> tcl-8.4.6-r1.ebuild:
+ readding arches I removed accidently
+
+*tcl-8.4.6-r1 (21 Sep 2004)
+
+ 21 Sep 2004; Doug Goldstein <cardoe@gentoo.org> +tcl-8.4.6-r1.ebuild:
+ fixed tclConfig.sh when using custom $PORTAGE_TMPDIR... also fixed potential
+ cross compiling issues
+
+ 14 Sep 2004; Guy Martin <gmsoft@gentoo.org> tcl-8.4.6.ebuild:
+ Stable on hppa.
+
+ 06 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> tcl-8.3.4.ebuild,
+ tcl-8.4.6.ebuild:
+ Switch to use epause and ebeep, bug #62950
+
+ 24 Aug 2004; Chris Aniszczyk <zx@gentoo.org> tcl-8.4.6.ebuild:
+ Stable on x86
+
+ 17 Aug 2004; Aron Griffis <agriffis@gentoo.org> tcl-8.4.6.ebuild:
+ stable on alpha and ia64
+
+ 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> tcl-8.3.4.ebuild,
+ tcl-8.4.6.ebuild:
+ virtual/glibc -> virtual/libc
+
+ 15 Jun 2004; Ferris McCormick <fmccor@gentoo.org> tcl-8.4.6.ebuild:
+ Marked stable for sparc.
+
+ 31 May 2004; Tom Gall <tgall@genoo.orgr> tcl-8.4.6.ebuild:
+ stable on ppc64
+
+ 25 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> tcl-8.3.4.ebuild,
+ tcl-8.4.6.ebuild:
+ don't depend on use echo
+
+ 25 Apr 2004; Daniel Black <dragonheart@gentoo.org> metadata.xml,
+ tcl-8.4.6.ebuild:
+ Removed gentoolkit thanks to Brian Jackson <iggy@gentoo.org> in bug #43626
+
+ 20 Apr 2004; Ian Leitch <port001@gentoo.org> tcl-8.4.6.ebuild:
+ Marking stable on amd64 and s390
+
+ 20 Apr 2004; Ian Leitch <port001@gentoo.org> tcl-8.4.6.ebuild:
+ Marking stable on mips
+
+ 20 Apr 2004; Ian Leitch <port001@gentoo.org> tcl-8.3.4.ebuild,
+ tcl-8.4.6.ebuild:
+ Enable threads with local USE flag 'threads'. #2024
+
+ 20 Apr 2004; Ian Leitch <port001@gentoo.org> -tcl-8.3.3-r1.ebuild,
+ -tcl-8.3.3-r3.ebuild, -tcl-8.4.3.ebuild, -tcl-8.4.4.ebuild,
+ -tcl-8.4.5.ebuild:
+ Removed stable ebuilds
+
+*tcl-8.4.6 (04 Mar 2004)
+
+ 04 Mar 2004; Martin Holzer <mholzer@gentoo.org> tcl-8.4.6.ebuild:
+ Version bumped.
+
+ 02 Mar 2004; Brian Jackson <iggy@gentoo.org> tcl-8.4.5.ebuild:
+ added s390 to keywords
+
+ 04 Jan 2004; <tuxus@gentoo.org> tcl-8.4.3.ebuild:
+ Added mips to KEYWORDS
+
+ 03 Jan 2004; Aron Griffis <agriffis@gentoo.org> tcl-8.4.5.ebuild:
+ Add ~alpha
+
+ 03 Jan 2004; Brian Jackson <iggy@gentoo.org> tcl-8.3.3-r1.ebuild,
+ tcl-8.3.3-r3.ebuild, tcl-8.3.4.ebuild, tcl-8.4.3.ebuild, tcl-8.4.4.ebuild,
+ tcl-8.4.5.ebuild:
+ adding ~ia64 keywords, it's installed on the releng ia64 box, so I assume it's
+ safe, needed for bitkeeper
+
+ 19 Dec 2003; David Holm <dholm@gentoo.org> tcl-8.4.5.ebuild:
+ Added to ~ppc.
+
+*tcl-8.4.5 (07 Dec 2003)
+
+ 07 Dec 2003; Martin Holzer <mholzer@gentoo.org> tcl-8.4.5.ebuild:
+ Version bumped.
+
+ 07 Dec 2003; Martin Holzer <mholzer@gentoo.org> tcl-8.4.3.ebuild,
+ tcl-8.4.4.ebuild:
+ changing to sf
+
+ 16 Nov 2003; Brad House <brad_mssw@gentoo.org> tcl-8.4.4.ebuild:
+ add ~amd64 flag
+
+*tcl-8.4.4 (22 Oct 2003)
+
+ 22 Oct 2003; Martin Holzer <mholzer@gentoo.org> tcl-8.4.4.ebuild:
+ Version bumped. Closes #28633.
+
+*tcl-8.4.3 (30 Jun 2003)
+
+ 30 Sep 2003; Joshua Kinard <kumba@gentoo.org> tcl-8.4.3.ebuild:
+ Added ~sparc & ~mips to KEYWORDS
+
+ 30 Jun 2003; Daniel Ahlberg <aliz@gento.org> tcl-8.4.3.ebuild :
+ Version bump.
+
+*tcl-8.4.2-r1 (19 May 2003)
+
+ 19 May 2003; Stanislav Brabec <utx@gentoo.org> tcl-8.4.2-r1.ebuild:
+ Fixed man-pages installation (worked around bug in mkLinks script - unset
+ variable S for installation).
+
+*tcl-8.4.2 (17 Apr 2003)
+
+ 09 May 2003; Stanislav Brabec <utx@gentoo.org> tcl-8.4.2.ebuild:
+ Added upgrade recompilation warning (bug #19939) and dependency on
+ revdep-rebuild.
+
+ 17 Apr 2003; Stanislav Brabec <utx@gentoo.org> tcl-8.4.2.ebuild:
+ Updated to version 8.4.2 (bug #18483).
+
+*tcl-8.3.4 (18 Dec 2002)
+
+ 20 Mar 2003; Zach Welch <zwelch@gentoo.org> tcl-8.3.4.ebuild:
+ add arm keyword
+
+ 08 Mar 2003; Guy Martin <gmsoft@gentoo.org> tcl-8.8.4.ebuild :
+ Added hppa to keywords.
+
+ 18 Dec 2002; Stefan Jones <cretin@gentoo.org> :
+ New revision.
+
+*tcl-8.3.3-r3 (25 Jun 2002)
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> :
+ changed sparc ~sparc keywords
+
+ 02 Aug 2002; mark Guertin <gerk@gentoo.org> tcl-8.8.3-r3.ebuild :
+
+ Added ppc to keywords
+
+ 25 Jun 2002; Karl Trygve Kalleberg <karltk@gentoo.org> tcl-8.3.3-r3.ebuild files/digest-tcl-8.3.3-r3:
+
+ Some programs had trouble compiling against tcl due to erroneous quoting of
+ a compile-time env var. Fixed.
+
+ Removed tcl-8.3.3-r2.ebuild files/digest-tcl-8.3.3-r2
+
+*tcl-8.3.3-r2 (31 May 2002)
+
+ 31 May 2002; Preston A. Elder <prez@gentoo.org> tcl-8.3.3-r2.ebuild files/digest-tcl-8.3.3-r2:
+
+ Fixed the soft links created in the install process.
+
+*tcl-8.3.3-r1 (24 Apr 2002)
+
+ 02 Aug 2002; mark Guertin <gerk@gentoo.org> tcl-8.3.3-r1.ebuild :
+
+ Added ppc to keywords
+
+ 24 Apr 2002; Karl Trygve Kalleberg <karltk@gentoo.org> tcl-8.3.3-r1.ebuild files/digest-tcl-8.3.3-r1:
+
+ Threading is now disabled as it breaks some packages, most notably lavaps.
+
+ Removed tcl-8.3.3.ebuild files/digest-tcl-8.3.3
+
+*tcl-8.3.3 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/dev-lang/tcl/Manifest b/dev-lang/tcl/Manifest
new file mode 100644
index 0000000..2c8e8e3
--- /dev/null
+++ b/dev-lang/tcl/Manifest
@@ -0,0 +1,15 @@
+AUX tcl-8.4.11-multilib.patch 1808 RMD160 fb26bcbc63a3fb79dc2793af35f64b4dc189fe24 SHA1 21b02ba0c68ec512a9225b2822119624321b30db SHA256 4925265d9fc72077d94ac23420671a4a0403cb0bad1be1dcc5d945e7bef5629a
+AUX tcl-8.4.15-tclm4-soname.patch 477 RMD160 65326daf481e3ac425eb4ba9f9495dc122b7964a SHA1 7c664afeddfb3bf51fa52104cca047f6e421fcee SHA256 2130b8b5fdddadfca35b74e9432d2651733e4f1c7b13d66ffc87b6995865076b
+AUX tcl-8.4.16-multilib.patch 988 RMD160 b674f7c4c78a89b3435b2b04831f974992c5c369 SHA1 ea83b70443ede2d52a2ad35a3c5e74a666044693 SHA256 6df0027ee02c1f458e8ae5f07538e0838317d72d028c6e1af97e8433d866b0ce
+AUX tcl-8.4.9-strtod.patch 362 RMD160 90ece8fcccba20cf1bc758133bc072cd515ba090 SHA1 db6098d47f28b7a40cc329dce2cac4e742a956d8 SHA256 93fad4cd880492430d5d55730b96a12697a58e951d8145b2b66025bceca10386
+AUX tcl-8.5_alpha6-multilib.patch 830 RMD160 e99162cf85299e44137c87c482b9d27f767f38f0 SHA1 c9de5b434aa2b479557e6be4db5dbb62ebcb2fe8 SHA256 5686025ce4e685afcf06cafac591a91a5ccd10f952c422cf01b4f72263023d55
+AUX tcl-8.5_alpha6-tclm4-soname.patch 486 RMD160 1795d442bf8ced0804d6aa364f628c545eb791f8 SHA1 9a7c9ed07eb1394c5ba16a8a41f9d47428414ac4 SHA256 af3c3ea0b0d6c37c666d2fb54cd9891c273c90ebaea4a4707583076faffb2925
+AUX tcl-configure-LANG.patch 1686 RMD160 4ff8355af81705058fd411910dfae94887bcd884 SHA1 67ae0deff73689cb39cd6e7451262bdda9c25a39 SHA256 dc9386b88eac48c282d63d0be7e7be81d4a0a08035a8b97138a61133e057bcea
+DIST tcl8.4.15-src.tar.gz 3635163 RMD160 b6b41cb5ae18744ba5aa7fdf3d64277d97d8546e SHA1 fbfae3ca68633a10b3fe870018588ade0944caed SHA256 84670f6a3647bc4e3608ab4630621a84caa8e35b0dda017d6beea2b06940afad
+DIST tcl8.4.18-src.tar.gz 3653369 RMD160 735a9cc0575585de70cbd3cb2ff5c97d46c1dfbd SHA1 83b04c3ad092c22507869dec3a5c7ba821f109b0 SHA256 dee273cba588ec9190f0ee3dfe917be49c52ae847f20c3aa72461546451df0a4
+DIST tcl8.4.19-src.tar.gz 3658647 RMD160 6e3d2991e8e44a2e32f0da8fdf7ab07aa9b8202f SHA1 ed25c5a206bcd603c2d5e58790354b9be178f331 SHA256 1c244722fb409e8774c5d45d6a0b21edc3e4541fd016a40afdf53c94a69a3db9
+EBUILD tcl-8.4.15.ebuild 3560 RMD160 49a53e889d7c174a6fd01775e0790eb06c92744a SHA1 367a11d5ee78854bb53863c44766b416bbe477b0 SHA256 a811a349d521534befa629efb7335994b46fb0b0e59b0b4b52bfd73bd82fa80f
+EBUILD tcl-8.4.18.ebuild 3655 RMD160 58318d6c6f36c8b82d787589d7bd91459a0e1caa SHA1 107e3665f1dde3654960d3981d5380bf039858a6 SHA256 ac9097e2a433970de67c76e59307f9d0f9002665c74415d85ffadae77ead6762
+EBUILD tcl-8.4.19.ebuild 3671 RMD160 099fa78f9b5d1b931d8bcaf208eb832997dd6b4c SHA1 9bb3b36cd5e34a1f5442c36f30eaca1726943b42 SHA256 8c35ec93cb87358e9f97d1cf18fde6a1652509dc77878d08af399e0314bad717
+MISC ChangeLog 13677 RMD160 366ff816ecf784b42acf19271f3e4addd0212be3 SHA1 7578004c4284f9b22d76e222650ccad821415489 SHA256 b557a364cb9c7eb9e2b7be6486a6944850f212093849e38e8d9f1c0497b01127
+MISC metadata.xml 264 RMD160 6318855997b3e957f4ad5c59677534993e352c34 SHA1 19fe5fc86133d09d7fcb0b2ce44054eff4fff028 SHA256 01ce19dabf2e53a73d86e4b16f653c6cd2b6c9aca1b79ec095f353315c8b84ee
diff --git a/dev-lang/tcl/files/tcl-8.4.11-multilib.patch b/dev-lang/tcl/files/tcl-8.4.11-multilib.patch
new file mode 100644
index 0000000..8ada22d
--- /dev/null
+++ b/dev-lang/tcl/files/tcl-8.4.11-multilib.patch
@@ -0,0 +1,42 @@
+diff -Naur tcl8.4.11.orig/unix/configure tcl8.4.11/unix/configure
+--- tcl8.4.11.orig/unix/configure 2005-06-30 01:40:33.000000000 +0900
++++ tcl8.4.11/unix/configure 2005-07-02 20:23:23.000000000 +0900
+@@ -7664,7 +7664,7 @@
+ DBGX='${TCL_DBGX}'
+ eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
+
+-TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
++TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
+ PRIVATE_INCLUDE_DIR='$(includedir)'
+ HTML_DIR='$(DISTDIR)/html'
+
+@@ -7788,7 +7788,7 @@
+
+ if test "$FRAMEWORK_BUILD" = "1" ; then
+ TCL_PACKAGE_PATH="~/Library/Tcl /Library/Tcl /Network/Library/Tcl /System/Library/Tcl ~/Library/Frameworks /Library/Frameworks /Network/Library/Frameworks /System/Library/Frameworks"
+-elif test "$prefix" != "$exec_prefix"; then
++elif test "$prefix" != "$exec_prefix" -o "${libdir}" != "${prefix}/lib"; then
+ TCL_PACKAGE_PATH="${libdir} ${prefix}/lib"
+ else
+ TCL_PACKAGE_PATH="${prefix}/lib"
+diff -Naur tcl8.4.11.orig/unix/configure.in tcl8.4.11/unix/configure.in
+--- tcl8.4.11.orig/unix/configure.in 2005-06-30 01:40:33.000000000 +0900
++++ tcl8.4.11/unix/configure.in 2005-07-02 20:23:12.000000000 +0900
+@@ -459,7 +459,7 @@
+ DBGX='${TCL_DBGX}'
+ eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
+
+-TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
++TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
+ PRIVATE_INCLUDE_DIR='$(includedir)'
+ HTML_DIR='$(DISTDIR)/html'
+
+@@ -552,7 +552,7 @@
+
+ if test "$FRAMEWORK_BUILD" = "1" ; then
+ TCL_PACKAGE_PATH="~/Library/Tcl /Library/Tcl /Network/Library/Tcl /System/Library/Tcl ~/Library/Frameworks /Library/Frameworks /Network/Library/Frameworks /System/Library/Frameworks"
+-elif test "$prefix" != "$exec_prefix"; then
++elif test "$prefix" != "$exec_prefix" -o "${libdir}" != "${prefix}/lib"; then
+ TCL_PACKAGE_PATH="${libdir} ${prefix}/lib"
+ else
+ TCL_PACKAGE_PATH="${prefix}/lib"
diff --git a/dev-lang/tcl/files/tcl-8.4.15-tclm4-soname.patch b/dev-lang/tcl/files/tcl-8.4.15-tclm4-soname.patch
new file mode 100644
index 0000000..4f2dce9
--- /dev/null
+++ b/dev-lang/tcl/files/tcl-8.4.15-tclm4-soname.patch
@@ -0,0 +1,11 @@
+--- tcl8.4.15.orig/unix/tcl.m4 2007-05-25 05:40:13.000000000 +0900
++++ tcl8.4.15/unix/tcl.m4 2007-07-20 08:40:41.000000000 +0900
+@@ -1345,7 +1345,7 @@
+ #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
+
+ if test "$have_dl" = yes; then
+- SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
++ SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -Wl,-soname,${@}'
+ DL_OBJS="tclLoadDl.o"
+ DL_LIBS="-ldl"
+ LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
diff --git a/dev-lang/tcl/files/tcl-8.4.16-multilib.patch b/dev-lang/tcl/files/tcl-8.4.16-multilib.patch
new file mode 100644
index 0000000..59d1b8a
--- /dev/null
+++ b/dev-lang/tcl/files/tcl-8.4.16-multilib.patch
@@ -0,0 +1,21 @@
+diff -Naur tcl8.4.16.orig/unix/configure.in tcl8.4.16/unix/configure.in
+--- tcl8.4.16.orig/unix/configure.in 2007-09-22 02:07:02.000000000 +0900
++++ tcl8.4.16/unix/configure.in 2007-12-15 10:43:16.000000000 +0900
+@@ -570,7 +570,7 @@
+ DBGX='${TCL_DBGX}'
+ eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
+
+-TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
++TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
+ PRIVATE_INCLUDE_DIR='$(includedir)'
+ HTML_DIR='$(DISTDIR)/html'
+
+@@ -669,7 +669,7 @@
+ if test "$FRAMEWORK_BUILD" = "1" ; then
+ test -z "$TCL_PACKAGE_PATH" && \
+ TCL_PACKAGE_PATH="~/Library/Tcl /Library/Tcl /Network/Library/Tcl /System/Library/Tcl ~/Library/Frameworks /Library/Frameworks /Network/Library/Frameworks /System/Library/Frameworks"
+-elif test "$prefix" != "$exec_prefix"; then
++elif test "$prefix" != "$exec_prefix" -o "${libdir}" != "${prefix}/lib"; then
+ TCL_PACKAGE_PATH="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}"
+ else
+ TCL_PACKAGE_PATH="${prefix}/lib ${TCL_PACKAGE_PATH}"
diff --git a/dev-lang/tcl/files/tcl-8.4.9-strtod.patch b/dev-lang/tcl/files/tcl-8.4.9-strtod.patch
new file mode 100644
index 0000000..a997454
--- /dev/null
+++ b/dev-lang/tcl/files/tcl-8.4.9-strtod.patch
@@ -0,0 +1,11 @@
+--- tcl8.4.9/compat/strtod.c 2002-02-25 16:26:12.000000000 +0200
++++ tcl8.4.9/compat/strtod.c 2005-05-30 08:55:18.000000000 +0300
+@@ -24,6 +24,8 @@
+ #define NULL 0
+ #endif
+
++#undef strtod
++
+ static int maxExponent = 511; /* Largest possible base 10 exponent. Any
+ * exponent larger than this will already
+ * produce underflow or overflow, so there's
diff --git a/dev-lang/tcl/files/tcl-8.5_alpha6-multilib.patch b/dev-lang/tcl/files/tcl-8.5_alpha6-multilib.patch
new file mode 100644
index 0000000..ca7535f
--- /dev/null
+++ b/dev-lang/tcl/files/tcl-8.5_alpha6-multilib.patch
@@ -0,0 +1,24 @@
+diff -Naur tcl8.5a6.orig/unix/configure tcl8.5a6/unix/configure
+--- tcl8.5a6.orig/unix/configure 2007-04-27 02:33:51.000000000 +0900
++++ tcl8.5a6/unix/configure 2007-05-16 10:27:25.000000000 +0900
+@@ -17623,7 +17623,7 @@
+
+ eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
+
+-TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
++TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
+ PRIVATE_INCLUDE_DIR='$(includedir)'
+ HTML_DIR='$(DISTDIR)/html'
+
+diff -Naur tcl8.5a6.orig/unix/configure.in tcl8.5a6/unix/configure.in
+--- tcl8.5a6.orig/unix/configure.in 2007-04-27 02:33:51.000000000 +0900
++++ tcl8.5a6/unix/configure.in 2007-05-16 10:27:25.000000000 +0900
+@@ -645,7 +645,7 @@
+
+ eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
+
+-TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
++TCL_LIBRARY='$(libdir)/tcl$(VERSION)'
+ PRIVATE_INCLUDE_DIR='$(includedir)'
+ HTML_DIR='$(DISTDIR)/html'
+
diff --git a/dev-lang/tcl/files/tcl-8.5_alpha6-tclm4-soname.patch b/dev-lang/tcl/files/tcl-8.5_alpha6-tclm4-soname.patch
new file mode 100644
index 0000000..f24cdc6
--- /dev/null
+++ b/dev-lang/tcl/files/tcl-8.5_alpha6-tclm4-soname.patch
@@ -0,0 +1,11 @@
+--- tcl8.5a6.orig/unix/tcl.m4 2007-04-27 02:33:51.000000000 +0900
++++ tcl8.5a6/unix/tcl.m4 2007-05-16 10:46:31.000000000 +0900
+@@ -1425,7 +1425,7 @@
+ # get rid of the warnings.
+ #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
+
+- SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
++ SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -Wl,-soname,${@}'
+ DL_OBJS="tclLoadDl.o"
+ DL_LIBS="-ldl"
+ LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
diff --git a/dev-lang/tcl/files/tcl-configure-LANG.patch b/dev-lang/tcl/files/tcl-configure-LANG.patch
new file mode 100644
index 0000000..3ef76ef
--- /dev/null
+++ b/dev-lang/tcl/files/tcl-configure-LANG.patch
@@ -0,0 +1,41 @@
+The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in
+option parsing, it may break.
+
+http://bugs.gentoo.org/103483
+
+--- configure
++++ configure
+@@ -54,6 +54,16 @@
+ infodir='${prefix}/info'
+ mandir='${prefix}/man'
+
++# NLS nuisances.
++# Only set these to C if already set. These must not be set unconditionally
++# because not all systems understand e.g. LANG=C (notably SCO).
++# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
++# Non-C LC_CTYPE values break the ctype check.
++if test "${LANG+set}" = set; then LANG=C; export LANG; fi
++if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
++if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
++if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
++
+ # Initialize some other variables.
+ subdirs=
+ MFLAGS= MAKEFLAGS=
+@@ -452,16 +463,6 @@
+ esac
+ done
+
+-# NLS nuisances.
+-# Only set these to C if already set. These must not be set unconditionally
+-# because not all systems understand e.g. LANG=C (notably SCO).
+-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
+-# Non-C LC_CTYPE values break the ctype check.
+-if test "${LANG+set}" = set; then LANG=C; export LANG; fi
+-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
+-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
+-if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
+-
+ # confdefs.h avoids OS command line length limits that DEFS can exceed.
+ rm -rf conftest* confdefs.h
+ # AIX cpp loses on an empty file, so make sure it contains at least a newline.
diff --git a/dev-lang/tcl/metadata.xml b/dev-lang/tcl/metadata.xml
new file mode 100644
index 0000000..49d2ef5
--- /dev/null
+++ b/dev-lang/tcl/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>tcltk</herd>
+ <maintainer>
+ <email>tcltk@gentoo.org</email>
+ <description>TCL/TK Herd.</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-lang/tcl/tcl-8.4.15.ebuild b/dev-lang/tcl/tcl-8.4.15.ebuild
new file mode 100644
index 0000000..84680dc
--- /dev/null
+++ b/dev-lang/tcl/tcl-8.4.15.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.4.15.ebuild,v 1.8 2007/08/25 22:58:14 vapier Exp $
+
+WANT_AUTOCONF=latest
+WANT_AUTOMAKE=latest
+
+inherit autotools eutils multilib toolchain-funcs
+
+DESCRIPTION="Tool Command Language"
+HOMEPAGE="http://www.tcl.tk/"
+SRC_URI="mirror://sourceforge/tcl/${PN}${PV}-src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
+IUSE="debug threads"
+
+DEPEND=""
+
+S=${WORKDIR}/${PN}${PV}
+
+pkg_setup() {
+ if use threads ; then
+ ewarn ""
+ ewarn "PLEASE NOTE: You are compiling ${P} with"
+ ewarn "threading enabled."
+ ewarn "Threading is not supported by all applications"
+ ewarn "that compile against tcl. You use threading at"
+ ewarn "your own discretion."
+ ewarn ""
+ epause 5
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-8.4.11-multilib.patch
+
+ # Bug 125971
+ epatch "${FILESDIR}"/${P}-tclm4-soname.patch
+
+ local d
+ for d in */configure ; do
+ cd "${S}"/${d%%/*}
+ EPATCH_SINGLE_MSG="Patching nls cruft in ${d}" \
+ epatch "${FILESDIR}"/tcl-configure-LANG.patch
+ done
+
+ cd "${S}"/unix
+ eautoreconf
+}
+
+src_compile() {
+ tc-export CC
+ local local_config_use=""
+
+ if use threads ; then
+ local_config_use="--enable-threads"
+ fi
+
+ cd "${S}"/unix
+ econf \
+ $(use_enable threads) \
+ $(use_enable debug symbols) || die
+ emake || die
+}
+
+src_install() {
+ #short version number
+ local v1
+ v1=${PV%.*}
+
+ cd "${S}"/unix
+ S= emake DESTDIR="${D}" install || die
+
+ # fix the tclConfig.sh to eliminate refs to the build directory
+ local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/}
+ sed -i \
+ -e "s,^TCL_BUILD_LIB_SPEC='-L.*/unix,TCL_BUILD_LIB_SPEC='-L$/usr/${mylibdir}," \
+ -e "s,^TCL_SRC_DIR='.*',TCL_SRC_DIR='/usr/${mylibdir}/tcl${v1}/include'," \
+ -e "s,^TCL_BUILD_STUB_LIB_SPEC='-L.*/unix,TCL_BUILD_STUB_LIB_SPEC='-L/usr/${mylibdir}," \
+ -e "s,^TCL_BUILD_STUB_LIB_PATH='.*/unix,TCL_BUILD_STUB_LIB_PATH='/usr/${mylibdir}," \
+ -e "s,^TCL_LIB_FILE='libtcl${v1}..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl${v1}\$\{TCL_DBGX\}.so\"," \
+ -e "s,^TCL_CC_SEARCH_FLAGS='\(.*\)',TCL_CC_SEARCH_FLAGS='\1:/usr/${mylibdir}'," \
+ -e "s,^TCL_LD_SEARCH_FLAGS='\(.*\)',TCL_LD_SEARCH_FLAGS='\1:/usr/${mylibdir}'," \
+ "${D}"/usr/${mylibdir}/tclConfig.sh || die
+
+ # install private headers
+ insinto /usr/${mylibdir}/tcl${v1}/include/unix
+ doins "${S}"/unix/*.h || die
+ insinto /usr/${mylibdir}/tcl${v1}/include/generic
+ doins "${S}"/generic/*.h || die
+ rm -f "${D}"/usr/${mylibdir}/tcl${v1}/include/generic/tcl.h
+ rm -f "${D}"/usr/${mylibdir}/tcl${v1}/include/generic/tclDecls.h
+ rm -f "${D}"/usr/${mylibdir}/tcl${v1}/include/generic/tclPlatDecls.h
+
+ # install symlink for libraries
+ if use debug ; then
+ dosym libtcl${v1}g.so /usr/${mylibdir}/libtcl${v1}.so
+ dosym libtclstub${v1}g.a /usr/${mylibdir}/libtclstub${v1}.a
+ fi
+ dosym libtcl${v1}.so /usr/${mylibdir}/libtcl.so
+ dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a
+
+ dosym tclsh${v1} /usr/bin/tclsh
+
+ cd "${S}"
+ dodoc ChangeLog* README changes
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "If you're upgrading from tcl-8.3, you must recompile the other"
+ ewarn "packages on your system that link with tcl after the upgrade"
+ ewarn "completes. To perform this action, please run revdep-rebuild"
+ ewarn "in package app-portage/gentoolkit."
+ ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
+ ewarn "upgrade them before this recompilation, too,"
+ ewarn
+}
diff --git a/dev-lang/tcl/tcl-8.4.18.ebuild b/dev-lang/tcl/tcl-8.4.18.ebuild
new file mode 100644
index 0000000..3b8dc7b
--- /dev/null
+++ b/dev-lang/tcl/tcl-8.4.18.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.4.18.ebuild,v 1.9 2008/11/04 03:29:09 vapier Exp $
+
+WANT_AUTOCONF=latest
+WANT_AUTOMAKE=latest
+
+inherit autotools eutils multilib toolchain-funcs
+
+DESCRIPTION="Tool Command Language"
+HOMEPAGE="http://www.tcl.tk/"
+SRC_URI="mirror://sourceforge/tcl/${PN}${PV}-src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
+IUSE="debug threads"
+
+DEPEND=""
+
+S="${WORKDIR}/${PN}${PV}"
+
+pkg_setup() {
+ if use threads ; then
+ ewarn ""
+ ewarn "PLEASE NOTE: You are compiling ${PF} with"
+ ewarn "threading enabled."
+ ewarn "Threading is not supported by all applications"
+ ewarn "that compile against tcl. You use threading at"
+ ewarn "your own discretion."
+ ewarn ""
+ epause 5
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-8.4.16-multilib.patch
+
+ # Bug 125971
+ epatch "${FILESDIR}"/${PN}-8.4.15-tclm4-soname.patch
+ # cross-compile fix from buildroot.
+ epatch "${FILESDIR}"/${PN}-8.4.9-strtod.patch
+
+ local d
+ for d in */configure ; do
+ cd "${S}"/${d%%/*}
+ EPATCH_SINGLE_MSG="Patching nls cruft in ${d}" \
+ epatch "${FILESDIR}"/tcl-configure-LANG.patch
+ done
+
+ cd "${S}"/unix
+ eautoreconf
+}
+
+src_compile() {
+ tc-export CC
+ local local_config_use=""
+
+ if use threads ; then
+ local_config_use="--enable-threads"
+ fi
+
+ cd "${S}"/unix
+ econf \
+ $(use_enable threads) \
+ $(use_enable debug symbols) || die
+ emake || die
+}
+
+src_install() {
+ #short version number
+ local v1
+ v1=${PV%.*}
+
+ cd "${S}"/unix
+ S= emake DESTDIR="${D}" install || die
+
+ # fix the tclConfig.sh to eliminate refs to the build directory
+ local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/}
+ sed -i \
+ -e "s,^TCL_BUILD_LIB_SPEC='-L.*/unix,TCL_BUILD_LIB_SPEC='-L$/usr/${mylibdir}," \
+ -e "s,^TCL_SRC_DIR='.*',TCL_SRC_DIR='/usr/${mylibdir}/tcl${v1}/include'," \
+ -e "s,^TCL_BUILD_STUB_LIB_SPEC='-L.*/unix,TCL_BUILD_STUB_LIB_SPEC='-L/usr/${mylibdir}," \
+ -e "s,^TCL_BUILD_STUB_LIB_PATH='.*/unix,TCL_BUILD_STUB_LIB_PATH='/usr/${mylibdir}," \
+ -e "s,^TCL_LIB_FILE='libtcl${v1}..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl${v1}\$\{TCL_DBGX\}.so\"," \
+ -e "s,^TCL_CC_SEARCH_FLAGS='\(.*\)',TCL_CC_SEARCH_FLAGS='\1:/usr/${mylibdir}'," \
+ -e "s,^TCL_LD_SEARCH_FLAGS='\(.*\)',TCL_LD_SEARCH_FLAGS='\1:/usr/${mylibdir}'," \
+ "${D}"/usr/${mylibdir}/tclConfig.sh || die
+
+ # install private headers
+ insinto /usr/${mylibdir}/tcl${v1}/include/unix
+ doins "${S}"/unix/*.h || die
+ insinto /usr/${mylibdir}/tcl${v1}/include/generic
+ doins "${S}"/generic/*.h || die
+ rm -f "${D}"/usr/${mylibdir}/tcl${v1}/include/generic/tcl.h
+ rm -f "${D}"/usr/${mylibdir}/tcl${v1}/include/generic/tclDecls.h
+ rm -f "${D}"/usr/${mylibdir}/tcl${v1}/include/generic/tclPlatDecls.h
+
+ # install symlink for libraries
+ if use debug ; then
+ dosym libtcl${v1}g.so /usr/${mylibdir}/libtcl${v1}.so
+ dosym libtclstub${v1}g.a /usr/${mylibdir}/libtclstub${v1}.a
+ fi
+ dosym libtcl${v1}.so /usr/${mylibdir}/libtcl.so
+ dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a
+
+ dosym tclsh${v1} /usr/bin/tclsh
+
+ cd "${S}"
+ dodoc ChangeLog* README changes
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "If you're upgrading from tcl-8.3, you must recompile the other"
+ ewarn "packages on your system that link with tcl after the upgrade"
+ ewarn "completes. To perform this action, please run revdep-rebuild"
+ ewarn "in package app-portage/gentoolkit."
+ ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
+ ewarn "upgrade them before this recompilation, too,"
+ ewarn
+}
diff --git a/dev-lang/tcl/tcl-8.4.19.ebuild b/dev-lang/tcl/tcl-8.4.19.ebuild
new file mode 100644
index 0000000..bac0187
--- /dev/null
+++ b/dev-lang/tcl/tcl-8.4.19.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.4.19.ebuild,v 1.1 2008/10/26 11:20:41 mescalinum Exp $
+
+WANT_AUTOCONF=latest
+WANT_AUTOMAKE=latest
+
+inherit autotools eutils multilib toolchain-funcs
+
+DESCRIPTION="Tool Command Language"
+HOMEPAGE="http://www.tcl.tk/"
+SRC_URI="mirror://sourceforge/tcl/${PN}${PV}-src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="debug threads"
+
+DEPEND=""
+
+S="${WORKDIR}/${PN}${PV}"
+
+pkg_setup() {
+ if use threads ; then
+ ewarn ""
+ ewarn "PLEASE NOTE: You are compiling ${PF} with"
+ ewarn "threading enabled."
+ ewarn "Threading is not supported by all applications"
+ ewarn "that compile against tcl. You use threading at"
+ ewarn "your own discretion."
+ ewarn ""
+ epause 5
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-8.4.16-multilib.patch
+
+ # Bug 125971
+ epatch "${FILESDIR}"/${PN}-8.4.15-tclm4-soname.patch
+ # cross-compile fix from buildroot.
+ epatch "${FILESDIR}"/${PN}-8.4.9-strtod.patch
+
+ local d
+ for d in */configure ; do
+ cd "${S}"/${d%%/*}
+ EPATCH_SINGLE_MSG="Patching nls cruft in ${d}" \
+ epatch "${FILESDIR}"/tcl-configure-LANG.patch
+ done
+
+ cd "${S}"/unix
+ eautoreconf
+}
+
+src_compile() {
+ tc-export CC
+ local local_config_use=""
+
+ if use threads ; then
+ local_config_use="--enable-threads"
+ fi
+
+ cd "${S}"/unix
+ econf \
+ $(use_enable threads) \
+ $(use_enable debug symbols) || die
+ emake || die
+}
+
+src_install() {
+ #short version number
+ local v1
+ v1=${PV%.*}
+
+ cd "${S}"/unix
+ S= emake DESTDIR="${D}" install || die
+
+ # fix the tclConfig.sh to eliminate refs to the build directory
+ local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/}
+ sed -i \
+ -e "s,^TCL_BUILD_LIB_SPEC='-L.*/unix,TCL_BUILD_LIB_SPEC='-L$/usr/${mylibdir}," \
+ -e "s,^TCL_SRC_DIR='.*',TCL_SRC_DIR='/usr/${mylibdir}/tcl${v1}/include'," \
+ -e "s,^TCL_BUILD_STUB_LIB_SPEC='-L.*/unix,TCL_BUILD_STUB_LIB_SPEC='-L/usr/${mylibdir}," \
+ -e "s,^TCL_BUILD_STUB_LIB_PATH='.*/unix,TCL_BUILD_STUB_LIB_PATH='/usr/${mylibdir}," \
+ -e "s,^TCL_LIB_FILE='libtcl${v1}..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl${v1}\$\{TCL_DBGX\}.so\"," \
+ -e "s,^TCL_CC_SEARCH_FLAGS='\(.*\)',TCL_CC_SEARCH_FLAGS='\1:/usr/${mylibdir}'," \
+ -e "s,^TCL_LD_SEARCH_FLAGS='\(.*\)',TCL_LD_SEARCH_FLAGS='\1:/usr/${mylibdir}'," \
+ "${D}"/usr/${mylibdir}/tclConfig.sh || die
+
+ # install private headers
+ insinto /usr/${mylibdir}/tcl${v1}/include/unix
+ doins "${S}"/unix/*.h || die
+ insinto /usr/${mylibdir}/tcl${v1}/include/generic
+ doins "${S}"/generic/*.h || die
+ rm -f "${D}"/usr/${mylibdir}/tcl${v1}/include/generic/tcl.h
+ rm -f "${D}"/usr/${mylibdir}/tcl${v1}/include/generic/tclDecls.h
+ rm -f "${D}"/usr/${mylibdir}/tcl${v1}/include/generic/tclPlatDecls.h
+
+ # install symlink for libraries
+ if use debug ; then
+ dosym libtcl${v1}g.so /usr/${mylibdir}/libtcl${v1}.so
+ dosym libtclstub${v1}g.a /usr/${mylibdir}/libtclstub${v1}.a
+ fi
+ dosym libtcl${v1}.so /usr/${mylibdir}/libtcl.so
+ dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a
+
+ dosym tclsh${v1} /usr/bin/tclsh
+
+ cd "${S}"
+ dodoc ChangeLog* README changes
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "If you're upgrading from tcl-8.3, you must recompile the other"
+ ewarn "packages on your system that link with tcl after the upgrade"
+ ewarn "completes. To perform this action, please run revdep-rebuild"
+ ewarn "in package app-portage/gentoolkit."
+ ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
+ ewarn "upgrade them before this recompilation, too,"
+ ewarn
+}
diff --git a/dev-lang/tk/ChangeLog b/dev-lang/tk/ChangeLog
new file mode 100644
index 0000000..7eeadba
--- /dev/null
+++ b/dev-lang/tk/ChangeLog
@@ -0,0 +1,516 @@
+# ChangeLog for dev-lang/tk
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/ChangeLog,v 1.122 2009/05/07 19:08:18 klausman Exp $
+
+ 07 May 2009; Tobias Klausmann <klausman@gentoo.org> tk-8.4.18-r1.ebuild:
+ Stable on alpha, bug #268174
+
+ 06 May 2009; Kenneth Prugh <ken69267@gentoo.org> tk-8.4.18-r1.ebuild:
+ amd64 stable, bug #268174
+
+ 06 May 2009; Jeroen Roovers <jer@gentoo.org> tk-8.4.18-r1.ebuild:
+ Stable for HPPA (bug #268174).
+
+ 06 May 2009; Ferris McCormick <fmccor@gentoo.org> tk-8.4.18-r1.ebuild:
+ Sparc stable, bug #268174.
+
+ 06 May 2009; Christian Faulhammer <fauli@gentoo.org> tk-8.4.18-r1.ebuild:
+ stable x86, bug 268174
+
+ 06 May 2009; Brent Baude <ranger@gentoo.org> tk-8.4.18-r1.ebuild:
+ Marking tk-8.4.18-r1 ppc64 and ppc for bug 268174
+
+*tk-8.5.7 (17 Apr 2009)
+
+ 17 Apr 2009; Federico Ferri <mescalinum@gentoo.org> -tk-8.5.1.ebuild,
+ -tk-8.5.6.ebuild, +tk-8.5.7.ebuild:
+ bump to version 8.5.7
+
+ 25 Feb 2009; Raúl Porcel <armin76@gentoo.org> tk-8.4.19-r1.ebuild,
+ tk-8.5.6.ebuild:
+ Add ~s390
+
+*tk-8.5.6 (17 Jan 2009)
+
+ 17 Jan 2009; Federico Ferri <mescalinum@gentoo.org> -tk-8.5.5.ebuild,
+ +tk-8.5.6.ebuild:
+ version bump, #253571
+
+*tk-8.4.19-r1 (16 Nov 2008)
+
+ 16 Nov 2008; Federico Ferri <mescalinum@gentoo.org> -tk-8.4.19.ebuild,
+ +tk-8.4.19-r1.ebuild:
+ rev bump, fixes bug #246774
+
+*tk-8.4.18-r1 (27 Oct 2008)
+
+ 27 Oct 2008; Federico Ferri <mescalinum@gentoo.org>
+ +files/tk-8.4-lastevent.patch, +tk-8.4.18-r1.ebuild, tk-8.4.19.ebuild:
+ adding patch 8.4-lastevent, fixes bug #225999
+
+*tk-8.4.19 (26 Oct 2008)
+
+ 26 Oct 2008; Federico Ferri <mescalinum@gentoo.org> +tk-8.4.19.ebuild:
+ version bump for 8.4 too
+
+*tk-8.5.5 (26 Oct 2008)
+
+ 26 Oct 2008; Federico Ferri <mescalinum@gentoo.org> +tk-8.5.5.ebuild:
+ version bumped
+
+ 07 Mar 2008; Christoph Mende <angelos@gentoo.org> tk-8.4.18.ebuild:
+ Stable on amd64, bug #210326
+
+ 25 Feb 2008; Jeroen Roovers <jer@gentoo.org> tk-8.4.18.ebuild:
+ Stable for HPPA (bug #210326).
+
+ 18 Feb 2008; Brent Baude <ranger@gentoo.org> tk-8.4.18.ebuild:
+ Marking tk-8.4.18 ppc64 for bug 210326
+
+ 17 Feb 2008; Raúl Porcel <armin76@gentoo.org> tk-8.4.18.ebuild:
+ alpha/ia64/sparc stable wrt #210326
+
+ 17 Feb 2008; nixnut <nixnut@gentoo.org> tk-8.4.18.ebuild:
+ Stable on ppc wrt bug 210326
+
+ 16 Feb 2008; Christian Faulhammer <opfer@gentoo.org> tk-8.4.18.ebuild:
+ stable x86, bug 210326
+
+*tk-8.5.1 (16 Feb 2008)
+*tk-8.4.18 (16 Feb 2008)
+
+ 16 Feb 2008; MATSUU Takuto <matsuu@gentoo.org>
+ -files/tk-CVE-2006-4484.patch, -tk-8.4.9.ebuild, -tk-8.4.15-r2.ebuild,
+ -tk-8.4.17.ebuild, +tk-8.4.18.ebuild, -tk-8.5.0-r2.ebuild,
+ +tk-8.5.1.ebuild:
+ Version bumped, bug #208464.
+ Removed old versions.
+
+*tk-8.5.0-r2 (04 Feb 2008)
+*tk-8.4.17 (04 Feb 2008)
+*tk-8.4.15-r2 (04 Feb 2008)
+
+ 04 Feb 2008; MATSUU Takuto <matsuu@gentoo.org>
+ +files/tk-CVE-2006-4484.patch, +tk-8.4.15-r2.ebuild, -tk-8.4.16.ebuild,
+ +tk-8.4.17.ebuild, -tk-8.5.0.ebuild, -tk-8.5.0-r1.ebuild,
+ +tk-8.5.0-r2.ebuild:
+ Version bumped.
+ Fixed CVE-2006-4484, bug #208464.
+
+*tk-8.5.0-r1 (30 Dec 2007)
+
+ 30 Dec 2007; MATSUU Takuto <matsuu@gentoo.org> +tk-8.5.0-r1.ebuild:
+ Added truetype USE flag. bug #173467.
+
+*tk-8.5.0 (22 Dec 2007)
+*tk-8.4.16 (22 Dec 2007)
+
+ 22 Dec 2007; MATSUU Takuto <matsuu@gentoo.org> -tk-8.4.15.ebuild,
+ +tk-8.4.16.ebuild, -tk-8.5_alpha6.ebuild, -tk-8.5_alpha6-r1.ebuild,
+ -tk-8.5_beta3.ebuild, +tk-8.5.0.ebuild:
+ Version bumped. bug #194385.
+ Removed old versions.
+
+*tk-8.5_beta3 (25 Nov 2007)
+
+ 25 Nov 2007; <matsuu@gentoo.org> +tk-8.5_beta3.ebuild, -tk-8.5b.ebuild:
+ Version bumped.
+ Fixed wrong symlink wrt bug #200090.
+
+*tk-8.5b (03 Nov 2007)
+
+ 03 Nov 2007; Markus Ullmann <jokey@gentoo.org> +tk-8.5b.ebuild:
+ Version bump, dropping keywords as status wrt other packages is untested
+
+ 23 Sep 2007; Ferris McCormick <fmccor@gentoo.org> tk-8.4.15-r1.ebuild:
+ Sparc stable --- security Bug #192539 --- has been running fine.
+
+ 20 Sep 2007; Brent Baude <ranger@gentoo.org> tk-8.4.15-r1.ebuild:
+ keywording tk-8.4.15-r1 ppc64 for bug#190697
+
+ 17 Sep 2007; Tobias Scherbaum <dertobi123@gentoo.org> tk-8.4.15-r1.ebuild:
+ ppc stable, bug #192539
+
+ 17 Sep 2007; Raúl Porcel <armin76@gentoo.org> tk-8.4.15-r1.ebuild:
+ alpha/ia64 stable wrt security #192539
+
+ 16 Sep 2007; Christoph Mende <angelos@gentoo.org> tk-8.4.15-r1.ebuild:
+ Stable on amd64 wrt security bug #192539
+
+ 16 Sep 2007; Markus Meier <maekke@gentoo.org> tk-8.4.15-r1.ebuild:
+ x86 stable, security bug #192539
+
+ 16 Sep 2007; Jeroen Roovers <jer@gentoo.org> tk-8.4.15-r1.ebuild:
+ Stable for HPPA (bug #192539).
+
+*tk-8.5_alpha6-r1 (16 Sep 2007)
+*tk-8.4.15-r1 (16 Sep 2007)
+
+ 16 Sep 2007; MATSUU Takuto <matsuu@gentoo.org>
+ -files/tk-8.3.5-tclm4-soname.patch, +files/tk-CVE-2007-4851.patch,
+ -tk-8.4.14.ebuild, -tk-8.4.14-r1.ebuild, +tk-8.4.15-r1.ebuild,
+ +tk-8.5_alpha6-r1.ebuild:
+ Fixed CVE-2007-4851, bug #192539.
+ Removed old versions.
+
+ 21 Aug 2007; Christoph Mende <angelos@gentoo.org> tk-8.4.15.ebuild:
+ Stable on amd64 wrt bug #178320
+
+ 18 Aug 2007; nixnut <nixnut@gentoo.org> tk-8.4.15.ebuild:
+ Stable on ppc wrt bug 178320
+
+ 15 Aug 2007; Jeroen Roovers <jer@gentoo.org> tk-8.4.15.ebuild:
+ Stable for HPPA (bug #178320).
+
+ 14 Aug 2007; Markus Rothe <corsair@gentoo.org> tk-8.4.15.ebuild:
+ Stable on ppc64; bug #178320
+
+ 14 Aug 2007; Raúl Porcel <armin76@gentoo.org> tk-8.4.15.ebuild:
+ alpha/ia64/x86 stable wrt #178320
+
+ 13 Aug 2007; Ferris McCormick <fmccor@gentoo.org> tk-8.4.15.ebuild:
+ Sparc stable --- Bug #178320 --- no problems.
+
+ 22 Jul 2007; Hans de Graaff <graaff@gentoo.org> tk-8.4.9.ebuild,
+ tk-8.4.14.ebuild:
+ Drop virtual/x11 references.
+
+*tk-8.5_alpha6 (20 Jul 2007)
+*tk-8.4.15 (20 Jul 2007)
+
+ 20 Jul 2007; MATSUU Takuto <matsuu@gentoo.org>
+ +files/tk-8.4.15-tclm4-soname.patch,
+ +files/tk-8.5_alpha6-tclm4-soname.patch, +tk-8.4.15.ebuild,
+ +tk-8.5_alpha6.ebuild:
+ Version bumped, Bug #173467, #181597.
+
+*tk-8.4.14-r1 (12 Jul 2007)
+
+ 12 Jul 2007; MATSUU Takuto <matsuu@gentoo.org> +tk-8.4.14-r1.ebuild:
+ Fixed library filenames issue, bug #149037.
+
+ 25 May 2007; Brent Baude <ranger@gentoo.org> tk-8.4.14.ebuild:
+ Marking tk-8.4.14 ppc64 stable for bug 178320
+
+ 20 May 2007; nixnut <nixnut@gentoo.org> tk-8.4.14.ebuild:
+ Stable on ppc wrt bug 178320
+
+ 16 May 2007; Christian Faulhammer <opfer@gentoo.org> tk-8.4.14.ebuild:
+ stable amd64, bug 178320
+
+ 15 May 2007; Raúl Porcel <armin76@gentoo.org> tk-8.4.14.ebuild:
+ alpha/ia64/x86 stable wrt #178320
+
+ 15 May 2007; Ferris McCormick <fmccor@gentoo.org> tk-8.4.14.ebuild:
+ Sparc stable --- Bug #178320 --- Has been without problems for over 4 months.
+
+ 15 May 2007; Jeroen Roovers <jer@gentoo.org> tk-8.4.14.ebuild:
+ Stable for HPPA (bug #178320).
+
+ 27 Apr 2007; MATSUU Takuto <matsuu@gentoo.org>
+ -files/remove-control-v.diff, tk-8.4.9.ebuild, -tk-8.4.11-r1.ebuild,
+ -tk-8.4.12.ebuild, -tk-8.4.13.ebuild, tk-8.4.14.ebuild:
+ Fixed SONAME issue, bug #125971.
+ Fixed tkConfig.sh issue, bug #164649.
+ Added tc-export CC, bug #154328.
+ Removed old versions.
+
+ 26 Mar 2007; Alec Warner <antarus@gentoo.org> tk-8.4.9.ebuild,
+ tk-8.4.11-r1.ebuild, tk-8.4.12.ebuild, tk-8.4.13.ebuild, tk-8.4.14.ebuild:
+ Remove dependency on portage: ref bug 162516
+
+*tk-8.4.14 (06 Jan 2007)
+
+ 06 Jan 2007; MATSUU Takuto <matsuu@gentoo.org> -tk-8.3.4-r1.ebuild,
+ +tk-8.4.14.ebuild:
+ Version bumped.
+
+ 26 Dec 2006; Mike Frysinger <vapier@gentoo.org> tk-8.4.13.ebuild:
+ Clean up src_install() to use proper ebuild commands rather than running
+ `install` and use relative symlinks for libraries.
+
+*tk-8.4.13 (03 Jun 2006)
+
+ 03 Jun 2006; MATSUU Takuto <matsuu@gentoo.org>
+ +files/tk-8.3.5-tclm4-soname.patch, +tk-8.4.13.ebuild:
+ Version bumped, Bug 128681.
+ Added debug USE flag, Bug 123444.
+ Added soname patch, Bug 125971.
+
+ 30 May 2006; Diego Pettenò <flameeyes@gentoo.org> tk-8.4.12.ebuild:
+ Add ~x86-fbsd keyword.
+
+ 24 Mar 2006; Aron Griffis <agriffis@gentoo.org> tk-8.3.4-r1.ebuild,
+ tk-8.4.9.ebuild:
+ Copy bash-3 fix from tk-8.4.11-r1.ebuild to tk-8.4.9.ebuild #117982. Port
+ tk-8.3.4-r1 to modular X
+
+*tk-8.4.12 (03 Mar 2006)
+
+ 03 Mar 2006; MATSUU Takuto <matsuu@gentoo.org>
+ -files/remove-control-v-8.4.diff, -files/tk-wm-maxsize.patch,
+ -tk-8.4.6.ebuild, -tk-8.4.6-r1.ebuild, -tk-8.4.11.ebuild,
+ +tk-8.4.12.ebuild:
+ Version bumped, Bug 117122.
+ Removed old versions.
+
+ 26 Feb 2006; Joshua Kinard <kumba@gentoo.org> tk-8.4.9.ebuild:
+ Marked stable on mips.
+
+ 03 Feb 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/tk-configure-LANG.patch, tk-8.4.9.ebuild, tk-8.4.11.ebuild,
+ tk-8.4.11-r1.ebuild:
+ Fix nls breakage #120133 by J.
+
+ 30 Jan 2006; Michael Sterrett <mr_bones_@gentoo.org> tk-8.4.6.ebuild,
+ tk-8.4.6-r1.ebuild, tk-8.4.9.ebuild:
+ more modular X dependencies
+
+*tk-8.4.11-r1 (08 Jan 2006)
+
+ 08 Jan 2006; MATSUU Takuto <matsuu@gentoo.org> +tk-8.4.11-r1.ebuild:
+ Fixed fails with bash3.1, Bug 117982
+
+ 11 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>; tk-8.4.11.ebuild:
+ Fix them.
+
+ 11 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>; tk-8.4.11.ebuild:
+ Add modular X dependencies.
+
+ 03 Aug 2005; Bryan Østergaard <kloeri@gentoo.org> tk-8.4.9.ebuild:
+ Stable on alpha.
+
+*tk-8.4.11 (02 Jul 2005)
+
+ 02 Jul 2005; MATSUU Takuto <matsuu@gentoo.org>
+ +files/tk-8.4.11-multilib.patch, +tk-8.4.11.ebuild:
+ Version bumped.
+ Added multilib patch.
+
+ 06 Jun 2005; Markus Rothe <corsair@gentoo.org> tk-8.4.9.ebuild:
+ Stable on ppc64
+
+ 03 Jun 2005; Mike Frysinger <vapier@gentoo.org> tk-8.4.9.ebuild:
+ Touchup libdir usage to get rid of all the // gremlins.
+
+ 27 May 2005; Joseph Jezak <josejx@gentoo.org> tk-8.4.9.ebuild:
+ Marked ppc stable.
+
+ 09 May 2005; Gustavo Zacarias <gustavoz@gentoo.org> tk-8.4.9.ebuild:
+ Stable on sparc
+
+ 08 May 2005; Marcus D. Hanwell <cryos@gentoo.org> tk-8.4.9.ebuild:
+ Stable on amd64.
+
+ 07 May 2005; Aron Griffis <agriffis@gentoo.org> tk-8.4.9.ebuild:
+ stable on ia64
+
+ 07 May 2005; MATSUU Takuto <matsuu@gentoo.org> tk-8.4.9.ebuild:
+ Stable on x86.
+
+*tk-8.4.9 (19 Mar 2005)
+
+ 19 Mar 2005; MATSUU Takuto <matsuu@gentoo.org>
+ +files/remove-control-v-8.4.9.diff, +files/tk-8.4.9-man.patch,
+ +tk-8.4.9.ebuild:
+ Version bumped, #83816
+
+ 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+ 21 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org> tk-8.4.6-r1.ebuild:
+ Multilib fixes.
+
+ 10 Nov 2004; Joseph Jezak <josejx@gentoo.org> tk-8.4.6-r1.ebuild:
+ Marked ppc stable.
+
+ 06 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> tk-8.4.6-r1.ebuild:
+ Stable on alpha.
+
+ 21 Sep 2004; Danny van Dyk <kugelfang@gentoo.org> tk-8.4.6-r1.ebuild:
+ Marked stable on amd64.
+
+ 14 Sep 2004; Guy Martin <gmsoft@gentoo.org> tk-8.4.6-r1.ebuild:
+ Stable on hppa.
+
+ 09 Sep 2004; Gustavo Zacarias <gustavoz@gentoo.org> tk-8.4.6-r1.ebuild:
+ Keyworded sparc
+
+ 06 Sep 2004; Ciaran McCreesh <ciaranm@gentoo.org> tk-8.3.4-r1.ebuild,
+ tk-8.4.6-r1.ebuild, tk-8.4.6.ebuild:
+ Switch to use epause and ebeep, bug #62950
+
+ 30 Aug 2004; Tom Gall <tgall@gentoo.org> tk-8.4.6-r1.ebuild:
+ stable on ppc64, bug #61745
+
+ 25 Aug 2004; Doug Goldstein <cardoe@gentoo.org> tk-8.4.6-r1.ebuild:
+ Stable on x86
+
+ 18 Aug 2004; Aron Griffis <agriffis@gentoo.org> tk-8.4.6.ebuild:
+ stable on alpha and ia64
+
+*tk-8.4.6-r1 (07 Aug 2004)
+
+ 07 Aug 2004; Doug Goldstein <cardoe@gentoo.org> tk-8.4.6-r1.ebuild
+ +files/tk-wm-maxsize.patch, +tk-8.4.6-r1.ebuild:
+ Fixed bug #56229. KDE 3.2 missing maximize button with tk apps.
+ http://bugs.kde.org/show_bug.cgi?id=67577
+ http://sourceforge.net/tracker/index.php?func=detail&aid=915350&group_id=12997
+ &atid=112997
+
+ 15 Jun 2004; Ferris McCormick <fmccor@gentoo.org> tk-8.4.6.ebuild:
+ Marked stable for sparc.
+
+ 04 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> tk-8.4.6.ebuild:
+ ppc64 needs a stable virtual/x11 first. Removed keyword
+
+ 31 May 2004; Tom Gall <tgall@gentoo.org> tk-8.4.6.ebuild:
+ stable on ppc64
+
+ 02 May 2004; <tuxus@gentoo.org> tk-8.4.6.ebuild:
+ Stable on mips
+
+ 25 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> tk-8.3.4-r1.ebuild,
+ tk-8.4.6.ebuild:
+ don't depend on use echo
+
+ 24 Apr 2004; Ian Leitch <port001@gentoo.org> tk-8.3.4-r1.ebuild,
+ tk-8.4.6.ebuild:
+ Enable threads with local USE flag 'threads'. #2024
+
+ 20 Apr 2004; Ian Leitch <port001@gentoo.org> tk-8.4.6.ebuild:
+ Marked stable on amd64
+
+ 20 Apr 2004; Ian Leitch <port001@gentoo.org> -tk-8.3.3-r2.ebuild,
+ -tk-8.3.3-r3.ebuild, -tk-8.3.3.ebuild, -tk-8.3.4.ebuild, -tk-8.4.3.ebuild,
+ -tk-8.4.4.ebuild, -tk-8.4.5.ebuild:
+ Removed stale ebuilds
+
+ 31 Mar 2004; Tom Gall <tgall@gentoo.org> tk-8.4.5.ebuild, tk-8.4.6.ebuild:
+ remove ppc64 for now, we're not ready
+
+*tk-8.4.6 (04 Mar 2004)
+
+ 04 Mar 2004; Martin Holzer <mholzer@gentoo.org> tk-8.4.6.ebuild:
+ Verison bumped.
+
+ 04 Jan 2004; <tuxus@gentoo.org> tk-8.4.3.ebuild:
+ Added mips to KEYWORDS
+
+ 03 Jan 2004; Aron Griffis <agriffis@gentoo.org> tk-8.4.5.ebuild:
+ Add ~alpha
+
+ 03 Jan 2004; Brian Jackson <iggy@gentoo.org> tk-8.3.4-r1.ebuild:
+ repoman still complaining, 8.3.4 to ia64 to match tcl
+
+ 03 Jan 2004; Brian Jackson <iggy@gentoo.org> tk-8.3.3-r2.ebuild,
+ tk-8.3.3-r3.ebuild, tk-8.3.3.ebuild, tk-8.3.4-r1.ebuild, tk-8.3.4.ebuild,
+ tk-8.4.3.ebuild, tk-8.4.4.ebuild, tk-8.4.5.ebuild:
+ adding ~ia64 keywords, it's installed on the releng ia64 box, so I assume it's
+ safe, needed for bitkeeper
+
+ 19 Dec 2003; David Holm <dholm@gentoo.org> tk-8.4.5.ebuild:
+ Added to ~ppc.
+
+*tk-8.4.5 (07 Dec 2003)
+
+ 07 Dec 2003; Martin Holzer <mholzer@gentoo.org> tk-8.4.5.ebuild:
+ Version bumped.
+
+ 07 Dec 2003; Martin Holzer <mholzer@gentoo.org> tk-8.4.3.ebuild,
+ tk-8.4.4.ebuild:
+ changing to sf
+
+ 16 Nov 2003; Brad House <brad_mssw@gentoo.org> tk-8.4.4.ebuild:
+ mark stable on amd64
+
+*tk-8.4.4 (22 Oct 2003)
+
+ 22 Oct 2003; Martin Holzer <mholzer@gentoo.org> tk-8.4.4.ebuild:
+ Version bumped.
+
+*tk-8.4.3 (30 Jun 2003)
+
+ 30 Sep 2003; Joshua Kinard <kumba@gentoo.org> tk-8.4.3.ebuild:
+ Added ~sparc & ~mips to KEYWORDS
+
+ 30 Jun 2003; Daniel Ahlberg <aliz@gentoo.org> tk-8.4.3.ebuild :
+ Version bump.
+
+*tk-8.4.2-r1 (19 May 2003)
+
+ 19 May 2003; Stanislav Brabec <utx@gentoo.org> tk-8.4.2-r1.ebuild:
+ Fixed man-pages installation (worked around bug in mkLinks script - unset
+ variable S for installation).
+
+*tk-8.4.2 (17 Apr 2003)
+
+ 17 Apr 2003; Stanislav Brabec <utx@gentoo.org> tk-8.4.2.ebuild,
+ files/remove-control-v-8.4.diff:
+ Updated to version 8.4.2 (bug #18483) and updated Control-V remove patch.
+
+*tk-8.3.4-r1 (28 Mar 2003)
+
+ 28 Mar 2003; Seemant Kulleen <seemant@gentoo.org> tk-8.3.4-r1.ebuild:
+ fixed sed expression, hopefully closes bug #18300 by Marc 'huz' REYNES
+ <marc.reynes@tuxfamily.org>
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*tk-8.3.4 (18 Dec 2002)
+
+ 20 Mar 2003; Zach Welch <zwelch@gentoo.org> tk-8.3.4.ebuild:
+ add arm keyword
+
+ 08 Mar 2003; Guy Martin <gmsoft@gentoo.org> tk-8.3.4.ebuild :
+ Added hppa to keywords.
+
+ 18 Dec 2002; Stefan Jones <cretin@gentoo.org>
+ New revision.
+
+*tk-8.3.3-r3 (11 Nov 2002)
+
+ 20 Mar 2003; Zach Welch <zwelch@gentoo.org> tk-8.3.3-r3.ebuild:
+ add arm keyword
+
+ 11 Nov 2002; Karl Trygve Kalleberg <karltk@gentoo.org>
+ tk-8.3.3-r3.ebuild files/digest-tk-8.3.3-r3:
+ Some legacy code for default handling of the Control-V keypress is now
+ patched away. Fixes #10154.
+
+*tk-8.3.3-r2 (25 Sep 2002)
+
+ 25 Sep 2002; Karl Trygve Kalleberg <karltk@gentoo.org>
+ tk-8.3.3-r2.ebuild files/digest-tk-8.3.3-r2:
+ -r1 placed header files in the wrong place, applied patch from
+ Scott Lampert <scott@lampert.org> to fix it. Fixes #8054.
+
+ Removed tk-8.3.3-r1.ebuild files/digest-tk-8.3.3-r1
+
+*tk-8.3.3-r1 (13 Jul 2002)
+
+ 02 Aug 2002; mark Guertin <gerk@gentoo.org> tk-8.3.3-r1.ebuild :
+ Added ppc to keywords
+
+ 13 Jul 2002; Seemant Kulleen <seemant@gentoo.org> tk-8.3.3-r1.ebuild
+ files/digest-tk-8.3.3-r1 :
+
+ Symlink for the .so was not being created. Thanks to
+ j_r_fonseca@yahoo.co.uk (Jose' Fonseca) in bug #4946 for the catch and
+ fix.
+
+
+ 25 Apr 2002; Seemant Kulleen <seemant@gentoo.org> tk-8.3.3.ebuild :
+
+ Fixed bug #2112 from arndtc@theeggbeater.dyndns.org (Chris Arndt) to reflect
+ that the required tcl version may have a revision number on its ebuild
+
+*tk-8.3.3 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/dev-lang/tk/Manifest b/dev-lang/tk/Manifest
new file mode 100644
index 0000000..9d03142
--- /dev/null
+++ b/dev-lang/tk/Manifest
@@ -0,0 +1,17 @@
+AUX remove-control-v-8.4.9.diff 522 RMD160 393f14c68f75795bc10e94d00a2e4d470ab50e4d SHA1 e45327e49545a8ef6132bec7303ef0b19a06e794 SHA256 f82a147821e6eb4cda3674568450903de864c99d73cae6062b56c391e7290bba
+AUX tk-8.4-lastevent.patch 1095 RMD160 5e03fcb59320898429a3c1d438916eb0a65eeefc SHA1 433e2718f8eaa124ae87f53a276bb2208602fd6d SHA256 73bdd40b9e04ad705ac8956ea96967aaee5ac8ee9588a43e5c1bf30d50c0996d
+AUX tk-8.4.11-multilib.patch 896 RMD160 29152dde424c41555e132c1b279ccc7ab279e27f SHA1 7f6e6d808e2016b1283d45fa001482c7a76a66a7 SHA256 1f15653e3f68fdd6b32b985514d6b2bae7a3a6c717a326c85082394095376636
+AUX tk-8.4.15-tclm4-soname.patch 533 RMD160 78caf459d2d06e769e01de5009cb63d8e1c19a62 SHA1 4c4614dc2a7f99ccdf1c1b0cfccd15ec74269333 SHA256 7b885a3307007613e32d15bd2ec144590079e291c0ee5315ed3425f066e784cc
+AUX tk-8.4.9-man.patch 800 RMD160 8d06c54ab7ae0edf584248a8f6f14f46e08eec97 SHA1 32513bf413dcd8387594da50be97e353d36eab49 SHA256 5e356b8d34fc6687af03f1aa93e2a05619e0df0bbef65a8bc76e0a9a3da56dfa
+AUX tk-8.5_alpha6-tclm4-soname.patch 540 RMD160 7ed0721d8ee1fda0b1109c753f2fa6602224706f SHA1 c83f403291bb0312f7ffe16669898bb494b48fe7 SHA256 6e6a6d9ae62040cc2f386c92854cb59e34f0824abeabdcb5a86d07f3f7eb6a4d
+AUX tk-CVE-2007-4851.patch 405 RMD160 bfc884fbe1f0f2facb892ff0100f59dae0fe5256 SHA1 31c34d01cc5372395d37d2e878a61a059933e5b8 SHA256 e57158583d127b3d9751becb03ee6e11c0fc602150396ce902d1fdee73cb4a32
+AUX tk-configure-LANG.patch 1686 RMD160 4ff8355af81705058fd411910dfae94887bcd884 SHA1 67ae0deff73689cb39cd6e7451262bdda9c25a39 SHA256 dc9386b88eac48c282d63d0be7e7be81d4a0a08035a8b97138a61133e057bcea
+DIST tk8.4.15-src.tar.gz 3340313 RMD160 8facb8033ce811097a3568373581687a749dda2d SHA1 832b39fc3e64dcbbfff4fc192e33d3fc8ef76c43 SHA256 2205bb0b0172f5553565f9f323ccf4bc122875084abc21a46f86ac560b9cd935
+DIST tk8.4.18-src.tar.gz 3363853 RMD160 9c01ba85575a230231793a9885457c98046e41bb SHA1 c1032f3cacd40406065fc1f46ecd217f50329273 SHA256 1757b0daff8a8bb962e612691236ae838e353521e7184464a5d32225905eac18
+DIST tk8.4.19-src.tar.gz 3362694 RMD160 c963297655740ad4b29a99c489c35a64e5e817ce SHA1 56d09be8a7670b2686d76b7526ff24b0240ca120 SHA256 d056fe6c204ac31539616e1069522dd5864a580b64e521fe1a49bc895ca8699f
+EBUILD tk-8.4.15-r1.ebuild 3282 RMD160 046af5794309296edb2e132e8fe58a27bd4ceb31 SHA1 c5967f59102ecfec481e3073ae8ba2202e9f8a8a SHA256 0dd4adff78b47783129e1d57973eaf371f0cf8cc61b1ae737176b149e6ddab7e
+EBUILD tk-8.4.18-r1.ebuild 3303 RMD160 f5007b262e910b40cd343242d4f33235b060fc37 SHA1 06994fb5eb3ae61bdf8725bd99c06f9a90408b35 SHA256 6f62f9b0a86d1ae111ad1a5821ab868a46f5e22370af9bfdf6b714f473cc5ae9
+EBUILD tk-8.4.18.ebuild 3223 RMD160 5b179591c7482cad7243d1e863d907fd96b6ceaa SHA1 2c4fef5d462d49f320cf7c24289d84b8813fd43e SHA256 4ae7b03503f7779b8dfd409f4035b61e4ee4df855d8f5b782d5024a3fc61edf6
+EBUILD tk-8.4.19-r1.ebuild 3315 RMD160 79e424465e160e1f1f50de167eeaeb0ee19c9ac9 SHA1 b07cafffe28ecb282f168c3db8652476b7026825 SHA256 74b253737807a407637ea33413844aef9dd08d6771fd6d01d65c6b60cfa88d78
+MISC ChangeLog 16803 RMD160 8734d678b25764580ca901ef16353bc6ed63c97f SHA1 48e83cc18ddb87d149b74a219fd6f013d66bd507 SHA256 92edfaaf94799fb8f6b9e03184552948cf45f6d6b3b5cab51bcd32e783a95063
+MISC metadata.xml 159 RMD160 117cc289391c0477579de68e7347628756673eac SHA1 37f242cbf27c6e859fc63487487fdcae09d6931f SHA256 2cf13398186ae4abcd9f41c51ffb3bcdcc7da32df2c2af5c2de2e2cc8ad194ce
diff --git a/dev-lang/tk/files/remove-control-v-8.4.9.diff b/dev-lang/tk/files/remove-control-v-8.4.9.diff
new file mode 100644
index 0000000..0196599
--- /dev/null
+++ b/dev-lang/tk/files/remove-control-v-8.4.9.diff
@@ -0,0 +1,18 @@
+diff -Naur tk8.4.9.orig/library/text.tcl tk8.4.9/library/text.tcl
+--- tk8.4.9.orig/library/text.tcl 2004-12-07 04:42:11.000000000 +0900
++++ tk8.4.9/library/text.tcl 2005-03-02 23:04:01.729780958 +0900
+@@ -347,14 +347,6 @@
+ catch { %W edit redo }
+ }
+
+-if {$tcl_platform(platform) ne "windows"} {
+-bind Text <Control-v> {
+- if {!$tk_strictMotif} {
+- tk::TextScrollPages %W 1
+- }
+-}
+-}
+-
+ bind Text <Meta-b> {
+ if {!$tk_strictMotif} {
+ tk::TextSetCursor %W [tk::TextPrevPos %W insert tcl_startOfPreviousWord]
diff --git a/dev-lang/tk/files/tk-8.4-lastevent.patch b/dev-lang/tk/files/tk-8.4-lastevent.patch
new file mode 100644
index 0000000..f93d335
--- /dev/null
+++ b/dev-lang/tk/files/tk-8.4-lastevent.patch
@@ -0,0 +1,28 @@
+Source: Jeffrey Gardner (je_fro) <jeffrey.e.gardner@comcast.net> - http://overlays.gentoo.org/dev/je_fro/browser/dev-lang/tk/files/tk-8.4-lastevent.patch
+Upstream: N/A
+Reason: Fix ABI incompatibility introduced by x11-proto/xproto-7.0.13 (bug #225999)
+--- generic/tk.h.orig 2008-02-06 16:31:40.000000000 +0100
++++ generic/tk.h 2008-07-24 08:21:46.000000000 +0200
+@@ -635,17 +635,15 @@
+ *
+ *---------------------------------------------------------------------------
+ */
+-#define VirtualEvent (LASTEvent)
+-#define ActivateNotify (LASTEvent + 1)
+-#define DeactivateNotify (LASTEvent + 2)
+-#define MouseWheelEvent (LASTEvent + 3)
+-#define TK_LASTEVENT (LASTEvent + 4)
++#define VirtualEvent (MappingNotify + 1)
++#define ActivateNotify (MappingNotify + 2)
++#define DeactivateNotify (MappingNotify + 3)
++#define MouseWheelEvent (MappingNotify + 4)
++#define TK_LASTEVENT (MappingNotify + 5)
+
+ #define MouseWheelMask (1L << 28)
+-
+ #define ActivateMask (1L << 29)
+ #define VirtualEventMask (1L << 30)
+-#define TK_LASTEVENT (LASTEvent + 4)
+
+
+ /*
diff --git a/dev-lang/tk/files/tk-8.4.11-multilib.patch b/dev-lang/tk/files/tk-8.4.11-multilib.patch
new file mode 100644
index 0000000..092b806
--- /dev/null
+++ b/dev-lang/tk/files/tk-8.4.11-multilib.patch
@@ -0,0 +1,24 @@
+diff -Naur tk8.4.11.orig/unix/configure tk8.4.11/unix/configure
+--- tk8.4.11.orig/unix/configure 2005-06-30 01:43:10.000000000 +0900
++++ tk8.4.11/unix/configure 2005-07-02 23:22:35.000000000 +0900
+@@ -5721,7 +5721,7 @@
+ TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
+ fi
+
+-TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
++TK_LIBRARY='$(libdir)/tk$(VERSION)'
+ PRIVATE_INCLUDE_DIR='$(includedir)'
+ HTML_DIR='$(DISTDIR)/html'
+ TK_PKG_DIR='tk$(VERSION)$(TK_DBGX)'
+diff -Naur tk8.4.11.orig/unix/configure.in tk8.4.11/unix/configure.in
+--- tk8.4.11.orig/unix/configure.in 2005-06-30 01:43:10.000000000 +0900
++++ tk8.4.11/unix/configure.in 2005-07-02 23:22:16.000000000 +0900
+@@ -393,7 +393,7 @@
+ TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
+ fi
+
+-TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
++TK_LIBRARY='$(libdir)/tk$(VERSION)'
+ PRIVATE_INCLUDE_DIR='$(includedir)'
+ HTML_DIR='$(DISTDIR)/html'
+ TK_PKG_DIR='tk$(VERSION)$(TK_DBGX)'
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
new file mode 100644
index 0000000..b427d27
--- /dev/null
+++ b/dev-lang/tk/files/tk-8.4.15-tclm4-soname.patch
@@ -0,0 +1,12 @@
+diff -Naur tk8.4.15.orig/unix/tcl.m4 tk8.4.15/unix/tcl.m4
+--- tk8.4.15.orig/unix/tcl.m4 2007-05-26 01:09:54.000000000 +0900
++++ tk8.4.15/unix/tcl.m4 2007-07-21 02:16:13.000000000 +0900
+@@ -1345,7 +1345,7 @@
+ #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
+
+ if test "$have_dl" = yes; then
+- SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
++ SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -Wl,-soname,${@}'
+ DL_OBJS="tclLoadDl.o"
+ DL_LIBS="-ldl"
+ LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
diff --git a/dev-lang/tk/files/tk-8.4.9-man.patch b/dev-lang/tk/files/tk-8.4.9-man.patch
new file mode 100644
index 0000000..bb816f8
--- /dev/null
+++ b/dev-lang/tk/files/tk-8.4.9-man.patch
@@ -0,0 +1,29 @@
+diff -Naur tk8.4.9.orig/unix/installManPage tk8.4.9/unix/installManPage
+--- tk8.4.9.orig/unix/installManPage 2004-12-07 04:46:29.000000000 +0900
++++ tk8.4.9/unix/installManPage 2005-03-02 23:36:23.252797867 +0900
+@@ -3,7 +3,7 @@
+ ZIP=:
+ while true; do
+ case $1 in
+- -s | --symlinks ) S="-s ";;
++ -s | --symlinks ) TK_S="-s ";;
+ -z | --compress ) ZIP=$2; shift ;;
+ -e | --extension ) Z=$2; shift ;;
+ -s | --suffix ) SUFFIX=$2; shift ;;
+@@ -18,7 +18,7 @@
+
+ MANPAGE=$1
+ DIR=$2
+-test -z "$S" && S="$DIR/"
++test -z "$TK_S" && TK_S="$DIR/"
+
+ # A sed script to parse the alternative names out of a man page.
+ #
+@@ -62,6 +62,6 @@
+ $ZIP $DIR/$FIRST
+ else
+ rm -f $DIR/$f $DIR/$f.*
+- ln $S$FIRST$Z $DIR/$f$Z
++ ln $TK_S$FIRST$Z $DIR/$f$Z
+ fi
+ done
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
new file mode 100644
index 0000000..3fdd484
--- /dev/null
+++ b/dev-lang/tk/files/tk-8.5_alpha6-tclm4-soname.patch
@@ -0,0 +1,12 @@
+diff -Naur tk8.5a6.orig/unix/tcl.m4 tk8.5a6/unix/tcl.m4
+--- tk8.5a6.orig/unix/tcl.m4 2007-04-27 06:02:27.000000000 +0900
++++ tk8.5a6/unix/tcl.m4 2007-07-21 02:47:58.000000000 +0900
+@@ -1425,7 +1425,7 @@
+ # get rid of the warnings.
+ #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
+
+- SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
++ SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS} -Wl,-soname,${@}'
+ DL_OBJS="tclLoadDl.o"
+ DL_LIBS="-ldl"
+ LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
diff --git a/dev-lang/tk/files/tk-CVE-2007-4851.patch b/dev-lang/tk/files/tk-CVE-2007-4851.patch
new file mode 100644
index 0000000..f461031
--- /dev/null
+++ b/dev-lang/tk/files/tk-CVE-2007-4851.patch
@@ -0,0 +1,12 @@
+diff -Naur tk8.4.15.orig/generic/tkImgGIF.c tk8.4.15/generic/tkImgGIF.c
+--- tk8.4.15.orig/generic/tkImgGIF.c 2006-03-27 21:13:56.000000000 +0900
++++ tk8.4.15/generic/tkImgGIF.c 2007-09-16 09:56:25.000000000 +0900
+@@ -995,7 +995,7 @@
+ */
+ if (interlace) {
+ ypos += interlaceStep[pass];
+- while (ypos >= height) {
++ while (ypos >= rows) {
+ pass++;
+ if (pass > 3) {
+ return TCL_OK;
diff --git a/dev-lang/tk/files/tk-configure-LANG.patch b/dev-lang/tk/files/tk-configure-LANG.patch
new file mode 100644
index 0000000..3ef76ef
--- /dev/null
+++ b/dev-lang/tk/files/tk-configure-LANG.patch
@@ -0,0 +1,41 @@
+The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in
+option parsing, it may break.
+
+http://bugs.gentoo.org/103483
+
+--- configure
++++ configure
+@@ -54,6 +54,16 @@
+ infodir='${prefix}/info'
+ mandir='${prefix}/man'
+
++# NLS nuisances.
++# Only set these to C if already set. These must not be set unconditionally
++# because not all systems understand e.g. LANG=C (notably SCO).
++# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
++# Non-C LC_CTYPE values break the ctype check.
++if test "${LANG+set}" = set; then LANG=C; export LANG; fi
++if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
++if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
++if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
++
+ # Initialize some other variables.
+ subdirs=
+ MFLAGS= MAKEFLAGS=
+@@ -452,16 +463,6 @@
+ esac
+ done
+
+-# NLS nuisances.
+-# Only set these to C if already set. These must not be set unconditionally
+-# because not all systems understand e.g. LANG=C (notably SCO).
+-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
+-# Non-C LC_CTYPE values break the ctype check.
+-if test "${LANG+set}" = set; then LANG=C; export LANG; fi
+-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
+-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
+-if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
+-
+ # confdefs.h avoids OS command line length limits that DEFS can exceed.
+ rm -rf conftest* confdefs.h
+ # AIX cpp loses on an empty file, so make sure it contains at least a newline.
diff --git a/dev-lang/tk/metadata.xml b/dev-lang/tk/metadata.xml
new file mode 100644
index 0000000..173251e
--- /dev/null
+++ b/dev-lang/tk/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>tcltk</herd>
+</pkgmetadata>
+
diff --git a/dev-lang/tk/tk-8.4.15-r1.ebuild b/dev-lang/tk/tk-8.4.15-r1.ebuild
new file mode 100644
index 0000000..3c77cbe
--- /dev/null
+++ b/dev-lang/tk/tk-8.4.15-r1.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.4.15-r1.ebuild,v 1.10 2008/01/10 08:43:10 vapier Exp $
+
+WANT_AUTOCONF=latest
+WANT_AUTOMAKE=latest
+
+inherit autotools eutils multilib toolchain-funcs
+
+DESCRIPTION="Tk Widget Set"
+HOMEPAGE="http://dev.scriptics.com/software/tcltk/"
+SRC_URI="mirror://sourceforge/tcl/${PN}${PV}-src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
+IUSE="debug threads"
+
+RDEPEND="x11-libs/libX11
+ ~dev-lang/tcl-${PV}"
+DEPEND="${RDEPEND}
+ x11-libs/libXt
+ x11-proto/xproto"
+
+S=${WORKDIR}/${PN}${PV}
+
+pkg_setup() {
+ if use threads ; then
+ ewarn ""
+ ewarn "PLEASE NOTE: You are compiling ${P} with"
+ ewarn "threading enabled."
+ ewarn "Threading is not supported by all applications"
+ ewarn "that compile against tcl. You use threading at"
+ ewarn "your own discretion."
+ ewarn ""
+ epause 5
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/remove-control-v-8.4.9.diff
+ epatch "${FILESDIR}"/${PN}-8.4.9-man.patch
+ epatch "${FILESDIR}"/${PN}-8.4.11-multilib.patch
+
+ # Bug 125971
+ epatch "${FILESDIR}"/${P}-tclm4-soname.patch
+
+ # Bug 192539
+ epatch "${FILESDIR}"/${PN}-CVE-2007-4851.patch
+
+ local d
+ for d in */configure ; do
+ cd "${S}"/${d%%/*}
+ EPATCH_SINGLE_MSG="Patching nls cruft in ${d}" \
+ epatch "${FILESDIR}"/tk-configure-LANG.patch
+ done
+
+ cd "${S}"/unix
+ eautoreconf
+}
+
+src_compile() {
+ tc-export CC
+ cd "${S}"/unix
+
+ local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/}
+
+ econf \
+ --with-tcl=/usr/${mylibdir} \
+ $(use_enable threads) \
+ $(use_enable debug symbols) || die
+
+ emake || die
+}
+
+src_install() {
+ #short version number
+ local v1
+ v1=${PV%.*}
+
+ cd "${S}"/unix
+ make DESTDIR="${D}" install || die
+
+ # fix the tkConfig.sh to eliminate refs to the build directory
+ local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/}
+ sed -i \
+ -e "s,^\(TK_BUILD_LIB_SPEC='-L\)${S}/unix,\1/usr/${mylibdir}," \
+ -e "s,^\(TK_SRC_DIR='\)${S}',\1/usr/${mylibdir}/tk${v1}/include'," \
+ -e "s,^\(TK_BUILD_STUB_LIB_SPEC='-L\)${S}/unix,\1/usr/${mylibdir}," \
+ -e "s,^\(TK_BUILD_STUB_LIB_PATH='\)${S}/unix,\1/usr/${mylibdir}," \
+ -e "s,^\(TK_CC_SEARCH_FLAGS='.*\)',\1:/usr/${mylibdir}'," \
+ -e "s,^\(TK_LD_SEARCH_FLAGS='.*\)',\1:/usr/${mylibdir}'," \
+ "${D}"/usr/${mylibdir}/tkConfig.sh || die
+
+ # install private headers
+ insinto /usr/${mylibdir}/tk${v1}/include/unix
+ doins "${S}"/unix/*.h || die
+ insinto /usr/${mylibdir}/tk${v1}/include/generic
+ doins "${S}"/generic/*.h || die
+ rm -f "${D}"/usr/${mylibdir}/tk${v1}/include/generic/tk.h
+ rm -f "${D}"/usr/${mylibdir}/tk${v1}/include/generic/tkDecls.h
+ rm -f "${D}"/usr/${mylibdir}/tk${v1}/include/generic/tkPlatDecls.h
+
+ # install symlink for libraries
+ #dosym libtk${v1}.a /usr/${mylibdir}/libtk.a
+ if use debug ; then
+ dosym libtk${v1}g.so /usr/${mylibdir}/libtk${v1}.so
+ dosym libtkstub${v1}g.a /usr/${mylibdir}/libtkstub${v1}.a
+ dosym ../tk${v1}g/pkgIndex.tcl /usr/${mylibdir}/tk${v1}/pkgIndex.tcl
+ fi
+ dosym libtk${v1}.so /usr/${mylibdir}/libtk.so
+ dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a
+
+ dosym wish${v1} /usr/bin/wish
+
+ cd "${S}"
+ dodoc ChangeLog README changes license.terms
+}
diff --git a/dev-lang/tk/tk-8.4.18-r1.ebuild b/dev-lang/tk/tk-8.4.18-r1.ebuild
new file mode 100644
index 0000000..8e349c3
--- /dev/null
+++ b/dev-lang/tk/tk-8.4.18-r1.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.4.18-r1.ebuild,v 1.7 2009/05/07 19:08:18 klausman Exp $
+
+WANT_AUTOCONF=latest
+WANT_AUTOMAKE=latest
+
+inherit autotools eutils multilib toolchain-funcs
+
+DESCRIPTION="Tk Widget Set"
+HOMEPAGE="http://dev.scriptics.com/software/tcltk/"
+SRC_URI="mirror://sourceforge/tcl/${PN}${PV}-src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~sh sparc x86 ~x86-fbsd"
+IUSE="debug threads"
+
+RDEPEND="x11-libs/libX11
+ ~dev-lang/tcl-${PV}"
+DEPEND="${RDEPEND}
+ x11-libs/libXt
+ >=x11-proto/xproto-7.0.13"
+
+S=${WORKDIR}/${PN}${PV}
+
+pkg_setup() {
+ if use threads ; then
+ ewarn ""
+ ewarn "PLEASE NOTE: You are compiling ${P} with"
+ ewarn "threading enabled."
+ ewarn "Threading is not supported by all applications"
+ ewarn "that compile against tcl. You use threading at"
+ ewarn "your own discretion."
+ ewarn ""
+ epause 5
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/remove-control-v-8.4.9.diff
+ epatch "${FILESDIR}"/${PN}-8.4.9-man.patch
+ epatch "${FILESDIR}"/${PN}-8.4.11-multilib.patch
+
+ # Bug 125971
+ epatch "${FILESDIR}"/${PN}-8.4.15-tclm4-soname.patch
+
+ # Bug 225999
+ epatch "${FILESDIR}"/${PN}-8.4-lastevent.patch
+
+ local d
+ for d in */configure ; do
+ cd "${S}"/${d%%/*}
+ EPATCH_SINGLE_MSG="Patching nls cruft in ${d}" \
+ epatch "${FILESDIR}"/tk-configure-LANG.patch
+ done
+
+ cd "${S}"/unix
+ eautoreconf
+}
+
+src_compile() {
+ tc-export CC
+ cd "${S}"/unix
+
+ local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/}
+
+ econf \
+ --with-tcl=/usr/${mylibdir} \
+ $(use_enable threads) \
+ $(use_enable debug symbols) || die
+
+ emake || die
+}
+
+src_install() {
+ #short version number
+ local v1
+ v1=${PV%.*}
+
+ cd "${S}"/unix
+ make DESTDIR="${D}" install || die
+
+ # fix the tkConfig.sh to eliminate refs to the build directory
+ local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/}
+ sed -i \
+ -e "s,^\(TK_BUILD_LIB_SPEC='-L\)${S}/unix,\1/usr/${mylibdir}," \
+ -e "s,^\(TK_SRC_DIR='\)${S}',\1/usr/${mylibdir}/tk${v1}/include'," \
+ -e "s,^\(TK_BUILD_STUB_LIB_SPEC='-L\)${S}/unix,\1/usr/${mylibdir}," \
+ -e "s,^\(TK_BUILD_STUB_LIB_PATH='\)${S}/unix,\1/usr/${mylibdir}," \
+ -e "s,^\(TK_CC_SEARCH_FLAGS='.*\)',\1:/usr/${mylibdir}'," \
+ -e "s,^\(TK_LD_SEARCH_FLAGS='.*\)',\1:/usr/${mylibdir}'," \
+ "${D}"/usr/${mylibdir}/tkConfig.sh || die
+
+ # install private headers
+ insinto /usr/${mylibdir}/tk${v1}/include/unix
+ doins "${S}"/unix/*.h || die
+ insinto /usr/${mylibdir}/tk${v1}/include/generic
+ doins "${S}"/generic/*.h || die
+ rm -f "${D}"/usr/${mylibdir}/tk${v1}/include/generic/tk.h
+ rm -f "${D}"/usr/${mylibdir}/tk${v1}/include/generic/tkDecls.h
+ rm -f "${D}"/usr/${mylibdir}/tk${v1}/include/generic/tkPlatDecls.h
+
+ # install symlink for libraries
+ #dosym libtk${v1}.a /usr/${mylibdir}/libtk.a
+ if use debug ; then
+ dosym libtk${v1}g.so /usr/${mylibdir}/libtk${v1}.so
+ dosym libtkstub${v1}g.a /usr/${mylibdir}/libtkstub${v1}.a
+ dosym ../tk${v1}g/pkgIndex.tcl /usr/${mylibdir}/tk${v1}/pkgIndex.tcl
+ fi
+ dosym libtk${v1}.so /usr/${mylibdir}/libtk.so
+ dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a
+
+ dosym wish${v1} /usr/bin/wish
+
+ cd "${S}"
+ dodoc ChangeLog README changes license.terms
+}
diff --git a/dev-lang/tk/tk-8.4.18.ebuild b/dev-lang/tk/tk-8.4.18.ebuild
new file mode 100644
index 0000000..3021b1c
--- /dev/null
+++ b/dev-lang/tk/tk-8.4.18.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.4.18.ebuild,v 1.8 2008/11/04 03:29:40 vapier Exp $
+
+WANT_AUTOCONF=latest
+WANT_AUTOMAKE=latest
+
+inherit autotools eutils multilib toolchain-funcs
+
+DESCRIPTION="Tk Widget Set"
+HOMEPAGE="http://dev.scriptics.com/software/tcltk/"
+SRC_URI="mirror://sourceforge/tcl/${PN}${PV}-src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
+IUSE="debug threads"
+
+RDEPEND="x11-libs/libX11
+ ~dev-lang/tcl-${PV}"
+DEPEND="${RDEPEND}
+ x11-libs/libXt
+ x11-proto/xproto"
+
+S=${WORKDIR}/${PN}${PV}
+
+pkg_setup() {
+ if use threads ; then
+ ewarn ""
+ ewarn "PLEASE NOTE: You are compiling ${P} with"
+ ewarn "threading enabled."
+ ewarn "Threading is not supported by all applications"
+ ewarn "that compile against tcl. You use threading at"
+ ewarn "your own discretion."
+ ewarn ""
+ epause 5
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/remove-control-v-8.4.9.diff
+ epatch "${FILESDIR}"/${PN}-8.4.9-man.patch
+ epatch "${FILESDIR}"/${PN}-8.4.11-multilib.patch
+
+ # Bug 125971
+ epatch "${FILESDIR}"/${PN}-8.4.15-tclm4-soname.patch
+
+ local d
+ for d in */configure ; do
+ cd "${S}"/${d%%/*}
+ EPATCH_SINGLE_MSG="Patching nls cruft in ${d}" \
+ epatch "${FILESDIR}"/tk-configure-LANG.patch
+ done
+
+ cd "${S}"/unix
+ eautoreconf
+}
+
+src_compile() {
+ tc-export CC
+ cd "${S}"/unix
+
+ local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/}
+
+ econf \
+ --with-tcl=/usr/${mylibdir} \
+ $(use_enable threads) \
+ $(use_enable debug symbols) || die
+
+ emake || die
+}
+
+src_install() {
+ #short version number
+ local v1
+ v1=${PV%.*}
+
+ cd "${S}"/unix
+ make DESTDIR="${D}" install || die
+
+ # fix the tkConfig.sh to eliminate refs to the build directory
+ local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/}
+ sed -i \
+ -e "s,^\(TK_BUILD_LIB_SPEC='-L\)${S}/unix,\1/usr/${mylibdir}," \
+ -e "s,^\(TK_SRC_DIR='\)${S}',\1/usr/${mylibdir}/tk${v1}/include'," \
+ -e "s,^\(TK_BUILD_STUB_LIB_SPEC='-L\)${S}/unix,\1/usr/${mylibdir}," \
+ -e "s,^\(TK_BUILD_STUB_LIB_PATH='\)${S}/unix,\1/usr/${mylibdir}," \
+ -e "s,^\(TK_CC_SEARCH_FLAGS='.*\)',\1:/usr/${mylibdir}'," \
+ -e "s,^\(TK_LD_SEARCH_FLAGS='.*\)',\1:/usr/${mylibdir}'," \
+ "${D}"/usr/${mylibdir}/tkConfig.sh || die
+
+ # install private headers
+ insinto /usr/${mylibdir}/tk${v1}/include/unix
+ doins "${S}"/unix/*.h || die
+ insinto /usr/${mylibdir}/tk${v1}/include/generic
+ doins "${S}"/generic/*.h || die
+ rm -f "${D}"/usr/${mylibdir}/tk${v1}/include/generic/tk.h
+ rm -f "${D}"/usr/${mylibdir}/tk${v1}/include/generic/tkDecls.h
+ rm -f "${D}"/usr/${mylibdir}/tk${v1}/include/generic/tkPlatDecls.h
+
+ # install symlink for libraries
+ #dosym libtk${v1}.a /usr/${mylibdir}/libtk.a
+ if use debug ; then
+ dosym libtk${v1}g.so /usr/${mylibdir}/libtk${v1}.so
+ dosym libtkstub${v1}g.a /usr/${mylibdir}/libtkstub${v1}.a
+ dosym ../tk${v1}g/pkgIndex.tcl /usr/${mylibdir}/tk${v1}/pkgIndex.tcl
+ fi
+ dosym libtk${v1}.so /usr/${mylibdir}/libtk.so
+ dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a
+
+ dosym wish${v1} /usr/bin/wish
+
+ cd "${S}"
+ dodoc ChangeLog README changes license.terms
+}
diff --git a/dev-lang/tk/tk-8.4.19-r1.ebuild b/dev-lang/tk/tk-8.4.19-r1.ebuild
new file mode 100644
index 0000000..3459698
--- /dev/null
+++ b/dev-lang/tk/tk-8.4.19-r1.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.4.19-r1.ebuild,v 1.2 2009/02/25 15:17:11 armin76 Exp $
+
+WANT_AUTOCONF=latest
+WANT_AUTOMAKE=latest
+
+inherit autotools eutils multilib toolchain-funcs
+
+DESCRIPTION="Tk Widget Set"
+HOMEPAGE="http://dev.scriptics.com/software/tcltk/"
+SRC_URI="mirror://sourceforge/tcl/${PN}${PV}-src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="debug threads"
+
+RDEPEND="x11-libs/libX11
+ ~dev-lang/tcl-${PV}"
+DEPEND="${RDEPEND}
+ x11-libs/libXt
+ >=x11-proto/xproto-7.0.13"
+
+S=${WORKDIR}/${PN}${PV}
+
+pkg_setup() {
+ if use threads ; then
+ ewarn ""
+ ewarn "PLEASE NOTE: You are compiling ${P} with"
+ ewarn "threading enabled."
+ ewarn "Threading is not supported by all applications"
+ ewarn "that compile against tcl. You use threading at"
+ ewarn "your own discretion."
+ ewarn ""
+ epause 5
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/remove-control-v-8.4.9.diff
+ epatch "${FILESDIR}"/${PN}-8.4.9-man.patch
+ epatch "${FILESDIR}"/${PN}-8.4.11-multilib.patch
+
+ # Bug 125971
+ epatch "${FILESDIR}"/${PN}-8.4.15-tclm4-soname.patch
+
+ # Bug 225999
+ epatch "${FILESDIR}"/${PN}-8.4-lastevent.patch
+
+ local d
+ for d in */configure ; do
+ cd "${S}"/${d%%/*}
+ EPATCH_SINGLE_MSG="Patching nls cruft in ${d}" \
+ epatch "${FILESDIR}"/tk-configure-LANG.patch
+ done
+
+ cd "${S}"/unix
+ eautoreconf
+}
+
+src_compile() {
+ tc-export CC
+ cd "${S}"/unix
+
+ local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/}
+
+ econf \
+ --with-tcl=/usr/${mylibdir} \
+ $(use_enable threads) \
+ $(use_enable debug symbols) || die
+
+ emake || die
+}
+
+src_install() {
+ #short version number
+ local v1
+ v1=${PV%.*}
+
+ cd "${S}"/unix
+ make DESTDIR="${D}" install || die
+
+ # fix the tkConfig.sh to eliminate refs to the build directory
+ local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/}
+ sed -i \
+ -e "s,^\(TK_BUILD_LIB_SPEC='-L\)${S}/unix,\1/usr/${mylibdir}," \
+ -e "s,^\(TK_SRC_DIR='\)${S}',\1/usr/${mylibdir}/tk${v1}/include'," \
+ -e "s,^\(TK_BUILD_STUB_LIB_SPEC='-L\)${S}/unix,\1/usr/${mylibdir}," \
+ -e "s,^\(TK_BUILD_STUB_LIB_PATH='\)${S}/unix,\1/usr/${mylibdir}," \
+ -e "s,^\(TK_CC_SEARCH_FLAGS='.*\)',\1:/usr/${mylibdir}'," \
+ -e "s,^\(TK_LD_SEARCH_FLAGS='.*\)',\1:/usr/${mylibdir}'," \
+ "${D}"/usr/${mylibdir}/tkConfig.sh || die
+
+ # install private headers
+ insinto /usr/${mylibdir}/tk${v1}/include/unix
+ doins "${S}"/unix/*.h || die
+ insinto /usr/${mylibdir}/tk${v1}/include/generic
+ doins "${S}"/generic/*.h || die
+ rm -f "${D}"/usr/${mylibdir}/tk${v1}/include/generic/tk.h
+ rm -f "${D}"/usr/${mylibdir}/tk${v1}/include/generic/tkDecls.h
+ rm -f "${D}"/usr/${mylibdir}/tk${v1}/include/generic/tkPlatDecls.h
+
+ # install symlink for libraries
+ #dosym libtk${v1}.a /usr/${mylibdir}/libtk.a
+ if use debug ; then
+ dosym libtk${v1}g.so /usr/${mylibdir}/libtk${v1}.so
+ dosym libtkstub${v1}g.a /usr/${mylibdir}/libtkstub${v1}.a
+ dosym ../tk${v1}g/pkgIndex.tcl /usr/${mylibdir}/tk${v1}/pkgIndex.tcl
+ fi
+ dosym libtk${v1}.so /usr/${mylibdir}/libtk.so
+ dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a
+
+ dosym wish${v1} /usr/bin/wish
+
+ cd "${S}"
+ dodoc ChangeLog README changes license.terms
+}