Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-lang/tk
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/ChangeLog,v 1.109 2008/03/07 22:17:31 angelos Exp $
07 Mar 2008; Christoph Mende
Stable on amd64, bug #210326
25 Feb 2008; Jeroen Roovers
Stable for HPPA (bug #210326).
18 Feb 2008; Brent Baude
Marking tk-8.4.18 ppc64 for bug 210326
17 Feb 2008; Raúl Porcel
alpha/ia64/sparc stable wrt #210326
17 Feb 2008; nixnut
Stable on ppc wrt bug 210326
16 Feb 2008; Christian Faulhammer
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
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.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;
Version bumped.
Fixed wrong symlink wrt bug #200090.
*tk-8.5b (03 Nov 2007)
03 Nov 2007; Markus Ullmann
Version bump, dropping keywords as status wrt other packages is untested
23 Sep 2007; Ferris McCormick
Sparc stable --- security Bug #192539 --- has been running fine.
20 Sep 2007; Brent Baude
keywording tk-8.4.15-r1 ppc64 for bug#190697
17 Sep 2007; Tobias Scherbaum
ppc stable, bug #192539
17 Sep 2007; Raúl Porcel
alpha/ia64 stable wrt security #192539
16 Sep 2007; Christoph Mende
Stable on amd64 wrt security bug #192539
16 Sep 2007; Markus Meier
x86 stable, security bug #192539
16 Sep 2007; Jeroen Roovers
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
Stable on amd64 wrt bug #178320
18 Aug 2007; nixnut
Stable on ppc wrt bug 178320
15 Aug 2007; Jeroen Roovers
Stable for HPPA (bug #178320).
14 Aug 2007; Markus Rothe
Stable on ppc64; bug #178320
14 Aug 2007; Raúl Porcel
alpha/ia64/x86 stable wrt #178320
13 Aug 2007; Ferris McCormick
Sparc stable --- Bug #178320 --- no problems.
22 Jul 2007; Hans de Graaff
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
Fixed library filenames issue, bug #149037.
25 May 2007; Brent Baude
Marking tk-8.4.14 ppc64 stable for bug 178320
20 May 2007; nixnut
Stable on ppc wrt bug 178320
16 May 2007; Christian Faulhammer
stable amd64, bug 178320
15 May 2007; Raúl Porcel
alpha/ia64/x86 stable wrt #178320
15 May 2007; Ferris McCormick
Sparc stable --- Bug #178320 --- Has been without problems for over 4 months.
15 May 2007; Jeroen Roovers
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.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.4.14.ebuild:
Version bumped.
26 Dec 2006; Mike Frysinger
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ò
Add ~x86-fbsd keyword.
24 Mar 2006; Aron Griffis
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
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-r1.ebuild, tk-8.4.9.ebuild:
more modular X dependencies
*tk-8.4.11-r1 (08 Jan 2006)
08 Jan 2006; MATSUU Takuto
Fixed fails with bash3.1, Bug 117982
11 Dec 2005; Donnie Berkholz
Fix them.
11 Dec 2005; Donnie Berkholz
Add modular X dependencies.
03 Aug 2005; Bryan Østergaard
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
Stable on ppc64
03 Jun 2005; Mike Frysinger
Touchup libdir usage to get rid of all the // gremlins.
27 May 2005; Joseph Jezak
Marked ppc stable.
09 May 2005; Gustavo Zacarias
Stable on sparc
08 May 2005; Marcus D. Hanwell
Stable on amd64.
07 May 2005; Aron Griffis
stable on ia64
07 May 2005; MATSUU Takuto
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
Multilib fixes.
10 Nov 2004; Joseph Jezak
Marked ppc stable.
06 Oct 2004; Bryan Østergaard
Stable on alpha.
21 Sep 2004; Danny van Dyk
Marked stable on amd64.
14 Sep 2004; Guy Martin
Stable on hppa.
09 Sep 2004; Gustavo Zacarias
Keyworded sparc
06 Sep 2004; Ciaran McCreesh
tk-8.4.6-r1.ebuild, tk-8.4.6.ebuild:
Switch to use epause and ebeep, bug #62950
30 Aug 2004; Tom Gall
stable on ppc64, bug #61745
25 Aug 2004; Doug Goldstein
Stable on x86
18 Aug 2004; Aron Griffis
stable on alpha and ia64
*tk-8.4.6-r1 (07 Aug 2004)
07 Aug 2004; Doug Goldstein
+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
Marked stable for sparc.
04 Jun 2004; Michael Sterrett
ppc64 needs a stable virtual/x11 first. Removed keyword
31 May 2004; Tom Gall
stable on ppc64
02 May 2004;
Stable on mips
25 Apr 2004; Michael Sterrett
tk-8.4.6.ebuild:
don't depend on use echo
24 Apr 2004; Ian Leitch
tk-8.4.6.ebuild:
Enable threads with local USE flag 'threads'. #2024
20 Apr 2004; Ian Leitch
Marked stable on amd64
20 Apr 2004; Ian Leitch
-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
remove ppc64 for now, we're not ready
*tk-8.4.6 (04 Mar 2004)
04 Mar 2004; Martin Holzer
Verison bumped.
04 Jan 2004;
Added mips to KEYWORDS
03 Jan 2004; Aron Griffis
Add ~alpha
03 Jan 2004; Brian Jackson
repoman still complaining, 8.3.4 to ia64 to match tcl
03 Jan 2004; Brian Jackson
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
Added to ~ppc.
*tk-8.4.5 (07 Dec 2003)
07 Dec 2003; Martin Holzer
Version bumped.
07 Dec 2003; Martin Holzer
tk-8.4.4.ebuild:
changing to sf
16 Nov 2003; Brad House
mark stable on amd64
*tk-8.4.4 (22 Oct 2003)
22 Oct 2003; Martin Holzer
Version bumped.
*tk-8.4.3 (30 Jun 2003)
30 Sep 2003; Joshua Kinard
Added ~sparc & ~mips to KEYWORDS
30 Jun 2003; Daniel Ahlberg
Version bump.
*tk-8.4.2-r1 (19 May 2003)
19 May 2003; Stanislav Brabec
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
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
fixed sed expression, hopefully closes bug #18300 by Marc 'huz' REYNES
06 Dec 2002; Rodney Rees
*tk-8.3.4 (18 Dec 2002)
20 Mar 2003; Zach Welch
add arm keyword
08 Mar 2003; Guy Martin
Added hppa to keywords.
18 Dec 2002; Stefan Jones
New revision.
*tk-8.3.3-r3 (11 Nov 2002)
20 Mar 2003; Zach Welch
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
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
Added ppc to keywords
13 Jul 2002; Seemant Kulleen
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
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
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.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX remove-control-v-8.4.9.diff 522 RMD160 393f14c68f75795bc10e94d00a2e4d470ab50e4d SHA1 e45327e49545a8ef6132bec7303ef0b19a06e794 SHA256 f82a147821e6eb4cda3674568450903de864c99d73cae6062b56c391e7290bba
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.5.1-src.tar.gz 3759545 RMD160 5e1196db5415771e5a7bf38425cacd7cb0ee1cd8 SHA1 3280ca4572f19c5dd379380e9a02d382127f3378 SHA256 d25126147f5fa8423de35cefd07b37583cf9c281a396f49450de42251e095fe7
EBUILD tk-8.4.15-r1.ebuild 3282 RMD160 046af5794309296edb2e132e8fe58a27bd4ceb31 SHA1 c5967f59102ecfec481e3073ae8ba2202e9f8a8a SHA256 0dd4adff78b47783129e1d57973eaf371f0cf8cc61b1ae737176b149e6ddab7e
EBUILD tk-8.4.18.ebuild 3226 RMD160 b83bab1ab6ebc102aeab35a8ba8a144a3c4fb428 SHA1 8b172d6b6fe7e082903635700d29844179a1accb SHA256 1610f4aac4a9d61c823075b61fa96a722236fc3b33d6c64ede8f0e95483095e2
EBUILD tk-8.5.1.ebuild 2832 RMD160 a336782e53eecbcf7a3deea85ca9337be3efc8b9 SHA1 5b66b8931006d5decbe2839f82c95f7d5867236d SHA256 3cc7d680ffe4539e7766b1afd72fc4c5de33512553e9b8af075251a70156a296
MISC ChangeLog 15158 RMD160 e341207670456f7d9aa313382f0cf3eb6d4ac684 SHA1 162982b60330a3fb63080cc7e47d2b3cc8428303 SHA256 eb3cf24bb204a377cef1b8a112e87bc8f3773adef6abc0b6f7021e3daba4717d
MISC metadata.xml 159 RMD160 117cc289391c0477579de68e7347628756673eac SHA1 37f242cbf27c6e859fc63487487fdcae09d6931f SHA256 2cf13398186ae4abcd9f41c51ffb3bcdcc7da32df2c2af5c2de2e2cc8ad194ce
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFH0b8BKhnDs22gwa8RAieSAKCUWUIMX6wQQZ8UMoIgl1kUqepTNgCg+z6P
HnEhyz8++WuR6sOzcR1k+NI=
=LKhX
-----END PGP SIGNATURE-----
# 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
}
# 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.7 2008/03/07 22:17:31 angelos 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
}
# 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.5.1.ebuild,v 1.1 2008/02/16 04:43:32 matsuu Exp $
WANT_AUTOCONF=latest
WANT_AUTOMAKE=latest
inherit autotools eutils multilib toolchain-funcs
MY_P="${PN}${PV/_beta/b}"
DESCRIPTION="Tk Widget Set"
HOMEPAGE="http://www.tcl.tk/"
SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="debug threads truetype"
RDEPEND="x11-libs/libX11
~dev-lang/tcl-${PV}"
DEPEND="${RDEPEND}
truetype? ( x11-libs/libXft )
x11-libs/libXt
x11-proto/xproto"
S="${WORKDIR}/${MY_P}"
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}"/${PN}-8.5_alpha6-tclm4-soname.patch
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 truetype xft) \
$(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 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
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
}