Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 27525 Details for
Bug 44897
Switching to unicode-enabled ncurses
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for ebuild ncurses-5.4-r1
ncurses-5.4-unicode-gpm.patch (text/plain), 2.58 KB, created by
Jozsef Daniel
on 2004-03-17 11:41:05 UTC
(
hide
)
Description:
Patch for ebuild ncurses-5.4-r1
Filename:
MIME Type:
Creator:
Jozsef Daniel
Created:
2004-03-17 11:41:05 UTC
Size:
2.58 KB
patch
obsolete
>--- ../../../../portage/sys-libs/ncurses/ncurses-5.4-r1.ebuild 2004-03-16 23:14:03.000000000 +0100 >+++ ./ncurses-5.4-r2.ebuild 2004-03-17 19:40:35.922384952 +0100 >@@ -11,10 +11,11 @@ > > LICENSE="MIT" > SLOT="5" >-KEYWORDS="x86 ~ppc ~sparc alpha hppa ~mips amd64 ia64 ppc64 s390" >-IUSE="debug" >+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~amd64 ~ia64 ~ppc64 ~s390" >+IUSE="debug gpm unicode" > >-DEPEND="virtual/glibc" >+DEPEND="virtual/glibc >+ gpm? ( sys-libs/gpm )" > > src_unpack() { > unpack ${A} >@@ -46,6 +47,13 @@ > ( use build || use bootstrap ) \ > && myconf="${myconf} --without-cxx --without-cxx-binding --without-ada" > >+ # gpm support (bug 22005) >+ use gpm \ >+ && myconf="${myconf} --with-gpm" >+ >+ # 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() ... >@@ -62,6 +70,13 @@ > 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() { > local x= > >@@ -73,7 +88,24 @@ > mv libform* libmenu* libpanel* ${D}/usr/lib > mv *.a ${D}/usr/lib > # bug #4411 >- gen_usr_ldscript libncurses.so || die "gen_usr_ldscript failed" >+ if [ "`use unicode`" ] ; then >+ gen_usr_ldscript libncursesw.so || die "gen_usr_ldscript failed" >+ # 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 || die "gen_usr_ldscript failed" >+ fi > > # We need the basic terminfo files in /etc, bug #37026 > einfo "Installing basic terminfo files in /etc..."
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 44897
: 27525