forked from LibreELEC/LibreELEC.tv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request LibreELEC#1101 from Kwiboo/lirc-python
Update lirc
- Loading branch information
Showing
12 changed files
with
119 additions
and
401 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
packages/devel/libirman/patches/libirman-0001-fix-poll-include.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
diff -Naur a/config.h.in b/config.h.in | ||
--- a/config.h.in 2016-05-18 18:19:56.000000000 +0200 | ||
+++ b/config.h.in 2016-12-26 22:49:43.514203152 +0100 | ||
@@ -21,6 +21,9 @@ | ||
/* Define to 1 if you have the `mkfifo' function. */ | ||
#undef HAVE_MKFIFO | ||
|
||
+/* defined if poll.h is available */ | ||
+#undef HAVE_POLL_H | ||
+ | ||
/* Define to 1 if you have the `select' function. */ | ||
#undef HAVE_SELECT | ||
|
||
@@ -48,6 +51,9 @@ | ||
/* Define to 1 if you have the <sys/file.h> header file. */ | ||
#undef HAVE_SYS_FILE_H | ||
|
||
+/* defined if sys/poll.h is available */ | ||
+#undef HAVE_SYS_POLL_H | ||
+ | ||
/* Define to 1 if you have the <sys/stat.h> header file. */ | ||
#undef HAVE_SYS_STAT_H | ||
|
||
diff -Naur a/configure.ac b/configure.ac | ||
--- a/configure.ac 2016-05-18 18:19:41.000000000 +0200 | ||
+++ b/configure.ac 2016-12-26 22:48:40.190031280 +0100 | ||
@@ -20,7 +20,7 @@ | ||
|
||
dnl Checks for header files. | ||
AC_HEADER_STDC | ||
-AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h termios.h memory.hi sys/file.h) | ||
+AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h termios.h memory.hi sys/file.h poll.h sys/poll.h) | ||
|
||
dnl Checks for typedefs, structures, and compiler characteristics. | ||
AC_TYPE_PID_T |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 18 additions & 13 deletions
31
packages/sysutils/lirc/patches/lirc-0002-disable-python3.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,43 @@ | ||
diff -Naur a/configure.ac b/configure.ac | ||
--- a/configure.ac 2016-06-08 13:06:09.757102470 -0700 | ||
+++ b/configure.ac 2016-06-08 13:07:04.620705345 -0700 | ||
@@ -41,8 +41,8 @@ | ||
@@ -40,9 +40,9 @@ | ||
AM_CONDITIONAL(HAVE_DOXYGEN, test x$DOXYGEN = xyes) | ||
AC_PROG_LN_S | ||
LT_INIT([disable-static]) | ||
AM_PATH_PYTHON([3.1],,) | ||
-AM_PATH_PYTHON([3.1],,) | ||
-AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != ""]) | ||
-AC_CHECK_PROG([HAVE_PYTHON3],[python3],[yes],[no]) | ||
+AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" == ""]) | ||
+AM_PATH_PYTHON([3.1],,[:]) | ||
+AM_CONDITIONAL([HAVE_PYTHON], [false]) | ||
+AC_CHECK_PROG([HAVE_PYTHON3],[python3],[no],[no]) | ||
LIBUSB_CONFIG="pkg-config libusb" | ||
|
||
dnl Checks for header files. | ||
diff -Naur a/tools/Makefile.am b/tools/Makefile.am | ||
--- a/tools/Makefile.am 2016-05-23 10:18:48.000000000 -0700 | ||
+++ b/tools/Makefile.am 2016-06-08 13:15:25.711341537 -0700 | ||
@@ -114,19 +114,12 @@ | ||
@@ -114,22 +114,7 @@ | ||
|
||
install-exec-hook: | ||
$(SED) -i -e 's/@version@/$(VERSION)/' \ | ||
- $(DESTDIR)$(bindir)/lirc-config-tool \ | ||
- $(DESTDIR)$(bindir)/irdb-get | ||
+ $(DESTDIR)$(bindir)/lirc-config-tool | ||
rm -f $(DESTDIR)/$(bindir)/lirc-setup | ||
$(srcdir)/make_rel_symlink.py \ | ||
$(DESTDIR)/$(pkgpythondir)/lirc-setup \ | ||
$(DESTDIR)/$(bindir)/lirc-setup | ||
|
||
- rm -f $(DESTDIR)/$(bindir)/lirc-setup | ||
- $(srcdir)/make_rel_symlink.py \ | ||
- $(DESTDIR)/$(pkgpythondir)/lirc-setup \ | ||
- $(DESTDIR)/$(bindir)/lirc-setup | ||
- | ||
-install-data-hook: | ||
- rm -f $(DESTDIR)/$(pkgpythondir)/configs | ||
- $(srcdir)/make_rel_symlink.py \ | ||
- $(DESTDIR)$(pkgdatadir)/configs \ | ||
- $(DESTDIR)$(pkgpythondir)/configs | ||
- | ||
uninstall-hook: | ||
rm -f $(DESTDIR)/$(bindir)/lirc-setup \ | ||
$(DESTDIR)/$(pkgpythondir)/configs | ||
-uninstall-hook: | ||
- rm -f $(DESTDIR)/$(bindir)/lirc-setup \ | ||
- $(DESTDIR)/$(pkgpythondir)/configs | ||
+ $(DESTDIR)$(bindir)/lirc-config-tool | ||
|
||
clean-local: | ||
-find . -name __pycache__ -exec rm -r {} \; |
22 changes: 0 additions & 22 deletions
22
packages/sysutils/lirc/patches/lirc-0003-add-dependencies-to-fix-parallel-build-issue.patch
This file was deleted.
Oops, something went wrong.
110 changes: 0 additions & 110 deletions
110
packages/sysutils/lirc/patches/lirc-0004-fix-freeaddrinfo-handling.patch
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.