Package Details: cosmic-epoch-git r131.7a45dce-1

Git Clone URL: https://aur.archlinux.org/cosmic-epoch-git.git (read-only, click to copy)
Package Base: cosmic-epoch-git
Description: Cosmic desktop environment from System76's Pop!_OS written in Rust utilizing Iced inspired by GNOME
Upstream URL: https://github.com/pop-os/cosmic-epoch
Keywords: iced pop!_os rust system76
Licenses: GPL-3.0-or-later AND MPL-2.0 AND CC-BY-SA-4.0
Conflicts: cosmic-applets, cosmic-applibrary, cosmic-bg, cosmic-comp, cosmic-edit, cosmic-epoch, cosmic-files, cosmic-greeter, cosmic-icons, cosmic-launcher, cosmic-notifications, cosmic-osd, cosmic-panel, cosmic-randr, cosmic-screenshot, cosmic-session, cosmic-settings, cosmic-settings-daemon, cosmic-store, cosmic-term, cosmic-workspaces, cosmic-workspaces-epoch, xdg-desktop-portal-cosmic
Provides: cosmic-applets, cosmic-applibrary, cosmic-bg, cosmic-comp, cosmic-edit, cosmic-epoch, cosmic-files, cosmic-greeter, cosmic-icons, cosmic-launcher, cosmic-notifications, cosmic-osd, cosmic-panel, cosmic-randr, cosmic-screenshot, cosmic-session, cosmic-settings, cosmic-settings-daemon, cosmic-store, cosmic-term, cosmic-workspaces, cosmic-workspaces-epoch, xdg-desktop-portal-cosmic
Submitter: soloturn
Maintainer: soloturn (yochananmarqos)
Last Packager: yochananmarqos
Votes: 16
Popularity: 2.21
First Submitted: 2023-02-11 09:27 (UTC)
Last Updated: 2024-05-07 22:25 (UTC)

Dependencies (32)

Required by (4)

Sources (24)

Pinned Comments

yochananmarqos commented on 2024-03-25 21:50 (UTC) (edited on 2024-05-07 18:49 (UTC) by yochananmarqos)

From the upstream README:

COSMIC DE is near its first alpha release. Using and testing the pre-alpha is welcome. Bugs are and breakage is expected.

Do a clean build before commenting that it's not working.

FYI, every time I touch the PKGBUILD be sure that I just spent ~45 minutes building it in a clean chroot. If it takes longer for you, then you should look into improving your build times.

I also recommend using sccache to reduce compilation times.

soloturn commented on 2023-02-20 03:14 (UTC) (edited on 2024-03-31 10:15 (UTC) by soloturn)

Expect some loose ends, not yet released. 'Super + A' and 'Super + /' for application library and launcher. one can build with an AUR helper, or with makepkg.

build with AUR helper

this avoids recompiling the rust code again and again. but does not avoid relinking the executables in case one build fails and you trigger again:

CARGO_TARGET_DIR=~/.cache/paru/cargo-target paru
build with makepkg in clean environment

advantage is if you rebuild in case it fails one time, it better remembers stuff already built.

git LFS breaks build

do not enable git lfs. it may lead to failures in cloning. last known occurrence for cosmic-greeter, reported here: https://github.com/pop-os/cosmic-greeter/issues/5

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 16 Next › Last »

skygrango commented on 2024-03-29 06:48 (UTC) (edited on 2024-03-30 01:34 (UTC) by skygrango)

I found a bug :

cosmic-osd/Makefile: polkit-agent-helper-1 ?= /usr/libexec/polkit-agent-helper-1

it should not be replace to /usr/lib/polkit-agent-helper-1

so PKGBUILD should be

