Bug 3264 - w3m does not honor USE flag gpm
Bug#: 3264 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: naz@gentoo.org Reported By: sascha-gentoo-bugzilla@silbe.org
Component: Applications
URL: 
Summary: w3m does not honor USE flag gpm
Keywords:  
Status Whiteboard: 
Opened: 2002-05-31 09:09 0000
Description:   Opened: 2002-05-31 09:09 0000
I have explicitly unset the gpm USE flag to disable gpm support:

hybrid anygui-0.1.1-r1 # grep gpm /usr/portage/profiles/use.desc 
gpm - Adds support for sys-libs/gpm (Console-based mouse driver)
hybrid anygui-0.1.1-r1 # grep gpm /etc/make.profile
hybrid anygui-0.1.1-r1 # grep gpm /etc/make.conf   
USE="3dnow acl -apm -arts -avi berkdb crypt -cups -encode gdbm -gif -gpm -gtk imlib ipv6 -java jpeg -kde libg++ libwww mikmod mmx -motif mpeg nas ncurses nls oggvorbis -opengl pam pdflib png python -qt -qtmt -quicktime readline -sdl slang spell sse ssl -svga -tcltk -tcpd tetex truetype X xml2 -xmms -xv"


w3m still gets compiled with gpm support, resulting in debug messages that completely destroy the screen layout.
The workaround from the other bugreport fortunately works.

------- Comment #1 From Seemant Kulleen (RETIRED) 2002-05-31 09:54:48 0000 -------
Naz, I tested this with gpm-1.19 and gpm-1.20

gpm-1.19 seems to work with no problems at all

------- Comment #2 From Sascha Silbe 2002-06-05 07:58:12 0000 -------
But since this machine has no console nor a mouse, I do not want any GPM
support at all.
Unmerging gpm before merging w3m compiles it without GPM as wanted, so there's
at least a workaround.
It's no real solution, though. If I explicitly specify "-gpm" in USE, I do not
want it to be used, even if it is installed (for whatever reason).

------- Comment #3 From Michael M Nazaroff (RETIRED) 2002-06-09 02:35:54 0000 -------
Bumped up the revision number on w3m ebuild and it seems to honor the gpm use
variable fine on my machine at this point.. 

Thanx for the bug report

------- Comment #4 From Sascha Silbe 2002-06-09 16:25:30 0000 -------
Works for me, too. Thanks!