Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382077 - x11-misc/xosview-1.8.3-r1 does not display a laptop battery status
Summary: x11-misc/xosview-1.8.3-r1 does not display a laptop battery status
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-06 19:29 UTC by needle
Modified: 2012-02-04 12:36 UTC (History)
0 users

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


Attachments
bugged acpi battery xosview output (2011-09-06-224135_203x218_scrot.png,4.90 KB, image/png)
2011-09-06 20:44 UTC, needle
Details
Debian patch which fixes this (xosview-1.8.3-acpi.patch,7.55 KB, patch)
2011-09-06 20:54 UTC, needle
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description needle 2011-09-06 19:29:19 UTC
Xosview does not display the current status of a acpi battery since there is possibly no hardcoded path where the application should be looking at.

For cross reference please have a look at 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527810

Reproducible: Always

Steps to Reproduce:
1. emerge xosview on a laptop f.e. Thinkpad T42 with acpi enabled
2. launch "xosview +battery"
3. 
Actual Results:  
Xosview does not display the status of a acpi monitored battery. 
It displays a empty bar. There are no error messages. No further possibility to point xosview to the right path to lookup the needed information.

Expected Results:  
Xosview should display the status of a acpi monitored battery correctly.


I have applied a patch from debian mailing-list http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527810 ,to the x11-misc/xosview-1.8.3 ebuild source and tested the patched ebuild successfully with my own battery.)
Comment 1 needle 2011-09-06 19:32:20 UTC
Portage 2.1.10.11 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-i686-Intel-R-_Pentium-R-_M_processor_1.70GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 05 Sep 2011 13:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo proaudio needless
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/gentoo-portage/distfiles/"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs buildpkg candy ccache collision-protect distlocks ebuild-locks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j2"
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/layman/pro-audio /usr/local/portage"
SYNC="rsync://lx/gentoo-portage"
USE="7zip X aac acl acpi alsa apm bash-completion berkdb bindist bonobo bzip2 cairo cal3d cddb cli cpudetection cracklib crypt cue curl custom-flags cxx dga directfb diskio dri encode expat faad fbcon flac fontforge fortran fuse gdbm gif gpm gtk iconv imagemagick jpeg jpeg2k lame laptop libcaca libclamav libgda libmms libsamplerate libsndfile logrotate lua lzo mad mbox mmx modpack modules mp3 mpeg mplayer mudflap musepack museplug ncurses noamazon nptl nptlonly nsplugin nspluginwrapper ogg oggvorbis opengl openmp pam pcre pdf perl png pppd python python3 readline schroedinger screen sensord session sox sql sqlite sqlite3 sse sse2 ssl svg sysfs tcpd tga threads truetype unicode vdpau vim-syntax vorbis wavpack x86 xft xml xorg zip zlib" ALSA_CARDS="intel8x0" 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="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPT
Comment 2 needle 2011-09-06 20:44:16 UTC
Created attachment 285721 [details]
bugged acpi battery xosview output
Comment 3 needle 2011-09-06 20:54:12 UTC
Created attachment 285723 [details, diff]
Debian patch which fixes this

Proposed patch taken from the debian mailing list, which fixes this issue on gentoo.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527810
Comment 4 needle 2011-10-29 13:07:57 UTC
Same issue on different platform. A T400 thinkpad x86_64.
The applied patch fixes it.
Comment 5 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-02-04 12:36:40 UTC
+*xosview-1.9.2 (04 Feb 2012)
+
+  04 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org>
+  +files/xosview-1.9.2-emptyxpaths.patch, +xosview-1.9.2.ebuild:
+  Version bump, fixes bug 382077 by needle <qui_wan_chong@yahoo.de>