diff --git a/PKGBUILD b/PKGBUILD
index 02ac551..02e6b4b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -173,9 +173,10 @@ prepare() {
   # see discussion: https://github.com/pop-os/cosmic-epoch/issues/87
   sed -i 's|libexecdir = $(prefix)/libexec|libexecdir = $(libdir)|g' \
     xdg-desktop-portal-cosmic/Makefile
-  sed -i 's|libexec|lib|g' cosmic-osd/Makefile cosmic-session/{Justfile,src/main.rs} \
+  sed -i 's|libexec|lib|g' cosmic-session/{Justfile,src/main.rs} \
     cosmic-settings-daemon/{Makefile,src/main.rs}
-  sed -i 's|libexec|lib/polkit-1|g' cosmic-osd/src/subscriptions/polkit_agent_helper.rs
+  sed -i 's|libexec|lib/polkit-1|g' cosmic-osd/Makefile \
+    cosmic-osd/src/subscriptions/polkit_agent_helper.rs

   # Revert justfile changes
   git revert -n 5f2fd3324b997142fa10c8170fd6b53feb5f2673

heridahamster commented on 2024-03-26 16:50 (UTC)

this package is not as usable as it should be, i think it is not configured properly. is anyone else having issues applying a wallpaper/tiling windows/configuring the window manager?

jichi commented on 2024-03-26 05:06 (UTC)

After the latest submodules update I had to apply the following patches to get it to build:

diff --git a/cosmic-settings/scripts/cargo.just b/cosmic-settings/scripts/cargo.just
index d64b1981510d4355ac85dc286d45a2cf7f5376f9..a3ff716ed37c04b91e3b417776fea1a66ebae031 100644
--- a/cosmic-settings/scripts/cargo.just
+++ b/cosmic-settings/scripts/cargo.just
@@ -27,7 +27,6 @@ linker-arg := if clang-path != '' {
 export RUSTFLAGS := linker-arg + env_var_or_default('RUSTFLAGS', '')

 # Compile with debug profile
-[no-cd]
 build-debug *args:
     cargo build {{args}}
diff --git a/cosmic-settings/scripts/common.just b/cosmic-settings/scripts/common.just
index 8571ad7bbb9d9d24e86035da4f48707ffe7da176..9d82e1220f4ea8ee62e31348736e04ee8ad1d4a8 100644
--- a/cosmic-settings/scripts/common.just
+++ b/cosmic-settings/scripts/common.just
@@ -1,12 +1,12 @@
 # Installation command
-[no-cd, private]
+[private]
 install-cmd options src dest:
     install {{options}} {{src}} {{dest}}

-[no-cd, private]
+[private]
 install-bin src dest: (install-cmd '-Dm0755' src dest)

-[no-cd, private]
+[private]
 install-file src dest: (install-cmd '-Dm0644' src dest)

 # Check if required dependencies are installed on the system
@@ -45,4 +45,4 @@ dep-lib lib:
 # Display a formatted error for the user.
 [private]
 print-error msg key value:
-    @echo '\e[0;31mERROR  {{msg}}, \e[1;31m{{key}}: \e[0;31m{{value}}\e[0m'
\ No newline at end of file
+    @echo '\e[0;31mERROR  {{msg}}, \e[1;31m{{key}}: \e[0;31m{{value}}\e[0m'

yochananmarqos commented on 2024-03-25 21:50 (UTC) (edited on 2024-05-07 18:49 (UTC) by yochananmarqos)

From the upstream README:

COSMIC DE is near its first alpha release. Using and testing the pre-alpha is welcome. Bugs are and breakage is expected.

Do a clean build before commenting that it's not working.

FYI, every time I touch the PKGBUILD be sure that I just spent ~45 minutes building it in a clean chroot. If it takes longer for you, then you should look into improving your build times.

I also recommend using sccache to reduce compilation times.

LemmyCook commented on 2024-03-25 21:10 (UTC)

Upstream just got a massive sub-modules updates, and I can no longer build this package. Would be great if someone qualified could fix the PKGBUILD.

yochananmarqos commented on 2024-03-25 20:20 (UTC) (edited on 2024-03-25 20:21 (UTC) by yochananmarqos)

@AHoneybun: I saw ryanabx added the Fira fonts as dependencies for cosmic-settings in the Fedora COPR, but I see no difference with or without them installed. I'm using Noto Mono Sans and Noto Sans currently. I'll add them as optional dependencies.

By the way, @soloturn told me he only checks his email every two months, so unless that has changed, I wouldn't expect him to respond in a timely manner.

AHoneybun commented on 2024-03-25 19:47 (UTC)

@soloturn

Can you add otf-fira-mono and otf-fira-sans to the depends? That would make the fonts in applications like cosmic-settings look correct.

0100001001000010 commented on 2024-03-25 17:58 (UTC) (edited on 2024-03-25 17:59 (UTC) by 0100001001000010)

Downloading res/screenshots/screenshot-1.png (259 KB)
Error downloading object: res/screenshots/screenshot-1.png (3ba78b1): Smudge error: Error downloading res/screenshots/screenshot-1.png 
(3ba78b19f6c4ecce1cbbb7a85495426ab5102575fef9838b5a1df199c951e985): error transferring "3ba78b19f6c4ecce1cbbb7a85495426ab5102575fef9838b5a1df199c951e985": [0] remote missing object 3ba78b19f6c4ecce1cbbb7a85495426ab5102575fef9838b5a1df199c951e985

And without git-lfs installed, it complains about being unable to find git-lfs

yochananmarqos commented on 2024-03-08 16:12 (UTC)

@Bitals: Sounds like you're either not up to date or have something on your end configured differently.

Bitals commented on 2024-03-08 14:15 (UTC) (edited on 2024-03-08 14:16 (UTC) by Bitals)

prepare () ATM:

rustc: error while loading shared libraries: libLLVM-17.so: cannot open shared object file: No such file or directory

After installing llvm-libs, build ():

  = note: /usr/sbin/clang: error while loading shared libraries: libLLVM-16.so: cannot open shared object file: No such file or directory

Note the different lib versions wanted.