Compare commits

..
32 changed files with 101 additions and 41 deletions
+8
View File
@@ -0,0 +1,8 @@
- [ ] I have disclosed use of any AI generated code in my commit messages.
- If you are using an LLM, and do not fully understand the changes it is making to the code base, do not create a PR.
- In our experience, AI generated code often results in overly complex code that lacks enough context for a proper fix or feature inclusion. This results in considerably longer code reviews. Due to this, AI authored or partially authored PRs may be closed without comment.
- [ ] I understand these changes in full and will be able to respond to review comments.
- [ ] My change is accurately described in the commit message.
- [ ] My contribution is tested and working as described.
- [ ] I have read the [Developer Certificate of Origin](https://developercertificate.org/) and certify my contribution under its conditions.
+4 -4
View File
@@ -17,13 +17,12 @@ jobs:
Test:
runs-on: ubuntu-latest
container:
image: archlinux:latest
image: archlinux:base-devel
volumes:
- /:/host
steps:
- run: >
pacman --noconfirm -Syu
base-devel
pacman --noconfirm --needed -Syu
cargo
clang
desktop-file-utils
@@ -31,6 +30,7 @@ jobs:
gtk3
gtk4
just
libdisplay-info
libinput
libxkbcommon
llvm
@@ -47,7 +47,7 @@ jobs:
flatpak
nasm
- run: rm -rf /host/usr/local/lib/android # Free space
- uses: actions/checkout@v3
- uses: actions/checkout@v6
with:
submodules: recursive
# Safe directory behavior seems to have issues with `container:`
+9 -4
View File
@@ -164,13 +164,18 @@ For further information, you may check the [OBS page](https://build.opensuse.org
## Installing on Gentoo Linux
COSMIC can be installed on Gentoo via a custom overlay. Add the overlay using your preferred overlay manager (such as eselect), and then install the desktop environment:
`eselect repository add cosmic-overlay git https://github.com/fsvm88/cosmic-overlay.git`
`eselect repository add cosmic-overlay git https://github.com/fsvm88/cosmic-overlay.git`
Next, install the COSMIC desktop environment and its associated themes:
Next, synchronize the repository with
`emaint sync -r cosmic-overlay`
`emerge cosmic-meta pop-theme-meta`
and install the COSMIC desktop environment and its associated themes:
Then log out, click on your user, and a sprocket at the bottom right shows an additional entry alongside your desktop environments. Change to COSMIC and proceed with log in.
`emerge cosmic-meta pop-theme-meta -av`
Please note that the ebuilds have testing keywords and need to unmasked on stable systems for successful installation.
Then log out, and switch the desktop environment to COSMIC, the procedure depends on your login manager.
For further information, you may check the [Gentoo Wiki](https://wiki.gentoo.org/wiki/COSMIC) or [Overlay Repository](https://github.com/fsvm88/cosmic-overlay).
## Setup on distributions without packaging of COSMIC components
+1 -1
View File
@@ -22,7 +22,7 @@ build:
{{ just }} cosmic-screenshot/build-release
{{ just }} cosmic-settings/build-release
{{ make }} -C cosmic-settings-daemon all
{{ just }} cosmic-session/all
{{ just }} cosmic-session/build-release
{{ just }} cosmic-store/build-release
{{ just }} cosmic-term/build-release
{{ make }} -C cosmic-wallpapers all
+7 -6
View File
@@ -2,14 +2,15 @@
set -e
TAG="$1"
if [ -z "$TAG" ]
if [ -z "$1" ]
then
echo "$0 [tag]" >&2
echo "$0 [epoch version]" >&2
exit 1
fi
VERSION="$1"
TAG="epoch-$1"
echo "Do you want to tag the current state of cosmic-epoch with the tag $TAG? (y/N)"
read answer
if [ "$answer" != "y" ]
@@ -22,8 +23,8 @@ set -x
git fetch --recurse-submodules
git tag --force "$TAG"
git submodule foreach git tag --force "$TAG"
git tag --force --annotate "$TAG" --message "Epoch ${VERSION}"
git submodule foreach git tag --force --annotate "$TAG" --message "Epoch ${VERSION}"
git push --force origin tag "$TAG"
git submodule foreach git push --force origin tag "$TAG"
+46
View File
@@ -0,0 +1,46 @@
#!/usr/bin/env bash
set -e
# This should be the _next_ epoch version
version=1.0.8
subject="Epoch ${version} version update"
description="Generated by cosmic-epoch scripts/version-update.sh"
repos=(
cosmic-edit
cosmic-files
cosmic-player
cosmic-store
cosmic-term
)
for repo in "${repos[@]}"
do
git submodule update --recursive "${repo}"
pushd "${repo}"
git fetch origin
git checkout -B epoch-update origin/master
git reset --hard
if [ "$(dpkg-parsechangelog --show-field Version)" != "${version}" ]
then
dch --newversion "${version}" --distribution noble "${subject}"
fi
cargo set-version "${version}"
cargo update
git commit -a -m "${subject}" -m "${description}"
git push -f -u origin epoch-update
pr_url="$(gh pr list --head epoch-update --state open --json url --jq '.[].url')"
if [ -n "${pr_url}" ]
then
echo "PR already open: ${pr_url}"
else
gh pr create \
--title "${subject}" \
--body "${description}" \
--assignee "@me" \
--reviewer "pop-os/engineering" \
--reviewer "pop-os/quality-assurance"
fi
popd
done