Commit Graph

26256 Commits

Author SHA1 Message Date
Khem Raj
3e5378b42a python3-pylint: Fix missing deps for ptests
Disable benchmarks in ptest run

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-12 10:42:45 -07:00
Trevor Gamblin
7a75c2d6b4 python3-pylint: add ptest
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-12 10:33:54 -07:00
Trevor Gamblin
b9b6308f3d python3-pylint: upgrade 2.14.5 -> 2.17.3
Change pylint to inherit python_setuptools_build_meta instead of
setuptools3. Also add a patch to remove hard-coded version depdendencies
for wheel and setuptools from the pyproject.toml, otherwise the
following error occurs during do_compile:

| ERROR Missing dependencies:
|       wheel~=0.37.1
|       setuptools~=62.6

Release note links:
2.17.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.17/index.html
2.16.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.16/index.html
2.15.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.15/index.html
2.14.x: https://pylint.readthedocs.io/en/latest/whatsnew/2/2.14/index.html

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-12 10:33:54 -07:00
Trevor Gamblin
1410b40c2f python3-platformdirs: Add recipe
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-12 10:33:54 -07:00
ojayanth
a179653ce2 etcd: add systemd unit support for clustering
Refer https://etcd.io/docs/v3.5/op-guide/clustering/
for etcd clustering design background details.

etcd-new.service triggers only, when the config file available
in the specified path. This generic serive helps to start etcd
cluster based on the project specific use cases and config
files.

etcd-new.service only required to run on initial setup or new node
add into the existing cluster. All other use cases use regular
etcd.service to start etcd with existing cluster configuration.

Signed-off-by: ojayanth <ojayanth@in.ibm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-12 10:27:35 -07:00
ojayanth
9400a94fc1 etcd: systemd unit support to start existing etcd node
Added etcd service and configuration file support to start etcd service
with existing cluster configuration.

Change-Id: Ia52bbf20fd1951aa76184da54af94231d2324888
Signed-off-by: ojayanth <ojayanth@in.ibm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-12 10:27:35 -07:00
Petr Gotthard
d5b57d8505 strongswan: add PACKAGECONFIG for the NetworkManager module
Disabled by default. When enabled, a package 'strongswan-nm' gets created.
The package naming follows Debian/Ubuntu.

Signed-off-by: Petr Gotthard <petr.gotthard@advantech.cz>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-11 11:28:34 -07:00
Diego Dassie
bf26b3e5ed paho-mqtt-c: Improve performance
The paho-mqtt-c library keeps it's internal debugging aids
tracing and heap tracking enabled by default
these options can have a noticiable performance impact,
make sure they are disabled.

Signed-off-by: Diego Dassie <diego.dassie@texa.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-11 11:28:34 -07:00
Diego Dassie
e408f1b84c paho-mqtt-c: Disable building tests
Disable building the paho-mqtt-c library internal tests,
no need to waste compile time.

Signed-off-by: Diego Dassie <diego.dassie@texa.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-11 11:28:34 -07:00
Jun Nie
a1ee6eb4b5 python3-uswid: Add initial support
Software Identification (SWID) tags provide an extensible XML-based structure
to identify and describe individual software components, patches, and
installation bundles.

CoSWID supports a similar set of semantics and features as SWID tags, as well
as new semantics that allow us to describe additional types of information,
all in a more memory efficient format.

python3-uswid is used to generate the CoSWID data blob. For example, fwupd
project requires CoSWID data to be embedded into firmware binary to hold the
version information.

Signed-off-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-11 07:18:59 -07:00
Jun Nie
15eb91e30f python3-pefile: Add initial support
To parse and work with Portable Executable (PE) files

Signed-off-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-11 07:18:59 -07:00
Jun Nie
92c9e8ab1e libcbor: Add initial support
To handle the general-purpose schema-less binary data format

Signed-off-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-11 07:18:59 -07:00
Changqing Li
2f118ac21b redis: upgrade 6.2.11 -> 6.2.12
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-11 07:18:59 -07:00
Khem Raj
5c3518c2a5 nodejs: Upgrade to 18.16.0
License-Update: Add missing licenses for Ada [1] BSD, Simduf [2] BSD, posteject
[3] MIT

