guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: sdl2: Fix double input events bug.


From: David Thompson
Subject: 01/01: gnu: sdl2: Fix double input events bug.
Date: Thu, 5 Jan 2017 16:23:44 +0000 (UTC)

davexunit pushed a commit to branch master
in repository guix.

commit e0101b54b72e9a7f181c27654369cd96ddba5759
Author: David Thompson <address@hidden>
Date:   Thu Jan 5 11:15:57 2017 -0500

    gnu: sdl2: Fix double input events bug.
    
    * gnu/packages/sdl.scm (sdl2)[inputs]: Add dbus, gblib, and ibus.
---
 gnu/packages/sdl.scm |   13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index bb4ad1c..d9dbdca 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2015 David Thompson <address@hidden>
+;;; Copyright © 2013, 2015, 2017 David Thompson <address@hidden>
 ;;; Copyright © 2014 Mark H Weaver <address@hidden>
 ;;; Copyright © 2015 Sou Bunnbu <address@hidden>
 ;;; Copyright © 2015 Alex Kost <address@hidden>
@@ -30,7 +30,9 @@
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages audio)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages glib)
   #:use-module (gnu packages guile)
+  #:use-module (gnu packages ibus)
   #:use-module (gnu packages image)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages mp3)
@@ -97,6 +99,15 @@ joystick, and graphics hardware.")
              (sha256
               (base32
                "11c75qj1qxmx67iwkvf9z4x69phk301pdn86zzr6jncnap7kh824"))))
+    (inputs
+     ;; SDL2 needs to be built with ibus support otherwise some systems
+     ;; experience a bug where input events are doubled.
+     ;;
+     ;; For more information, see: https://dev.solus-project.com/T1721
+     (append `(("dbus" ,dbus)
+               ("glib" ,glib)
+               ("ibus" ,ibus))
+             (package-inputs sdl)))
     (license bsd-3)))
 
 (define-public libmikmod



reply via email to

[Prev in Thread] Current Thread [Next in Thread]