Commit Graph

11668 Commits

Author SHA1 Message Date
Chen Qi
c126f16db2 android-tools: fix systemd service setting
The service file belongs to ${PN}-adbd instead of ${PN}.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-06 13:45:10 -07:00
Khem Raj
f1ab25b104 minifi-cpp: Always use stat on 64bit linux
stat64 is an alias to stat on 64bit linux moreover this makes it work
with musl where LFS64 functions are deprecated

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-06 13:45:10 -07:00
Khem Raj
dd5e852516 ptest-packagelists-meta-oe: Add libtinyxml2
It takes < 4 seconds on qemux86_64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-06 13:45:10 -07:00
Khem Raj
8b0fe7a1d1 libtinyxml2: Add ptest support
- Switch to usong meson build system
- Fix build with musl by defining _LARGEFILE64_SOURCE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-06 13:45:01 -07:00
Ever ATILANO
1dc0260309 meta-oe: recipes-support: dc: Add ptest
Signed-off-by: Ever ATILANO <ever.atilano@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-05 15:57:09 -07:00
Peter Kjellerstedt
2e0a581bee recipes: Remove double protocol= from SRC_URIs
With the exception of paho-mqtt-cpp, the double protocol= attributes
were added to the SRC_URIs when protocol=https was added to all SRC_URIs
fetching from github.com in commit b402a3076f (recipes: Update SRC_URI
branch and protocols).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-05 15:56:47 -07:00
Peter Kjellerstedt
4decf7d0a7 paho-mqtt-c: Improve the license information
Replace the about.html and notice.html files in LIC_FILES_CHKSUM with
the LICENSE file. Including HTML files in LIC_FILES_CHKSUM complicates
things when the license files that OE collects are, e.g., later
processed and presented to a user where the expectation is that they are
plain text files.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-05 15:56:47 -07:00
Peter Kjellerstedt
71e75357af paho-mqtt-cpp: Improve the license information
Replace the about.html and notice.html files in LIC_FILES_CHKSUM with
the license information from one of the source files. Including HTML
files in LIC_FILES_CHKSUM complicates things when the license files that
OE collects are, e.g., later processed and presented to a user where the
expectation is that they are plain text files.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-05 15:56:47 -07:00
Martin Jansa
9f6268e283 zsh: fix installed-vs-shipped with multilib
* fixes:
lib32-zsh-5.8: lib32-zsh: Files/directories were installed but not shipped in any package:
  /usr/share/lib32-zsh
  /usr/share/lib32-zsh/5.8
  /usr/share/lib32-zsh/site-functions
  /usr/share/lib32-zsh/5.8/functions
  /usr/share/lib32-zsh/5.8/functions/_selinux_users
... 1000+ lines ...
  /usr/share/lib32-zsh/5.8/functions/VCS_INFO_bydir_detect
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
lib32-zsh: 1116 installed and not shipped files. [installed-vs-shipped]

* they will clash if someone is trying to install both zsh
  and lib32-zsh, but it's not very likely as nobody sane
  was building lib32-zsh with 1000+ line warning regularly

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-05 15:56:47 -07:00
Khem Raj
6e4063c1d8 libio-pty-perl: Fix build with musl/clang
recipe ptest results led to this issue where the tests would fail with
clang but not with gcc, the reason is that clang find more errors and
configure tests were failing. Fixes thusly, this also means that other
patch to fix musl build is no longer needed as well.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-05 15:56:47 -07:00
Ulrich Ölmann
c6893fda3e jwt-cpp: enable usage in an SDK
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-05 15:56:47 -07:00
Khem Raj
3ccb099e21 surf: Fix build with gtkwebkit 2.40
2.40 have two recipes one for gtk4 and another one for gtk3
use the gtk3 option.

Use PKG_CONFIG variable to provide a facility to override if needed

