diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index e4049a5dc2..294a18cdd2 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -1164,22 +1164,25 @@ (define-public xtrlock ;; LDLIBS are required for the package to build. ;; CFLAGS are required for it to use the shadow file, and to ;; be compatible with multi-touch devices. - '(#:make-flags (list "CFLAGS=-Wall -DSHADOW_PWD -DMULTITOUCH" - "LDLIBS=-lX11 -lcrypt -lXi") - #:phases (modify-phases %standard-phases - (delete 'configure) - (delete 'check) - (add-after 'unpack 'rename-makefile - (lambda _ - (rename-file "Makefile.noimake" "Makefile") - (rename-file "xtrlock.man" "xtrlock.1"))) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out"))) - (install-file "xtrlock" - (string-append out "/bin/")) - (install-file "xtrlock.1" - (string-append out "/share/man/man1/")))))))) + (list #:make-flags + #~'("CFLAGS=-O2 -g -Wall -DSHADOW_PWD -DMULTITOUCH" + "LDLIBS=-lX11 -lcrypt -lXi") + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (delete 'check) + (add-after 'unpack 'rename-makefile + (lambda _ + (rename-file "Makefile.noimake" "Makefile") + (rename-file "xtrlock.man" "xtrlock.1"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (install-file "xtrlock" + (string-append out "/bin/")) + (install-file "xtrlock.1" + (string-append out + "/share/man/man1/")))))))) (inputs (list libx11 libxi libxfixes)) (home-page "https://packages.debian.org/sid/xtrlock") (synopsis "Minimal X display lock program") @@ -1193,7 +1196,7 @@ (define-public xtrlock entered the bell is sounded. Pressing Backspace or Delete erases one character of a password partially typed; pressing Escape or Clear clears anything that has been entered.") - (license license:gpl3+))) + (license license:gpl2+))) (define-public xosd (package