summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2008-03-17 15:40:30 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2008-03-17 15:40:30 +0000
commit135d044c1e10e26ca4ecd3499e43766a74c6b76b (patch)
tree6864a4473d5410fd0eba935c52476fcf1f40f17c /dev-libs
parentAnother version bump and CL tweakage (diff)
downloadhistorical-135d044c1e10e26ca4ecd3499e43766a74c6b76b.tar.gz
historical-135d044c1e10e26ca4ecd3499e43766a74c6b76b.tar.bz2
historical-135d044c1e10e26ca4ecd3499e43766a74c6b76b.zip
Version bump, fixes also bug #206302. Removed arm arch, I'll re-add it when slang-2.x will have it.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/newt/ChangeLog5
-rw-r--r--dev-libs/newt/Manifest10
-rw-r--r--dev-libs/newt/newt-0.52.8.ebuild74
3 files changed, 84 insertions, 5 deletions
diff --git a/dev-libs/newt/ChangeLog b/dev-libs/newt/ChangeLog
index d4db5b2e275b..ba07f0adcd05 100644
--- a/dev-libs/newt/ChangeLog
+++ b/dev-libs/newt/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/newt
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.41 2008/03/03 09:11:33 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.42 2008/03/17 15:40:30 xmerlin Exp $
+
+ 17 Mar 2008; Christian Zoffoli <xmerlin@gentoo.org> +newt-0.52.8.ebuild:
+ Version bump, fixes also bug #206302. Removed arm arch, I'll re-add it when slang-2.x will have it.
03 Mar 2008; Christian Zoffoli <xmerlin@gentoo.org> newt-0.52.2.ebuild,
newt-0.52.7.ebuild:
diff --git a/dev-libs/newt/Manifest b/dev-libs/newt/Manifest
index c68402cc54ea..60e7f354a8ec 100644
--- a/dev-libs/newt/Manifest
+++ b/dev-libs/newt/Manifest
@@ -20,16 +20,18 @@ AUX newt-gpm-fix.diff 177 RMD160 454f9c72c883f0e59113a31e90d1ad1dacd0a13b SHA1 6
DIST newt-0.51.6.tar.gz 155739 RMD160 88832ca74fa06ef30739c33e5c75b232b2b149e2 SHA1 6dc9dc3375f0d066187f829719856877342ec3c7 SHA256 b80f265cd204e03fe9f793ab5750269eec71caf9253d2df04792425d22a49375
DIST newt-0.52.2-9.src.rpm 283433 RMD160 5e33ff2ea5da7e602d0b91287c578bf77c1f6e5b SHA1 eda1f3e1cfb7bed791654fa931c8e6d8904e11d1 SHA256 c28b81fd0464e9e8888c3e79a0fd5485cdfb4f2bb8327af373321735a7e9035b
DIST newt-0.52.7.tar.gz 167996 RMD160 7f028bdedd0244a9e5f490c6c03e58fdd5825b6f SHA1 eea3b6106f9833fa0799f199a05a714acf78af54 SHA256 e93be06b8833b53c954287e8e084ff38682492bcb94143219e31e41cdd37a930
+DIST newt-0.52.8.tar.gz 168662 RMD160 b7ebf85f009cad78f0c3314e2aa2da2683d17388 SHA1 7a1946ed312f10a8582ff92fdea7d25c1edfd750 SHA256 d84c9c14cfbb914104ce1971b0bbe2f94942ebe7850c1ae9a8f36c09f2cc5ffc
EBUILD newt-0.51.6-r1.ebuild 1996 RMD160 8933e2695cd0a5ffc972f26896c43d69f33664d8 SHA1 8086eba6ff4c50efbfebba0c428ec91cb1422ae1 SHA256 25eface8823cb1ee9412d12e42703a70601a94b64f87949f1aa0787c754c1aa3
EBUILD newt-0.51.6-r2.ebuild 2164 RMD160 b86ef865177f6143eedbf0bfb0809abd8c88f466 SHA1 055cdd2bbc636d73fae17ee39693074a046ead03 SHA256 00ac55db1b44dce822134a1e6d90666d72451f7958918af79404c0eea3478ede
EBUILD newt-0.52.2.ebuild 2236 RMD160 e8b3ed81a4924872a102c088895aabe9b821a156 SHA1 ea6f17401c40f0fa1939802a03cb5e783019496e SHA256 e36661882d2bd67b5ae68fcb80416501c7a02cb6b4a0b9bd723e8555c19cd324
EBUILD newt-0.52.7.ebuild 1660 RMD160 90ff03a34d943ed37378576025aff007c9232f64 SHA1 2bc45ca261184423c29d75fcfe665b30d1c40da1 SHA256 4e6d0f9ce5222ac5e8b49b349b79802aa9d37580b98cbe51f7456acf54f5a9f3
-MISC ChangeLog 6410 RMD160 f130e55c3c6c2e4d4564a9cff704502d41efd34d SHA1 612e39c2e881345129691b513a9161f3112b348a SHA256 f9debac6206aa412a8cf9f0a467434fe2e78b86a234dcde59e465e0b67b7118c
+EBUILD newt-0.52.8.ebuild 1708 RMD160 4f09a86144f81bea2372c971b97fb834634a999e SHA1 cd05380ad22da12faff6ea3628183b3518cfdb49 SHA256 8c25a601fb589416d304557210e97ad528f73e85089b418846aa93e15f45820c
+MISC ChangeLog 6588 RMD160 49d9d6d7d90c85240228f0561bb04728e17ebde5 SHA1 cb91de749ba9da0ac606250444553bdf2a0a2d0b SHA256 7577ade2616c2cab5439d2da5d5265e27caea8c8a599ca9cec4ee2dd53d3e576
MISC metadata.xml 296 RMD160 d7a28e6b51fad1a08df2463a91ca67a01f1532cb SHA1 18c4543ffb5a19f961b1fb3a93f9dfb778ec4aec SHA256 f459d90a4ac8a519720141bb9fe29415d65805b03d8288537150350aef1abc3e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFHy8DOgMUyd/cdjWsRAiesAJ9m5tLfN6+uJiy+f6rKiKA70hhcCgCZARDU
-Th+NMLnnEOt5BnfIWtbjOj0=
-=9RRj
+iD8DBQFH3pD2gMUyd/cdjWsRAqunAJ0ZwS0UfPpvJ/GENB+jnM12F4aAkACdFf7x
+zPdP6QHbY+cRPwTglDpcuZ4=
+=X/xl
-----END PGP SIGNATURE-----
diff --git a/dev-libs/newt/newt-0.52.8.ebuild b/dev-libs/newt/newt-0.52.8.ebuild
new file mode 100644
index 000000000000..bb62e7a12725
--- /dev/null
+++ b/dev-libs/newt/newt-0.52.8.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.8.ebuild,v 1.1 2008/03/17 15:40:30 xmerlin Exp $
+
+inherit python toolchain-funcs eutils rpm
+
+DESCRIPTION="Redhat's Newt windowing toolkit development files"
+HOMEPAGE="http://www.redhat.com/"
+SRC_URI="mirror://gentoo/${P}.tar.gz
+ http://dev.gentoo.org/~xmerlin/misc/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gpm tcl nls"
+
+RDEPEND="=sys-libs/slang-2*
+ >=dev-libs/popt-1.6
+ dev-lang/python
+ elibc_uclibc? ( sys-libs/ncurses )
+ gpm? ( sys-libs/gpm )
+ tcl? ( =dev-lang/tcl-8.4* )
+ "
+
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ #rpm_src_unpack
+ cd "${S}"
+
+ if ! use tcl; then
+ epatch "${FILESDIR}"/${PN}-0.52.7-notcl.patch || die
+ fi
+
+ # bug 73850
+ if use elibc_uclibc; then
+ sed -i -e 's:-lslang:-lslang -lncurses:g' "${S}"/Makefile.in
+ fi
+
+ sed -i -e 's:instroot:DESTDIR:g' "${S}"/Makefile.in || die
+}
+
+src_compile() {
+ python_version
+
+ econf \
+ $(use_with gpm gpm-support) \
+ $(use_enable nls)
+
+ # not parallel safe
+ emake -j1 \
+ CC="$(tc-getCC)" \
+ PYTHONVERS="python${PYVER}" \
+ RPM_OPT_FLAGS="${CFLAGS}" \
+ || die "emake failed"
+}
+
+src_install () {
+ python_version
+ # the RPM_OPT_FLAGS="ERROR" is there to catch a build error
+ # if it fails, that means something in src_compile() didn't build properly
+ # not parallel safe
+ emake \
+ DESTDIR="${D}" \
+ prefix="/usr" \
+ libdir="/usr/$(get_libdir)" \
+ PYTHONVERS="python${PYVER}" \
+ RPM_OPT_FLAGS="ERROR" \
+ install || die "make install failed"
+ dodoc peanuts.py popcorn.py tutorial.sgml
+ doman whiptail.1
+
+}