* Vendor latest linux/lirc.h and handle lirc overflows.
* mode2: support lirc overflows, carrier reports, and timeouts
* Lots of fixes for python 3.
* irdroid: fix hang after transmit
* The deprecated lircd --uinput option is dropped. Use
lircd-uinput(8) instead.
* The deprecated generation of lirc.hwdb is dropped. Use
the configs/*.conf or the python database.py instead.
* Added a new lirc-postinstall scripts which updates
configuration and docs in final install destination (#286).
* Using LIRC_IRDB_CACHE_ID lirc now supports reproducible
builds. See #301 and updated irdb-get(1) manpage.
* lircd: Support for the GOLDSTAR flag in lircd.conf(5) is dropped.
* plugins: srm7500libusb: Major overhaul.
* plugins:girs: Drop support for LIRC_SET_REC_TIMEOUT, add new
driver option ending_timeout (#302).
- Drop pyyaml-60-compatibility.patch: merged upstream.
- Drop lirc-autoconf-py310.patch: no longer needed.
- Rebase harden_lircd.service.patch and reproducible.patch.
- Drop rcFOO symlinks.
# Happens to fix build with Python 3.13
OBS-URL: https://build.opensuse.org/package/show/vdr/lirc?expand=0&rev=120
57 lines
2.1 KiB
Diff
57 lines
2.1 KiB
Diff
https://sourceforge.net/p/lirc/tickets/301/
|
|
https://sourceforge.net/p/lirc/git/merge-requests/33/
|
|
https://sourceforge.net/p/lirc/git/merge-requests/34/
|
|
https://sourceforge.net/p/lirc/git/merge-requests/36/
|
|
|
|
Index: lirc-0.10.2/tools/lirc-lsplugins.cpp
|
|
===================================================================
|
|
--- lirc-0.10.2.orig/tools/lirc-lsplugins.cpp
|
|
+++ lirc-0.10.2/tools/lirc-lsplugins.cpp
|
|
@@ -413,10 +413,9 @@ static void print_header(void)
|
|
static void print_yaml_header(void)
|
|
{
|
|
static const char* const YAML_HEADER =
|
|
- "#\n# Generated by lirc-lsplugins --yaml (%s) at %s#\n ";
|
|
- const time_t now = time(NULL);
|
|
+ "#\n# Generated by lirc-lsplugins --yaml (%s)#\n ";
|
|
|
|
- printf(YAML_HEADER, VERSION, ctime(&now));
|
|
+ printf(YAML_HEADER, VERSION);
|
|
printf("\ndrivers:\n");
|
|
}
|
|
|
|
Index: lirc-0.10.2/python-pkg/lirc/database.py
|
|
===================================================================
|
|
--- lirc-0.10.2.orig/python-pkg/lirc/database.py
|
|
+++ lirc-0.10.2/python-pkg/lirc/database.py
|
|
@@ -160,7 +160,7 @@ class Database(object):
|
|
d['device_hint'] = hint
|
|
|
|
configs = {}
|
|
- for path in glob.glob(configdir + '/*.conf'):
|
|
+ for path in sorted(glob.glob(configdir + '/*.conf')):
|
|
with open(path) as f:
|
|
cf = yaml.load(f.read(), Loader = Loader)
|
|
configs[cf['config']['id']] = cf['config']
|
|
Index: lirc-0.10.2/tools/irdb-get
|
|
===================================================================
|
|
--- lirc-0.10.2.orig/tools/irdb-get
|
|
+++ lirc-0.10.2/tools/irdb-get
|
|
@@ -9,7 +9,6 @@ import fnmatch
|
|
import os
|
|
import os.path
|
|
import sys
|
|
-import time
|
|
import urllib.error # pylint: disable=no-name-in-module,F0401,E0611
|
|
import urllib.request # pylint: disable=no-name-in-module,F0401,E0611
|
|
|
|
@@ -198,7 +197,7 @@ def do_yaml_config():
|
|
lircmd_by_driver[driver].append("%s/%s" % (tokens[0], tokens[2]))
|
|
|
|
print("#")
|
|
- print("# Created by 'irdb-get yaml-config' as of " + CACHE_ID)
|
|
+ print("# Created by 'irdb-get yaml-config'")
|
|
print("#")
|
|
print("\nlircd_by_driver:")
|
|
print_yaml_dict(lircd_by_driver)
|