Package Details: cosmic-greeter-git 1.0.0.alpha.6.r0.g5527c9b-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-only
Conflicts: cosmic-greeter
Provides: cosmic-greeter
Submitter: yochananmarqos
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 4
Popularity: 0.21
First Submitted: 2024-02-21 00:36 (UTC)
Last Updated: 2025-03-03 17:10 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

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.

jokeyrhyme commented on 2024-08-11 01:17 (UTC)

The PKGBUILD also install the systemd unit files and the required TOML file for the greetd configuration?

The (nushell) script I used to use to install the whole cosmic-epoch sysext includes the steps for making it possible to run cosmic-greeter to run as an actual greeter (instead of only a lock screen): https://gitlab.com/jokeyrhyme/dotfiles/-/blob/17aa5525cd30a80df0bba09b84f6c0f085593e76/packages/cosmic-update.nu

RuairidhWilliams commented on 2024-08-06 19:05 (UTC)

I also had an issue with installing this package. Like others have said using a clean chroot works but if you want to install it without that set the env var GIT_LFS_SKIP_SMUDGE=1. e.g. GIT_LFS_SKIP_SMUDGE=1 paru -S cosmic-greeter-git.

I am not sure why the issue occurs but it is due to having git lfs installed in your ~/.gitconfig. This means it will attempt to download the lfs files on git clone which fails for some reason. Adding GIT_LFS_SKIP_SMUDGE=1 disables downloading the lfs files on clone and they are still downloaded successfully later by the manual prepare steps.

sitonapanotis commented on 2024-08-01 05:46 (UTC)

Broken for me as well, with the same lfs error

tobiwan.kenobi commented on 2024-07-22 16:27 (UTC)

Still didn't work for me in a clean chroot. I got it installed by cloning the upstream repo manually and removing the clone commands from the PKGBUILD.

yochananmarqos commented on 2024-07-16 20:39 (UTC)

@DEC05EBA: I'm sure. Do a clean build / build in a clean chroot.

DEC05EBA commented on 2024-07-16 19:24 (UTC) (edited on 2024-07-16 19:25 (UTC) by DEC05EBA)

You sure? I still get the same error. I cleaned cache to make sure it's building clean.

yochananmarqos commented on 2024-07-16 18:19 (UTC)

@DEC05EBA: Fixed.