Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92608 - app-editor/nano-1.3.7 - utf8 support in ebuild
Summary: app-editor/nano-1.3.7 - utf8 support in ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-14 08:54 UTC by Robert Schuster
Modified: 2005-05-14 10:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild enabling unicode support in GNU Nano (nano-1.3.7-r1.ebuild,1.72 KB, text/plain)
2005-05-14 09:02 UTC, Robert Schuster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Schuster 2005-05-14 08:54:07 UTC
GNU Nano supports utf8 since 1.3.6 but it is not enabled in its ebuild. I fixed this by using the "unicode" USE-flag.

The build will break if someone has not compiled its ncurses or slang with unicode support. However I dont know how that should be handled in the ebuild.

Reproducible: Always
Steps to Reproduce:
1. Want umlauts in nano.
2. Emerge -vp nano reveals that no suitable flags exists (~x86 in package.keywords)
3. Bummer. :)
Actual Results:  
Can emerge nano only without utf8 support. (User gets mad when occassional
misstyping of international chars causes havoc to the edited document)

Expected Results:  
Unicode support in nano.

From inspection of nano configure.ac it looks like no additional dependencies
are created by enabling unicode support besides having wide char support in:
glibc, ncurses and slang.
Comment 1 Robert Schuster 2005-05-14 09:02:06 UTC
Created attachment 58883 [details]
Ebuild enabling unicode support in GNU Nano

A simple modification of 1.3.7's ebuild which adds unicode support for GNU
Nano.
Tested on x86 box which avoids non-utf8 at all costs :)
emerge info:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.4.16
Python: 	     dev-lang/python-2.3.5 [2.3.5 (#1, Apr 27 2005, 20:10:01)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]

dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distcc distlocks sandbox sfperms
strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib alsa apache2 apm avi beepmp berkdb bitmap-fonts
bmp cdr crypt cups curl directfb dvdr eds emboss encode esd fam fbcon ffmpeg
flac foomaticdb gcj gd gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml
guile hal imagemagick imlib ipv6 java jikes joystick jpeg junit libg libg++
libwww mad mikmod mmx mng motif mozilla mozsvg mp3 mpeg mysql ncurses network
nfs nls nptl ogg oggvorbis opengl pam pdflib png ppds python quicktime readline
ruby scanner sdl silc slang speex spell sse ssl svg svga tcpd tetex theora tiff
truetype truetype-fonts type1-fonts unicode usb vorbis xine xml xml2 xv zlib
linguas_de linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:	ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 2 SpanKY gentoo-dev 2005-05-14 10:22:22 UTC
heh, i actually sent the patch for 1.3.6 upstream for this and i guess it was added in 1.3.7 ... just forgot about it :P

fixed in portage