Tslib support in libSDL1.2

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Sun Apr 13 20:08:29 UTC 2014


Hi Michael,


2014-04-13 13:39 GMT+01:00 Michael Einhoff <michael at einhoff.org>:
> Hello,
>
> I use your Debian packages  libsdl1.2-dev und libsdl1.2debian, in order to
> run the webbrowser Netsurf in the framebuffer of a Raspberry (Raspian) via
> SDL.
>
> Now, I'm trying to connect a touchscreen with Tslib. I've already found out
> that the Tslib support is activated by setting the define “SDL_INPUT_TSLIB“
> in the two files SDL_fbevents.c or SDL_video.h.
>
> I'm not sure whether the Tslib support is compiled in your Debian packages,
> however, I suppose it's not. That would mean that I had to newly compile SDL
> lib. If so, before doing that,  do I  have to manipulate the original
> sourcecode with your Debian patch?
>
> Unfortunately, I'm no Linux or Debian professional and don't know how to
> deal with that issue, yet.
> I know, that it's probably too much to ask you to newly compile the SDL lib
> for me, but maybe you could tell me, how I can manipulate the SDL sourcecode
> with your patches and explain the best way to compile the LIB for the
> Raspberry to me?
>
> I'm looking forward to your reply!
> Thanks a lot in advance!


I don't know what version you are using, but we enabled support for
this library quite a while ago:

-------------
libsdl1.2 (1.2.15-4) unstable; urgency=low

  [ Manuel A. Fernandez Montecelo ]
  [...]
  * Enable support for touch screen library (Closes: #674799)
  [...]

 -- Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>  Mon,
11 Jun 2012 16:04:53 +0100
-------------


The packages depend on the library (see "dep" and "adep"):

https://packages.debian.org/source/sid/libsdl1.2
https://packages.debian.org/sid/libsdl1.2debian


I don't know if it's working well, but at least the support should be
present and you shouldn't need to compile a new version to enable it.

Let us know of your findindgs :-)


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Pkg-sdl-maintainers mailing list