We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 60 - libgpm support
Summary: libgpm support
Status: RESOLVED WONTFIX
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 1.2
Hardware: All Linux
: P2 enhancement
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL: http://www.devolution.com/pipermail/s...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-21 15:02 UTC by Patrice Mandin
Modified: 2007-07-05 22:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrice Mandin 2006-01-21 15:02:09 UTC
It was quite easy to add gpm support to SDL, however, it is not working,
and I don't know where the problem comes from.

I never get any mouse events: mouse_fd descriptor has bytes to read (in
FB_PumpEvents() function), but the FD_ISSET test always fails. So maybe
I miss something about gpm usage. When I compare to the gpm mev.c test
program, everything seems to be there and ok.

So I post the current patch (in message in URL), for anyone else to have a look. Note: I removed the current (broken) gpm support with my patch, and you must set
SDL_MOUSEDRV to gpm to use the libgpm driver.
Comment 1 Ryan C. Gordon 2006-01-27 11:23:18 UTC
Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL.

--ryan.

Comment 2 Sam Lantinga 2006-03-22 01:46:58 UTC
FYI, as far as I can tell, libgpm isn't under the LGPL yet:
http://lists.linux.it/pipermail/gpm/2005-September/000853.html
==============================================================
Moin!

Enrico Weigelt [Thu, Sep 08, 2005 at 07:13:10PM +0200]:
> [libgpm as LGPL]

Sounds good.

Please be patient for next release, I'll change the license for
libgpm.

The current status:

- I moved to Switzerland
- I wrote an init system, which should have a new release soon [0]
- After that release I'll stop all other projects and concentrate
  on a gpm release
- Patches sent to me or the list are archived, mostly not reviewed yet
- monotone (VCS) will be updated soon to a new version

Good night,

Nico
Comment 3 Sam Lantinga 2007-07-05 22:45:31 UTC
So the main author of libgpm is okay with it:
http://lists.linux.it/pipermail/gpm/2005-September/000863.html
=========================================

> Please be patient for next release, I'll change the license for
> libgpm.

As already noted, you can't do that.  I would have switched GNU barcode
to LGPL if it wasn't so difficult. 

For libgpm, you have my approval. I think I'm still the main author.
You have to track others, though.

/alessandro

=========================================

However, it looks like gpm itself is languishing:
=========================================

I am somehow happy to announce a broken release, gpm-1.20.2-broken.

The archive can be found on http://unix.schottelius.org/gpm/,
the detailled reasons for this broken release can be found in
http://unix.schottelius.org/gpm/browse_source/gpm-1.20.2-broken/doc/README.1.20.2.

Fixing of the compilation errors may happen in the near future.

Sincerly

Nico

=========================================

So... I'm going to shelve this for now. :)