[1] 0bc4c17e57
[2] c9845fc334
[3] 4aaec07266

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-10 11:06:33 -07:00
Khem Raj
f0ac251433 psutils: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-10 08:01:07 -07:00
Khem Raj
60c7509ee5 libpaper: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-10 08:01:07 -07:00
Khem Raj
021f16504a idevicerestore: Update to latest on master branch
Needed to pick fixes to build with latest libplist

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-10 06:33:14 -07:00
Khem Raj
44c93d0557 libimobiledevice: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 20:25:28 -07:00
Khem Raj
b7b998c35e libimobiledevice: Update to latest tip
This is to supported latest libplist

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 20:25:28 -07:00
Khem Raj
3959988b2b libimobiledevice: Delete recipe for 1.3.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 20:25:28 -07:00
Khem Raj
f08bb72b86 packagegroup-meta-oe: Remove minicoredumper-ptest for musl
They do not yet work on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 20:25:28 -07:00
Khem Raj
1cf47a9352 packagegroup-meta-oe: Add kpatch for glibc + x86_64 only
Its not supported on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 20:25:28 -07:00
Khem Raj
5903301233 usbmuxd: Updgrade to latest on master branch
needed to get it working with latest libplist [1]

[1] 049877e1f7

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:37:30 -07:00
Khem Raj
a655863c61 usbmuxd: Remove recipe for 1.1.1
The _git recipe provided the latest uptodate version

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:37:30 -07:00
Matija Tudan
77b6df94c1 serial: add recipe for version 1.2.1
Serial is cross-platform library for interfacing with
RS-232 serial like ports.

Signed-off-by: Matija Tudan <tudan.matija@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:37:30 -07:00
Johannes Kauffmann
bd7cd3bc6f open62541: disable warnings as errors
When using OpenSSL as the encryption provider, the package does not
build without deprecation warnings, thus breaking the build. Disable
warnings as errors to unbreak the build.

Signed-off-by: Johannes Kauffmann <johanneskauffmann@hotmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:51 -07:00
Johannes Kauffmann
beb018a3ac open62541: allow overriding encryption providers
Without "encryption" PACKAGECONFIG, the option UA_ENABLE_ENCRYPTION=OFF
is passed, which disables encryption support altogether and makes it
impossible to override the encryption provider. Since no encryption
support is already the default, we don't have to specify anthing to
disable encryption.

Additionally, explicitly specify MbedTLS as the encryption provider;
this is the preferred way to enable any one of the three supported
providers (LibreSSL, OpenSSL or MbedTLS). The current method prints a
deprecation warning:

    CMake Deprecation Warning at CMakeLists.txt:200 (message):
      Set UA_ENABLE_ENCRYPTION to the desired encryption library.

Signed-off-by: Johannes Kauffmann <johanneskauffmann@hotmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:51 -07:00
Vasileios Anagnostopoulos
d0f8afe666 asio: update to 1.28.0
License-Update: change in the copyright year [1]

[1] 8d176a2c81

Signed-off-by: Vasileios Anagnostopoulos <anagnwstopoulos@hotmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:51 -07:00
Ross Burton
a79c689f60 xorriso: remove obsolete recipe
GNU xorriso is simply a bundling of libisofs+libburn+libisoburn which
also "restricts itself to a technical form where the legal commitments
of the libburnia project and the legal intentions of FSF match
completely".[1] What this actually means is unclear.

We can follow upstream faster and have more modular recipes by packaging
the pieces directly, instead of building the development snapshot of GNU
xorriso 1.5.5.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:51 -07:00
Ross Burton
293af81872 libisoburn: add new recipe
libisoburn is the library and command-line tool (xorriso) that can
construct ISO-9660 images and write them to physical media.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:51 -07:00
Ross Burton
5f64e51e5e libburn: move to meta-filesystems
This recipe is very much in the remit of meta-filesystems, so move the
recipe and update it. It ships a cdrecord wrapper so inherit lib_package,
and the license is GPLv2 or later not GPLv2 only, for example:

https://dev.lovelyhq.com/libburnia/libburn/src/branch/master/libburn/source.c

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:51 -07:00
Ross Burton
d63a3a9479 libisofs: add new recipe
libisofs from the libburnia project is a library to construct ISO-9660
filesystems.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:51 -07:00
Markus Volk
d5f721182b imaagemagick: update 7.1.1-5 -> 7.1.1-8
- add PACKAGECONFIG for xml
- add configuration
- workaround reproducibility issues

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:50 -07:00
Markus Volk
3f09dd5216 paprefs: add recipe
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:50 -07:00
Ming Liu
48bc4b2d5e libusbgx: fix some systemd service conditions
Let usbgx.service require and run after sys-kernel-config.mount.