Update to latest on webkit2 branch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-05 15:56:47 -07:00
Wang Mingyu
e2ac0e39f9 ostree: upgrade 2023.1 -> 2023.2
Changelog:
==========
  Add 'sysroot.bootprefix' option
  deploy: Use 'semodule --refresh' if available
  configure: post-release version bump
  Release rust/ bindings 0.17.1
  rust-bindings: Regenerate for 2023.1
  rust-bindings: 'Sysroot' is 'Send'
  itest-pull-space: Use mkfs.ext4, align to at least 512b
  tests: Set size on fileinfo
  Enable 'trust_return_value_nullability'
  Add docs and fix annotations for ostree-repo-file.c
  rust: Bump semver
  lib: Fix two nullable annotations
  repo: Fix nullability for remote options
  rust: Renerate bindings
  Revert "repo: Fix nullability for remote options"
  rust-bindings: Regenerate
  configure: post-release version bump
  build: Do not include private headers in the introspection
  libostree: Ignore new_and_connect in the introspection
  libostree: Enhance the annotation coverage
  core: Ensure glib standard::size attribute is always set
  ci: update for new kolaTestIso()
  lib/fetcher-util: Wake up main context when a request is complete
  Increase buffer size for create_regular_tmpfile_linkable_with_content
  tests: Ensure non-root users have access to libcap tools
  ostree_raw_file_to_content_stream: Make size default to 0
  _ostree_zlib_file_header_new: Default size to 0
  write_content_object: Don't assume file info has standard::size
  Use g_steal_fd() in preference to glnx_steal_fd()
  docs: Use upstream theme & update to 0.4.1
  build(deps): bump libglnx from '4e44fd9' to '07e3e49'

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Wang Mingyu
fadf73e5f6 links: upgrade 2.28 -> 2.29
Changelog:
===========
 Add "#define _GNU_SOURCE" to the configure test for memrchr
 Implement strike formatting
 Fixed a bug that image was sometimes displayed with too small size
 Fixed a bug that webp images from local disk could not be displayed
 Support AVIF images
 Updated Polish Translation

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Wang Mingyu
d250a0dc02 libtraceevent: upgrade 1.7.1 -> 1.7.2
Changelog:
==========
- Fix big-endian build breakage in unit tests
- Fix double free in process_sizeof() function
- Cleaned up process_sizeof() function as well

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Wang Mingyu
15b2d49d34 libpfm4: upgrade 4.12.0 -> 4.13.0
Changelog:
==========
  update Intel SKL/SKX/CLX event table
  add ARM Neoverse V2 core PMU support
  move ARM Neoverse N2 to ARMv9 support
  add ARM v9 support basic infrastructure
  add Arm Neoverse V1 core PMU support
  Update Intel SapphireRapid event table
  update Intel Icelake event table
  update AMD Zen4 event table
  add AMD Zen4 core PMU support
  correctly detect all AMD Zen3 processors
  fix CPU_CLK_UNHALTED.REF_DISTRIBUTED on Intel Icelake

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Wang Mingyu
9fe311dfb2 libdeflate: upgrade 1.17 -> 1.18
Changelog:
==========
* Fixed a bug where the build type didn't default to "Release" when using
  CMake 3.10 or earlier.

* Fixed a bug where some optimized code wasn't used when building with
  Clang 15 or later (x86), or with Clang 16 or later (aarch64).

* Fixed build errors with some architecture and compiler combos:
  * aarch64 with Clang 16
  * armv6kz or armv7e-m with gcc
  * armhf with gcc (on Debian only)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Wang Mingyu
e992fa00fc ctags: upgrade 6.0.20230319.0 -> 6.0.20230402.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Wang Mingyu
3f5f2f067b libbytesize: upgrade 2.7 -> 2.8
Changelog:
==========
- Added translation using Weblate (Kazakh)
- Translated using Weblate (Kazakh)
- Added translation using Weblate (Georgian)
- Translated using Weblate (Georgian)
- Sync spec with downstream
- README: Remove the Travis CI badge
- Add a GitHub action for running csmock static analysis
- ci: Run rpmbuild tests in GitHub actions
- ci: Update the csmock GitHub actions configuration
- ci: Rename csmock.Dockerfile to ci.Dockerfile
- ci: Update Fedora versions for RPM build tests
- spec: Change license string to the SPDX format required by Fedora
- misc: Remove "warn: false" from Ansible "command"
- ci: Update chroots for RPM builds
- configure.ac: Remove invalid email address for bug reports
- ci: Add Packit configuration for RPM builds on pull requests
- ci: Remove GitHub action for RPM builds
- ci: Use Packit for daily builds in Copr
- spec: Bump release to 21 for Packit daily builds
- ci: Add Packit automation for downstream builds
- spec: Fix source archive URL
- Make use of error optional
- Replace C++ style comments with C style
- Various docstring fixes
- docs: Remove information about Python 2 support
- Remove unused test dependencies variables from Makefile
- Do not hardcode pylint executable name in Makefile
- ci: Do not use release descriptions for Packit builds
- Update translation files
- Translated using Weblate (Korean)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Wang Mingyu
63bb96035b abseil-cpp: upgrade 20230125.1 -> 20230125.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Wentao Zhang
b3274b4e90 jemalloc: include the missing shell scripts and source the corresponds shell scripts for some test cases.
The test cases in jemalloc require the appropriate value to be exported
to MALLOC_CONF, which is stored in shell scripts.
The privious script just ran the test cases without exporting value, causing
the tests to fail.
Include the missing shell scripts, and source them before running the test
cases now.

Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Khem Raj
9357ea2698 poco: Remove pushd/popd from run-ptest
This could be worked out without needing to add bash dependency

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:46 -07:00
Khem Raj
580c36fa72 ptest-packagelists-meta-oe: Remove minicoredumper from PTESTS_FAST_META_OE on musl
minicoredumper is not buildable on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:45 -07:00
Tim Orling
ec3760af48 meta-oe-ptest*-image: enable BBCLASSEXTEND parallel execution
Similar to "core-image-ptest: Switch to BBCLASSEXTEND parallel execution"

