[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/18: gnu: looking-glass-client: Update package style.
From: |
guix-commits |
Subject: |
14/18: gnu: looking-glass-client: Update package style. |
Date: |
Tue, 29 Aug 2023 08:54:36 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 02e32197a80e4fc323ffe0e519ad4e58f206fc5d
Author: Ahmad Draidi <a.r.draidi@redscript.org>
AuthorDate: Wed Aug 16 13:32:23 2023 +0400
gnu: looking-glass-client: Update package style.
* gnu/packages/virtualization.scm (looking-glass-client): Restyle format.
[arguments]: Use G-expressions. Drop trailing #t from phases.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/virtualization.scm | 142 +++++++++++++++++++---------------------
1 file changed, 69 insertions(+), 73 deletions(-)
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index e446adfa98..2f2454e544 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1918,84 +1918,80 @@ Machine Protocol.")
(package
(name "looking-glass-client")
(version "B6")
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://looking-glass.io/artifact/"
- version "/source"))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "15d7wwbzfw28yqbz451b6n33ixy50vv8acyzi8gig1mq5a8gzdib"))))
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://looking-glass.io/artifact/" version
+ "/source"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "15d7wwbzfw28yqbz451b6n33ixy50vv8acyzi8gig1mq5a8gzdib"))))
(build-system cmake-build-system)
- (inputs
- (list bash-minimal
- font-dejavu
- fontconfig
- freetype
- glu
- gmp
- libglvnd
- libiberty
- libsamplerate
- libx11
- libxcursor
- libxfixes
- libxi
- libxinerama
- libxkbcommon
- libxpresent
- libxrandr
- libxscrnsaver
- mesa
- pipewire
- pulseaudio
- spice-protocol
- wayland
- wayland-protocols
- `(,zlib "static")))
+ (inputs (list bash-minimal
+ font-dejavu
+ fontconfig
+ freetype
+ glu
+ gmp
+ libglvnd
+ libiberty
+ libsamplerate
+ libx11
+ libxcursor
+ libxfixes
+ libxi
+ libxinerama
+ libxkbcommon
+ libxpresent
+ libxrandr
+ libxscrnsaver
+ mesa
+ pipewire
+ pulseaudio
+ spice-protocol
+ wayland
+ wayland-protocols
+ `(,zlib "static")))
(native-inputs (list nettle pkg-config))
(arguments
- `(#:tests? #f ;; No tests are available.
- ;; Package uses "-march=native" by default. We disable that to build
with the
- ;; lowest supported architecture for reproducibility and CPU
compatibility.
- #:configure-flags '("-DOPTIMIZE_FOR_NATIVE=OFF")
- #:make-flags '("CC=gcc")
- #:phases (modify-phases %standard-phases
- (add-before 'configure 'chdir-to-client
- (lambda* (#:key outputs #:allow-other-keys)
- (chdir "client")
- #t))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (install-file "looking-glass-client"
- (string-append (assoc-ref outputs "out")
- "/bin"))
- #t))
- (add-after 'install 'wrapper
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (wrap-program
- (string-append (assoc-ref outputs "out")
- "/bin/looking-glass-client")
- `("LD_LIBRARY_PATH" ":" prefix
- ,(map (lambda (name)
- (let ((input (assoc-ref inputs name)))
- (string-append input "/lib")))
- '("gmp"
- "libxi"
- "nettle"
- "mesa"
- "wayland"
- "fontconfig-minimal"
- "freetype"
- "libx11"
- "libxfixes"
- "libxscrnsaver"
- "libxinerama"))))
- #t)))))
+ (list #:tests? #f ;No tests are available.
+ ;; Package uses "-march=native" by default. We disable that to
build with the
+ ;; lowest supported architecture for reproducibility and CPU
compatibility.
+ #:configure-flags #~'("-DOPTIMIZE_FOR_NATIVE=OFF")
+ #:make-flags #~'("CC=gcc")
+ #:phases #~(modify-phases %standard-phases
+ (add-before 'configure 'chdir-to-client
+ (lambda* (#:key outputs #:allow-other-keys)
+ (chdir "client")))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (install-file "looking-glass-client"
+ (string-append (assoc-ref outputs
+ "out")
+ "/bin"))))
+ (add-after 'install 'wrapper
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (wrap-program (string-append (assoc-ref outputs
+ "out")
+ "/bin/looking-glass-client")
+ `("LD_LIBRARY_PATH" ":" prefix
+ ,(map (lambda (name)
+ (let ((input (assoc-ref inputs name)))
+ (string-append input "/lib")))
+ '("gmp" "libxi"
+ "nettle"
+ "mesa"
+ "wayland"
+ "fontconfig-minimal"
+ "freetype"
+ "libx11"
+ "libxfixes"
+ "libxscrnsaver"
+ "libxinerama")))))))))
(home-page "https://looking-glass.io/")
(synopsis "KVM Frame Relay (KVMFR) implementation")
- (description "Looking Glass allows the use of a KVM (Kernel-based Virtual
+ (description
+ "Looking Glass allows the use of a KVM (Kernel-based Virtual
Machine) configured for VGA PCI Pass-through without an attached physical
monitor, keyboard or mouse. It displays the VM's rendered contents on your
main monitor/GPU.")
- 17/18: gnu: font-sarasa-gothic: Update to 0.41.7., (continued)
- 17/18: gnu: font-sarasa-gothic: Update to 0.41.7., guix-commits, 2023/08/29
- 05/18: gnu: dino: Update to 0.4.3., guix-commits, 2023/08/29
- 13/18: gnu: looking-glass-client: Update to B6., guix-commits, 2023/08/29
- 03/18: gnu: librecast: Update to 0.7-RC3., guix-commits, 2023/08/29
- 04/18: gnu: lcsync: Update to 0.2.1., guix-commits, 2023/08/29
- 08/18: gnu: emacs-flim-lb: Update to 1.14.9-137.80b8121., guix-commits, 2023/08/29
- 16/18: gnu: tuxedo-keyboard: Update to 3.2.10., guix-commits, 2023/08/29
- 12/18: gnu: profanity: Update to 0.14.0., guix-commits, 2023/08/29
- 09/18: gnu: emacs-semi-epg: Update to 1.14.6-246.9370961., guix-commits, 2023/08/29
- 11/18: gnu: emacs-php-mode: Update to 1.25.0., guix-commits, 2023/08/29
- 14/18: gnu: looking-glass-client: Update package style.,
guix-commits <=
- 18/18: gnu: hyfetch: Update to 1.4.10., guix-commits, 2023/08/29