Use "Type=simple" rather than "Type=oneshot", this ensures
usbgx.service would not hang on failures, failures could happen in
many conditions, like if the end user has manually configured
something in configfs, or start usbgx.service twice, or someting
wrong in /etc/default/usbgx or /etc/usbgx/*.schema.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:50 -07:00
Marcel Ziswiler
e111f75c31 libusbgx: fix device hot-plug use case
Upon hot-plugging device (resp. un-plugging host) dwc3_gadget_init()
does nicely get executed. However, for an actual gadget to get started,
it also requires the libusbgx dance as well. Instead of only doing this
upon boot aka after multi-user.target (which is fine only if the device
is already there at boot), execute it after usb-gadget.target. This
ensures dwc3_gadget_start() gets executed also during hot-plugging.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:50 -07:00
Ming Liu
f4fd477923 libusbgx: uprev to the latest commit
Uprev libusbgx to 721e3a1 to get following fixes:
```
721e3a1 correct attribute import / export
bbdaad2 Document the license of the library and examples
36e71e1 Rename the net class variables to class_
efdd7a6 tests: update test code with new net attributes
4ca4a76 net: adds class, subclass and protocol attributes
b1c8586 Merge pull request #64 from mgrzeschik/master
8b91dbb uvc: add isoc parameter settings
50fe6a7 uvc: fix init_formats function
afec0d6 uvc: fix exporting attrs with layouts missing a format
0607844 Merge pull request #63 from mgrzeschik/uvc-fix
20d7fe2 uvc: fix unsigned nmb to int
ed1fb6d Merge pull request #62 from linux-usb-gadgets/uvc-fix
157cbd8 uvc: fix return check on scandir
741230b Merge pull request #61 from linux-usb-gadgets/uvc-libconfig-import-export-support
53231c7 uvc: add import/export support
61a4186 uvc: consistently use defines for common strings
57dc1d5 uvc: check attr pointer in set_attrs
4061ffd uvc: remove unnedded USBG_UVC_MAX_PATH_LENGTH define
1c94fb8 uvc: remove unused variable
b28dd77 uvc: fix compile warnings
6bd989c gadget-uvc: fix 4k format resolution
d0f2f4f Revert "Use an unnamed variable instead of a named one"
92deb97 pkgconfig: make Requires for libconfig optional
38dd92f gadget-vid-pid-remove: re-split default vendor/product defines from variables
fa4e7e9 Use an unnamed variable instead of a named one
1ee53e4 Copy ether_addr structs to avoid union pointer alignment issues
4852080 Delete embedded copies of libtool m4 files
ccba65f Tell git which paths to ignore are directories
3a0f66a Tell git to ignore autotools cruft in the src functions subdirectory
37fcf90 Tell git to ignore generated usbg_version.h header
1e7161d Tell git to ignore the generated cmake config file
b9a5b9c Tell git to ignore the right generated pkg-config .pc file
e972b9e Document that the configfs Linux kernel module needs to be loaded
97b6477 Support printer function
ad378b4 Fix --without-libconfig segment fault on gadget-hid attr setting
67605a0 libusbgx: examples: gadget-vid-pid-remove: fix exit code on success
e0cdec8 Merge pull request #54 from mgrzeschik/gadget-vid-pid-remove
547a759 Merge pull request #55 from mgrzeschik/uvc
52aa5ed libusbgx: Add UVC support
852087a libusbgx: examples: gadget-vid-pid-remove: add dynamic vid pid support
af2292c Fix typo in comment
664b7e6 Added support for CMake projects macros
b5ad66e Fix #39 Compilation fails on gcc v8
283879d libusbgx: fix --without-libconfig build against glibc-2.28
```

Also add two pending MRs from github:
```
https://github.com/linux-usb-gadgets/libusbgx/pull/72
https://github.com/linux-usb-gadgets/libusbgx/pull/73
```

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:50 -07:00
Wang Mingyu
97836d4d80 libplist: upgrade 2.2.0 -> 2.3.0
Changelog:
=========
- Changes:
  * Rename PLIST_UINT to PLIST_INT and add plist_new_int() and plist_get_int_val()
  * Add support for JSON format
  * Add support for OpenStep format
  * Introduce error codes and format constants
  * Add return value to import/export functions to allow returning error codes
  * Add new plist_sort function
  * Add several human-readable output-only formats
  * Add new plist_write_to_string/_stream/_file functions
  * Add new plist_print function
  * Add new plist_read_from_file function
  * Add new plist_mem_free() function
  * Add a few C++ methods
  * Add C++ interface test
  * Add PLIST_NULL type
  * Some code housekeeping (mostly clang-tidy)
- Breaking:
  * plist_from_memory() gets additional parameter
- Bugfixes:
  * Fix multiple bugs in all of the parsers
  * Fix handling of PLIST_UID nodes

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:50 -07:00
Wang Mingyu
e11f6f584c libimobiledevice-glue: SRCREV bump d2ff796..114098d
Changelogs:
==========
Add a scheduled build every 1st of the month so we always have an artifact
Fix compilation on cygwin
Remove plist-related code in favor of new libplist API
Set minimum required libplist version to 2.3.0
autoconf: Automatically derive version number from latest git tag
Add NEWS for release
Add missing include

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:27:50 -07:00
Trevor Gamblin
fba2b872ac ptest-packagelists-meta-python: Add new tests
Add ptests for python3-pytest-mock, python3-tomlkit.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 17:13:13 -07:00
Trevor Gamblin
430ed94067 python3-tomlkit: Add recipe
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 16:22:00 -07:00
Trevor Gamblin
204dea23c5 python3-pytest-mock: Add recipe
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 16:22:00 -07:00
Khem Raj
99bfb84be3 libirecovery: Add missing build dependency on readline
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 10:12:44 -07:00
Marek Vasut
c7504645e2 lvgl: Add dependency on fbdev into lvgl-demo-fb DISTRO_FEATURES
This recipe hard depends on fbdev, since it specifically targets
systems using it. Add the DISTRO_FEATURES dependency to indicate
it.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 10:12:44 -07:00
Marek Vasut
fcbe242276 lvgl: Upgrade dialog-lvgl to next/main version
The dialog-lvgl has been unmaintained and stuck at LVGL v8.1.0 in
its now archived repository branch main. There is subsequent effort
in next/main branch which updates the code base to LVGL v8.2.0 that
is almost compatible enough to still build against LVGL v8.3.7.

Upgrade to this next/main branch which contains three additional
commits on top of the main branch, which implement the update to
newer LVGL. Add two more fixes to build against system timer provided
tick and another fix for WL callback data type. Since there is no
upstream, track the patches here for now.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 10:12:44 -07:00
Marek Vasut
387200af7c lvgl: Update lvgl-demo-fb to 8.3.0
The lvgl-demo-fb depends on specific configuration of LVGL which
includes demo widgets, which as far as I can tell are not needed
for regular LVGL application development. Currently lvgl-demo-fb
contains its own copy of lvgl and lv-drivers, for which meta-oe
already contains its own recipes, but so far we cannot reuse them.

Upgrade the lvgl-demo-fb to 8.3.0 to at least match the lvgl and
lv-drivers .

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 10:12:44 -07:00
Marek Vasut
dbf8086926 lvgl: Support both fbdev and wayland backends
The LVGL can be operated on top of fbdev as well as on WL compositor.
Support both, which is a matter of configuring lv-drivers package per
required backend. Determine the backend from DISTRO_FEATURES, since
both 'wayland' and 'fbdev' are valid DISTRO_FEATURES. Add a bit more
sed hacking of the configuration, which enables either FBDEV or WL
backend. One notable item here is the enablement of EVDEV support,
which is required for FBDEV backend, so in case FBDEV is enabled, so
is EVDEV.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 10:12:44 -07:00
Marek Vasut
1278e8cfca lvgl: Add configurable color depth, default to 32bpp
Make color depth configurable and default to 32bpp .

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 10:12:44 -07:00
Marek Vasut
6a2fb1f751 lvgl: Activate custom tick implementation
Use a custom tick source that tells the elapsed time in milliseconds.
It removes the need to manually update the tick with `lv_tick_inc()`.
This is the behavior which ought to be used for LVGL running on Linux
compared to LVGL running on microcontroller.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 10:12:44 -07:00
Marek Vasut
6491067312 lvgl: Upgrade lvgl to 8.3.7 and lv-driver to 8.3.0
Both the LVGL and lv-drivers are now available in 8.3.y release,
upgrade both to latest 8.3.y release version in lock step. Also,
lvgl contains no submodules, drop the gitsm fetcher use.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 10:12:44 -07:00