From: ludo@gnu.org (Ludovic Courtès)
To: Rutger Helling <rhelling@mykolab.com>
Cc: 29719@debbugs.gnu.org
Subject: [bug#29719] [PATCH] gnu: virtualization: Add lookingglass.
Date: Fri, 15 Dec 2017 15:16:51 +0100 [thread overview]
Message-ID: <87bmj0hy98.fsf@gnu.org> (raw)
In-Reply-To: <cb17799a5cd7b660bd849d6f75ec68a2@mykolab.com> (Rutger Helling's message of "Fri, 15 Dec 2017 12:02:31 +0100")
Hello!
Rutger Helling <rhelling@mykolab.com> skribis:
> From ccea9a6c9dd71aea5ef5c07802f7e376a7f86a96 Mon Sep 17 00:00:00 2001
> From: Rutger Helling <rhelling@mykolab.com>
> Date: Fri, 15 Dec 2017 11:58:10 +0100
> Subject: [PATCH] gnu: virtualization: Add lookingglass.
>
> * gnu/packages/virtualization.scm (lookingglass): New variable.
[...]
> +(define-public lookingglass
> + (package
> + (name "lookingglass")
Please run:
./etc/indent-code.el gnu/packages/virtualization.scm lookingglass
> + (version "a5")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append "https://github.com/gnif/LookingGlass/archive/"
> + version ".tar.gz"))
> + (file-name (string-append name "-" version))
> + (sha256
> + (base32
> + "0lrb821914fp27xaq0spwhbblssz55phiygvdlvcrkifa138v8pf"))))
> + (build-system gnu-build-system)
> + (inputs `(("fontconfig" ,fontconfig)
> + ("glu" ,glu)
> + ("mesa" ,mesa)
> + ("openssl" ,openssl)
> + ("sdl2" ,sdl2)
> + ("sdl2-ttf" ,sdl2-ttf)
> + ("spice-protocol" ,spice-protocol)))
> + (native-inputs `(("pkg-config", pkg-config)))
> + (arguments
> + `(#:tests? #f ;; No tests are available.
> + #:phases (modify-phases %standard-phases
> + (replace 'configure
> + (lambda* (#:key outputs #:allow-other-keys)
> + (chdir "client")))
Return #t.
> + (replace 'install
> + (lambda* (#:key outputs #:allow-other-keys)
> + (mkdir-p (string-append %output "/bin"))
> + (copy-file "bin/looking-glass-client" (string-append
> + %output "/bin/looking-glass-client")))))))
Same here.
Use the ‘outputs’ argument instead of the ‘%output’ global variable.
Also, you can replace the mkdir-p/copy-file pair with just:
(install-file "bin/looking-glass-client"
(string-append (assoc-ref outputs "out") "/bin"))
> + (home-page "https://looking-glass.hostfission.com")
> + (synopsis "Low-latency KVMFR implementation for QEMU guests with VGA PCI
> +passthrough")
> + (description "LookingGlass is an extremely low latency KVMFR (KVM FrameRelay)
> +implementation for QEMU guests with VGA PCI Passthrough.")
Could you shorten the synopsis and expound the description a little bit?
:-) I find it hard to understand what this is about looking at this.
> + (license gpl2)))
AFAICS source file headers explicitly say “or any later version”, so
this should be ‘gpl2+’.
The rest LGTM. Could you send an updated patch?
Thank you!
Ludo’.
next prev parent reply other threads:[~2017-12-15 14:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-15 11:02 [bug#29719] [PATCH] gnu: virtualization: Add lookingglass Rutger Helling
2017-12-15 14:16 ` Ludovic Courtès [this message]
2017-12-15 15:05 ` Rutger Helling
2017-12-15 15:11 ` Rutger Helling
2017-12-15 15:39 ` bug#29719: " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bmj0hy98.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=29719@debbugs.gnu.org \
--cc=rhelling@mykolab.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.