diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-11-29 15:23:01 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-11-29 15:23:01 +0000 |
commit | 7ebe0d42ec1bf3635581af84c331aebf33087fbb (patch) | |
tree | 6dd3e339d924d513b06e334557b6e3c73b08decc /dev-lang/tk | |
parent | sci-chemistry/vmd: Drop dep on old tk (diff) | |
download | gentoo-2-7ebe0d42ec1bf3635581af84c331aebf33087fbb.tar.gz gentoo-2-7ebe0d42ec1bf3635581af84c331aebf33087fbb.tar.bz2 gentoo-2-7ebe0d42ec1bf3635581af84c331aebf33087fbb.zip |
dev-lang/tk: Version Bump, #444296; Cleaned old
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'dev-lang/tk')
-rw-r--r-- | dev-lang/tk/ChangeLog | 12 | ||||
-rw-r--r-- | dev-lang/tk/files/remove-control-v-8.4.9.diff | 18 | ||||
-rw-r--r-- | dev-lang/tk/files/tk-8.4.15-aqua.patch | 9 | ||||
-rw-r--r-- | dev-lang/tk/files/tk-8.5.10-conf.patch | 31 | ||||
-rw-r--r-- | dev-lang/tk/files/tk-CVE-2007-4851.patch | 12 | ||||
-rw-r--r-- | dev-lang/tk/tk-8.4.18-r1.ebuild | 117 | ||||
-rw-r--r-- | dev-lang/tk/tk-8.4.18.ebuild | 114 | ||||
-rw-r--r-- | dev-lang/tk/tk-8.5.13.ebuild (renamed from dev-lang/tk/tk-8.5.11.ebuild) | 48 | ||||
-rw-r--r-- | dev-lang/tk/tk-8.5.7-r1.ebuild | 106 | ||||
-rw-r--r-- | dev-lang/tk/tk-8.5.7.ebuild | 103 | ||||
-rw-r--r-- | dev-lang/tk/tk-8.5.8-r1.ebuild | 112 | ||||
-rw-r--r-- | dev-lang/tk/tk-8.5.9-r1.ebuild | 112 |
12 files changed, 73 insertions, 721 deletions
diff --git a/dev-lang/tk/ChangeLog b/dev-lang/tk/ChangeLog index c842a57838a3..01a8a70771f3 100644 --- a/dev-lang/tk/ChangeLog +++ b/dev-lang/tk/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for dev-lang/tk # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/ChangeLog,v 1.174 2012/11/04 18:35:33 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/ChangeLog,v 1.175 2012/11/29 15:23:01 jlec Exp $ + +*tk-8.5.13 (29 Nov 2012) + + 29 Nov 2012; Justin Lecher <jlec@gentoo.org> + -files/remove-control-v-8.4.9.diff, files/tk-8.4.15-aqua.patch, + -tk-8.4.18.ebuild, -tk-8.4.18-r1.ebuild, -tk-8.5.7.ebuild, + -tk-8.5.7-r1.ebuild, -tk-8.5.8-r1.ebuild, -tk-8.5.9-r1.ebuild, + +files/tk-8.5.10-conf.patch, -tk-8.5.11.ebuild, +tk-8.5.13.ebuild, + -files/tk-CVE-2007-4851.patch: + Version Bump, #444296; Cleaned old 04 Nov 2012; Anthony G. Basile <blueness@gentoo.org> +files/tk-8.5.11-fix-name-collision-uclibc.patch, tk-8.5.11-r1.ebuild, 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 deleted file mode 100644 index 019659993c75..000000000000 --- a/dev-lang/tk/files/remove-control-v-8.4.9.diff +++ /dev/null @@ -1,18 +0,0 @@ -diff -Naur tk8.4.9.orig/library/text.tcl tk8.4.9/library/text.tcl ---- tk8.4.9.orig/library/text.tcl 2004-12-07 04:42:11.000000000 +0900 -+++ tk8.4.9/library/text.tcl 2005-03-02 23:04:01.729780958 +0900 -@@ -347,14 +347,6 @@ - catch { %W edit redo } - } - --if {$tcl_platform(platform) ne "windows"} { --bind Text <Control-v> { -- if {!$tk_strictMotif} { -- tk::TextScrollPages %W 1 -- } --} --} -- - bind Text <Meta-b> { - if {!$tk_strictMotif} { - tk::TextSetCursor %W [tk::TextPrevPos %W insert tcl_startOfPreviousWord] diff --git a/dev-lang/tk/files/tk-8.4.15-aqua.patch b/dev-lang/tk/files/tk-8.4.15-aqua.patch index 0131dbd69bd1..9e6f59d12ce6 100644 --- a/dev-lang/tk/files/tk-8.4.15-aqua.patch +++ b/dev-lang/tk/files/tk-8.4.15-aqua.patch @@ -1,14 +1,5 @@ --- unix/Makefile.in +++ unix/Makefile.in -@@ -280,7 +280,7 @@ - TK_RSRC_FILE = @TK_RSRC_FILE@ - WISH_RSRC_FILE = @WISH_RSRC_FILE@ - REZ = @REZ@ --REZ_SWITCHES = @REZ_FLAGS@ -i $(GENERIC_DIR) -i $(TCL_GENERIC_DIR) -+REZ_SWITCHES = @REZ_FLAGS@ -i $(GENERIC_DIR) -i $(TCL_GENERIC_DIR) -i @GENTOO_PORTAGE_EPREFIX@/usr/include - - #---------------------------------------------------------------- - # The information below is modified by the configure script when @@ -468,7 +468,7 @@ AQUA_HDRS = $(MAC_OSX_DIR)/tkMacOSX.h $(GENERIC_DIR)/tkIntXlibDecls.h diff --git a/dev-lang/tk/files/tk-8.5.10-conf.patch b/dev-lang/tk/files/tk-8.5.10-conf.patch new file mode 100644 index 000000000000..8a6104223d9a --- /dev/null +++ b/dev-lang/tk/files/tk-8.5.10-conf.patch @@ -0,0 +1,31 @@ + unix/tcl.m4 | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/unix/tcl.m4 b/unix/tcl.m4 +index 3974753..9c36eb5 100644 +--- a/unix/tcl.m4 ++++ b/unix/tcl.m4 +@@ -1420,12 +1420,12 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ + # 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" + AS_IF([test $doRpath = yes], [ +- CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}']) ++ CC_SEARCH_FLAGS='']) + LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS} + AS_IF([test "`uname -m`" = "alpha"], [CFLAGS="$CFLAGS -mieee"]) + AS_IF([test $do64bit = yes], [ +@@ -1452,7 +1452,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ + SHLIB_CFLAGS="-fPIC" + SHLIB_SUFFIX=".so" + +- SHLIB_LD='${CC} -shared' ++ SHLIB_LD='${CC} ${CFLAGS} -shared' + DL_OBJS="" + 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 deleted file mode 100644 index f461031091ae..000000000000 --- a/dev-lang/tk/files/tk-CVE-2007-4851.patch +++ /dev/null @@ -1,12 +0,0 @@ -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/tk-8.4.18-r1.ebuild b/dev-lang/tk/tk-8.4.18-r1.ebuild deleted file mode 100644 index e2faba823d36..000000000000 --- a/dev-lang/tk/tk-8.4.18-r1.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2010 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.10 2010/12/06 17:16:55 jlec Exp $ - -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) - - 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 deleted file mode 100644 index 9c8d013a1b91..000000000000 --- a/dev-lang/tk/tk-8.4.18.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2010 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.11 2010/12/06 17:16:55 jlec Exp $ - -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) - - 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.5.11.ebuild b/dev-lang/tk/tk-8.5.13.ebuild index 2ddcfd89ef82..8865fdf2d567 100644 --- a/dev-lang/tk/tk-8.5.11.ebuild +++ b/dev-lang/tk/tk-8.5.13.ebuild @@ -1,10 +1,11 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.5.11.ebuild,v 1.6 2012/11/04 18:35:32 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.5.13.ebuild,v 1.1 2012/11/29 15:23:01 jlec Exp $ EAPI=4 inherit autotools eutils multilib toolchain-funcs prefix +inherit autotools eutils multilib prefix toolchain-funcs virtualx MY_P="${PN}${PV/_beta/b}" @@ -19,10 +20,12 @@ IUSE="debug threads truetype aqua xscreensaver" RDEPEND=" !aqua? ( + media-libs/fontconfig x11-libs/libX11 x11-libs/libXt truetype? ( x11-libs/libXft ) - xscreensaver? ( x11-libs/libXScrnSaver ) ) + xscreensaver? ( x11-libs/libXScrnSaver ) + ) ~dev-lang/tcl-${PV}" DEPEND="${RDEPEND} !aqua? ( x11-proto/xproto )" @@ -30,30 +33,35 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_P}" src_prepare() { - epatch "${FILESDIR}"/${P}-fedora-xft.patch - epatch "${FILESDIR}"/${PN}-8.4.11-multilib.patch + tc-export CC + + epatch \ + "${FILESDIR}"/${PN}-8.5.11-fedora-xft.patch \ + "${FILESDIR}"/${PN}-8.4.11-multilib.patch epatch "${FILESDIR}"/${PN}-8.4.15-aqua.patch eprefixify unix/Makefile.in # Bug 125971 - epatch "${FILESDIR}"/${PN}-8.5_alpha6-tclm4-soname.patch + epatch "${FILESDIR}"/${PN}-8.5.10-conf.patch # Bug 354067 : the same applies to tk, since the patch is about tcl.m4, just # copy the tcl patch epatch "${FILESDIR}"/tcl-8.5.9-gentoo-fbsd.patch - # Bug 441630 - epatch "${FILESDIR}"/${PN}-8.5.11-fix-name-collision-uclibc.patch - - sed -i 's/FT_New_Face/XftFontOpen/g' unix/configure.in || die + # Make sure we use the right pkg-config, and link against fontconfig + # (since the code base uses Fc* functions). + sed \ + -e 's/FT_New_Face/XftFontOpen/g' \ + -e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \ + -e 's:xft freetype2:xft freetype2 fontconfig:' \ + -i unix/configure.in || die cd "${S}"/unix eautoreconf } src_configure() { - tc-export CC cd "${S}"/unix local mylibdir=$(get_libdir) @@ -71,6 +79,10 @@ src_compile() { cd "${S}"/unix && emake } +src_test() { + cd "${S}"/unix && Xemake test +} + src_install() { #short version number local v1 @@ -83,15 +95,17 @@ src_install() { local nS="$(cd "${S}"; pwd)" # fix the tkConfig.sh to eliminate refs to the build directory - local mylibdir=$(get_libdir) + local mylibdir=$(get_libdir); mylibdir=${mylibdir//\/} sed -i \ - -e "s,^\(TK_BUILD_LIB_SPEC='-L\)${nS}/unix,\1${EPREFIX}/usr/${mylibdir}," \ - -e "s,^\(TK_SRC_DIR='\)${nS}',\1${EPREFIX}/usr/${mylibdir}/tk${v1}/include'," \ - -e "s,^\(TK_BUILD_STUB_LIB_SPEC='-L\)${nS}/unix,\1${EPREFIX}/usr/${mylibdir}," \ - -e "s,^\(TK_BUILD_STUB_LIB_PATH='\)${nS}/unix,\1${EPREFIX}/usr/${mylibdir}," \ + -e "s,^TK_BUILD_LIB_SPEC='-L.*/unix ,TK_BUILD_LIB_SPEC='," \ + -e "s,^TK_SRC_DIR='.*',TK_SRC_DIR='${EPREFIX}/usr/${mylibdir}/tk${v1}/include'," \ + -e "s,^TK_BUILD_STUB_LIB_SPEC='-L.*/unix ,TK_BUILD_STUB_LIB_SPEC='," \ + -e "s,^TK_BUILD_STUB_LIB_PATH='.*/unix,TK_BUILD_STUB_LIB_PATH='${EPREFIX}/usr/${mylibdir}," \ + -e "s,^TK_LIB_FILE='libtk${v1}..TK_DBGX..so',TK_LIB_FILE=\"libtk${v1}\$\{TK_DBGX\}.so\"," \ + -e "s,^TK_STUB_LIB_SPEC='-L${EPREFIX}/usr/${mylibdir} ,TK_STUB_LIB_SPEC='," \ + -e "s,^TK_LIB_SPEC='-L${EPREFIX}/usr/${mylibdir} ,TK_LIB_SPEC='," \ "${ED}"/usr/${mylibdir}/tkConfig.sh || die - - if [[ ${CHOST} != *-darwin* ]]; then + if [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then sed -i \ -e "s,^\(TK_CC_SEARCH_FLAGS='.*\)',\1:${EPREFIX}/usr/${mylibdir}'," \ -e "s,^\(TK_LD_SEARCH_FLAGS='.*\)',\1:${EPREFIX}/usr/${mylibdir}'," \ diff --git a/dev-lang/tk/tk-8.5.7-r1.ebuild b/dev-lang/tk/tk-8.5.7-r1.ebuild deleted file mode 100644 index 1c50927ae70b..000000000000 --- a/dev-lang/tk/tk-8.5.7-r1.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# 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.5.7-r1.ebuild,v 1.3 2010/06/16 00:10:30 mr_bones_ Exp $ - -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 ~s390 ~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 - - # normalize $S path, bug #280766 (pkgcore) - local nS="$(cd "${S}"; pwd)" - - # 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\)${nS}/unix,\1/usr/${mylibdir}," \ - -e "s,^\(TK_SRC_DIR='\)${nS}',\1/usr/${mylibdir}/tk${v1}/include'," \ - -e "s,^\(TK_BUILD_STUB_LIB_SPEC='-L\)${nS}/unix,\1/usr/${mylibdir}," \ - -e "s,^\(TK_BUILD_STUB_LIB_PATH='\)${nS}/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 -} diff --git a/dev-lang/tk/tk-8.5.7.ebuild b/dev-lang/tk/tk-8.5.7.ebuild deleted file mode 100644 index 7e2affb6f537..000000000000 --- a/dev-lang/tk/tk-8.5.7.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.5.7.ebuild,v 1.12 2010/12/06 17:16:55 jlec Exp $ - -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 s390 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) - - 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 -} diff --git a/dev-lang/tk/tk-8.5.8-r1.ebuild b/dev-lang/tk/tk-8.5.8-r1.ebuild deleted file mode 100644 index b0a15cb501c0..000000000000 --- a/dev-lang/tk/tk-8.5.8-r1.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.5.8-r1.ebuild,v 1.14 2011/01/13 20:03:15 xarthisius Exp $ - -EAPI="3" - -inherit autotools eutils multilib toolchain-funcs prefix - -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 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="debug threads truetype aqua xscreensaver" - -RDEPEND=" - !aqua? ( - x11-libs/libX11 - x11-libs/libXt - truetype? ( x11-libs/libXft ) - xscreensaver? ( x11-libs/libXScrnSaver ) ) - ~dev-lang/tcl-${PV}" -DEPEND="${RDEPEND} - !aqua? ( x11-proto/xproto )" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-8.4.11-multilib.patch - - epatch "${FILESDIR}"/${PN}-8.4.15-aqua.patch - eprefixify unix/Makefile.in - - # Bug 125971 - epatch "${FILESDIR}"/${PN}-8.5_alpha6-tclm4-soname.patch - - sed -i 's/FT_New_Face/XftFontOpen/g' unix/configure.in || die - - cd "${S}"/unix - eautoreconf -} - -src_configure() { - tc-export CC - cd "${S}"/unix - - local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/} - - econf \ - --with-tcl="${EPREFIX}/usr/${mylibdir}" \ - $(use_enable threads) \ - $(use_enable aqua) \ - $(use_enable truetype xft) \ - $(use_enable xscreensaver xss) \ - $(use_enable debug symbols) -} - -src_compile() { - cd "${S}"/unix - emake || die -} - -src_install() { - #short version number - local v1 - v1=${PV%.*} - - cd "${S}"/unix - S= emake DESTDIR="${D}" install || die - - # normalize $S path, bug #280766 (pkgcore) - local nS="$(cd "${S}"; pwd)" - - # 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\)${nS}/unix,\1${EPREFIX}/usr/${mylibdir}," \ - -e "s,^\(TK_SRC_DIR='\)${nS}',\1${EPREFIX}/usr/${mylibdir}/tk${v1}/include'," \ - -e "s,^\(TK_BUILD_STUB_LIB_SPEC='-L\)${nS}/unix,\1${EPREFIX}/usr/${mylibdir}," \ - -e "s,^\(TK_BUILD_STUB_LIB_PATH='\)${nS}/unix,\1${EPREFIX}/usr/${mylibdir}," \ - "${ED}"/usr/${mylibdir}/tkConfig.sh || die - - if [[ ${CHOST} != *-darwin* ]]; then - sed -i \ - -e "s,^\(TK_CC_SEARCH_FLAGS='.*\)',\1:${EPREFIX}/usr/${mylibdir}'," \ - -e "s,^\(TK_LD_SEARCH_FLAGS='.*\)',\1:${EPREFIX}/usr/${mylibdir}'," \ - "${ED}"/usr/${mylibdir}/tkConfig.sh || die - fi - - # 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 "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/tk.h - rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/tkDecls.h - rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/tkPlatDecls.h - - # install symlink for libraries - #dosym libtk${v1}.a /usr/${mylibdir}/libtk.a - dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname) || die - dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a || die - - dosym wish${v1} /usr/bin/wish || die - - cd "${S}" - dodoc ChangeLog* README changes || die -} diff --git a/dev-lang/tk/tk-8.5.9-r1.ebuild b/dev-lang/tk/tk-8.5.9-r1.ebuild deleted file mode 100644 index c34ba53761e8..000000000000 --- a/dev-lang/tk/tk-8.5.9-r1.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/tk-8.5.9-r1.ebuild,v 1.8 2011/03/23 19:05:54 xarthisius Exp $ - -EAPI="3" - -inherit autotools eutils multilib toolchain-funcs prefix - -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 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="debug threads truetype aqua xscreensaver" - -RDEPEND=" - !aqua? ( - x11-libs/libX11 - x11-libs/libXt - truetype? ( x11-libs/libXft ) - xscreensaver? ( x11-libs/libXScrnSaver ) ) - ~dev-lang/tcl-${PV}" -DEPEND="${RDEPEND} - !aqua? ( x11-proto/xproto )" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-8.4.11-multilib.patch - - epatch "${FILESDIR}"/${PN}-8.4.15-aqua.patch - eprefixify unix/Makefile.in - - # Bug 125971 - epatch "${FILESDIR}"/${PN}-8.5_alpha6-tclm4-soname.patch - - sed -i 's/FT_New_Face/XftFontOpen/g' unix/configure.in || die - - cd "${S}"/unix - eautoreconf -} - -src_configure() { - tc-export CC - cd "${S}"/unix - - local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/} - - econf \ - --with-tcl="${EPREFIX}/usr/${mylibdir}" \ - $(use_enable threads) \ - $(use_enable aqua) \ - $(use_enable truetype xft) \ - $(use_enable xscreensaver xss) \ - $(use_enable debug symbols) -} - -src_compile() { - cd "${S}"/unix - emake || die -} - -src_install() { - #short version number - local v1 - v1=${PV%.*} - - cd "${S}"/unix - S= emake DESTDIR="${D}" install || die - - # normalize $S path, bug #280766 (pkgcore) - local nS="$(cd "${S}"; pwd)" - - # 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\)${nS}/unix,\1${EPREFIX}/usr/${mylibdir}," \ - -e "s,^\(TK_SRC_DIR='\)${nS}',\1${EPREFIX}/usr/${mylibdir}/tk${v1}/include'," \ - -e "s,^\(TK_BUILD_STUB_LIB_SPEC='-L\)${nS}/unix,\1${EPREFIX}/usr/${mylibdir}," \ - -e "s,^\(TK_BUILD_STUB_LIB_PATH='\)${nS}/unix,\1${EPREFIX}/usr/${mylibdir}," \ - "${ED}"/usr/${mylibdir}/tkConfig.sh || die - - if [[ ${CHOST} != *-darwin* ]]; then - sed -i \ - -e "s,^\(TK_CC_SEARCH_FLAGS='.*\)',\1:${EPREFIX}/usr/${mylibdir}'," \ - -e "s,^\(TK_LD_SEARCH_FLAGS='.*\)',\1:${EPREFIX}/usr/${mylibdir}'," \ - "${ED}"/usr/${mylibdir}/tkConfig.sh || die - fi - - # 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 "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/tk.h - rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/tkDecls.h - rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/tkPlatDecls.h - - # install symlink for libraries - #dosym libtk${v1}.a /usr/${mylibdir}/libtk.a - dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname) || die - dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a || die - - dosym wish${v1} /usr/bin/wish || die - - cd "${S}" - dodoc ChangeLog* README changes || die -} |