0.9.4b-3: Add ABRT fix, update rhbz #1364744 fix.
parent
91111e79eb
commit
8d58ace858
@ -0,0 +1,30 @@
|
||||
From 33c188c38f5f89e704e4c775205e1d90ca55bc0d Mon Sep 17 00:00:00 2001
|
||||
From: Alec Leamas <leamas.alec@gmail.com>
|
||||
Date: Sun, 21 Aug 2016 17:33:19 +0200
|
||||
Subject: [PATCH] lirc-setup: Fix crasher bugfix.
|
||||
|
||||
Fixes https://retrace.fedoraproject.org/faf/reports/1166394/
|
||||
---
|
||||
tools/lirc-setup/mvc_model.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tools/lirc-setup/mvc_model.py b/tools/lirc-setup/mvc_model.py
|
||||
index 02d1413..48864d8 100644
|
||||
--- a/tools/lirc-setup/mvc_model.py
|
||||
+++ b/tools/lirc-setup/mvc_model.py
|
||||
@@ -362,10 +362,10 @@ class DrvctlDeviceListModel(DeviceListModel):
|
||||
self.label_by_device = {}
|
||||
trypath = os.path.abspath(_here("../mode2"))
|
||||
if not os.path.exists(trypath):
|
||||
- trypath = os.path.join(BINDIR, "mode2")
|
||||
+ trypath = os.path.join(config.BINDIR, "mode2")
|
||||
if not os.path.exists(trypath):
|
||||
raise FileNotFoundError("trypath")
|
||||
- cmd = [trypath, "--driver" , self.driver_id, "--list-devices"]
|
||||
+ cmd = [trypath, "--driver", self.driver_id, "--list-devices"]
|
||||
try:
|
||||
result = subprocess.check_output(cmd, universal_newlines=True)
|
||||
except (OSError, subprocess.CalledProcessError):
|
||||
--
|
||||
2.5.5
|
||||
|
@ -1,28 +0,0 @@
|
||||
From f1c2f41a04589e019973e06e446205a9a4bfea9f Mon Sep 17 00:00:00 2001
|
||||
From: Alec Leamas <leamas.alec@gmail.com>
|
||||
Date: Tue, 24 May 2016 21:55:06 +0200
|
||||
Subject: [PATCH] plugins/devinput: Make the list-devices support available.
|
||||
|
||||
---
|
||||
plugins/devinput.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/plugins/devinput.c b/plugins/devinput.c
|
||||
index df97ffd..25b21ae 100644
|
||||
--- a/plugins/devinput.c
|
||||
+++ b/plugins/devinput.c
|
||||
@@ -89,7 +89,11 @@ const struct driver hw_devinput = {
|
||||
.api_version = 4,
|
||||
.driver_version = "0.9.3",
|
||||
.info = "See file://" PLUGINDOCS "/devinput.html",
|
||||
+#ifdef HAVE_LIBUDEV_H
|
||||
+ .device_hint = "drvctl",
|
||||
+#else
|
||||
.device_hint = "/dev/input/event*",
|
||||
+#endif
|
||||
};
|
||||
|
||||
|
||||
--
|
||||
2.5.5
|
||||
|
Loading…
Reference in new issue