Package Details: cosmic-greeter-git 1.0.0.alpha.2.r8.g6ba26db-1

Git Clone URL: https://aur.archlinux.org/cosmic-greeter-git.git (read-only, click to copy)
Package Base: cosmic-greeter-git
Description: libcosmic greeter for greetd, which can be run inside cosmic-comp
Upstream URL: https://github.com/pop-os/cosmic-greeter
Licenses: GPL-3.0-or-later
Conflicts: cosmic-greeter
Provides: cosmic-greeter
Submitter: yochananmarqos
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 3
Popularity: 0.94
First Submitted: 2024-02-21 00:36 (UTC)
Last Updated: 2024-10-09 22:46 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

yochananmarqos commented on 2024-09-09 17:16 (UTC)

@hgaiser: Done, thanks for the heads up.

hgaiser commented on 2024-09-09 12:55 (UTC)

There is a new pam config file that needs to be packaged. See here for more information.

yochananmarqos commented on 2024-09-08 22:32 (UTC)

@avnyu: Please only comment here for packaging issues.

avnyu commented on 2024-09-08 22:26 (UTC)

I got following error when boot

Sep 09 00:32:38 archlinux systemd[1]: Started COSMIC Greeter.
Sep 09 00:32:38 archlinux greetd[73824]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run", service: "cosmic-greeter" }, default_session: ConfigSession { command: "cosmic-comp systemd-cat -t cosmic-greeter cosmic-greeter", user: "cosmic-greeter", service: "greetd-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } }
Sep 09 00:32:38 archlinux greetd[73824]: error: PAM 'cosmic-greeter' service missing
Sep 09 00:32:38 archlinux systemd[1]: cosmic-greeter.service: Deactivated successfully.
Sep 09 00:32:39 archlinux systemd[1]: cosmic-greeter.service: Scheduled restart job, restart counter is at 5.
Sep 09 00:32:39 archlinux systemd[1]: cosmic-greeter.service: Start request repeated too quickly.
Sep 09 00:32:39 archlinux systemd[1]: cosmic-greeter.service: Failed with result 'start-limit-hit'.
Sep 09 00:32:39 archlinux systemd[1]: Failed to start COSMIC Greeter.

It seems commit ef1253a is the cause, change service back to login to make it boot normally

GRMrGecko commented on 2024-08-30 02:00 (UTC)

The smudge error can be worked around with export GIT_LFS_SKIP_SMUDGE=1 before you run the install.

perilla commented on 2024-08-15 14:24 (UTC) (edited on 2024-08-15 14:29 (UTC) by perilla)

I got the following error when I tried to install using paru: paru -S cosmic-greeter-git


Cloning into 'cosmic-greeter'...
done.
Downloading res/background.jpg (3.8 MB)
Error downloading object: res/background.jpg (7500f70): Smudge error: Error downloading res/background.jpg (7500f702f0488d4a8df2c5abeb7ca9107a7ca7998e0441727cbaf79465b02388): error transferring "7500f702f0488d4a8df2c5abeb7ca9107a7ca7998e0441727cbaf79465b02388": [0] remote missing object 7500f702f0488d4a8df2c5abeb7ca9107a7ca7998e0441727cbaf79465b02388

Errors logged to '/home/perilla/.cache/paru/clone/cosmic-greeter-git/src/cosmic-greeter/.git/lfs/logs/20240815T051754.159522653.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: res/background.jpg: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

==> ERROR: Failure while creating working copy of cosmic-greeter git repo
    Aborting...
error: failed to build 'cosmic-greeter-git-1.0.0.alpha.1.r0.gcc744b0-5': 
error: packages failed to build: cosmic-greeter-git-1.0.0.alpha.1.r0.gcc744b0-5

I can install other Cosmic packages like cosmic-edit-git, but I can't install cosmic-session-git because it depends on cosmic-greeter-git

FredBezies commented on 2024-08-11 17:16 (UTC)

@yochananmarqos: thanks for the fix. This packaging error was driving me crazy :D

yochananmarqos commented on 2024-08-11 16:56 (UTC)

@FredBezies: It can now.

FredBezies commented on 2024-08-11 16:50 (UTC) (edited on 2024-08-11 17:01 (UTC) by FredBezies)

Well, it cannot be packaged. Missing service file. Ouch!

==> Starting package()...
install -Dm0755 target/release/cosmic-greeter /home/fred/cosmic-greeter-git/pkg/cosmic-greeter-git/usr/bin/cosmic-greeter
install -Dm0755 target/release/cosmic-greeter-daemon /home/fred/cosmic-greeter-git/pkg/cosmic-greeter-git/usr/bin/cosmic-greeter-daemon
install -Dm0755 dbus/com.system76.CosmicGreeter.conf /home/fred/cosmic-greeter-git/pkg/cosmic-greeter-git/usr/share/dbus-1/system.d/com.system76.CosmicGreeter.conf
install -Dm0644 debian/cosmic-greeter.sysusers /home/fred/cosmic-greeter-git/pkg/cosmic-greeter-git/usr/lib/sysusers.d/cosmic-greeter.conf
install -Dm0644 debian/cosmic-greeter.tmpfiles /home/fred/cosmic-greeter-git/pkg/cosmic-greeter-git/usr/lib/tmpfiles.d/cosmic-greeter.conf
install: cannot stat 'cosmic-greeter.service': No such file or directory
==> ERROR: A failure occurred in package().

You need to remove this line:

install -Dm644 "${pkgname%-git}.service" -t "$pkgdir/usr/lib/systemd/system/"

After removing the line, I got:

install -Dm0644 debian/cosmic-greeter.tmpfiles /home/fred/cosmic-greeter-git/pkg/cosmic-greeter-git/usr/lib/tmpfiles.d/cosmic-greeter.conf
install: cannot stat 'cosmic-greeter-daemon.service': No such file or directory
==> ERROR: A failure occurred in package().

Of course, I verified. The service file is in debian directory. Any idea on how to fix this issue?

RachaelAva1024 commented on 2024-08-11 01:53 (UTC)

I have had trouble building this package ever since Git LFS was added as a make dependency. It may be best to remove Git LFS support from the build process, as it causes more problems than it helps.

For those affected, manually comment out the 4 lines for Git LFS in the prepare() function and then run makepkg -si while inside the directory containing the PKGBUILD.