unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 61576@debbugs.gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: [bug#61576] [PATCH 01/21] gnu: spice-gtk: Fix indentation and normalize field order.
Date: Fri, 17 Feb 2023 12:00:42 -0500	[thread overview]
Message-ID: <20230217170103.10147-2-maxim.cournoyer@gmail.com> (raw)
In-Reply-To: <20230217165145.9631-1-maxim.cournoyer@gmail.com>

* gnu/packages/spice.scm (spice-gtk): Fix indentation.  Move and re-order
inputs below arguments.
---

 gnu/packages/spice.scm | 120 ++++++++++++++++++++---------------------
 1 file changed, 58 insertions(+), 62 deletions(-)

diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm
index 2be724c455..139ef4867e 100644
--- a/gnu/packages/spice.scm
+++ b/gnu/packages/spice.scm
@@ -141,73 +141,69 @@ (define-public spice-gtk
     (source (origin
               (method url-fetch)
               (uri (string-append
-                "https://spice-space.org/download/gtk/"
-                "spice-gtk-" version ".tar.bz2"))
+                    "https://spice-space.org/download/gtk/"
+                    "spice-gtk-" version ".tar.bz2"))
               (sha256
                (base32
                 "1drvj8y35gnxbnrxsipwi15yh0vs9ixzv4wslz6r3lra8w3bfa0z"))))
     (build-system gnu-build-system)
-    (propagated-inputs
-      (list gstreamer
-            gst-plugins-base
-            gst-plugins-good
-            spice-protocol
-            ;; These are required by the pkg-config files.
-            gtk+
-            pixman
-            openssl-1.1))
-    (inputs
-      `(("glib-networking" ,glib-networking)
-        ("gobject-introspection" ,gobject-introspection)
-        ("json-glib" ,json-glib)
-        ("libepoxy" ,libepoxy)
-        ("libjpeg" ,libjpeg-turbo)
-        ("libxcb" ,libxcb)
-        ("lz4" ,lz4)
-        ("mesa" ,mesa)
-        ("pulseaudio" ,pulseaudio)
-        ("python" ,python)
-        ("opus" ,opus)
-        ("usbredir" ,usbredir)))
-    (native-inputs
-      `(("glib:bin" ,glib "bin")
-        ("intltool" ,intltool)
-        ("pkg-config" ,pkg-config)
-        ("vala" ,vala)))
     (arguments
-      `(#:configure-flags
-        '("--enable-gstaudio"
-          "--enable-gstvideo"
-          "--enable-pulse"
-          "--enable-vala"
-          "--enable-introspection")
-        #:phases
-         (modify-phases %standard-phases
-           (add-before 'check 'disable-session-test
-             (lambda _
-               ;; XXX: Disable session tests, because they require USB support,
-               ;; which is not available in the build container.
-               (substitute* "tests/Makefile"
-                 (("test-session\\$\\(EXEEXT\\) ") ""))
-               #t))
-           (add-after 'install 'patch-la-files
-             (lambda* (#:key inputs outputs #:allow-other-keys)
-               (let ((out (assoc-ref outputs "out"))
-                     (libjpeg (assoc-ref inputs "libjpeg")))
-                 ;; Add an absolute reference for libjpeg in the .la files
-                 ;; so it does not have to be propagated.
-                 (substitute* (find-files (string-append out "/lib") "\\.la$")
-                   (("-ljpeg")
-                    (string-append "-L" libjpeg "/lib -ljpeg")))
-                 #t)))
-           (add-after
-            'install 'wrap-spicy
-            (lambda* (#:key inputs outputs #:allow-other-keys)
-              (let ((out             (assoc-ref outputs "out"))
-                    (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
-                (wrap-program (string-append out "/bin/spicy")
-                  `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
-              #t)))))
+     `(#:configure-flags '("--enable-gstaudio"
+                           "--enable-gstvideo"
+                           "--enable-pulse"
+                           "--enable-vala"
+                           "--enable-introspection")
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'disable-session-test
+           (lambda _
+             ;; XXX: Disable session tests, because they require USB support,
+             ;; which is not available in the build container.
+             (substitute* "tests/Makefile"
+               (("test-session\\$\\(EXEEXT\\) ") ""))))
+         (add-after 'install 'patch-la-files
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out"))
+                   (libjpeg (assoc-ref inputs "libjpeg")))
+               ;; Add an absolute reference for libjpeg in the .la files
+               ;; so it does not have to be propagated.
+               (substitute* (find-files (string-append out "/lib") "\\.la$")
+                 (("-ljpeg")
+                  (string-append "-L" libjpeg "/lib -ljpeg"))))))
+         (add-after 'install 'wrap-spicy
+           (lambda* (#:key inputs outputs #:allow-other-keys)
+             (let ((out             (assoc-ref outputs "out"))
+                   (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
+               (wrap-program (string-append out "/bin/spicy")
+                 `("GST_PLUGIN_SYSTEM_PATH" ":"
+                   prefix (,gst-plugin-path)))))))))
+    (native-inputs
+     `(("glib:bin" ,glib "bin")
+       ("intltool" ,intltool)
+       ("pkg-config" ,pkg-config)
+       ("vala" ,vala)))
+    (inputs
+     `(("glib-networking" ,glib-networking)
+       ("gobject-introspection" ,gobject-introspection)
+       ("json-glib" ,json-glib)
+       ("libepoxy" ,libepoxy)
+       ("libjpeg" ,libjpeg-turbo)
+       ("libxcb" ,libxcb)
+       ("lz4" ,lz4)
+       ("mesa" ,mesa)
+       ("pulseaudio" ,pulseaudio)
+       ("python" ,python)
+       ("opus" ,opus)
+       ("usbredir" ,usbredir)))
+    (propagated-inputs
+     (list gstreamer
+           gst-plugins-base
+           gst-plugins-good
+           spice-protocol
+           ;; These are required by the pkg-config files.
+           gtk+
+           pixman
+           openssl-1.1))
     (synopsis "Gtk client and libraries for SPICE remote desktop servers")
     (description "Gtk client and libraries for SPICE remote desktop servers.")
     (home-page "https://www.spice-space.org")