Refactor meta-oe-ptest-image.bb for an image per ptest in the form of
meta-oe-ptest-image-XXX using class extensions.

* Add meta-oe-ptest-all-image.bb depends on ALL meta-oe-ptest-image-XXX in meta-oe
* Add meta-oe-ptest-fast-image.bb depends on meta-oe ptests which take less than ~30s

This allows parallel execution of the tests.

The downside to this approach is the parsing time of an image generating
this number of class extensions is slow but making it easier to execute
and collect test data should outweigh that.

A useful advantage is that the dependencies of each ptest package are
checked/tested individually.

Add to local.conf:
IMAGE_CLASSES += "testimage"

All the meta-oe-ptest-image-XXX can be built with:
$ bitbake meta-oe-ptest-all-image

Subsequently, all the ptest images can be run with:
$ bitbake -c testimage meta-oe-ptest-all-image

You will likely want to limit the number of parallel image tests:

BB_NUMBER_THREADS = "4"

based on the number of TAP devices you have defined or the number of simultaneous
QEMU sessions your server can support.

Results can be summarized with:

$ resulttool report tmp/log/oeqa/testresult.json

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 17:43:22 -07:00
Tim Orling
d094f80089 ptest-packagelists-meta-oe.inc: add ptest recipes
Similar to ptest-packagelists.inc in oe-core, this list enables
per image ptest (isolated ptests for a given recipe)

* Add recipes to PTEST_FAST_META_OE for ptests which take less than ~30s
* Add recipes to PTEST_SLOW_META_OE for ptests which take longer
* Add recipes to PTEST_PROBLEMS_META_OE for ptests which have failing tests
  or other issues with ptest package

The initial list was taken from:

