View previous topic :: View next topic |
Author |
Message |
bisho n00b
Joined: 02 May 2003 Posts: 69 Location: Madrid (Spain)
|
Posted: Wed Aug 13, 2003 5:11 pm Post subject: Interesting patch to battstat |
|
|
The battstat gnome applet is monitoring the files each several seconds, causing on some bios a lot of CPU consuption and making the system crawl.
This applet is not usable at all in many Dell laptops, and several sony and other models.
There is a patch in:
http://www.its.caltech.edu/~dmoore/battstat/
that applies cleany to the latest battstat sources from gnome-current that solves this problem. The info about the battery is only cheked when a new batt is inserted, and the batt status could be checked then each 30 seconds without loosing a kick response to batt changes and AN on/off changes.
The related gnome bug is at:
http://bugzilla.gnome.org/show_bug.cgi?id=88553
I only needed to add to the gnome-applets-2.3.6.ebuild:
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/battstat-acpi-events.diff
}
and change the paths of the files in the battstat-acpi-events.diff patch, from battstat/ to gnome-applets-2.3.6/battstat
I hope this will help people having problems with battstat and their laptops. _________________ -=[ bisho [=- |
|
Back to top |
|
|
maxmc Guru
Joined: 14 Oct 2002 Posts: 480 Location: Linköping, Sweden
|
Posted: Wed Aug 13, 2003 8:09 pm Post subject: |
|
|
Im not sure this has anything to do with BMG ebuilds but since I use them I post here.
I get this whenever the scrollkeeper updates:
Code: | >>> Updating Scrollkeeper
/usr/share/omf/gnome-applets/clockmail_applet-ja.omf:5: error: Input is not proper UTF-8, indicate encoding !
¥á¡¼¥ë¥Á¥§¥Ã¥¯»þ·×¥¢¥×¥ì¥Ã¥È¥Þ¥Ë¥å¥¢¥ë
^
/usr/share/omf/gnome-applets/clockmail_applet-ja.omf:5: error: Bytes: 0xA5 0xE1 0xA1 0xBC
¥á¡¼¥ë¥Á¥§¥Ã¥¯»þ·×¥¢¥×¥ì¥Ã¥È¥Þ¥Ë¥å¥¢¥ë
^
/usr/share/omf/gnome-applets/diskusage_applet-es.omf:5: error: Input is not proper UTF-8, indicate encoding !
Manual del aplique de utilización de disco
^
/usr/share/omf/gnome-applets/diskusage_applet-es.omf:5: error: Bytes: 0xF3 0x6E 0x20 0x64
Manual del aplique de utilización de disco
^
/usr/share/omf/gnome-applets/diskusage_applet-ja.omf:5: error: Input is not proper UTF-8, indicate encoding !
¥Ç¥£¥¹¥¯»ÈÍѾõ¶·¥¢¥×¥ì¥Ã¥È¥Þ¥Ë¥å¥¢¥ë
^
/usr/share/omf/gnome-applets/diskusage_applet-ja.omf:5: error: Bytes: 0xA5 0xC7 0xA5 0xA3
¥Ç¥£¥¹¥¯»ÈÍѾõ¶·¥¢¥×¥ì¥Ã¥È¥Þ¥Ë¥å¥¢¥ë
^
/usr/share/omf/gnome-applets/drivemount_applet-ja.omf:5: error: Input is not proper UTF-8, indicate encoding !
¥É¥é¥¤¥Ö¥Þ¥¦¥ó¥È¥¢¥×¥ì¥Ã¥È¥Þ¥Ë¥å¥¢¥ë
^
/usr/share/omf/gnome-applets/drivemount_applet-ja.omf:5: error: Bytes: 0xA5 0xC9 0xA5 0xE9
¥É¥é¥¤¥Ö¥Þ¥¦¥ó¥È¥¢¥×¥ì¥Ã¥È¥Þ¥Ë¥å¥¢¥ë
^
/usr/share/omf/gnome-applets/cpumemusage_applet-es.omf:5: error: Input is not proper UTF-8, indicate encoding !
El aplique de utilización de la memoria y CPU
^
/usr/share/omf/gnome-applets/cpumemusage_applet-es.omf:5: error: Bytes: 0xF3 0x6E 0x20 0x64
El aplique de utilización de la memoria y CPU
^
/usr/share/omf/gnome-applets/anotherclock_applet-uk.omf:5: error: Input is not proper UTF-8, indicate encoding !
áÐÌÅÔ "¶ÎÛÉÊ ÇÏÄÉÎÎÉË"
^
/usr/share/omf/gnome-applets/anotherclock_applet-uk.omf:5: error: Bytes: 0xE1 0xD0 0xCC 0xC5
áÐÌÅÔ "¶ÎÛÉÊ ÇÏÄÉÎÎÉË"
^
/usr/share/omf/gnome-applets/cpumemusage_applet-ja.omf:5: error: Input is not proper UTF-8, indicate encoding !
CPU¡¦¥á¥â¥ê»ÈÍѾõ¶·¥¢¥×¥ì¥Ã¥È
^
/usr/share/omf/gnome-applets/cpumemusage_applet-ja.omf:5: error: Bytes: 0xA5 0xE1 0xA5 0xE2
CPU¡¦¥á¥â¥ê»ÈÍѾõ¶·¥¢¥×¥ì¥Ã¥È
^
/usr/share/omf/gnome-applets/cdplayer_applet-ja.omf:5: error: Input is not proper UTF-8, indicate encoding !
CD¥×¥ì¡¼¥ä¡¼¥¢¥×¥ì¥Ã¥È¥Þ¥Ë¥å¥¢¥ë
^
/usr/share/omf/gnome-applets/cdplayer_applet-ja.omf:5: error: Bytes: 0xA5 0xD7 0xA5 0xEC
CD¥×¥ì¡¼¥ä¡¼¥¢¥×¥ì¥Ã¥È¥Þ¥Ë¥å¥¢¥ë
^
/usr/share/omf/gnome-applets/battery_applet-es.omf:5: error: Input is not proper UTF-8, indicate encoding !
Manual del aplique monitor de carga de batería
^
/usr/share/omf/gnome-applets/battery_applet-es.omf:5: error: Bytes: 0xED 0x61 0x0A 0x20
Manual del aplique monitor de carga de batería
^
/usr/share/omf/gnome-applets/whereami_applet-es.omf:5: error: Input is not proper UTF-8, indicate encoding !
Manual del aplique ¿Donde estoy?
^
/usr/share/omf/gnome-applets/whereami_applet-es.omf:5: error: Bytes: 0xBF 0x44 0x6F 0x6E
Manual del aplique ¿Donde estoy?
^
/usr/share/omf/gnome-applets/battery_applet-ja.omf:5: error: Input is not proper UTF-8, indicate encoding !
¥Ð¥Ã¥Æ¥ê½¼ÅÅ¥â¥Ë¥¿¥¢¥×¥ì¥Ã¥È¥Þ¥Ë¥å¥¢¥ë
^
/usr/share/omf/gnome-applets/battery_applet-ja.omf:5: error: Bytes: 0xA5 0xD0 0xA5 0xC3
¥Ð¥Ã¥Æ¥ê½¼ÅÅ¥â¥Ë¥¿¥¢¥×¥ì¥Ã¥È¥Þ¥Ë¥å¥¢¥ë
^
/usr/share/omf/gnome-applets/gkb_applet-hu.omf:5: error: Input is not proper UTF-8, indicate encoding !
GNOME Billentyûzet átkapcsoló
^
/usr/share/omf/gnome-applets/gkb_applet-hu.omf:5: error: Bytes: 0xFB 0x7A 0x65 0x74
GNOME Billentyûzet átkapcsoló
^
/usr/share/omf/gnome-applets/charpick_applet-ja.omf:5: error: Input is not proper UTF-8, indicate encoding !
¥¥ã¥é¥¯¥¿¥Ô¥Ã¥«¡¼¥¢¥×¥ì¥Ã¥È¥Þ¥Ë¥å¥¢¥ë
^
/usr/share/omf/gnome-applets/charpick_applet-ja.omf:5: error: Bytes: 0xA5 0xE3 0xA5 0xE9
¥¥ã¥é¥¯¥¿¥Ô¥Ã¥«¡¼¥¢¥×¥ì¥Ã¥È¥Þ¥Ë¥å¥¢¥ë
^
/usr/share/omf/gnome-applets/asclock_applet-ja.omf:5: error: Input is not proper UTF-8, indicate encoding !
AfterStep»þ·×¥¢¥×¥ì¥Ã¥È¥Þ¥Ë¥å¥¢¥ë
^
/usr/share/omf/gnome-applets/asclock_applet-ja.omf:5: error: Bytes: 0xBB 0xFE 0xB7 0xD7
AfterStep»þ·×¥¢¥×¥ì¥Ã¥È¥Þ¥Ë¥å¥¢¥ë
|
I guess that gnome-applets own these files but no recompilation helps... am I the only one having this? |
|
Back to top |
|
|
Freak_NL Apprentice
Joined: 27 Jun 2002 Posts: 261 Location: The Netherlands
|
Posted: Sat Aug 16, 2003 10:04 pm Post subject: |
|
|
Quote: | Does anyone know how I can change the behaviour of metacity when switching windows focus to actually activate the window instead of just outlining it? Has anyone gotten this behaviour too with the latest ebuilds? I don't know when it started. I'm using USE="breakme" to emerge the latest gnome-devel ebuilds from breakmygentoo, which compiled gtk+2 with the shadow patch among other patches. Could that be causing the problem? Because I compile metacity w\o any extra pacthes (USE="-breakme") but the problem still arises. |
Eew.. Metacity changed its default behaviour a bit it seems? I am very much used to clicking anywhere on a window to get it to the front, not just clicking the titlebar. Is there a key that controls this behaviour?
Also Nautilus' Image Collection view does not work here:
Quote: | ** (nautilus:4075): WARNING **: activation failed: System exception: IDL:omg.org/CORBA/COMM_FAILURE:1.0
** (nautilus:4075): WARNING **: A view failed. The UI will handle this with a dialog but this should be debugged.
|
Does this work for anyone? And, uhm, what does it do? |
|
Back to top |
|
|
mantis Tux's lil' helper
Joined: 30 Jul 2002 Posts: 134 Location: Sydney
|
Posted: Sun Aug 17, 2003 12:18 am Post subject: |
|
|
Gnome-terminal not working, loads GUI but no text appears. Menus still work.
Pic
Downgraded from 2.3.2 to 2.2.2 and still doesnt work. |
|
Back to top |
|
|
Freak_NL Apprentice
Joined: 27 Jun 2002 Posts: 261 Location: The Netherlands
|
Posted: Sun Aug 17, 2003 9:55 am Post subject: |
|
|
Mantis: Did you update your kernel recently? This seems like a missing /dev/pts mount. |
|
Back to top |
|
|
Freak_NL Apprentice
Joined: 27 Jun 2002 Posts: 261 Location: The Netherlands
|
Posted: Sun Aug 17, 2003 1:37 pm Post subject: |
|
|
To have Metacity change it's behaviour to clicking anywhere in a window to move it to the front, just unset the "Select windows when the mouse moves over them" checkbox in the "windows" configuration panel..
What happened here? Two options got fused into one? I happen to like "Select windows when the mouse moves over them" AND "Click anywhere to raise window", but this is not an option anymore? It is one or the other (click or sloppy)!
I'm annoyed!
On to the bugs..
Why.. Why does attempting every open or save dialog result in a segfault?
[edit] Without the fileselector patches everything is fine. Is anyone else experiencing this with gtk+-2.2.2_p1-r7? |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Sun Aug 17, 2003 4:16 pm Post subject: |
|
|
Yup... That filesel patch still makes everything crashy as hell... I went ahead and removed it... Sorry folks... |
|
Back to top |
|
|
rowi Tux's lil' helper
Joined: 02 Dec 2002 Posts: 90 Location: Flensburg/Germany
|
Posted: Sun Aug 17, 2003 9:47 pm Post subject: |
|
|
Freak_NL wrote: | Metacity changed its default behaviour a bit it seems? I am very much used to clicking anywhere on a window to get it to the front, not just clicking the titlebar. Is there a key that controls this behaviour?
|
I really like the new behavior. But I agree this should be an option so that you and I can both work the way we are used to |
|
Back to top |
|
|
ethzero n00b
Joined: 24 May 2003 Posts: 53 Location: Colorado
|
Posted: Sun Aug 17, 2003 10:25 pm Post subject: |
|
|
Hey, when is Zenity going to be added to these ebuilds? |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Mon Aug 18, 2003 5:03 am Post subject: |
|
|
ethzero wrote: | Hey, when is Zenity going to be added to these ebuilds? |
report a bug with an ebuild - moaning certain won't make us add another ebuild to support to the list. I had Zenity in the early tarballs, but it was removed for some reason. |
|
Back to top |
|
|
terafoil n00b
Joined: 30 Apr 2003 Posts: 14
|
Posted: Mon Aug 18, 2003 3:32 pm Post subject: oggs are broken |
|
|
apparently , my ogg files are borked for some odd reason. when i go into an ogg folder, i just get the green foot icon,not the nice ogg format icons. Also, nautilus audio preview is off. this is because my ogg files have a mimetype of "application/ogg" where it should be "application/x-ogg". i've tried changing gnome's mime-types, changing /usr/share/mime-info/ but i still don't know what to do. if i make a file with nano and make it test.ogg, booom the ogg icon and everything appears. could this be a cd-rippers fault.currently using sound-juicer-0.4.1 (waiting for new ebuilds to come out).
my oggs(the broken ones) play fine in rhythmbox, it's just nautilus, and therefore nautilus-cd-burner also doesn't work(it changes x-ogg files only) |
|
Back to top |
|
|
akb Guru
Joined: 25 Jan 2003 Posts: 314 Location: Wolfenbüttel/Germany
|
Posted: Wed Aug 20, 2003 12:50 pm Post subject: |
|
|
i cannot get gstreamer to compile any more... i already compiled almost my whole gnome-2.4-r30 now, but gstreamer doesnt want, whatever i do. i looked into the ebuild and unmerged/remerged every single dependency (successfully), but gstreamer breaks always at the same point:
Code: |
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSE T_BITS=64 -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/gli b-2.0/include -I.. -DGST_DISABLE_DEPRECATED -g -I../libs -I../include -DG_LOG_DO MAIN=g_log_domain_gstreamer -DGST_CACHE_DIR=\"/var/lib/cache/gstreamer-0.6\" -ma rch=athlon-xp -O2 -pipe -c gstpad.c -MT libgstreamer_0.6_la-gstpad.lo -MD -MP -M F .deps/libgstreamer_0.6_la-gstpad.TPlo -fPIC -DPIC -o .libs/libgstreamer_0.6_l a-gstpad.lo
gsttrashstack.h: In function `gst_mem_chunk_alloc':
gsttrashstack.h:103: error: PIC register `ebx' clobbered in `asm'
gsttrashstack.h: In function `gst_trash_stack_pop':
gsttrashstack.h:103: error: PIC register `ebx' clobbered in `asm'
make[4]: *** [libgstreamer_0.6_la-gstmemchunk.lo] Fehler 1
make[4]: *** Warte auf noch nicht beendete Prozesse...
gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSE T_BITS=64 -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/gli b-2.0/include -I.. -DGST_DISABLE_DEPRECATED -g -I../libs -I../include -DG_LOG_DO MAIN=g_log_domain_gstreamer -DGST_CACHE_DIR=\"/var/lib/cache/gstreamer-0.6\" -ma rch=athlon-xp -O2 -pipe -c gstpad.c -MT libgstreamer_0.6_la-gstpad.lo -MD -MP -M F .deps/libgstreamer_0.6_la-gstpad.TPlo -o libgstreamer_0.6_la-gstpad.o >/dev/nu ll 2>&1
mv -f .libs/libgstreamer_0.6_la-gstpad.lo libgstreamer_0.6_la-gstpad.lo
make[4]: Leaving directory `/var/tmp/portage/gstreamer-0.6.2/work/gstreamer-0.6. 2/gst'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/gstreamer-0.6.2/work/gstreamer-0.6. 2/gst'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/var/tmp/portage/gstreamer-0.6.2/work/gstreamer-0.6. 2/gst'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/gstreamer-0.6.2/work/gstreamer-0.6. 2'
make: *** [all] Fehler 2
!!! ERROR: media-libs/gstreamer-0.6.2 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! compile failed
|
as far as i can see there isnt any interesting lib listed which could break it or something... i'm trying this for hours now...
anyone solved this yet and got a workaround or something? |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Wed Aug 20, 2003 1:23 pm Post subject: |
|
|
Have you tried messing with your CFLAGS a bit? Maybe try -march=athlon instead of athlon-xp... |
|
Back to top |
|
|
akb Guru
Joined: 25 Jan 2003 Posts: 314 Location: Wolfenbüttel/Germany
|
Posted: Wed Aug 20, 2003 3:12 pm Post subject: |
|
|
yep, tried a few settings, but nothing changed... the error message was still the same.
i tried:
CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow"
CFLAGS="-march=athlon-xp -O2 -pipe"
CFLAGS="-march=athlon -O2 -pipe"
i think it must be related on some libs which changed with the new gnome version... but which? and since there isnt something like this noticed by other people (is it?) its bit weird... "why me?" *lol* |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Wed Aug 20, 2003 3:18 pm Post subject: |
|
|
What gcc/glibc version are you using? |
|
Back to top |
|
|
akb Guru
Joined: 25 Jan 2003 Posts: 314 Location: Wolfenbüttel/Germany
|
Posted: Wed Aug 20, 2003 3:30 pm Post subject: |
|
|
here are my versions:
* sys-libs/glibc
Latest version available: 2.3.2_p2
Latest version installed: 2.3.2_p2
* sys-devel/gcc
Latest version available: 3.4
Latest version installed: 3.4 |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Wed Aug 20, 2003 3:32 pm Post subject: |
|
|
gcc 3.4 - that would do it... it's pre alpha man.. what were you thinking? |
|
Back to top |
|
|
akb Guru
Joined: 25 Jan 2003 Posts: 314 Location: Wolfenbüttel/Germany
|
Posted: Wed Aug 20, 2003 3:37 pm Post subject: |
|
|
uhm... hehe... didnt really notice that it was installed / upgraded. i think i shouldnt try to upgrade to a gnome devel version while partying *lol*
sry... which gcc version is the newest really usable one atm?
edit: ill try gcc-3.3.1.ebuild, is this okay?
edit2: it worked, thx man |
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Tue Aug 26, 2003 9:54 pm Post subject: |
|
|
hehehe... New glib, pango and gtk+ version came out today... All sorts of bugfixes... And the really choice file selector patch now works without crashing anything (even gedit). Here's a screenshot for the uninformed:
[img:b970199688]http://members1.chello.nl/~h.lai/gtkenhancements/filesel-new.png[/img:b970199688]
And yes Virginia... It's in gnome-current... |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
|
Back to top |
|
|
Lin_Matt Guru
Joined: 23 Jun 2002 Posts: 581 Location: TechWasteland (Mississippi)
|
Posted: Wed Aug 27, 2003 4:19 am Post subject: |
|
|
Sorry dude... I got all excited about a new gtk+ release and figured I'd check back on my favorite patch that never quite worked right. No thunder-stealing intended... |
|
Back to top |
|
|
Lovechild Advocate
Joined: 17 May 2002 Posts: 2858 Location: Århus, Denmark
|
Posted: Wed Aug 27, 2003 4:30 am Post subject: |
|
|
Lin_Matt wrote: | Sorry dude... I got all excited about a new gtk+ release and figured I'd check back on my favorite patch that never quite worked right. No thunder-stealing intended... |
get out of my head dude - I like you and all.. but this is scary... |
|
Back to top |
|
|
akb Guru
Joined: 25 Jan 2003 Posts: 314 Location: Wolfenbüttel/Germany
|
Posted: Wed Aug 27, 2003 7:48 am Post subject: |
|
|
how do you get this shadow patch working? i got gnome-current from a release a few days ago - as far as i know with shadow patch - but dont have any shadows. the only thing i had was kind of a small shadow (which overall was just a small shadow type border right and bottom of a menu), but not really what i can call a shadow |
|
Back to top |
|
|
user138 n00b
Joined: 15 Jun 2003 Posts: 30 Location: Portland, OR
|
Posted: Wed Aug 27, 2003 8:27 am Post subject: ebuild fails...libtool F@#$ed |
|
|
ok, now i dont think this has anything to do with the gnome ebuilds, but these are the only things that i upgrade (usually every day). So...
yesterday when trying to -u gnome, i error out with:
Code: | libtool: compile: cannot determine name of library object from `' |
so, i figure gnome's ebuilds must be borked. then i try something else, same result. seems libtool is messed up. So i try to re emerge libtool, and...
Code: |
checking host system type... Configuration name missing.
Usage: ./config.sub CPU-MFR-OPSYS
or ./config.sub ALIAS
where ALIAS is a recognized configuration type.
checking build system type... Configuration name missing.
Usage: ./config.sub CPU-MFR-OPSYS
or ./config.sub ALIAS
where ALIAS is a recognized configuration type.
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking for mawk... no
checking for gawk... gawk
updating cache ./config.cache
creating ./config.status
Usage: ./config.status [--recheck] [--version] [--help]
!!! ERROR: sys-devel/libtool-1.4.3-r1 failed.
!!! Function src_compile, Line 84, Exitcode 1
!!! (no error message)
|
i've no idea what did it...
these are installed....
sys-devel/gcc-3.2.3-r2
sys-libs/glibc-2.3.2-r1
sys-devel/libtool-1.4.3-r1
any ideas? |
|
Back to top |
|
|
Freak_NL Apprentice
Joined: 27 Jun 2002 Posts: 261 Location: The Netherlands
|
Posted: Wed Aug 27, 2003 8:36 am Post subject: |
|
|
Quote: | Here's a screenshot for the uninformed: |
The uninformed thank you. Good to see it working again.
I really hope the Metacity mouse focus mess (see previous posts) gets sorted out before 2.4.. The bugzilla isn't to positive it appears. Havoc seems to have his motives for doing things this way, but it really really irks me, and I don't get irked very often! |
|
Back to top |
|
|
|