fix: depend on libcosmic-yoda under the cosmic extern name

The local libcosmic fork renamed its package to libcosmic-yoda, but this
workspace still asked for `libcosmic` by path, so the whole workspace
failed to resolve.

Naming the dependency key `libcosmic` with `package = "libcosmic-yoda"`
is not enough: a renamed dependency takes its key as the extern name, so
the 67 source files that `use cosmic::` would stop compiling. Key the
dependency `cosmic` instead, matching every other repo in the local
stack, and update the `libcosmic/*` feature strings accordingly.

Also carried in this commit, from earlier work in the tree: the sctk
workspace dependency pinned back to smithay-client-toolkit 0.20.0.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lionel DARNIS 2026-07-31 12:14:23 +02:00
parent 0186f5de15
commit a44a022144
4 changed files with 30 additions and 29 deletions

View file

@ -18,7 +18,8 @@ image = { version = "0.25.10", default-features = false, features = [
"hdr",
] }
[workspace.dependencies.libcosmic]
[workspace.dependencies.cosmic]
package = "libcosmic-yoda"
features = [
"dbus-config",
"desktop",
@ -49,7 +50,7 @@ path = "../cosmic-panel/cosmic-panel-config"
path = "../cosmic-randr/shell"
[workspace.dependencies.sctk]
version = "1.3.0"
version = "0.20.0"
package = "smithay-client-toolkit"
[profile.dev]