Tasuku Suzuki
0188abe315
Torizon am62 nogpu ( #9602 )
...
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, beta) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, stable) (push) Blocked by required conditions
CI / node_test (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (macos-14) (push) Blocked by required conditions
CI / cpp_package_test (push) Blocked by required conditions
CI / ffi_32bit_build (push) Blocked by required conditions
CI / updater_test (0.3.0) (push) Blocked by required conditions
CI / fmt_test (push) Blocked by required conditions
CI / esp-idf-quick (push) Blocked by required conditions
CI / android (push) Blocked by required conditions
CI / miri (push) Blocked by required conditions
CI / test-figma-inspector (push) Blocked by required conditions
CI / material-components (push) Blocked by required conditions
CI / build_and_test (ubuntu-22.04, nightly) (push) Blocked by required conditions
CI / node_test (macos-14) (push) Blocked by required conditions
CI / node_test (windows-2022) (push) Blocked by required conditions
CI / python_test (macos-14) (push) Blocked by required conditions
CI / python_test (ubuntu-22.04) (push) Blocked by required conditions
CI / python_test (windows-2022) (push) Blocked by required conditions
CI / cpp_test_driver (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (windows-2022) (push) Blocked by required conditions
CI / cpp_cmake (macos-14, 1.88) (push) Blocked by required conditions
CI / cpp_cmake (ubuntu-22.04, stable) (push) Blocked by required conditions
CI / cpp_cmake (windows-2022, nightly) (push) Blocked by required conditions
CI / vsce_build_test (push) Blocked by required conditions
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Blocked by required conditions
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Blocked by required conditions
CI / mcu (stm32h735g, thumbv7em-none-eabihf) (push) Blocked by required conditions
CI / mcu-embassy (push) Blocked by required conditions
CI / docs (push) Blocked by required conditions
* Torizon: Remove Mesa OpenGL packages for software renderer builds
When BUILD_HOME_AUTOMATION_SW_RENDERER=true, remove Mesa OpenGL packages
to force Skia Software renderer on GPU-less devices. Preserves libgbm1
as it's required for DRM buffer management.
* home-automation: Disable animations on software renderer for performance
- Conditionally disable camera view animations when no GPU accelerator available
- Remove complex timer-based widget loading animations in software renderer mode
- Simplifies rendering pipeline to improve performance on CPU-only devices
2025-10-07 10:58:31 +03:00
Tasuku Suzuki
0a48f177e2
Torizon: Add SW renderer support for home-automation demo on GPU-less platforms
...
CI / node_test (macos-14) (push) Blocked by required conditions
CI / node_test (ubuntu-22.04) (push) Blocked by required conditions
CI / node_test (windows-2022) (push) Blocked by required conditions
CI / python_test (macos-14) (push) Blocked by required conditions
CI / cpp_cmake (macos-14, 1.85) (push) Blocked by required conditions
CI / cpp_cmake (ubuntu-22.04, stable) (push) Blocked by required conditions
CI / cpp_cmake (windows-2022, nightly) (push) Blocked by required conditions
CI / vsce_build_test (push) Blocked by required conditions
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Blocked by required conditions
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Blocked by required conditions
CI / ffi_32bit_build (push) Blocked by required conditions
CI / docs (push) Blocked by required conditions
CI / wasm (push) Blocked by required conditions
CI / wasm_demo (push) Blocked by required conditions
CI / tree-sitter (push) Blocked by required conditions
CI / python_test (ubuntu-22.04) (push) Blocked by required conditions
CI / python_test (windows-2022) (push) Blocked by required conditions
CI / cpp_test_driver (macos-14) (push) Blocked by required conditions
CI / cpp_test_driver (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (windows-2022) (push) Blocked by required conditions
CI / cpp_package_test (push) Blocked by required conditions
CI / mcu (stm32h735g, thumbv7em-none-eabihf) (push) Blocked by required conditions
CI / mcu-embassy (push) Blocked by required conditions
CI / updater_test (0.3.0) (push) Blocked by required conditions
CI / fmt_test (push) Blocked by required conditions
CI / esp-idf-quick (push) Blocked by required conditions
CI / android (push) Blocked by required conditions
CI / miri (push) Blocked by required conditions
CI / test-figma-inspector (push) Blocked by required conditions
CI / material-components (push) Blocked by required conditions
Add conditional compilation to use demo-sw-renderer.slint for home-automation
when building for platforms without GPU support (default).
- Add sw-renderer feature to home-automation Cargo.toml
- Use conditional compilation in lib.rs to select demo.slint or demo-sw-renderer.slint
- Add BUILD_HOME_AUTOMATION_SW_RENDERER ARG to Dockerfile.torizon-demos
- Configure torizon_demos.yaml to enable SW renderer for GPU-less platforms
2025-10-01 20:46:44 +02:00
Tasuku Suzuki
8dbe3d42d9
Torizon: Remove unnecessary X11 dependencies from Torizon build
...
Remove libxcb* packages as they are not needed for linuxkms backend.
The demos use backend-linuxkms-noseat which doesn't require X11 libraries.
2025-10-01 20:46:44 +02:00
Tasuku Suzuki
4f5f215aac
Torizon: Build Torizon demos in parallel
...
Build all demo packages in a single cargo invocation with multiple
-p flags, allowing cargo to build them in parallel instead of
sequentially.
2025-10-01 20:46:44 +02:00
Tasuku Suzuki
16176607f8
Torizon: Set SLINT_BACKEND to linuxkms
...
let Slint determine the correct renderer at run-time.
2025-10-01 20:46:44 +02:00
Tasuku Suzuki
f018c787b4
Torizon: Update Torizon base images to version 4
...
Replace deprecated debian-cross-toolchain with cross-toolchain
and update base image version from 3 to 4.
https://github.com/toradex/debian-cross-toolchains
```
This repository has been incorporated into
[toradex/torizon-containers](https://github.com/toradex/torizon-containers ).
```
2025-10-01 20:46:44 +02:00
Simon Hausmann
2d66c03176
embedded ci: Fix failing docker container builder
...
Revert 2b1e19a93a now that the archives are fixed and the pinned versions aren't available anymore.
2025-04-23 08:16:10 +02:00
Simon Hausmann
2b1e19a93a
Fix failing apt-get install in cross containers
...
linux-libc-dev was updated for amd64 but not for the others, but both have to have the same version. Pin to the last known working version.
2025-04-17 10:08:50 +02:00
Simon Hausmann
ec88305867
Update Skia Bindings
...
This allows reverting 18db3210d6 and
Fixes #6615
2025-02-23 17:11:52 +01:00
Simon Hausmann
f3555361e6
cross: Add ninja-build to the docker images
...
Useful for future Skia builds that don't bring their own copy of ninja anymore.
2025-02-23 13:21:24 +01:00
Simon Hausmann
0649f4b8c5
Build weather demo for Torizon
2024-12-03 18:28:58 +01:00
Simon Hausmann
408d816fc8
Fix Torizon demo image build
...
The top-level directory demos exists now, that clashed.
2024-11-25 16:14:54 +01:00
Simon Hausmann
a3e2076bd3
Add home-automation to Torizon demo image
2024-11-13 15:10:06 +01:00
Simon Hausmann
e1e4844f65
Cross: Add python3-pip to the cross build environments
...
Could be useful for python binary wheels
2024-06-18 17:32:44 +02:00
Aurindam Jana
3523e86359
Simplify commercial license ( #3063 )
...
Base the commercial license on the Royalty-free license adding clauses pertaining to the fees.
2024-05-31 14:06:17 +02:00
Aurindam Jana
9a3aa265d5
Update Royalty-free license ( #5257 )
...
Add clarification that Application may not expose Slint APIs.
2024-05-31 10:53:19 +02:00
Tasuku Suzuki
9ca5c63583
Fix build for raspberry pi with cross
...
slint needs openssl to build it.
The system library `openssl` required by crate `openssl-sys` was not found.
The file `openssl.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
PKG_CONFIG_PATH contains the following:
- /usr/lib/arm-linux-gnueabihf/pkgconfig
HINT: you may need to install a package such as openssl, openssl-dev or openssl-devel.
2024-05-20 08:48:51 +02:00
Aurindam Jana
0cfeec1a31
Update Slint Community License ( #4994 )
...
Updated the version from 1.1 to 1.2
Renamed the header to "Slint Royalty-free Desktop, Mobile, and Web Applications License"
Added definition of "Mobile Application" and grant of right
Moved "Limitations" to 3rd section and "License Conditions - Attributions" to 2nd section
Added flexibility to choose between showing "MadeWithSlint" as a dialog/splash screen or on a public webpage
Moved the para on copyright notices to section under "Limitations"
2024-04-15 15:18:55 +02:00
Simon Hausmann
eebfbcd2a0
Fix linuxkms cross builds with latest pkg-config
...
Explicitly allow for cross-compilation with pkg-config to fix the failing libudev-sys builds.
2024-03-06 13:24:00 +01:00
Simon Hausmann
4cf94f449b
Torizon demos: Update command line for linuxkms and default to energy-monitor
...
The monitor scales better to different screen resolutions.
2024-03-01 09:45:52 +01:00
Simon Hausmann
e214b3b306
Torizon: Fix runtime container
...
- Don't overwrite the existing vivante drivers by installing libgbm
- Fix SLINT_BACKEND to select the correct renderer
2024-02-29 18:47:53 +01:00
Simon Hausmann
31298d122f
Torizon demos: Fix gbm linkage for linuxkms backend
2024-02-29 18:00:28 +01:00
Simon Hausmann
342b55442b
Compile the Torizon demos with the linuxkms backend enabled
2024-02-29 17:34:18 +01:00
Simon Hausmann
c6534af1d1
Fix cross build of rust-skia in cross docker containers
...
Since skia-bindings-0.71.0, bindings.cpp includes SkFontMgr_fontconfig.h, which in turn includes fontconfig/fontconfig.h.
In cross docker containers, the fontconfig headers are installed in /usr/include - there's no sysroot.
For the actual build of bindings.cpp, this is fine - gcc will search in /usr/include and find it.
For the bindgen phase, certain clang versions do not look in -I/usr/include by default when a --target is present - generally a sensible approach probably. However in this very setup, it's okay, so teach bindgen about it by setting BINDGEN_EXTRA_CLANG_ARGS_target. Typically that's used to pass for example `--sysroot=`, but we're using it to explicitly add /usr/include.
2024-02-29 15:21:12 +01:00
Simon Hausmann
e4c087c5b0
Update Skia Rust Bindings
...
See https://github.com/rust-skia/rust-skia/releases/tag/0.70.0 for a list of changes.
The main change for us is that the D3D API was ported to the modern windows rust crate.
(cherry picked from commit f809b3ff41 )
The previous attempt at merging this surfaced build issue for source
builds with Skia, due to the use of an old git version that doesn't
understand the new --path-format=relative option the git-sync-deps.py
script uses with git rev-parse, as well as the new permission checking
that breaks with docker volumes where ~/.cargo is mapped to /cargo and
the skia-bindings build performs additional git clones in there, where the
resulting user ids will differ.
Work around the former by upgrading git, and the latter by adding a
wildcard - sadly there's no recursive sub-directory option.
This new version also removes ureq from the dependency tree, which means
we can revert commit 212e28071c
2024-01-31 15:18:54 +01:00
Simon Hausmann
fb41ccf183
Fix build of cross Docker images
...
Disable the interactive debconf frontend.
2023-12-11 16:00:10 +01:00
Simon Hausmann
7b132cdf35
Install libgbm-dev in the cross containers
...
Another required dependency for linuxkms backend builds
2023-12-11 15:58:40 +01:00
Simon Hausmann
5d9f824d90
Add libinput-dev to the docker containers used for cross builds
2023-12-11 15:25:35 +01:00
Simon Hausmann
b0483a2aea
Fix creation of C++ docker image
...
Don't get stuck at a debconf prompt
2023-10-13 10:38:03 +02:00
Olivier Goffart
3a807e46c1
Renderer feature refactor
2023-07-27 19:11:24 +02:00
Aurindam Jana
5a4a7fee63
Update royalty free license to 1.1 ( #2994 )
2023-07-10 10:12:11 +02:00
Simon Hausmann
27af1aa3fa
Prospective fix for Torizon 6 build
2023-06-16 23:01:43 +02:00
Olivier Goffart
11dea135f7
Domain: slint-ui.com -> slint.dev
2023-06-16 10:55:08 +02:00
Tobias Hunger
04d1229685
Fix licnese information using xtask
2023-06-16 09:14:20 +02:00
Olivier Goffart
6441968a43
Janitor: Remove trailing spaces in most files
2023-05-04 08:14:28 +02:00
Simon Hausmann
bfb97b15d0
janitor: Upgrade Torizon demos to Torizon Core 6
2023-04-21 15:27:30 +02:00
Simon Hausmann
a490e3a918
Allow specifying a weather API key for the torizon demos
2023-03-08 12:09:18 +01:00
Simon Hausmann
5a0259b858
CI: Add the energy monitor to the demo builds for embedded and WASM
2023-02-27 10:10:07 +01:00
Simon Hausmann
b8a997ce6b
Add noto fonts to the torizon container
...
This fixes missing emojis and special characters, and generally makes sense for such a container.
2023-02-16 10:51:38 +01:00
Simon Hausmann
2dbfda9f5b
Improve container label further
2023-02-08 16:06:35 +01:00
Simon Hausmann
96348d2c9f
Provide labels and repo for Torizon docker containers
2023-02-08 16:02:41 +01:00
Simon Hausmann
b609d08446
Fix demos no showing up on Torizon
...
winit panics when libxkbcommon0 is not installed on the system
2023-02-08 15:04:49 +01:00
Simon Hausmann
67e88db328
Add missing license headers
2023-01-04 18:16:44 +01:00
Simon Hausmann
e2a5f621cf
Prospective fix for build of docker torizon demos when there's no tty
2023-01-04 17:29:02 +01:00
Simon Hausmann
d13712c121
Add binaries for our Rust demos in a Torizon container
2023-01-04 17:24:11 +01:00
Simon Hausmann
8edc7f669a
Add missing copyright and license header
2023-01-02 16:50:49 +01:00
Simon Hausmann
83f25b200a
Add a C++ friendly docker build file
...
This takes an existing cross-friendly image and adds cmake, ninja, cargo,
and rust. It also enables dlopen linkage for the compiler.
2023-01-02 15:33:47 +01:00
Simon Hausmann
1c2b102343
Bump remaining Docker files to include clang and a new Ubuntu base
2022-10-05 15:22:11 +02:00
Simon Hausmann
6edf210473
Bump docker armv7 image to include Skia dependencies
...
Use a newer base image from cross git and install clang.
2022-10-05 13:25:23 +02:00
a1ecbr0wn
f8f2add05b
Added Copyright header to Dockerfile.x86_64-unknown-linux-gnu
2022-04-29 08:18:04 +08:00