summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-19 13:46:42 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-19 13:46:42 +0000
commitfbf8b150192a3c80ad209a2a7fd99953120f8548 (patch)
treec9514607335d6d8efe1f9ddaed5d9b414502e9c6 /sys-libs
parentuse ewarn instead of einfo as pointed out by Bo Ørsted Andresen #143805 (diff)
downloadhistorical-fbf8b150192a3c80ad209a2a7fd99953120f8548.tar.gz
historical-fbf8b150192a3c80ad209a2a7fd99953120f8548.tar.bz2
historical-fbf8b150192a3c80ad209a2a7fd99953120f8548.zip
old
Package-Manager: portage-2.1.1_pre4
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/ncurses/Manifest35
-rw-r--r--sys-libs/ncurses/files/digest-ncurses-5.4-r53
-rw-r--r--sys-libs/ncurses/files/digest-ncurses-5.53
-rw-r--r--sys-libs/ncurses/files/digest-ncurses-5.5-r13
-rw-r--r--sys-libs/ncurses/files/xterm-debian.ti7
-rw-r--r--sys-libs/ncurses/ncurses-5.4-r5.ebuild192
-rw-r--r--sys-libs/ncurses/ncurses-5.5-r1.ebuild177
-rw-r--r--sys-libs/ncurses/ncurses-5.5.ebuild172
8 files changed, 10 insertions, 582 deletions
diff --git a/sys-libs/ncurses/Manifest b/sys-libs/ncurses/Manifest
index 3a97db5045c4..a5ad26555fdd 100644
--- a/sys-libs/ncurses/Manifest
+++ b/sys-libs/ncurses/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX ncurses-5.4-c++-templates.patch 351 RMD160 d9a0e9387367be813e7067b4ddeddf907a2217b8 SHA1 80471645bee521e6f154c7ff5a9acdc2e87879ef SHA256 853fc14f7ab2f5eb156b2e7d658d79243877102a18cd2845e3ebd4eb24193d7c
MD5 118971faee11066510aa77e6c6a2c51b files/ncurses-5.4-c++-templates.patch 351
RMD160 d9a0e9387367be813e7067b4ddeddf907a2217b8 files/ncurses-5.4-c++-templates.patch 351
@@ -18,24 +21,12 @@ AUX ncurses-5.5-terminfo-gnome.patch 597 RMD160 08f295ee2441dfae36b692f29fdb39dc
MD5 d4e86212987c8a600a510b09d1c27090 files/ncurses-5.5-terminfo-gnome.patch 597
RMD160 08f295ee2441dfae36b692f29fdb39dcd7e1390a files/ncurses-5.5-terminfo-gnome.patch 597
SHA256 cc5110c84c1cdfdc13ea11c8cecf0f48a35c4096a25e10ba814889e5f3df2696 files/ncurses-5.5-terminfo-gnome.patch 597
-AUX xterm-debian.ti 342 RMD160 7f0506819afd9687891eaf03548c659c0ee1abd7 SHA1 dba1f761fe5ec11ac4c9549512bb5be35cc4da77 SHA256 1b10cdbff41f757c9f23f42c58dd6966e3c253b36fc6ceae1034233535743de0
-MD5 2167b54d7c96964183554e767e5f5376 files/xterm-debian.ti 342
-RMD160 7f0506819afd9687891eaf03548c659c0ee1abd7 files/xterm-debian.ti 342
-SHA256 1b10cdbff41f757c9f23f42c58dd6966e3c253b36fc6ceae1034233535743de0 files/xterm-debian.ti 342
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
-EBUILD ncurses-5.4-r5.ebuild 6166 RMD160 f6a4712ae6d8d1ead3acc8db05e10dc5eb562c3a SHA1 f6f191c785d8dbb08b8cd72af638c9fc86a1c9e4 SHA256 1b95a17a60084781e1cf459520bded8c6ddf78568f18becbd03d373bb1c7a288
-MD5 c4e36fac20ae91b9fb5bf7d0961cc6ba ncurses-5.4-r5.ebuild 6166
-RMD160 f6a4712ae6d8d1ead3acc8db05e10dc5eb562c3a ncurses-5.4-r5.ebuild 6166
-SHA256 1b95a17a60084781e1cf459520bded8c6ddf78568f18becbd03d373bb1c7a288 ncurses-5.4-r5.ebuild 6166
EBUILD ncurses-5.4-r6.ebuild 5465 RMD160 94046d6c0c855ebacfd0815a9dc68a576d8bac72 SHA1 c2190dd1fcf260c3312394111482bbef728a7fe4 SHA256 64c5e129d6d1c8f42cb4b973e300f212916c2b7335d342844acb04cbb3083dbd
MD5 3a23bee1fd81e1d279ec4632e9cc383e ncurses-5.4-r6.ebuild 5465
RMD160 94046d6c0c855ebacfd0815a9dc68a576d8bac72 ncurses-5.4-r6.ebuild 5465
SHA256 64c5e129d6d1c8f42cb4b973e300f212916c2b7335d342844acb04cbb3083dbd ncurses-5.4-r6.ebuild 5465
-EBUILD ncurses-5.5-r1.ebuild 5351 RMD160 4554c8bae8bc28c5735210bcaabf5b4cd51097d5 SHA1 ab702e3d353d6b7ff165499f70a8fbab8ad61bb7 SHA256 0ae216813de6c1597e35907221682fa730136a3c207cbae2d384bc1a53716ea8
-MD5 09ffb43a04a942aa18f6e40b991da362 ncurses-5.5-r1.ebuild 5351
-RMD160 4554c8bae8bc28c5735210bcaabf5b4cd51097d5 ncurses-5.5-r1.ebuild 5351
-SHA256 0ae216813de6c1597e35907221682fa730136a3c207cbae2d384bc1a53716ea8 ncurses-5.5-r1.ebuild 5351
EBUILD ncurses-5.5-r2.ebuild 5402 RMD160 d99b702ef4932c727be6c008ff9d3161ca6b4071 SHA1 ea71c9c932725ffe89963bac6ae57af6ab41d671 SHA256 3cb9c682545c2f534b7d05978845028dc37b949ec303ba84c3928b1d009f89d2
MD5 ddc3408ed01dd382c8bd2943c6eb7df7 ncurses-5.5-r2.ebuild 5402
RMD160 d99b702ef4932c727be6c008ff9d3161ca6b4071 ncurses-5.5-r2.ebuild 5402
@@ -44,10 +35,6 @@ EBUILD ncurses-5.5-r3.ebuild 5491 RMD160 3f39fc085f54768e0d9fd33a5ffe0be992469e9
MD5 34df5fc0f3fecaafd264b94eced6d49d ncurses-5.5-r3.ebuild 5491
RMD160 3f39fc085f54768e0d9fd33a5ffe0be992469e96 ncurses-5.5-r3.ebuild 5491
SHA256 e5b9ceb57f0f29f7dc2ea4fa539dac5179d5427e266945644235a8d4822b7c88 ncurses-5.5-r3.ebuild 5491
-EBUILD ncurses-5.5.ebuild 5253 RMD160 3a75fe57295da50e2aa666c3382f4c67dbdbf6d0 SHA1 a687ed912a1c29c68ea48f70dbfb3dca5c2df739 SHA256 1b4bf44e80fd126e6141ef3b968323914e5313cdcb2a6cb9b1105f71d9d0a5d1
-MD5 05ffcf86aeb3d3f5c9a5bfd5a72fb2d2 ncurses-5.5.ebuild 5253
-RMD160 3a75fe57295da50e2aa666c3382f4c67dbdbf6d0 ncurses-5.5.ebuild 5253
-SHA256 1b4bf44e80fd126e6141ef3b968323914e5313cdcb2a6cb9b1105f71d9d0a5d1 ncurses-5.5.ebuild 5253
MISC ChangeLog 18037 RMD160 740e18ae67d9186186a79a9fd2a08b0ff6c77b5b SHA1 41e7a6a8c893b9c2535c49577699fa960dce9eac SHA256 fadf0c3578e3be66b031562cea8f41c13b67e227e25237ada48761382dd17baa
MD5 2d027207677d6bee172d89efc3b8a493 ChangeLog 18037
RMD160 740e18ae67d9186186a79a9fd2a08b0ff6c77b5b ChangeLog 18037
@@ -56,21 +43,19 @@ MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata.xml 164
-MD5 f392f8bd1bddd04e1e8d26e3f270e7d0 files/digest-ncurses-5.4-r5 238
-RMD160 2799f66e435f80b5914c6c5c75872cf4990555eb files/digest-ncurses-5.4-r5 238
-SHA256 de50b8338b918f8782530f0ef1481d4a31e0f126103561ff18a39467b709e56f files/digest-ncurses-5.4-r5 238
MD5 f392f8bd1bddd04e1e8d26e3f270e7d0 files/digest-ncurses-5.4-r6 238
RMD160 2799f66e435f80b5914c6c5c75872cf4990555eb files/digest-ncurses-5.4-r6 238
SHA256 de50b8338b918f8782530f0ef1481d4a31e0f126103561ff18a39467b709e56f files/digest-ncurses-5.4-r6 238
-MD5 6a01577df5b8434affdc1217be2ba5b1 files/digest-ncurses-5.5 238
-RMD160 755dd213b7e9f190613456f3bc9f419dcbc84271 files/digest-ncurses-5.5 238
-SHA256 f86ecfaaa7faef60ffbc739f005574acbd940ee20502129d8d6c6aa433e1ecee files/digest-ncurses-5.5 238
-MD5 6a01577df5b8434affdc1217be2ba5b1 files/digest-ncurses-5.5-r1 238
-RMD160 755dd213b7e9f190613456f3bc9f419dcbc84271 files/digest-ncurses-5.5-r1 238
-SHA256 f86ecfaaa7faef60ffbc739f005574acbd940ee20502129d8d6c6aa433e1ecee files/digest-ncurses-5.5-r1 238
MD5 6a01577df5b8434affdc1217be2ba5b1 files/digest-ncurses-5.5-r2 238
RMD160 755dd213b7e9f190613456f3bc9f419dcbc84271 files/digest-ncurses-5.5-r2 238
SHA256 f86ecfaaa7faef60ffbc739f005574acbd940ee20502129d8d6c6aa433e1ecee files/digest-ncurses-5.5-r2 238
MD5 6a01577df5b8434affdc1217be2ba5b1 files/digest-ncurses-5.5-r3 238
RMD160 755dd213b7e9f190613456f3bc9f419dcbc84271 files/digest-ncurses-5.5-r3 238
SHA256 f86ecfaaa7faef60ffbc739f005574acbd940ee20502129d8d6c6aa433e1ecee files/digest-ncurses-5.5-r3 238
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.4 (GNU/Linux)
+
+iD8DBQFE5xaJamhnQswr0vIRAmRxAJ9JKmWtgGm9LlsZbIxL5giSLiuJ/wCgshCY
+FeponQET7FMjGzhIJ5Jxhwg=
+=C7WT
+-----END PGP SIGNATURE-----
diff --git a/sys-libs/ncurses/files/digest-ncurses-5.4-r5 b/sys-libs/ncurses/files/digest-ncurses-5.4-r5
deleted file mode 100644
index a42869232ba2..000000000000
--- a/sys-libs/ncurses/files/digest-ncurses-5.4-r5
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 069c8880072060373290a4fefff43520 ncurses-5.4.tar.gz 2154022
-RMD160 36369f4e2c76c396de51809deb8a671d8ca3d19e ncurses-5.4.tar.gz 2154022
-SHA256 5abce063cf431790f4e6a801a96c7eea0b33a41ecd0970f6312f52575c083b36 ncurses-5.4.tar.gz 2154022
diff --git a/sys-libs/ncurses/files/digest-ncurses-5.5 b/sys-libs/ncurses/files/digest-ncurses-5.5
deleted file mode 100644
index abb9c346ffce..000000000000
--- a/sys-libs/ncurses/files/digest-ncurses-5.5
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 e73c1ac10b4bfc46db43b2ddfd6244ef ncurses-5.5.tar.gz 2314030
-RMD160 aac34d2530519fbb0fde7af87a365205339ba230 ncurses-5.5.tar.gz 2314030
-SHA256 27a63f3a2ac9d13c1ed9a0a33ee4497c19a6b5810b8f9738e7654a0e12225b93 ncurses-5.5.tar.gz 2314030
diff --git a/sys-libs/ncurses/files/digest-ncurses-5.5-r1 b/sys-libs/ncurses/files/digest-ncurses-5.5-r1
deleted file mode 100644
index abb9c346ffce..000000000000
--- a/sys-libs/ncurses/files/digest-ncurses-5.5-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 e73c1ac10b4bfc46db43b2ddfd6244ef ncurses-5.5.tar.gz 2314030
-RMD160 aac34d2530519fbb0fde7af87a365205339ba230 ncurses-5.5.tar.gz 2314030
-SHA256 27a63f3a2ac9d13c1ed9a0a33ee4497c19a6b5810b8f9738e7654a0e12225b93 ncurses-5.5.tar.gz 2314030
diff --git a/sys-libs/ncurses/files/xterm-debian.ti b/sys-libs/ncurses/files/xterm-debian.ti
deleted file mode 100644
index 68b7efea8cc2..000000000000
--- a/sys-libs/ncurses/files/xterm-debian.ti
+++ /dev/null
@@ -1,7 +0,0 @@
-# xterm-debian is identical to xterm-xfree86 except that it more strictly
-# conforms to DEC VT220 behavior in the case of the backspace key; this is
-# mandated by the Section 3.8 of the Debian Policy Manual. Also see
-# <http://vt100.net/docs/vt220-rm/>.
-xterm-debian|Debian xterm (VT220-conformant backspace),
- kbs=\177,
- use=xterm-xfree86,
diff --git a/sys-libs/ncurses/ncurses-5.4-r5.ebuild b/sys-libs/ncurses/ncurses-5.4-r5.ebuild
deleted file mode 100644
index 17405327e12f..000000000000
--- a/sys-libs/ncurses/ncurses-5.4-r5.ebuild
+++ /dev/null
@@ -1,192 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.4-r5.ebuild,v 1.27 2006/06/07 18:46:54 kumba Exp $
-
-inherit eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="console display library"
-HOMEPAGE="http://www.gnu.org/software/ncurses/ncurses.html"
-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 unicode nocxx"
-
-DEPEND="gpm? ( sys-libs/gpm )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
- # check for unicode use flag, see bug #78313
- if use !unicode && [ -f /usr/lib/libncursesw.so ] && [ "$COMPILE_NCURSES" != "TRUE" ]; then
- ewarn "Remerging ncurses without unicode in USE flags will break your system."
- ewarn "For more information see bug #78313."
- ewarn "If you still want continue set COMPILE_NCURSES variable to TRUE."
- die
- 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() {
- local myconf=
-
- filter-flags -fno-exceptions
-
- use debug || myconf="${myconf} --without-debug"
-
- # Shared objects are compiled properly with -fPIC, but
- # standard libs also require this.
- # Unconditonal use of -fPIC (#55238).
- append-flags -fPIC
- filter-ldflags -pie
-
- # 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.
- # <azarah@gentoo.org> (23 Oct 2002)
- ( use build || use bootstrap || use nocxx ) \
- && myconf="${myconf} --without-cxx --without-cxx-binding --without-ada"
-
- # whee gpm !
- use gpm && myconf="${myconf} --with-gpm"
-
- # enable utf-8 support
- use unicode && myconf="${myconf} --enable-widec"
-
- # We need the basic terminfo files in /etc, bug #37026. We will
- # add '--with-terminfo-dirs' and then populate /etc/terminfo in
- # src_install() ...
- tc-export BUILD_CC
- 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="" \
- ${myconf} \
- || 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() {
- local x=
-
- make DESTDIR="${D}" install || die "make install failed"
-
- # Move static and extraneous ncurses libraries out of /lib
- cd ${D}/$(get_libdir)
- dodir /usr/$(get_libdir)
- mv libform* libmenu* libpanel* *.a ${D}/usr/$(get_libdir)
-
- if use unicode ; then
- gen_usr_ldscript libncursesw.so || die "gen_usr_ldscript failed"
- gen_usr_ldscript libcursesw.so || die "gen_usr_ldscript failed"
- for i in ${D}/usr/$(get_libdir)/*w.* ; do
- local libncurses=${i/${D}/}
- dosym ${libncurses} ${libncurses/w./.}
- done
- for i in ${D}/$(get_libdir)/libncursesw.so* ; do
- local libncurses=${i/${D}}
- dosym ${libncurses} ${libncurses/w./.}
- done
- else
- # bug #4411
- gen_usr_ldscript libncurses.so || die "gen_usr_ldscript failed"
- gen_usr_ldscript libcurses.so || die "gen_usr_ldscript failed"
- fi
-
- # We need the basic terminfo files in /etc, bug #37026
- einfo "Installing basic terminfo files in /etc..."
- # added some for uclibc
- #for x in dumb linux rxvt screen sun vt{52,100,102,220} xterm
- 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
-
- dodir /etc/env.d
- echo "CONFIG_PROTECT_MASK=\"/etc/terminfo\"" > ${D}/etc/env.d/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
- # bash compilation requires static libncurses libraries, so
- # this breaks the "build a new build image" system. We now
- # need to remove libncurses.a from the build image manually.
- # cd ${D}/usr/lib; rm *.a
- # remove extraneous ncurses libraries
- cd ${D}/usr/$(get_libdir); rm -f lib{form,menu,panel}*
- cd ${D}/usr/include; rm -f {eti,form,menu,panel}.h
- else
- if use bootstrap ; then
- cd ${D}/usr/$(get_libdir); rm -f lib{form,menu,panel,ncurses++}*
- cd ${D}/usr/include; rm -f {eti,form,menu,panel}.h cursesapp.h curses?.h cursslk.h etip.h
- fi
- # Install xterm-debian terminfo entry to satisfy bug #18486
- LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${D}/usr/$(get_libdir):${D}/$(get_libdir) \
- TERMINFO=${D}/usr/share/terminfo \
- ${D}/usr/bin/tic ${FILESDIR}/xterm-debian.ti
-
- if use elibc_uclibc ; then
- cp ${D}/usr/share/terminfo/x/xterm-debian ${D}/etc/terminfo/x/
- rm -rf ${D}/usr/share/terminfo/*
- fi
-
- cd ${S}
- dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc
- use doc && dohtml -r doc/html/
- fi
-}
-
-pkg_preinst() {
- if [[ ! -f ${ROOT}/etc/env.d/50ncurses ]] ; then
- mkdir -p "${ROOT}"/etc/env.d
- echo "CONFIG_PROTECT_MASK=\"/etc/terminfo\"" > \
- "${ROOT}"/etc/env.d/50ncurses
- fi
-}
-
-pkg_postinst() {
- # Old ncurses may still be around from old build tbz2's.
- rm -f ${ROOT}/lib/libncurses.so.5.[23] ${ROOT}/usr/lib/lib{form,menu,panel}.so.5.[23]
- if [ "$(get_libdir)" != "lib" ] ; then
- rm -f ${ROOT}/$(get_libdir)/libncurses.so.5.[23] \
- ${ROOT}/usr/$(get_libdir)/lib{form,menu,panel}.so.5.[23]
- fi
-}
diff --git a/sys-libs/ncurses/ncurses-5.5-r1.ebuild b/sys-libs/ncurses/ncurses-5.5-r1.ebuild
deleted file mode 100644
index 505181d3ea5c..000000000000
--- a/sys-libs/ncurses/ncurses-5.5-r1.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.5-r1.ebuild,v 1.4 2005/12/31 13:19:35 flameeyes 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 ~x86"
-IUSE="gpm build bootstrap debug doc minimal unicode nocxx"
-
-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 "${FILESDIR}/${P}-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}
-
- local mylibprefix=""
- [[ ${CHOST} == *-darwin* ]] && mylibprefix="/usr"
-
- # 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=${mylibprefix}/$(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' \
- $(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"
-
- if [[ ${CHOST} != *-darwin* ]] ; then
- # 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
- use unicode && 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
- # Install xterm-debian terminfo entry to satisfy bug #18486
- LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${D}/usr/$(get_libdir):${D}/$(get_libdir) \
- TERMINFO=${D}/usr/share/terminfo \
- "${D}"/usr/bin/tic "${FILESDIR}"/xterm-debian.ti
-
- if use minimal ; then
- cp "${D}"/usr/share/terminfo/x/xterm-debian "${D}"/etc/terminfo/x/
- rm -r "${D}"/usr/share/terminfo
- fi
-
- cd "${S}"
- dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc
- use doc && dohtml -r doc/html/
- fi
-}
-
-pkg_preinst() {
- if [[ ! -f ${ROOT}/etc/env.d/50ncurses ]] ; then
- mkdir -p "${ROOT}"/etc/env.d
- echo "CONFIG_PROTECT_MASK=\"/etc/terminfo\"" > \
- "${ROOT}"/etc/env.d/50ncurses
- fi
-}
-
-pkg_postinst() {
- # Old ncurses may still be around from old build tbz2's.
- rm -f "${ROOT}"/lib/libncurses.so.5.[23] "${ROOT}"/usr/lib/lib{form,menu,panel}.so.5.[23]
- if [[ $(get_libdir) != "lib" ]] ; then
- rm -f "${ROOT}"/$(get_libdir)/libncurses.so.5.[23] \
- "${ROOT}"/usr/$(get_libdir)/lib{form,menu,panel}.so.5.[23]
- fi
-}
diff --git a/sys-libs/ncurses/ncurses-5.5.ebuild b/sys-libs/ncurses/ncurses-5.5.ebuild
deleted file mode 100644
index 90a16d7f1ae7..000000000000
--- a/sys-libs/ncurses/ncurses-5.5.ebuild
+++ /dev/null
@@ -1,172 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.5.ebuild,v 1.1 2005/10/20 04:59:06 vapier 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 ~x86"
-IUSE="gpm build bootstrap debug doc minimal unicode nocxx"
-
-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
-}
-
-src_compile() {
- tc-export BUILD_CC
-
- # 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}
-
- local mylibprefix=""
- [[ ${USERLAND} == "Darwin" ]] && mylibprefix="/usr"
-
- # 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=${mylibprefix}/$(get_libdir) \
- --with-terminfo-dirs="/etc/terminfo:/usr/share/terminfo" \
- --disable-termcap \
- --with-shared \
- --with-rcs-ids \
- --without-ada \
- --enable-symlinks \
- --program-prefix="" \
- --with-chtype='long' \
- --with-mmask-t='long' \
- $(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"
-
- if [[ ${USERLAND} != "Darwin" ]] ; then
- # 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
- use unicode && 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
- # Install xterm-debian terminfo entry to satisfy bug #18486
- LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${D}/usr/$(get_libdir):${D}/$(get_libdir) \
- TERMINFO=${D}/usr/share/terminfo \
- "${D}"/usr/bin/tic "${FILESDIR}"/xterm-debian.ti
-
- if use minimal ; then
- cp "${D}"/usr/share/terminfo/x/xterm-debian "${D}"/etc/terminfo/x/
- rm -r "${D}"/usr/share/terminfo
- fi
-
- cd "${S}"
- dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc
- use doc && dohtml -r doc/html/
- fi
-}
-
-pkg_preinst() {
- if [[ ! -f ${ROOT}/etc/env.d/50ncurses ]] ; then
- mkdir -p "${ROOT}"/etc/env.d
- echo "CONFIG_PROTECT_MASK=\"/etc/terminfo\"" > \
- "${ROOT}"/etc/env.d/50ncurses
- fi
-}
-
-pkg_postinst() {
- # Old ncurses may still be around from old build tbz2's.
- rm -f "${ROOT}"/lib/libncurses.so.5.[23] "${ROOT}"/usr/lib/lib{form,menu,panel}.so.5.[23]
- if [[ $(get_libdir) != "lib" ]] ; then
- rm -f "${ROOT}"/$(get_libdir)/libncurses.so.5.[23] \
- "${ROOT}"/usr/$(get_libdir)/lib{form,menu,panel}.so.5.[23]
- fi
-}