[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/13: gnu: Add fbset.
From: |
guix-commits |
Subject: |
12/13: gnu: Add fbset. |
Date: |
Sat, 15 Feb 2020 11:07:10 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 96636e4910870906efb63f9e8890515c142bd941
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Fri Mar 16 18:01:19 2018 +0100
gnu: Add fbset.
* gnu/packages/linux.scm (fbset): New public variable.
---
gnu/packages/linux.scm | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index db1bed0..ce8ca8c 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1229,6 +1229,62 @@ The Discordian calendar was made popular by the
\"Illuminatus!\" trilogy
by Robert Shea and Robert Anton Wilson.")
(license license:public-domain)))
+(define-public fbset
+ (package
+ (name "fbset")
+ (version "2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://users.telenet.be/geertu/Linux/fbdev/fbset-"
+ version ".tar.gz"))
+ (sha256
+ (base32 "080wnisi0jq7dp0jcwdp83rq8q8s3kw41vc712516xbv4jq4mzs0"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:modules ((guix build gnu-build-system)
+ (guix build utils)
+ (srfi srfi-26))
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure) ; no configure script
+ (add-before 'install 'pre-install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (substitute* "Makefile"
+ (("mknod ") "true ")
+ ;; The Makefile doesn't honour PREFIX or similar.
+ (("/usr") out))
+ (mkdir out)
+ (with-directory-excursion out
+ (for-each mkdir-p (list "sbin"
+ "man/man5"
+ "man/man8")))
+ #t)))
+ (add-after 'install 'install-fb.modes
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (etc (string-append out "/etc")))
+ (for-each (cut install-file <> etc)
+ (find-files "etc" "^fb\\.modes"))
+ (symlink "fb.modes.ATI"
+ (string-append etc "/fb.modes"))
+ #t))))
+ ;; Parallel building races to create modes.tab.c.
+ #:parallel-build? #f
+ #:tests? #f)) ; no test suite
+ (native-inputs
+ `(("bison" ,bison)
+ ("flex" ,flex)))
+ (home-page "http://users.telenet.be/geertu/Linux/fbdev/")
+ (synopsis "Show and modify Linux frame buffer settings")
+ (description
+ "The kernel Linux's @dfn{frame buffers} provide a simple interface to
+different kinds of graphic displays. The @command{fbset} utility can query and
+change various device settings such as depth, virtual resolution, and timing
+parameters.")
+ (license license:gpl2)))
+
(define-public procps
(package
(name "procps")
- 05/13: gnu: emacs-markdown-mode: Use HTTPS home page., (continued)
- 05/13: gnu: emacs-markdown-mode: Use HTTPS home page., guix-commits, 2020/02/15
- 03/13: gnu: sbcl-ningle: Use HTTPS home page., guix-commits, 2020/02/15
- 02/13: gnu: cl-trivial-mimes: Use HTTPS home page., guix-commits, 2020/02/15
- 07/13: gnu: tumbler: Update to 0.2.8., guix-commits, 2020/02/15
- 09/13: gnu: you-get: Update to 0.4.1403., guix-commits, 2020/02/15
- 11/13: gnu: thunar: Update to 1.8.12., guix-commits, 2020/02/15
- 04/13: gnu: ebtables: Use HTTPS home page., guix-commits, 2020/02/15
- 06/13: gnu: diction: Update to 1.14., guix-commits, 2020/02/15
- 10/13: gnu: unbound: Update to 1.9.6 [security improvements]., guix-commits, 2020/02/15
- 08/13: gnu: xvid: Update to 1.3.7., guix-commits, 2020/02/15
- 12/13: gnu: Add fbset.,
guix-commits <=
- 13/13: gnu: le-certs: Update input hashes., guix-commits, 2020/02/15