public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-libs/readline: ChangeLog readline-6.0.ebuild
@ 2009-02-21 21:38 Mike Frysinger (vapier)
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2009-02-21 21:38 UTC (permalink / raw
  To: gentoo-commits

vapier      09/02/21 21:38:03

  Modified:             ChangeLog
  Added:                readline-6.0.ebuild
  Log:
  Version bump #259830 by Lars (Polynomial-C).
  (Portage version: 2.2_rc23/cvs/Linux x86_64)

Revision  Changes    Path
1.125                sys-libs/readline/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/readline/ChangeLog?rev=1.125&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/readline/ChangeLog?rev=1.125&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/readline/ChangeLog?r1=1.124&r2=1.125

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/readline/ChangeLog,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -r1.124 -r1.125
--- ChangeLog	21 Feb 2009 21:31:57 -0000	1.124
+++ ChangeLog	21 Feb 2009 21:38:02 -0000	1.125
@@ -1,6 +1,12 @@
 # ChangeLog for sys-libs/readline
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/ChangeLog,v 1.124 2009/02/21 21:31:57 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/ChangeLog,v 1.125 2009/02/21 21:38:02 vapier Exp $
+
+*readline-6.0 (21 Feb 2009)
+
+  21 Feb 2009; Mike Frysinger <vapier@gentoo.org>
+  +files/readline-6.0-rlfe-build.patch, +readline-6.0.ebuild:
+  Version bump #259830 by Lars (Polynomial-C).
 
   21 Feb 2009; Ferris McCormick <fmccor@gentoo.org> readline-5.2_p13.ebuild:
   Sparc really stable this time --- Bug #255707.



1.1                  sys-libs/readline/readline-6.0.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/readline/readline-6.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/readline/readline-6.0.ebuild?rev=1.1&content-type=text/plain

Index: readline-6.0.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-6.0.ebuild,v 1.1 2009/02/21 21:38:02 vapier Exp $

inherit autotools eutils multilib toolchain-funcs flag-o-matic

# Official patches
# See ftp://ftp.cwru.edu/pub/bash/readline-6.0-patches/
PLEVEL=${PV##*_p}
MY_PV=${PV/_p*}
MY_P=${PN}-${MY_PV}
[[ ${PV} != *_p* ]] && PLEVEL=0

DESCRIPTION="Another cute console display library"
HOMEPAGE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
SRC_URI="mirror://gnu/readline/${MY_P}.tar.gz
	$(for ((i=1; i<=PLEVEL; i++)); do
		printf 'ftp://ftp.cwru.edu/pub/bash/readline-%s-patches/readline%s-%03d\n' \
			${MY_PV} ${MY_PV/\.} ${i}
		printf 'mirror://gnu/bash/readline-%s-patches/readline%s-%03d\n' \
			${MY_PV} ${MY_PV/\.} ${i}
	done)"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
IUSE=""

# We must be certain that we have a bash that is linked
# to its internal readline, else we may get problems.
RDEPEND=">=sys-libs/ncurses-5.2-r2"
DEPEND="${RDEPEND}
	>=app-shells/bash-2.05b-r2"

S=${WORKDIR}/${MY_P}

src_unpack() {
	unpack ${MY_P}.tar.gz

	cd "${S}"
	# Official patches
	local i
	for ((i=1; i<=PLEVEL; i++)); do
		epatch "${DISTDIR}"/${PN}${MY_PV/\.}-$(printf '%03d' ${i})
	done
	epatch "${FILESDIR}"/${PN}-5.0-no_rpath.patch
	epatch "${FILESDIR}"/${PN}-6.0-rlfe-build.patch #151174
	epatch "${FILESDIR}"/${PN}-5.2-no-ignore-shlib-errors.patch #216952

	# force ncurses linking #71420
	sed -i -e 's:^SHLIB_LIBS=:SHLIB_LIBS=-lncurses:' support/shobj-conf || die "sed"

	# the bundled rlfe had its configure.in updated, but no one actually
	# ran autoconf to have the configure file updated
	ln -s ../.. examples/rlfe/readline
	cd examples/rlfe
	eautoconf
}

src_compile() {
	append-cppflags -D_GNU_SOURCE

	econf --with-curses || die
	emake || die

	cd examples/rlfe
	append-ldflags -Lreadline
	econf || die
	emake || die "make rlfe failed"
}

src_install() {
	emake DESTDIR="${D}" install || die
	gen_usr_ldscript -a readline history #4411

	dobin examples/rlfe/rlfe || die

	dodoc CHANGELOG CHANGES README USAGE NEWS
	docinto ps
	dodoc doc/*.ps
	dohtml -r doc
}

pkg_preinst() {
	preserve_old_lib /$(get_libdir)/lib{history,readline}.so.{4,5} #29865
}

pkg_postinst() {
	preserve_old_lib_notify /$(get_libdir)/lib{history,readline}.so.{4,5}
}






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-libs/readline: ChangeLog readline-6.0.ebuild
@ 2009-02-24  8:57 Joshua Kinard (kumba)
  0 siblings, 0 replies; 2+ messages in thread
From: Joshua Kinard (kumba) @ 2009-02-24  8:57 UTC (permalink / raw
  To: gentoo-commits

kumba       09/02/24 08:57:47

  Modified:             ChangeLog readline-6.0.ebuild
  Log:
  Skip the rlfe bits if doing cross-compiling.
  (Portage version: 2.1.6.7/cvs/Linux mips64)

Revision  Changes    Path
1.127                sys-libs/readline/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/readline/ChangeLog?rev=1.127&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/readline/ChangeLog?rev=1.127&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/readline/ChangeLog?r1=1.126&r2=1.127

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/readline/ChangeLog,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -r1.126 -r1.127
--- ChangeLog	23 Feb 2009 00:56:39 -0000	1.126
+++ ChangeLog	24 Feb 2009 08:57:46 -0000	1.127
@@ -1,6 +1,9 @@
 # ChangeLog for sys-libs/readline
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/ChangeLog,v 1.126 2009/02/23 00:56:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/ChangeLog,v 1.127 2009/02/24 08:57:46 kumba Exp $
+
+  24 Feb 2009; Joshua Kinard <kumba@gentoo.org> readline-6.0.ebuild:
+  Skip the rlfe bits if doing cross-compiling.
 
 *readline-4.3_p5 (23 Feb 2009)
 



1.4                  sys-libs/readline/readline-6.0.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/readline/readline-6.0.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/readline/readline-6.0.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/readline/readline-6.0.ebuild?r1=1.3&r2=1.4

Index: readline-6.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-6.0.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- readline-6.0.ebuild	23 Feb 2009 00:56:09 -0000	1.3
+++ readline-6.0.ebuild	24 Feb 2009 08:57:47 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-6.0.ebuild,v 1.3 2009/02/23 00:56:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-6.0.ebuild,v 1.4 2009/02/24 08:57:47 kumba Exp $
 
 inherit autotools eutils multilib toolchain-funcs flag-o-matic
 
@@ -67,17 +67,21 @@
 	econf --with-curses || die
 	emake || die
 
-	cd examples/rlfe
-	append-ldflags -Lreadline
-	econf || die
-	emake || die "make rlfe failed"
+	if ! tc-is-cross-compiler ; then
+		cd examples/rlfe
+		append-ldflags -Lreadline
+		econf || die
+		emake || die "make rlfe failed"
+	fi
 }
 
 src_install() {
 	emake DESTDIR="${D}" install || die
 	gen_usr_ldscript -a readline history #4411
 
-	dobin examples/rlfe/rlfe || die
+	if ! tc-is-cross-compiler; then
+		dobin examples/rlfe/rlfe || die
+	fi
 
 	dodoc CHANGELOG CHANGES README USAGE NEWS
 	docinto ps






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-24  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-21 21:38 [gentoo-commits] gentoo-x86 commit in sys-libs/readline: ChangeLog readline-6.0.ebuild Mike Frysinger (vapier)
  -- strict thread matches above, loose matches on Subject: below --
2009-02-24  8:57 Joshua Kinard (kumba)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox