[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
246/402: gnu: gnome-boxes: Update package definition.
From: |
guix-commits |
Subject: |
246/402: gnu: gnome-boxes: Update package definition. |
Date: |
Tue, 18 Aug 2020 16:47:50 -0400 (EDT) |
dannym pushed a commit to branch wip-desktop
in repository guix.
commit 0c24a64e0033864ed4433536dea0f3c7e428a2b8
Author: Raghav Gururajan <raghavgururajan@disroot.org>
AuthorDate: Tue Aug 4 09:41:32 2020 -0400
gnu: gnome-boxes: Update package definition.
* gnu/packages/gnome.scm (gnome-boxes): Update package definition.
[outputs]: New output "help".
[arguments]<#:configure-flags>[-Drdp]: Remove flag.
<#:phases>['skip-gtk-update-icon-cache]: New phase.
['move-help]: New phase.
[native-inputs]: Add gobject-introspection and python-wrapper.
[inputs]: Add appstream-glib and freerdp.
[propagated-inputs]: Add glib and glib-networking.
[synopsis]: Modify.
[description]: Modify.
FIXME check the entire thing.
Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
---
gnu/packages/gnome.scm | 77 +++++++++++++++++++++++++++++++++++---------------
1 file changed, 55 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index e8b9460..a16d099 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -12669,47 +12669,73 @@ integrate seamlessly with the GNOME desktop.")
(source
(origin
(method url-fetch)
- (uri (string-append "mirror://gnome/sources/gnome-boxes/"
- (version-major+minor version) "/"
- "gnome-boxes-" version ".tar.xz"))
+ (uri
+ (string-append "mirror://gnome/sources/gnome-boxes/"
+ (version-major+minor version) "/"
+ "gnome-boxes-" version ".tar.xz"))
(sha256
(base32 "0c3cw90xqqcpacc2z06ljs0gg8saxizfgjzg9alhpwgz3gl4c5pg"))))
(build-system meson-build-system)
+ (outputs '("out" "help"))
(arguments
- '(#:glib-or-gtk? #t
- #:configure-flags (list "-Drdp=false"
- (string-append "-Dc_link_args=-Wl,-rpath="
- (assoc-ref %outputs "out")
- "/lib/gnome-boxes"))))
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:configure-flags
+ (list
+ ;; For run-path validation.
+ (string-append "-Dc_link_args=-Wl,-rpath="
+ (assoc-ref %outputs "out")
+ "/lib/gnome-boxes"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'skip-gtk-update-icon-cache
+ (lambda _
+ (substitute* "build-aux/post_install.py"
+ (("gtk-update-icon-cache")
+ "true"))
+ #t))
+ (add-after 'install 'move-help
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (help (assoc-ref outputs "help")))
+ (mkdir-p (string-append help "/share"))
+ (rename-file
+ (string-append out "/share/help")
+ (string-append help "/share/help"))
+ #t))))))
(native-inputs
- `(("glib:bin" ,glib "bin") ; for glib-compile-resources
- ("gtk+:bin" ,gtk+ "bin") ; for gtk-update-icon-cache
- ("desktop-file-utils" ,desktop-file-utils) ; for update-desktop-database
- ("itstool" ,itstool)
+ `(("desktop-file-utils" ,desktop-file-utils)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
("intltool" ,intltool)
- ("vala" ,vala)
- ("pkg-config" ,pkg-config)))
+ ("itstool" ,itstool)
+ ("pkg-config" ,pkg-config)
+ ("python" ,python-wrapper)
+ ("vala" ,vala)))
(inputs
- `(("libarchive" ,libarchive)
- ("glib-networking" ,glib-networking) ;for TLS support
+ `(("appstream-glib" ,appstream-glib)
+ ("libarchive" ,libarchive)
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("gtk" ,gtk+)
("gtk-vnc" ,gtk-vnc)
+ ("gudev" ,libgudev)
+ ("libarchive" ,libarchive)
("libosinfo" ,libosinfo)
("libsecret" ,libsecret)
("libsoup" ,libsoup)
("libusb" ,libusb)
("libvirt" ,libvirt)
("libvirt-glib" ,libvirt-glib)
- ("libxml" ,libxml2)
- ("spice-gtk" ,spice-gtk)
+ ("libxml2" ,libxml2)
("sparql-query" ,sparql-query)
+ ("spice-gtk" ,spice-gtk)
+ ("tracker" ,tracker)
("vte" ,vte)
("webkitgtk" ,webkitgtk)
- ("tracker" ,tracker)
- ("libgudev" ,libgudev)))
- (home-page "https://wiki.gnome.org/Apps/Boxes")
- (synopsis "View, access, and manage remote and virtual systems")
+ ("winpr" ,freerdp)))
+ (propagated-inputs
+ `(("glib" ,glib)
+ ("glib-networking" ,glib-networking)))
+ (synopsis "Virtualization made simple")
(description "GNOME Boxes is a simple application to view, access, and
manage remote and virtual systems. Note that this application requires the
@code{libvirt} and @code{virtlog} daemons to run. Use the command
@@ -12720,6 +12746,13 @@ these services on the Guix System.")
license:cc-by2.0
;; For all others.
license:lgpl2.0+))))
+ (home-page "https://wiki.gnome.org/Apps/Boxes")
+ (license
+ (list
+ ;; Icons
+ license:cc-by2.0
+ ;; Others.
+ license:lgpl2.0+))))
(define-public geary
(package
- 209/402: gnu: libnma: Update package definition., (continued)
- 209/402: gnu: libnma: Update package definition., guix-commits, 2020/08/18
- 219/402: gnu: Add dnssec-trigger., guix-commits, 2020/08/18
- 221/402: gnu: appstream-glib: Fix tests., guix-commits, 2020/08/18
- 223/402: gnu: phodav: Update package definition., guix-commits, 2020/08/18
- 220/402: gnu: network-manager: Update package definition., guix-commits, 2020/08/18
- 227/402: gnu: vte: Update package definition., guix-commits, 2020/08/18
- 230/402: gnu: libquvi: Update package definition., guix-commits, 2020/08/18
- 234/402: gnu: tracker-miners: Update package definition., guix-commits, 2020/08/18
- 237/402: gnu: cheese: Update package definition., guix-commits, 2020/08/18
- 242/402: gnu: file-roller: Update package definition., guix-commits, 2020/08/18
- 246/402: gnu: gnome-boxes: Update package definition.,
guix-commits <=
- 255/402: gnu: gnome-boxes: Fix home-page., guix-commits, 2020/08/18
- 264/402: gnu: rust-cssparser: Remove duplicate definition., guix-commits, 2020/08/18
- 265/402: gnu: rust-cssparser-macros@0.6.0: Fix reference to rust-quote., guix-commits, 2020/08/18
- 267/402: gnu: rust-serial-test-derive@0.4.0: Fix reference to rust-quote., guix-commits, 2020/08/18
- 269/402: gnu: rust-peg@0.5.7: Remove duplicate definition., guix-commits, 2020/08/18
- 276/402: gnu: rust-serial-test-derive@0.4.0: Fix reference to rust-syn., guix-commits, 2020/08/18
- 277/402: gnu: rust-rgb@0.8.20: Fix references to rust-bytemuck, rust-serde, rust-serde-json., guix-commits, 2020/08/18
- 279/402: gnu: gnome-desktop: Update package definition., guix-commits, 2020/08/18
- 282/402: gnu: gnome-getting-started-docs: Update package definition., guix-commits, 2020/08/18
- 283/402: gnu: Add fuse@2.9.9., guix-commits, 2020/08/18