Compare commits

...
25 changed files with 81 additions and 35 deletions
+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"
+40
View File
@@ -0,0 +1,40 @@
#!/usr/bin/env bash
set -e
# This should be the _next_ epoch version
version=1.0.4
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
gh pr create \
--title "${subject}" \
--body "${description}" \
--assignee "@me" \
--reviewer "pop-os/engineering" \
--reviewer "pop-os/quality-assurance"
popd
done