From 68415aa4e16f1951fa319cca00c322fa96fee494 Mon Sep 17 00:00:00 2001 From: José Miguel Sánchez García Date: Fri, 30 Dec 2016 16:09:36 -0500 Subject: gnu: libtermkey: Update to 0.19. * gnu/packages/terminals.scm (libtermkey): Update to 0.19. Co-authored-by: Leo Famulari --- gnu/packages/terminals.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/terminals.scm') diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index efedba480f..52767ba6cb 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -266,13 +266,13 @@ multi-seat support, a replacement for @command{mingetty}, and more.") (define-public libtermkey (package (name "libtermkey") - (version "0.18") + (version "0.19") (source (origin (method url-fetch) (uri (string-append "http://www.leonerd.org.uk/code/" name "/" name "-" version ".tar.gz")) (sha256 - (base32 "09ir16kaarv55mnc4jn2sqnjjhzpb1aha51wpd9ayif887g4d5r3")))) + (base32 "1ds8gdr8p2dfr970z8kxgfz6x7m1jxmmfrb2aafab3wcni6al1f5")))) (build-system gnu-build-system) (arguments '(#:make-flags (list -- cgit v1.2.3 From abe2ec735fd8c13985901377ba358e51c57e817c Mon Sep 17 00:00:00 2001 From: José Miguel Sánchez García Date: Thu, 5 Jan 2017 00:23:18 +0100 Subject: gnu: Add beep. * gnu/packages/terminals.scm (beep): New variable. Co-authored-by: Tobias Geerinckx-Rice --- gnu/packages/terminals.scm | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) (limited to 'gnu/packages/terminals.scm') diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 52767ba6cb..0b671d0ba9 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -4,7 +4,8 @@ ;;; Copyright © 2016 Alex Griffin ;;; Copyright © 2016 David Craven ;;; Copyright © 2016 Ludovic Courtès -;;; Copyright © 2016 José Miguel Sánchez García +;;; Copyright © 2016, 2017 José Miguel Sánchez García +;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -326,3 +327,37 @@ configuration, testing, and debugging tool. It has also serves well as a low-tech serial communications program to allow access to all types of devices that provide serial consoles.") (license license:gpl2+))) + +(define-public beep + (package + (name "beep") + (version "1.3") + (source (origin + (method url-fetch) + (uri (string-append "http://www.johnath.com/" name "/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "0bgch6jq5cahakk3kbr9549iysf2dik09afixxy5brbxk1xfzb2r")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no tests. + #:phases + (modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'patch-makefile + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "Makefile" (("/usr") (assoc-ref outputs "out"))))) + (add-before 'install 'create-output-directories + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref %outputs "out"))) + (mkdir-p (string-append out "/bin")) + (mkdir-p (string-append out "/man/man1")))))))) + (synopsis "Linux command-line utility to control the PC speaker") + (description "beep allows the user to control the PC speaker with precision, +allowing different sounds to indicate different events. While it can be run +quite happily on the command line, its intended place of residence is within +scripts, notifying the user when something interesting occurs. Of course, it +has no notion of what's interesing, but it's very good at that notifying part.") + (home-page "http://www.johnath.com/beep") + (license license:gpl2+))) -- cgit v1.2.3 From 12c15242f422ab62bc0e653365c692047386b604 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 5 Jan 2017 17:24:03 +0100 Subject: gnu: beep: Ignore substitute* return value. * gnu/packages/terminals.scm (beep)[arguments]: End 'patch-makefile phase with truth. --- gnu/packages/terminals.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/terminals.scm') diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 0b671d0ba9..20897860d2 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -347,7 +347,8 @@ types of devices that provide serial consoles.") (delete 'configure) (add-after 'unpack 'patch-makefile (lambda* (#:key outputs #:allow-other-keys) - (substitute* "Makefile" (("/usr") (assoc-ref outputs "out"))))) + (substitute* "Makefile" (("/usr") (assoc-ref outputs "out"))) + #t)) (add-before 'install 'create-output-directories (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref %outputs "out"))) -- cgit v1.2.3