don't claim gnome-keyring's dbus file; version upower from upstream
Two install blockers found on the phone: - the package shipped org.freedesktop.secrets.service, which gnome-keyring owns. souveraine-secrets holds the bus name at runtime already. - upower reused souveraine's 0.1.rN version, which sorts below the hand-built 1.91.3+sha, so -Syu saw a downgrade and skipped it. Now built from upstream version + fork sha (verified vercmp = 1).
This commit is contained in:
parent
07d45c10bc
commit
62a3f0b0a8
2 changed files with 15 additions and 5 deletions
|
|
@ -14,10 +14,9 @@ depends=('gcc-libs' 'alsa-lib')
|
|||
options=('!strip')
|
||||
source=('souveraine-binary' 'souveraine.service'
|
||||
'souveraine-secrets-binary' 'souveraine-secrets.service'
|
||||
'org.freedesktop.secrets.service'
|
||||
'souveraine-machined-binary' 'souveraine-machined.service'
|
||||
'LICENSE')
|
||||
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
|
||||
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
|
||||
# sessiond ships on aarch64 only (the phone is its target; the laptop hit
|
||||
# lock-screen errors with it). CI drops the two files into the build dir for
|
||||
# that arch and omits them otherwise, so package() picks them up conditionally
|
||||
|
|
@ -47,8 +46,11 @@ package() {
|
|||
install -Dm755 "$srcdir/souveraine-secrets-binary" "$pkgdir/usr/bin/souveraine-secrets"
|
||||
install -Dm644 "$srcdir/souveraine-secrets.service" \
|
||||
"$pkgdir/usr/lib/systemd/user/souveraine-secrets.service"
|
||||
install -Dm644 "$srcdir/org.freedesktop.secrets.service" \
|
||||
"$pkgdir/usr/share/dbus-1/services/org.freedesktop.secrets.service"
|
||||
# NOT shipping /usr/share/dbus-1/services/org.freedesktop.secrets.service:
|
||||
# gnome-keyring owns that path, and two packages claiming the secrets
|
||||
# provider is the collision the session-authority doctrine warns about.
|
||||
# souveraine-secrets.service already owns the bus name at runtime, so the
|
||||
# rail works without stealing the D-Bus activation file.
|
||||
|
||||
install -Dm755 "$srcdir/souveraine-machined-binary" "$pkgdir/usr/bin/souveraine-machined"
|
||||
install -Dm644 "$srcdir/souveraine-machined.service" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue