Bug 547064

Summary: Elinks not built with GPM support.
Product: [Fedora] Fedora Reporter: Tomas Miljenović (TomasM) <Tomas>
Component: elinksAssignee: Ondrej Vasik <ovasik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 12CC: kdudka, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.12-0.20.pre5.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-16 01:18:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Miljenović (TomasM) 2009-12-13 13:34:46 UTC
Description of problem:
Elinks not built with GPM support.

Version-Release number of selected component (if applicable):
elinks-0.12-0.19.pre5.fc12

How reproducible:
Always.

Steps to Reproduce:
1.  Ensure gpm is running
2.  Start elinks from tty
3.  Attempt to use mouse to click buttons, access menus or otherwise interact with application
  
Actual results:
Mouse cursor fails to interact with any UI elements, and is always in highlight→copy mode.

Expected results:
Mouse interaction as expected (same as if running elinks under X).  When Shift key is held down, GPM highlight→copy behaviour is obtained.

Additional info:
If I remove the '%rescue' line from the spec file and rebuild elinks myself, I obtain the proper functionality.

Comment 1 Ondrej Vasik 2009-12-14 15:37:05 UTC
Thanks for report, however this %{?rescue:--without-gpm} configure option is used only when rescue is set. This is not the case of koji build system. Last package was built with those options:
./configure --build=i386-redhat-linux-gnu --host=i386-redhat-linux-gnu --target=i686-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --without-x --with-gssapi --enable-bittorrent --with-nss_compat_ossl

As you can see, there is no --without-gpm option - so just removing this option from spec file will solve nothing. It seems that gpm-devel build require is missing.

Built with gpm support as elinks-0.12-0.20.pre5.fc13, will prepare F-12 update.

Comment 2 Tomas Miljenović (TomasM) 2009-12-15 12:55:24 UTC
Thanks Ondrej (and sorry for the red herring about the recovery setting).

All works well for me with elinks-0.12-0.20.pre5.fc12.i686.rpm; I think this can be closed.

Comment 3 Ondrej Vasik 2009-12-15 13:16:47 UTC
Thanks for the fix confirmation, it will get closed automatically once the update reach stable.

Comment 4 Fedora Update System 2009-12-15 13:16:57 UTC
elinks-0.12-0.20.pre5.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/elinks-0.12-0.20.pre5.fc12

Comment 5 Fedora Update System 2009-12-16 01:18:13 UTC
elinks-0.12-0.20.pre5.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.