Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 16945 Details for
Bug 27700
utf-8 updates for dialog, libiterm, netkit-telnetd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ncurses-5.3-r1.ebuild
ncurses-5.3-r1.ebuild (text/plain), 3.21 KB, created by
Zhen Lin
on 2003-09-01 23:16:33 UTC
(
hide
)
Description:
ncurses-5.3-r1.ebuild
Filename:
MIME Type:
Creator:
Zhen Lin
Created:
2003-09-01 23:16:33 UTC
Size:
3.21 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/sys-libs/ncurses/ncurses-5.3-r1.ebuild,v 1.17 2003/08/16 21:17:47 g2boojum Exp $ > >inherit eutils flag-o-matic >filter-flags -fno-exceptions > >DESCRIPTION="Linux 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="x86 ppc sparc alpha hppa arm mips" >IUSE="debug" > >DEPEND="virtual/glibc" > >src_compile() { > [ `use debug` ] && myconf="${myconf} --without-debug" > > # 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 ) \ > && myconf="${myconf} --without-cxx --without-cxx-binding --without-ada" > > use utf8 && myconf="${myconf} --enable-widec" > > econf \ > --libdir=/lib \ > --disable-termcap \ > --with-shared \ > --with-rcs-ids \ > --without-ada \ > ${myconf} || die "configure failed" > > # do not work with -j2 on P4 - <azarah@gentoo.org> (23 Oct 2002) > make || die "make failed" >} > >gen_to_w_ldscript() { > WIDEC_BASE="$(basename $1 .so)w.so" > echo "/* GNU ld script" > ${D}/$1 > echo " Links $(basename $1) to ${WIDEC_BASE} */" >> ${D}/$1 > echo "GROUP ( $(dirname $1)/${WIDEC_BASE} )" >> ${D}/$1 >} > > > >src_install() { > make DESTDIR=${D} install || die "make install failed" > > # Move static and extraneous ncurses libraries out of /lib > cd ${D}/lib > dodir /usr/lib > mv libform* libmenu* libpanel* ${D}/usr/lib > mv *.a ${D}/usr/lib > # bug #4411 > > if [ "`use utf8`" ] ; then > gen_usr_ldscript libncursesw.so > # Remove all of these compatibility links when unneeded, please! > # Compatibility link, for -lncurses during linking > dosym /usr/lib/libncursesw.so /usr/lib/libncurses.so > # Compatibility link, for libncurses.so.5 during execution > dosym /lib/libncursesw.so.5 /lib/libncurses.so.5 > dosym /lib/libncursesw.so /lib/libncurses.so > # Compatibility link, for -lncurses during static linking > dosym /usr/lib/libncursesw.a /usr/lib/libncurses.a > # Other libs > gen_to_w_ldscript /usr/lib/libform.so > gen_to_w_ldscript /usr/lib/libmenu.so > gen_to_w_ldscript /usr/lib/libpanel.so > gen_to_w_ldscript /lib/libcurses.so > else > gen_usr_ldscript libncurses.so > fi > > # With this fix, the default xterm has color as it should > cd ${D}/usr/share/terminfo/x > mv xterm xterm.orig > dosym xterm-color /usr/share/terminfo/x/xterm > > > > if [ -n "`use build`" ] > then > cd ${D} > rm -rf usr/share/man > cd usr/share/terminfo > cp -a l/linux n/nxterm v/vt100 ${T} > rm -rf * > mkdir l x v > cp -a ${T}/linux l > cp -a ${T}/nxterm x/xterm > cp -a ${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. > #rm *.a > else > cd ${S} > dodoc ANNOUNCE MANIFEST NEWS README* TO-DO > dodoc doc/*.doc > dohtml -r doc/html/ > fi >} > >pkg_postinst() { > # Old ncurses may still be around from old build tbz2's. > rm -f /lib/libncurses.so.5.2 > rm -f /usr/lib/lib{form,menu,panel}.so.5.2 >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 27700
:
16902
| 16945 |
17554
|
17561
|
19731
|
19732