wdm-gtk-greeter

LOW
maintainer illuser 0 votes scanned 2026-08-19 03:41:13.749572
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Joseph R. Quinn <quinn.josephr@protonmail.com>
2
3# Its own AUR package rather than a split of `wdm-wayland`, so that installing the GTK
4# greeter does not build the WebKitGTK one — and so that someone who wants
5# neither never has GTK4 in their build chroot. wdm depends on the virtual this
6# provides, so pacman offers this as one of the choices when `wdm-wayland` is installed
7# on its own.
8pkgname=wdm-gtk-greeter
9backup=('etc/wdm/gtk-greeter.toml')
10pkgver=0.10.0
11pkgrel=1
12pkgdesc='GTK4 greeter for wdm'
13arch=('x86_64' 'aarch64')
14url='https://github.com/quinnjr/wdm'
15license=('MIT')
16depends=('gtk4' 'gtk4-layer-shell')
17# gtk4-layer-shell is not optional: wdm advertises no xdg_toplevel at all, so a
18# window that is not a layer surface is closed the moment it is created.
19makedepends=('cargo' 'libxkbcommon' 'gtk4' 'gtk4-layer-shell')
20provides=('wdm-greeter-implementation')
21source=("wdm-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
22# See the note in the `wdm-wayland` package: this is the checksum of the tarball GitHub
23# published, and all four wdm packages build from the same one.
24sha256sums=('94fbfae480ddd21b18e2c7e5472e135a5a5577dcb172ace989d520170622443b')
25
26# The tarball is the whole workspace whatever the pkgbase is, so the source
27# directory is named for the project rather than for this package.
28_src="wdm-$pkgver"
29
30prepare() {
31 cd "$_src"
32 export RUSTUP_TOOLCHAIN=stable
33 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
34}
35
36build() {
37 cd "$_src"
38 export RUSTUP_TOOLCHAIN=stable
39 export CARGO_TARGET_DIR=target
40 # This crate only. Cargo pulls in wdm-protocol and wdm-greeter-client as path
41 # dependencies and stops there, so neither the compositor nor the WebKitGTK
42 # greeter is compiled and webkitgtk-6.0 is not needed to build this at all.
43 cargo build --frozen --release -p wdm-gtk-greeter
44}
45
46check() {
47 cd "$_src"
48 export RUSTUP_TOOLCHAIN=stable
49 # The greeter's own tests plus the client it shares with the WebKitGTK
50 # greeter; both are pure logic and need no display.
51 cargo test --frozen --release -p wdm-gtk-greeter -p wdm-greeter-client
52}
53
54package() {
55 cd "$_src"
56 install -Dm755 target/release/wdm-gtk-greeter "$pkgdir/usr/lib/wdm/wdm-gtk-greeter"
57 # Fully commented out, so the defaults are also the documentation. In
58 # backup= so pacman delivers a changed default as a .pacnew instead of
59 # clobbering an edited one.
60 install -Dm644 packaging/gtk-greeter.toml.example "$pkgdir/etc/wdm/gtk-greeter.toml"
61 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
62}
63

Changes since previous scan

--- PKGBUILD @ 2026-08-15 00:26
+++ PKGBUILD @ 2026-08-19 03:41
@@ -6,7 +6,8 @@
# provides, so pacman offers this as one of the choices when `wdm-wayland` is installed
# on its own.
pkgname=wdm-gtk-greeter
-pkgver=0.9.0
+backup=('etc/wdm/gtk-greeter.toml')
+pkgver=0.10.0
pkgrel=1
pkgdesc='GTK4 greeter for wdm'
arch=('x86_64' 'aarch64')
@@ -20,7 +21,7 @@
source=("wdm-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
# See the note in the `wdm-wayland` package: this is the checksum of the tarball GitHub
# published, and all four wdm packages build from the same one.
-sha256sums=('49e70b577665bf4fb7c78f5d9319febaf0a8268a80bdb8eb01ff95ed0db8b9f7')
+sha256sums=('94fbfae480ddd21b18e2c7e5472e135a5a5577dcb172ace989d520170622443b')
# The tarball is the whole workspace whatever the pkgbase is, so the source
# directory is named for the project rather than for this package.
@@ -53,6 +54,10 @@
package() {
cd "$_src"
install -Dm755 target/release/wdm-gtk-greeter "$pkgdir/usr/lib/wdm/wdm-gtk-greeter"
+ # Fully commented out, so the defaults are also the documentation. In
+ # backup= so pacman delivers a changed default as a .pacnew instead of
+ # clobbering an edited one.
+ install -Dm644 packaging/gtk-greeter.toml.example "$pkgdir/etc/wdm/gtk-greeter.toml"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

Scan history

Scanned at (UTC)SeverityRules
2026-08-19 03:41:13 Low 1
2026-08-15 00:26:13 Clean 2
2026-08-14 21:29:33 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion