Commit Graph

24 Commits

Author SHA1 Message Date
Khem Raj 43be60ba1c lirc: Define SH_PATH=/bin/sh
It points to sh provided by HOSTTOOLS in the build systems path

Fixes
WARNING: lirc-0.10.2-r0 do_package_qa: QA Issue: File /usr/include/lirc/config.h in package lirc-dev contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d112323521)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:21:41 -04:00
Martin Jansa ffb34043d6 lirc: fix do_install with multilib
* use ${S} instead of ${WORKDIR}/${PN}-${PV}
  and ${BP} instead of ${PN}-${PV}
  to fix build with multilib, where PN is lib32-lirc, but S is correctly set
  as ${WORKDIR}/${BP} and do_install fails with:
  mkdir: cannot create directory ‘lib32-lirc/0.10.1-r0/lib32-lirc-0.10.1/python-pkg/dist/’: No such file or directory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-04-18 06:41:12 -04:00
Khem Raj 8c83377f74 lirc: Fix build with usrmerge feature building on ubuntu hosts
We get a very cryptic error during do_package

ERROR: Didn't find service unit 'lircmd.service', specified in SYSTEMD_SERVICE:lirc.

The reason is on ubuntu build hosts configure pokes at build host and
decided its ubuntu and applies hardcoded value of /lib/systemd/system
for systemdunitdir instead of /usr/lib/systemd/system as passed from
recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-17 07:06:56 -07:00
Yi Zhao 0348695e8d netplan: add missing runtime dependencies
Add python3-dbus and python3-rich[1] to RDEPENDS.

[1] https://github.com/canonical/netplan/pull/290

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-09 09:10:52 -08:00
Wang Mingyu bf2c95a2f6 netplan: upgrade 0.104 -> 0.106
0001-Makefile-do-not-use-Werror.patch
refreshed for new version.

0001-Makefile-fix-parallel-build-failure.patch
removed since it's included in new version.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-18 13:19:36 -08:00
Alexander Kanavin 9d35b819f3 lirc: correctly use PYTHONPATH
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-11-10 10:41:35 -08:00
Wang Mingyu 744942c4f5 thingsboard-gateway: upgrade 3.1 -> 3.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-31 08:27:33 -07:00
Wang Mingyu b1287c4ef2 lirc: upgrade 0.10.1 -> 0.10.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-09 20:06:54 -07:00
Khem Raj 8779752903 lirc: Fix build on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-28 23:57:15 -07:00
Wang Mingyu 70716bb9a3 thingsboard-gateway: upgrade 2.9 -> 3.1
Changelog:
https://github.com/thingsboard/thingsboard-gateway/releases/tag/3.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-24 08:39:45 -07:00
Armin Kuster 32160a06de netplan: move from meta-networking to meta-oe
add to the dynamic meta-pthon lot

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-02 17:51:58 -07:00
Khem Raj 5255b6a0d9 lirc: Delete systemd unit files on non systemd distros
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-26 12:09:09 -07:00
Khem Raj f0d0034e26 lirc: install systemd units only when using systemd distro feature
These files are not needed when init system is not systemd

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-25 12:10:11 -07:00
wangmy 4ee804f20b thingsboard-gateway: upgrade 2.8 -> 2.9
Changelog:
==========
Gateway:
-----------
Fixed reconnection Gateway to ThingsBoard bug
Added minPackSendDelayMS to config file
Fixed certificate loading
Fixed remote logging feature
Fix for RPC calls to connectors. Thanks @mjbernet3

MQTT Connector:
---------------
Added JSONPath parsing to RPC valueExpression config section
Added attributeRequests config section
Added retain flag for attributeUpdates, attributeRequests
Added opportunity to combine values in attributes, telemetry and serverSideRpc config sections

Modbus Connector:
------------------
Added configuration parameters:

retries - Count of retries if polling was failed (default 3)
retryOnError - Retry to get data if server returns an error (default true)
retryOnInvalid - Retry to get data if server returns invalid data (default true)

REST Connector:
-----------------
Added SSL Support
Added JSONPath parsing to RPC valueExpression config section
Added opportunity to combine values in attributes, telemetry and serverSideRpc config sections

BACNet Connector:
-----------------
General improvements

Request Connector:
-------------------
General improvements
Added JSONPath parsing to RPC valueExpression config section
Added opportunity to combine values in attributes, telemetry and serverSideRpc config sections

ODBC Connector:
----------------
Bugs fixed (adding timestamp to telemetry)

FTP Connector:
---------------
Added opportunity to combine values in attributes, telemetry config section for JSON files

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-14 19:42:10 -07:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Oleksandr Kravchuk ccb85c8eb3 lirc: replace setuptools3-bas with distutils-common-base
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-18 09:01:51 -08:00
Oleksandr Kravchuk 75495398c8 thingsboard-gateway: update to 2.8
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-10-16 09:50:38 -07:00
Khem Raj a133111e69 recipes: Fix override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-06 20:38:40 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj 5f17ce66d8 thingsboard-gateway: Move under dynamic layers
Depends on meta-python therefore move it here so it does not impact non
meta-python users

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-11-23 07:09:12 -08:00
Khem Raj 81ee0b68fa lirc: Inherit distutils-common-base
This helps in compiling the python pieces in this package, which uses
setup.py to build but does not have ldshared set correctly, inheriting
distutils-common-base provides the minimum needed environment for the
python module build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-30 10:23:46 -07:00
Leon Anavi ed2fc41cf6 lirc: Add python3 to the run-time dependencies
Add python3 to the run-time dependencies to fix the following
issue with lircd-setup:

env: can't execute 'python3': No such file or directory

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-24 18:48:44 -07:00
Leon Anavi cdeebf0aa9 lirc: upgrade 0.9.4d -> 0.10.1
Upgrade Linux Infrared Remote Control (LIRC) to the latest version
0.10.1. Remove redundant old patches. Apply a new patch from Arch
Linux FS#57792 that fixes build errors. Create tar.gz archive
(PYTHON_TARBALL) which LIRC needs for install-nodist_pkgdataDATA.
Add python3-setuptools-native as a dependency. Replace path to
python3 in scripts based on a similar approach as in the recipe
for blueman.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-12 12:33:42 -07:00
Changqing Li d178745cbf conf/layer.conf: add BBFILES_DYNAMIC and dynamic layers
some recipes under meta-oe have dependency on meta-python,
and test_world of yocto-check-layer will failed with error
like:

ERROR: test_world (common.CommonCheckLayer)
ERROR: Nothing PROVIDES 'python3-pytoml-native' (but
/meta-openembedded/meta-oe/recipes-extended/mozjs/mozjs_60.9.0.bb
DEPENDS on or otherwise requires it). Close matches:
  python3-numpy-native
  python3-pycairo-native
  python3-rpm-native
ERROR: Required build target 'meta-world-pkgdata' has no buildable
providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata',
'mozjs', 'python3-pytoml-native']

fix by make these recipes only active when identified layers are
present

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-11 08:58:57 -07:00