meta_oe_ptest_recipes=$(bitbake-layers show-recipes --recipes-only \
  --layer meta-oe --inherits ptest --bare | tr '\n' ' ' | \
  pcregrep -o1 '^NOTE:.+===(.+)$')

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 17:43:22 -07:00
Tim Orling
0fc5f550d3 span-lite: do not inherit ptest
This recipe provides no run-ptest script.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 17:43:22 -07:00
Tim Orling
306a92cdba cli11: do not inherit ptest
This recipe provides no run-ptest script.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 17:43:22 -07:00
Khem Raj
77f4b570bf emacs: Fix build with autconf 2.72+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 10:46:35 -07:00
Khem Raj
f7fc137e13 libidn: Update largefile m4 macros
This is a backport from gnulib, its needed for configure to work with
latest autoconf 2.72

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 10:41:04 -07:00
Khem Raj
60afa577e5 libstemmer: Update to 2.2.0
Rename recipe to reflect PV
Refresh solibs build patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 10:21:18 -07:00
Khem Raj
7733744d98 mpv: Upgrade to 0.35.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-01 21:57:40 -07:00
Markus Volk
fb3430b8f3 flatpak: update 1.15.3 -> 1.15.4
Signed-off-by: Markus Volk <f_L_K@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-01 08:55:06 -07:00
Bartosz Golaszewski
f6b3a82e1e reboot-mode: put the build artifacts in ${B}
We should output the compiled executables into ${B} and install them
from it as well. Currently we put the build objects in the source
directory. While at it: don't assume we're already in the source
directory and instead prepend the source file with ${S}.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-01 06:09:47 -07:00
Khem Raj
db87078a40 imagemagick: Update to 7.1.1
Add a patch to fix build with upcoming autoconf 2.72

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-31 10:42:43 -07:00
Khem Raj
2b4e21be8e gmime: Update to 3.2.13
- Drop nodolt.patch patch its applied upstream
- Enable largefile and set ac_cv_sys_file_offset_bits=64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-31 10:42:43 -07:00
Khem Raj
babd1cbf85 cyrus-sasl: Fix autoconf patch to work with new autoconf 2.72
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-31 10:42:43 -07:00
Khem Raj
1807ecfe4b krb5: Fix build with autoconf 2.72
Fixes
checking for IPv6 compile-time support without -DINET6... ./configure: line 10004: syntax error near unexpected token `;;'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-31 10:42:43 -07:00
Zoltán Böszörményi
2f06781b87 libgusb: Allow building in native mode
Dependency of libfprint-native.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-30 09:46:52 -07:00
Zoltán Böszörményi
53b7f23590 hplip: Fix installation and QA
With version 3.22.11 it's not enough avoid linking to the
closed source ImageProcessor library, it must not be installed
either. This library is pre-stripped so package QA fails.

Add a new patch to fix installing HPLIP.conf into
/usr/share/ipp-usb/quirks. The upstream Makefile.am fails
to take DESTDIR into account and do_install fails because
of this. Also, instead of detecting the presence of the
target directory which is invalid for a source build,
create it and install the quirk file.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-30 06:25:15 -07:00
Mingli Yu
c2ddfe8b3a mcelog: improve the ptest output
Before:
 # ./run-ptest
 [snip]
 code 0xd2d: [PASS]

 After:
 # ./run-ptest
  [snip]
  PASS: code 0xd2d

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-30 06:24:16 -07:00
Leon Anavi
06cd3f757d pcsc-tools: Add runtime dependencies
Add runtime dependencies for pcsc_scan and scriptor. Script
ATR_analysis is written in Perl and it is used to parse the smart
card ATR. This script is called by default by pcsc_scan.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-29 13:01:16 -07:00
Leon Anavi
f290449c6c libpcsc-perl: Add recipe
Add Perl Chipcard::PCSC::Card smart card communication library.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-29 13:01:16 -07:00
Zoltán Böszörményi
6b12086873 opencv: Fix PACKAGECONFIG[openvino]
The circular dependency was fixed in a different way in
meta-intel's openvino-inference-engine. Only some samples
in openvino use opencv and building the samples was made
optional.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Manoj Saun
03e00bf122 postgresql: fix ptest failure of sysviews test
In postgresql sysview ptest are failing due to hidden build info in pg_config table.
The information is hidden due to existing patch 0001-config_info.c-not-expose-build-info.patch
So for passing the test we need to reduce the row count in the sysviews test.
Also for test results to be shown as pass we need to reduce the row count for
the expected count in the sysviews.out file.

Signed-off-by: Manoj Saun <manojsingh.saun@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Xiangyu Chen
f65b052784 abseil-cpp: upgrade 20221014.0 -> 20230125.1
Note: please make sure your oe-core has the following commit:
https://git.openembedded.org/openembedded-core/commit/?id=a73e269d3e591a10bb397b94b82e3fb960112d33

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Bartosz Golaszewski
3f06ba3c36 reboot-mode: new package
Add a recipe for the simple program that allows to replicate android
reboot's behavior on linux (e.g. reboot bootloader, reboot recovery) as
well as test reboot mode drivers in the linux kernel.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Wang Mingyu
c4b9e3b8d0 ctags: upgrade 6.0.20230312.0 -> 6.0.20230319.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-28 10:44:00 -07:00
Markus Volk
02f9c6a1a9 xdg-desktop-portal: fix bwrap path
bwrap path is read from STAGING_BINDIR_NATIVE. This commit fixes reproducibility and runtime

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-25 16:43:34 -07:00
Archana Polampalli
2144e93beb Nodejs: add missing run_ptest script
ptest-runner is not available for Nodejs on target hence added run-ptest script

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-25 08:54:59 -07:00
Wang Mingyu
eaaf9a6b85 libpeas: upgrade 1.34.0 -> 1.36.0
Changelog:
=========
* PeasExtensionSet now implements GListModel
* libpeas now requires GLib 2.44 or newer for GListModel
* Translation updates:
  - Interlingue
  - Turkish

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-25 08:54:59 -07:00