From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MvFfF-000566-6y for garchives@archives.gentoo.org; Tue, 06 Oct 2009 19:25:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE67FE092B; Tue, 6 Oct 2009 19:25:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7D46AE092B for ; Tue, 6 Oct 2009 19:25:36 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 24E6E67D21 for ; Tue, 6 Oct 2009 19:25:36 +0000 (UTC) Received: from mescalinum by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1MvFfD-00055y-N7 for gentoo-commits@lists.gentoo.org; Tue, 06 Oct 2009 19:25:35 +0000 From: "Federico Ferri (mescalinum)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, mescalinum@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/tk: tk-8.5.7-r1.ebuild ChangeLog X-VCS-Repository: gentoo-x86 X-VCS-Files: tk-8.5.7-r1.ebuild ChangeLog X-VCS-Directories: dev-lang/tk X-VCS-Committer: mescalinum X-VCS-Committer-Name: Federico Ferri Content-Type: text/plain; charset=utf8 Message-Id: Sender: Federico Ferri Date: Tue, 06 Oct 2009 19:25:35 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: b845a8df-e68e-4cf1-8552-052de1a3c0ee X-Archives-Hash: 3ab266c7c798e268f7b6e3dd50b7dd90 mescalinum 09/10/06 19:25:35 Modified: ChangeLog Added: tk-8.5.7-r1.ebuild Log: normalize $S path, bug #280766 (pkgcore) (Portage version: 2.2_rc40/cvs/Linux x86_64) Revision Changes Path 1.130 dev-lang/tk/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/tk/Change= Log?rev=3D1.130&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/tk/Change= Log?rev=3D1.130&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/tk/Change= Log?r1=3D1.129&r2=3D1.130 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/dev-lang/tk/ChangeLog,v retrieving revision 1.129 retrieving revision 1.130 diff -u -r1.129 -r1.130 --- ChangeLog 27 Sep 2009 21:19:10 -0000 1.129 +++ ChangeLog 6 Oct 2009 19:25:35 -0000 1.130 @@ -1,6 +1,11 @@ # 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.129 2009/09= /27 21:19:10 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tk/ChangeLog,v 1.130 2009/10= /06 19:25:35 mescalinum Exp $ + +*tk-8.5.7-r1 (06 Oct 2009) + + 06 Oct 2009; Federico Ferri +tk-8.5.7-r1.ebuil= d: + normalize $S path, bug #280766 (pkgcore) =20 27 Sep 2009; Markus Meier tk-8.5.7.ebuild: arm stable, bug #280845 1.1 dev-lang/tk/tk-8.5.7-r1.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/tk/tk-8.5= .7-r1.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/tk/tk-8.5= .7-r1.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: tk-8.5.7-r1.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # 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.1 2= 009/10/06 19:25:35 mescalinum Exp $ WANT_AUTOCONF=3Dlatest WANT_AUTOMAKE=3Dlatest inherit autotools eutils multilib toolchain-funcs MY_P=3D"${PN}${PV/_beta/b}" DESCRIPTION=3D"Tk Widget Set" HOMEPAGE=3D"http://www.tcl.tk/" SRC_URI=3D"mirror://sourceforge/tcl/${MY_P}-src.tar.gz" LICENSE=3D"BSD" SLOT=3D"0" KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~s= parc ~x86 ~x86-fbsd" IUSE=3D"debug threads truetype" RDEPEND=3D"x11-libs/libX11 ~dev-lang/tcl-${PV}" DEPEND=3D"${RDEPEND} truetype? ( x11-libs/libXft ) x11-libs/libXt x11-proto/xproto" S=3D"${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=3D$(get_libdir) ; mylibdir=3D${mylibdir//\/} econf \ --with-tcl=3D/usr/${mylibdir} \ $(use_enable threads) \ $(use_enable truetype xft) \ $(use_enable debug symbols) || die emake || die } src_install() { #short version number local v1 v1=3D${PV%.*} cd "${S}"/unix S=3D emake DESTDIR=3D"${D}" install || die # normalize $S path, bug #280766 (pkgcore) local nS=3D"$(cd "${S}"; pwd)" # fix the tkConfig.sh to eliminate refs to the build directory local mylibdir=3D$(get_libdir) ; mylibdir=3D${mylibdir//\/} sed -i \ -e "s,^\(TK_BUILD_LIB_SPEC=3D'-L\)${nS}/unix,\1/usr/${mylibdir}," \ -e "s,^\(TK_SRC_DIR=3D'\)${nS}',\1/usr/${mylibdir}/tk${v1}/include'," \ -e "s,^\(TK_BUILD_STUB_LIB_SPEC=3D'-L\)${nS}/unix,\1/usr/${mylibdir}," = \ -e "s,^\(TK_BUILD_STUB_LIB_PATH=3D'\)${nS}/unix,\1/usr/${mylibdir}," \ -e "s,^\(TK_CC_SEARCH_FLAGS=3D'.*\)',\1:/usr/${mylibdir}'," \ -e "s,^\(TK_LD_SEARCH_FLAGS=3D'.*\)',\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 }