Package Details: swaylock-git v1.7.2.r2.gac3b49b-1

Git Clone URL: https://aur.archlinux.org/swaylock-git.git (read-only, click to copy)
Package Base: swaylock-git
Description: Screen locker for Wayland
Upstream URL: https://github.com/swaywm/swaylock
Licenses: MIT
Conflicts: swaylock
Provides: swaylock
Submitter: gilbus
Maintainer: primalmotion
Last Packager: primalmotion
Votes: 12
Popularity: 1.52
First Submitted: 2019-01-14 10:14 (UTC)
Last Updated: 2023-02-23 21:30 (UTC)

Required by (35)

Sources (1)

Latest Comments

1 2 Next › Last »

primalmotion commented on 2023-02-23 21:31 (UTC)

I have adopted the package and applied the patch I've send previously.

primalmotion commented on 2023-02-03 20:34 (UTC) (edited on 2023-02-03 20:49 (UTC) by primalmotion)

Hi,

Swaylock seems to have changed their tagging, by prefixing with v (v1.7.x instead of 1.7). This seems to cause weirdness in yay for instance where it continuously want to downgrade the package:

1  aur/swaylock-git  v1.7.2.r2.gac3b49b-1 -> 1.4.r15.gdee0021-1

This patch should fix the issue:

From 4a15ac99e42bad2ee0dd9ef97e35632225d56a77 Mon Sep 17 00:00:00 2001
From: primalmotion <primalmotion@pm.me>
Date: Fri, 3 Feb 2023 12:31:23 -0800
Subject: [PATCH] bump pkgver

---
 PKGBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PKGBUILD b/PKGBUILD
index a00b533..606c366 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Stephen Gregoratto <dev@sgregoratto.me>
 # Contributor: gilbus <aur@tinkershell.eu>
 pkgname=swaylock-git
-pkgver=1.4.r15.gdee0021
+pkgver=v1.7.2.r2.gac3b49b
 pkgrel=1
 pkgdesc='Screen locker for Wayland '
 url='https://github.com/swaywm/swaylock'
--
2.39.1

xiretza commented on 2022-01-03 13:58 (UTC)

What's the deal with passing --strip to meson? Some people like to have working debug packages, you know... I could find no evidence of makepkg being "unable to strip the binary" (the commit introducing this issue offers absolutely no explanation either...), so please fix this.

hughw94 commented on 2020-03-30 10:48 (UTC)

Please can you add /etc/pam.d/swaylock to the backup array for this PKGBUILD (https://wiki.archlinux.org/index.php/PKGBUILD#backup). Currently, updates produce breaking changes to my PAM setup which have to be reverted every time it is updated.

glitsj16 commented on 2020-01-10 04:41 (UTC) (edited on 2020-01-10 04:42 (UTC) by glitsj16)

The makepkg inability to strip the swaylock binary was likely due to https://bugs.archlinux.org/task/65100 and got fixed in https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/pacman&id=80d41ed5d2f81a8e8829fc438b978489768f4023. Just a FYI.

KingofToasters commented on 2020-01-10 02:53 (UTC)

I've adopted this package, and made some breaking packages. If you see this error:

ERROR: ...swaylock-git/swaylock is not a clone of https://github.com/swaywm/swaylock

Then you should clear your cache and rebuild the package from scratch.

hughw94 commented on 2019-04-24 10:11 (UTC) (edited on 2019-05-01 18:03 (UTC) by hughw94)

This package overwrites /etc/pam.d/swaylock when it updates. This is frustrating as any customizations need to be rewritten upon update. Can this file be excluded as a config file using backup array?

gilbus commented on 2019-01-19 15:53 (UTC)

Thanks for developing it!

commented on 2019-01-19 01:57 (UTC)

swaylock no longer requires wlroots. Thanks for maintaining the package!

gilbus commented on 2019-01-17 12:25 (UTC)

Thanks! I updated this package as well as the non-git version.