The second front end of plan section 6 step 3: crates/voelin-gpui with the binary voelin-gpui, in the workspace's members and default-members next to voelin-ui (two binaries until parity; voelin-ui stays the app). gpui-kit is a workspace dependency pinned `=0.8.1` (the version the three spikes were rebuilt on in the commit before). The crate asks for gpui-kit and the app's name and id from voelin-platform (APP_NAME as the window's title, APP_ID as its app id); `run()` opens one window whose `on_window_should_close` ends the app, and returns the error when the window cannot be opened (no display). Checked on Xvfb :97 (headless.sh: openbox, a private bus, lavapipe through wgpu's Vulkan backend, state under .scratch): the debug binary opens a window named "Voelin" (xdotool search) in 0.3 s and ends with exit code 0 when openbox sends the close request (Alt+F4). Cargo.lock: 279 more package entries (208 new names; no existing version moved, other versions of 61 names were added beside theirs): GPUI's gpui-pre family, wgpu 30, gpui-component with its Markdown, HTML, chart and table support, cosmic-text, the Linux platform crates. The root workspace already carried Slint's and the codecs' dependencies, so this is 195 new packages on Linux, not the ~1,000 of the spikes' lock (which has the root's packages too). deny.toml and about.toml name the two licences no crate of the tree had: 0BSD (enum-iterator and enum-iterator-derive, under gpui-component) and CC0-1.0 (notify 8, the file watcher of gpui-component, and tiny-keccak, under the X input method client of gpui-pre-linux); no other licence, no advisory, no ban and no source is new (`cargo deny --locked --workspace check`: advisories, bans, licenses and sources ok). THIRD_PARTY_NOTICES.md is regenerated (scripts/notices.sh, cargo-about 0.9.2, no warning; `--check` clean). There is no new clarification: cargo-about finds every text. Docs: CHANGELOG, docs/ui.md (the structure tree names the crate and the intro the second front end), docs/building.md (the dependency list: Vulkan or OpenGL at run time, what GPUI loads by name, a window manager on X11; no new development package), README (the crate list and the run command) and CLAUDE.md, which had no crate sentence (it only says "own crates"): it now says there are two front ends on one engine and what they share. Checked on Rust 1.95.0: cargo fmt and cargo clippy -D warnings --no-deps over the own crates (all targets); cargo deny; scripts/notices.sh --check. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
190 lines
8.2 KiB
TOML
190 lines
8.2 KiB
TOML
# cargo-about configuration for THIRD_PARTY_NOTICES.md: scripts/notices.sh
|
|
# renders about.hbs with it (see docs/release.md). Reference:
|
|
# https://embarkstudios.github.io/cargo-about/cli/generate/config.html
|
|
#
|
|
# The accepted licenses are deny.toml's `[licenses] allow` list; their order is
|
|
# the preference when a crate offers a choice ("MIT OR Apache-2.0" shows MIT).
|
|
|
|
accepted = [
|
|
"MIT",
|
|
"Apache-2.0",
|
|
"Apache-2.0 WITH LLVM-exception",
|
|
"BSD-2-Clause",
|
|
"BSD-3-Clause",
|
|
"ISC",
|
|
"Zlib",
|
|
"Unicode-3.0",
|
|
"CDLA-Permissive-2.0",
|
|
"MPL-2.0",
|
|
"BSL-1.0",
|
|
"Unlicense",
|
|
# Slint: GPL-3.0-only OR royalty-free OR commercial. We use the royalty-free
|
|
# license, which requires the AboutSlint widget in the About page.
|
|
"LicenseRef-Slint-Royalty-free-2.0",
|
|
# libbz2-rs-sys (unpacks Cisco's OpenH264 download in voelin-media).
|
|
"bzip2-1.0.6",
|
|
# The GPUI front end: 0BSD (enum-iterator, enum-iterator-derive) and CC0-1.0
|
|
# (notify 8, tiny-keccak); see deny.toml.
|
|
"0BSD",
|
|
"CC0-1.0",
|
|
]
|
|
|
|
# What the apps ship on: the desktop app on Linux (x86_64, and aarch64 for
|
|
# Flathub) and Windows, and the Android app. Crates used only on other
|
|
# platforms (macOS, iOS, wasm) are left out.
|
|
targets = [
|
|
"x86_64-unknown-linux-gnu",
|
|
"aarch64-unknown-linux-gnu",
|
|
"x86_64-pc-windows-msvc",
|
|
"aarch64-linux-android",
|
|
"armv7-linux-androideabi",
|
|
"x86_64-linux-android",
|
|
]
|
|
|
|
# Build tools (cc, cmake, bindgen, slint-build) and test-only crates are not
|
|
# part of any binary we distribute.
|
|
ignore-build-dependencies = true
|
|
ignore-dev-dependencies = true
|
|
|
|
# Our own crates (publish = false). The vendored tsclientlib crates in
|
|
# crates/proto are credited in about.hbs instead.
|
|
private = { ignore = true }
|
|
|
|
workarounds = ["chrono", "ring", "rustls"]
|
|
|
|
# Crate specific configuration must come last.
|
|
#
|
|
# Clarifications replace the license files cargo-about would find; each file
|
|
# is pinned by its SHA-256, so a changed text fails generation and gets
|
|
# reviewed. After a dependency update: `sha256sum <file>` in the new crate
|
|
# version (~/.cargo/registry/src/*/<crate>-<version>/).
|
|
|
|
# libopus_sys compiles the bundled libopus (opus/, BSD-3-Clause) into the app.
|
|
# The crate itself is MIT; LICENSE-old is the ISC license of the code it was
|
|
# derived from (audiopus_sys).
|
|
[libopus_sys.clarify]
|
|
license = "MIT AND ISC AND BSD-3-Clause"
|
|
[[libopus_sys.clarify.files]]
|
|
path = "LICENSE"
|
|
license = "MIT"
|
|
checksum = "c5512e4899a9b06c3a286bf69444ebc5314d506e437c334bfd66a2eac7bca3ef"
|
|
[[libopus_sys.clarify.files]]
|
|
path = "LICENSE-old"
|
|
license = "ISC"
|
|
checksum = "a6c8bb45880edc99bb13feb04d69fb2f0f73b565dfe209affa60414d2aa4c1a7"
|
|
[[libopus_sys.clarify.files]]
|
|
path = "opus/COPYING"
|
|
license = "BSD-3-Clause"
|
|
checksum = "01e1167d54a096d123cf6dfbbeb19587278845c6481d2d66d545669846079551"
|
|
|
|
# Only the bindings are compiled (voelin-media loads Cisco's binary at runtime),
|
|
# but without this every header of the vendored OpenH264 sources would be
|
|
# listed. upstream/LICENSE is also the license of Cisco's binary.
|
|
[openh264-sys2.clarify]
|
|
license = "BSD-2-Clause"
|
|
[[openh264-sys2.clarify.files]]
|
|
path = "upstream/LICENSE"
|
|
checksum = "dd5c1c9668512530fa5a96e4c29ac4033d70a7eeb0eed7a42fddb6dd794ebdbb"
|
|
|
|
# AWS-LC (DTLS for WebRTC through str0m): LICENSE holds the attributions of
|
|
# BoringSSL, OpenSSL and the bundled third-party code plus all license texts.
|
|
# It is shown once, under ISC; the other licenses of the expression get their
|
|
# standard texts.
|
|
[aws-lc-sys.clarify]
|
|
license = "ISC AND (Apache-2.0 OR ISC) AND Apache-2.0 AND MIT AND BSD-3-Clause AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR ISC OR MIT-0)"
|
|
[[aws-lc-sys.clarify.files]]
|
|
path = "LICENSE"
|
|
license = "ISC"
|
|
checksum = "728536b4160e051f86d7c9c388f704866b3d512cd7df97ac3516c65279523c4e"
|
|
|
|
# Slint keeps its license texts in LICENSES/, which cargo-about does not match
|
|
# to the LicenseRef without a clarification. cargo-about 0.9.2 skips clarified
|
|
# files whose `license` names the LicenseRef they are the text of (an inverted
|
|
# check in generate.rs), so the file is tagged with a distinct LicenseRef; the
|
|
# text is still shown under LicenseRef-Slint-Royalty-free-2.0. Revisit when
|
|
# updating cargo-about (scripts/notices.sh fails if the text goes missing).
|
|
[slint.clarify]
|
|
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
|
|
[[slint.clarify.files]]
|
|
path = "LICENSES/LicenseRef-Slint-Royalty-free-2.0.md"
|
|
license = "LicenseRef-Slint-Royalty-free-2.0-text"
|
|
checksum = "5167f5056e850419106ab6265efbdca7cba4d99c849d1445ca0bbf6a1e2315fe"
|
|
|
|
[slint-macros.clarify]
|
|
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
|
|
[[slint-macros.clarify.files]]
|
|
path = "LICENSES/LicenseRef-Slint-Royalty-free-2.0.md"
|
|
license = "LicenseRef-Slint-Royalty-free-2.0-text"
|
|
checksum = "5167f5056e850419106ab6265efbdca7cba4d99c849d1445ca0bbf6a1e2315fe"
|
|
|
|
[i-slint-common.clarify]
|
|
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
|
|
[[i-slint-common.clarify.files]]
|
|
path = "LICENSES/LicenseRef-Slint-Royalty-free-2.0.md"
|
|
license = "LicenseRef-Slint-Royalty-free-2.0-text"
|
|
checksum = "5167f5056e850419106ab6265efbdca7cba4d99c849d1445ca0bbf6a1e2315fe"
|
|
|
|
[i-slint-compiler.clarify]
|
|
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
|
|
[[i-slint-compiler.clarify.files]]
|
|
path = "LICENSES/LicenseRef-Slint-Royalty-free-2.0.md"
|
|
license = "LicenseRef-Slint-Royalty-free-2.0-text"
|
|
checksum = "5167f5056e850419106ab6265efbdca7cba4d99c849d1445ca0bbf6a1e2315fe"
|
|
|
|
[i-slint-core.clarify]
|
|
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
|
|
[[i-slint-core.clarify.files]]
|
|
path = "LICENSES/LicenseRef-Slint-Royalty-free-2.0.md"
|
|
license = "LicenseRef-Slint-Royalty-free-2.0-text"
|
|
checksum = "5167f5056e850419106ab6265efbdca7cba4d99c849d1445ca0bbf6a1e2315fe"
|
|
|
|
[i-slint-core-macros.clarify]
|
|
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
|
|
[[i-slint-core-macros.clarify.files]]
|
|
path = "LICENSES/LicenseRef-Slint-Royalty-free-2.0.md"
|
|
license = "LicenseRef-Slint-Royalty-free-2.0-text"
|
|
checksum = "5167f5056e850419106ab6265efbdca7cba4d99c849d1445ca0bbf6a1e2315fe"
|
|
|
|
[i-slint-backend-selector.clarify]
|
|
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
|
|
[[i-slint-backend-selector.clarify.files]]
|
|
path = "LICENSES/LicenseRef-Slint-Royalty-free-2.0.md"
|
|
license = "LicenseRef-Slint-Royalty-free-2.0-text"
|
|
checksum = "5167f5056e850419106ab6265efbdca7cba4d99c849d1445ca0bbf6a1e2315fe"
|
|
|
|
[i-slint-backend-winit.clarify]
|
|
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
|
|
[[i-slint-backend-winit.clarify.files]]
|
|
path = "LICENSES/LicenseRef-Slint-Royalty-free-2.0.md"
|
|
license = "LicenseRef-Slint-Royalty-free-2.0-text"
|
|
checksum = "5167f5056e850419106ab6265efbdca7cba4d99c849d1445ca0bbf6a1e2315fe"
|
|
|
|
# Android (voelin-android).
|
|
[i-slint-backend-android-activity.clarify]
|
|
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
|
|
[[i-slint-backend-android-activity.clarify.files]]
|
|
path = "LICENSES/LicenseRef-Slint-Royalty-free-2.0.md"
|
|
license = "LicenseRef-Slint-Royalty-free-2.0-text"
|
|
checksum = "5167f5056e850419106ab6265efbdca7cba4d99c849d1445ca0bbf6a1e2315fe"
|
|
|
|
[i-slint-renderer-software.clarify]
|
|
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
|
|
[[i-slint-renderer-software.clarify.files]]
|
|
path = "LICENSES/LicenseRef-Slint-Royalty-free-2.0.md"
|
|
license = "LicenseRef-Slint-Royalty-free-2.0-text"
|
|
checksum = "5167f5056e850419106ab6265efbdca7cba4d99c849d1445ca0bbf6a1e2315fe"
|
|
|
|
[i-slint-renderer-femtovg.clarify]
|
|
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
|
|
[[i-slint-renderer-femtovg.clarify.files]]
|
|
path = "LICENSES/LicenseRef-Slint-Royalty-free-2.0.md"
|
|
license = "LicenseRef-Slint-Royalty-free-2.0-text"
|
|
checksum = "5167f5056e850419106ab6265efbdca7cba4d99c849d1445ca0bbf6a1e2315fe"
|
|
|
|
[i-slint-renderer-skia.clarify]
|
|
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
|
|
[[i-slint-renderer-skia.clarify.files]]
|
|
path = "LICENSES/LicenseRef-Slint-Royalty-free-2.0.md"
|
|
license = "LicenseRef-Slint-Royalty-free-2.0-text"
|
|
checksum = "5167f5056e850419106ab6265efbdca7cba4d99c849d1445ca0bbf6a1e2315fe"
|