Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/812818/?format=api
{ "id": 812818, "url": "http://patchwork.ozlabs.org/api/patches/812818/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/dba44a833d6e2e6bfa081c069ca3019255724179.1505219518.git.baruch@tkos.co.il/", "project": { "id": 27, "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api", "name": "Buildroot development", "link_name": "buildroot", "list_id": "buildroot.buildroot.org", "list_email": "buildroot@buildroot.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<dba44a833d6e2e6bfa081c069ca3019255724179.1505219518.git.baruch@tkos.co.il>", "list_archive_url": null, "date": "2017-09-12T12:31:58", "name": "[v2] lirc-tools: bump to version 0.10.1", "commit_ref": "64043653cb33cc02a33ad5f1adf1f4c4ef0fef98", "pull_url": null, "state": "accepted", "archived": false, "hash": "9203d738317053eb4b43933ef0c70bc880613a03", "submitter": { "id": 1458, "url": "http://patchwork.ozlabs.org/api/people/1458/?format=api", "name": "Baruch Siach", "email": "baruch@tkos.co.il" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/dba44a833d6e2e6bfa081c069ca3019255724179.1505219518.git.baruch@tkos.co.il/mbox/", "series": [ { "id": 2688, "url": "http://patchwork.ozlabs.org/api/series/2688/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=2688", "date": "2017-09-12T12:31:58", "name": "[v2] lirc-tools: bump to version 0.10.1", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/2688/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/812818/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/812818/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<buildroot-bounces@busybox.net>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "buildroot@lists.busybox.net" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "buildroot@osuosl.org" ], "Authentication-Results": "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)", "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xs43S421Wz9t6F\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 22:32:34 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id DBC5987F7F;\n\tTue, 12 Sep 2017 12:32:29 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id o1qXqsoG-VRw; Tue, 12 Sep 2017 12:32:27 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id E3C0D87F41;\n\tTue, 12 Sep 2017 12:32:26 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 2095E1C01EF\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 12 Sep 2017 12:32:25 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 1B17087F3B\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 12 Sep 2017 12:32:25 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id Rpt2kKySAaH7 for <buildroot@lists.busybox.net>;\n\tTue, 12 Sep 2017 12:32:22 +0000 (UTC)", "from mx.tkos.co.il (guitar.tcltek.co.il [192.115.133.116])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id A30F387F41\n\tfor <buildroot@busybox.net>; Tue, 12 Sep 2017 12:32:21 +0000 (UTC)", "from tarshish.tkos.co.il (unknown [10.0.8.6])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby mx.tkos.co.il (Postfix) with ESMTPSA id 6782C440107;\n\tTue, 12 Sep 2017 15:32:19 +0300 (IDT)" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "From": "Baruch Siach <baruch@tkos.co.il>", "To": "buildroot@busybox.net", "Date": "Tue, 12 Sep 2017 15:31:58 +0300", "Message-Id": "<dba44a833d6e2e6bfa081c069ca3019255724179.1505219518.git.baruch@tkos.co.il>", "X-Mailer": "git-send-email 2.14.1", "MIME-Version": "1.0", "Cc": "Rhys Williams <github@wilberforce.co.nz>,\n\tAlec Leamas <leamas.alec@gmail.com>", "Subject": "[Buildroot] [PATCH v2] lirc-tools: bump to version 0.10.1", "X-BeenThere": "buildroot@busybox.net", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>", "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>", "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>", "List-Post": "<mailto:buildroot@busybox.net>", "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>", "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "buildroot-bounces@busybox.net", "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>" }, "content": "Drop upstream patch.\n\nAdd an upstream patch fixing build without python.\n\nAdd two more patches (one of them upstream) fixing cross compile of the\npython client library.\n\nEnable devinput and uinput unconditionally to suppress non cross compile\ncompatible host checks.\n\nSet DEVINPUT_HEADER to target header of input events to avoid use of\nhost header.\n\nAdd python3 as optional dependency.\n\nCc: Rhys Williams <github@wilberforce.co.nz>\nSigned-off-by: Baruch Siach <baruch@tkos.co.il>\n---\nv2:\n Bump version to 0.10.1\n Update the python version detection patch to upstream version\n Update upstream status of patches\n---\n .../lirc-tools/0001-Fix-build-without-Python.patch | 63 ++++++++++++++++++++++\n ...ll.h-fix-header-guard-collision-with-musl.patch | 62 ---------------------\n .../0002-Fix-python-client-cross-compile.patch | 47 ++++++++++++++++\n ...Fix-lirc-version-detection-when-cross-com.patch | 51 ++++++++++++++++++\n package/lirc-tools/lirc-tools.hash | 8 +--\n package/lirc-tools/lirc-tools.mk | 19 ++++++-\n 6 files changed, 182 insertions(+), 68 deletions(-)\n create mode 100644 package/lirc-tools/0001-Fix-build-without-Python.patch\n delete mode 100644 package/lirc-tools/0001-lib-curl_poll.h-fix-header-guard-collision-with-musl.patch\n create mode 100644 package/lirc-tools/0002-Fix-python-client-cross-compile.patch\n create mode 100644 package/lirc-tools/0003-python-pkg-Fix-lirc-version-detection-when-cross-com.patch", "diff": "diff --git a/package/lirc-tools/0001-Fix-build-without-Python.patch b/package/lirc-tools/0001-Fix-build-without-Python.patch\nnew file mode 100644\nindex 000000000000..b1940eac0d14\n--- /dev/null\n+++ b/package/lirc-tools/0001-Fix-build-without-Python.patch\n@@ -0,0 +1,63 @@\n+From 71f329d997d949d3c12d62d2f1473a1c99ee49b0 Mon Sep 17 00:00:00 2001\n+From: Baruch Siach <baruch@tkos.co.il>\n+Date: Sun, 27 Aug 2017 21:30:37 +0300\n+Subject: [PATCH] Fix build without Python\n+\n+Don't define HAVE_PYTHON35 when PYTHON_LIBS is empty.\n+\n+Also, don't build Python dependent code when HAVE_PYTHON35 is not\n+defined.\n+\n+This fixes build failures like:\n+\n+Makefile:1616: recipe for target 'python-pkg/dist/lirc-0.10.0.tar.gz' failed\n+make[3]: *** [python-pkg/dist/lirc-0.10.0.tar.gz] Error 1\n+python-pkg/lirc/_client.c:1:20: fatal error: Python.h: No such file or directory\n+ #include <Python.h>\n+ ^\n+\n+Signed-off-by: Baruch Siach <baruch@tkos.co.il>\n+---\n+Upstream status: commit 74a2bcab6b\n+\n+ Makefile.am | 2 ++\n+ configure.ac | 3 ++-\n+ 2 files changed, 4 insertions(+), 1 deletion(-)\n+\n+diff --git a/Makefile.am b/Makefile.am\n+index 9f3dd14340cc..d8164fcd44cf 100644\n+--- a/Makefile.am\n++++ b/Makefile.am\n+@@ -104,6 +104,7 @@ dist_py_pkg_doc_DATA = python-pkg/doc/Doxyfile \\\n+ \n+ libpython = $(libdir)/python$(PYTHON_VERSION)\n+ pydir = $(libpython)/site-packages/lirc\n++if HAVE_PYTHON35\n+ py_LTLIBRARIES = python-pkg/lib/_client.la\n+ python_pkg_lib__client_la_SOURCES = \\\n+ python-pkg/lirc/_client.c\n+@@ -116,6 +117,7 @@ python_pkg_lib__client_la_LDFLAGS = \\\n+ $(PYTHON_LIBS)\n+ python_pkg_lib__client_la_LIBADD = \\\n+ lib/liblirc_client.la\n++endif\n+ \n+ pylint: .phony\n+ \t$(MAKE) -C tools pylint\n+diff --git a/configure.ac b/configure.ac\n+index 4108688433f8..07d901deafdf 100644\n+--- a/configure.ac\n++++ b/configure.ac\n+@@ -50,7 +50,8 @@ test -z \"$PYTHON_LIBS\" && \\\n+ test -n \"$PYTHON_LIBS\" || \\\n+ AC_MSG_WARN([No python package found (missing devel package?)])\n+ python_version_nodots=$(echo $PYTHON_VERSION | tr -d '.')\n+-AM_CONDITIONAL(HAVE_PYTHON35, [test $python_version_nodots -ge 35])\n++AM_CONDITIONAL(HAVE_PYTHON35, [test -n \"$PYTHON_LIBS\" && \\\n++\t\t\t test $python_version_nodots -ge 35])\n+ CFLAGS=\"$CFLAGS $PYTHON_CFLAGS\"\n+ \n+ \n+-- \n+2.14.1\n+\ndiff --git a/package/lirc-tools/0001-lib-curl_poll.h-fix-header-guard-collision-with-musl.patch b/package/lirc-tools/0001-lib-curl_poll.h-fix-header-guard-collision-with-musl.patch\ndeleted file mode 100644\nindex a5cb7f35a03a..000000000000\n--- a/package/lirc-tools/0001-lib-curl_poll.h-fix-header-guard-collision-with-musl.patch\n+++ /dev/null\n@@ -1,62 +0,0 @@\n-From: Baruch Siach <baruch@tkos.co.il>\n-Subject: [PATCH] lib/curl_poll.h: fix header guard collision with musl libc\n-\n-The musl libc uses the _POLL_H macro as a double include guard for the poll.h\n-header. This breaks compilation of files the include curl_poll.h:\n-\n-In file included from driver.h:32:0,\n- from driver.c:12:\n-lirc/curl_poll.h:38:29: error: array type has incomplete element type ‘struct pollfd’\n- int curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);\n- ^~~~\n-\n-Rename the curl_poll.h header guard macro to avoid collision. Don't use a name\n-that starts with an underscore and a capital letter since these names are\n-reserved according to the ANSI C standard.\n-\n-https://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html\n-\n-[ This patch is based on upstream, but changes also another copy of\n- curl_poll.h under lib/lirc/ ]\n-\n-Signed-off-by: Baruch Siach <baruch@tkos.co.il>\n----\n-Patch status: upstream\n-https://sourceforge.net/p/lirc/git/ci/e07a80aa00a14fc98d7347afa1fa44282732b27f/\n-\n-diff --git lirc-0.9.4d-orig/lib/curl_poll.h lirc-0.9.4d/lib/curl_poll.h\n-index af25381b3e26..1e895aa62f93 100644\n---- lirc-0.9.4d-orig/lib/curl_poll.h\n-+++ lirc-0.9.4d/lib/curl_poll.h\n-@@ -1,5 +1,5 @@\n--#ifndef _POLL_H\n--#define _POLL_H\n-+#ifndef HEADER_LIB_CURL_POLL_H\n-+#define HEADER_LIB_CURL_POLL_H\n- /***************************************************************************\n- * _ _ ____ _\n- * Project ___| | | | _ \\| |\n-@@ -42,4 +42,4 @@ int curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);\n- #endif\n- \n- \n--#endif /* _POLL_H */\n-+#endif /* HEADER_LIB_CURL_POLL_H */\n-diff --git lirc-0.9.4d-orig/lib/lirc/curl_poll.h lirc-0.9.4d/lib/lirc/curl_poll.h\n-index af25381b3e26..1e895aa62f93 100644\n---- lirc-0.9.4d-orig/lib/lirc/curl_poll.h\n-+++ lirc-0.9.4d/lib/lirc/curl_poll.h\n-@@ -1,5 +1,5 @@\n--#ifndef _POLL_H\n--#define _POLL_H\n-+#ifndef HEADER_LIB_CURL_POLL_H\n-+#define HEADER_LIB_CURL_POLL_H\n- /***************************************************************************\n- * _ _ ____ _\n- * Project ___| | | | _ \\| |\n-@@ -42,4 +42,4 @@ int curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms);\n- #endif\n- \n- \n--#endif /* _POLL_H */\n-+#endif /* HEADER_LIB_CURL_POLL_H */\ndiff --git a/package/lirc-tools/0002-Fix-python-client-cross-compile.patch b/package/lirc-tools/0002-Fix-python-client-cross-compile.patch\nnew file mode 100644\nindex 000000000000..02deefaf98c9\n--- /dev/null\n+++ b/package/lirc-tools/0002-Fix-python-client-cross-compile.patch\n@@ -0,0 +1,47 @@\n+From 13c4ffcfde07f659a836fba4a604dc1c5024bb90 Mon Sep 17 00:00:00 2001\n+From: Baruch Siach <baruch@tkos.co.il>\n+Date: Tue, 29 Aug 2017 11:37:36 +0300\n+Subject: [PATCH] Fix python client cross compile\n+\n+The setup.py setuptools wrapper needs to use a version of python built\n+specifically for cross compiling to cross compile successfully. Allow\n+setting that in the environment using the SETUPTOOLS_ENV variable.\n+\n+Fixes the following build failure:\n+\n+/usr/bin/ld: skipping incompatible .../lirc-tools-0.10.0/lib/.libs/liblirc_client.so when searching for -llirc_client\n+/usr/bin/ld: cannot find -llirc_client\n+collect2: error: ld returned 1 exit status\n+error: command '/usr/bin/gcc' failed with exit status 1\n+Makefile:1578: recipe for target 'all-local' failed\n+\n+Signed-off-by: Baruch Siach <baruch@tkos.co.il>\n+---\n+Upstream status: https://sourceforge.net/p/lirc/tickets/308/\n+\n+ Makefile.am | 2 ++\n+ 1 file changed, 2 insertions(+)\n+\n+diff --git a/Makefile.am b/Makefile.am\n+index d8164fcd44cf..a16be4278ae2 100644\n+--- a/Makefile.am\n++++ b/Makefile.am\n+@@ -131,6 +131,7 @@ pep8: $(py_PYTHON)\n+ if HAVE_PYTHON35\n+ all-local:\n+ \tcd python-pkg; \\\n++\t $(SETUPTOOLS_ENV) \\\n+ \t CFLAGS=\"-I$(abs_top_srcdir)/lib -I$(abs_builddir)/lib\" \\\n+ \t LDFLAGS=-L$(abs_builddir)/lib/.libs $(PYTHON) setup.py \\\n+ \t $(if $(VERBOSE),,-q) build\n+@@ -179,6 +180,7 @@ $(abs_builddir)/python-pkg/setup.py:\n+ $(PYTHON_TARBALL): $(abs_builddir)/python-pkg/setup.py\n+ \tcp $(top_builddir)/VERSION $(abs_builddir)/python-pkg\n+ \tcd $(abs_builddir)/python-pkg; CFLAGS=-I$(abs_top_srcdir)/lib \\\n++\t $(SETUPTOOLS_ENV) \\\n+ \t LDFLAGS=-L$(abs_builddir)/lib/.libs $(PYTHON) setup.py -q sdist\n+ \n+ $(top_builddir)/python-pkg/VERSION: VERSION\n+-- \n+2.14.1\n+\ndiff --git a/package/lirc-tools/0003-python-pkg-Fix-lirc-version-detection-when-cross-com.patch b/package/lirc-tools/0003-python-pkg-Fix-lirc-version-detection-when-cross-com.patch\nnew file mode 100644\nindex 000000000000..04fbfe6ea25d\n--- /dev/null\n+++ b/package/lirc-tools/0003-python-pkg-Fix-lirc-version-detection-when-cross-com.patch\n@@ -0,0 +1,51 @@\n+From 732fd31610a6790a927ea9ed6d660796a1641254 Mon Sep 17 00:00:00 2001\n+From: Baruch Siach <baruch@tkos.co.il>\n+Date: Thu, 7 Sep 2017 08:12:01 +0200\n+Subject: [PATCH] build: Fix lirc version detection when cross compiling.\n+\n+The setup.py script that runs on the host can't use the client library\n+built for target. So setup.py falls back to a wrong hard-coded VERSION\n+value.\n+\n+Instead of importing the target library, use exec() to read\n+lirc/config.py directly for its VERSION value.\n+\n+Fixes build failure:\n+\n+/usr/bin/install -c -m 644 ./python-pkg/dist/lirc-0.10.0.tar.gz \\\n+ '.../output/host/arm-buildroot-linux-musleabihf/sysroot/usr/share/lirc'\n+/usr/bin/install: cannot stat './python-pkg/dist/lirc-0.10.0.tar.gz': \\\n+ No such file or directory\n+\n+Signed-off-by: Baruch Siach <baruch@tkos.co.il>\n+---\n+Upstream status: commit 732fd31610a6\n+\n+ python-pkg/setup.py | 9 +++------\n+ 1 file changed, 3 insertions(+), 6 deletions(-)\n+\n+diff --git a/python-pkg/setup.py b/python-pkg/setup.py\n+index e9b33690f828..a2d92e0432aa 100644\n+--- a/python-pkg/setup.py\n++++ b/python-pkg/setup.py\n+@@ -6,14 +6,11 @@ import subprocess\n+ import os.path\n+ import os\n+ \n+-try:\n+- import lirc.config\n+- VERSION = lirc.config.VERSION.replace('-devel','')\n+-except ImportError:\n+- VERSION='0.0.0'\n+-\n+ from setuptools import setup, Extension\n+ \n++exec(open(\"lirc/config.py\").read())\n++VERSION = VERSION.replace('-devel','')\n++\n+ if 'CFLAGS' in os.environ:\n+ cflags = os.environ['CFLAGS'].split()\n+ if 'LDFLAGS' in os.environ:\n+-- \n+2.14.1\n+\ndiff --git a/package/lirc-tools/lirc-tools.hash b/package/lirc-tools/lirc-tools.hash\nindex 13d3f02758bf..ed5ecfde9bdb 100644\n--- a/package/lirc-tools/lirc-tools.hash\n+++ b/package/lirc-tools/lirc-tools.hash\n@@ -1,5 +1,5 @@\n-# hash from http://sourceforge.net/projects/lirc/files/LIRC/0.9.4d/\n-sha1 5dbfd95a9e290260e6b5febadf685227df9c0529 lirc-0.9.4d.tar.bz2\n-md5 0d11679cbdd94a5a6da00a8e7231b4bf lirc-0.9.4d.tar.bz2\n+# hash from https://sourceforge.net/projects/lirc/files/LIRC/0.10.1/\n+sha1 9d6f6d18ac566a96ef4ca1d6909a4e8bc517d48a lirc-0.10.1.tar.bz2\n+md5 86c3f8e4efaba10571addb8313d1e040 lirc-0.10.1.tar.bz2\n # Locally computed\n-sha256 c68f18c35b489b865c0a741d119b136e8702191538cd3551b977a7af6c4e41ab lirc-0.9.4d.tar.bz2\n+sha256 8b753c60df2a7f5dcda2db72c38e448ca300c3b4f6000c1501fcb0bd5df414f2 lirc-0.10.1.tar.bz2\ndiff --git a/package/lirc-tools/lirc-tools.mk b/package/lirc-tools/lirc-tools.mk\nindex 9d46c1b1b042..a5165ad43814 100644\n--- a/package/lirc-tools/lirc-tools.mk\n+++ b/package/lirc-tools/lirc-tools.mk\n@@ -4,16 +4,26 @@\n #\n ################################################################################\n \n-LIRC_TOOLS_VERSION = 0.9.4d\n+LIRC_TOOLS_VERSION = 0.10.1\n LIRC_TOOLS_SOURCE = lirc-$(LIRC_TOOLS_VERSION).tar.bz2\n LIRC_TOOLS_SITE = http://downloads.sourceforge.net/project/lirc/LIRC/$(LIRC_TOOLS_VERSION)\n LIRC_TOOLS_LICENSE = GPL-2.0+\n LIRC_TOOLS_LICENSE_FILES = COPYING\n LIRC_TOOLS_DEPENDENCIES = host-libxslt host-pkgconf host-python3\n LIRC_TOOLS_INSTALL_STAGING = YES\n+# Patching configure.ac and Makefile.am\n+LIRC_TOOLS_AUTORECONF = YES\n \n LIRC_TOOLS_CONF_ENV = XSLTPROC=yes HAVE_WORKING_POLL=yes\n-LIRC_TOOLS_CONF_OPTS = --without-x\n+LIRC_TOOLS_CONF_OPTS = --without-x --enable-devinput --enable-uinput\n+\n+ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4),y)\n+LIRC_TOOLS_CONF_ENV += \\\n+\tDEVINPUT_HEADER=$(STAGING_DIR)/usr/include/linux/input-event-codes.h\n+else\n+LIRC_TOOLS_CONF_ENV += \\\n+\tDEVINPUT_HEADER=$(STAGING_DIR)/usr/include/linux/input.h\n+endif\n \n ifeq ($(BR2_PACKAGE_HAS_UDEV),y)\n LIRC_TOOLS_DEPENDENCIES += udev\n@@ -35,6 +45,11 @@ ifeq ($(BR2_PACKAGE_LIBFTDI1),y)\n LIRC_TOOLS_DEPENDENCIES += libftdi1\n endif\n \n+ifeq ($(BR2_PACKAGE_PYTHON3),y)\n+LIRC_TOOLS_DEPENDENCIES += python3 host-python-setuptools\n+LIRC_TOOLS_MAKE_ENV += SETUPTOOLS_ENV=\"$(PKG_PYTHON_SETUPTOOLS_ENV)\"\n+endif\n+\n define LIRC_TOOLS_INSTALL_INIT_SYSV\n \t$(INSTALL) -D -m 0755 package/lirc-tools/S25lircd \\\n \t\t$(TARGET_DIR)/etc/init.d/S25lircd\n", "prefixes": [ "v2" ] }