From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4BsKLFGz72PLZwEAbAwnHQ (envelope-from ) for ; Fri, 17 Feb 2023 18:03:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aMMbLFGz72PEGQAA9RJhRA (envelope-from ) for ; Fri, 17 Feb 2023 18:03:13 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 691072AB40 for ; Fri, 17 Feb 2023 18:03:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT47v-0006xu-Gx; Fri, 17 Feb 2023 12:02:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pT47X-0006iB-9g for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pT47W-0000K2-Q9 for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47W-00081Y-2M for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 01/21] gnu: spice-gtk: Fix indentation and normalize field order. References: <20230217165145.9631-1-maxim.cournoyer@gmail.com> In-Reply-To: <20230217165145.9631-1-maxim.cournoyer@gmail.com> Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61576 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61576@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 61576-submit@debbugs.gnu.org id=B61576.167665328230546 (code B ref 61576); Fri, 17 Feb 2023 17:02:02 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:22 +0000 Received: from localhost ([127.0.0.1]:41326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT46r-0007wV-MX for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:22 -0500 Received: from mail-qt1-f173.google.com ([209.85.160.173]:35472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT46p-0007w4-GY for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:20 -0500 Received: by mail-qt1-f173.google.com with SMTP id v3so1370619qta.2 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RoHSpLxNkXmZOMEi75q9KUCr6Z6PRN0KvvbzA0AH9k4=; b=qyIrzNwheIhP/2nrQrumwrNfCiSGGxbD001xyZfKWBYfHhrlC6JkZWfePv/3dXcR/r PmzO+1kOA2VWMZQC35C+PsbopfQu6jOWdoteUw0iWUz4PSQhYm11prCTMgQVf1iUYqi1 sj+GaVO/S9g6OK3//RzMhDi7RP/2z+USKrmIQP6dBL4TB1tkAYXO6k23GVOxUCnu8Rm/ 8Rsapy2YwqfrTIDGuWc3/7LC02grQkoIyM9SbtCFqLtk7V24072wY9/lBsOxclTU7LtU EF4IdC/vKbv+TZzmVJQuc2WG83gur11z0YNe/1bC3txkSw87q4IOEB7Kz5OoCmGP9qhI nBxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RoHSpLxNkXmZOMEi75q9KUCr6Z6PRN0KvvbzA0AH9k4=; b=3WfrhoNY4Ude2Bd3R9bAWqEMPF+Bw+ovpn2SxKj9i8edMTe2a7GOUa+6dHGtFzG5AV KvawaXqAfe2Xc1XMyh/nl09e/Nc5xidfyw+nF2iXC0MLOjjUNjuaA5sHwVtoinQMcPv9 Qsuh+U+uKlGZEHW/UKUhoT8Y8j944cduvwsccaI/MNWKJPGmLs5HvPwEorHf/M8sIk6+ LOswzjP0xoGzXjT8UVSTostFbg0QQu3Zayij7NW20JstkFIXXmK9UbjpBCbs3EblAwos yva7Y0vTg3uF+uHrlH5yT+qaFgNyTsfzEijzQT/M9HDHbsv4ljLTzpUZkIrARjt5DTRY Srkw== X-Gm-Message-State: AO0yUKVSHd+mhSpSQy9Y6fD+022cBmgZG8Rrl6xQcphL5xKWyG39QZRw uCayrjJsLY9Ijo+0A3VhlMGVlvs7+RFo4AyQ X-Google-Smtp-Source: AK7set/7Al8/2m6b8K0H3XPkyq9kAb37TvdY5K2ZGknL0hSmM10hl/RHmbw6hD1/WV7yTcK3X/Lnsg== X-Received: by 2002:a05:622a:11d0:b0:3b8:4951:57b7 with SMTP id n16-20020a05622a11d000b003b8495157b7mr1436456qtk.20.1676653273351; Fri, 17 Feb 2023 09:01:13 -0800 (PST) Received: from localhost.localdomain (dsl-157-123.b2b2c.ca. [66.158.157.123]) by smtp.gmail.com with ESMTPSA id hf22-20020a05622a609600b003b85ed59fa2sm3455166qtb.50.2023.02.17.09.01.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:12 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:42 -0500 Message-Id: <20230217170103.10147-2-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=qyIrzNwh; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676653393; a=rsa-sha256; cv=none; b=sPbv7tW4z1XH6CzbjZvvkLMJubbcEh3R7tKQmvFJbdf6GKq+m9V4SP2w7FvL3HqpTPCMd5 +qYobsPLk7+u/EqoW2FPbR7/cg8/1ukr5DS9lQJO6CaNDjw1MrLhywD0XZVjdKf9b9afQS fVaCacQ5vL+uBSO70yBTGBnIYjnmmDDyYAP6C2bFM5GRR0NKCd0kZRxyZBuW9wT/4R9OGs 0ddXQHUgH1eNaWpIsvWgHNOMsy8NLCNb0nsTOJL3xP5YdS5KCwBoTiWjiXHW5oQJj0Bph2 lbPVuHEcFkmyfiMDH8GNdHQ57w2+PVpDj16tQpwjvlhMCud+kDZetbJkGcDXsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676653393; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RoHSpLxNkXmZOMEi75q9KUCr6Z6PRN0KvvbzA0AH9k4=; b=HnFkmM+29vbEuN5gfXDAKLB0PB2WCYb8Xamp1JkkMLuLN9sCH+RuSdTmLwoMT3uKoeLXO3 wRyFbrPQgwkaPW8xyEcnkAKOj1y6/WU4YFvJCxEKBoje4plTSjwTw/o+jXef9AthSKa6Gw y7Wqv07eda2xndzB2qCZZdE+gfoYtImcKy4Az2wF/ozCTW2PdWGtKuMNAiX552lnGIgDal WHgnYbrgbcZokMXXaVQuz04nEb3qCAFEVgEVNmXuJ7O7Ax05KfncfoDwwk1wUVjvFmNsG3 P3Ooi7vojPgH4UvbaAVz2cLcx4XUYsjyFqvYjdcrMAm0ySeWK/Iq55Lx99r51Q== X-Migadu-Spam-Score: 6.37 X-Spam-Score: 6.37 X-Migadu-Queue-Id: 691072AB40 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=qyIrzNwh; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-TUID: rm82jeBJsfRA * 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