Overlay for Cosmic desktop environment, developed by System76
cargo.eclass
), so expect bugs, and you're welcome to submit PRs for improvements :)master
branch anymore as of 20.04.2024eselect repository add cosmic-overlay git https://github.com/fsvm88/cosmic-overlay.git
emerge -1 cosmic-meta pop-theme-meta -pv
# -f is required because the repo is not in the official remotes list
eselect repository remove -f cosmic-overlay
Most ebuilds use the cosmic-de eclass, part of the repo, and as such expose the following flags:
debug
: cargo build --profile debug
debug-line-tables-only
: adds --config profile.$profile_name.debug="line-tables-only"
to the build command, to generate debug info that only contains line numbers (useful to get stack traces regardless of build profile)max-opt
: cargo build --profile release-maximum-optimization
, an injected profile for the ultimate ricing experience!
debug-line-tables-only
is setBy default the ebuilds build in release
mode and profile.
debug
and max-opt
are mutually exclusive.
debug-line-tables-only
can be added on top of the release
/max-opt
profiles.
Personally I run with USE="debug-line-tables-only max-opt"
, and haven't noticed issues.
NOTE: these were dropped as of commit fec5043, as they were unmaintained for a few months.
iced and libcosmic were added, but are not really used by the projects due to Rust's building/linking nature.
Perhaps at a later time COSMIC devs will add a way to link to system libs, but so far it's clear that doing vendor unbundling is a waste of effort.