Package Details: alock-git 2.5.0-1

Git Clone URL: https://aur.archlinux.org/alock-git.git (read-only, click to copy)
Package Base: alock-git
Description: Simple transparent screen-lock
Upstream URL: https://github.com/Arkq/alock
Licenses: MIT
Conflicts: alock-svn
Submitter: tazjin
Maintainer: bidulock
Last Packager: bidulock
Votes: 40
Popularity: 0.000088
First Submitted: 2014-03-13 22:52
Last Updated: 2020-02-05 16:26

Dependencies (9)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

bidulock commented on 2020-02-05 16:24

Depends whether you had it present when building it: I get:

# namcap -i alock-git-2.5.0-1-x86_64.pkg.tar.zst
alock-git I: Depends as namcap sees them: depends=(imlib2 libgcrypt libxxf86misc pam libxrender)

There is an AUR package for libxxf86misc.

hakunamenta commented on 2020-02-04 05:18

% namcap -i alock-git-2.5.0-1-x86_64.pkg.tar.xz
alock-git I: Depends as namcap sees them: depends=(libgcrypt pam imlib2 libxrender)

hakunamenta commented on 2020-02-04 05:13

libxxf86misc has been deleted but is no longer needed as a dependency here.

meribold commented on 2020-02-01 16:10

I had to remove libxxf86misc from the depends array to build this.

pit commented on 2018-11-22 14:17

Thanks for updating :)

BTW. following line is no longer necessary:

sed -i -e 's,"login","system-auth",' src/auth_pam.c

since 'system-auth' is now the default PAM module used by 'alock'.

Rhinoceros commented on 2017-09-29 05:49

Please update the homepage to https://github.com/Arkq/alock . Currently it is set as the dead Google Code Archive. Further, the Google page is for the "old" alock version by mgumz, not the Arkq fork that is installed by this PKGBUILD.

lastmikoi commented on 2017-01-20 12:53

I've stumbled upon some errors when using alock with the pam mechanism:

pam_tally(login:auth): Error opening /var/log/faillog for update
pam_tally(login:auth): Error opening /var/log/faillog for read

Those errors don't seem to impact any functionality but for the sake of fixing it I've found a similar bug report: https://bugs.archlinux.org/task/31544

Said bug report eventually helped me find a fix, which consists of patching the auth_pam.c file:

diff --git a/src/auth_pam.c b/src/auth_pam.c
index e7d2a11..36f32ee 100644
--- a/src/auth_pam.c
+++ b/src/auth_pam.c
@@ -88,7 +88,7 @@ static int module_authenticate(const char *pass) {
int retval;

password = pass;
- retval = pam_start("login", username, &conv, &pam_handle);
+ retval = pam_start("system-auth", username, &conv, &pam_handle);

if (retval == PAM_SUCCESS)
retval = pam_set_item(pam_handle, PAM_TTY, ttyname(0));

I'll report this issue upstream as well, but since other distributions fix this issue in their package building I figured it would be worth fixing in the AUR package.

punk0x29a commented on 2016-05-22 20:26

repository moved to https://github.com/Arkq/alock


build() {
cd "$srcdir/alock"
autoreconf --install
# upstream bug: Configure ignores --prefix option
./configure --enable-pam --enable-hash --enable-xrender --enable-imlib2 \
--with-dunst --with-xbacklight
make
}

I'm not sure about this git link now, but
https://code.google.com/archive/p/alock shows up.
Also, Arqk version likes to segfault...

lastmikoi commented on 2015-08-12 12:08

Dammit, I've just read the older comments, I completely forgot about the issue it caused a year ago.

Anyway, I've been using this fix for some months now and it would seem that the aforementioned issue with imlib2 has been fixed upstream.

lastmikoi commented on 2015-08-12 12:06

Hello,

Would it be possible to add '--with-imlib2' to the './configure' call ? Or would that require creating and maintaining another 'alock' package ?

Adding this flag (and adding the extra/imlib2 dependency) would allow using an image as a screen lock wallpaper (-bg argument)

Have a good day,