Package Details: alock-git 2.3.r13.g0ffde00-1

Git Clone URL: https://aur.archlinux.org/alock-git.git (read-only)
Package Base: alock-git
Description: Simple transparent screen-lock
Upstream URL: https://code.google.com/p/alock/
Licenses: MIT
Conflicts: alock-svn
Submitter: tazjin
Maintainer: bidulock
Last Packager: bidulock
Votes: 39
Popularity: 0.056130
First Submitted: 2014-03-13 22:52
Last Updated: 2017-06-03 13:14

Dependencies (9)

Required by (0)

Sources (1)

Latest Comments

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,

tazjin commented on 2015-05-13 19:46

Package updated again, builds & works fine as of 2015-05-13

lastmikoi commented on 2015-02-12 08:43

Flagging as out-of-date as building fails if the "xmlto" package isn't installed.

xmlto man alock.xml
make: xmlto: Command not found
GNUmakefile:85: recipe for target 'alock.1' failed

Have a good day,

haawda commented on 2014-12-26 23:12

This package should be reuploaded as "alock", because it does not pull from an svn-repo. Upstream uses git.

bidulock commented on 2014-07-22 14:39

$ namcap alock-git-r91.09d2ad2-2-i686.pkg.tar.xz
alock-git E: Missing custom license directory (usr/share/licenses/alock-git)
alock-git E: Dependency libxxf86misc detected and not included (libraries ['usr/lib/libXxf86misc.so.1'] needed in files ['usr/bin/alock'])

wiliam commented on 2014-03-18 21:33

The issue is caused by buggy imlib2-config (https://bugs.archlinux.org/task/39345), I prefer to wait until it is fixed.

All comments