* [gentoo-commits] gentoo-x86 commit in dev-tcltk/blt: metadata.xml blt-2.4z-r10.ebuild ChangeLog
@ 2011-10-24 17:50 Justin Lecher (jlec)
0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2011-10-24 17:50 UTC (permalink / raw
To: gentoo-commits
jlec 11/10/24 17:50:58
Modified: metadata.xml ChangeLog
Added: blt-2.4z-r10.ebuild
Log:
Dropped rpath definitions, #359781; Bumped to EAPI=4
(Portage version: 2.2.0_alpha70/cvs/Linux x86_64)
Revision Changes Path
1.3 dev-tcltk/blt/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/blt/metadata.xml?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/blt/metadata.xml?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/blt/metadata.xml?r1=1.2&r2=1.3
Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-tcltk/blt/metadata.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- metadata.xml 19 Dec 2006 05:26:32 -0000 1.2
+++ metadata.xml 24 Oct 2011 17:50:58 -0000 1.3
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>tcltk</herd>
+ <herd>tcltk</herd>
</pkgmetadata>
1.48 dev-tcltk/blt/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/blt/ChangeLog?rev=1.48&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/blt/ChangeLog?rev=1.48&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/blt/ChangeLog?r1=1.47&r2=1.48
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-tcltk/blt/ChangeLog,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- ChangeLog 5 Aug 2011 11:12:07 -0000 1.47
+++ ChangeLog 24 Oct 2011 17:50:58 -0000 1.48
@@ -1,6 +1,12 @@
# ChangeLog for dev-tcltk/blt
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/blt/ChangeLog,v 1.47 2011/08/05 11:12:07 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/blt/ChangeLog,v 1.48 2011/10/24 17:50:58 jlec Exp $
+
+*blt-2.4z-r10 (24 Oct 2011)
+
+ 24 Oct 2011; Justin Lecher <jlec@gentoo.org> +blt-2.4z-r10.ebuild,
+ metadata.xml:
+ Dropped rpath definitions, #359781; Bumped to EAPI=4
05 Aug 2011; Naohiro Aota <naota@gentoo.org> blt-2.4z-r9.ebuild:
Add ~x86-fbsd.
1.1 dev-tcltk/blt/blt-2.4z-r10.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/blt/blt-2.4z-r10.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/blt/blt-2.4z-r10.ebuild?rev=1.1&content-type=text/plain
Index: blt-2.4z-r10.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/blt/blt-2.4z-r10.ebuild,v 1.1 2011/10/24 17:50:58 jlec Exp $
EAPI=4
inherit eutils flag-o-matic toolchain-funcs
MY_V_SUFFIX="-8.5.2"
DESCRIPTION="Extension to Tk, adding new widgets, geometry managers, and misc commands"
HOMEPAGE="
http://blt.sourceforge.net/
http://jos.decoster.googlepages.com/bltfortk8.5.2"
SRC_URI="http://jos.decoster.googlepages.com/${PN}${PV}${MY_V_SUFFIX}.tar.gz"
IUSE="jpeg X"
SLOT="0"
LICENSE="BSD"
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"
DEPEND="
dev-lang/tk
jpeg? ( virtual/jpeg )
X? ( x11-libs/libX11 )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}${PV}${MY_V_SUFFIX}"
src_prepare() {
epatch "${FILESDIR}/blt-2.4z-r4-fix-makefile.patch"
epatch "${FILESDIR}/blt-2.4z-r4-fix-makefile2.patch"
# From blt-2.4z-6mdk.src.rpm
epatch "${FILESDIR}"/blt2.4z-64bit.patch
#epatch "${FILESDIR}"/blt-2.4z-tcl8.5-fix.patch
epatch "${FILESDIR}"/blt-2.4z-tcl8.5-fixpkgruntime.patch
epatch "${FILESDIR}"/${P}-ldflags.patch
# Set the correct libdir and drop RPATH
sed \
-e "s:\(^libdir=\${exec_prefix}/\)lib:\1$(get_libdir):" \
-e 's:LD_RUN_PATH=.*$:LD_RUN_PATH="":g' \
-i configure* || die "sed configure* failed"
sed \
-e "/^scriptdir =/s:lib:$(get_libdir):" \
-i Makefile.in demos/Makefile.in || die "sed Makefile.in failed"
epatch "${FILESDIR}"/${P}-linking.patch
epatch "${FILESDIR}"/${P}-darwin.patch
}
src_configure() {
# bug 167934
append-flags -fPIC
LC_ALL=C \
econf \
--x-includes="${EPREFIX}/usr/include" \
--x-libraries="${EPREFIX}/usr/$(get_libdir)" \
--with-blt="${EPREFIX}/usr/$(get_libdir)" \
--with-tcl="${EPREFIX}/usr/$(get_libdir)" \
--with-tk="${EPREFIX}/usr/$(get_libdir)" \
--with-tclincls="${EPREFIX}/usr/include" \
--with-tkincls="${EPREFIX}/usr/include" \
--with-tcllibs="${EPREFIX}/usr/$(get_libdir)" \
--with-tklibs="${EPREFIX}/usr/$(get_libdir)" \
--with-cc="$(tc-getCC)" \
--with-cflags="${CFLAGS}" \
$(use_enable jpeg) \
$(use_with X x)
}
src_compile() {
# parallel borks
emake -j1 LDFLAGS="${LDFLAGS}"
}
src_install() {
sed \
-e "s:\.\./src/bltwish:${EPREFIX}/usr/bin/bltwish:g" \
-e "s:\.\./bltwish:${EPREFIX}/usr/bin/bltwish:g" \
-e "s:/usr/local/bin/bltwish:${EPREFIX}/usr/bin/bltwish:g" \
-e "s:/usr/local/bin/tclsh:${EPREFIX}/usr/bin/tclsh:g" \
-i demos/{,scripts/}*.tcl || die
dodir /usr/bin \
/usr/$(get_libdir)/blt2.4/demos/bitmaps \
/usr/share/man/mann \
/usr/include
emake -j1 INSTALL_ROOT="${D}" install
dodoc NEWS PROBLEMS README
dohtml html/*.html
for f in `ls "${ED}"/usr/share/man/mann` ; do
mv "${ED}"/usr/share/man/mann/${f} "${ED}"/usr/share/man/mann/${f/.n/.nblt}
done
# bug 259338 - dev-tcltk/blt-2.4z-r4 provides empty pkgIndex.tcl
cp "${FILESDIR}"/pkgIndex.tcl "${ED}"/usr/$(get_libdir)/blt2.4/pkgIndex.tcl
# fix for linking against shared lib with -lBLT or -lBLTlite
dosym libBLT24$(get_libname) /usr/$(get_libdir)/libBLT$(get_libname)
dosym libBLTlite24$(get_libname) /usr/$(get_libdir)/libBLTlite$(get_libname)
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-10-24 17:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-24 17:50 [gentoo-commits] gentoo-x86 commit in dev-tcltk/blt: metadata.xml blt-2.4z-r10.ebuild ChangeLog Justin Lecher (jlec)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox