summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-09-23oeqa/runtime/parselogs: parse the logs with Python, not grepross/parselogsRoss Burton
Instead of constructing huge grep statements, we can simply open the logs in Python and do the relevant string operations directly. The trick is to remember to casefold() all of the strings, so that the "in" operator can be used. Just one of the ignores needs to be adjusted because it uses a regular expression and the new logic doesn't support that. This is handled by simply reducing the size of the ignore match. Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-09-22oeqa/runtime/parselogs: select the correct machine-specific ignores earlyRoss Burton
This has no impact to the execution, but makes the following changes neater. Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-09-22oeqa/runtime/parselogs: move some variables out of global scopeRoss Burton
errors and log_locations can be trivially set in the class directly, instead of being defined in the module and then copied into the class. Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-09-22oeqa/runtime/parselogs: don't pass around membersRoss Burton
There's no point in passing around member fields, just access them directly. Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-09-22oeqa/runtime/parselogs: improve find callRoss Burton
getLogList() uses remote find invocations to find the logs. Instead of relying on shell expansion of wildcards and redundant use of -maxdepth (pointless as the shell expansion means the find is passed the files to return), invoke find idiomatically by telling it what directory to search for and escape the glob so find processes it. Also remove many pointless str() calls. Signed-off-by: Ross Burton <ross.burton@arm.com>
2023-09-22bitbake: codeparser: Update debug variable referenceRichard Purdie
The code has changed and the debug message didn't work. Fix it. The output is still incredibly useful. (Bitbake rev: f1fa4bb3066e2bbaff0b69088ba5c6c6c597b93d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22bitbake: bitbake-worker/runqueue: Avoid unnecessary bytes object copiesEtienne Cordonnier
declaring queue=b"" creates an object of types bytes(). bytes() is an immutable object, and therefore doing "self.queue = self.queue + r" creates a new object containing "self.queue" concatenated with "r". On my test setup, we are passing 180MB of data of "workerdata" to the bitbake-worker, so those copies significantly slow down the initialization of the bitbake-worker. Rather use bytearray() which a mutable type, and use extend() to avoid copies. In my test setup, byterray.extend() is 10.000 times faster than copying the queue, for a queue size of 180MB. (Bitbake rev: 2302b5316091dff189e6c3f546341b2274ed9d0a) Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22llvm: Upgrade to 17.0.1Khem Raj
This is first release in 17.x major release (From OE-Core rev: 388c6dd0ac470a8e83233adf50ad8e7d9029728f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22oeqa/selftest/oescripts: Avoid variable access at module loadRichard Purdie
Using get_bb_var in the class setup leads to slow startup of oe-selftest. Move the calls into setupClass instead to remove the overhead at the expense of some code duplication. (From OE-Core rev: 64786106746fbcc9d8a35eb6cfa82fd5c6bce7f8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22oeqa: Streamline oe-selftest startup timeRichard Purdie
"bitbake -e" executions from get_bb_var calls are slow and slow down oe-selftest startup. Rationalise the code to avoid them and minimise the number of "parsing" locations we use by caching key variables and passing them around more. This was particularly problematic with oe-selftest -j usage since it would have multiple bitbake -e executions per process making parallel usage particularly slow. (From OE-Core rev: 3689cadeb07d76e66f97d890e844f899f69666fe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22oeqa/selftest/reproducible: Avoid oe-selftest startup delaysRichard Purdie
Currently the bb_get_var calls trigger multiple "bitbake -e" executions which slow the start of oe-selftest for any test. Rework the code to avoid these delays. (From OE-Core rev: c9ea3570f5dbdaf8c61e445ae9de759a0b71e21f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22oeqa/selftest: Fix broken symlink removal handlingRichard Purdie
The test above this removal correctly looks at symlinks however to remove a symlink we should call unlink(), not remove(). This avoids some build failures/tracebacks. (From OE-Core rev: dbdb6e73b0f52bc5f9429aca47802d51edbbc834) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22lib/oe/qa: update guidelines link for Upstream-StatusMichael Opdenacker
(From OE-Core rev: a8781a8f02c924d8a19e727e5d1bc6b89bf976da) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22lib/oe/qa: remove obsolete "Accepted" string for Upstream-StatusMichael Opdenacker
Replaced by "Backport" since release 3.2 https://docs.yoctoproject.org/migration-guides/migration-3.2.html#miscellaneous-changes (From OE-Core rev: 4053fa9184fd016cfa59a67ff7857e17d88bf25e) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22patchtest/selftest: only split resultlines onceTrevor Gamblin
selftest assumes that the test result output lines will consist of two tokens separated by whitespace, which are the actual result and the name of the test run. As a result, the script fails if any verbosity is added to the output of patchtest itself (e.g. by including a failure reason). Make the call to split() only do so once in order to ensure that two tokens are obtained. (From OE-Core rev: b7ff1e7363261780c015a3ee3b6d4bc69567f67f) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22oeqa/runtime/parselogs: inline single-caller functionsRoss Burton
There's no need to have one-liner functions to get the MACHINE or WORKDIR when they're only called once. (From OE-Core rev: 9478a665641f55cdc14f12a4409121ef95883d74) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22oeqa/runtime/parselogs: remove obsolete LSB testing supportRoss Burton
The LSB compliance tests were removed in 2019[1], so this is obsolete. [1] oe-core fb064356 (From OE-Core rev: a465b61bc3a16152f90032d5d5a041f87bf30108) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22oeqa/runtime/parselogs: don't bother to show target hardware informationRoss Burton
This information is pretty useless as we know what the target is from the build configuration (be it a qemu machine or real hardware). (From OE-Core rev: 7821c42172191e3c16ab8662a9e4f7e921830db0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22oeqa/runtime/parselogs: remove unused importsRoss Burton
(From OE-Core rev: 5c2b6ce30b3cbec6236b99ce4019dbd443ccccae) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22pypi.bbclass: Update the upstream checks to automatically replace '_' with '-'Derek Straka
For a number of existing packages, the pypi URI contains '-', but the package name (PYPI_PACKAGE) uses '_'. Add a simple replace for the UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX. The change resulted in 19 additional auto-detected upstream checks for python packages meta-python. It did break upstream checks for 3 packages that will be patched shortly: - python3-ipython-genutils - python3-ninja-syntax - python3-wpa-supplicant (From OE-Core rev: f4e2923bfac8a0a5b702ffd2dd957213a6268f6b) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22insane.bbclass: Count raw bytes in shebang-sizeJan Garcia
Operating systems limit the shebang to a maximum number of bytes. This patch makes the shebang-size check count raw bytes instead of UTF-8 characters. (From OE-Core rev: d4ac66c5cdaf971fb717cc5c5bf9aa51a787d412) Signed-off-by: Jan Garcia <j@n-garcia.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22openssl: Upgrade 3.1.2 -> 3.1.3Peter Marko
https://github.com/openssl/openssl/blob/openssl-3.1/NEWS.md#major-changes-between-openssl-312-and-openssl-313-19-sep-2023 Major changes between OpenSSL 3.1.2 and OpenSSL 3.1.3 [19 Sep 2023] * Fix POLY1305 MAC implementation corrupting XMM registers on Windows (CVE-2023-4807) (From OE-Core rev: eb65fdd971aa30d3fd09a8bc1b33ad2a1197f364) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22bitbake.conf: No longer support PR from filenameRichard Purdie
Nobody really sets PR from the recipe filename, we might as well drop the overhead of the python function call and simplify the variable. (From OE-Core rev: 5f2691a51a851e8337704aa00899eb27250f0f3f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22recipes: Drop remaining PR values from recipesRichard Purdie
We've been removing PR values from recipes at upgrade time for a while. In general anyone maintaining a binary distro would end up having to curate these themselves so the values in OE-Core aren't really that useful anymore. In many ways it makes sense to clear out the remaining ones (which are mostly for 'config' recipes that are unlikely to increase in PV) and leave a clean slate for anyone implementing a binary distro config. References are left in meta-selftest since the tests there do involve them and their removal upon upgrade. (From OE-Core rev: d4c346e8ab8f3cae25d1b01c7331ed9f6d4f96ef) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22sstate: Stop allowing overlapping symlinks from sstateRichard Purdie
When originally implemented, overlapping symlinks in DEPLOY_DIR were common. That is no longer the case and these overlapping links are causing bugs in other areas (e.g. bug 14123). Therefore start showing errors for overlapping symlinks in shared areas. Whilst here, fix a broken file reference in the grep command to match current file layouts and update the message shown to users to match current times. Most of the message content is obsolete now due to other advances and changes in the way the staging code now works. (From OE-Core rev: 15f98f72e1730fed5164fcd539737a7a7b96a1a2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-22create-spdx/sbom: Ensure files don't overlap between machinesRichard Purdie
Currently the by-id and by-namespace SPDX files are created without reference to PACKAGE_ARCH. This means that for two machines using a common package architecture (e.g. genericx86-64 and qqemux86-64), there would be overlapping files. This means that the build of one can remove files from the other leading to build failures. An example would be: MACHINE=qemux86-64 bitbake core-image-minimal MACHINE=genericx86-64 bitbake core-image-minimal MACHINE=qemux86-64 bitbake linux-yocto -c clean MACHINE=genericx86-64 bitbake core-image-minimal -C rootfs To fix this, add PACKAGE_ARCH to the path used for the files and use a search path based upon PACKAGE_ARCHS to access them. (From OE-Core rev: b2db10e966438071d00d2057b84d5f347613d841) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-21alsa-lib: fix patch Upstream-StatusMichael Opdenacker
Using "Backport" instead of "Accepted", as instructed on https://docs.yoctoproject.org/migration-guides/migration-3.2.html#miscellaneous-changes (From OE-Core rev: eb730ca78c6408513f3443d5017c3ae1504ae323) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20oeqa/selftest/bbtests: Improve and update test_non_gplv3Richard Purdie
This test no longer worked with fixes to avoid overlapping license files in deploy. Fix the test but also improve the logging messages so we don't get "False is not True" messages upon failure. (From OE-Core rev: 2fc7714dab5cce585bce4d6c4e8ffbefce2a709b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20license/license_image: Fix license file layout to avoid overlapping filesRichard Purdie
Currently DEPLOY_DIR/licenses is added to SSTATE_ALLOW_OVERLAP_FILES. This leads to bugs since when one MACHINE_ARCH recipes is cleaned, it removes the files for another which then results in later build failures as license files disappear. The solution is to include SSTAGE_PKGARCH in the path names to the license files. That does mean a search has to be used to find the correct license files for a given PN but that can be done via SSTATE_ARCHS. The implication for other tools is the layout has changed so tools will need to adapt to the new paths. The benefit is no more strange build failures such as from patterns like: MACHINE=qemux86-64 bitbake core-image-minimal MACHINE=genericx86-64 bitbake core-image-minimal MACHINE=qemux86-64 bitbake linux-yocto -c clean MACHINE=genericx86-64 bitbake core-image-minimal -C rootfs [YOCTO #14123] For anyone finding this commit, I'd question how much people should be relying on this code for tooling and suggest the SPDX manifests should be the preferred data format going forward anyway. (From OE-Core rev: 1a4ab9fc26659507e678e87312b514e8ea515673) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20multilib: fix SSTATE_ARCHS for multilib usageRichard Purdie
When building multilibs, we need to inject the multilib sstate pkgarch into SSTATE_ARCHS so the list forms a complete search path. Add a tweak to do this. PACKAGE_ARCH defaults to TUNE_PKGARCH so this is equivalent and just guards against recipes changing the value which may have other unwanted side effects. (From OE-Core rev: 37126ffc7ccbd3df57ebbd8e581d158f03bb3b4c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20sstate: Fix nativesdk entry in SSTATE_ARCHSRichard Purdie
PACKAGE_ARCH gets refined by each target so this value isn't valid in all contexts. Tweak to use underlying variables to build it so that it remains valid in wider contexts and works with new usage in sdpx and license classes. (From OE-Core rev: ca90379147cb75755d205670781d8922161e9317) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20qemu: Add PACKAGECONFIG for daxKhem Raj
Othereise it pokes at the build system and if ndctl is installed on the system it adds dependency on libdaxctl which can make it not work on other hosts where this is not available and qemu fails to run Fixes <recipe-sysroot-native>/usr/bin/qemu-system-x86_64: error while loading shared libraries: libdaxctl.so (From OE-Core rev: 2d61f31d7044fdc06fa526d8fd2c7cf485e260c6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20alsa-utils: update patch Upstream-StatusMichael Opdenacker
(From OE-Core rev: 131ffd88428070837b1b40d54a2fb0b7ce846516) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20fontcache.bbclass: avoid native recipes depending on target fontconfigMartin Jansa
* this caused liberation-font-native to depend on TUNE_PKGARCH target fontconfig because ${MLPREFIX}fontconfig-utils is added to RDEPENDS in anonymous python * the dependency tree for liberation-font-native got much shorter (just quilt-native and liberation-font-native itself): 2 after/pn-buildlist 78 before/pn-buildlist * fixes graphviz-native signature issue as well as detected with sstate-diff-machines.sh $ bitbake-diffsigs \ sstate-after/mako/x86_64-linux/graphviz-native/8.1.0.do_populate_sysroot.sigdata.184d4fd355f1e7a2d7d929ef4b5f62b94e2071df9dd674b2067ec21bfc7bcc1b \ sstate-after/qemux86-64/x86_64-linux/graphviz-native/8.1.0.do_populate_sysroot.sigdata.35da674d2dbc275bac02869dfce4165466315023910bdef65a6026e2cb942a46 Hash for task dependency liberation-fonts-native:do_populate_sysroot changed from 310d3da04ad9abf8ee99997e53d1ffa71c2b7d9d60fb0e8de85171a9ab6a77d3 to 048420ad1410c2b8d95498fc3c11681207335a2c722836f1f3e683cc449814da (From OE-Core rev: 998d4da9d89aea77dc0f2cbac60ea64258331756) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20libevent: fix patch Upstream-StatusMichael Opdenacker
(From OE-Core rev: 8c987afb2054f24d9bf86305774c186a6e015a8f) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20shadow: fix patch Upstream-StatusMichael Opdenacker
Replace "Accepted" by "Backport" as specified on https://docs.yoctoproject.org/migration-guides/migration-3.2.html#miscellaneous-changes (From OE-Core rev: 945f1106de1fc1b08921e05aa0f871092c2c116d) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20bitbake: data: Add missing dependency handling of remove operatorInsu Park
A recipe variable handles its dependencies even on the "contains" variables within the "inline Python expressions" like bb.utils.filter(). And it also handles those in the append operator correctly, but the problem is that it does not so in the remove operator. Fix it by adding the missing dependencies every time the remove operator has been handled. Also add a test case to check if the override operators handle dependencies correctly. (Bitbake rev: b90520eedb1dbc7f6a3928d089fe74fafb864eb5) Signed-off-by: Insu Park <insu0.park@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20bitbake: cooker: Drop unneeded flush callsRichard Purdie
Since the flush calls have significant effects for bitbake timeout issues, drop the remaining ones from cooker. These aren't in as critical paths as the other issues but it makes sense to clean up. (Bitbake rev: dd682363341bae3b060e284d73f000813964dc05) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20elfutils: Fix reproducibility issue with bunzip2Richard Purdie
bunzip2 is only detected/needed for "make check" tests however if left floating, the generated makefiles used in the ptests are not deterministic. Force a value to avoid this. [YOCTO #15209] (From OE-Core rev: d614359556529b9d226a8636b467d00425c42c87) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20alsa-utils: upgrade 1.2.9 -> 1.2.10Michael Opdenacker
Changelog: - po: add Korean translations - alsactl: fix compilation when building in a subdir - reshuffle included files to include config.h as first - github: update build.yml - aseqdump: fix MIDI 2.0 code - it compiles now - gitcompile: set more verbose compilation warnings - nhlt-dmic-info: fix the verbose compilation warnings for latest gcc - alsaucm: fix the verbose compilation warnings for latest gcc - aplaymidi: fix the verbose compilation warnings for latest gcc - aseqnet: fix the verbose compilation warnings for latest gcc - aseqdump: fix the verbose compilation warnings for latest gcc - aconnect: fix the verbose compilation warnings for latest gcc - speaker-test: fix the verbose compilation warnings for latest gcc - amidi: fix the verbose compilation warnings for latest gcc - bat: fix the verbose compilation warnings for latest gcc - iecset: fix the verbose compilation warnings for latest gcc - alsamixer: fix the verbose compilation warnings for latest gcc - alsaloop: fix the verbose compilation warnings for latest gcc - axfer: fix the verbose compilation warnings for latest gcc - alsactl: fix the verbose compilation warnings for latest gcc - amixer: fix the verbose compilation warnings for latest gcc - aplay: fix the verbose compilation warnings for latest gcc - topology: fix the verbose compilation warnings for latest gcc - alsactl: fix the copy-n-paste typo (SND_RAWMIDI_STREAM_*) - aseqdump: Add options to switch view mode - aseqdump: Correct wrong channel number - aseqdump: Align outputs of UMP MIDI 1.0 with legacy MIDI 1.0 - speaker-test: allow large buffer and period time setup - up to 100 seconds - topology: plugins: nhlt: remove dmic error print - Topology: NHLT: Intel: Update DMIC FIR coefficients - topology: nhlt: intel: support more device types and directions - topology: pre-processor: Add support for CombineArrays - alsactl: add define to compile with glibc 2.38 - topology: plugins: nhlt: set dmic stereo mode only in hw version 1 - aplaymidi: Add UMP support - aconnect: Add UMP support - aseqdump: Add UMP support - nhlt: add nhlt-dmic-info utility (From OE-Core rev: 24b7cd2e58c0a2f48cefb09a3363fd982d50f575) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20alsa-lib: upgrade 1.2.9 -> 1.2.10Michael Opdenacker
Changelog: - Fix symver build error on non-ELF platforms - ucm: main - remove cast to pointer from integer of different size warning - ucm: mark internal functions static - topology: fix src/mixer/mixer.c return value warning - dogyxen: fix topology.h warnings - doxygen: fix broken examples links - doxygen: include docs for shmarea functions - doxygen: conf: do not hide PCM specific function - doxygen: silence warning from asoundlib.h - doxygen: ucm: silence warnings - doxygen: topology: silence 'not documented' warnings - doxygen: global: silence 'not documented' warnings - doxygen: namehint: silence 'not documented' warnings - doxygen: seq: silence 'not documented' warnings - doxygen: conf: silence 'not documented' warnings - doxygen: rawmidi: silence 'not documented' warnings - doxygen: control: silence 'not documented' item warnings - doxygen: pcm: silence 'not documented' warnings - doxygen: include external control docs - doxygen: fix inadvertent link requests - doxygen: fix list indentation errors - doxygen: escape xml tags - doxygen: fix image path - doxygen: fix broken parameter name tags - doxygen: Fix missing group end markers - reshuffle included files to include config.h as first - configure: add AC_SYS_LARGEFILE - seq: Fix wrong seq version update at snd_seq_hw_get_client_info() - seq: Add overflow check in snd_seq_ev_set_ump_data() - test: oldapi - fix the clang-16 compilation error - rawmidi: Suppress error messages for non-fatal errors - seq: ump: Fix typo in function name containing "group" - pcm: hw: fix minor bug in sw_params ioctl - seq: Add UMP 1.1 features - ump: Add UMP 1.1 features - uapi: Update rawmidi API to 2.0.4 - seq: Add UMP support - uapi: Update asequencer.h definitions for 1.0.3 - ump: Add helpers for handling SysEx data - ump: Add helpers to parse / set UMP packet data - control: Add UMP Endpoint and Block info query support - control: Add UMP device query support -- ump: Add initial support - rawmidi: Add UMP ioctl support - uapi: Update control API to 2.0.9 - uapi: Update rawmidi API to 2.0.3 - remove extra trailing new line in SNDMSG and SNDERR calls - usecase: add CaptureMicInfoFile field to documentation - include: fix SND_DLSYM_BUILD_VERSION() for static build - pcm: hw - prevent divide by zero for broken apps (From OE-Core rev: 232b6b7276b6b34edd1aa5292897a92e16235ecf) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20libwebp: upgrade to 1.3.2Ross Burton
This is a point release with just one change: * security fix for lossless decoder (chromium: #1479274, CVE-2023-4863) (From OE-Core rev: 4ae14143eb7d1d74798ff921d90a0effbac89546) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20gdb: fix RDEPENDS for PACKAGECONFIG[tui]Stefan Tauner
TUI mode needs terminfo at runtime, which is required to be explicitly stated in the respective PACKAGECONFIG variable. Without this change /etc/terminfo/ might be missing, which leads to a runtime error when trying to use tui, e.g.: (gdb) tui enable Cannot enable the TUI: error opening terminal [TERM=xterm-256color] (From OE-Core rev: 5f17bc03a0c2d894e43c3c835fa38a24b1d5df64) Signed-off-by: Stefan Tauner <stefan.tauner@artech.at> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20pulseaudio: dont include consolekit for systemdMarkus Volk
Consolekit is not needed for systemd and getting it installed by default can be disturbing. (From OE-Core rev: ed8a0c9ff5cbde3b2bd882a49b4a861ddb3230ce) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20libxmlb: import recipe from meta-oeMarkus Volk
appstream has a dependency on it - add a patch to fix a reproducibility and runtime issue with ptest ptest completes without error - add the recipe to ptest-packagelists.inc (From OE-Core rev: 334410b10652881bb34dc06f5c68d500c9339b65) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20maintainers.inc: add missing entries for appstream and libxmlbMarkus Volk
(From OE-Core rev: 47aafa74d758ce5f4bcda556a0f6dc22ce6c5927) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20libadwaita: upgrade 1.3.4 -> 1.4.0Markus Volk
- add dependency on appstream - build vapi dependent on GI_DATA_ENABLED ============= Version 1.4.0 ============= - AdwBreakpointBin - Clarify minimum size warnings - AdwExpanderRow - Improve accessible roles - AdwPreferencesGroup - Set described-by on the listbox - Docs - Fix a property name in breakpoint migration guide - Stylesheet - Fix toolbar view styles within sidebars - Fix .navigation-sidebar:disabled style when used with GtkListView - Build system fixes - Translation updates - Catalan - Danish - Dutch - Esperanto - Italian - Occitan - Spanish - Swedish ============== Version 1.4.rc ============== - AdwAboutWindow - Accessibility fixes - Add a minimum size - AdwExpanderRow - Accessibility fixes - AdwHeaderBar - Fix missing title fallback for back button tooltip and history menu - Set "Back" as an accessible label for the back button - Clarify docs around :show-back-button - AdwNavigationView - Warn when a navigation page is missing a title - AdwStyleManager - Fix over-releasing a string on macOS - AdwTabButton - Set the correct gettext domain - AdwTabOverview - Set the correct gettext domain - Fix reordered thumbnail being drawn below others - AdwToastOverlay - Set the correct gettext domain - Build - Update pkg-config description field - Demo - Update screenshot in appdata - Correctly dismiss the last toast in the dialogs demo - Add missing navigation page titles - Stylesheet - Fix filename entry margins in file chooser - Fix menubutton.card corners - Fix button.card focus ring transition - Avoid background overdraw in GtkColumnView - Translation updates - Basque - Chinese (China) - Czech - Finnish - Galician - German - Indonesian - Kazakh - Korean - Lithuanian - Persian - Polish - Romanian - Spanish - Turkish ================ Version 1.4.beta ================ - Build - Depend on GLib 2.76.0 - Fix build on Windows - Add a GTK subproject - AdwBreakpointBin - Mention the correct widget in exceeded size warnings - Fix width-for-height and height-for-width sizing - AdwComboRow - Recreate default factory on expression changes - AdwEnumListModel - Better invalid value for find_position() - AdwHeaderBar - Fix spacing when there are no start/end children - Fix a memory leak - Fix GtkCenterBox:shrink-center-last usage - AdwLeaflet - Fix back/forward mouse button handling - AdwMessageDialog - Fix shadow style - AdwNavigationView - Pop the current page when pressing Escape - Make AdwNavigationPage:child-view private - Fix back/forward mouse button handling - Clarify docs - AdwPreferencesWindow - Fix a memory leak - AdwTabOverview - Cull invisible thumbnails - Fix a crash when opening overview before it's mpped - AdwTabView - Fix thumbnail regressions from 1.4.alpha - AdwToastOverlay - Fix width-for-height and height-for-width sizing - AdwToolbarView - Add ADW_TOOLBAR_RAISED_BORDER style - Fix width-for-height and height-for-width sizing - Clarify docs - AdwViewStack - Add AdwViewStackPages:selected-page - AdwViewSwitcherBar - Fix disabling reveal animation when using breakpoints - Make sure the height doesn't change with large text - Demo - Fix view switcher demo minimum height - Set input hints and purpose in the entries - Docs - Assorted screenshot tool fixes - Fix a deprecation warning in the screenshot tool - Stylesheet - Make button.osd focus rings blue for better visibility - Fix .card buttons within .osd - Fix button transitions in high contrast mode - Fix single-item menu height - Modernize GtkFileDialog, GtkAppChooserDialog and GtkAssistant styles - Translation updates - Belarusian - Friulian - Georgian - Hebrew - Hungarian - Persian - Portuguese - Russian - Slovenian - Ukrainian ================= Version 1.4.alpha ================= - Build - Depend on GTK 4.11.3 - Depend on libappstream - Add Vala metadata file - Fix gnome.compile_resources() on MSBuild - Fix doc include path - Make metainfo build reproducible - Add AdwBreakpoint and AdwBreakpointBin - Add AdwNavigationView - Add AdwNavigationSplitView - Add AdwOverlaySplitView - Add AdwSpinRow - Add AdwSwitchRow - Add AdwToolbarView - Deprecate AdwFlap, AdwLeaflet, AdwSqueezer and AdwViewSwitcherTitle - AdwAboutWindow - Add new_from_appdata() - Add a missing Since annotation - Fix accessible role on the application icon - AdwActionRow - Fix an inaccuracy in docs - AdwAvatar - Fix a memory leak - AdwBanner - Allow to ellipsize the button - Clarify title placement in docs - Add a backdrop style - AdwButtonContent - Add :can-shrink - AdwCarousel - Fix allocation - Fix scrolling to a recently inserted item - AdwClamp/AdwClampLayout/AdwClampScrollable - Add :unit, default to the sp unit instead of px - Deprecate clamp child style classes - AdwComboRow - Add :enable-search - Fix accessible role on the dropdown arrow - AdwExpanderRow - Deprecate add_action(), replace it with add_suffix() - AdwFlap - Add a missing setter annotation for :fold-policy - Correctly measure separator - Avoid notify emissions in dispose() - AdwEntryRow - Fix baseline with new GTK - Fix accessibility - AdwHeaderBar - Add :show-title property - Show page title instead of window title inside AdwNavigationPage - Show back buttons inside AdwNavigationView, add :show-back-button - Hide redundant window buttons inside AdwNavigationSplitView and AdwOverlaySplitView - Ellipsize title before start/end children - AdwMessageDialog - Allow to ellipsize the buttons - Be more responsive on parent state changes - Fix criticals when using choose() with hide-on-close=true - AdwPasswordEntryRow - Say password instead of text in the ui - AdwPreferencesPage - Add :description - AdwPreferencesWindow - Deprecate present_subpage(), close_subpage() and :can-navigate-back, replace with push_subpage() and pop_subpage() using AdwNavigationView - Move search button to the left - Add placeholder to the search entry - Fix markup handling when searching - AdwSplitButton - Add :can-shrink - AdwStatusPage - Clarify docs - AdwStyleManager - Stop reading GNOME-specific color-scheme setting via settings portal - Only use GSettings with ADW_DISABLE_PORTAL=1 - Fix get_for_display() annotation - AdwSwipeTracker - Add overshoot properties - Fix swipe area handling - AdwTabBar - Add :extra-drag-preferred-action - Fix dropping data onto tabs/thumbnails - Fix accessibility - Fix clipped labels - Correctly unparent context menu - AdwTabOverview - Rework thumbnails, reducing the number of glitches with WebKitWebView, and gaining antialiasing in process - Fix the transition curve - Add :extra-drag-preferred-action - Add a translator comment for "%u tabs" - Fix dropping data onto tabs/thumbnails - Fix clipped labels - Correctly unparent context menu - AdwTabView - Allow Ctrl+Page Up/Down to wrap around - AdwToast - Add :use-markup - Allow to ellipsize toast buttons - AdwViewSwitcher - Ellipsize labels in wide mode - Set correct accessible role for icons - AdwViewSwitcherBar - Modernize style - AdwWindow/AdwApplicationWindow - Add API for using breakpoints, matching AdwBreakpointBin - AdwWindowTitle - Fix initial title visibility - Demo - Drop leaflet and flap demos - Fix a critical when trying to set a non-image file as avatar - Add tooltip to the main menu button - Open primary menu with F10 - Make sure dialogs can be closed with Esc - Docs - Add a breakpoint migration guide - Rewrite the adaptive layouts page using the new widgetry - Update examples everywhere - Fix success/error color values - List thumbnail colors on the named colors page - Consistently mention since/deprecated since versions for named colors and style classes - Drop alpha migration guide - Adjust heading levels so that document outline consistently works - Crop screenshots more precisely - Don't show marshal functions in docs - Tests - Add a few manual tests, intended to be ran from Builder - Stylesheet - Make header bars white in light variant - Use shadow instead of a border for GtkWindow:titlebar - Revert menubar style changes from 1.3 - Use a shadow for undershoot styles - Add .undershoot-top/bottom/start/end style classes - Add @popover_shade_color, use for undershoots and transition shadows within popovers - Move toolbar padding to toolbars instead of buttons/entries/etc. Applications may need to adapt if they were relying on the previous padding. - Add .property style class for list rows - Deprecate headerbar.flat - Remove non-overlay scrollbar background - Remove outline on scrollbar troughs - Use flat header bars for GtkShortcutsWindow, GtkAboutDialog, GtkColorDialog, GtkPrintUnixDialog and GtkPageSetupUnixDialog - Adapt styles for GTK 4.11.x additions - Improve selected list/grid item contrast - Fix click areas in file chooser rows and grid items - Fix file chooser grid dimensions - Fix button.card checked state - Fix link hover color - Warn when trying to add a child that already has a parent - Fix GTK deprecation warnings - Translation updates - Basque - Brazilian Portuguese - British English - Bulgarian - Catalan - Chinese (Taiwan) - Dutch - Finnish - French - Friulian - German - Hebrew - Hungarian - Italian - Lithuanian - Persian - Polish - Portuguese - Russian - Slovak - Swedish - Turkish (From OE-Core rev: d161624d21533da9d885c01a34390dcd9c8802ea) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20appstream: import recipe from meta-oeMarkus Volk
libadwaita 1.4.0 has a dependency on it (From OE-Core rev: 913f1b0f17374bb20cc3e2bc80c47a1548faa202) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20oeqa/selftest/wic: Improve assertTrue callsRichard Purdie
assertTrue is a problematic call use in test cases since when it fails, you just get an unhelpful "False is not True" message. Replace some uses with assertIn/assertNotIn which will give more helpful results and for the rest, add msg entries which given more helpful debugging. For example, this patch would help debugging of #15176. (From OE-Core rev: 35d4c39e0df1a304f557471151a03d1e4b0f30c7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-09-20lttng-tools: Upgrade 2.13.10 -> 2.13.11Richard Purdie
(From OE-Core rev: b5109f923641ab5e51488ec5e6c0548b0cb8a599) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>