Unofficial Gentoo overlay for Cosmic desktop environment developed by System76
- done in a best-effort basis to try out the COSMIC DE, likely not representative of the final product if/when shipped in Gentoo
 - you're welcome to submit PRs for improvements :)
 - packages in live ebuilds (9999) use the 
masterbranch from upstreamgitrepos - packages in non-live ebuilds use vendored dependencies compressed via script, uploaded and hosted as GitHub releases in this repository
 - please submit issues in this repo's issue tracker if you notice immediate usability issues (e.g: broken manifests), usually I can take care of them in 2-3 days
 - QA checks run via GitHub Actions on pushes and PRs
 
eselect repository add cosmic-overlay git https://github.com/fsvm88/cosmic-overlay.gitFor the latest tagged release, you can unmask the packages in /etc/portage/package.accept_keywords/cosmic-base (or whatever file you prefer):
cosmic-base/*
To try out the latest commits from master branch, you can unmask the packages in /etc/portage/package.accept_keywords/cosmic-base (or whatever file you prefer):
# live ebuilds are masked via "missing" keywords
cosmic-base/* **
NOTE: sometimes new files to install are added on master, and live ebuilds may lag behind a bit. Feel free to open an issue or a PR.
emerge cosmic-meta pop-theme-meta -pv
# -f is required because the repo is not in the official remotes list
eselect repository remove -f cosmic-overlayMost ebuilds use the cosmic-de eclass, part of the repo, and as such expose the following flags:
debug:cargo build --profile debugdebug-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!- debugging is disabled, unless 
debug-line-tables-onlyis set - 1 codegen unit -> can potentially optimize the code some more (possibly <1%)
 - opt-level=3 -> maximum optimization
 - defined at eclass/cosmic-de.eclass ~L65
 - it'll take a while longer to build and link
 
- debugging is disabled, unless 
 
By 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.