-- 
2.39.1





  reply	other threads:[~2023-02-17 17:03 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-17 16:51 [bug#61576] [PATCH 00/21] Allow USB redirection as an unprivileged user in in GNOME Boxes Maxim Cournoyer
2023-02-17 17:00 ` Maxim Cournoyer [this message]
2023-02-17 17:00   ` [bug#61576] [PATCH 02/21] gnu: spice-gtk: Remove input labels Maxim Cournoyer
2023-02-26  4:47     ` [bug#61576] [PATCH 00/21] Allow USB redirection as an unprivileged user in in GNOME Boxes Maxim Cournoyer
2023-02-17 17:00   ` [bug#61576] [PATCH 03/21] gnu: spice-gtk: Use gexps Maxim Cournoyer
2023-02-17 17:00   ` [bug#61576] [PATCH 04/21] gnu: spice-gtk: Update to 0.42 Maxim Cournoyer
2023-02-17 17:00   ` [bug#61576] [PATCH 05/21] gnu: spice-gtk: Propagate libjpeg-turbo, lz4, opus, and usbredir Maxim Cournoyer
2023-02-17 17:00   ` [bug#61576] [PATCH 06/21] gnu: spice-protocol: Update to 0.14.4 Maxim Cournoyer
2023-02-17 17:00   ` [bug#61576] [PATCH 07/21] gnu: usbredir: Update to 0.13.0 Maxim Cournoyer
2023-02-17 17:00   ` [bug#61576] [PATCH 08/21] gnu: virglrenderer: Update to 0.7.0 Maxim Cournoyer
2023-02-17 17:00   ` [bug#61576] [PATCH 09/21] gnu: libcacard: Remove obsolete configure flags Maxim Cournoyer
2023-02-17 17:00   ` [bug#61576] [PATCH 10/21] gnu: spice: Update to 0.15.1 Maxim Cournoyer
2023-02-17 17:00   ` [bug#61576] [PATCH 11/21] gnu: spice-vdagent: Update to 0.22.1 Maxim Cournoyer
2023-02-17 17:00   ` [bug#61576] [PATCH 12/21] gnu: usbutils: Update to 015 Maxim Cournoyer
2023-02-17 17:00   ` [bug#61576] [PATCH 13/21] gnu: phodav: Propagate glib, libsoup and libxml2 Maxim Cournoyer
2023-02-17 17:00   ` [bug#61576] [PATCH 14/21] gnu: spice-gtk: Enable support for polkit, webdav and others Maxim Cournoyer
2023-02-17 17:00   ` [bug#61576] [PATCH 15/21] gnu: osinfo-db: Use libsoup 3 Maxim Cournoyer
2023-02-17 17:00   ` [bug#61576] [PATCH 16/21] gnu: gnome-boxes: Update to 43.3 Maxim Cournoyer
2023-02-17 17:00   ` [bug#61576] [PATCH 17/21] services: gnome-polkit-settings: Add spice-gtk Maxim Cournoyer
2023-02-17 17:00   ` [bug#61576] [PATCH 18/21] services: desktop: Extract a new gnome-package procedure Maxim Cournoyer
2023-02-17 17:01   ` [bug#61576] [PATCH 19/21] services: gnome-desktop-service-type: Extend setuid-program-service-type Maxim Cournoyer
2023-02-17 17:01   ` [bug#61576] [PATCH 20/21] gnu: gnome-boxes: Mention extra configuration requirements Maxim Cournoyer
2023-02-17 17:01   ` [bug#61576] [PATCH 21/21] gnu: spice-gtk: Adjust the default file name of the ACL helper binary Maxim Cournoyer
2023-02-25 19:53 ` bug#61576: [PATCH 00/21] Allow USB redirection as an unprivileged user in in GNOME Boxes Maxim Cournoyer

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230217170103.10147-2-maxim.cournoyer@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=61576@debbugs.gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).