gnu: looking-glass-client: Update to B6.
* gnu/packages/virtualization.scm (looking-glass-client): Update to B6. [source]: Use upstream tarball and switch to url-fetch. [inputs]: Add font-dejavu, libsamplerate, pipewire, pulseaudio. Remove openssl, sdl2, sdl2-ttf. [native-inputs]: Remove libconfig. [arguments]: Add "-DOPTIMIZE_FOR_NATIVE=OFF" to #:configure-flags for reproducibility and CPU compatibility. [use-modules]: Add (gnu packages fonts). Signed-off-by: Christopher Baines <mail@cbaines.net>
parent
456790c299
commit
5703c6bcd2
|
@ -29,6 +29,7 @@
|
||||||
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
|
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
|
||||||
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
|
;;; Copyright © 2022 Zhu Zihao <all_but_last@163.com>
|
||||||
;;; Copyright © 2023 Juliana Sims <juli@incana.org>
|
;;; Copyright © 2023 Juliana Sims <juli@incana.org>
|
||||||
|
;;; Copyright © 2023 Ahmad Draidi <a.r.draidi@redscript.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -75,6 +76,7 @@
|
||||||
#:use-module (gnu packages figlet)
|
#:use-module (gnu packages figlet)
|
||||||
#:use-module (gnu packages firmware)
|
#:use-module (gnu packages firmware)
|
||||||
#:use-module (gnu packages flex)
|
#:use-module (gnu packages flex)
|
||||||
|
#:use-module (gnu packages fonts)
|
||||||
#:use-module (gnu packages fontutils)
|
#:use-module (gnu packages fontutils)
|
||||||
#:use-module (gnu packages freedesktop)
|
#:use-module (gnu packages freedesktop)
|
||||||
#:use-module (gnu packages gettext)
|
#:use-module (gnu packages gettext)
|
||||||
|
@ -1915,27 +1917,27 @@ Machine Protocol.")
|
||||||
(define-public looking-glass-client
|
(define-public looking-glass-client
|
||||||
(package
|
(package
|
||||||
(name "looking-glass-client")
|
(name "looking-glass-client")
|
||||||
(version "B5")
|
(version "B6")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method url-fetch)
|
||||||
(uri (git-reference
|
(uri (string-append "https://looking-glass.io/artifact/"
|
||||||
(url "https://github.com/gnif/LookingGlass")
|
version "/source"))
|
||||||
(commit version)
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(recursive? #t)))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"09mn544x5hg1z31l92ksk7fi7yj9r8xdk0dcl9fk56ivcr452ylm"))))
|
"15d7wwbzfw28yqbz451b6n33ixy50vv8acyzi8gig1mq5a8gzdib"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
(list bash-minimal
|
(list bash-minimal
|
||||||
|
font-dejavu
|
||||||
fontconfig
|
fontconfig
|
||||||
freetype
|
freetype
|
||||||
glu
|
glu
|
||||||
gmp
|
gmp
|
||||||
libglvnd
|
libglvnd
|
||||||
libiberty
|
libiberty
|
||||||
|
libsamplerate
|
||||||
libx11
|
libx11
|
||||||
libxcursor
|
libxcursor
|
||||||
libxfixes
|
libxfixes
|
||||||
|
@ -1946,16 +1948,18 @@ Machine Protocol.")
|
||||||
libxrandr
|
libxrandr
|
||||||
libxscrnsaver
|
libxscrnsaver
|
||||||
mesa
|
mesa
|
||||||
openssl
|
pipewire
|
||||||
sdl2
|
pulseaudio
|
||||||
sdl2-ttf
|
|
||||||
spice-protocol
|
spice-protocol
|
||||||
wayland
|
wayland
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
`(,zlib "static")))
|
`(,zlib "static")))
|
||||||
(native-inputs (list libconfig nettle pkg-config))
|
(native-inputs (list nettle pkg-config))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;; No tests are available.
|
`(#: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")
|
#:make-flags '("CC=gcc")
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(add-before 'configure 'chdir-to-client
|
(add-before 'configure 'chdir-to-client
|
||||||
|
|
Reference in New Issue