summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-03 03:55:12 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-03 03:55:12 +0000
commit901b0efcc72c08ebd83ac26ce805e9527ee4c792 (patch)
tree7302f18fa6812ef331204862326a15d2b5e2a347 /sys-libs/ncurses
parentstable amd64, bug 245348 (diff)
downloadhistorical-901b0efcc72c08ebd83ac26ce805e9527ee4c792.tar.gz
historical-901b0efcc72c08ebd83ac26ce805e9527ee4c792.tar.bz2
historical-901b0efcc72c08ebd83ac26ce805e9527ee4c792.zip
old
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.27.4 x86_64
Diffstat (limited to 'sys-libs/ncurses')
-rw-r--r--sys-libs/ncurses/Manifest17
-rw-r--r--sys-libs/ncurses/files/ncurses-5.4-c++-templates.patch17
-rw-r--r--sys-libs/ncurses/files/ncurses-5.4-share-sed.patch13
-rw-r--r--sys-libs/ncurses/files/ncurses-5.4-xterm.patch13
-rw-r--r--sys-libs/ncurses/files/ncurses-5.5-gfbsd.patch74
-rw-r--r--sys-libs/ncurses/files/ncurses-5.5-terminfo-gnome.patch16
-rw-r--r--sys-libs/ncurses/ncurses-5.4-r6.ebuild157
-rw-r--r--sys-libs/ncurses/ncurses-5.5-r3.ebuild160
-rw-r--r--sys-libs/ncurses/ncurses-5.6-r1.ebuild146
-rw-r--r--sys-libs/ncurses/ncurses-5.6.ebuild146
10 files changed, 3 insertions, 756 deletions
diff --git a/sys-libs/ncurses/Manifest b/sys-libs/ncurses/Manifest
index c59d6337270b..0dfcd329b16b 100644
--- a/sys-libs/ncurses/Manifest
+++ b/sys-libs/ncurses/Manifest
@@ -1,28 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX ncurses-5.4-c++-templates.patch 351 RMD160 d9a0e9387367be813e7067b4ddeddf907a2217b8 SHA1 80471645bee521e6f154c7ff5a9acdc2e87879ef SHA256 853fc14f7ab2f5eb156b2e7d658d79243877102a18cd2845e3ebd4eb24193d7c
-AUX ncurses-5.4-share-sed.patch 686 RMD160 95a2ee637ccad464e182ae5270fb7c569c080e69 SHA1 3518b171abfbfca5e3b3588fc97e24d6ea2cdd96 SHA256 a4c04a260ddacc8d283b14120d8d467836aa091b7af3e08905c3e33170665b06
-AUX ncurses-5.4-xterm.patch 495 RMD160 4b63e381d8c155e83df1668985ed40c5b144ab9d SHA1 c2136713b2e301f99e9202a8b1bfb8bd9bc847df SHA256 120e60719cf70879af5b57318a8ebd52282f19ac3507f45a5aeda7811036253d
-AUX ncurses-5.5-gfbsd.patch 3071 RMD160 db392d5feaa408881afe84518e87465873fb6e93 SHA1 18d6855b982a467116e153251eac8eb1b68d7357 SHA256 631f7177bca852c5866d22d814a1469731afc2a27545614956603c3aed6533f1
-AUX ncurses-5.5-terminfo-gnome.patch 597 RMD160 08f295ee2441dfae36b692f29fdb39dcd7e1390a SHA1 6fd87ec2214dc45d96b8558c2e9f3d1ee1faf847 SHA256 cc5110c84c1cdfdc13ea11c8cecf0f48a35c4096a25e10ba814889e5f3df2696
AUX ncurses-5.6-build.patch 265 RMD160 9958f375f7b305f1b8d52b27d9da746be9175263 SHA1 16990ca2cef127711074d70f9d40d256458969e9 SHA256 51cc2319ad1f854500d76ec978897f6af92d31cebb7f454c1fd649568ad4a251
AUX ncurses-5.6-gfbsd.patch 817 RMD160 2d5a96174730a93320e391cb057880df4996854e SHA1 b6798815c44059a00a2bcd4f9f28bbf74dfc0e2d SHA256 d9e94c5068a22d32f52c5db6aadc3793af11bb0c08b006e375921726931e0065
-DIST ncurses-5.4.tar.gz 2154022 RMD160 36369f4e2c76c396de51809deb8a671d8ca3d19e SHA1 c0dfaf2c4d383915f898a97c8caeace8a0a2c8b7 SHA256 5abce063cf431790f4e6a801a96c7eea0b33a41ecd0970f6312f52575c083b36
-DIST ncurses-5.5.tar.gz 2314030 RMD160 aac34d2530519fbb0fde7af87a365205339ba230 SHA1 46414a72e91a62f63a8c9af00f0d65497f5ecc5a SHA256 27a63f3a2ac9d13c1ed9a0a33ee4497c19a6b5810b8f9738e7654a0e12225b93
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
-EBUILD ncurses-5.4-r6.ebuild 4805 RMD160 a95e26ae1629a3d3fc52ce3d940c51f4e87e3c3e SHA1 42c07ed6c0c5283f63e092ba4605c8e9873617f3 SHA256 29242bba0360463d371ca9f6e3466dc05f8cd3d6be4bed9eb651d9f417d458c3
-EBUILD ncurses-5.5-r3.ebuild 4726 RMD160 9686f2aea71d053e1a0da8b3c596fd60a692d318 SHA1 ef53496fcf4a921da718d088d1575ff4df000680 SHA256 95d59168f376f8a270e5e44962dea14c6ee2d166b76e50cefd390666778ebcd2
-EBUILD ncurses-5.6-r1.ebuild 4509 RMD160 7b18beee4f035cabd7ed73a6fb38da336a12d285 SHA1 a287199f759b25f14345d94dc1a032d8f0faf9db SHA256 d66f1b48a3af5059a68aac9ad0b7108fce31a033ac9c0087dc5d8f17987babb6
EBUILD ncurses-5.6-r2.ebuild 4641 RMD160 dc208fdcdaf050d9f5aa84e93e90537b1a4bbf8a SHA1 21493bd793e6d5aac15336d4eea54cb19a82d15b SHA256 67e43e7c5e99845b7ed4061aab1d29f9b654c63b91e0b5b84f5593f69999294f
-EBUILD ncurses-5.6.ebuild 4440 RMD160 a52592fa52df37fc10b88afcd233ada177acf0f0 SHA1 c074a68dc742f17a1d5d2100fba7aa756793c1f4 SHA256 64e2c6fd56c06fea4eec93e49fbfdeaf3342a1d79c32c5f868ced17a373f87ae
MISC ChangeLog 22677 RMD160 29c89614dbf3863375aaea673920b7b2ccffaf5a SHA1 74f30a9739d8d87fdccf21976372e9eaafcbaf34 SHA256 0ce5bf25f304d9aff25a7a047d5935e5d761ebd3ca3be7704b4717d7b8128cbf
MISC metadata.xml 249 RMD160 6e04670a6e289827cdf3b9eb74178400dee4bc4a SHA1 d821a99402ebc905f6521e7623a3097309c2521b SHA256 c1787b703ca1c7b0f492fe34f89cb2c69a297ba9a5a9388c4cb9e9f36ebe4eff
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkivg2cACgkQoeSe8B0zEfyNFQCcCnE4Gcdvbs+2BQGI2qU34oag
-BiQAn2cywXhZgOdLwn/ZyYnTQsgHoN76
-=KlL3
+iEYEARECAAYFAkkOdoIACgkQ67wieSYcaxcACwCfe+UN1Y5AWUwAgrptj4OI61Mg
+gzIAoL8A8ViAXJT+gUOWuMROVbPeRvbt
+=xpkx
-----END PGP SIGNATURE-----
diff --git a/sys-libs/ncurses/files/ncurses-5.4-c++-templates.patch b/sys-libs/ncurses/files/ncurses-5.4-c++-templates.patch
deleted file mode 100644
index 60c4b716e2de..000000000000
--- a/sys-libs/ncurses/files/ncurses-5.4-c++-templates.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Fix building with -fno-implicit-templates.
-
-http://bugs.gentoo.org/show_bug.cgi?id=90819
-
-Patch by Mike Frysinger (C++ sucks btw)
-
---- c++/demo.cc
-+++ c++/demo.cc
-@@ -152,6 +152,8 @@
- return FALSE;
- }
- };
-+template class MyAction<UserData>;
-+template class NCURSES_IMPEXP NCursesUserItem<UserData>;
-
- class QuitItem : public NCursesMenuItem
- {
diff --git a/sys-libs/ncurses/files/ncurses-5.4-share-sed.patch b/sys-libs/ncurses/files/ncurses-5.4-share-sed.patch
deleted file mode 100644
index 0f9bc1cf6d9e..000000000000
--- a/sys-libs/ncurses/files/ncurses-5.4-share-sed.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -urN ncurses-5.3/misc/run_tic.in ncurses-5.3.share/misc/run_tic.in
---- ncurses-5.3/misc/run_tic.in 2001-10-14 08:44:33.000000000 +0800
-+++ ncurses-5.3.share/misc/run_tic.in 2004-02-21 15:46:09.000000000 +0800
-@@ -81,7 +81,8 @@
- umask 022
-
- # Construct the name of the old (obsolete) pathname, e.g., /usr/lib/terminfo.
--TICDIR=`echo $TERMINFO | sed -e 's%/share/%/lib/%'`
-+# make sure only last share directory in the $TERMINFO path is changed to lib
-+TICDIR=`echo $TERMINFO | sed -e 's%/share/terminfo$%/lib/terminfo%'`
-
- # Remove the old terminfo stuff; we don't care if it existed before, and it
- # would generate a lot of confusing error messages if we tried to overwrite it.
diff --git a/sys-libs/ncurses/files/ncurses-5.4-xterm.patch b/sys-libs/ncurses/files/ncurses-5.4-xterm.patch
deleted file mode 100644
index a2515e48de5a..000000000000
--- a/sys-libs/ncurses/files/ncurses-5.4-xterm.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- ncurses-5.3/misc/terminfo.src.orig 2002-10-05 20:40:53.000000000 +0200
-+++ ncurses-5.3/misc/terminfo.src 2003-05-23 15:50:57.000000000 +0200
-@@ -2922,8 +2922,9 @@
-
- # This is xterm for ncurses.
- xterm|xterm terminal emulator (X Window System),
-- use=xterm-r6,
-+# use=xterm-r6,
- # use=xterm-xfree86,
-+ use=xterm-xf86-v43,
-
- # These entries allow access to the X titlebar and icon name as a status line.
- # Note that twm (and possibly window managers descended from it such as tvtwm,
diff --git a/sys-libs/ncurses/files/ncurses-5.5-gfbsd.patch b/sys-libs/ncurses/files/ncurses-5.5-gfbsd.patch
deleted file mode 100644
index 02442bacec24..000000000000
--- a/sys-libs/ncurses/files/ncurses-5.5-gfbsd.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-Index: ncurses-5.5/aclocal.m4
-===================================================================
---- ncurses-5.5.orig/aclocal.m4
-+++ ncurses-5.5/aclocal.m4
-@@ -3507,7 +3507,7 @@ AC_DEFUN([CF_SHARED_OPTS],
- MK_SHARED_LIB='$(LD) -shared -rdata_shared -soname `basename $[@]` -o $[@]'
- cf_cv_rm_so_locs=yes
- ;;
-- linux*|gnu*|k*bsd*-gnu)
-+ linux*|gnu*|k*bsd*-gnu|freebsd*|dragonfly*)
- if test "$DFT_LWR_MODEL" = "shared" ; then
- LOCAL_LDFLAGS="-Wl,-rpath,`pwd`/lib"
- LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
-@@ -3523,23 +3523,6 @@ AC_DEFUN([CF_SHARED_OPTS],
- CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
- MK_SHARED_LIB='$(LD) -Bshareable -soname,`basename $[@].$(ABI_VERSION)` -o $[@]'
- ;;
-- freebsd[[45]]*)
-- CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
-- MK_SHARED_LIB='$(LD) -Bshareable -soname=`basename $[@]` -o $[@]'
-- test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
--
--# This doesn't work - I keep getting spurious references to needing
--# libncurses.so.5.3 when ldd says it's resolved. LOCAL_LDFLAGS2 seems to be
--# no longer used anyway. And the rpath logic isn't relative - so I have to
--# add the local and install lib-directories:
--#
--# if test "$DFT_LWR_MODEL" = "shared" && test "$cf_cv_ld_rpath" = yes ; then
--# LOCAL_LDFLAGS="-rpath `pwd`/lib"
--# LOCAL_LDFLAGS2="-rpath \$(libdir) $LOCAL_LDFLAGS"
--# cf_ld_rpath_opt="-rpath "
--# EXTRA_LDFLAGS="$LOCAL_LDFLAGS $EXTRA_LDFLAGS"
--# fi
-- ;;
- openbsd*|freebsd*)
- CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
- MK_SHARED_LIB='$(LD) -Bshareable -o $[@]'
-Index: ncurses-5.5/configure
-===================================================================
---- ncurses-5.5.orig/configure
-+++ ncurses-5.5/configure
-@@ -5061,7 +5061,7 @@ echo "${ECHO_T}$CC_SHARED_OPTS" >&6
- MK_SHARED_LIB='$(LD) -shared -rdata_shared -soname `basename $@` -o $@'
- cf_cv_rm_so_locs=yes
- ;;
-- linux*|gnu*|k*bsd*-gnu)
-+ linux*|gnu*|k*bsd*-gnu|freebsd*|dragonfly*)
- if test "$DFT_LWR_MODEL" = "shared" ; then
- LOCAL_LDFLAGS="-Wl,-rpath,`pwd`/lib"
- LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
-@@ -5077,23 +5077,6 @@ echo "${ECHO_T}$CC_SHARED_OPTS" >&6
- CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
- MK_SHARED_LIB='$(LD) -Bshareable -soname,`basename $@.$(ABI_VERSION)` -o $@'
- ;;
-- freebsd[45]*)
-- CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
-- MK_SHARED_LIB='$(LD) -Bshareable -soname=`basename $@` -o $@'
-- test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
--
--# This doesn't work - I keep getting spurious references to needing
--# libncurses.so.5.3 when ldd says it's resolved. LOCAL_LDFLAGS2 seems to be
--# no longer used anyway. And the rpath logic isn't relative - so I have to
--# add the local and install lib-directories:
--#
--# if test "$DFT_LWR_MODEL" = "shared" && test "$cf_cv_ld_rpath" = yes ; then
--# LOCAL_LDFLAGS="-rpath `pwd`/lib"
--# LOCAL_LDFLAGS2="-rpath \$(libdir) $LOCAL_LDFLAGS"
--# cf_ld_rpath_opt="-rpath "
--# EXTRA_LDFLAGS="$LOCAL_LDFLAGS $EXTRA_LDFLAGS"
--# fi
-- ;;
- openbsd*|freebsd*)
- CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
- MK_SHARED_LIB='$(LD) -Bshareable -o $@'
diff --git a/sys-libs/ncurses/files/ncurses-5.5-terminfo-gnome.patch b/sys-libs/ncurses/files/ncurses-5.5-terminfo-gnome.patch
deleted file mode 100644
index 43c4e4b30f81..000000000000
--- a/sys-libs/ncurses/files/ncurses-5.5-terminfo-gnome.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-http://bugs.gentoo.org/122566
-
---- ncurses-5.5/misc/terminfo.src
-+++ ncurses-5.5/misc/terminfo.src
-@@ -3327,7 +3327,10 @@ gnome-rh90|GNOME Terminal,
- vpa=\E[%i%p1%dd, use=xterm+pcfkeys, use=gnome-rh80,
-
- gnome|GNOME Terminal,
-- rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
-+ rs2=\E7\E[r\E8\E[m\E[?7h\E[!p\E[?1;3;4;6l\E[4l\E>\E[?1000l\E[?25h,
-+ rs1=\Ec,
-+ kDN=\EO2B,kDN5=\EO5B,kDN6=\EO6B, kUP=\EO2A,kUP5=\EO5A,kUP6=\EO6A,
-+ kLFT5=\EO5D,kLFT6=\EO6D, kRIT5=\EO5C,kRIT6=\EO6C,
- use=gnome-rh90,
-
- # This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
diff --git a/sys-libs/ncurses/ncurses-5.4-r6.ebuild b/sys-libs/ncurses/ncurses-5.4-r6.ebuild
deleted file mode 100644
index 87e17da721a2..000000000000
--- a/sys-libs/ncurses/ncurses-5.4-r6.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.4-r6.ebuild,v 1.14 2007/02/21 17:26:10 vapier Exp $
-
-inherit eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="console display library"
-HOMEPAGE="http://www.gnu.org/software/ncurses/"
-SRC_URI="mirror://gnu/ncurses/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="5"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
-IUSE="gpm build bootstrap debug doc minimal unicode nocxx"
-
-DEPEND="gpm? ( sys-libs/gpm )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- # check for unicode use flag, see bug #78313
- if ! use unicode && [[ -f ${ROOT}/usr/lib/libncursesw.so ]] && [[ ${COMPILE_NCURSES} != "true" ]] ; then
- ewarn "Remerging ncurses without unicode in USE flags may break your system."
- ewarn "For more information see http://bugs.gentoo.org/78313"
- ewarn "If you still want continue, export COMPILE_NCURSES to 'true'."
- die "refusing to rebuild ncurses w/out unicode"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-xterm.patch
- epatch "${FILESDIR}"/${P}-share-sed.patch #42336
- epatch "${FILESDIR}"/${P}-c++-templates.patch #90819
-}
-
-src_compile() {
- tc-export BUILD_CC
- filter-flags -fno-exceptions
-
- # Protect the user from themselves #115036
- unset TERMINFO
-
- # From version 5.3, ncurses also build c++ bindings, and as
- # we do not have a c++ compiler during bootstrap, disable
- # building it. We will rebuild ncurses after gcc's second
- # build in bootstrap.sh.
- local myconf=""
- ( use build || use bootstrap || use nocxx ) \
- && myconf="${myconf} --without-cxx --without-cxx-binding --without-ada"
-
- # First we build the regular ncurses ...
- mkdir "${WORKDIR}"/narrowc
- cd "${WORKDIR}"/narrowc
- do_compile ${myconf}
-
- # Then we build the UTF-8 version
- if use unicode ; then
- mkdir "${WORKDIR}"/widec
- cd "${WORKDIR}"/widec
- do_compile ${myconf} --enable-widec --includedir=/usr/include/ncursesw
- fi
-}
-do_compile() {
- ECONF_SOURCE=${S}
-
- # We need the basic terminfo files in /etc, bug #37026. We will
- # add '--with-terminfo-dirs' and then populate /etc/terminfo in
- # src_install() ...
- econf \
- --libdir=/$(get_libdir) \
- --with-terminfo-dirs="/etc/terminfo:/usr/share/terminfo" \
- --disable-termcap \
- --with-shared \
- --with-rcs-ids \
- --without-ada \
- --enable-symlinks \
- --program-prefix="" \
- $(use_with debug) \
- $(use_with gpm) \
- "$@" \
- || die "configure failed"
-
- # 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. -vapier
- emake -j1 sources || die "make sources failed"
- emake || die "make failed"
-}
-
-src_install() {
- # install unicode version first so that the non-unicode
- # files overwrite the unicode versions
- if use unicode ; then
- cd "${WORKDIR}"/widec
- sed -i '2iexit 0' man/edit_man.sh
- make DESTDIR="${D}" install || die "make widec install failed"
- fi
- cd "${WORKDIR}"/narrowc
- make DESTDIR="${D}" install || die "make narrowc install failed"
-
- # Move static and extraneous ncurses libraries out of /lib
- dodir /usr/$(get_libdir)
- cd "${D}"/$(get_libdir)
- mv libform* libmenu* libpanel* *.a "${D}"/usr/$(get_libdir)/
- gen_usr_ldscript lib{,n}curses.so
- use unicode && gen_usr_ldscript lib{,n}cursesw.so
-
- # 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 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
-
- echo "CONFIG_PROTECT_MASK=\"/etc/terminfo\"" > "${T}"/50ncurses
- doenvd "${T}"/50ncurses
-
- if use build ; then
- cd "${D}"
- rm -rf usr/share/man
- cd usr/share/terminfo
- cp -pPR l/linux n/nxterm v/vt100 "${T}"
- rm -rf *
- mkdir l x v
- cp -pPR "${T}"/linux l
- cp -pPR "${T}"/nxterm x/xterm
- cp -pPR "${T}"/vt100 v
- else
- use minimal && rm -r "${D}"/usr/share/terminfo
- cd "${S}"
- dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc
- use doc && dohtml -r doc/html/
- fi
-}
-
-pkg_preinst() {
- use unicode || preserve_old_lib /$(get_libdir)/libncursesw.so.5
-}
-
-pkg_postinst() {
- use unicode || preserve_old_lib_notify /$(get_libdir)/libncursesw.so.5
-}
diff --git a/sys-libs/ncurses/ncurses-5.5-r3.ebuild b/sys-libs/ncurses/ncurses-5.5-r3.ebuild
deleted file mode 100644
index 4c552c870623..000000000000
--- a/sys-libs/ncurses/ncurses-5.5-r3.ebuild
+++ /dev/null
@@ -1,160 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.5-r3.ebuild,v 1.15 2007/04/30 08:59:14 grobian Exp $
-
-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 ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="bootstrap build debug doc gpm minimal nocxx trace unicode"
-
-DEPEND="gpm? ( sys-libs/gpm )"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- [[ -n ${PV_SNAP} ]] && epatch "${WORKDIR}"/${MY_P}-${PV_SNAP}-patch.sh
-
- epatch "${FILESDIR}"/${P}-gfbsd.patch
- epatch "${FILESDIR}"/${P}-terminfo-gnome.patch
-}
-
-src_compile() {
- tc-export BUILD_CC
-
- # Protect the user from themselves #115036
- unset TERMINFO
-
- # From version 5.3, ncurses also build c++ bindings, and as
- # we do not have a c++ compiler during bootstrap, disable
- # building it. We will rebuild ncurses after gcc's second
- # build in bootstrap.sh.
- local myconf=""
- ( use build || use bootstrap || use nocxx ) \
- && myconf="${myconf} --without-cxx --without-cxx-binding --without-ada"
-
- # First we build the regular ncurses ...
- mkdir "${WORKDIR}"/narrowc
- cd "${WORKDIR}"/narrowc
- do_compile ${myconf}
-
- # Then we build the UTF-8 version
- if use unicode ; then
- mkdir "${WORKDIR}"/widec
- cd "${WORKDIR}"/widec
- do_compile ${myconf} --enable-widec --includedir=/usr/include/ncursesw
- fi
-}
-do_compile() {
- ECONF_SOURCE=${S}
-
- # We need the basic terminfo files in /etc, bug #37026. We will
- # add '--with-terminfo-dirs' and then populate /etc/terminfo in
- # src_install() ...
- # The chtype/mmask-t settings below are to retain ABI compat
- # with ncurses-5.4 so dont change em !
- econf \
- --libdir="/$(get_libdir)" \
- --with-terminfo-dirs="/etc/terminfo:/usr/share/terminfo" \
- --disable-termcap \
- --with-shared \
- --with-rcs-ids \
- --without-ada \
- --enable-symlinks \
- --enable-const \
- --with-chtype='long' \
- --with-mmask-t='long' \
- --with-manpage-format=normal \
- $(use_with debug) \
- $(use_with gpm) \
- $(use_with trace) \
- "$@" \
- || die "configure failed"
-
- # 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. -vapier
- emake -j1 sources || die "make sources failed"
- emake || die "make failed"
-}
-
-src_install() {
- # install unicode version first so that the non-unicode
- # files overwrite the unicode versions
- if use unicode ; then
- cd "${WORKDIR}"/widec
- make DESTDIR="${D}" install || die "make widec install failed"
- fi
- cd "${WORKDIR}"/narrowc
- make DESTDIR="${D}" install || die "make narrowc install failed"
-
- # Move static and extraneous ncurses libraries out of /lib
- dodir /usr/$(get_libdir)
- cd "${D}"/$(get_libdir)
- mv lib{form,menu,panel}.so* *.a "${D}"/usr/$(get_libdir)/
- gen_usr_ldscript lib{,n}curses.so
- if use unicode ; then
- mv lib{form,menu,panel}w.so* "${D}"/usr/$(get_libdir)/
- gen_usr_ldscript lib{,n}cursesw.so
- fi
-
- # 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 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
-
- echo "CONFIG_PROTECT_MASK=\"/etc/terminfo\"" > "${T}"/50ncurses
- doenvd "${T}"/50ncurses
-
- if use build ; then
- cd "${D}"
- rm -rf usr/share/man
- cd usr/share/terminfo
- cp -pPR l/linux n/nxterm v/vt100 "${T}"
- rm -rf *
- mkdir l x v
- cp -pPR "${T}"/linux l
- cp -pPR "${T}"/nxterm x/xterm
- cp -pPR "${T}"/vt100 v
- else
- use minimal && rm -r "${D}"/usr/share/terminfo
- cd "${S}"
- dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc
- use doc && dohtml -r doc/html/
- fi
-}
-
-pkg_preinst() {
- use unicode || preserve_old_lib /$(get_libdir)/libncursesw.so.5
-}
-
-pkg_postinst() {
- use unicode || preserve_old_lib_notify /$(get_libdir)/libncursesw.so.5
-}
diff --git a/sys-libs/ncurses/ncurses-5.6-r1.ebuild b/sys-libs/ncurses/ncurses-5.6-r1.ebuild
deleted file mode 100644
index 99626f682e77..000000000000
--- a/sys-libs/ncurses/ncurses-5.6-r1.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.6-r1.ebuild,v 1.10 2007/07/23 01:40:58 kumba Exp $
-
-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
- ftp://invisible-island.net/ncurses/${PV}/${P}-coverity.patch.gz"
-
-LICENSE="MIT"
-SLOT="5"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="bootstrap build debug doc gpm minimal nocxx trace unicode"
-
-DEPEND="gpm? ( sys-libs/gpm )"
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- [[ -n ${PV_SNAP} ]] && epatch "${WORKDIR}"/${MY_P}-${PV_SNAP}-patch.sh
- epatch "${WORKDIR}"/${P}-coverity.patch
- epatch "${FILESDIR}"/${PN}-5.6-gfbsd.patch
-}
-
-src_compile() {
- tc-export BUILD_CC
-
- # Protect the user from themselves #115036
- unset TERMINFO
-
- # From version 5.3, ncurses also build c++ bindings, and as
- # we do not have a c++ compiler during bootstrap, disable
- # building it. We will rebuild ncurses after gcc's second
- # build in bootstrap.sh.
- local myconf=""
- ( use build || use bootstrap || use nocxx ) \
- && myconf="${myconf} --without-cxx --without-cxx-binding --without-ada"
-
- # First we build the regular ncurses ...
- mkdir "${WORKDIR}"/narrowc
- cd "${WORKDIR}"/narrowc
- do_compile ${myconf}
-
- # Then we build the UTF-8 version
- if use unicode ; then
- mkdir "${WORKDIR}"/widec
- cd "${WORKDIR}"/widec
- do_compile ${myconf} --enable-widec --includedir=/usr/include/ncursesw
- fi
-}
-do_compile() {
- ECONF_SOURCE=${S}
-
- # We need the basic terminfo files in /etc, bug #37026. We will
- # add '--with-terminfo-dirs' and then populate /etc/terminfo in
- # src_install() ...
- # The chtype/mmask-t settings below are to retain ABI compat
- # with ncurses-5.4 so dont change em !
- econf \
- --libdir="/$(get_libdir)" \
- --with-terminfo-dirs="/etc/terminfo:/usr/share/terminfo" \
- --disable-termcap \
- --with-shared \
- --with-rcs-ids \
- --enable-symlinks \
- --enable-const \
- --with-chtype='long' \
- --with-mmask-t='long' \
- --with-manpage-format=normal \
- $(use_with debug) \
- $(use_with gpm) \
- $(use_with trace) \
- "$@" \
- || die "configure failed"
-
- # 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. -vapier
- emake -j1 sources || die "make sources failed"
- emake || die "make failed"
-}
-
-src_install() {
- # install unicode version second so that the binaries in /usr/bin
- # support both wide and narrow
- cd "${WORKDIR}"/narrowc
- emake DESTDIR="${D}" install || die "make narrowc install failed"
- if use unicode ; then
- cd "${WORKDIR}"/widec
- emake DESTDIR="${D}" install || die "make widec install failed"
- fi
-
- # Move static and extraneous ncurses libraries out of /lib
- dodir /usr/$(get_libdir)
- cd "${D}"/$(get_libdir)
- mv lib{form,menu,panel}.so* *.a "${D}"/usr/$(get_libdir)/
- gen_usr_ldscript lib{,n}curses.so
- if use unicode ; then
- mv lib{form,menu,panel}w.so* "${D}"/usr/$(get_libdir)/
- gen_usr_ldscript lib{,n}cursesw.so
- fi
-
- # 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 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
-
- echo "CONFIG_PROTECT_MASK=\"/etc/terminfo\"" > "${T}"/50ncurses
- doenvd "${T}"/50ncurses
-
- use minimal && rm -r "${D}"/usr/share/terminfo
- cd "${S}"
- dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc
- use doc && dohtml -r doc/html/
-}
-
-pkg_preinst() {
- use unicode || preserve_old_lib /$(get_libdir)/libncursesw.so.5
-}
-
-pkg_postinst() {
- use unicode || preserve_old_lib_notify /$(get_libdir)/libncursesw.so.5
-}
diff --git a/sys-libs/ncurses/ncurses-5.6.ebuild b/sys-libs/ncurses/ncurses-5.6.ebuild
deleted file mode 100644
index 300c28d6fdc8..000000000000
--- a/sys-libs/ncurses/ncurses-5.6.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.6.ebuild,v 1.13 2007/04/30 08:59:14 grobian Exp $
-
-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 ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="bootstrap build debug doc gpm minimal nocxx trace unicode"
-
-DEPEND="gpm? ( sys-libs/gpm )"
-RDEPEND="${DEPEND}"
-
-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.6-gfbsd.patch
-}
-
-src_compile() {
- tc-export BUILD_CC
-
- # Protect the user from themselves #115036
- unset TERMINFO
-
- # From version 5.3, ncurses also build c++ bindings, and as
- # we do not have a c++ compiler during bootstrap, disable
- # building it. We will rebuild ncurses after gcc's second
- # build in bootstrap.sh.
- local myconf=""
- ( use build || use bootstrap || use nocxx ) \
- && myconf="${myconf} --without-cxx --without-cxx-binding --without-ada"
-
- # First we build the regular ncurses ...
- mkdir "${WORKDIR}"/narrowc
- cd "${WORKDIR}"/narrowc
- do_compile ${myconf}
-
- # Then we build the UTF-8 version
- if use unicode ; then
- mkdir "${WORKDIR}"/widec
- cd "${WORKDIR}"/widec
- do_compile ${myconf} --enable-widec --includedir=/usr/include/ncursesw
- fi
-}
-do_compile() {
- ECONF_SOURCE=${S}
-
- # We need the basic terminfo files in /etc, bug #37026. We will
- # add '--with-terminfo-dirs' and then populate /etc/terminfo in
- # src_install() ...
- # The chtype/mmask-t settings below are to retain ABI compat
- # with ncurses-5.4 so dont change em !
- econf \
- --libdir="/$(get_libdir)" \
- --with-terminfo-dirs="/etc/terminfo:/usr/share/terminfo" \
- --disable-termcap \
- --with-shared \
- --with-rcs-ids \
- --without-ada \
- --enable-symlinks \
- --enable-const \
- --with-chtype='long' \
- --with-mmask-t='long' \
- --with-manpage-format=normal \
- $(use_with debug) \
- $(use_with gpm) \
- $(use_with trace) \
- "$@" \
- || die "configure failed"
-
- # 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. -vapier
- emake -j1 sources || die "make sources failed"
- emake || die "make failed"
-}
-
-src_install() {
- # install unicode version second so that the binaries in /usr/bin
- # support both wide and narrow
- cd "${WORKDIR}"/narrowc
- emake DESTDIR="${D}" install || die "make narrowc install failed"
- if use unicode ; then
- cd "${WORKDIR}"/widec
- emake DESTDIR="${D}" install || die "make widec install failed"
- fi
-
- # Move static and extraneous ncurses libraries out of /lib
- dodir /usr/$(get_libdir)
- cd "${D}"/$(get_libdir)
- mv lib{form,menu,panel}.so* *.a "${D}"/usr/$(get_libdir)/
- gen_usr_ldscript lib{,n}curses.so
- if use unicode ; then
- mv lib{form,menu,panel}w.so* "${D}"/usr/$(get_libdir)/
- gen_usr_ldscript lib{,n}cursesw.so
- fi
-
- # 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 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
-
- echo "CONFIG_PROTECT_MASK=\"/etc/terminfo\"" > "${T}"/50ncurses
- doenvd "${T}"/50ncurses
-
- use minimal && rm -r "${D}"/usr/share/terminfo
- cd "${S}"
- dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc
- use doc && dohtml -r doc/html/
-}
-
-pkg_preinst() {
- use unicode || preserve_old_lib /$(get_libdir)/libncursesw.so.5
-}
-
-pkg_postinst() {
- use unicode || preserve_old_lib_notify /$(get_libdir)/libncursesw.so.5
-}