summaryrefslogtreecommitdiffstats
path: root/package/lirc-tools
Commit message (Collapse)AuthorAgeFilesLines
* package/pkg-python: use host-python3-setuptools when neededThomas Petazzoni2019-01-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a package uses "setuptools" as its <pkg>_SETUP_TYPE, we currently add a dependency on host-python-setuptools. This means that: (1) When BR2_PACKAGE_PYTHON=y, the default host Python version is Python 2.x, and host-python-setuptools is installed for host-python. (2) When BR2_PACKAGE_PYTHON3=y, the default host Python version is Python 3.x, and host-python-setuptools is installed for host-python3. (3) When no target Python interpreter is selected, the default host Python version is Python 2.x, and host-python-setuptools is installed for host-python. Situations (1) and (3) are problematic for host Python packages that need Python 3.x. Such packages use <pkg>_NEEDS_HOST_PYTHON = python3, but if they use setuptools as their setup type, they will not find setuptools installed for host-python3 in situations (1) and (3) described above. We currently have a single package that sets <pkg>_NEEDS_HOST_PYTHON = python3: host-meson. host-meson generally works because if setuptools is not found, it falls back to distutils, which is part of the standard Python library. However, if there is a setuptools version installed system-wide, it may be picked up, but may not necessarily be the same version as Buildroot setuptools, potentially causing problems. This commit makes the necessary change to the python-package infrastructure to fix this behavior, by identifying the following cases: - When a host Python package says <pkg>_NEEDS_HOST_PYTHON = python3, then we know it wants setuptools installed for host-python3, so we use host-python3-setuptools. - When a host Python package says <pkg>_NEEDS_HOST_PYTHON = python2, then we known it wants setuptools installed for host-python, so we use host-python-setuptools. - When BR2_PACKAGE_PYTHON3=y, and we have a target package, or a host package with no NEEDS_HOST_PYTHON option, then we want setuptools installed for host-python3, so we use host-python3-setuptools. - When BR2_PACKAGE_PYTHON=y or no target interpreter is enabled at all, and we have a target package, or a host package with no NEEDS_HOST_PYTHON option, then we want setuptools for host-python, so we use host-python-setuptools. To make this happen, we use host-python3-setuptools introduced in a previous commit, but we also change host-python-setuptools to force its installation for host-python. The latter is needed if you build with BR2_PACKAGE_PYTHON3=y but want to install a Python-based package that has NEEDS_HOST_PYTHON=python2. There is one single package that needs be adjusted following this: lirc-tools, because it is not using the python-package infrastructure. It directly depends on host-python-setuptools, which no longer works because host-python-setuptools now only installs for Python 2.x, while lirc-tools Python binding only supports Python 3.x. Switching to host-python3-setuptools solves this problem. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Asaf Kahlon <asafka7@gmail.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* lirc-tools: bump to version 0.10.1Baruch Siach2017-09-126-68/+182
| | | | | | | | | | | | | | | | | | | | | Drop upstream patch. Add an upstream patch fixing build without python. Add two more patches (one of them upstream) fixing cross compile of the python client library. Enable devinput and uinput unconditionally to suppress non cross compile compatible host checks. Set DEVINPUT_HEADER to target header of input events to avoid use of host header. Add python3 as optional dependency. Cc: Rhys Williams <github@wilberforce.co.nz> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* lirc-tools: bump to version 0.9.4dBaruch Siach2017-07-035-138/+73
| | | | | | | | | | | | | | | | | | Drop 0001-tools-make_rel_symlink.py-can-also-use-python2.patch. Build requires host-python3 since the previous version bump. Drop upstream 0002-lircd-Remove-use-of-functions-killed-in-kernel-4.8.0.patch. Add a patch fixing header guard macro collision with musl libc. Set HAVE_WORKING_POLL to skip poll(2) run test that is not compatible with cross compilation. Add optional dependency on libftdi1. Cc: Rhys Williams <github@wilberforce.co.nz> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lirc-tools: no need to check for clock_gettimeBaruch Siach2017-06-203-56/+0
| | | | | | | | | | Buildroot no longer supports toolchains with glibc older than 2.17, so there is no need to check whether librt is required for clock_* system calls. Cc: Rhys Williams <github@wilberforce.co.nz> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lirc-tools: bump to version 0.9.4bBaruch Siach2016-10-187-107/+5
| | | | | | | Drop upstream patches. Renumber the rest. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* lirc-tools: fix build with kernel headers v4.8+Baruch Siach2016-10-181-0/+105
| | | | | | | | | | | | | Backport upstream path that removes references to macros that are no longer in the kernel lirc.h headers. Fixes: http://autobuild.buildroot.net/results/f01/f015d52faa214f7786dd3169628ce74b738a8b46/ http://autobuild.buildroot.net/results/55f/55f1ac19736499ef536561bd65c011d2649f43da/ http://autobuild.buildroot.net/results/c68/c689786b6b0867cea2e45df1c5556cccdd377b33/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Merge branch 'next'Peter Korsgaard2016-09-021-3/+2
|\ | | | | | | | | | | Quite some conflicts, so here goes .. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * lirc-tools: enable for muslBaruch Siach2016-08-221-3/+2
| | | | | | | | | | | | | | | | | | | | Upstream removed use of the GLOB_BRACE glob(3) GNU extension in release 0.9.4 (commits 493857625 and 8bff82ed9c). See https://sourceforge.net/p/lirc/tickets/174/. Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | lirc-tools: fix build issue related to clock_gettime()Thomas Petazzoni2016-08-202-0/+55
|/ | | | | | | | | | | | In some older versions of glibc, clock_gettime() is in librt, so we need to link with librt when clock_gettime() is used. This commit adds a lirc-tools patch to make sure we link with librt when needed. Fixes: http://autobuild.buildroot.net/results/2770360880c9b265c8e019141925e56c35ba22dc/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Replace (e)glibc by glibcThomas Petazzoni2016-06-281-1/+1
| | | | | | | | | | | | | | | | Following the removal of eglibc support, this commit replaces all occurences of "(e)glibc" by just "glibc". Most of the occurences are in package Config.in comments. In addition, when the form "an (e)glibc ..." was used, it is replaced by "a glibc ...". [Peter: add new efi* packages, s/uclibc/uClibc as suggested by Romain, systemd / liquid-dsp tweaks as suggested by Yann] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Romain Naour <romain.naour@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/lirc-tools: add optional support for portaudioBernd Kuhls2016-06-261-0/+4
| | | | | | | | lirc-tools has optional support for portaudio, see configure.ac, line 218+. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/lirc-tools: add optional support for alsa-libBernd Kuhls2016-06-261-0/+4
| | | | | | | | lirc-tools has optional support for alsa-lib, see configure.ac, line 230+. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/lirc-tools: add optional support for udevBernd Kuhls2016-06-261-0/+4
| | | | | | | lirc-tools has optional support for udev, see configure.ac, line 303+. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/lirc-tools: add optional support for libusb-compatBernd Kuhls2016-06-261-0/+4
| | | | | | | | lirc-tools has optional support for libusb-compat, see configure.ac, line 199+. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/lirc-tools: bump version to 0.9.4Bernd Kuhls2016-06-263-3/+59
| | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> [Thomas: update comment in the .mk file about autoreconf.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lirc-tools: add patch to fix parallel build issueThomas Petazzoni2016-05-262-0/+48
| | | | | | | | | | | | | | | | The lirc-tools package fails to build once in a while in the autobuilders. Some quick analysis of the problematic Makefile.am has revealed one issue. However, since the issue is difficult to reproduce, we could only check that the new solution continue to work, and we're not 100% sure it fixes the entire problem: only the autobuilders can say, over time. Supposedly fixes: http://autobuild.buildroot.org/results/eb47d57de8182d25b1dacbf0ac3726ed20063d04/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* lirc-tools: needs a C++ toolchainBaruch Siach2016-04-131-2/+3
| | | | | | | | | | | | | | | NEWS file record for version 0.9.3: * The compiler has been switched to c++, and filenames are updated to *.cpp (#79) Fixes: http://autobuild.buildroot.net/results/63b/63b1e427df1d6f264517a028655ac80d8d289254/ http://autobuild.buildroot.net/results/340/3409a4af78c83ea354d861052521f634347cd69a/ http://autobuild.buildroot.net/results/88a/88a117c229286ed739bd0ef832fa01a99825286a/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* lirc-tools: needs host-python3Gustavo Zacarias2016-03-201-1/+1
| | | | | | | | As stated in NEWS "Build scripts now requires python3". Fixes: http://autobuild.buildroot.net/results/f41/f417a17ad24eec8f72402a634588c6b3af8293be/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/lirc-tools: needs host-libxsltBernd Kuhls2016-03-191-1/+2
| | | | | | | | Fixes http://autobuild.buildroot.net/results/e5c/e5c4199a77b66a67da1060d1e9b74150c1c12a7e/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/lirc-tools: Bump to version 0.9.3aJoshua Henderson2016-03-184-98/+3
| | | | | | | | As part of bumping to version 0.9.3a, two patches are dropped because they are already upstream. Signed-off-by: Joshua Henderson <digitalpeer@digitalpeer.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* lirc-tools: also install to stagingSchenk, Michael2016-02-291-0/+1
| | | | | | | | | | This commit adds LIRC_TOOLS_INSTALL_STAGING = YES to the lirc-tools package to get the library headers into sysroot, which is needed to develop lirc based applications. Signed-off-by: Michael Schenk <michael.schenk@albistechnologies.com> [Thomas: rework commit log.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/lirc-tools: not available on muslBernd Kuhls2016-02-051-2/+4
| | | | | | | | | | | | | | | | GLOB_BRACE is not supported by the musl libc: http://www.openwall.com/lists/musl/2013/09/16/1 Upstream correctly rejected the hack proposed by me: http://patchwork.ozlabs.org/patch/576188/ http://sourceforge.net/p/lirc/tickets/174/#b087 Fixes http://autobuild.buildroot.net/results/603/603c4426c47220808305a416f3d60fec2d8c02a3/ http://autobuild.buildroot.net/results/c08/c08abddeb5f0d0d1adec63ab4390562e3cfe1087/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lirc-tools: remove non-existing configuration optionsDavid Kosir2015-10-281-4/+1
| | | | | | | | | | | --enable-sandboxed and --with-driver options were used in 0.9.1 >From 0.9.2 they are not used anymore. Signed-off-by: David Kosir <david.kosir@bylapis.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [Arnout: resend without whitespace errors] Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: Replace 'echo -n' by 'printf'Maxime Hadjinlian2015-10-041-2/+2
| | | | | | | | | | | | 'echo -n' is not a POSIX construct (no flag support), we shoud use 'printf', especially in init script. This patch was generated by the following command line: git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/' Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: Remove trailing slash from all package site URLsLuca Ceresoli2015-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | The recommended form is without the trailing slash, and will become mandatory in a coming commit. This avoids the need for the $$($(2)_SITE:/=) magic in package/pkg-generic.mk to avoid double slashes in download URLs, like "https://mosh.mit.edu//mosh-1.2.5.tar.gz". ^^ Note: this work has already been done in b0b9606530dfc6de4030 a few months ago and earlier in c7f4b964718bc5a3329b and 4a9eb20de817fa64, but no check has been added at that time to avoid new slashes to slip in, and so they did. This time a patch will follow immediately to prevent future mistakes from being unnoticed. Mass-replaced with the following command: git grep -l '_SITE.*/$' | xargs sed -i '/_SITE.*=/s|/$||' Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lirc-tools: needs dlopen(), not available for static only buildsThomas Petazzoni2015-08-071-2/+4
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/87c/87cf6312bef189e4f3a49983bfc662d69afa05b4/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lirc-tools: fix static library build caused by 'loglevel' redefinitionThomas Petazzoni2015-05-171-0/+49
| | | | | | | | | | | | This commit adds a patch to lirc-tools to fix static library builds caused by the redefinition of the loglevel variable. Fixes: http://autobuild.buildroot.org/results/2ac/2ac6a4f946d48cacff85d44d662e1c103f7443f8/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* lirc-tools: needs threadsBaruch Siach2015-04-071-0/+5
| | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/c20/c20a98dfacfa79579a0d401e081f2cca13a7a7b0/ http://autobuild.buildroot.net/results/0fe/0fe9b4a3a5128844886e4bf89b5bc0d3008b43aa/ http://autobuild.buildroot.net/results/482/4826409b3d3177eff3e7f2c3b7360058c73fd406/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lirc-tools: fix build with host python3Baruch Siach2015-04-062-0/+74
| | | | | | | | | | | | | | | Add an upstream patch making make_rel_symlink.py python3 compatible. Add another patch that removes python3 dependency. Fixes: http://autobuild.buildroot.net/results/6c6/6c6e014a751650c16d25dfd3d673bd3199c72b2e/ http://autobuild.buildroot.net/results/857/85724dfd014cec5a80dd18a635826daa2edc1417/ http://autobuild.buildroot.net/results/a74/a74563f700a47065ffd1ba42c83c2d7722bacd89/ and many others. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lirc-tools: add host-pkgconf dependencyThomas Petazzoni2015-04-051-0/+1
| | | | | | | Otherwise, the configure script fails with "Required program pkg-config is missing". Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lirc-tools: new packageRhys Williams2015-04-034-0/+78
This package adds the userspace tools and daemons LIRC - Linux remote control [Thomas: - rewrap Config.in help text, lines were too long. And do a bit of rewording also. - remove trailing whitespaces in Config.in. - make sure Config.in is included from package/Config.in, otherwise the package is not visible. - use a full destination path when installing the sysv init script. - add dependency on BR2_USE_MMU, since fork() is used. - fix init script: use -n option to not daemonize since start-stop-daemon is already doing that, use 'mkdir -p' and 'ln -sf' to make the 'start' action re-executable.] Signed-off-by: Rhys Williams <github@wilberforce.co.nz> Reviewed-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud