Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372395 - app-text/gv should pass --enable-international for UTF-8 support from libXaw3d (but libXaw3d is not proper for it)
Summary: app-text/gv should pass --enable-international for UTF-8 support from libXaw3...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-20 19:07 UTC by Marco Paolone
Modified: 2012-01-23 20:00 UTC (History)
2 users (show)

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


Attachments
add localization for gv-3.7.2 (ebuild.diff,581 bytes, patch)
2011-06-20 19:08 UTC, Marco Paolone
Details | Diff
USE="unicode" for libXaw3d (libXaw3d-1.6.ebuild.patch,667 bytes, patch)
2012-01-22 19:28 UTC, Samuli Suominen (RETIRED)
Details | Diff
USE="unicode" for gv (gv-3.7.3.ebuild.patch,771 bytes, patch)
2012-01-22 19:30 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Paolone 2011-06-20 19:07:22 UTC
All versions of gv in portage are lacking of localization support. This should be enabled via --enable-international in configuration phase. I've created a small patch for latest ebuild with the needed fix (using nls flag, since it seems the one that could be used for that).

Reproducible: Always




Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.4, libc-0-r0, 2.6.38-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.38-gentoo-r6-i686-Mobile_Intel-R-_Pentium-R-_4_CPU_3.33GHz-with-gentoo-2.0.2
Timestamp of tree: Wed, 15 Jun 2011 20:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 dlj-1.1 skype-eula"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ ftp://ftp.cc.uoc.gr/mirrors/linux/gentoo/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/portage/local /var/lib/layman/enlightenment /var/lib/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="256-color X a52 aac accessibility acl acpi activefilter addns ads aio all_sfx alsa amr apache2 archive asf aspell ass async asyncns atm attrib audio automount bash-completion battery bazaar berkdb blink bluetooth boost branding bs2b bugzilla bzip2 cairo cancel-locks caps ccache cdda cddb cdparanoia cdr charmap cli clock consolekit context contrast contrib corefonts cracklib cramfs crypt css cups curl curlwrappers cxx d daemon dbus derby detex device-mapper dga dhcpcd dirac discard-path djvu dot dri drm dselect dtmf dts dvb dvd dvdnav dvdr dvi dvipdfm eap-sim eap-tls edit emacs embedded emerald emf enca enchant encode etiquette eurephia evil exif expat extensions extra extras faac faad fading-colors fat ffmpeg finger flac fontconfig foomaticdb fortran fpm fpx ftp fts3 fuse gallium gconf gcrypt gd gdbm gdm gdu gif gimp git gles glib glibc-compat20 gme gmp gnome gnutls gopher gpg gphoto2 gpm graphics graphviz gs gsl gstreamer gtk gucharmap guidexml gzip h224 hash hdri hotpixels hpijs hpn http httpd humanities hwdb iconv icq icu id3 id3tag idn ieee1394 imagemagick imap imlib inifile inkjar inotify intl ios ipc ipod iproute2 ipv6 jadetex java java6 javascript jbig jpeg jpeg2k kate kdrive kerberos keymap kpathsea lame lapack lasi latex latex3 lcdfilter lcms ldap ldb less libass libffi libmms libnl libnotify libproxy libssh2 libv4l libv4l2 live llvm logrotate lua lua-cairo lua-imlib luatex lvm lzma lzo mad masquerade matroska mbox mdbox mdnsresponder-compat mercurial mhash mime mktemp mmap mmx mmxext mng modules moonlight mp3 mp4 mpd mpeg msn mta mudflap mysql mysqlnd nautilus ncurses net network nis nls nntp nonfsv4 nptl nptlonly ntfsprogs ntp nut objc objc++ objc-gc ogg omega openexr opengl openldap openmp openssl openvg orc outputs pam pango parse-clocks passwdqc passwordsave pccts pcf pcre pdf pdfannotextractor perl pic pixbuf pkcs11 plotutils plugins pm-utils pnat png pnm policykit pop posix postproc ppds ppp pppd prevent-removal preview-latex psf pstricks pth publishers pulseaudio python python2 qt-faststart qt3support qt4 quicktime quota radius rar raw readline resolvconf rfc3779 rss rtc rtmp rtsp rule_generator samba sasl savedconfig scanner schroedinger science scsi sctp sdbox sdl-sound server session sftp shm shout slideshow slp smbclient smime smtp sockets socks5 sound speex spell sql sqlite sqlite3 srtp sse sse2 sse3 ssl startup-notification stream stun subversion svg swig sysfs system-libCg t1lib taglib tcl tcpd tex4ht tga themes theora thin-splines threads threadsafe tidy tiff timezone tint2conf tk tls tokenizer tokyocabinet toolbar tools tordns tremor truetype twolame udev udis86 unicode unique unlock-notify upnp usb utils utp v4l v4l2 vala vhosts video vidix vlm vorbis vpx wav weather-metar weather-xoap web webcam width wifi win32codecs winbind wma wma-fixed wmf wps wxwidgets x264 x86 xanim xattr xcb xcomposite xdmcp xft xgetdefault xindy xinerama xinetd xml xmlreader xmlrpc xmlwriter xmp xorg xpm xrandr xsl xv xvid xvmc yaml yv12 zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="*" APACHE2_MPMS="worker" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="adc65 agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z topfield toshiba_pdrm11" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="caps plymouth syslog" DVB_CARDS="usb-dib0700" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" LIRC_DEVICES="hauppauge" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="gphoto2 hp" USERLAND="GNU" VIDEO_CARDS="fbdev radeon v4l vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marco Paolone 2011-06-20 19:08:22 UTC
Created attachment 277631 [details, diff]
add localization for gv-3.7.2
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-01-22 18:57:58 UTC
The USE flag for this is USE="unicode", not USE="nls" as per upstream README.I18N.

But this doesn't work because our libXaw3d doesn't seem to be properly configured. Perhaps a bug in the ebuild for it.

-- cut --

checking for SimplePart.international... no

****************************************************
WARNING: international support has not been detected
         in your version of Xaw3d.  The UTF8-Support
         of GNU gv has been disabled.
****************************************************

-- cut --
Comment 3 Matt Turner gentoo-dev 2012-01-22 19:12:40 UTC
(In reply to comment #2)
> The USE flag for this is USE="unicode", not USE="nls" as per upstream
> README.I18N.
> 
> But this doesn't work because our libXaw3d doesn't seem to be properly
> configured. Perhaps a bug in the ebuild for it.
> 
> -- cut --
> 
> checking for SimplePart.international... no
> 
> ****************************************************
> WARNING: international support has not been detected
>          in your version of Xaw3d.  The UTF8-Support
>          of GNU gv has been disabled.
> ****************************************************
> 
> -- cut --

We can certainly add a use flag to libXaw3d.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-01-22 19:28:37 UTC
Created attachment 299567 [details, diff]
USE="unicode" for libXaw3d
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-01-22 19:30:29 UTC
Created attachment 299569 [details, diff]
USE="unicode" for gv

Even with both libXaw3d and gv patched like this, I still see:

checking for SimplePart.international... no

****************************************************
WARNING: international support has not been detected
         in your version of Xaw3d.  The UTF8-Support
         of GNU gv has been disabled.
****************************************************
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-01-23 16:36:38 UTC
+*gv-3.7.3-r1 (23 Jan 2012)
+
+  23 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> +gv-3.7.3-r1.ebuild:
+  Enable the unicode codepath from libXaw3d wrt #372395 by Marco Paolone
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2012-01-23 20:00:11 UTC
I've reported this to upstream here:

https://bugs.freedesktop.org/show_bug.cgi?id=45144