Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197121 - games-sports/xmoto with nls enabled doesn't install language files
Summary: games-sports/xmoto with nls enabled doesn't install language files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High major
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-26 10:26 UTC by Carmine Paolino
Modified: 2008-03-11 21:40 UTC (History)
1 user (show)

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


Attachments
patch on 0.3.4 (xmoto_nls.patch,753 bytes, patch)
2008-02-12 15:12 UTC, Tomáš Chvátal (RETIRED)
Details | Diff
patch fixing nls problem and new lua depercated useflag (xmoto.diff,1.75 KB, patch)
2008-03-05 22:12 UTC, Tomáš Chvátal (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carmine Paolino 2007-10-26 10:26:35 UTC
all versions of xmoto doesn't install any language files (.po/.mo/.gmo) even with nls USE flag enabled.
Here is the merge phase of xmoto-0.3.4 with +nls -editor:
>>> Merging games-sports/xmoto-0.3.4 to /
--- /usr/
--- /usr/games/
--- /usr/games/bin/
>>> /usr/games/bin/xmoto
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/xmoto-0.3.4/
>>> /usr/share/doc/xmoto-0.3.4/TODO.bz2
>>> /usr/share/doc/xmoto-0.3.4/README.bz2
>>> /usr/share/doc/xmoto-0.3.4/ChangeLog.bz2
--- /usr/share/man/
--- /usr/share/man/mang/
>>> /usr/share/man/mang/xmoto.6.bz2
--- /usr/share/games/
--- /usr/share/games/xmoto/
>>> /usr/share/games/xmoto/xmoto_icone_x.ico
--- /usr/share/games/xmoto/Textures/
--- /usr/share/games/xmoto/Textures/Fonts/
>>> /usr/share/games/xmoto/Textures/Fonts/DejaVuSans.ttf
--- /usr/share/games/xmoto/Textures/Musics/
>>> /usr/share/games/xmoto/Textures/Musics/menu.ogg
>>> /usr/share/games/xmoto/Textures/Musics/batcave.ogg
>>> /usr/share/games/xmoto/Textures/Musics/ridealong.ogg
>>> /usr/share/games/xmoto/Textures/Musics/legolodio.ogg
>>> /usr/share/games/xmoto/xmoto.bin
--- /usr/share/applications/
>>> /usr/share/applications/xmoto.desktop
--- /usr/share/pixmaps/
>>> /usr/share/pixmaps/xmoto.xpm

Reproducible: Always

Steps to Reproduce:
1. echo "games-sports/xmoto nls -editor" >> /etc/portage/package.use
2. emerge xmoto
3.

Actual Results:  
No traslations at all

Expected Results:  
To be translated on my language (it supports it!)

Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-mactel i686)
=================================================================
System uname: 2.6.23-gentoo-mactel i686 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
Timestamp of tree: Thu, 25 Oct 2007 00:50:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0_rc4-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.3.5, 1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mirror.solnet.ch http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/dottout /usr/portage/local/layman/picoverlay /usr/portage/local/layman/gechi /usr/portage/local/layman/xeffects /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx aim alsa apache2 avahi bash-completion berkdb bitmap-fonts bluetooth cairo caps cddb cdparanoia cdr cli cracklib crypt cups dbus dri dvd dvdr exif fam ffmpeg firefox fortran ftp gdbm gif gpm gtk gtk2 hal iconv icq ieee1394 imagemagick imap ipv6 isdnlog jabber jack jpeg lcms ldap libnotify lirc mad madwifi midi mikmod mmx mono mp3 mpeg msn mudflap musepack mysql ncurses nls nntp nptl nptlonly nsplugin ogg openal opengl openmp oscar pam pcre perl png pppd python quicktime readline reflection samba sdl session smp spl sse sse2 ssl startup-notification svg symlink tcpd theora threads tiff truetype truetype-fonts type1 type1-fonts unicode v4l v4l2 vorbis wifi win32codecs x86 xcomposite xine xorg xscreensaver xv xvid yahoo zlib" ALSA_CARDS="hda-intel usb-audio virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" LIRC_DEVICES="macmini" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2008-02-12 15:12:46 UTC
Created attachment 143315 [details, diff]
patch on 0.3.4

This is from my ebuild on 0.4, but it should work, test it if you want...
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2008-03-05 22:12:09 UTC
Created attachment 145389 [details, diff]
patch fixing nls problem and new lua depercated useflag
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2008-03-11 21:40:28 UTC
fixed with 0.4.1, thanks!