diff options
Diffstat (limited to 'dev-lang/tcl')
-rw-r--r-- | dev-lang/tcl/ChangeLog | 429 | ||||
-rw-r--r-- | dev-lang/tcl/Manifest | 15 | ||||
-rw-r--r-- | dev-lang/tcl/files/tcl-8.4.11-multilib.patch | 42 | ||||
-rw-r--r-- | dev-lang/tcl/files/tcl-8.4.15-tclm4-soname.patch | 11 | ||||
-rw-r--r-- | dev-lang/tcl/files/tcl-8.4.16-multilib.patch | 21 | ||||
-rw-r--r-- | dev-lang/tcl/files/tcl-8.4.9-strtod.patch | 11 | ||||
-rw-r--r-- | dev-lang/tcl/files/tcl-8.5_alpha6-multilib.patch | 24 | ||||
-rw-r--r-- | dev-lang/tcl/files/tcl-8.5_alpha6-tclm4-soname.patch | 11 | ||||
-rw-r--r-- | dev-lang/tcl/files/tcl-configure-LANG.patch | 41 | ||||
-rw-r--r-- | dev-lang/tcl/metadata.xml | 9 | ||||
-rw-r--r-- | dev-lang/tcl/tcl-8.4.15.ebuild | 122 | ||||
-rw-r--r-- | dev-lang/tcl/tcl-8.4.18.ebuild | 124 | ||||
-rw-r--r-- | dev-lang/tcl/tcl-8.4.19.ebuild | 124 |
13 files changed, 984 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 +} |