Bug#913184: libsdl2-dev: Compiled applications see one keypress as two

Nicholas Ricciuti rishooty at gmail.com
Wed Nov 7 20:59:03 GMT 2018


Package: libsdl2-dev
Version: 2.0.5+dfsg1-2
Severity: important
Tags: newcomer

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
I was compiling various sdl2-based doom engines.Namely: eternity engine,
crispy-doom, and chocolate-doom. All of them exhibited an issue where the menu
was impossible to access or navigate because it would open/close the menu in an
instant, or toggle an option on/off.

   * What exactly did you do (or not do) that was effective (or ineffective)?
I did some research and found out this was an issue with a particular version
of 2.0.5. I tried various versions which worked, but always broke package
management in some way. For example, the deb compilation of SDL's latest 2.0.5
works, but it builds as 2.0.4 for some reason, which breaks compatiblity with
other libraries like net, mixer, etc. Or I would checkinstall 2.0.9, but then I
would be required to follow suit with any other dependencies.

The main way I proved this as working was by
frankensteining some of the /debian files of
http://http.debian.net/debian/pool/main/libs/libsdl2/libsdl2_2.0.5+dfsg1-2.dsc
into the release-2.0.5 tag of http://hg.libsdl.org/SDL. This led to a bunch of
complications and trial/error as you'd expect, but eventually I got it to
compile crispy without issues. The problem is that it still built as 2.0.4, and
would require one to "sudo apt-mark hold libsdl2-dev".

I've been looking for a more elegant way to update libsdl2_2.0.5+dfsg1-2 to the
latest version of 2.0.5 which fixes this issue, but I've had no luck. I figure
I'd be better off just reporting it in hopes of a more professional and
permanent solution.

   * What was the outcome of this action?
It worked, but didn't build entirely correctly and under the wrong version
number.

   * What outcome did you expect instead?
For it to build, install, and be fully recognized as a replacement for
libsdl2-2.0-0 and libsdl2-dev.

*** End of the template - remove these template lines ***



-- System Information:
Debian Release: 9.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-17.1-liquorix-amd64 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libsdl2-dev depends on:
ii  libasound2-dev     1.1.3-5
ii  libdbus-1-dev      1.10.26-0+deb9u1
ii  libegl1-mesa-dev   18.1.9-1~bpo9+1
ii  libgl1-mesa-dev    18.1.9-1~bpo9+1
ii  libgles2-mesa-dev  18.1.9-1~bpo9+1
ii  libglu1-mesa-dev   9.0.0-2.1
ii  libibus-1.0-dev    1.5.14-3
ii  libpulse-dev       10.0-1+deb9u1
ii  libsdl2-2.0-0      2.0.5+dfsg1-2
ii  libsndio-dev       1.1.0-3
ii  libudev-dev        232-25+deb9u4
ii  libwayland-dev     1.16.0-1~bpo9+1
ii  libx11-dev         2:1.6.4-3
ii  libxcursor-dev     1:1.1.14-1+deb9u1
ii  libxext-dev        2:1.3.3-1+b2
ii  libxi-dev          2:1.7.9-1
ii  libxinerama-dev    2:1.1.3-1+b3
ii  libxkbcommon-dev   0.7.1-2~deb9u1
ii  libxrandr-dev      2:1.5.1-1
ii  libxss-dev         1:1.2.2-1
ii  libxt-dev          1:1.1.5-1
ii  libxv-dev          2:1.0.11-1
ii  libxxf86vm-dev     1:1.1.4-1+b2

libsdl2-dev recommends no packages.

libsdl2-dev suggests no packages.

-- no debconf information



More information about the Pkg-sdl-maintainers mailing list