summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-12 02:49:30 +0000
committerMike Frysinger <vapier@gentoo.org>2011-04-12 02:49:30 +0000
commit521117698de2a9cdb75c56e3d605483069951213 (patch)
tree570779b2fa387398e5d70cadb0118f1a5fa22ac7 /sys-libs
parentold (diff)
downloadhistorical-521117698de2a9cdb75c56e3d605483069951213.tar.gz
historical-521117698de2a9cdb75c56e3d605483069951213.tar.bz2
historical-521117698de2a9cdb75c56e3d605483069951213.zip
Version bump #363177 by Panagiotis Christopoulos.
Package-Manager: portage-2.2.0_alpha28/cvs/Linux x86_64
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/ncurses/ChangeLog7
-rw-r--r--sys-libs/ncurses/Manifest12
-rw-r--r--sys-libs/ncurses/ncurses-5.9.ebuild163
3 files changed, 175 insertions, 7 deletions
diff --git a/sys-libs/ncurses/ChangeLog b/sys-libs/ncurses/ChangeLog
index e5f5eeb3a4de..4b127e4bd544 100644
--- a/sys-libs/ncurses/ChangeLog
+++ b/sys-libs/ncurses/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/ncurses
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ChangeLog,v 1.180 2011/03/01 07:52:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ChangeLog,v 1.181 2011/04/12 02:49:30 vapier Exp $
+
+*ncurses-5.9 (12 Apr 2011)
+
+ 12 Apr 2011; Mike Frysinger <vapier@gentoo.org> +ncurses-5.9.ebuild:
+ Version bump #363177 by Panagiotis Christopoulos.
*ncurses-5.8 (01 Mar 2011)
diff --git a/sys-libs/ncurses/Manifest b/sys-libs/ncurses/Manifest
index f343e8835619..e93063076923 100644
--- a/sys-libs/ncurses/Manifest
+++ b/sys-libs/ncurses/Manifest
@@ -14,19 +14,19 @@ AUX ncurses-5.8-rxvt-unicode.patch 3724 RMD160 d6b46469ce0078ec08e1fa405f0a1d939
DIST ncurses-5.6-coverity.patch.gz 6196 RMD160 b11682ae9e043be8d6c50f040d8531f80fc26ce8 SHA1 fee27bdd55c1c316248643e168865b55235d79c7 SHA256 3deeef017c739116c17574e7fd235b1b05053f5c50c7bfeeee2e3f8e4332380e
DIST ncurses-5.6.tar.gz 2402592 RMD160 1a878819c43e6426500fd74ccedf0a032ef399d8 SHA1 4d54d8ad0b90fffa2780a0a45edb6fcb027ef18d SHA256 f9cac2b31683a37d65bc37119599752198a0691e462d0d1a252cf9815f5724d5
DIST ncurses-5.7.tar.gz 2445052 RMD160 a19ca026d32255f5a4d22eb006d65182041e0234 SHA1 8233ee56ed84ae05421e4e6d6db6c1fe72ee6797 SHA256 0a9bdea5c7de8ded5c9327ed642915f2cc380753f12d4ad120ef7da3ea3498f4
-DIST ncurses-5.8.tar.gz 2832852 RMD160 d0fbbafae56b9df4540cfe12359935b703508295 SHA1 8e38c591667be8d39840dc2c4e1e897da230f155 SHA256 51597f89fd53aa990321954e33e5b4869c4a5ee6137bfa800f98f91d4b6b54b5
+DIST ncurses-5.9.tar.gz 2826473 RMD160 dd7dffe38fcc908230ce3e036b71ced2d270ac9e SHA1 3e042e5f2c7223bffdaac9646a533b8c758b65b5 SHA256 9046298fb440324c9d4135ecea7879ffed8546dd1b58e59430ea07a4633f563b
EBUILD ncurses-5.6-r2.ebuild 4746 RMD160 2d0c4b141d8bc51c7bbe0745817e2d5b4b51147b SHA1 ed1e10beb9f436b298b9f59e6b0b7fdfd3ae144c SHA256 57d0c3a8058ddbb1bbed9d3d65be56b7947aa1e3459fe847de3cce456fa7a61e
EBUILD ncurses-5.7-r3.ebuild 5367 RMD160 a21be510f13353c36ac20b04258c1e996a618102 SHA1 b67f404968a91da5b7e6b4ea01346ad13ebcf0da SHA256 73d761ad50ddf9bd1c904f59c0bdb85c5e6450aa662a3af75dc99f664326ba3c
EBUILD ncurses-5.7-r5.ebuild 5253 RMD160 d0c2e290ee769cb4417ec7ed21d029595269baec SHA1 50e5a0ed42ce2c52cd93060f8a991c890aa05c19 SHA256 b4984c30c857ffd7d1474e1ebc2b78a118af6414cf35909db5af3dbee77abc61
EBUILD ncurses-5.7-r6.ebuild 5256 RMD160 93f15baa19ec645411ff2b4f3458faa80740dfaa SHA1 2d64f6a6ab858dd79f6bc07fe35f684778b3b9ae SHA256 5da441e504f3b0504028cb7948ad55d76dd2789b0045c14b694aa9a9255f6441
EBUILD ncurses-5.7-r7.ebuild 5134 RMD160 6a14bbb9d2c2e622c48ac9279a46ed00dc04af45 SHA1 bdbaafbc95931d7065eb811ee5ed2e60d94f165a SHA256 686a559f6c90c42bc13b868423d3b66f3b75a15a62bd955a08e03cd385047793
-EBUILD ncurses-5.8.ebuild 4889 RMD160 2d05c00e6a4a52d0ae22aa2195cc93b340fb29ac SHA1 993ada144405834a5c40cc6955cdf318bad76ab4 SHA256 616be52727af728c163c6e787772689523f9c42e7660113d7dd671abe1a45a19
-MISC ChangeLog 26392 RMD160 eac6df1aca865ae110279478a1e8b0b3f495511a SHA1 21ef0397e5942a704e147d6319a3354eaa7ca84d SHA256 8fdb6cd709f82b891b818694b7b92e8d2702074973e339e2bf942c084ee695a9
+EBUILD ncurses-5.9.ebuild 4889 RMD160 a77a9a494441fb1b23aeb4730e25895e0e501fb0 SHA1 420fbfa6b4dd1b9c88ac2911e90f56038c0cf6f0 SHA256 89c2a21edc3e256b9dde5096145387a94f784d82f993774c45c8e7d570b6914e
+MISC ChangeLog 26544 RMD160 73c91d1ea330e4459fa007a33011b76d281176b1 SHA1 35c906c80fcd4e525b31a3090a9cc081e356801a SHA256 b6580cfbeb3acf6cbfca12aed95fcaf1a7ad3de2a9c3164d1efe3d47a5162c09
MISC metadata.xml 320 RMD160 cd60b146f09101932293157c33ac98f273c92783 SHA1 47c720e1ec7ce4a1c4de36edeac9cfd10004bbae SHA256 906f778ea6ad65cad63404d3bd4126d32dcaef8fa0dd81d0108fd20630594779
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk14CiYACgkQaC/OocHi7JYw2QEAoVYjH/z5OIQNogLIwBa8WZNd
-v6QZm+dpCCYrhH2u6ZUA/2ogEN492+VQjEDR/PMcqAP9GcnSmvGYxZqEnGWeVCZT
-=DvF6
+iF4EAREIAAYFAk2jvb4ACgkQaC/OocHi7JbkgAD9GdUr6jGjxHVyxDx8Pu/E2qEU
+dp+pVagqI35QOdc5kuEA/ib6gEy92RFVq02e8eSCqfdfZF49cTQB5hK68J7NN0Mb
+=22j3
-----END PGP SIGNATURE-----
diff --git a/sys-libs/ncurses/ncurses-5.9.ebuild b/sys-libs/ncurses/ncurses-5.9.ebuild
new file mode 100644
index 000000000000..a46a4ff18a73
--- /dev/null
+++ b/sys-libs/ncurses/ncurses-5.9.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.9.ebuild,v 1.1 2011/04/12 02:49:30 vapier Exp $
+
+EAPI="1"
+inherit eutils flag-o-matic toolchain-funcs
+
+MY_PV=${PV:0:3}
+PV_SNAP=${PV:4}
+MY_P=${PN}-${MY_PV}
+DESCRIPTION="console display library"
+HOMEPAGE="http://www.gnu.org/software/ncurses/ http://dickey.his.com/ncurses/"
+SRC_URI="mirror://gnu/ncurses/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="5"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE="ada +cxx debug doc gpm minimal profile static-libs trace unicode"
+
+DEPEND="gpm? ( sys-libs/gpm )"
+# berkdb? ( sys-libs/db )"
+RDEPEND="!<x11-terms/rxvt-unicode-9.06-r3"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ [[ -n ${PV_SNAP} ]] && epatch "${WORKDIR}"/${MY_P}-${PV_SNAP}-patch.sh
+ epatch "${FILESDIR}"/${PN}-5.8-gfbsd.patch
+ epatch "${FILESDIR}"/${PN}-5.7-nongnu.patch
+ epatch "${FILESDIR}"/${PN}-5.8-rxvt-unicode.patch #192083
+}
+
+src_compile() {
+ unset TERMINFO #115036
+ tc-export BUILD_CC
+ export BUILD_CPPFLAGS+=" -D_GNU_SOURCE" #214642
+
+ # when cross-compiling, we need to build up our own tic
+ # because people often don't keep matching host/target
+ # ncurses versions #249363
+ if tc-is-cross-compiler && ! ROOT=/ has_version ~sys-libs/${P} ; then
+ make_flags="-C progs tic"
+ CHOST=${CBUILD} \
+ CFLAGS=${BUILD_CFLAGS} \
+ CXXFLAGS=${BUILD_CXXFLAGS} \
+ CPPFLAGS=${BUILD_CPPFLAGS} \
+ LDFLAGS="${BUILD_LDFLAGS} -static" \
+ do_compile cross --without-shared --with-normal
+ fi
+
+ make_flags=""
+ do_compile narrowc
+ use unicode && do_compile widec --enable-widec --includedir=/usr/include/ncursesw
+}
+do_compile() {
+ ECONF_SOURCE=${S}
+
+ mkdir "${WORKDIR}"/$1
+ cd "${WORKDIR}"/$1
+ shift
+
+ # The chtype/mmask-t settings below are to retain ABI compat
+ # with ncurses-5.4 so dont change em !
+ local conf_abi="
+ --with-chtype=long \
+ --with-mmask-t=long \
+ --disable-ext-colors \
+ --disable-ext-mouse \
+ --without-pthread \
+ --without-reentrant \
+ "
+ # We need the basic terminfo files in /etc, bug #37026. We will
+ # add '--with-terminfo-dirs' and then populate /etc/terminfo in
+ # src_install() ...
+# $(use_with berkdb hashed-db)
+ econf \
+ --with-terminfo-dirs="/etc/terminfo:/usr/share/terminfo" \
+ --with-shared \
+ --without-hashed-db \
+ $(use_with ada) \
+ $(use_with cxx) \
+ $(use_with cxx cxx-binding) \
+ $(use_with debug) \
+ $(use_with profile) \
+ $(use_with gpm) \
+ --disable-termcap \
+ --enable-symlinks \
+ --with-rcs-ids \
+ --with-manpage-format=normal \
+ --enable-const \
+ --enable-colorfgbg \
+ --enable-echo \
+ $(use_enable !ada warnings) \
+ $(use_with debug assertions) \
+ $(use_enable debug leaks) \
+ $(use_with debug expanded) \
+ $(use_with !debug macros) \
+ $(use_with trace) \
+ ${conf_abi} \
+ "$@"
+
+ # A little hack to fix parallel builds ... they break when
+ # generating sources so if we generate the sources first (in
+ # non-parallel), we can then build the rest of the package
+ # in parallel. This is not really a perf hit since the source
+ # generation is quite small.
+ emake -j1 sources || die
+ emake ${make_flags} || die
+}
+
+src_install() {
+ # use the cross-compiled tic (if need be) #249363
+ export PATH=${WORKDIR}/cross/progs:${PATH}
+
+ # install unicode version second so that the binaries in /usr/bin
+ # support both wide and narrow
+ cd "${WORKDIR}"/narrowc
+ emake DESTDIR="${D}" install || die
+ if use unicode ; then
+ cd "${WORKDIR}"/widec
+ emake DESTDIR="${D}" install || die
+ fi
+
+ # Move libncurses{,w} into /lib
+ gen_usr_ldscript -a ncurses
+ use unicode && gen_usr_ldscript -a ncursesw
+ ln -sf libncurses.so "${D}"/usr/$(get_libdir)/libcurses.so || die
+ use static-libs || rm "${D}"/usr/$(get_libdir)/*.a
+
+# if ! use berkdb ; then
+ # We need the basic terminfo files in /etc, bug #37026
+ einfo "Installing basic terminfo files in /etc..."
+ for x in ansi console dumb linux rxvt rxvt-unicode screen sun vt{52,100,102,200,220} \
+ xterm xterm-color xterm-xfree86
+ do
+ local termfile=$(find "${D}"/usr/share/terminfo/ -name "${x}" 2>/dev/null)
+ local basedir=$(basename $(dirname "${termfile}"))
+
+ if [[ -n ${termfile} ]] ; then
+ dodir /etc/terminfo/${basedir}
+ mv ${termfile} "${D}"/etc/terminfo/${basedir}/
+ dosym ../../../../etc/terminfo/${basedir}/${x} \
+ /usr/share/terminfo/${basedir}/${x}
+ fi
+ done
+
+ # Build fails to create this ...
+ dosym ../share/terminfo /usr/$(get_libdir)/terminfo
+# fi
+
+ echo "CONFIG_PROTECT_MASK=\"/etc/terminfo\"" > "${T}"/50ncurses
+ doenvd "${T}"/50ncurses
+
+ use minimal && rm -r "${D}"/usr/share/terminfo*
+ # Because ncurses5-config --terminfo returns the directory we keep it
+ keepdir /usr/share/terminfo #245374
+
+ cd "${S}"
+ dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc
+ use doc && dohtml -r doc/html/
+}