From 2073a60badf8e5e5f5979d5487630a6ce68065c9 Mon Sep 17 00:00:00 2001 From: Federico Ferri Date: Tue, 26 May 2009 12:51:12 +0000 Subject: add ns, nam, otcl, and tclcl svn path=/abandonware/; revision=4 --- dev-lang/tcl/ChangeLog | 429 +++++++++++++++++ dev-lang/tcl/Manifest | 15 + dev-lang/tcl/files/tcl-8.4.11-multilib.patch | 42 ++ dev-lang/tcl/files/tcl-8.4.15-tclm4-soname.patch | 11 + dev-lang/tcl/files/tcl-8.4.16-multilib.patch | 21 + dev-lang/tcl/files/tcl-8.4.9-strtod.patch | 11 + dev-lang/tcl/files/tcl-8.5_alpha6-multilib.patch | 24 + .../tcl/files/tcl-8.5_alpha6-tclm4-soname.patch | 11 + dev-lang/tcl/files/tcl-configure-LANG.patch | 41 ++ dev-lang/tcl/metadata.xml | 9 + dev-lang/tcl/tcl-8.4.15.ebuild | 122 +++++ dev-lang/tcl/tcl-8.4.18.ebuild | 124 +++++ dev-lang/tcl/tcl-8.4.19.ebuild | 124 +++++ dev-lang/tk/ChangeLog | 516 +++++++++++++++++++++ dev-lang/tk/Manifest | 17 + dev-lang/tk/files/remove-control-v-8.4.9.diff | 18 + dev-lang/tk/files/tk-8.4-lastevent.patch | 28 ++ dev-lang/tk/files/tk-8.4.11-multilib.patch | 24 + dev-lang/tk/files/tk-8.4.15-tclm4-soname.patch | 12 + dev-lang/tk/files/tk-8.4.9-man.patch | 29 ++ dev-lang/tk/files/tk-8.5_alpha6-tclm4-soname.patch | 12 + dev-lang/tk/files/tk-CVE-2007-4851.patch | 12 + dev-lang/tk/files/tk-configure-LANG.patch | 41 ++ dev-lang/tk/metadata.xml | 6 + dev-lang/tk/tk-8.4.15-r1.ebuild | 120 +++++ dev-lang/tk/tk-8.4.18-r1.ebuild | 120 +++++ dev-lang/tk/tk-8.4.18.ebuild | 117 +++++ dev-lang/tk/tk-8.4.19-r1.ebuild | 120 +++++ dev-tcltk/otcl/ChangeLog | 108 +++++ dev-tcltk/otcl/Manifest | 9 + dev-tcltk/otcl/files/otcl-1.11-badfreefix.patch | 241 ++++++++++ .../otcl/files/otcl-1.11-configure-cleanup.patch | 291 ++++++++++++ .../otcl/files/otcl-1.13-configure-cleanup.patch | 272 +++++++++++ dev-tcltk/otcl/metadata.xml | 5 + dev-tcltk/otcl/otcl-1.11.ebuild | 64 +++ dev-tcltk/otcl/otcl-1.13.ebuild | 66 +++ dev-tcltk/tclcl/ChangeLog | 73 +++ dev-tcltk/tclcl/Manifest | 9 + dev-tcltk/tclcl/files/tclcl-1.16-http.patch | 22 + .../tclcl/files/tclcl-1.17-configure-cleanup.patch | 285 ++++++++++++ .../tclcl/files/tclcl-1.19-configure-cleanup.patch | 264 +++++++++++ dev-tcltk/tclcl/metadata.xml | 5 + dev-tcltk/tclcl/tclcl-1.17.ebuild | 51 ++ dev-tcltk/tclcl/tclcl-1.19.ebuild | 53 +++ net-analyzer/nam/ChangeLog | 70 +++ net-analyzer/nam/Manifest | 9 + net-analyzer/nam/files/nam-1.11-gcc4.patch | 38 ++ net-analyzer/nam/metadata.xml | 6 + net-analyzer/nam/nam-1.10.ebuild | 59 +++ net-analyzer/nam/nam-1.11-r1.ebuild | 65 +++ net-analyzer/nam/nam-1.11.ebuild | 72 +++ net-analyzer/ns/ChangeLog | 122 +++++ net-analyzer/ns/Manifest | 6 + net-analyzer/ns/metadata.xml | 6 + net-analyzer/ns/ns-2.31.ebuild | 129 ++++++ net-analyzer/ns/ns-2.33.ebuild | 129 ++++++ 56 files changed, 4705 insertions(+) create mode 100644 dev-lang/tcl/ChangeLog create mode 100644 dev-lang/tcl/Manifest create mode 100644 dev-lang/tcl/files/tcl-8.4.11-multilib.patch create mode 100644 dev-lang/tcl/files/tcl-8.4.15-tclm4-soname.patch create mode 100644 dev-lang/tcl/files/tcl-8.4.16-multilib.patch create mode 100644 dev-lang/tcl/files/tcl-8.4.9-strtod.patch create mode 100644 dev-lang/tcl/files/tcl-8.5_alpha6-multilib.patch create mode 100644 dev-lang/tcl/files/tcl-8.5_alpha6-tclm4-soname.patch create mode 100644 dev-lang/tcl/files/tcl-configure-LANG.patch create mode 100644 dev-lang/tcl/metadata.xml create mode 100644 dev-lang/tcl/tcl-8.4.15.ebuild create mode 100644 dev-lang/tcl/tcl-8.4.18.ebuild create mode 100644 dev-lang/tcl/tcl-8.4.19.ebuild create mode 100644 dev-lang/tk/ChangeLog create mode 100644 dev-lang/tk/Manifest create mode 100644 dev-lang/tk/files/remove-control-v-8.4.9.diff create mode 100644 dev-lang/tk/files/tk-8.4-lastevent.patch create mode 100644 dev-lang/tk/files/tk-8.4.11-multilib.patch create mode 100644 dev-lang/tk/files/tk-8.4.15-tclm4-soname.patch create mode 100644 dev-lang/tk/files/tk-8.4.9-man.patch create mode 100644 dev-lang/tk/files/tk-8.5_alpha6-tclm4-soname.patch create mode 100644 dev-lang/tk/files/tk-CVE-2007-4851.patch create mode 100644 dev-lang/tk/files/tk-configure-LANG.patch create mode 100644 dev-lang/tk/metadata.xml create mode 100644 dev-lang/tk/tk-8.4.15-r1.ebuild create mode 100644 dev-lang/tk/tk-8.4.18-r1.ebuild create mode 100644 dev-lang/tk/tk-8.4.18.ebuild create mode 100644 dev-lang/tk/tk-8.4.19-r1.ebuild create mode 100644 dev-tcltk/otcl/ChangeLog create mode 100644 dev-tcltk/otcl/Manifest create mode 100644 dev-tcltk/otcl/files/otcl-1.11-badfreefix.patch create mode 100644 dev-tcltk/otcl/files/otcl-1.11-configure-cleanup.patch create mode 100644 dev-tcltk/otcl/files/otcl-1.13-configure-cleanup.patch create mode 100644 dev-tcltk/otcl/metadata.xml create mode 100644 dev-tcltk/otcl/otcl-1.11.ebuild create mode 100644 dev-tcltk/otcl/otcl-1.13.ebuild create mode 100644 dev-tcltk/tclcl/ChangeLog create mode 100644 dev-tcltk/tclcl/Manifest create mode 100644 dev-tcltk/tclcl/files/tclcl-1.16-http.patch create mode 100644 dev-tcltk/tclcl/files/tclcl-1.17-configure-cleanup.patch create mode 100644 dev-tcltk/tclcl/files/tclcl-1.19-configure-cleanup.patch create mode 100644 dev-tcltk/tclcl/metadata.xml create mode 100644 dev-tcltk/tclcl/tclcl-1.17.ebuild create mode 100644 dev-tcltk/tclcl/tclcl-1.19.ebuild create mode 100644 net-analyzer/nam/ChangeLog create mode 100644 net-analyzer/nam/Manifest create mode 100644 net-analyzer/nam/files/nam-1.11-gcc4.patch create mode 100644 net-analyzer/nam/metadata.xml create mode 100644 net-analyzer/nam/nam-1.10.ebuild create mode 100644 net-analyzer/nam/nam-1.11-r1.ebuild create mode 100644 net-analyzer/nam/nam-1.11.ebuild create mode 100644 net-analyzer/ns/ChangeLog create mode 100644 net-analyzer/ns/Manifest create mode 100644 net-analyzer/ns/metadata.xml create mode 100644 net-analyzer/ns/ns-2.31.ebuild create mode 100644 net-analyzer/ns/ns-2.33.ebuild 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 -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 -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 +tcl-8.4.19.ebuild: + version bump for 8.4 too + +*tcl-8.5.5 (26 Oct 2008) + + 26 Oct 2008; Federico Ferri + +tcl-8.5.5.ebuild: + version bumped + + 11 May 2008; +files/tcl-8.4.9-strtod.patch, + tcl-8.4.18.ebuild: + - cross compile fix from buildroot + + 07 Mar 2008; Christoph Mende tcl-8.4.18.ebuild: + Stable on amd64, bug #210326 + + 25 Feb 2008; Jeroen Roovers tcl-8.4.18.ebuild: + Stable for HPPA (bug #210326). + + 18 Feb 2008; Brent Baude tcl-8.4.18.ebuild: + Marking tcl-8.4.18 ppc64 for bug 210326 + + 17 Feb 2008; Raúl Porcel tcl-8.4.18.ebuild: + alpha/ia64/sparc stable wrt #210326 + + 17 Feb 2008; nixnut tcl-8.4.18.ebuild: + Stable on ppc wrt bug 210326 + + 16 Feb 2008; Christian Faulhammer 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 + -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 -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 + -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; +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 +tcl-8.5b.ebuild: + Version bump, dropping keywords as status wrt other packages is untested + + 21 Aug 2007; Christoph Mende tcl-8.4.15.ebuild: + Stable on amd64 wrt bug #178320 + + 18 Aug 2007; nixnut tcl-8.4.15.ebuild: + Stable on ppc wrt bug 178320 + + 15 Aug 2007; Jeroen Roovers tcl-8.4.15.ebuild: + Stable for HPPA (bug #178320). + + 14 Aug 2007; Markus Rothe tcl-8.4.15.ebuild: + Stable on ppc64; bug #178320 + + 14 Aug 2007; Raúl Porcel tcl-8.4.15.ebuild: + alpha/ia64/x86 stable wrt #178320 + + 13 Aug 2007; Ferris McCormick 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 + +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 +tcl-8.4.14-r1.ebuild: + Fixed library filenames issue, bug #149037. + + 24 Jun 2007; Piotr Jaroszyński tcl-8.4.9.ebuild, + tcl-8.4.14.ebuild: + (QA) Fix ${ROOT} abuse. bug #167271. + + 25 May 2007; Brent Baude tcl-8.4.14.ebuild: + Marking tcl-8.4.14 ppc64 stable for bug 178320 + + 20 May 2007; nixnut tcl-8.4.14.ebuild: + Stable on ppc wrt bug 178320 + + 16 May 2007; Christian Faulhammer tcl-8.4.14.ebuild: + stable amd64, bug 178320 + + 15 May 2007; Raúl Porcel tcl-8.4.14.ebuild: + alpha/ia64/x86 stable wrt #178320 + + 15 May 2007; Ferris McCormick tcl-8.4.14.ebuild: + Sparc stable --- Bug #178320 --- Has been without problems for over 4 months. + + 15 May 2007; Jeroen Roovers tcl-8.4.14.ebuild: + Stable for HPPA (bug #178320). + + 27 Apr 2007; MATSUU Takuto -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 -tcl-8.3.4.ebuild, + +tcl-8.4.14.ebuild: + Version bumped. + + 26 Dec 2006; Mike Frysinger 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 tcl-8.4.13.ebuild: + Added ~sparc-fbsd keyword. + + 04 Jun 2006; Diego Pettenò 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 + +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ò tcl-8.4.12.ebuild: + Add ~x86-fbsd keyword. + + 21 Mar 2006; Aron Griffis 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 -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 tcl-8.4.9.ebuild: + Marked stable on mips. + + 03 Feb 2006; Mike Frysinger + +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 tcl-8.4.11-r1.ebuild: + add missing multilib inherit + +*tcl-8.4.11-r1 (08 Jan 2006) + + 08 Jan 2006; MATSUU Takuto +tcl-8.4.11-r1.ebuild: + Fixed fails with bash 3.1, Bug 117744. + + 03 Aug 2005; Bryan Østergaard tcl-8.4.9.ebuild: + Stable on alpha. + + 02 Jul 2005; MATSUU Takuto tcl-8.4.11.ebuild: + Added PDEPEND. Bug 97357. + +*tcl-8.4.11 (02 Jul 2005) + + 02 Jul 2005; MATSUU Takuto + +files/tcl-8.4.11-multilib.patch, +tcl-8.4.11.ebuild: + Version bumped. + + 06 Jun 2005; Markus Rothe tcl-8.4.9.ebuild: + Stable on ppc64 + + 03 Jun 2005; Mike Frysinger tcl-8.4.9.ebuild: + Touchup ROOT / libdir usage to get rid of all the // gremlins. + + 27 May 2005; Joseph Jezak tcl-8.4.9.ebuild: + Marked ppc stable. + + 09 May 2005; Gustavo Zacarias tcl-8.4.9.ebuild: + Stable on sparc + + 08 May 2005; Marcus D. Hanwell tcl-8.4.9.ebuild: + Stable on amd64. + + 07 May 2005; Aron Griffis tcl-8.4.9.ebuild: + stable on ia64 + + 07 May 2005; MATSUU Takuto tcl-8.4.9.ebuild: + Stable on x86. + + 21 Mar 2005; Lars Weiler tcl-8.4.6-r1.ebuild, + tcl-8.4.9.ebuild: + Downgrading tcl for ppc. + + 19 Mar 2005; Doug Goldstein metadata.xml: + Changing to proper herd + +*tcl-8.4.9 (19 Mar 2005) + + 19 Mar 2005; MATSUU Takuto +tcl-8.4.9.ebuild: + Version bumped, #83816 + + 29 Dec 2004; Ciaran McCreesh : + Change encoding to UTF-8 for GLEP 31 compliance + + 21 Dec 2004; Jeremy Huddleston + +files/tcl-8.4.6-multilib.patch, tcl-8.4.6-r1.ebuild: + Made tcl multilib friendly. + + 01 Nov 2004; Lars Weiler tcl-8.4.6-r1.ebuild: + Stable on ppc for PHP5, Bug #60442. + + 19 Oct 2004; Bryan Østergaard : + Stable on alpha. + + 21 Sep 2004; Doug Goldstein tcl-8.4.6-r1.ebuild: + readding arches I removed accidently + +*tcl-8.4.6-r1 (21 Sep 2004) + + 21 Sep 2004; Doug Goldstein +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 tcl-8.4.6.ebuild: + Stable on hppa. + + 06 Sep 2004; Ciaran McCreesh tcl-8.3.4.ebuild, + tcl-8.4.6.ebuild: + Switch to use epause and ebeep, bug #62950 + + 24 Aug 2004; Chris Aniszczyk tcl-8.4.6.ebuild: + Stable on x86 + + 17 Aug 2004; Aron Griffis tcl-8.4.6.ebuild: + stable on alpha and ia64 + + 01 Jul 2004; Jeremy Huddleston tcl-8.3.4.ebuild, + tcl-8.4.6.ebuild: + virtual/glibc -> virtual/libc + + 15 Jun 2004; Ferris McCormick tcl-8.4.6.ebuild: + Marked stable for sparc. + + 31 May 2004; Tom Gall tcl-8.4.6.ebuild: + stable on ppc64 + + 25 Apr 2004; Michael Sterrett tcl-8.3.4.ebuild, + tcl-8.4.6.ebuild: + don't depend on use echo + + 25 Apr 2004; Daniel Black metadata.xml, + tcl-8.4.6.ebuild: + Removed gentoolkit thanks to Brian Jackson in bug #43626 + + 20 Apr 2004; Ian Leitch tcl-8.4.6.ebuild: + Marking stable on amd64 and s390 + + 20 Apr 2004; Ian Leitch tcl-8.4.6.ebuild: + Marking stable on mips + + 20 Apr 2004; Ian Leitch tcl-8.3.4.ebuild, + tcl-8.4.6.ebuild: + Enable threads with local USE flag 'threads'. #2024 + + 20 Apr 2004; Ian Leitch -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 tcl-8.4.6.ebuild: + Version bumped. + + 02 Mar 2004; Brian Jackson tcl-8.4.5.ebuild: + added s390 to keywords + + 04 Jan 2004; tcl-8.4.3.ebuild: + Added mips to KEYWORDS + + 03 Jan 2004; Aron Griffis tcl-8.4.5.ebuild: + Add ~alpha + + 03 Jan 2004; Brian Jackson 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 tcl-8.4.5.ebuild: + Added to ~ppc. + +*tcl-8.4.5 (07 Dec 2003) + + 07 Dec 2003; Martin Holzer tcl-8.4.5.ebuild: + Version bumped. + + 07 Dec 2003; Martin Holzer tcl-8.4.3.ebuild, + tcl-8.4.4.ebuild: + changing to sf + + 16 Nov 2003; Brad House tcl-8.4.4.ebuild: + add ~amd64 flag + +*tcl-8.4.4 (22 Oct 2003) + + 22 Oct 2003; Martin Holzer tcl-8.4.4.ebuild: + Version bumped. Closes #28633. + +*tcl-8.4.3 (30 Jun 2003) + + 30 Sep 2003; Joshua Kinard tcl-8.4.3.ebuild: + Added ~sparc & ~mips to KEYWORDS + + 30 Jun 2003; Daniel Ahlberg tcl-8.4.3.ebuild : + Version bump. + +*tcl-8.4.2-r1 (19 May 2003) + + 19 May 2003; Stanislav Brabec 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 tcl-8.4.2.ebuild: + Added upgrade recompilation warning (bug #19939) and dependency on + revdep-rebuild. + + 17 Apr 2003; Stanislav Brabec 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 tcl-8.3.4.ebuild: + add arm keyword + + 08 Mar 2003; Guy Martin tcl-8.8.4.ebuild : + Added hppa to keywords. + + 18 Dec 2002; Stefan Jones : + New revision. + +*tcl-8.3.3-r3 (25 Jun 2002) + + 06 Dec 2002; Rodney Rees : + changed sparc ~sparc keywords + + 02 Aug 2002; mark Guertin tcl-8.8.3-r3.ebuild : + + Added ppc to keywords + + 25 Jun 2002; Karl Trygve Kalleberg 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 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 tcl-8.3.3-r1.ebuild : + + Added ppc to keywords + + 24 Apr 2002; Karl Trygve Kalleberg 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 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 @@ + + + + tcltk + + tcltk@gentoo.org + TCL/TK Herd. + + 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 tk-8.4.18-r1.ebuild: + Stable on alpha, bug #268174 + + 06 May 2009; Kenneth Prugh tk-8.4.18-r1.ebuild: + amd64 stable, bug #268174 + + 06 May 2009; Jeroen Roovers tk-8.4.18-r1.ebuild: + Stable for HPPA (bug #268174). + + 06 May 2009; Ferris McCormick tk-8.4.18-r1.ebuild: + Sparc stable, bug #268174. + + 06 May 2009; Christian Faulhammer tk-8.4.18-r1.ebuild: + stable x86, bug 268174 + + 06 May 2009; Brent Baude 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 -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 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 -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 -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 + +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 +tk-8.4.19.ebuild: + version bump for 8.4 too + +*tk-8.5.5 (26 Oct 2008) + + 26 Oct 2008; Federico Ferri +tk-8.5.5.ebuild: + version bumped + + 07 Mar 2008; Christoph Mende tk-8.4.18.ebuild: + Stable on amd64, bug #210326 + + 25 Feb 2008; Jeroen Roovers tk-8.4.18.ebuild: + Stable for HPPA (bug #210326). + + 18 Feb 2008; Brent Baude tk-8.4.18.ebuild: + Marking tk-8.4.18 ppc64 for bug 210326 + + 17 Feb 2008; Raúl Porcel tk-8.4.18.ebuild: + alpha/ia64/sparc stable wrt #210326 + + 17 Feb 2008; nixnut tk-8.4.18.ebuild: + Stable on ppc wrt bug 210326 + + 16 Feb 2008; Christian Faulhammer 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 + -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 + +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 +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 -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; +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 +tk-8.5b.ebuild: + Version bump, dropping keywords as status wrt other packages is untested + + 23 Sep 2007; Ferris McCormick tk-8.4.15-r1.ebuild: + Sparc stable --- security Bug #192539 --- has been running fine. + + 20 Sep 2007; Brent Baude tk-8.4.15-r1.ebuild: + keywording tk-8.4.15-r1 ppc64 for bug#190697 + + 17 Sep 2007; Tobias Scherbaum tk-8.4.15-r1.ebuild: + ppc stable, bug #192539 + + 17 Sep 2007; Raúl Porcel tk-8.4.15-r1.ebuild: + alpha/ia64 stable wrt security #192539 + + 16 Sep 2007; Christoph Mende tk-8.4.15-r1.ebuild: + Stable on amd64 wrt security bug #192539 + + 16 Sep 2007; Markus Meier tk-8.4.15-r1.ebuild: + x86 stable, security bug #192539 + + 16 Sep 2007; Jeroen Roovers 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 + -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 tk-8.4.15.ebuild: + Stable on amd64 wrt bug #178320 + + 18 Aug 2007; nixnut tk-8.4.15.ebuild: + Stable on ppc wrt bug 178320 + + 15 Aug 2007; Jeroen Roovers tk-8.4.15.ebuild: + Stable for HPPA (bug #178320). + + 14 Aug 2007; Markus Rothe tk-8.4.15.ebuild: + Stable on ppc64; bug #178320 + + 14 Aug 2007; Raúl Porcel tk-8.4.15.ebuild: + alpha/ia64/x86 stable wrt #178320 + + 13 Aug 2007; Ferris McCormick tk-8.4.15.ebuild: + Sparc stable --- Bug #178320 --- no problems. + + 22 Jul 2007; Hans de Graaff 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 + +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 +tk-8.4.14-r1.ebuild: + Fixed library filenames issue, bug #149037. + + 25 May 2007; Brent Baude tk-8.4.14.ebuild: + Marking tk-8.4.14 ppc64 stable for bug 178320 + + 20 May 2007; nixnut tk-8.4.14.ebuild: + Stable on ppc wrt bug 178320 + + 16 May 2007; Christian Faulhammer tk-8.4.14.ebuild: + stable amd64, bug 178320 + + 15 May 2007; Raúl Porcel tk-8.4.14.ebuild: + alpha/ia64/x86 stable wrt #178320 + + 15 May 2007; Ferris McCormick tk-8.4.14.ebuild: + Sparc stable --- Bug #178320 --- Has been without problems for over 4 months. + + 15 May 2007; Jeroen Roovers tk-8.4.14.ebuild: + Stable for HPPA (bug #178320). + + 27 Apr 2007; MATSUU Takuto + -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 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 -tk-8.3.4-r1.ebuild, + +tk-8.4.14.ebuild: + Version bumped. + + 26 Dec 2006; Mike Frysinger 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 + +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ò tk-8.4.12.ebuild: + Add ~x86-fbsd keyword. + + 24 Mar 2006; Aron Griffis 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 + -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 tk-8.4.9.ebuild: + Marked stable on mips. + + 03 Feb 2006; Mike Frysinger + +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 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 +tk-8.4.11-r1.ebuild: + Fixed fails with bash3.1, Bug 117982 + + 11 Dec 2005; Donnie Berkholz ; tk-8.4.11.ebuild: + Fix them. + + 11 Dec 2005; Donnie Berkholz ; tk-8.4.11.ebuild: + Add modular X dependencies. + + 03 Aug 2005; Bryan Østergaard tk-8.4.9.ebuild: + Stable on alpha. + +*tk-8.4.11 (02 Jul 2005) + + 02 Jul 2005; MATSUU Takuto + +files/tk-8.4.11-multilib.patch, +tk-8.4.11.ebuild: + Version bumped. + Added multilib patch. + + 06 Jun 2005; Markus Rothe tk-8.4.9.ebuild: + Stable on ppc64 + + 03 Jun 2005; Mike Frysinger tk-8.4.9.ebuild: + Touchup libdir usage to get rid of all the // gremlins. + + 27 May 2005; Joseph Jezak tk-8.4.9.ebuild: + Marked ppc stable. + + 09 May 2005; Gustavo Zacarias tk-8.4.9.ebuild: + Stable on sparc + + 08 May 2005; Marcus D. Hanwell tk-8.4.9.ebuild: + Stable on amd64. + + 07 May 2005; Aron Griffis tk-8.4.9.ebuild: + stable on ia64 + + 07 May 2005; MATSUU Takuto tk-8.4.9.ebuild: + Stable on x86. + +*tk-8.4.9 (19 Mar 2005) + + 19 Mar 2005; MATSUU Takuto + +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 : + Change encoding to UTF-8 for GLEP 31 compliance + + 21 Dec 2004; Jeremy Huddleston tk-8.4.6-r1.ebuild: + Multilib fixes. + + 10 Nov 2004; Joseph Jezak tk-8.4.6-r1.ebuild: + Marked ppc stable. + + 06 Oct 2004; Bryan Østergaard tk-8.4.6-r1.ebuild: + Stable on alpha. + + 21 Sep 2004; Danny van Dyk tk-8.4.6-r1.ebuild: + Marked stable on amd64. + + 14 Sep 2004; Guy Martin tk-8.4.6-r1.ebuild: + Stable on hppa. + + 09 Sep 2004; Gustavo Zacarias tk-8.4.6-r1.ebuild: + Keyworded sparc + + 06 Sep 2004; Ciaran McCreesh 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 tk-8.4.6-r1.ebuild: + stable on ppc64, bug #61745 + + 25 Aug 2004; Doug Goldstein tk-8.4.6-r1.ebuild: + Stable on x86 + + 18 Aug 2004; Aron Griffis tk-8.4.6.ebuild: + stable on alpha and ia64 + +*tk-8.4.6-r1 (07 Aug 2004) + + 07 Aug 2004; Doug Goldstein 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 tk-8.4.6.ebuild: + Marked stable for sparc. + + 04 Jun 2004; Michael Sterrett tk-8.4.6.ebuild: + ppc64 needs a stable virtual/x11 first. Removed keyword + + 31 May 2004; Tom Gall tk-8.4.6.ebuild: + stable on ppc64 + + 02 May 2004; tk-8.4.6.ebuild: + Stable on mips + + 25 Apr 2004; Michael Sterrett tk-8.3.4-r1.ebuild, + tk-8.4.6.ebuild: + don't depend on use echo + + 24 Apr 2004; Ian Leitch tk-8.3.4-r1.ebuild, + tk-8.4.6.ebuild: + Enable threads with local USE flag 'threads'. #2024 + + 20 Apr 2004; Ian Leitch tk-8.4.6.ebuild: + Marked stable on amd64 + + 20 Apr 2004; Ian Leitch -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 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 tk-8.4.6.ebuild: + Verison bumped. + + 04 Jan 2004; tk-8.4.3.ebuild: + Added mips to KEYWORDS + + 03 Jan 2004; Aron Griffis tk-8.4.5.ebuild: + Add ~alpha + + 03 Jan 2004; Brian Jackson tk-8.3.4-r1.ebuild: + repoman still complaining, 8.3.4 to ia64 to match tcl + + 03 Jan 2004; Brian Jackson 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 tk-8.4.5.ebuild: + Added to ~ppc. + +*tk-8.4.5 (07 Dec 2003) + + 07 Dec 2003; Martin Holzer tk-8.4.5.ebuild: + Version bumped. + + 07 Dec 2003; Martin Holzer tk-8.4.3.ebuild, + tk-8.4.4.ebuild: + changing to sf + + 16 Nov 2003; Brad House tk-8.4.4.ebuild: + mark stable on amd64 + +*tk-8.4.4 (22 Oct 2003) + + 22 Oct 2003; Martin Holzer tk-8.4.4.ebuild: + Version bumped. + +*tk-8.4.3 (30 Jun 2003) + + 30 Sep 2003; Joshua Kinard tk-8.4.3.ebuild: + Added ~sparc & ~mips to KEYWORDS + + 30 Jun 2003; Daniel Ahlberg tk-8.4.3.ebuild : + Version bump. + +*tk-8.4.2-r1 (19 May 2003) + + 19 May 2003; Stanislav Brabec 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 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 tk-8.3.4-r1.ebuild: + fixed sed expression, hopefully closes bug #18300 by Marc 'huz' REYNES + + + 06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords + +*tk-8.3.4 (18 Dec 2002) + + 20 Mar 2003; Zach Welch tk-8.3.4.ebuild: + add arm keyword + + 08 Mar 2003; Guy Martin tk-8.3.4.ebuild : + Added hppa to keywords. + + 18 Dec 2002; Stefan Jones + New revision. + +*tk-8.3.3-r3 (11 Nov 2002) + + 20 Mar 2003; Zach Welch tk-8.3.3-r3.ebuild: + add arm keyword + + 11 Nov 2002; Karl Trygve Kalleberg + 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 + 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 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 tk-8.3.3-r1.ebuild : + Added ppc to keywords + + 13 Jul 2002; Seemant Kulleen 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 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 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 { +- if {!$tk_strictMotif} { +- tk::TextScrollPages %W 1 +- } +-} +-} +- + bind Text { + 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) - 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 @@ + + + +tcltk + + 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 +} diff --git a/dev-tcltk/otcl/ChangeLog b/dev-tcltk/otcl/ChangeLog new file mode 100644 index 0000000..2009940 --- /dev/null +++ b/dev-tcltk/otcl/ChangeLog @@ -0,0 +1,108 @@ +# ChangeLog for dev-tcltk/otcl +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/otcl/ChangeLog,v 1.27 2007/04/28 03:35:12 matsuu Exp $ + +*otcl-1.13 (28 Apr 2007) + + 28 Apr 2007; MATSUU Takuto + -files/otcl-1.8-badfreefix.patch, + +files/otcl-1.13-configure-cleanup.patch, -otcl-1.8-r3.ebuild, + -otcl-1.9.ebuild, +otcl-1.13.ebuild: + Version bumped. + Removed old versions, bug #160006. + + 22 Feb 2007; Piotr Jaroszyński ChangeLog: + Transition to Manifest2. + + 04 Jan 2007; Diego Pettenò otcl-1.11.ebuild: + Fix broken autotools handling. + + 06 Aug 2006; Jason Wever otcl-1.11.ebuild: + Stable on SPARC wrt bug #123209. + + 27 Jul 2006; Joshua Jackson otcl-1.11.ebuild: + Stable x86; bug #123209 + + 07 Jul 2006; Jon Hood otcl-1.11.ebuild: + Stable on amd64, bug #123209. + +*otcl-1.11 (15 May 2006) + + 15 May 2006; Robin H. Johnson + +files/otcl-1.11-badfreefix.patch, + +files/otcl-1.11-configure-cleanup.patch, +otcl-1.11.ebuild: + Bug #119147 and #123209, a version bump, with a large configure cleanup to + work under modern Gentoo TCL and Bash3.1. + + 28 Mar 2006; Emanuele Giaquinta otcl-1.9.ebuild: + Fix configure with bash-3.1. + + 24 Apr 2005; MATSUU Takuto otcl-1.8-r3.ebuild: + stable on x86 + + 24 Apr 2005; Simon Stelling otcl-1.8-r3.ebuild: + stable on amd64 + + 23 Apr 2005; MATSUU Takuto -otcl-1.8-r1.ebuild, + -otcl-1.8-r2.ebuild, otcl-1.9.ebuild: + Fixed parallel make problem, Bug 90149. + Removed old versions. + +*otcl-1.9 (03 Apr 2005) + + 03 Apr 2005; MATSUU Takuto +otcl-1.9.ebuild: + Version bumped. Cleanup ebuild. + + 27 Oct 2004; Karol Wojtaszek otcl-1.8-r3.ebuild: + Added ~amd64 + + 28 Aug 2004; Doug Goldstein otcl-1.8-r3.ebuild: + That fix only worked on one system... not the other... this is the permenant + fix by fixing the Makefile + +*otcl-1.8-r3 (28 Aug 2004) + + 28 Aug 2004; Doug Goldstein +otcl-1.8-r3.ebuild: + ebuild incorrectly attempted to recompile the shared library after the + fact causing a failure. bug #61639 + + 26 Aug 2004; Ferris McCormick otcl-1.8-r2.ebuild: + Stable for sparc. + + 07 Aug 2004; Tom Martin otcl-1.8-r1.ebuild, + otcl-1.8-r2.ebuild: + Typo in DESCRIPTION: extention -> extension. Bug 59717. + + 03 Aug 2004; David Holm otcl-1.8-r2.ebuild: + Added to ~ppc. + +*otcl-1.8-r2 (27 Jul 2004) + + 27 Jul 2004; Robin H. Johnson otcl-1.8-r2.ebuild: + bug #57294. + + 25 Apr 2004; Aron Griffis otcl-1.8-r1.ebuild: + Add die following econf for bug 48950 + + 14 Apr 2004; Daniel Ahlberg otcl-1.8-r1.ebuild: + Inherit eutils. + + 04 Apr 2004; Chris Aniszczyk metadata.xml, + otcl-1.8-r1.ebuild, otcl-1.8.ebuild: + Clean up. + +*otcl-1.8-r1 (13 Jan 2004) + + 13 Jan 2003; Robin H. Johnson otcl-1.8-r1.ebuild: + fix a big upstream bug myself, need to send it to them still. caused + segfaults. + + 10 Jan 2004; Robin H. Johnson otcl-1.8.ebuild: + fix a slight glitch + +*otcl-1.8 (10 Jan 2004) + + 10 Jan 2004; Robin H. Johnson otcl-1.8.ebuild: + Initial commit, original ebuild by Christophe Radovcic + , heavily updated by robbat2@gentoo.org + diff --git a/dev-tcltk/otcl/Manifest b/dev-tcltk/otcl/Manifest new file mode 100644 index 0000000..735fdac --- /dev/null +++ b/dev-tcltk/otcl/Manifest @@ -0,0 +1,9 @@ +AUX otcl-1.11-badfreefix.patch 6953 RMD160 18b4b1920466292d67a77c2ca0443cfb889a02db SHA1 203172da92b84ff5641ec067ca39d3c80c63ef22 SHA256 06e801547fdaed1e415cdf2d5cb6c01bbd1e22c826084a2e93c4e1e53beb05a9 +AUX otcl-1.11-configure-cleanup.patch 8969 RMD160 1644a5b5677baaa9cab6471e2109a20c901798b1 SHA1 d3a6d4d4fcd4aedb5b34c65f9633daaf6ab09e5b SHA256 5b7aa8765cecfe8734c113c1c73fac466a17699e3dff11742480fc4f9084e655 +AUX otcl-1.13-configure-cleanup.patch 8307 RMD160 5f8cef125030c29569a920633bbb0722b72595bf SHA1 c0c2d233c55b53d3fc1b4d07baa327809d948d13 SHA256 5fe1c053227c26a035fc6ecdf5d3ba4ddb38500133940f9a6966d0fbf51bc220 +DIST otcl-1.11.tar.gz 315835 RMD160 02148865a0734fe01171f0456ed89beda1f6074e SHA1 a16f4b82e98a2fa9c6ba632e772af182f47f07d4 SHA256 ac4998748b5eb870898796beb55eba299660bee097d8dbfd10224281548cb94f +DIST otcl-src-1.13.tar.gz 317440 RMD160 7c0def77993ec6e48e4085d6a953b55c2fe2bc59 SHA1 e3310044628f0a59217abaa5ff8ac8234700dd83 SHA256 23b3b7a88fd5a7bfe9f91fd0afd0ac85981c1c2ff0cae6714aee54f7f38ab25d +EBUILD otcl-1.11.ebuild 1506 RMD160 d583dd61f4d63bb6e2964b7e5a840adc4bbd3c4f SHA1 b98da8fd21103171177b4a7709cfacc0f53c2ec5 SHA256 a4c636ceff2d9300a70963fd26308a1acf658ef7afa702feaf9093de7e1a0413 +EBUILD otcl-1.13.ebuild 1483 RMD160 155e6ae4fb61a8e0b126f251af558a1b572992dd SHA1 6f8af3efe752312525ce4d57e028075dadd99bd0 SHA256 2afa5290e941ce0a4436c9e485d7f24b2bf4f45119e52d4d8de86c707213da4c +MISC ChangeLog 3581 RMD160 78411a6dcb5b67f73342e47c49ed3e2d59f457ff SHA1 edaf86dc8381372f21084decdc8125e0b01d652c SHA256 c822bcf89ffa0615b77e96bb74f1598b59d4fbe945cd9eb182575744010477d3 +MISC metadata.xml 158 RMD160 f197c34c7dd71f6025e93436e3f999137928554a SHA1 edb8e5ac668440e92e947fc3dff54484b28c7775 SHA256 62fb2b0a899315973de885234e3931a2f652b343b68f90fe0778378fdca6f290 diff --git a/dev-tcltk/otcl/files/otcl-1.11-badfreefix.patch b/dev-tcltk/otcl/files/otcl-1.11-badfreefix.patch new file mode 100644 index 0000000..2282720 --- /dev/null +++ b/dev-tcltk/otcl/files/otcl-1.11-badfreefix.patch @@ -0,0 +1,241 @@ +diff -ur otcl-1.11/otcl.c otcl-1.11.new/otcl.c +--- otcl-1.11/otcl.c 2004-01-05 16:56:07.000000000 -0800 ++++ otcl-1.11.new/otcl.c 2004-01-13 04:12:10.000000000 -0800 +@@ -290,7 +290,7 @@ + if (!l) return 0; + if (l->cl == s) { + *sl = l->next; +- ckfree((char*)l); ++ ckfree((char*)l); l = NULL; + return 1; + } + while (l->next && l->next->cl != s) l = l->next; +@@ -442,7 +442,7 @@ + old_args2, argv[1], in->errorLine); + compat_Tcl_AddObjErrorInfo(in, msg, -1); + } +- if (argc+2 > OTCLSMALLARGS) { ckfree((char*)args); args = 0; } ++ if (argc+2 > OTCLSMALLARGS) { ckfree((char*)args); args = NULL; } + return result; + } + +@@ -479,7 +479,7 @@ + cl ? args[2] : argv[0], in->errorLine); + compat_Tcl_AddObjErrorInfo(in, msg, -1); + } +- if (argc+3 > OTCLSMALLARGS) { ckfree((char*)args); args = 0; } ++ if (argc+3 > OTCLSMALLARGS) { ckfree((char*)args); args = NULL; } + return result; + } + +@@ -500,7 +500,7 @@ + + static void + AutoLoaderDP(ClientData cd) { +- ckfree((char*)cd); ++ ckfree((char*)cd); cd = NULL; + } + + static int +@@ -579,8 +579,8 @@ + Tcl_HashEntry *hPtr = Tcl_FindHashEntry(methods, nm); + if (hPtr != 0) { + Tcl_CmdInfo* co = (Tcl_CmdInfo*)Tcl_GetHashValue(hPtr); +- if (co->deleteProc != 0) (*co->deleteProc)(co->deleteData); +- ckfree((char*)co); ++ if (co->deleteProc != 0) { (*co->deleteProc)(co->deleteData); } co->deleteProc = NULL; ++ ckfree((char*)co); co = NULL; + Tcl_DeleteHashEntry(hPtr); + return 1; + } +@@ -614,7 +614,7 @@ + (Tcl_Namespace*)NULL, 0); + if (cmd) + Tcl_DeleteCommandFromToken(pdpd->interp, cmd); +- ckfree((char*)pdpd); ++ ckfree((char*)pdpd); pdpd = NULL; + } + #endif + +@@ -674,7 +674,7 @@ + + for (i = 0; i < argc; i++) + Tcl_DecrRefCount(objv[i]); +- ckfree((char *)objv); ++ ckfree((char *)objv); objv = NULL; + + #else /* TCL_MAJOR_VERSION < 8 */ + +@@ -691,7 +691,7 @@ + + #endif /* TCL_MAJOR_VERSION < 8 */ + +- ckfree((char*)nargs); ++ ckfree((char*)nargs); nargs = NULL; + argv[1] = name; + argv[2] = oargs; + +@@ -926,7 +926,7 @@ + static void + PrimitiveODestroy(ClientData cd) { + PrimitiveODestroyNoFree(cd); +- ckfree((char*)cd); ++ ckfree((char*)cd); cd = NULL; + } + + static void +@@ -1002,18 +1002,18 @@ + Tcl_CmdInfo* co = (Tcl_CmdInfo*)Tcl_GetHashValue(hp2); + ClientData cdest = cd; + if (co->clientData != 0) cdest = co->clientData; +- if (co->deleteProc != 0) (*co->deleteProc)(co->deleteData); +- ckfree((char*)co); ++ if (co->deleteProc != 0) { (*co->deleteProc)(co->deleteData); } co->deleteProc = NULL; ++ ckfree((char*)co); co = NULL; + } + if (obj->procs) { +- Tcl_DeleteHashTable(obj->procs); ckfree((char*)(obj->procs)); ++ Tcl_DeleteHashTable(obj->procs); ckfree((char*)(obj->procs)); obj->procs = NULL; + } + + (void)RemoveInstance(obj, obj->cl); + + #if TCL_MAJOR_VERSION >= 8 +- ckfree((char*)(obj->variables.procPtr)); +- ckfree((char*)(obj->variables.varTablePtr)); ++ ckfree((char*)(obj->variables.procPtr)); obj->variables.procPtr = NULL; ++ ckfree((char*)(obj->variables.varTablePtr)); obj->variables.varTablePtr = NULL; + #endif + } + +@@ -1035,8 +1035,7 @@ + obj->id = Tcl_CreateCommand(in, name, OTclDispatch, (ClientData)obj, + PrimitiveODestroy); + } else { +- ckfree((char *)obj); +- obj = NULL; ++ ckfree((char *)obj); obj = NULL; + } + #endif + return obj; +@@ -1123,14 +1122,14 @@ + Tcl_CmdInfo* co = (Tcl_CmdInfo*)Tcl_GetHashValue(hPtr); + ClientData cdest = cd; + if (co->clientData != 0) cdest = co->clientData; +- if (co->deleteProc != 0) (*co->deleteProc)(co->deleteData); +- ckfree((char*)co); ++ if (co->deleteProc != 0) { (*co->deleteProc)(co->deleteData); } co->deleteProc = NULL; ++ ckfree((char*)co); co = NULL; + } + Tcl_DeleteHashTable(&cl->instprocs); + + if (cl->objectdata) { + Tcl_DeleteHashTable(cl->objectdata); +- ckfree((char*)(cl->objectdata)); cl->objectdata = 0; ++ ckfree((char*)(cl->objectdata)); cl->objectdata = NULL; + } + + /* +@@ -1151,7 +1150,7 @@ + * PrimitiveODestory to destory the hash entries first */ + PrimitiveODestroyNoFree(cd); + Tcl_DeleteHashTable(&cl->instances); +- ckfree((char*)cd); ++ ckfree((char*)cd); cd = NULL; + } + + +@@ -1176,8 +1175,7 @@ + obj->id = Tcl_CreateCommand(in, name, OTclDispatch, (ClientData)cl, + PrimitiveCDestroy); + } else { +- ckfree((char *)cl); +- cl = NULL; ++ ckfree((char *)cl); cl = NULL; + } + #endif + return cl; +@@ -1359,6 +1357,9 @@ + OTclObject* obj = OTclAsObject(in, cd); + Tcl_CmdInfo proc; + int op; ++ // NULL out the deleteProc value ++ // as it may be filled with random data on variable creation ++ proc.deleteProc = NULL; proc.deleteData = NULL; + + if (!obj) return OTclErrType(in, argv[0], "Object"); + if (argc != 7) return OTclErrArgCnt(in,argv[0],"proc name args body"); +@@ -1488,7 +1489,7 @@ + Tcl_AppendResult(in, "expected ?inst/local? or ?inst? ?local? but got ", + argv[i]); + } +- ckfree((char*)av); ++ ckfree((char*)av); av = NULL; + if (result != TCL_OK) break; + } + return result; +@@ -1594,10 +1595,10 @@ + scl[i] = OTclGetClass(in, av[i]); + loaded = (scl[i] != 0); + } +- ckfree(args); ++ ckfree(args); args = NULL; + if (!loaded) { +- ckfree((char*)av); +- ckfree((char*)scl); ++ ckfree((char*)av); av = NULL; ++ ckfree((char*)scl); scl = NULL; + return OTclErrBadVal(in, "a list of classes", argv[4]); + } + } +@@ -1621,8 +1622,8 @@ + } + + if (reversed != 0) { +- ckfree((char*)av); +- ckfree((char*)scl); ++ ckfree((char*)av); av = NULL; ++ ckfree((char*)scl); scl = NULL; + return OTclErrBadVal(in, "classes in dependence order", argv[4]); + } + +@@ -1641,8 +1642,8 @@ + } + for (i = 0; i < ac; i++) + AddSuper(cl, scl[i]); +- ckfree((char*)av); +- ckfree((char*)scl); ++ ckfree((char*)av); av = NULL; ++ ckfree((char*)scl); scl = NULL; + FlushPrecedences(cl); + + if (!ComputePrecedence(cl)) { +@@ -1784,17 +1785,25 @@ + OTclClass* cl = OTclAsClass(in, cd); + Tcl_CmdInfo proc; + int op; ++ // NULL out the deleteProc value ++ // as it may be filled with random data on variable creation ++ proc.deleteProc = NULL; proc.deleteData = NULL; + + if (!cl) return OTclErrType(in, argv[0], "Class"); + if (argc != 7) return OTclErrArgCnt(in,argv[0],"instproc name args body"); + ++ + /* + * if the args list is "auto", the body is a script to load the proc + */ + +- if (!strcmp("auto", argv[5])) op = MakeAuto(&proc, argv[6]); +- else if (argv[5][0]==0 && argv[6][0]==0) op = -1; +- else op = MakeProc(&proc,in, argc-3, argv+3); ++ if (!strcmp("auto", argv[5])) { ++ op = MakeAuto(&proc, argv[6]); ++ } else if (argv[5][0]==0 && argv[6][0]==0) { ++ op = -1; ++ } else { ++ op = MakeProc(&proc,in, argc-3, argv+3); ++ } + + (void)RemoveMethod(&cl->instprocs, argv[4], (ClientData)cl); + if (op == 1) AddMethod(&cl->instprocs, argv[4], proc.proc, diff --git a/dev-tcltk/otcl/files/otcl-1.11-configure-cleanup.patch b/dev-tcltk/otcl/files/otcl-1.11-configure-cleanup.patch new file mode 100644 index 0000000..21eab45 --- /dev/null +++ b/dev-tcltk/otcl/files/otcl-1.11-configure-cleanup.patch @@ -0,0 +1,291 @@ +diff -Nuar otcl-1.11.orig/conf/configure.in.audio otcl-1.11/conf/configure.in.audio +--- otcl-1.11.orig/conf/configure.in.audio 1998-07-16 23:07:29.000000000 -0700 ++++ otcl-1.11/conf/configure.in.audio 2006-05-15 09:20:29.000000000 -0700 +@@ -90,10 +90,10 @@ + fi + fi + +-AC_TEST_CPP([#include ], x=audio/audio-sun.o, x="") ++AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include ]])],[x=audio/audio-sun.o],[x=""]) + V_OBJ_AUDIO="$V_OBJ_AUDIO $x" + +-AC_TEST_CPP([#include ], x=audio/audio-sun.o, x="") ++AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include ]])],[x=audio/audio-sun.o],[x=""]) + V_OBJ_AUDIO="$V_OBJ_AUDIO $x" + + case "$target" in +diff -Nuar otcl-1.11.orig/conf/configure.in.dynamic otcl-1.11/conf/configure.in.dynamic +--- otcl-1.11.orig/conf/configure.in.dynamic 1998-07-16 22:38:38.000000000 -0700 ++++ otcl-1.11/conf/configure.in.dynamic 2006-05-15 09:36:26.632757055 -0700 +@@ -59,7 +59,7 @@ + # results, and the version is kept in special file). + + if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then +- system=MP-RAS-`awk '{print $3}' /etc/.relid'` ++ system=MP-RAS-`awk '{print $3}' /etc/.relid` + fi + if test "`uname -s`" = "AIX" ; then + system=AIX-`uname -v`.`uname -r` +@@ -311,7 +311,7 @@ + hold_ldflags=$LDFLAGS + AC_MSG_CHECKING(for ld accepts -Bexport flag) + LDFLAGS="${LDFLAGS} -Wl,-Bexport" +- AC_TRY_LINK(, [int i;], found=yes, found=no) ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[int i;]])],[found=yes],[found=no]) + LDFLAGS=$hold_ldflags + AC_MSG_RESULT($found) + if test $found = yes; then +diff -Nuar otcl-1.11.orig/conf/configure.in.head otcl-1.11/conf/configure.in.head +--- otcl-1.11.orig/conf/configure.in.head 2001-04-11 16:49:06.000000000 -0700 ++++ otcl-1.11/conf/configure.in.head 2006-05-15 09:24:21.510388584 -0700 +@@ -32,12 +32,12 @@ + fi + + +-AC_CANONICAL_SYSTEM ++AC_CANONICAL_TARGET([]) + + AC_PROG_CC + AC_PROG_CXX +-AC_STDC_HEADERS +-AC_HAVE_HEADERS(string.h) ++AC_HEADER_STDC([]) ++AC_CHECK_HEADERS([string.h]) + + V_INCLUDE="" + V_LIB="" +@@ -76,8 +76,7 @@ + else + if test "$CC" = gcc ; then + AC_MSG_CHECKING(that $CXX can handle -O2) +- AC_TRY_COMPILE(, +- #if __GNUC__ < 2 || __GNUC_MINOR__ < 8 ++ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[#if __GNUC__ < 2 || __GNUC_MINOR__ < 8 + /* gcc */ + error + #endif +@@ -85,9 +84,9 @@ + /* egcs */ + int error; + #endif +- ,AC_MSG_RESULT(yes) +- OonS="-O2", # Optimize on Steroids +- AC_MSG_RESULT(no)) ++ ]])],[AC_MSG_RESULT(yes) ++ OonS="-O2"],[# Optimize on Steroids ++ AC_MSG_RESULT(no)]) + fi + fi + +@@ -152,19 +151,16 @@ + + # Checking validity of STL + AC_MSG_CHECKING(standard STL is available) +-AC_LANG_SAVE +-AC_LANG_CPLUSPLUS ++ ++AC_LANG_PUSH([C++]) + enable_stl="no" +-AC_TRY_COMPILE( +- #include ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include + #include + template class tlist : public list <_T> {}; +- , +- return 0; +- ,AC_MSG_RESULT(yes) +- enable_stl="yes", +- AC_MSG_RESULT(no)) +-AC_LANG_RESTORE ++ ]], [[return 0; ++ ]])],[AC_MSG_RESULT(yes) ++ enable_stl="yes"],[AC_MSG_RESULT(no)]) ++AC_LANG_POP([C++]) + + # This can be extended to support compilation-time module selection + V_STLOBJ="" +diff -Nuar otcl-1.11.orig/conf/configure.in.int64_t otcl-1.11/conf/configure.in.int64_t +--- otcl-1.11.orig/conf/configure.in.int64_t 2005-08-31 18:54:05.000000000 -0700 ++++ otcl-1.11/conf/configure.in.int64_t 2006-05-15 09:20:30.000000000 -0700 +@@ -22,19 +22,17 @@ + fi + + AC_CACHE_CHECK([for __int64_t],int64_t_HAVE___INT64_T,[ +-AC_TRY_RUN([ ++AC_RUN_IFELSE([AC_LANG_SOURCE([[ + main() { __int64_t x; exit (sizeof(x) >= 8 ? 0 : 1); } +-], +-int64_t_HAVE___INT64_T=yes,int64_t_HAVE___INT64_T=no,int64_t_HAVE___INT64_T=cross)]) ++]])],[int64_t_HAVE___INT64_T=yes],[int64_t_HAVE___INT64_T=no],[int64_t_HAVE___INT64_T=cross])]) + if test x"$int64_t_HAVE___INT64_T" = x"yes" -a "x$INT64_T_ALTERNATIVE" = xnone; then + INT64_T_ALTERNATIVE=__int64_t + fi + + AC_CACHE_CHECK([for long long],int64_t_HAVE_LONG_LONG,[ +-AC_TRY_RUN([ ++AC_RUN_IFELSE([AC_LANG_SOURCE([[ + main() { long long x; exit (sizeof(x) >= 8 ? 0 : 1); } +-], +-int64_t_HAVE_LONG_LONG=yes,int64_t_HAVE_LONG_LONG=no,int64_t_HAVE_LONG_LONG=cross)]) ++]])],[int64_t_HAVE_LONG_LONG=yes],[int64_t_HAVE_LONG_LONG=no],[int64_t_HAVE_LONG_LONG=cross])]) + if test x"$int64_t_HAVE_LONG_LONG" = x"yes" -a "x$INT64_T_ALTERNATIVE" = xnone; then + INT64_T_ALTERNATIVE="long long" + fi +diff -Nuar otcl-1.11.orig/conf/configure.in.nse otcl-1.11/conf/configure.in.nse +--- otcl-1.11.orig/conf/configure.in.nse 2000-03-09 17:49:32.000000000 -0800 ++++ otcl-1.11/conf/configure.in.nse 2006-05-15 09:20:30.000000000 -0700 +@@ -9,20 +9,20 @@ + dnl + + AC_MSG_CHECKING([for struct ether_header]) +-AC_TRY_COMPILE([ ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include + #include +-], [ ++]], [[ + int main() + { + struct ether_header etherHdr; + + return 1; + } +-], [ ++]])],[ + AC_DEFINE(HAVE_ETHER_HEADER_STRUCT) + AC_MSG_RESULT(found) +-], [ ++],[ + AC_MSG_RESULT(not found) + ]) + +@@ -31,20 +31,20 @@ + dnl Look for ether_addr + dnl + AC_MSG_CHECKING([for struct ether_addr]) +-AC_TRY_COMPILE([ ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include + #include +-], [ ++]], [[ + int main() + { + struct ether_addr etherAddr; + + return 0; + } +-], [ ++]])],[ + AC_DEFINE(HAVE_ETHER_ADDRESS_STRUCT) + AC_MSG_RESULT(found) +-], [ ++],[ + AC_MSG_RESULT(not found) + ]) + +@@ -57,14 +57,13 @@ + dnl + dnl look for SIOCGIFHWADDR + dnl +-AC_TRY_RUN( +-#include ++AC_RUN_IFELSE([AC_LANG_SOURCE([[#include + #include + int main() + { + int i = SIOCGIFHWADDR; + return 0; + } +-, AC_DEFINE(HAVE_SIOCGIFHWADDR), , echo 1 +-) ++]])],[AC_DEFINE(HAVE_SIOCGIFHWADDR)],[],[echo 1 ++]) + +diff -Nuar otcl-1.11.orig/conf/configure.in.perl otcl-1.11/conf/configure.in.perl +--- otcl-1.11.orig/conf/configure.in.perl 1999-01-21 18:37:20.000000000 -0800 ++++ otcl-1.11/conf/configure.in.perl 2006-05-15 09:20:30.000000000 -0700 +@@ -19,8 +19,8 @@ + dnl + AC_DEFUN(CHECK_PERL_VERSION, + [ +-echo $[$1] -e "require $[$2]" 1>&AC_FD_CC +-if $[$1] -e "require $[$2]" 2>&AC_FD_CC ++echo $[$1] -e "require $[$2]" 1>&AS_MESSAGE_LOG_FD() ++if $[$1] -e "require $[$2]" 2>&AS_MESSAGE_LOG_FD() + then + : good version + else +diff -Nuar otcl-1.11.orig/conf/configure.in.tail otcl-1.11/conf/configure.in.tail +--- otcl-1.11.orig/conf/configure.in.tail 2000-11-13 18:15:01.000000000 -0800 ++++ otcl-1.11/conf/configure.in.tail 2006-05-15 09:40:00.160276617 -0700 +@@ -144,7 +144,8 @@ + + dnl backwards compability---if nothing else, do Makefile + define([AcOutputFiles],ifdef([AcOutputFiles],AcOutputFiles,Makefile)) +-AC_OUTPUT(AcOutputFiles) ++AC_CONFIG_FILES([Makefile]) ++AC_OUTPUT + + if test ! -d gen ; then + echo "creating ./gen" +diff -Nuar otcl-1.11.orig/conf/configure.in.tcl otcl-1.11/conf/configure.in.tcl +--- otcl-1.11.orig/conf/configure.in.tcl 2005-09-26 21:58:15.000000000 -0700 ++++ otcl-1.11/conf/configure.in.tcl 2006-05-15 09:15:02.499646361 -0700 +@@ -84,6 +84,9 @@ + $d/include/tcl$TCL_VERS \ + $d/include/tcl$TCL_ALT_VERS \ + $d/include \ ++ $d/lib/tcl$TCL_HI_VERS/include \ ++ $d/lib/tcl$TCL_VERS/include \ ++ $d/lib/tcl$TCL_ALT_VERS/include \ + " + TCL_H_PLACES=" \ + ../include \ +@@ -134,7 +137,14 @@ + /usr/include/tcl$TCL_VERS \ + /usr/include/tcl$TCL_HI_VERS \ + /usr/include/tcl$TCL_ALT_VERS \ +- /usr/include/tcl" ++ /usr/include/tcl \ ++ /usr/lib/tcl$TCL_VERS/include/unix \ ++ /usr/lib/tcl$TCL_HI_VERS/include/unix \ ++ /usr/lib/tcl$TCL_ALT_VERS/include/unix \ ++ /usr/lib/tcl$TCL_VERS/include/generic \ ++ /usr/lib/tcl$TCL_HI_VERS/include/generic \ ++ /usr/lib/tcl$TCL_ALT_VERS/include/generic \ ++ " + dnl /usr/include/tcl is for Debian Linux + dnl /usr/include/tcl-private/generic is for FC 4 + TCL_LIB_PLACES_D="$d \ +diff -Nuar otcl-1.11.orig/conf/configure.in.x11 otcl-1.11/conf/configure.in.x11 +--- otcl-1.11.orig/conf/configure.in.x11 1997-03-15 17:59:46.000000000 -0800 ++++ otcl-1.11/conf/configure.in.x11 2006-05-15 09:20:31.000000000 -0700 +@@ -33,7 +33,7 @@ + + echo "checking for X11 header files" + if test "$x_includes" = NONE ; then +- AC_TEST_CPP([#include ],x_includes="",x_includes=NONE) ++ AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include ]])],[x_includes=""],[x_includes=NONE]) + if test "$x_includes" = NONE ; then + for i in $xincdirs ; do + if test -r $i/X11/Intrinsic.h; then +diff -Nuar otcl-1.11.orig/configure.in otcl-1.11/configure.in +--- otcl-1.11.orig/configure.in 2005-10-13 23:45:28.000000000 -0700 ++++ otcl-1.11/configure.in 2006-05-15 09:37:50.480568397 -0700 +@@ -1,4 +1,5 @@ +-AC_INIT(otcl.c) ++AC_INIT ++AC_CONFIG_SRCDIR([otcl.c]) + + #XXX + V_PROG="otclsh" +@@ -31,7 +32,7 @@ + # results, and the version is kept in special file). + + if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then +- system=MP-RAS-`awk '{print $3}' /etc/.relid'` ++ system=MP-RAS-`awk '{print $3}' /etc/.relid` + fi + AC_MSG_RESULT($system) + fi diff --git a/dev-tcltk/otcl/files/otcl-1.13-configure-cleanup.patch b/dev-tcltk/otcl/files/otcl-1.13-configure-cleanup.patch new file mode 100644 index 0000000..6ac498b --- /dev/null +++ b/dev-tcltk/otcl/files/otcl-1.13-configure-cleanup.patch @@ -0,0 +1,272 @@ +diff -Naur otcl-1.13.orig/conf/configure.in.audio otcl-1.13/conf/configure.in.audio +--- otcl-1.13.orig/conf/configure.in.audio 1998-07-17 15:07:29.000000000 +0900 ++++ otcl-1.13/conf/configure.in.audio 2007-04-28 09:49:05.000000000 +0900 +@@ -90,10 +90,10 @@ + fi + fi + +-AC_TEST_CPP([#include ], x=audio/audio-sun.o, x="") ++AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include ]])],[x=audio/audio-sun.o],[x=""]) + V_OBJ_AUDIO="$V_OBJ_AUDIO $x" + +-AC_TEST_CPP([#include ], x=audio/audio-sun.o, x="") ++AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include ]])],[x=audio/audio-sun.o],[x=""]) + V_OBJ_AUDIO="$V_OBJ_AUDIO $x" + + case "$target" in +diff -Naur otcl-1.13.orig/conf/configure.in.dynamic otcl-1.13/conf/configure.in.dynamic +--- otcl-1.13.orig/conf/configure.in.dynamic 2006-09-28 14:25:04.000000000 +0900 ++++ otcl-1.13/conf/configure.in.dynamic 2007-04-28 09:58:25.000000000 +0900 +@@ -148,7 +148,7 @@ + SHLIB_LD_LIBS="" + SHLIB_SUFFIX=".so" + if test "$have_dl" = yes; then +- SHLIB_LD="${CC} -shared" ++ SHLIB_LD="${CC} -shared -Wl,-soname,${@}" + DL_LIBS="-ldl" + DL_LD_FLAGS="-rdynamic" + DL_LD_SEARCH_FLAGS="" +@@ -311,7 +311,7 @@ + hold_ldflags=$LDFLAGS + AC_MSG_CHECKING(for ld accepts -Bexport flag) + LDFLAGS="${LDFLAGS} -Wl,-Bexport" +- AC_TRY_LINK(, [int i;], found=yes, found=no) ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[int i;]])],[found=yes],[found=no]) + LDFLAGS=$hold_ldflags + AC_MSG_RESULT($found) + if test $found = yes; then +diff -Naur otcl-1.13.orig/conf/configure.in.head otcl-1.13/conf/configure.in.head +--- otcl-1.13.orig/conf/configure.in.head 2001-04-12 08:49:06.000000000 +0900 ++++ otcl-1.13/conf/configure.in.head 2007-04-28 09:49:05.000000000 +0900 +@@ -32,12 +32,12 @@ + fi + + +-AC_CANONICAL_SYSTEM ++AC_CANONICAL_TARGET([]) + + AC_PROG_CC + AC_PROG_CXX +-AC_STDC_HEADERS +-AC_HAVE_HEADERS(string.h) ++AC_HEADER_STDC([]) ++AC_CHECK_HEADERS([string.h]) + + V_INCLUDE="" + V_LIB="" +@@ -76,8 +76,7 @@ + else + if test "$CC" = gcc ; then + AC_MSG_CHECKING(that $CXX can handle -O2) +- AC_TRY_COMPILE(, +- #if __GNUC__ < 2 || __GNUC_MINOR__ < 8 ++ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[#if __GNUC__ < 2 || __GNUC_MINOR__ < 8 + /* gcc */ + error + #endif +@@ -85,9 +84,9 @@ + /* egcs */ + int error; + #endif +- ,AC_MSG_RESULT(yes) +- OonS="-O2", # Optimize on Steroids +- AC_MSG_RESULT(no)) ++ ]])],[AC_MSG_RESULT(yes) ++ OonS="-O2"],[# Optimize on Steroids ++ AC_MSG_RESULT(no)]) + fi + fi + +@@ -152,19 +151,16 @@ + + # Checking validity of STL + AC_MSG_CHECKING(standard STL is available) +-AC_LANG_SAVE +-AC_LANG_CPLUSPLUS ++ ++AC_LANG_PUSH([C++]) + enable_stl="no" +-AC_TRY_COMPILE( +- #include ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include + #include + template class tlist : public list <_T> {}; +- , +- return 0; +- ,AC_MSG_RESULT(yes) +- enable_stl="yes", +- AC_MSG_RESULT(no)) +-AC_LANG_RESTORE ++ ]], [[return 0; ++ ]])],[AC_MSG_RESULT(yes) ++ enable_stl="yes"],[AC_MSG_RESULT(no)]) ++AC_LANG_POP([C++]) + + # This can be extended to support compilation-time module selection + V_STLOBJ="" +diff -Naur otcl-1.13.orig/conf/configure.in.int64_t otcl-1.13/conf/configure.in.int64_t +--- otcl-1.13.orig/conf/configure.in.int64_t 2005-09-01 10:54:05.000000000 +0900 ++++ otcl-1.13/conf/configure.in.int64_t 2007-04-28 09:49:05.000000000 +0900 +@@ -22,19 +22,17 @@ + fi + + AC_CACHE_CHECK([for __int64_t],int64_t_HAVE___INT64_T,[ +-AC_TRY_RUN([ ++AC_RUN_IFELSE([AC_LANG_SOURCE([[ + main() { __int64_t x; exit (sizeof(x) >= 8 ? 0 : 1); } +-], +-int64_t_HAVE___INT64_T=yes,int64_t_HAVE___INT64_T=no,int64_t_HAVE___INT64_T=cross)]) ++]])],[int64_t_HAVE___INT64_T=yes],[int64_t_HAVE___INT64_T=no],[int64_t_HAVE___INT64_T=cross])]) + if test x"$int64_t_HAVE___INT64_T" = x"yes" -a "x$INT64_T_ALTERNATIVE" = xnone; then + INT64_T_ALTERNATIVE=__int64_t + fi + + AC_CACHE_CHECK([for long long],int64_t_HAVE_LONG_LONG,[ +-AC_TRY_RUN([ ++AC_RUN_IFELSE([AC_LANG_SOURCE([[ + main() { long long x; exit (sizeof(x) >= 8 ? 0 : 1); } +-], +-int64_t_HAVE_LONG_LONG=yes,int64_t_HAVE_LONG_LONG=no,int64_t_HAVE_LONG_LONG=cross)]) ++]])],[int64_t_HAVE_LONG_LONG=yes],[int64_t_HAVE_LONG_LONG=no],[int64_t_HAVE_LONG_LONG=cross])]) + if test x"$int64_t_HAVE_LONG_LONG" = x"yes" -a "x$INT64_T_ALTERNATIVE" = xnone; then + INT64_T_ALTERNATIVE="long long" + fi +diff -Naur otcl-1.13.orig/conf/configure.in.nse otcl-1.13/conf/configure.in.nse +--- otcl-1.13.orig/conf/configure.in.nse 2000-03-10 10:49:32.000000000 +0900 ++++ otcl-1.13/conf/configure.in.nse 2007-04-28 09:49:05.000000000 +0900 +@@ -9,20 +9,20 @@ + dnl + + AC_MSG_CHECKING([for struct ether_header]) +-AC_TRY_COMPILE([ ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include + #include +-], [ ++]], [[ + int main() + { + struct ether_header etherHdr; + + return 1; + } +-], [ ++]])],[ + AC_DEFINE(HAVE_ETHER_HEADER_STRUCT) + AC_MSG_RESULT(found) +-], [ ++],[ + AC_MSG_RESULT(not found) + ]) + +@@ -31,20 +31,20 @@ + dnl Look for ether_addr + dnl + AC_MSG_CHECKING([for struct ether_addr]) +-AC_TRY_COMPILE([ ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include + #include +-], [ ++]], [[ + int main() + { + struct ether_addr etherAddr; + + return 0; + } +-], [ ++]])],[ + AC_DEFINE(HAVE_ETHER_ADDRESS_STRUCT) + AC_MSG_RESULT(found) +-], [ ++],[ + AC_MSG_RESULT(not found) + ]) + +@@ -57,14 +57,13 @@ + dnl + dnl look for SIOCGIFHWADDR + dnl +-AC_TRY_RUN( +-#include ++AC_RUN_IFELSE([AC_LANG_SOURCE([[#include + #include + int main() + { + int i = SIOCGIFHWADDR; + return 0; + } +-, AC_DEFINE(HAVE_SIOCGIFHWADDR), , echo 1 +-) ++]])],[AC_DEFINE(HAVE_SIOCGIFHWADDR)],[],[echo 1 ++]) + +diff -Naur otcl-1.13.orig/conf/configure.in.perl otcl-1.13/conf/configure.in.perl +--- otcl-1.13.orig/conf/configure.in.perl 1999-01-22 11:37:20.000000000 +0900 ++++ otcl-1.13/conf/configure.in.perl 2007-04-28 09:49:05.000000000 +0900 +@@ -19,8 +19,8 @@ + dnl + AC_DEFUN(CHECK_PERL_VERSION, + [ +-echo $[$1] -e "require $[$2]" 1>&AC_FD_CC +-if $[$1] -e "require $[$2]" 2>&AC_FD_CC ++echo $[$1] -e "require $[$2]" 1>&AS_MESSAGE_LOG_FD() ++if $[$1] -e "require $[$2]" 2>&AS_MESSAGE_LOG_FD() + then + : good version + else +diff -Naur otcl-1.13.orig/conf/configure.in.tail otcl-1.13/conf/configure.in.tail +--- otcl-1.13.orig/conf/configure.in.tail 2000-11-14 11:15:01.000000000 +0900 ++++ otcl-1.13/conf/configure.in.tail 2007-04-28 09:49:05.000000000 +0900 +@@ -144,7 +144,8 @@ + + dnl backwards compability---if nothing else, do Makefile + define([AcOutputFiles],ifdef([AcOutputFiles],AcOutputFiles,Makefile)) +-AC_OUTPUT(AcOutputFiles) ++AC_CONFIG_FILES([Makefile]) ++AC_OUTPUT + + if test ! -d gen ; then + echo "creating ./gen" +diff -Naur otcl-1.13.orig/conf/configure.in.tcl otcl-1.13/conf/configure.in.tcl +--- otcl-1.13.orig/conf/configure.in.tcl 2007-02-19 07:16:52.000000000 +0900 ++++ otcl-1.13/conf/configure.in.tcl 2007-04-28 09:50:03.000000000 +0900 +@@ -91,6 +91,9 @@ + $d/include/tcl$TCL_ALT_VERS \ + $d/include \ + /usr/local/include \ ++ $d/lib/tcl$TCL_HI_VERS/include \ ++ $d/lib/tcl$TCL_VERS/include \ ++ $d/lib/tcl$TCL_ALT_VERS/include \ + " + TCL_H_PLACES=" \ + ../include \ +@@ -144,7 +147,14 @@ + /usr/include/tcl$TCL_VERS \ + /usr/include/tcl$TCL_HI_VERS \ + /usr/include/tcl$TCL_ALT_VERS \ +- /usr/include/tcl" ++ /usr/include/tcl \ ++ /usr/lib/tcl$TCL_VERS/include/unix \ ++ /usr/lib/tcl$TCL_HI_VERS/include/unix \ ++ /usr/lib/tcl$TCL_ALT_VERS/include/unix \ ++ /usr/lib/tcl$TCL_VERS/include/generic \ ++ /usr/lib/tcl$TCL_HI_VERS/include/generic \ ++ /usr/lib/tcl$TCL_ALT_VERS/include/generic \ ++ " + dnl /usr/include/tcl is for Debian Linux + dnl /usr/include/tcl-private/generic is for FC 4 + TCL_LIB_PLACES_D="$d \ +diff -Naur otcl-1.13.orig/conf/configure.in.x11 otcl-1.13/conf/configure.in.x11 +--- otcl-1.13.orig/conf/configure.in.x11 2006-09-28 14:25:04.000000000 +0900 ++++ otcl-1.13/conf/configure.in.x11 2007-04-28 09:49:05.000000000 +0900 +@@ -34,7 +34,7 @@ + + echo "checking for X11 header files" + if test "$x_includes" = NONE ; then +- AC_TEST_CPP([#include ],x_includes="",x_includes=NONE) ++ AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include ]])],[x_includes=""],[x_includes=NONE]) + if test "$x_includes" = NONE ; then + for i in $xincdirs ; do + if test -r $i/X11/Intrinsic.h; then diff --git a/dev-tcltk/otcl/metadata.xml b/dev-tcltk/otcl/metadata.xml new file mode 100644 index 0000000..d9408d8 --- /dev/null +++ b/dev-tcltk/otcl/metadata.xml @@ -0,0 +1,5 @@ + + + +tcltk + diff --git a/dev-tcltk/otcl/otcl-1.11.ebuild b/dev-tcltk/otcl/otcl-1.11.ebuild new file mode 100644 index 0000000..115f27e --- /dev/null +++ b/dev-tcltk/otcl/otcl-1.11.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/otcl/otcl-1.11.ebuild,v 1.5 2007/01/04 14:47:26 flameeyes Exp $ + +WANT_AUTOMAKE="latest" +WANT_AUTOCONF="latest" + +inherit eutils autotools virtualx + +DESCRIPTION="MIT Object extension to Tcl" +HOMEPAGE="http://otcl-tclcl.sourceforge.net/otcl/" +SRC_URI="mirror://sourceforge/otcl-tclcl/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~ppc sparc x86" +IUSE="" + +DEPEND=">=dev-lang/tcl-8.4.5 + >=dev-lang/tk-8.4.5" + +# the package is not safe :-( +MAKEOPTS="${MAKEOPTS} -j1" + +src_unpack() { + unpack ${A} + + EPATCH_OPTS="-p1 -d${S}" epatch ${FILESDIR}/otcl-1.11-badfreefix.patch + EPATCH_OPTS="-p1 -d${S}" epatch ${FILESDIR}/otcl-1.11-configure-cleanup.patch + + cd "${S}" + eautoreconf +} + +src_compile() { + local tclv tkv myconf + tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/') + tkv=$(grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/') + myconf="--with-tcl-ver=${tclv} --with-tk-ver=${tkv}" + CFLAGS="${CFLAGS} -I/usr/$(get_libdir)/tcl${tkv}/include/generic" + + echo myconf $myconf + econf ${myconf} || die "econf failed" + emake all || die "emake all failed" + emake libotcl.so || die "emake libotcl.so failed" +} + +src_install() { + dobin otclsh owish + dolib libotcl.so + dolib.a libotcl.a + insinto /usr/include + doins otcl.h + + # docs + dodoc VERSION + dohtml README.html CHANGES.html + docinto doc + dohtml doc/*.html +} + +src_test() { + Xmake test +} diff --git a/dev-tcltk/otcl/otcl-1.13.ebuild b/dev-tcltk/otcl/otcl-1.13.ebuild new file mode 100644 index 0000000..69b8e33 --- /dev/null +++ b/dev-tcltk/otcl/otcl-1.13.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/otcl/otcl-1.13.ebuild,v 1.1 2007/04/28 03:35:12 matsuu Exp $ + +WANT_AUTOMAKE="latest" +WANT_AUTOCONF="latest" + +inherit eutils autotools virtualx + +MY_P="${PN}-src-${PV}" +DESCRIPTION="MIT Object extension to Tcl" +HOMEPAGE="http://otcl-tclcl.sourceforge.net/otcl/" +SRC_URI="mirror://sourceforge/otcl-tclcl/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND=">=dev-lang/tcl-8.4.5 + >=dev-lang/tk-8.4.5" + +# the package is not safe :-( +MAKEOPTS="${MAKEOPTS} -j1" + +src_unpack() { + unpack ${A} + + cd "${S}" + + epatch "${FILESDIR}"/${PN}-1.11-badfreefix.patch + epatch "${FILESDIR}"/${P}-configure-cleanup.patch + + eautoreconf +} + +src_compile() { + local tclv tkv myconf + tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/') + tkv=$(grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/') + myconf="--with-tcl-ver=${tclv} --with-tk-ver=${tkv}" + CFLAGS="${CFLAGS} -I/usr/$(get_libdir)/tcl${tkv}/include/generic" + + echo myconf $myconf + econf ${myconf} || die "econf failed" + emake all || die "emake all failed" + emake libotcl.so || die "emake libotcl.so failed" +} + +src_install() { + dobin otclsh owish + dolib libotcl.so + dolib.a libotcl.a + insinto /usr/include + doins otcl.h + + # docs + dodoc VERSION + dohtml README.html CHANGES.html + docinto doc + dohtml doc/*.html +} + +src_test() { + Xmake test +} diff --git a/dev-tcltk/tclcl/ChangeLog b/dev-tcltk/tclcl/ChangeLog new file mode 100644 index 0000000..5cf6375 --- /dev/null +++ b/dev-tcltk/tclcl/ChangeLog @@ -0,0 +1,73 @@ +# ChangeLog for dev-tcltk/tclcl +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/ChangeLog,v 1.18 2007/05/03 15:19:16 gustavoz Exp $ + + 03 May 2007; Gustavo Zacarias + -files/tclcl-1.15-gcc34.patch, -tclcl-1.15.ebuild, -tclcl-1.16.ebuild, + tclcl-1.17.ebuild, tclcl-1.19.ebuild: + sparc stable the correct one and cleanup + + 03 May 2007; Gustavo Zacarias tclcl-1.19.ebuild: + Stable on sparc wrt #160007 + + 29 Apr 2007; Raúl Porcel tclcl-1.17.ebuild: + x86 stable wrt #160007 + +*tclcl-1.19 (28 Apr 2007) + + 28 Apr 2007; MATSUU Takuto + +files/tclcl-1.19-configure-cleanup.patch, +tclcl-1.19.ebuild: + Version bumped. + Added xorg dependency, bug #155129. + + 22 Feb 2007; Piotr Jaroszyński ChangeLog: + Transition to Manifest2. + + 04 Jan 2007; Diego Pettenò tclcl-1.17.ebuild: + Fix broken autotools handling. + +*tclcl-1.17 (15 May 2006) + + 15 May 2006; Robin H. Johnson + +files/tclcl-1.17-configure-cleanup.patch, +tclcl-1.17.ebuild: + Version bump, cleaning up configure stuff, needs to be sent upstream. + + 19 Jul 2005; David Holm tclcl-1.16.ebuild: + Added to ~ppc. + + 14 May 2005; MATSUU Takuto tclcl-1.15.ebuild: + Fixed compilation failure, Bug 78537. + + 13 May 2005; MATSUU Takuto + +files/tclcl-1.16-http.patch, tclcl-1.16.ebuild: + Fixed http.tcl library location. + +*tclcl-1.16 (03 Apr 2005) + + 03 Apr 2005; MATSUU Takuto +tclcl-1.16.ebuild: + Version bumped. Cleanup ebuild. + + 27 Oct 2004; Karol Wojtaszek + +files/tclcl-1.15-gcc34.patch, tclcl-1.15.ebuild: + Added ~amd64. Fixed gcc-34 compile issues. Thanks to aye@gentoo.pl in bug + #58455 + + 26 Aug 2004; Ferris McCormick tclcl-1.15.ebuild: + Stable for sparc. + + 27 Jul 2004; Robin H. Johnson tclcl-1.15.ebuild: + fix bug #57294. + + 04 Apr 2004; Chris Aniszczyk metadata.xml, + tclcl-1.15.ebuild: + Clean up. Added missing metadata.xml + + 10 Jan 2004; Robin H. Johnson tclcl-1.15.ebuild: + clean up ebuild + +*tclcl-1.15 (10 Jan 2004) + + 10 Jan 2004; Robin H. Johnson tclcl-1.15.ebuild: + Initial commit, original ebuild by Christophe Radovcic + , heavily updated by robbat2@gentoo.org + diff --git a/dev-tcltk/tclcl/Manifest b/dev-tcltk/tclcl/Manifest new file mode 100644 index 0000000..06c6cd7 --- /dev/null +++ b/dev-tcltk/tclcl/Manifest @@ -0,0 +1,9 @@ +AUX tclcl-1.16-http.patch 804 RMD160 d1c8f6250bde12bddc94224e5da31c0e71dd0a0f SHA1 f238f448630aa8d52f76d167e12b59a4bbcc121c SHA256 b4491f3e30d6379fbfd1d8a4e389f5d50203af89a4e1c62dcb572a883ead85bf +AUX tclcl-1.17-configure-cleanup.patch 8941 RMD160 71a7a38110a1ac4374a8bb2d1fd17c34bcb4b3eb SHA1 59aa0b8b13d2d6884c7ab6bb4f8ae4c881f37b10 SHA256 7144466bbd2cb9884a79250de838fa68efc479662bd2ae75e575d9c812c6f7da +AUX tclcl-1.19-configure-cleanup.patch 8032 RMD160 377de740a42ccfa151b8cacf5f4e6fc720b8d517 SHA1 2e1a9eef45dbb7a1bd92d2a94ea2d2bb77c20a76 SHA256 7ec32b046c12e37bb8102a1411853f58b3bb2ad5bfb67b4039a7d0a0a36e2ec3 +DIST tclcl-1.17.tar.gz 157001 RMD160 c2741cee05616f4b45e605e93896407592188855 SHA1 3b263e86c17d7e456926f981d5df0e381e217de3 SHA256 9f5753e12d04df0781383f0141b9dfa732cefec27a01ab27b3af64ff0aa89180 +DIST tclcl-src-1.19.tar.gz 174080 RMD160 a7bc0088e20fd91fd6a3ff1f8ff4d99649db7047 SHA1 4ecb4b45f439f9bf10539936a138d70dd32aa6d4 SHA256 460fbad1f9bca42ec41581df008c2b450155f655cfc7df46a92f80179efd9b36 +EBUILD tclcl-1.17.ebuild 1247 RMD160 84a64b202800d1c1e1aa83247375393be8a8a8c9 SHA1 f3ea9bcb6e203c9e93d5a753056fcedac0454a6b SHA256 ed9fbf94337e80cc632f54505933a11f3095e6f7eaf7a93fa9ab18cbde47e4b8 +EBUILD tclcl-1.19.ebuild 1228 RMD160 21039b17469b42b2bb9601ab10ac748e421f5770 SHA1 0469d923e27446aadcd2cb46b71902ba748c9692 SHA256 9fb1fe6b28c3ff56a3f2c6451228b60ec0edd29fcb735b9c2c137fdd384b412f +MISC ChangeLog 2507 RMD160 2abca97f72320ccb803ce21c99fb2879734bed70 SHA1 d1d49589d27ef0ee6de53d954b5a716a008b09d9 SHA256 09dabf1470279eba1446785c26bbcfee254b6f372f66132e809dad7a104cd06e +MISC metadata.xml 158 RMD160 f197c34c7dd71f6025e93436e3f999137928554a SHA1 edb8e5ac668440e92e947fc3dff54484b28c7775 SHA256 62fb2b0a899315973de885234e3931a2f652b343b68f90fe0778378fdca6f290 diff --git a/dev-tcltk/tclcl/files/tclcl-1.16-http.patch b/dev-tcltk/tclcl/files/tclcl-1.16-http.patch new file mode 100644 index 0000000..2e7c79b --- /dev/null +++ b/dev-tcltk/tclcl/files/tclcl-1.16-http.patch @@ -0,0 +1,22 @@ +diff -Naur tclcl-1.16.orig/conf/configure.in.tcl tclcl-1.16/conf/configure.in.tcl +--- tclcl-1.16.orig/conf/configure.in.tcl 2005-01-04 06:33:01.000000000 +0900 ++++ tclcl-1.16/conf/configure.in.tcl 2005-05-14 07:02:53.000000000 +0900 +@@ -178,6 +178,7 @@ + tcl_http_places=" \ + $V_LIBRARY_TCL \ + $V_LIBRARY_TCL/http \ ++ $V_LIBRARY_TCL/http2.5 \ + $V_LIBRARY_TCL/http2.4 \ + $V_LIBRARY_TCL/http2.3 \ + $V_LIBRARY_TCL/http2.1 \ +diff -Naur tclcl-1.16.orig/configure tclcl-1.16/configure +--- tclcl-1.16.orig/configure 2005-01-20 05:58:48.000000000 +0900 ++++ tclcl-1.16/configure 2005-05-14 07:03:06.000000000 +0900 +@@ -5531,6 +5531,7 @@ + tcl_http_places=" \ + $V_LIBRARY_TCL \ + $V_LIBRARY_TCL/http \ ++ $V_LIBRARY_TCL/http2.5 \ + $V_LIBRARY_TCL/http2.4 \ + $V_LIBRARY_TCL/http2.3 \ + $V_LIBRARY_TCL/http2.1 \ diff --git a/dev-tcltk/tclcl/files/tclcl-1.17-configure-cleanup.patch b/dev-tcltk/tclcl/files/tclcl-1.17-configure-cleanup.patch new file mode 100644 index 0000000..1f51aad --- /dev/null +++ b/dev-tcltk/tclcl/files/tclcl-1.17-configure-cleanup.patch @@ -0,0 +1,285 @@ +diff -Nuar tclcl-1.17.orig/conf/configure.in.audio tclcl-1.17/conf/configure.in.audio +--- tclcl-1.17.orig/conf/configure.in.audio 2005-10-02 14:26:19.000000000 -0700 ++++ tclcl-1.17/conf/configure.in.audio 2006-05-15 09:57:52.141864653 -0700 +@@ -90,10 +90,10 @@ + fi + fi + +-AC_TEST_CPP([#include ], x=audio/audio-sun.o, x="") ++AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include ]])],[x=audio/audio-sun.o],[x=""]) + V_OBJ_AUDIO="$V_OBJ_AUDIO $x" + +-AC_TEST_CPP([#include ], x=audio/audio-sun.o, x="") ++AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include ]])],[x=audio/audio-sun.o],[x=""]) + V_OBJ_AUDIO="$V_OBJ_AUDIO $x" + + case "$target" in +diff -Nuar tclcl-1.17.orig/conf/configure.in.dynamic tclcl-1.17/conf/configure.in.dynamic +--- tclcl-1.17.orig/conf/configure.in.dynamic 2005-10-02 14:26:19.000000000 -0700 ++++ tclcl-1.17/conf/configure.in.dynamic 2006-05-15 09:57:52.141864653 -0700 +@@ -59,7 +59,7 @@ + # results, and the version is kept in special file). + + if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then +- system=MP-RAS-`awk '{print $3}' /etc/.relid'` ++ system=MP-RAS-`awk '{print $3}' /etc/.relid` + fi + if test "`uname -s`" = "AIX" ; then + system=AIX-`uname -v`.`uname -r` +@@ -311,7 +311,7 @@ + hold_ldflags=$LDFLAGS + AC_MSG_CHECKING(for ld accepts -Bexport flag) + LDFLAGS="${LDFLAGS} -Wl,-Bexport" +- AC_TRY_LINK(, [int i;], found=yes, found=no) ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[int i;]])],[found=yes],[found=no]) + LDFLAGS=$hold_ldflags + AC_MSG_RESULT($found) + if test $found = yes; then +diff -Nuar tclcl-1.17.orig/conf/configure.in.head tclcl-1.17/conf/configure.in.head +--- tclcl-1.17.orig/conf/configure.in.head 2005-10-02 14:26:19.000000000 -0700 ++++ tclcl-1.17/conf/configure.in.head 2006-05-15 09:57:52.145864644 -0700 +@@ -32,12 +32,12 @@ + fi + + +-AC_CANONICAL_SYSTEM ++AC_CANONICAL_TARGET([]) + + AC_PROG_CC + AC_PROG_CXX +-AC_STDC_HEADERS +-AC_HAVE_HEADERS(string.h) ++AC_HEADER_STDC([]) ++AC_CHECK_HEADERS([string.h]) + + V_INCLUDE="" + V_LIB="" +@@ -76,8 +76,7 @@ + else + if test "$CC" = gcc ; then + AC_MSG_CHECKING(that $CXX can handle -O2) +- AC_TRY_COMPILE(, +- #if __GNUC__ < 2 || __GNUC_MINOR__ < 8 ++ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[#if __GNUC__ < 2 || __GNUC_MINOR__ < 8 + /* gcc */ + error + #endif +@@ -85,9 +84,9 @@ + /* egcs */ + int error; + #endif +- ,AC_MSG_RESULT(yes) +- OonS="-O2", # Optimize on Steroids +- AC_MSG_RESULT(no)) ++ ]])],[AC_MSG_RESULT(yes) ++ OonS="-O2"],[# Optimize on Steroids ++ AC_MSG_RESULT(no)]) + fi + fi + +@@ -152,19 +151,16 @@ + + # Checking validity of STL + AC_MSG_CHECKING(standard STL is available) +-AC_LANG_SAVE +-AC_LANG_CPLUSPLUS ++ ++AC_LANG_PUSH([C++]) + enable_stl="no" +-AC_TRY_COMPILE( +- #include ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include + #include + template class tlist : public list <_T> {}; +- , +- return 0; +- ,AC_MSG_RESULT(yes) +- enable_stl="yes", +- AC_MSG_RESULT(no)) +-AC_LANG_RESTORE ++ ]], [[return 0; ++ ]])],[AC_MSG_RESULT(yes) ++ enable_stl="yes"],[AC_MSG_RESULT(no)]) ++AC_LANG_POP([C++]) + + # This can be extended to support compilation-time module selection + V_STLOBJ="" +diff -Nuar tclcl-1.17.orig/conf/configure.in.int64_t tclcl-1.17/conf/configure.in.int64_t +--- tclcl-1.17.orig/conf/configure.in.int64_t 2005-10-02 14:26:19.000000000 -0700 ++++ tclcl-1.17/conf/configure.in.int64_t 2006-05-15 09:57:52.145864644 -0700 +@@ -22,19 +22,17 @@ + fi + + AC_CACHE_CHECK([for __int64_t],int64_t_HAVE___INT64_T,[ +-AC_TRY_RUN([ ++AC_RUN_IFELSE([AC_LANG_SOURCE([[ + main() { __int64_t x; exit (sizeof(x) >= 8 ? 0 : 1); } +-], +-int64_t_HAVE___INT64_T=yes,int64_t_HAVE___INT64_T=no,int64_t_HAVE___INT64_T=cross)]) ++]])],[int64_t_HAVE___INT64_T=yes],[int64_t_HAVE___INT64_T=no],[int64_t_HAVE___INT64_T=cross])]) + if test x"$int64_t_HAVE___INT64_T" = x"yes" -a "x$INT64_T_ALTERNATIVE" = xnone; then + INT64_T_ALTERNATIVE=__int64_t + fi + + AC_CACHE_CHECK([for long long],int64_t_HAVE_LONG_LONG,[ +-AC_TRY_RUN([ ++AC_RUN_IFELSE([AC_LANG_SOURCE([[ + main() { long long x; exit (sizeof(x) >= 8 ? 0 : 1); } +-], +-int64_t_HAVE_LONG_LONG=yes,int64_t_HAVE_LONG_LONG=no,int64_t_HAVE_LONG_LONG=cross)]) ++]])],[int64_t_HAVE_LONG_LONG=yes],[int64_t_HAVE_LONG_LONG=no],[int64_t_HAVE_LONG_LONG=cross])]) + if test x"$int64_t_HAVE_LONG_LONG" = x"yes" -a "x$INT64_T_ALTERNATIVE" = xnone; then + INT64_T_ALTERNATIVE="long long" + fi +diff -Nuar tclcl-1.17.orig/conf/configure.in.nse tclcl-1.17/conf/configure.in.nse +--- tclcl-1.17.orig/conf/configure.in.nse 2005-10-02 14:26:19.000000000 -0700 ++++ tclcl-1.17/conf/configure.in.nse 2006-05-15 09:57:52.145864644 -0700 +@@ -9,20 +9,20 @@ + dnl + + AC_MSG_CHECKING([for struct ether_header]) +-AC_TRY_COMPILE([ ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include + #include +-], [ ++]], [[ + int main() + { + struct ether_header etherHdr; + + return 1; + } +-], [ ++]])],[ + AC_DEFINE(HAVE_ETHER_HEADER_STRUCT) + AC_MSG_RESULT(found) +-], [ ++],[ + AC_MSG_RESULT(not found) + ]) + +@@ -31,20 +31,20 @@ + dnl Look for ether_addr + dnl + AC_MSG_CHECKING([for struct ether_addr]) +-AC_TRY_COMPILE([ ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include + #include +-], [ ++]], [[ + int main() + { + struct ether_addr etherAddr; + + return 0; + } +-], [ ++]])],[ + AC_DEFINE(HAVE_ETHER_ADDRESS_STRUCT) + AC_MSG_RESULT(found) +-], [ ++],[ + AC_MSG_RESULT(not found) + ]) + +@@ -57,14 +57,13 @@ + dnl + dnl look for SIOCGIFHWADDR + dnl +-AC_TRY_RUN( +-#include ++AC_RUN_IFELSE([AC_LANG_SOURCE([[#include + #include + int main() + { + int i = SIOCGIFHWADDR; + return 0; + } +-, AC_DEFINE(HAVE_SIOCGIFHWADDR), , echo 1 +-) ++]])],[AC_DEFINE(HAVE_SIOCGIFHWADDR)],[],[echo 1 ++]) + +diff -Nuar tclcl-1.17.orig/conf/configure.in.perl tclcl-1.17/conf/configure.in.perl +--- tclcl-1.17.orig/conf/configure.in.perl 2005-10-02 14:26:19.000000000 -0700 ++++ tclcl-1.17/conf/configure.in.perl 2006-05-15 09:57:52.145864644 -0700 +@@ -19,8 +19,8 @@ + dnl + AC_DEFUN(CHECK_PERL_VERSION, + [ +-echo $[$1] -e "require $[$2]" 1>&AC_FD_CC +-if $[$1] -e "require $[$2]" 2>&AC_FD_CC ++echo $[$1] -e "require $[$2]" 1>&AS_MESSAGE_LOG_FD() ++if $[$1] -e "require $[$2]" 2>&AS_MESSAGE_LOG_FD() + then + : good version + else +diff -Nuar tclcl-1.17.orig/conf/configure.in.tail tclcl-1.17/conf/configure.in.tail +--- tclcl-1.17.orig/conf/configure.in.tail 2005-10-02 14:26:19.000000000 -0700 ++++ tclcl-1.17/conf/configure.in.tail 2006-05-15 09:57:52.145864644 -0700 +@@ -144,7 +144,8 @@ + + dnl backwards compability---if nothing else, do Makefile + define([AcOutputFiles],ifdef([AcOutputFiles],AcOutputFiles,Makefile)) +-AC_OUTPUT(AcOutputFiles) ++AC_CONFIG_FILES([Makefile]) ++AC_OUTPUT + + if test ! -d gen ; then + echo "creating ./gen" +diff -Nuar tclcl-1.17.orig/conf/configure.in.tcl tclcl-1.17/conf/configure.in.tcl +--- tclcl-1.17.orig/conf/configure.in.tcl 2006-05-15 09:56:25.000000000 -0700 ++++ tclcl-1.17/conf/configure.in.tcl 2006-05-15 09:57:52.145864644 -0700 +@@ -84,6 +84,9 @@ + $d/include/tcl$TCL_VERS \ + $d/include/tcl$TCL_ALT_VERS \ + $d/include \ ++ $d/lib/tcl$TCL_HI_VERS/include \ ++ $d/lib/tcl$TCL_VERS/include \ ++ $d/lib/tcl$TCL_ALT_VERS/include \ + " + TCL_H_PLACES=" \ + ../include \ +@@ -134,7 +137,14 @@ + /usr/include/tcl$TCL_VERS \ + /usr/include/tcl$TCL_HI_VERS \ + /usr/include/tcl$TCL_ALT_VERS \ +- /usr/include/tcl" ++ /usr/include/tcl \ ++ /usr/lib/tcl$TCL_VERS/include/unix \ ++ /usr/lib/tcl$TCL_HI_VERS/include/unix \ ++ /usr/lib/tcl$TCL_ALT_VERS/include/unix \ ++ /usr/lib/tcl$TCL_VERS/include/generic \ ++ /usr/lib/tcl$TCL_HI_VERS/include/generic \ ++ /usr/lib/tcl$TCL_ALT_VERS/include/generic \ ++ " + dnl /usr/include/tcl is for Debian Linux + dnl /usr/include/tcl-private/generic is for FC 4 + TCL_LIB_PLACES_D="$d \ +diff -Nuar tclcl-1.17.orig/conf/configure.in.x11 tclcl-1.17/conf/configure.in.x11 +--- tclcl-1.17.orig/conf/configure.in.x11 2005-10-02 14:26:19.000000000 -0700 ++++ tclcl-1.17/conf/configure.in.x11 2006-05-15 09:57:52.145864644 -0700 +@@ -33,7 +33,7 @@ + + echo "checking for X11 header files" + if test "$x_includes" = NONE ; then +- AC_TEST_CPP([#include ],x_includes="",x_includes=NONE) ++ AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include ]])],[x_includes=""],[x_includes=NONE]) + if test "$x_includes" = NONE ; then + for i in $xincdirs ; do + if test -r $i/X11/Intrinsic.h; then +diff -Nuar tclcl-1.17.orig/configure.in tclcl-1.17/configure.in +--- tclcl-1.17.orig/configure.in 2005-10-02 14:26:19.000000000 -0700 ++++ tclcl-1.17/configure.in 2006-05-15 09:58:33.000000000 -0700 +@@ -1,7 +1,8 @@ + dnl 'autoconf' input file for the LBL C++ object Tcl library + dnl $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/files/tclcl-1.17-configure-cleanup.patch,v 1.1 2006/05/15 17:13:54 robbat2 Exp $ (LBL) + +-AC_INIT(Tcl.cc) ++AC_INIT ++AC_CONFIG_SRCDIR([Tcl.cc]) + + AC_CONFIG_HEADERS([config.h:config.h.in]) + diff --git a/dev-tcltk/tclcl/files/tclcl-1.19-configure-cleanup.patch b/dev-tcltk/tclcl/files/tclcl-1.19-configure-cleanup.patch new file mode 100644 index 0000000..471bf87 --- /dev/null +++ b/dev-tcltk/tclcl/files/tclcl-1.19-configure-cleanup.patch @@ -0,0 +1,264 @@ +diff -Naur tclcl-1.19.orig/conf/configure.in.audio tclcl-1.19/conf/configure.in.audio +--- tclcl-1.19.orig/conf/configure.in.audio 1998-07-17 15:07:29.000000000 +0900 ++++ tclcl-1.19/conf/configure.in.audio 2007-04-28 12:55:36.000000000 +0900 +@@ -90,10 +90,10 @@ + fi + fi + +-AC_TEST_CPP([#include ], x=audio/audio-sun.o, x="") ++AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include ]])],[x=audio/audio-sun.o],[x=""]) + V_OBJ_AUDIO="$V_OBJ_AUDIO $x" + +-AC_TEST_CPP([#include ], x=audio/audio-sun.o, x="") ++AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include ]])],[x=audio/audio-sun.o],[x=""]) + V_OBJ_AUDIO="$V_OBJ_AUDIO $x" + + case "$target" in +diff -Naur tclcl-1.19.orig/conf/configure.in.head tclcl-1.19/conf/configure.in.head +--- tclcl-1.19.orig/conf/configure.in.head 2001-04-12 08:49:06.000000000 +0900 ++++ tclcl-1.19/conf/configure.in.head 2007-04-28 12:55:36.000000000 +0900 +@@ -32,12 +32,12 @@ + fi + + +-AC_CANONICAL_SYSTEM ++AC_CANONICAL_TARGET([]) + + AC_PROG_CC + AC_PROG_CXX +-AC_STDC_HEADERS +-AC_HAVE_HEADERS(string.h) ++AC_HEADER_STDC([]) ++AC_CHECK_HEADERS([string.h]) + + V_INCLUDE="" + V_LIB="" +@@ -76,8 +76,7 @@ + else + if test "$CC" = gcc ; then + AC_MSG_CHECKING(that $CXX can handle -O2) +- AC_TRY_COMPILE(, +- #if __GNUC__ < 2 || __GNUC_MINOR__ < 8 ++ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[#if __GNUC__ < 2 || __GNUC_MINOR__ < 8 + /* gcc */ + error + #endif +@@ -85,9 +84,9 @@ + /* egcs */ + int error; + #endif +- ,AC_MSG_RESULT(yes) +- OonS="-O2", # Optimize on Steroids +- AC_MSG_RESULT(no)) ++ ]])],[AC_MSG_RESULT(yes) ++ OonS="-O2"],[# Optimize on Steroids ++ AC_MSG_RESULT(no)]) + fi + fi + +@@ -152,19 +151,16 @@ + + # Checking validity of STL + AC_MSG_CHECKING(standard STL is available) +-AC_LANG_SAVE +-AC_LANG_CPLUSPLUS ++ ++AC_LANG_PUSH([C++]) + enable_stl="no" +-AC_TRY_COMPILE( +- #include ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include + #include + template class tlist : public list <_T> {}; +- , +- return 0; +- ,AC_MSG_RESULT(yes) +- enable_stl="yes", +- AC_MSG_RESULT(no)) +-AC_LANG_RESTORE ++ ]], [[return 0; ++ ]])],[AC_MSG_RESULT(yes) ++ enable_stl="yes"],[AC_MSG_RESULT(no)]) ++AC_LANG_POP([C++]) + + # This can be extended to support compilation-time module selection + V_STLOBJ="" +diff -Naur tclcl-1.19.orig/conf/configure.in.int64_t tclcl-1.19/conf/configure.in.int64_t +--- tclcl-1.19.orig/conf/configure.in.int64_t 2005-09-01 10:54:05.000000000 +0900 ++++ tclcl-1.19/conf/configure.in.int64_t 2007-04-28 12:55:36.000000000 +0900 +@@ -22,19 +22,17 @@ + fi + + AC_CACHE_CHECK([for __int64_t],int64_t_HAVE___INT64_T,[ +-AC_TRY_RUN([ ++AC_RUN_IFELSE([AC_LANG_SOURCE([[ + main() { __int64_t x; exit (sizeof(x) >= 8 ? 0 : 1); } +-], +-int64_t_HAVE___INT64_T=yes,int64_t_HAVE___INT64_T=no,int64_t_HAVE___INT64_T=cross)]) ++]])],[int64_t_HAVE___INT64_T=yes],[int64_t_HAVE___INT64_T=no],[int64_t_HAVE___INT64_T=cross])]) + if test x"$int64_t_HAVE___INT64_T" = x"yes" -a "x$INT64_T_ALTERNATIVE" = xnone; then + INT64_T_ALTERNATIVE=__int64_t + fi + + AC_CACHE_CHECK([for long long],int64_t_HAVE_LONG_LONG,[ +-AC_TRY_RUN([ ++AC_RUN_IFELSE([AC_LANG_SOURCE([[ + main() { long long x; exit (sizeof(x) >= 8 ? 0 : 1); } +-], +-int64_t_HAVE_LONG_LONG=yes,int64_t_HAVE_LONG_LONG=no,int64_t_HAVE_LONG_LONG=cross)]) ++]])],[int64_t_HAVE_LONG_LONG=yes],[int64_t_HAVE_LONG_LONG=no],[int64_t_HAVE_LONG_LONG=cross])]) + if test x"$int64_t_HAVE_LONG_LONG" = x"yes" -a "x$INT64_T_ALTERNATIVE" = xnone; then + INT64_T_ALTERNATIVE="long long" + fi +diff -Naur tclcl-1.19.orig/conf/configure.in.nse tclcl-1.19/conf/configure.in.nse +--- tclcl-1.19.orig/conf/configure.in.nse 2000-03-10 10:49:32.000000000 +0900 ++++ tclcl-1.19/conf/configure.in.nse 2007-04-28 12:55:36.000000000 +0900 +@@ -9,20 +9,20 @@ + dnl + + AC_MSG_CHECKING([for struct ether_header]) +-AC_TRY_COMPILE([ ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include + #include +-], [ ++]], [[ + int main() + { + struct ether_header etherHdr; + + return 1; + } +-], [ ++]])],[ + AC_DEFINE(HAVE_ETHER_HEADER_STRUCT) + AC_MSG_RESULT(found) +-], [ ++],[ + AC_MSG_RESULT(not found) + ]) + +@@ -31,20 +31,20 @@ + dnl Look for ether_addr + dnl + AC_MSG_CHECKING([for struct ether_addr]) +-AC_TRY_COMPILE([ ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ + #include + #include +-], [ ++]], [[ + int main() + { + struct ether_addr etherAddr; + + return 0; + } +-], [ ++]])],[ + AC_DEFINE(HAVE_ETHER_ADDRESS_STRUCT) + AC_MSG_RESULT(found) +-], [ ++],[ + AC_MSG_RESULT(not found) + ]) + +@@ -57,14 +57,13 @@ + dnl + dnl look for SIOCGIFHWADDR + dnl +-AC_TRY_RUN( +-#include ++AC_RUN_IFELSE([AC_LANG_SOURCE([[#include + #include + int main() + { + int i = SIOCGIFHWADDR; + return 0; + } +-, AC_DEFINE(HAVE_SIOCGIFHWADDR), , echo 1 +-) ++]])],[AC_DEFINE(HAVE_SIOCGIFHWADDR)],[],[echo 1 ++]) + +diff -Naur tclcl-1.19.orig/conf/configure.in.perl tclcl-1.19/conf/configure.in.perl +--- tclcl-1.19.orig/conf/configure.in.perl 1999-01-22 11:37:20.000000000 +0900 ++++ tclcl-1.19/conf/configure.in.perl 2007-04-28 12:55:36.000000000 +0900 +@@ -19,8 +19,8 @@ + dnl + AC_DEFUN(CHECK_PERL_VERSION, + [ +-echo $[$1] -e "require $[$2]" 1>&AC_FD_CC +-if $[$1] -e "require $[$2]" 2>&AC_FD_CC ++echo $[$1] -e "require $[$2]" 1>&AS_MESSAGE_LOG_FD() ++if $[$1] -e "require $[$2]" 2>&AS_MESSAGE_LOG_FD() + then + : good version + else +diff -Naur tclcl-1.19.orig/conf/configure.in.tail tclcl-1.19/conf/configure.in.tail +--- tclcl-1.19.orig/conf/configure.in.tail 2000-11-14 11:15:01.000000000 +0900 ++++ tclcl-1.19/conf/configure.in.tail 2007-04-28 12:55:36.000000000 +0900 +@@ -144,7 +144,8 @@ + + dnl backwards compability---if nothing else, do Makefile + define([AcOutputFiles],ifdef([AcOutputFiles],AcOutputFiles,Makefile)) +-AC_OUTPUT(AcOutputFiles) ++AC_CONFIG_FILES([Makefile]) ++AC_OUTPUT + + if test ! -d gen ; then + echo "creating ./gen" +diff -Naur tclcl-1.19.orig/conf/configure.in.tcl tclcl-1.19/conf/configure.in.tcl +--- tclcl-1.19.orig/conf/configure.in.tcl 2007-02-19 07:16:52.000000000 +0900 ++++ tclcl-1.19/conf/configure.in.tcl 2007-04-28 12:56:21.000000000 +0900 +@@ -91,6 +91,9 @@ + $d/include/tcl$TCL_ALT_VERS \ + $d/include \ + /usr/local/include \ ++ $d/lib/tcl$TCL_HI_VERS/include \ ++ $d/lib/tcl$TCL_VERS/include \ ++ $d/lib/tcl$TCL_ALT_VERS/include \ + " + TCL_H_PLACES=" \ + ../include \ +@@ -144,7 +147,14 @@ + /usr/include/tcl$TCL_VERS \ + /usr/include/tcl$TCL_HI_VERS \ + /usr/include/tcl$TCL_ALT_VERS \ +- /usr/include/tcl" ++ /usr/include/tcl \ ++ /usr/lib/tcl$TCL_VERS/include/unix \ ++ /usr/lib/tcl$TCL_HI_VERS/include/unix \ ++ /usr/lib/tcl$TCL_ALT_VERS/include/unix \ ++ /usr/lib/tcl$TCL_VERS/include/generic \ ++ /usr/lib/tcl$TCL_HI_VERS/include/generic \ ++ /usr/lib/tcl$TCL_ALT_VERS/include/generic \ ++ " + dnl /usr/include/tcl is for Debian Linux + dnl /usr/include/tcl-private/generic is for FC 4 + TCL_LIB_PLACES_D="$d \ +diff -Naur tclcl-1.19.orig/conf/configure.in.x11 tclcl-1.19/conf/configure.in.x11 +--- tclcl-1.19.orig/conf/configure.in.x11 2006-09-28 14:25:04.000000000 +0900 ++++ tclcl-1.19/conf/configure.in.x11 2007-04-28 12:55:36.000000000 +0900 +@@ -34,7 +34,7 @@ + + echo "checking for X11 header files" + if test "$x_includes" = NONE ; then +- AC_TEST_CPP([#include ],x_includes="",x_includes=NONE) ++ AC_PREPROC_IFELSE([AC_LANG_SOURCE([[#include ]])],[x_includes=""],[x_includes=NONE]) + if test "$x_includes" = NONE ; then + for i in $xincdirs ; do + if test -r $i/X11/Intrinsic.h; then +diff -Naur tclcl-1.19.orig/configure.in tclcl-1.19/configure.in +--- tclcl-1.19.orig/configure.in 2005-09-01 10:54:05.000000000 +0900 ++++ tclcl-1.19/configure.in 2007-04-28 12:55:36.000000000 +0900 +@@ -1,7 +1,8 @@ + dnl 'autoconf' input file for the LBL C++ object Tcl library + dnl $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/files/tclcl-1.19-configure-cleanup.patch,v 1.1 2007/04/28 17:18:09 matsuu Exp $ (LBL) + +-AC_INIT(Tcl.cc) ++AC_INIT ++AC_CONFIG_SRCDIR([Tcl.cc]) + + AC_CONFIG_HEADERS([config.h:config.h.in]) + diff --git a/dev-tcltk/tclcl/metadata.xml b/dev-tcltk/tclcl/metadata.xml new file mode 100644 index 0000000..d9408d8 --- /dev/null +++ b/dev-tcltk/tclcl/metadata.xml @@ -0,0 +1,5 @@ + + + +tcltk + diff --git a/dev-tcltk/tclcl/tclcl-1.17.ebuild b/dev-tcltk/tclcl/tclcl-1.17.ebuild new file mode 100644 index 0000000..097f64f --- /dev/null +++ b/dev-tcltk/tclcl/tclcl-1.17.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/tclcl-1.17.ebuild,v 1.4 2007/05/03 15:19:16 gustavoz Exp $ + +WANT_AUTOMAKE="latest" +WANT_AUTOCONF="latest" + +inherit eutils autotools + +#MY_P="${PN}-src-${PV}" +DESCRIPTION="Tcl/C++ interface library" +HOMEPAGE="http://otcl-tclcl.sourceforge.net/tclcl/" +SRC_URI="mirror://sourceforge/otcl-tclcl/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~ppc sparc x86" +IUSE="" + +DEPEND=">=dev-lang/tcl-8.4.5 + >=dev-lang/tk-8.4.5 + >=dev-tcltk/otcl-1.11" + +src_unpack() { + unpack ${A} + EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${PN}-1.16-http.patch + EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${PN}-1.17-configure-cleanup.patch + cd "${S}" + eautoreconf +} + +src_compile() { + local tclv tkv myconf + + tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/') + tkv=$(grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/') + myconf="--with-tcl-ver=${tclv} --with-tk-ver=${tkv}" + + econf ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + dolib.a libtclcl.a + dobin tcl2c++ + insinto /usr/include + doins *.h + + dodoc FILES README VERSION + dohtml CHANGES.html +} diff --git a/dev-tcltk/tclcl/tclcl-1.19.ebuild b/dev-tcltk/tclcl/tclcl-1.19.ebuild new file mode 100644 index 0000000..cb79edb --- /dev/null +++ b/dev-tcltk/tclcl/tclcl-1.19.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclcl/tclcl-1.19.ebuild,v 1.3 2007/05/03 15:19:16 gustavoz Exp $ + +WANT_AUTOMAKE="latest" +WANT_AUTOCONF="latest" + +inherit eutils autotools + +MY_P="${PN}-src-${PV}" +DESCRIPTION="Tcl/C++ interface library" +HOMEPAGE="http://otcl-tclcl.sourceforge.net/tclcl/" +SRC_URI="mirror://sourceforge/otcl-tclcl/${MY_P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="x11-libs/libX11 + x11-libs/libXt + >=dev-lang/tcl-8.4.5 + >=dev-lang/tk-8.4.5 + >=dev-tcltk/otcl-1.11" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-1.16-http.patch + epatch "${FILESDIR}"/${P}-configure-cleanup.patch + eautoreconf +} + +src_compile() { + local tclv tkv myconf + + tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/') + tkv=$(grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/') + myconf="--with-tcl-ver=${tclv} --with-tk-ver=${tkv}" + + econf ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + dolib.a libtclcl.a + dobin tcl2c++ + insinto /usr/include + doins *.h + + dodoc FILES README VERSION + dohtml CHANGES.html +} diff --git a/net-analyzer/nam/ChangeLog b/net-analyzer/nam/ChangeLog new file mode 100644 index 0000000..f1fca35 --- /dev/null +++ b/net-analyzer/nam/ChangeLog @@ -0,0 +1,70 @@ +# ChangeLog for net-analyzer/nam +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nam/ChangeLog,v 1.18 2009/03/20 20:16:04 jmbsvicetto Exp $ + + 20 Mar 2009; Jorge Manuel B. S. Vicetto + metadata.xml: + Removing anant as a maintainer since he was retired. Fixed some QA warnings. + + 20 Mar 2009; Zac Medico nam-1.10.ebuild, + nam-1.11.ebuild: + Remove invalid code inside findtclver() which doesn't work with bash-4.0. + + 11 Dec 2007; nam-1.11-r1.ebuild: + Fix tk versioning (Patch thanks to Paul Tobias). Fixes bug #196055. + + 26 Jul 2007; Anant Narayanan metadata.xml: + Add myself to metadata. + + 22 Jul 2007; nam-1.10.ebuild, nam-1.11.ebuild, + nam-1.11-r1.ebuild: + Removed virtual/x11 dependency. + +*nam-1.11-r1 (18 Mar 2007) + + 18 Mar 2007; Cedric Krier +nam-1.11-r1.ebuild: + Fix for bug #170655 and some ebuild improve + + 20 Feb 2007; Markus Ullmann ChangeLog: + Redigest for Manifest2 + + 08 Oct 2006; Simon Stelling nam-1.11.ebuild: + marking -amd64; this is not 64bit save at all, doesn't even compile with + gcc4; bug 149880 + + 01 Aug 2006; Marcelo Goes + +files/nam-1.11-gcc4.patch, nam-1.11.ebuild: + Add gcc-4 patch for bug 137053. Thanks to P Purkayastha . + + 22 Jan 2006; Peter Volkov nam-1.10.ebuild, + nam-1.11.ebuild: + Modular X dependencies are fixed. + + 28 Aug 2005; Luis Medinas nam-1.11.ebuild: + Added ~amd64 keywords. Closes bug #100863. + + 19 Jul 2005; David Holm nam-1.11.ebuild: + Added to ~ppc. + +*nam-1.11 (26 Feb 2005) + + 26 Feb 2005; Robin H. Johnson +nam-1.11.ebuild: + Bug #82771, version bump. + + 13 Feb 2005; Robin H. Johnson metadata.xml: + Add myself to metadata. + + 11 Jul 2004; Eldad Zack +metadata.xml, nam-1.10.ebuild: + Tidy up, added debug to IUSE + + 11 Jun 2004; Ferris McCormick nam-1.10.ebuild: + Add ~sparc keyword. + +*nam-1.10 (22 Jan 2004) + + 22 Jan 2004; Robin H. Johnson nam-1.10.ebuild, + files/nam-1.9-correct_ettk.patch, files/nam-1.9-fixcasts.patch: + initial ebuild by Christophe Radovcic , + heavily modified by robbat2@gentoo.org. bug #28541. + diff --git a/net-analyzer/nam/Manifest b/net-analyzer/nam/Manifest new file mode 100644 index 0000000..b71b8d2 --- /dev/null +++ b/net-analyzer/nam/Manifest @@ -0,0 +1,9 @@ +AUX nam-1.11-gcc4.patch 1422 RMD160 98d520cd897a17dd72f6a03cc1492d1326f6147f SHA1 e2c1e107c1a6363da5d1b26e5d926f12b992162b SHA256 3409938e99d069585d05a9c90c9efed57120ee31f9f4ffb45ed788a555d5b7d7 +DIST nam-1.11.patch 681 RMD160 e57babbf4621453985607269d66cd771df5b768d SHA1 bb7a59a5162317bf1657115f5e95484c5bca5346 SHA256 cdb5639ff6df6084290e737fd4a778a2d7c65cf45e3bb07b3363981618832ccd +DIST nam-src-1.10.tar.gz 4324890 RMD160 377f96bc15f9c4f13079bbab7a5437706ff6d8c8 SHA1 301b5008664b5a153e35d4088edcd836afbd4ee1 SHA256 40e130ea4513af6c6b950821f422216ca1cb979acb30925a22b5da4e169bddb4 +DIST nam-src-1.11.tar.gz 4358578 RMD160 0b2c2550018a67b4081d5799a91d9964b4f731c8 SHA1 745ee2a8830831be3bee979401198b3510e1a7c8 SHA256 64d5f8e048d42e98a4c41af34355ac576d58718cb66a52d710ebdb9abb495919 +EBUILD nam-1.10.ebuild 1589 RMD160 8bbc5ab26aa69237c21c719942845c306994ebec SHA1 65a7e923c5aa04a7b588c17ce8ce37e429ef1d6e SHA256 e4b9ef46386261221af547645569a81b26fbece319b2de7335ad441d48e1de32 +EBUILD nam-1.11-r1.ebuild 1611 RMD160 f3ddf9de9c062d98ce8b9274388de8e8ad0cb099 SHA1 e36113736bad5205302f024d1a79c4c48adc2a1b SHA256 5230d5f605325d8bb225b24f952858ef9326ac9920521afaf0df6cab02ae5528 +EBUILD nam-1.11.ebuild 1846 RMD160 f254c314b7aa4325e338668221f830f21b4b319f SHA1 7397e5d2f3171dce8ead7b22402b3699e9ee6988 SHA256 d2a843fd6e077d013ffc2aac6be1339ad1684e1892b8f0dc5d6b7f46e1137b97 +MISC ChangeLog 2474 RMD160 e33ef9009204bdbdd3cb31af58719a3472a30efe SHA1 efc9e3bca4447b2c07d03f68d06295aeb551364c SHA256 0a8e25cb4a0a6be1695ea513c346bcc6ab0d86761bbdc350c6e8a46a096bf0aa +MISC metadata.xml 227 RMD160 f336bea9b419f2b28124afc8b43d4e30523c2499 SHA1 8fd794829b0fef78e38ae58db2bf4dc517fa513b SHA256 d877f35750cb4279f07034261ecb5b5c44285b4f6f3492c18f15fe9569903dc5 diff --git a/net-analyzer/nam/files/nam-1.11-gcc4.patch b/net-analyzer/nam/files/nam-1.11-gcc4.patch new file mode 100644 index 0000000..44b449b --- /dev/null +++ b/net-analyzer/nam/files/nam-1.11-gcc4.patch @@ -0,0 +1,38 @@ +diff -Nur nam-1.11.orig/netgraph.h nam-1.11/netgraph.h +--- nam-1.11.orig/netgraph.h 2000-05-18 14:06:32.000000000 -0400 ++++ nam-1.11/netgraph.h 2006-06-17 02:36:36.000000000 -0400 +@@ -68,7 +68,7 @@ + virtual void handle(const TraceEvent&, double now, int direction); + virtual int command(int argc, const char *const *argv); + virtual void BoundingBox(BBox&); +- virtual void NetGraph::render(GraphView* view); ++ virtual void render(GraphView* view); + protected: + GraphView *views_; + float graphdata_[MAX_GRAPH]; +diff -Nur nam-1.11.orig/node.h nam-1.11/node.h +--- nam-1.11.orig/node.h 2001-08-09 21:45:47.000000000 -0400 ++++ nam-1.11/node.h 2006-06-17 02:17:40.000000000 -0400 +@@ -223,7 +223,7 @@ + Queue* queue() { return queue_; } + void add_sess_queue(unsigned int grp, Queue *q); + char * getTclScript(); +- char * Node::getTclScriptLabel(); ++ char * getTclScriptLabel(); + void setTclScript(const char * label, const char * script); + + int command(int argc, const char * const * argv); +diff -Nur nam-1.11.orig/parser.h nam-1.11/parser.h +--- nam-1.11.orig/parser.h 2005-01-24 14:53:07.000000000 -0500 ++++ nam-1.11/parser.h 2006-06-17 02:16:59.000000000 -0400 +@@ -94,8 +94,8 @@ + class ParseTable { + public: + // +- static bool ParseTable::nam4wpan; +- static int ParseTable::wpan_bradius; ++ static bool nam4wpan; ++ static int wpan_bradius; + // + TraceSyntax * syntax_list; + private: diff --git a/net-analyzer/nam/metadata.xml b/net-analyzer/nam/metadata.xml new file mode 100644 index 0000000..63b5e28 --- /dev/null +++ b/net-analyzer/nam/metadata.xml @@ -0,0 +1,6 @@ + + + + netmon + Network Simulator GUI for NS + diff --git a/net-analyzer/nam/nam-1.10.ebuild b/net-analyzer/nam/nam-1.10.ebuild new file mode 100644 index 0000000..b986805 --- /dev/null +++ b/net-analyzer/nam/nam-1.10.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nam/nam-1.10.ebuild,v 1.10 2009/03/20 20:16:04 jmbsvicetto Exp $ + +DESCRIPTION="Network Simulator GUI for NS" +HOMEPAGE="http://www.isi.edu/nsnam/${PN}/" +SRC_URI="http://www.isi.edu/nsnam/dist/${PN}-src-${PV}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~sparc" +IUSE="debug" +need_tclver="8.4.4" +valid_tclver="${need_tclver}" +mytclver="" +DEPEND="x11-libs/libXmu + >=dev-lang/tcl-${need_tclver} + >=dev-lang/tk-${need_tclver} + >=dev-tcltk/otcl-1.0.8a + >=dev-tcltk/tclcl-1.0.13b + dev-tcltk/tcl-debug" +RDEPEND=">=net-analyzer/ns-2.27 + ${DEPEND}" + +findtclver() { + # input should always be in INCREASING order + local ACCEPTVER="8.3 8.4" + [ -n "$*" ] && ACCEPTVER="$*" + for i in ${ACCEPTVER}; do + use debug && einfo "Testing TCL ${i}" + has_version ">=dev-lang/tcl-${i}" && mytclver=${i} + done + use debug && einfo "Using TCL ${mytclver}" + if [ -z "${mytclver}" ]; then + die "Unable to find a suitable version of TCL" + fi +} + +src_compile() { + local myconf + findtclver ${valid_tclver} + myconf="${myconf} --with-tcl-ver=${mytclver} --with-tk-ver=${mytclver}" + + econf ${myconf} \ + --mandir=/usr/share/man \ + --enable-stl \ + --enable-release \ + || die "./configure failed" + emake || die +} + +src_install() { + dodir /usr/bin + make DESTDIR="${D}" install || die + dohtml CHANGES.html TODO.html + dodoc FILES VERSION INSTALL.WIN32 README + cp -ra ex "${D}/usr/share/doc/${PF}/examples" + cp -ra iecdemos edu "${D}/usr/share/doc/${PF}" + doman nam.1 +} diff --git a/net-analyzer/nam/nam-1.11-r1.ebuild b/net-analyzer/nam/nam-1.11-r1.ebuild new file mode 100644 index 0000000..6f77b92 --- /dev/null +++ b/net-analyzer/nam/nam-1.11-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nam/nam-1.11-r1.ebuild,v 1.4 2009/03/20 20:16:04 jmbsvicetto Exp $ + +inherit eutils versionator + +DESCRIPTION="Network Simulator GUI for NS" +HOMEPAGE="http://www.isi.edu/nsnam/nam" +MY_P="${PN}-src-${PV}" +SRC_URI_BASE="http://www.isi.edu/nsnam/dist/" +SRC_URI="${SRC_URI_BASE}/${MY_P}.tar.gz + ${SRC_URI_BASE}/${P}.patch" +LICENSE="BSD" +SLOT="0" +KEYWORDS="-amd64 ~ppc ~sparc ~x86" +IUSE="debug" +DEPEND="x11-libs/libXmu + >=dev-lang/tcl-8.4.4 + >=dev-lang/tk-8.4.4 + >=dev-tcltk/otcl-1.0.8a + >=dev-tcltk/tclcl-1.0.13b + debug? ( dev-tcltk/tcl-debug )" +RDEPEND=">=net-analyzer/ns-2.27 + ${DEPEND}" + +src_unpack() { + unpack ${MY_P}.tar.gz + EPATCH_OPTS="-d ${S} -p0" epatch "${DISTDIR}"/${P}.patch + # bug 137053 + epatch "${FILESDIR}"/${PN}-1.11-gcc4.patch +} + +src_compile() { + local tclver=$(best_version ">=dev-lang/tcl-8.4.4") + einfo "Using ${tclver}" + tclver=$(get_version_component_range 1-3 "${tclver:13}") + + local tkver=$(best_version ">=dev-lang/tk-8.4.4") + einfo "Using ${tkver}" + tkver=$(get_version_component_range 1-3 "${tkver:12}") + + econf \ + --mandir=/usr/share/man \ + --enable-release \ + --with-tcl-ver=${tclver} \ + --with-tk-ver=${tkver} \ + $(use_enable debug) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + dodir /usr/bin + emake DESTDIR="${D}" install || die "emake install failed" + + doman nam.1 + + dohtml CHANGES.html TODO.html + dodoc FILES VERSION README + for i in iecdemos edu ex; do + docinto ${i} + dodoc ${i}/* + done +} diff --git a/net-analyzer/nam/nam-1.11.ebuild b/net-analyzer/nam/nam-1.11.ebuild new file mode 100644 index 0000000..badc79a --- /dev/null +++ b/net-analyzer/nam/nam-1.11.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nam/nam-1.11.ebuild,v 1.8 2009/03/20 19:42:29 zmedico Exp $ + +inherit eutils + +DESCRIPTION="Network Simulator GUI for NS" +HOMEPAGE="http://www.isi.edu/nsnam/${PN}/" +MY_P="${PN}-src-${PV}" +SRC_URI_BASE="http://www.isi.edu/nsnam/dist/" +SRC_URI="${SRC_URI_BASE}/${MY_P}.tar.gz + ${SRC_URI_BASE}/${P}.patch" +LICENSE="BSD" +SLOT="0" +KEYWORDS="-amd64 ~ppc ~sparc ~x86" +IUSE="debug" +need_tclver="8.4.4" +valid_tclver="${need_tclver}" +mytclver="" +DEPEND="x11-libs/libXmu + >=dev-lang/tcl-${need_tclver} + >=dev-lang/tk-${need_tclver} + >=dev-tcltk/otcl-1.0.8a + >=dev-tcltk/tclcl-1.0.13b + dev-tcltk/tcl-debug" +RDEPEND=">=net-analyzer/ns-2.27 + ${DEPEND}" + +findtclver() { + # input should always be in INCREASING order + local ACCEPTVER="8.3 8.4" + [ -n "$*" ] && ACCEPTVER="$*" + for i in ${ACCEPTVER}; do + use debug && einfo "Testing TCL ${i}" + has_version ">=dev-lang/tcl-${i}" && mytclver=${i} + done + use debug && einfo "Using TCL ${mytclver}" + if [ -z "${mytclver}" ]; then + die "Unable to find a suitable version of TCL" + fi +} + +src_unpack() { + unpack ${MY_P}.tar.gz + EPATCH_OPTS="-d ${S} -p0" epatch "${DISTDIR}"/${P}.patch + # bug 137053 + epatch "${FILESDIR}"/${PN}-1.11-gcc4.patch +} + +src_compile() { + local myconf + findtclver ${valid_tclver} + myconf="${myconf} --with-tcl-ver=${mytclver} --with-tk-ver=${mytclver}" + + econf ${myconf} \ + --mandir=/usr/share/man \ + --enable-stl \ + --enable-release \ + || die "./configure failed" + emake || die +} + +src_install() { + dodir /usr/bin + emake DESTDIR="${D}" install || die + doman nam.1 + dohtml CHANGES.html TODO.html + dodoc FILES VERSION INSTALL.WIN32 README + docinto iecdemos ; dodoc iecdemos/* + docinto edu ; dodoc edu/* + docinto examples ; dodoc ex/* +} diff --git a/net-analyzer/ns/ChangeLog b/net-analyzer/ns/ChangeLog new file mode 100644 index 0000000..153e725 --- /dev/null +++ b/net-analyzer/ns/ChangeLog @@ -0,0 +1,122 @@ +# ChangeLog for net-analyzer/ns +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ns/ChangeLog,v 1.31 2009/05/13 15:06:27 fmccor Exp $ + +*ns-2.33 (13 May 2009) + + 13 May 2009; Ferris McCormick +ns-2.33.ebuild: + Version bump to ns-2.33 (upstream current). Verfied to work on sparc. + + 20 Mar 2009; Jorge Manuel B. S. Vicetto + metadata.xml: + Removing anant as a maintainer since he was retired. + + 03 Sep 2008; Christian Faulhammer + -files/ns-2.28-gentoo.diff, -files/ns-2.29-gcc41.patch, -ns-2.29.ebuild, + ns-2.31.ebuild: + clean up and unquote A variable + + 03 Sep 2008; Christian Faulhammer ns-2.29.ebuild, + ns-2.31.ebuild: + replace virtual/tetex with virtual/latex-base + + 01 Oct 2007; Anant Narayanan ns-2.31.ebuild: + Fix QA quoting issues. + +*ns-2.31 (01 Oct 2007) + + 01 Oct 2007; Anant Narayanan +ns-2.31.ebuild: + Bump to 2.31 + + 26 Jul 2007; Anant Narayanan metadata.xml: + Add myself to metadata. + + 20 Feb 2007; Markus Ullmann ChangeLog: + Redigest for Manifest2 + + 19 Jun 2006; Patrick McLean + +files/ns-2.29-gcc41.patch, ns-2.29.ebuild: + Add a patch to fix compilation with gcc 4.1. + +*ns-2.29 (15 May 2006) + + 15 May 2006; Robin H. Johnson +ns-2.29.ebuild: + Version bump to solve bugs #132555 (gcc4) and #86871 (interactive doc building. + + 29 Mar 2006; Emanuele Giaquinta + +files/ns-2.28-gcc41.patch, ns-2.28.ebuild: + Add patch for building with gcc-4.1. + + 30 Jan 2006; Robin H. Johnson Manifest: + Manifest fix. + + 29 Jan 2006; Marcus D. Hanwell ns-2.27-r1.ebuild: + Dependency update: media-gfx/xgraph -> sci-visualization/xgraph. + + 29 Jan 2006; Marcus D. Hanwell ns-2.28.ebuild: + Dependency update: media-gfx/xgraph -> sci-visualization/xgraph. + + 29 Aug 2005; Luis Medinas ns-2.27-r1.ebuild: + Added ~amd64 keywords to fix nam-1.11 dependency. + + 09 Aug 2005; Luis Medinas ns-2.28.ebuild: + Added ~amd64 Keywords. Closes bug #100863 . + + 19 Jul 2005; David Holm ns-2.28.ebuild: + Added to ~ppc. + +*ns-2.28 (21 Feb 2005) + + 21 Feb 2005; Robin H. Johnson + +files/ns-2.28-gentoo.diff, +ns-2.28.ebuild: + Bug #82770, version bump. + + 13 Feb 2005; Robin H. Johnson metadata.xml: + Add myself to metadata. + + 29 Jan 2005; Daniel Black ns-2.27-r1.ebuild: + changed net-libs/libpcap depend to virtual/libcap + + 23 Jan 2005; Aaron Walker +files/ns-2.27-gentoo.diff, + ns-2.27-r1.ebuild: + Fix compilation failure with gcc-3.4 for bug 70154. + + 13 Jul 2004; Eldad Zack +metadata.xml: + Added metadata + + 11 Jun 2004; Ferris McCormick ns-2.27-r1.ebuild: + Add ~sparc keyword. + + 07 Jun 2004; Michael Sterrett ns-2.27-r1.ebuild: + remove unnecessary variables and function; tidy + + 07 Jun 2004; Michael Sterrett ns-2.26-r1.ebuild, + ns-2.26.ebuild, ns-2.27.ebuild: + clean older ebuilds + + 18 May 2004; Mamoru KOMACHI ns-2.26-r1.ebuild, + ns-2.26.ebuild, ns-2.27-r1.ebuild, ns-2.27.ebuild: + Changed app-text/tetex to virtual/tetex, see bug #50865 + +*ns-2.27-r1 (27 Jan 2004) + + 27 Jan 2004; Robin H. Johnson ns-2.27-r1.ebuild, + ns-2.27.ebuild: + fix #39423, revision bump. + +*ns-2.27 (22 Jan 2004) + + 22 Jan 2004; Robin H. Johnson ns-2.27.ebuild: + add in latest release, which now works + +*ns-2.26-r1 (20 Jan 2004) + + 20 Jan 2004; Robin H. Johnson ns-2.26-r1.ebuild: + make it install the tutorials and all tcl files + +*ns-2.26 (11 Jan 2004) + + 11 Jan 2004; Robin H. Johnson ns-2.26.ebuild: + Initial commit, original ebuild by Christophe Radovcic + , heavily modified by robbat2@gentoo.org + diff --git a/net-analyzer/ns/Manifest b/net-analyzer/ns/Manifest new file mode 100644 index 0000000..4fa649a --- /dev/null +++ b/net-analyzer/ns/Manifest @@ -0,0 +1,6 @@ +DIST ns-2.33.tar.gz 41649114 RMD160 54326b8ff4e63c0a9712c517c7ad4d9327a41d39 SHA1 0efd6aed45b504fcf3f125b0be00a60b87516a03 SHA256 2cdd803bc5afec9a60d514e619a1a9c3eaea4ae35e882891519f088ae7d2472b +DIST ns-src-2.31.tar.gz 56719360 RMD160 ca8b17b241b25127859c89c79110f839982ca4b0 SHA1 095e0b599abb5b1c977320f435175e8d13487b7c SHA256 7cea6e80591be6331e8a158ab8a0d689d9e6f3ff4d9c11739af9bb5be5eaa166 +EBUILD ns-2.31.ebuild 3455 RMD160 92a69b410de6281bda7686fbc0fce78f48471d03 SHA1 afc271cccf4981450a8100fdcb648be98b23d2e5 SHA256 61ac3b566325a31a5d92e105e06c82073708e3557eae753a3d5afbd5e5d08ec3 +EBUILD ns-2.33.ebuild 3452 RMD160 2007f4085f2c7f601026ff435c042b169b89a6b9 SHA1 c80daba72ba6d83ed0971e295fe55be4639a298f SHA256 1efe0c3b85374ff3bc81f73d413c2e7eff3bf97ec30cb0c545bf3039c770c7e8 +MISC ChangeLog 4127 RMD160 e3ac6c436297c909a952b2ae35b4de57eaf155a9 SHA1 420393cf3f338b13113294d6edec7cba35603420 SHA256 0a0848380d9c64861291fa79bfa8e37606c618d17078673208bcd8836c605a4a +MISC metadata.xml 216 RMD160 a071ecc87d28160585bd3f6216043959022706e4 SHA1 978abe58cec13db15ad7ca0215a6a7abb22b0734 SHA256 4de280682bb6a30e8a2bf5dd645d1dde1c6abbb7f3cfc1e2cfbedc388f679484 diff --git a/net-analyzer/ns/metadata.xml b/net-analyzer/ns/metadata.xml new file mode 100644 index 0000000..ffcfc1d --- /dev/null +++ b/net-analyzer/ns/metadata.xml @@ -0,0 +1,6 @@ + + + + netmon + Network Simulator + diff --git a/net-analyzer/ns/ns-2.31.ebuild b/net-analyzer/ns/ns-2.31.ebuild new file mode 100644 index 0000000..38892f7 --- /dev/null +++ b/net-analyzer/ns/ns-2.31.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ns/ns-2.31.ebuild,v 1.4 2008/09/03 07:36:41 opfer Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="Network Simulator" +HOMEPAGE="http://www.isi.edu/nsnam/ns/" +SRC_URI="http://downloads.sourceforge.net/nsnam/${PN}-src-${PV}.tar.gz" + +LICENSE="BSD as-is" +SLOT="0" +KEYWORDS="~ppc ~sparc ~x86 ~amd64" +IUSE="doc debug" + +RDEPEND=">=dev-lang/tcl-8.4.5 + >=dev-lang/tk-8.4.5 + >=dev-tcltk/otcl-1.11 + >=dev-tcltk/tclcl-1.17 + virtual/libpcap + debug? ( =dev-lang/perl-5* + >=sci-visualization/xgraph-12.1 + >=dev-libs/dmalloc-4.8.2 + >=dev-tcltk/tcl-debug-2.0 )" +DEPEND="${RDEPEND} + doc? ( virtual/latex-base + virtual/ghostscript + dev-tex/latex2html )" + +src_unpack() { + unpack ${A} + cd "${S}" + sed '/$(CC)/s!-g!$(CFLAGS)!g' "${S}/indep-utils/model-gen/Makefile" +} + +src_compile() { + local myconf + local mytclver="" + local i + + tc-export CC CXX + + # correctness is more important than speed + replace-flags -Os -O2 + replace-flags -O3 -O2 + + use debug \ + && myconf="${myconf} --with-tcldebug=/usr/lib/tcldbg2.0" \ + || myconf="${myconf} --with-tcldebug=no" + myconf="${myconf} $(use_with debug dmalloc)" + + for i in 8.4 ; do + einfo "Testing TCL ${i}" + has_version "=dev-lang/tcl-${i}*" && mytclver=${i} + [ "${#mytclver}" -gt 2 ] && break + done + einfo "Using TCL ${mytclver}" + myconf="${myconf} --with-tcl-ver=${mytclver} --with-tk-ver=${mytclver}" + + econf \ + ${myconf} \ + --mandir=/usr/share/man \ + --enable-stl \ + --enable-release || die "./configure failed" + emake CCOPT="${CFLAGS}" || die + + cd "${S}/indep-utils/dosdbell" + emake DFLAGS="${CFLAGS}" || die + cd "${S}/indep-utils/dosreduce" + ${CC} ${CFLAGS} dosreduce.c -o dosreduce + cd "${S}/indep-utils/propagation" + ${CXX} ${CXXFLAGS} threshold.cc -o threshold + cd "${S}/indep-utils/model-gen" + emake CFLAGS="${CFLAGS}" || die + + if useq doc; then + einfo "Generating extra docs" + cd "${S}/doc" + yes '' | emake all + fi +} + +src_install() { + dodir /usr/bin /usr/share/man/man1 /usr/share/doc/${PF} /usr/share/ns + make DESTDIR="${D}" MANDEST=/usr/share/man install \ + || die "make install failed" + dobin nse + + dodoc BASE-VERSION COPYRIGHTS FILES HOWTO-CONTRIBUTE README VERSION + dohtml CHANGES.html TODO.html + + cd "${S}" + insinto /usr/share/ns + doins -r tcl + + cd "${S}/indep-utils/dosdbell" + dobin dosdbell dosdbellasim + newdoc README README.dosdbell + cd "${S}/indep-utils/dosreduce" + dobin dosreduce + newdoc README README.dosreduce + cd "${S}/indep-utils/cmu-scen-gen" + dobin cbrgen.tcl + newdoc README README.cbrgen + cd "${S}/indep-utils/propagation" + dobin threshold + cd "${S}/indep-utils/model-gen" + dobin http_connect http_active + + if use doc; then + cd "${S}/doc" + docinto doc + dodoc everything.dvi everything.ps.gz everything.html everything.pdf + docinto model-gen + cd "${S}/indep-utils/model-gen" + dodoc * + fi +} + +src_test() { + einfo "Warning, these tests will take upwards of 45 minutes." + einfo "Additionally, as shipped, a number of tests may fail." + einfo "We log to 'validate.run', which you should compare against" + einfo "the shipped 'validate.out' to evaluate success." + einfo "At the time of assembling this ebuild, these test suites failed:" + einfo "srm smac-multihop hier-routing algo-routing mcast vc" + einfo "session mixmode webcache mcache plm wireless-tdma" + ./validate 2>&1 | tee "${S}/validate.run" +} diff --git a/net-analyzer/ns/ns-2.33.ebuild b/net-analyzer/ns/ns-2.33.ebuild new file mode 100644 index 0000000..5aa2da5 --- /dev/null +++ b/net-analyzer/ns/ns-2.33.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ns/ns-2.33.ebuild,v 1.1 2009/05/13 15:06:27 fmccor Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="Network Simulator" +HOMEPAGE="http://www.isi.edu/nsnam/ns/" +SRC_URI="http://downloads.sourceforge.net/nsnam/${PN}-${PV}.tar.gz" + +LICENSE="BSD as-is" +SLOT="0" +KEYWORDS="~ppc ~sparc ~x86 ~amd64" +IUSE="doc debug" + +RDEPEND=">=dev-lang/tcl-8.4.5 + >=dev-lang/tk-8.4.5 + >=dev-tcltk/otcl-1.11 + >=dev-tcltk/tclcl-1.17 + virtual/libpcap + debug? ( =dev-lang/perl-5* + >=sci-visualization/xgraph-12.1 + >=dev-libs/dmalloc-4.8.2 + >=dev-tcltk/tcl-debug-2.0 )" +DEPEND="${RDEPEND} + doc? ( virtual/latex-base + virtual/ghostscript + dev-tex/latex2html )" + +src_unpack() { + unpack ${A} + cd "${S}" + sed '/$(CC)/s!-g!$(CFLAGS)!g' "${S}/indep-utils/model-gen/Makefile" +} + +src_compile() { + local myconf + local mytclver="" + local i + + tc-export CC CXX + + # correctness is more important than speed + replace-flags -Os -O2 + replace-flags -O3 -O2 + + use debug \ + && myconf="${myconf} --with-tcldebug=/usr/lib/tcldbg2.0" \ + || myconf="${myconf} --with-tcldebug=no" + myconf="${myconf} $(use_with debug dmalloc)" + + for i in 8.4 ; do + einfo "Testing TCL ${i}" + has_version "=dev-lang/tcl-${i}*" && mytclver=${i} + [ "${#mytclver}" -gt 2 ] && break + done + einfo "Using TCL ${mytclver}" + myconf="${myconf} --with-tcl-ver=${mytclver} --with-tk-ver=${mytclver}" + + econf \ + ${myconf} \ + --mandir=/usr/share/man \ + --enable-stl \ + --enable-release || die "./configure failed" + emake CCOPT="${CFLAGS}" || die + + cd "${S}/indep-utils/dosdbell" + emake DFLAGS="${CFLAGS}" || die + cd "${S}/indep-utils/dosreduce" + ${CC} ${CFLAGS} dosreduce.c -o dosreduce + cd "${S}/indep-utils/propagation" + ${CXX} ${CXXFLAGS} threshold.cc -o threshold + cd "${S}/indep-utils/model-gen" + emake CFLAGS="${CFLAGS}" || die + + if useq doc; then + einfo "Generating extra docs" + cd "${S}/doc" + yes '' | emake all + fi +} + +src_install() { + dodir /usr/bin /usr/share/man/man1 /usr/share/doc/${PF} /usr/share/ns + make DESTDIR="${D}" MANDEST=/usr/share/man install \ + || die "make install failed" + dobin nse + + dodoc BASE-VERSION COPYRIGHTS FILES HOWTO-CONTRIBUTE README VERSION + dohtml CHANGES.html TODO.html + + cd "${S}" + insinto /usr/share/ns + doins -r tcl + + cd "${S}/indep-utils/dosdbell" + dobin dosdbell dosdbellasim + newdoc README README.dosdbell + cd "${S}/indep-utils/dosreduce" + dobin dosreduce + newdoc README README.dosreduce + cd "${S}/indep-utils/cmu-scen-gen" + dobin cbrgen.tcl + newdoc README README.cbrgen + cd "${S}/indep-utils/propagation" + dobin threshold + cd "${S}/indep-utils/model-gen" + dobin http_connect http_active + + if use doc; then + cd "${S}/doc" + docinto doc + dodoc everything.dvi everything.ps.gz everything.html everything.pdf + docinto model-gen + cd "${S}/indep-utils/model-gen" + dodoc * + fi +} + +src_test() { + einfo "Warning, these tests will take upwards of 45 minutes." + einfo "Additionally, as shipped, a number of tests may fail." + einfo "We log to 'validate.run', which you should compare against" + einfo "the shipped 'validate.out' to evaluate success." + einfo "At the time of assembling this ebuild, these test suites failed:" + einfo "srm smac-multihop hier-routing algo-routing mcast vc" + einfo "session mixmode webcache mcache plm wireless-tdma" + ./validate 2>&1 | tee "${S}/validate.run" +} -- cgit v1.2.3-65-gdbad