We now have Rust 1.71+ version in oe-core so we can build ruff,
add it to the ptest runtime dependencies, install docs and fix
paths in test_docs.py.
There is a known jemallocator issue on aarch64 that affects ruff
and some of the pydantic tests from test_docs.py:
E <jemalloc>: Unsupported system page size E memory allocation of 4 bytes failed
More details about JEMALLOC_SYS_WITH_LG_PAGE:
https://github.com/gnzlbg/jemallocator/issues/170#issuecomment-1503228963
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Add a recipe for devtools, Python's missing debug print command and
more. Release 0.12.2:
- install debug into builtins via DebugProxy
From release 0.12.1:
- Fix docs publish.
From release 0.12.0:
- build docs on CI
- Update usage to reflect the recent addition of the pytest plugin
- Support dataclasses with slots
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Add a recipe for pytest-examples, Pytest plugin for testing examples
in docstrings and markdown files. Release v0.0.18:
- Adapts tests to pytest 8.3.4
- Increases triple quote search
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Ruff is an extremely fast Python linter and code formatter, written
in Rust. Add a recipe for release 0.16.0:
- Ruff now enables a much larger set of rules by default (413, up
from 59). See the blog post for more details and the new Default
Rules page for a full listing of the enabled rules.
- Ruff can now format Python code blocks in Markdown files and will
do this by default. See the documentation for more details.
- Ruff now supports ruff: ignore comments at the ends of lines,
like noqa comments, or on the line preceding a diagnostic. For
example, these both suppress an unused-import (F401) diagnostic.
- Fixes are now shown in check and format --check output.
- format --check now supports the same output formats as the linter,
including the github and gitlab outputs for rendering annotations
in CI
- The filename, location, end_location, fix.edits[].location, and
fix.edits[].end_location fields in the JSON output format may now
be null rather than defaulting to the empty string and row 1,
column 1, respectively.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
uutils-coreutils sets PROVIDES/RPROVIDES = "coreutils" and is a drop-in
replacement that cannot coexist with GNU coreutils; both ship the same
update-alternatives links. meta-oe/conf/layer.conf already selects between
them with PREFERRED_PROVIDER_coreutils{,-native,nativesdk-}, defaulting to
GNU coreutils.
PREFERRED_PROVIDER only disambiguates providers reached through a
dependency, not recipes built as explicit targets. Since uutils-coreutils
was in world, 'bitbake world' and 'bitbake universe' pulled both recipes
into the same task graph as targets, so bitbake reported:
NOTE: Multiple .bb files are due to be built which each provide coreutils:
NOTE: Multiple .bb files are due to be built which each provide coreutils-native:
NOTE: Multiple .bb files are due to be built which each provide nativesdk-coreutils:
Key EXCLUDE_FROM_WORLD off the selected provider so only the chosen
implementation is built in world/universe. Building uutils-coreutils
explicitly, or selecting it via PREFERRED_PROVIDER_coreutils, still works.
This follows the existing conditional EXCLUDE_FROM_WORLD idiom used by
mpv, sox and vlc.
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
python3-py-serializable is extended to nativesdk and RDEPENDS on
python3-defusedxml, but defusedxml itself was only extended to native, so
the nativesdk variant of the dependency did not exist:
WARNING: Nothing RPROVIDES 'nativesdk-python3-defusedxml' (but virtual:nativesdk:...python3-py-serializable_2.1.0.bb RDEPENDS on or otherwise requires it)
This also made nativesdk-python3-cyclonedx-python-lib unbuildable, since it
RDEPENDS on python3-py-serializable.
nativesdk-python3-xml, the recipe's own runtime dependency, is provided by
nativesdk-python3, so the nativesdk variant resolves cleanly.
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
hwloc is only a build dependency for class-target, but libhwloc was an
unconditional RDEPENDS. native.bbclass rewrites runtime dependencies via
native_filter(), which suffixes any unsuffixed dependency, so libhwloc
became libhwloc-native for tbb-native and nativesdk-libhwloc for
nativesdk-tbb. The hwloc recipe sets no BBCLASSEXTEND, so neither variant
exists and nothing can provide them:
WARNING: Nothing RPROVIDES 'libhwloc-native' (but virtual:native:...tbb_2022.3.0.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-libhwloc' (but virtual:nativesdk:...tbb_2022.3.0.bb RDEPENDS on or otherwise requires it)
This cascaded to tbb-dev-native/tbb-native via the generic
RDEPENDS:${PN}-staticdev in bitbake.conf, and from there to opencv-native
through opencv's PACKAGECONFIG[tbb].
Gate the runtime dependency on class-target to match the existing DEPENDS
gating. Target builds keep libhwloc unchanged.
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Upstream is dead. The newest tools tarball on SourceForge is
uml_utilities_20040406 from 2004-04-08 [1], which is what this recipe
tracks, and the project's last artifact of any kind is a 2.4 kernel
patch from Nov 2004. The tarball still ships CVS metadata directories.
Keeping it building against a current toolchain has meant carrying six
portability patches (~450 lines) for missing headers, stat64 -> stat and
LDFLAGS handling, with a new one needed every couple of years.
Most of what it installs is no longer relevant to UML. The current
kernel UML HOWTO [2] documents only the vector transports and does not
mention uml_net or uml_switch at all. uml_net is also installed setuid
root and execvp()s bare "ifconfig"/"route" off $PATH from that setuid
context, which is not something we should be shipping.
tunctl is not lost: meta-networking has a standalone tunctl recipe, and
uml-utilities only registered it through update-alternatives at the
default priority anyway.
Nothing in any layer depends on it - the only reference was the
meta-oe-extended packagegroup, for build coverage.
Debian has since moved to a later 20070815.4 snapshot from a different
upstream tree, and even that was removed from testing in Nov 2025 with
open RC bugs [3]. Should anyone want uml_mconsole, uml_moo/uml_mkcow or
port-helper back, the right starting point is that snapshot rather than
this one.
[1] https://sourceforge.net/projects/user-mode-linux/files/tools/1/
[2] https://docs.kernel.org/virt/uml/user_mode_linux_howto_v2.html
[3] https://tracker.debian.org/pkg/uml-utilities
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
- add missing dependencies
- fetch missing subprojects
- LIC_FILES_CHKSUM has changed but LICENSE is still LGPL-2.1
- The malcontent-timer-ext-agent, malcontent-timerd, and malcontent-webd services
are configured to run under their own user accounts. Create the users so that
the services can run.
Overview of changes in malcontent 0.14.0
========================================
* Bugs fixed:
- #89 After reworking user selector and navigation, removing currently viewed
users isn't handled (Philip Withnall)
- #101 Integrate NSS web filtering module in flatpak (Philip Withnall)
- #122 Allow viewing screen time usage when using malcontent-control as a
child user (Philip Withnall)
- #129 Hide level bar if there’s no data available yet
- #133 EstimatedTimesChanged signal is not emitted after a screen time
extension request is granted (Philip Withnall)
- !292 docs: Add diagram and some more notes to screen time design document
- !293 malcontent-client: Improve some error messages for invalid command
lines
- !294 build: Post-release version bump
- !295 po: Fix a few localisation problems
- !296 Update Chinese translation
- !297 docs: Add a diagram of web filtering IPC
- !298 Update Czech translation
- !299 updated ru.po
- !300 Replace sl.po with translation update
- !305 Update Czech translation
- !306 Update Chinese translation
- !307 Update Georgian translation
- !309 Update Slovenian (sl) translation
- !311 build: Use system libcdb library if available
- !312 malcontent-webd-update/tests: Only install webd template if tests are
installed
- !314 nss/tests/nss-objdump: Also allow linker library
- !315 Update Swedish translation
- !316 build/ci: Minor cleanups related to docs
- !317 Update Kazakh translation
* Translation updates:
- Chinese (China) (lumingzh)
- Czech (AsciiWolf)
- Georgian (NorwayFun)
- Kazakh (Baurzhan Muftakhidinov)
- Russian (Ser82-png)
- Slovenian (filmsi)
- Swedish (Anders Jonsson)
Overview of changes in malcontent 0.14.alpha
============================================
* This is an unstable development release previewing some new features; a lot of
things have changed around, so it’s expected that there may be some packaging
issues; please file an issue on
https://gitlab.freedesktop.org/pwithnall/malcontent/-/issues if so
* Add developer API documentation
* Refresh UI
* Add support for screen time limits
* Add backend for web filtering
* Bugs fixed:
- #2 Build developer documentation (Philip Withnall)
- #73 Updated sl.po translationn
- #74 Add family API (Philip Withnall)
- #75 Ensure MctSessionLimits can do daily time limit and bedtime schedule
(Philip Withnall)
- #76 Add org.freedesktop.MalcontentTimer1.Parent API for querying child
computer usage (Philip Withnall)
- #80 Refresh UI for unlock page
- #81 Rework user selector
- #83 Add screen time subpage with basic screen limits options
- #84 Add screen time chart
- #88 Implement NSS web filtering module and filter list daemon (Philip
Withnall)
- #91 Port documentation comments to gi-docgen format
- #95 Build sysext image in CI for integration testing with gnome-shell
(Philip Withnall)
- #96 Selecting username from commandline fails (Ignacy Kuchciński)
- #97 Add org.freedesktop.MalcontentTimer1.Child API for extending a child’s
session time (Philip Withnall)
- #98 After adding screen time subpage, the previous value of bedtime/screen
limit are not preserved (Philip Withnall)
- #100 Bump the app copyright date (Philip Withnall)
- #102 Add tests for filter list parsing code in malcontent-webd (Philip
Withnall)
- #107 Follow-up from "Add screen time chart"
- #109 Set a default daily screen time limit value
- #110 Show logged-in child accounts in the parental controls application
- #111 Screen time summary level bar overflows
- #112 Fix assertion when closing the application (Philip Withnall)
- #113 Investigate gtklevelbar breaking
- #115 Improve documentation of the malcontent-client record-usage command
(Philip Withnall)
- #117 Emit EstimatedTimesChanged signal from malcontent-timerd if session
limits settings change (Philip Withnall)
- #118 Malcontent-timerd daemon error on GNOME OS child account login (Philip
Withnall)
- #119 Fix duration picker breaking in 12-hour clock mode
- #120 Update Turkish translation
- !189 build: Post-release version bump
- !190 Bulgarian translation by kraftwerk
- !191 malcontent-control: Port about dialog to AdwAboutDialog
- !192 ci: Add various linting tests for shell and Python
- !193 malcontent-client: Add support for setting a session limit policy
- !194 Improve REUSE license/copyright tagging somewhat
- !195 Update Georgian translation
- !196 malcontent-timerd: Add initial implementation of timer daemon
- !197 po: Add new malcontent-timerd files to POTFILES.in
- !198 updated ru.po
- !200 ui: Fix wrong a11y role in button
- !202 nss: Add a new libnss_malcontent.so.2 NSS module for web filtering
- !204 libmalcontent: Add web filtering settings storage and API
- !205 malcontent-client: Add {get,set}-web-filter commands
- !210 Add icons to libmalcontent-ui gresources
- !211 docs: Add Code of Conduct
- !213 Add missing mct_session_limits_equal() and mct_web_filter_equal()
functions
- !214 manager: Rework change notification from AccountsService and support
notification for session limits and web filters
- !215 Various minor type and terminology fixes
- !216 user-selector: Factor out getuid() calls into a :current-user property
- !217 Fix icons in dark theme
- !218 tools: Add a sysext build tool
- !219 malcontent-control: Add D-Bus service file
- !220 malcontent-control: Change component type to "desktop-application"
- !221 accounts-service: Make extension symlinks relative
- !222 Handle external changes to users and settings
- !224 Fix waiting asynchronously for user manager
- !225 malcontent-webd: Add initial implementation of web filtering daemon
- !226 Adjust malcontent-timer for shell integration
- !227 po: Add missing files to POTFILES.in
- !228 Replace sl.po; this is the updated translation (100%).
- !229 nss: Add unit tests for NSS module
- !230 Update of sl.po
- !231 malcontent-timer: Remove an invalid attribute from a D-Bus XML file
- !232 tests: Add test for the sandboxing of malcontent-webd.service and
malcontent-timerd.service
- !233 Update Czech translation
- !235 Malcontent client improvements
- !236 Update Polish translation 250828
- #83 Add screen time subpage with basic screen limits options
- #84 Add screen time chart
- #88 Implement NSS web filtering module and filter list daemon (Philip
Withnall)
- #91 Port documentation comments to gi-docgen format
- #95 Build sysext image in CI for integration testing with gnome-shell
(Philip Withnall)
- #96 Selecting username from commandline fails (Ignacy Kuchciński)
- #97 Add org.freedesktop.MalcontentTimer1.Child API for extending a child’s
session time (Philip Withnall)
- #98 After adding screen time subpage, the previous value of bedtime/screen
limit are not preserved (Philip Withnall)
- #100 Bump the app copyright date (Philip Withnall)
- #102 Add tests for filter list parsing code in malcontent-webd (Philip
Withnall)
- #107 Follow-up from "Add screen time chart"
- #109 Set a default daily screen time limit value
- #110 Show logged-in child accounts in the parental controls application
- #111 Screen time summary level bar overflows
- #112 Fix assertion when closing the application (Philip Withnall)
- #113 Investigate gtklevelbar breaking
- #115 Improve documentation of the malcontent-client record-usage command
(Philip Withnall)
- #117 Emit EstimatedTimesChanged signal from malcontent-timerd if session
limits settings change (Philip Withnall)
- #118 Malcontent-timerd daemon error on GNOME OS child account login (Philip
Withnall)
- #119 Fix duration picker breaking in 12-hour clock mode
- #120 Update Turkish translation
- !189 build: Post-release version bump
- !190 Bulgarian translation by kraftwerk
- !191 malcontent-control: Port about dialog to AdwAboutDialog
- !192 ci: Add various linting tests for shell and Python
- !193 malcontent-client: Add support for setting a session limit policy
- !194 Improve REUSE license/copyright tagging somewhat
- !195 Update Georgian translation
- !196 malcontent-timerd: Add initial implementation of timer daemon
- !197 po: Add new malcontent-timerd files to POTFILES.in
- !198 updated ru.po
- !200 ui: Fix wrong a11y role in button
- !202 nss: Add a new libnss_malcontent.so.2 NSS module for web filtering
- !204 libmalcontent: Add web filtering settings storage and API
- !205 malcontent-client: Add {get,set}-web-filter commands
- !210 Add icons to libmalcontent-ui gresources
- !211 docs: Add Code of Conduct
- !213 Add missing mct_session_limits_equal() and mct_web_filter_equal()
functions
- !214 manager: Rework change notification from AccountsService and support
notification for session limits and web filters
- !215 Various minor type and terminology fixes
- !216 user-selector: Factor out getuid() calls into a :current-user property
- !217 Fix icons in dark theme
- !218 tools: Add a sysext build tool
- !219 malcontent-control: Add D-Bus service file
- !220 malcontent-control: Change component type to "desktop-application"
- !221 accounts-service: Make extension symlinks relative
- !222 Handle external changes to users and settings
- !224 Fix waiting asynchronously for user manager
- !225 malcontent-webd: Add initial implementation of web filtering daemon
- !226 Adjust malcontent-timer for shell integration
- !227 po: Add missing files to POTFILES.in
- !228 Replace sl.po; this is the updated translation (100%).
- !229 nss: Add unit tests for NSS module
- !230 Update of sl.po
- !231 malcontent-timer: Remove an invalid attribute from a D-Bus XML file
- !232 tests: Add test for the sandboxing of malcontent-webd.service and
malcontent-timerd.service
- !233 Update Czech translation
- !235 Malcontent client improvements
- !236 Update Polish translation 250828
- !237 docs: Add web filtering design document
- !238 docs: Add a document about system integration (packaging)
- !240 Update Czech translation
- !241 malcontent-client: Fix --help output for set-web-filter subcommand
- !242 Calculate next session times in malcontent-timer
- !243 Update Czech translation
- !245 po: Add false positves to POTFILES.skip
- !246 Update Polish translation 250907
- !247 manager: Handle UnknownInterface error from AccountsService
- !249 Minor malcontent-webd fixes
- !251 docs: Mention the update-error file in malcontent-webd.8
- !252 libmalcontent-ui: Update documentation to use gi-docgen
- !254 docs: Add some reference links to screen time design document
- !255 Update Chinese translation
- !256 Update Slovenian translation
- !257 libmalcontent-timer: Retry queries if the timer store is busy
- !258 time-page: Prevent calling unref on a NULL pointer
- !259 malcontent-webd-update: Disable timeout when updating filters
- !260 malcontent-webd: Relax UMask in service file
- !261 Update Czech translation
- !262 po: Add missing file to POTFILES.in
- !263 Update Chinese translation
- !264 build: Use exposed interfaces directory
- !265 libmalcontent-ui: Add missing gir include path
- !266 Minor fixes for malcontent-control
- !268 Replace sl.po with translation update.
- !269 Russian translation updated
- !270 Update Czech translation
- !271 Update Chinese translation
- !272 Updated RU against most recent pot
- !273 Statically link libgsystemservice
- !274 Various minor fixes and build system tests
- !277 l10n: Replace sl.po (Slovenian)
- !279 Update Swedish translation
- !282 tests: Add unit tests for `MctExtensionAgentObject`
- !286 libmalcontent: Port remaining doc comments to gi-docgen format
- !289 malcontent-control: Fix a crash when quitting just after making changes
- !291 po: Update Bulgarian translation
* Translation updates:
- Bulgarian (twlvnn, twlvnn kraftwerk)
- Chinese (China) (lumingzh)
- Czech (AsciiWolf)
- Georgian (NorwayFun)
- Polish (Piotr Drąg)
- Russian (Julia Dronova, Ser82-png)
- Slovenian (filmsi, Martin Srebotnjak)
- Swedish (Anders Jonsson)
- Turkish (Sabri Ünal)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
CST 4.0.1 replaces the custom Makefile build with CMake. Inherit the
cmake class, point OECMAKE_SOURCEPATH at src, switch the parser
dependency from byacc to bison, and add json-c.
Disable installation of internal CST static libraries. Suppress line
directives from flex and bison generated sources to avoid embedding
build paths in the output.
Import Debian's complete 4.0.1+dfsg-2 patch series:
https://salsa.debian.org/collabora-team/imx-code-signing-tool/-/tree/debian/unstable/debian/patches
The series fixes script regressions and shell portability, big-endian
and 32-bit builds, unchecked fgets() return values, HABv4 digest
initialization, OpenSSL 4 compatibility, PKCS#11 engine loading, and
dynamic linking of OpenSSL, json-c, hidapi-libusb, and libusb. Pin each
Origin tag to Debian's packaging commit.
With bundled third-party libraries no longer linked, the redistributed
CST sources and binaries are BSD-3-Clause; OpenSSL and json-c remain
recipe dependencies under their own licenses.
Refresh the source and license checksums and drop the obsolete Makefile
race fix.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Replace the long-dead anthy 9100h (last released 2009, fetched from an old
Ubuntu source tarball) with the maintained fork anthy-unicode, which is UTF-8
native and actively released on GitHub.
anthy-unicode renames its libraries (libanthy-unicode, libanthydic-unicode,
libanthyinput-unicode), pkg-config module file (anthy-unicode.pc), headers
(includedir/anthy-unicode-1.0/anthy), config file (anthy-unicode.conf) and
binaries (anthy-*-unicode). The recipe and packaging are updated accordingly:
libanthy-unicode0 for the runtime libraries and the standard PN-dev for the
development files.
The cross-compilation strategy is carried over from the old recipe: dictionary
generation runs helper programs (mkfiledic, mkworddic, mkdepgraph, calctrans,
proccorpus) that cannot execute when cross compiling. native-helpers.patch
promotes them to bin_PROGRAMS so anthy-unicode-native stages them into the
native sysroot; target-helpers.patch makes the target dictionary rules call
them from PATH instead of ./. not_build_elc.patch avoids byte-compiling the
Emacs lisp (no target Emacs under cross compilation). The patches are
regenerated against anthy-unicode's -unicode-suffixed libtool archives. The
legacy 2ch_t.patch is dropped; anthy-unicode has no mkanthydic/2ch.t.
uim is switched from the legacy EUC-JP anthy backend to the UTF-8
anthy-unicode backend it already supports: configure with --without-anthy
--with-anthy-utf8, DEPENDS on anthy-unicode, and the uim-anthy package is
renamed uim-anthy-utf8 (plugin libuim-anthy-utf8, anthy-utf8*.scm, module
registered as anthy-utf8) with RDEPENDS on libanthy-unicode0.
packagegroup-meta-oe: anthy -> anthy-unicode.
Verified by building anthy-unicode-native and anthy-unicode for
x86-64 (do_package_qa clean): the native helpers stage into the native
sysroot, the target build generates anthy.wdic/anthy.dep/anthy.dic via those
native helpers, and packaging splits into anthy-unicode, libanthy-unicode0 and
anthy-unicode-dev. uim variables verified by parse (it requires the x11
DISTRO_FEATURE, which the qemux86-64 yoe distro strips, so it is not buildable
in this configuration).
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>