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.
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"
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.
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
When cross-compiling the Rust crate, we depend on slint-macros, which is a host build.
That in turn depends on the compiler lib, which on
Linux depends on a host fontconfig.