From patchwork Fri Feb 17 17:00:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47047 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4D708168B3; Fri, 17 Feb 2023 17:03:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6FEE716793 for ; Fri, 17 Feb 2023 17:03:13 +0000 (GMT) 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 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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") From patchwork Fri Feb 17 17:00:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47055 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D3062168B2; Fri, 17 Feb 2023 17:04:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 042D31685E for ; Fri, 17 Feb 2023 17:04:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT485-0007NF-H6; Fri, 17 Feb 2023 12:02:37 -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-0006iA-9J 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-0000KA-NQ 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-00081f-IF for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 02/21] gnu: spice-gtk: Remove input labels. 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.167665328530566 (code B ref 61576); Fri, 17 Feb 2023 17:02:02 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:25 +0000 Received: from localhost ([127.0.0.1]:41330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT46u-0007wu-Fo for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:24 -0500 Received: from mail-qt1-f182.google.com ([209.85.160.182]:41805) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT46q-0007w8-7X for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:21 -0500 Received: by mail-qt1-f182.google.com with SMTP id f22so1193548qtb.8 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=T6eJhvr97HawNPDGtaIXJ/yA+Um1x2eZpovZ98KPr38=; b=FGk9GbYeTNaT07MaKbXxCP1H9v8n8z14LAlq5mdxFrZYxW/WDK0itqvfTrOO0obhU2 PpTJSQNxKOevHsS9zAVJv5XRsTCSDgBGJB22++umuUeVoyvrXegcdF/PBNq1EVzOm8PD ZQvDBLmcrJQpeoM6oXs5c3BE6iawdMgUeLoSiOEzeaD//dTbFN/lXDweXfgRJDXDpEt6 eH/gZJVEZxZ9BbKNENlpniqva6/pEDuqz/Erb1aeesulDuOGQmVwY2Xu5f0EFFVRt289 oJuvbWA1THxBsF5ryUc+/fySFQTpPzlZdHTc9CHCsQHvlKyanTWVY8eJzkwqXmvk439X RDvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T6eJhvr97HawNPDGtaIXJ/yA+Um1x2eZpovZ98KPr38=; b=rDGIf1GsZBBlTtafJMqPg9cfuZ73waTchWn7CmmuVdbj9X5JgM7DRnclF/YrA4IKrA Me5ltTyf6idH+nB2QPfdddmye3q588/CD5H7ZGc2F2QFbPVK12khLrhl+J2OZHd8iVQ1 +zk6eNr+lC3nGSk/jHaNAupBVXv9hEwD4/hMARSSxlax8eTidakAZRE1DmpVXWsHkU3C tK3WxkM4U5yxxVO62kSXe83fkM/4J9S2Kv6XnQLn1/P9mLCQ0TEKDYFm1tz97p39hbys GbjaQDppddD8dBrRdHhweHiaURz0vPbAbQ3CKOZrcB7nKWAlaDHA5HiszJE9W0E7i6oI ZA0A== X-Gm-Message-State: AO0yUKUrQubFrIrYnD66pTmY2QC4AtG8lwVwx0A6vy8uVQ6Xo0RNtA0q fygTpjWyIUPTIq77wCfuogEODj9H0PhBiG2y X-Google-Smtp-Source: AK7set9I+mVMeCU3zIJgvKMWTLRd3O9x36FGjZXFGMESUkzrK2GFxqjE+zHAjTCcrm0TUL97E0UPhg== X-Received: by 2002:ac8:5f93:0:b0:3b9:2b0:5e7e with SMTP id j19-20020ac85f93000000b003b902b05e7emr920907qta.27.1676653274551; Fri, 17 Feb 2023 09:01:14 -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.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:14 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:43 -0500 Message-Id: <20230217170103.10147-3-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/spice.scm (spice-gtk): Remove input labels. --- gnu/packages/spice.scm | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 139ef4867e..c513e3db13 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -178,23 +178,23 @@ (define-public spice-gtk `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))))))) (native-inputs - `(("glib:bin" ,glib "bin") - ("intltool" ,intltool) - ("pkg-config" ,pkg-config) - ("vala" ,vala))) + (list `(,glib "bin") + intltool + pkg-config + 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))) + (list glib-networking + gobject-introspection + json-glib + libepoxy + libjpeg-turbo + libxcb + lz4 + mesa + pulseaudio + python + opus + usbredir)) (propagated-inputs (list gstreamer gst-plugins-base From patchwork Fri Feb 17 17:00:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47057 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 575B1168B2; Fri, 17 Feb 2023 17:04:44 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7185A16793 for ; Fri, 17 Feb 2023 17:04:43 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT47u-0006uM-Sb; 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-0006iC-Kh 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 1pT47X-0000KI-9w for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47X-00081n-0o for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 03/21] gnu: spice-gtk: Use gexps. 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.167665328530580 (code B ref 61576); Fri, 17 Feb 2023 17:02:02 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:25 +0000 Received: from localhost ([127.0.0.1]:41332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT46u-0007wx-PF for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:25 -0500 Received: from mail-qt1-f174.google.com ([209.85.160.174]:39922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT46r-0007wA-Ik for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:22 -0500 Received: by mail-qt1-f174.google.com with SMTP id e26so1468182qtq.6 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TQmVNxlk2lY22wiPRwEGEg1OW1I0We6KY3fnqk0d0Bk=; b=SCIYMx+6Wm7dwHjGFpDDJ8PEsB98uwMJ6f6hBGREn63TVAzG7M7JGXN01nsoiL4lbk x0vluwLhNVzMHq+QwEi78D2yqm1R3RXtZ6sq4XKyVxynpVekn3AhVNz7qi6ogze6dJa1 31dStZQHeNkAppfxVH8pyKKuUiAUxiL8+xH8KVKwRyFo3X+pAXQiuK57Rku7NpAdTOu5 pyiVZS5n5uKv+zBu5bczFIlRqxCAmEEbFbZlhum/Cc1B9M3RWIZEOWoE+vx8q2/pSQvk ri7MLGDPCpBnbOxcrsxc2hWNFFfCmftUX22ZP9Gq1fhbYBk//MI4pPa0OthlWszS/Am7 zrgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TQmVNxlk2lY22wiPRwEGEg1OW1I0We6KY3fnqk0d0Bk=; b=WVImNdICPuirsPeMk0VQ19t207JfVMr0ol/3g6jTPEwQytQ6CYGBt8DUIjQklm5IRK rk5rGsV65C4sy1k/SxlmVU9sfeyy5F34M/9aEUcAJyuSQJvqisB6aSAgEtfQie0yQrBl RN01+6tBoZ2kd84kSLIhFzkelT5/TE9lwIvT2yYlhuA5QztHs1XaPPtvYznLjoof6x+V R/IYxypIa0c/KYdxZrtk8TyHjmy/MBGqk5xj2Abu/jCgLlLnDg+Mthn8ID3aHwinSBqG 2iTVxstyBt8c80HQOOsEnUa7ure/5AB1EUqVMZqQkroovrrUeTxr5upPP/cJqOWxuC9S TYNw== X-Gm-Message-State: AO0yUKVHnybJY9Llj54Qj0Z6ZXCllxlWpvXc5U8nsofiVRl/TMGQUx2h rzZvKojptRFOUPdPENzGTgKiH3bjCFiiODoZ X-Google-Smtp-Source: AK7set8bGVQoCw9RyyRkItvJuuS9tyu4gvs6CR3nxN6FDXbY0j6w+JcKQjQTz0tZ2VYUqpMte+4lJA== X-Received: by 2002:a05:622a:287:b0:3b9:b42a:7fb5 with SMTP id z7-20020a05622a028700b003b9b42a7fb5mr17937004qtw.56.1676653275835; Fri, 17 Feb 2023 09:01:15 -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.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:15 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:44 -0500 Message-Id: <20230217170103.10147-4-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/spice.scm (spice-gtk) [arguments]: Streamline and use gexps. --- gnu/packages/spice.scm | 59 +++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index c513e3db13..3d625a063a 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2018–2021 Tobias Geerinckx-Rice ;;; Copyright © 2019 Rutger Helling ;;; Copyright © 2019, 2020, 2022 Marius Bakke -;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2022, 2023 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -148,35 +148,34 @@ (define-public spice-gtk "1drvj8y35gnxbnrxsipwi15yh0vs9ixzv4wslz6r3lra8w3bfa0z")))) (build-system gnu-build-system) (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\\) ") "")))) - (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))))))))) + (list + #:configure-flags #~(list "--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 _ + ;; Add an absolute reference for libjpeg in the .la files + ;; so it does not have to be propagated. + (substitute* (find-files (string-append #$output "/lib") + "\\.la$") + (("-ljpeg") + (string-append "-L" #$(this-package-input "libjpeg-turbo") + "/lib -ljpeg"))))) + (add-after 'install 'wrap-spicy + (lambda* (#:key outputs #:allow-other-keys) + (wrap-program (search-input-file outputs "bin/spicy") + `("GST_PLUGIN_SYSTEM_PATH" ":" + prefix (,(getenv "GST_PLUGIN_SYSTEM_PATH"))))))))) (native-inputs (list `(,glib "bin") intltool From patchwork Fri Feb 17 17:00:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47042 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AB3D11685E; Fri, 17 Feb 2023 17:02:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CDE471688A for ; Fri, 17 Feb 2023 17:02:40 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT47w-000726-J3; Fri, 17 Feb 2023 12:02:28 -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-0006iE-TZ 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 1pT47X-0000KX-KO for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47X-00081u-GJ for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 04/21] gnu: spice-gtk: Update to 0.42. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:03 +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.167665328630592 (code B ref 61576); Fri, 17 Feb 2023 17:02:03 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:26 +0000 Received: from localhost ([127.0.0.1]:41334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT46v-0007xB-Dp for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:26 -0500 Received: from mail-qt1-f169.google.com ([209.85.160.169]:45574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT46t-0007wC-0v for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:23 -0500 Received: by mail-qt1-f169.google.com with SMTP id d10so1417559qtr.12 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lIEDo5NN5hcku7eWGJCBmtsAcCxJI78tYCrfEOPVsuM=; b=I3sOYY+mkqKVsrJrNTaGVArt9zvh4pdjeRSLiNouHOuafHZYdv4MBE8uDKWUl6GJWa 0OuGJbHhA+a5Kw9ntjwj5yvVEnZnXy8VXnNYsFtDi1uj5DzmR9Jwl08KSXU43d/TmmD2 aXZOs32+ckwWQ7UC3Di3eFNyzetlWZ5Oz5mJL+nMEF0i6LNiN3vwtLW/3Wk9RbOPMTFS +CfTOlfX62uEcMSAGrmT1s6QgPikutLSmuCRHMiRVAZxYqv51CnH/w5dR88W+jSpSQNq LHjRrPDzWXUuMpL8zgTLTmG5ROC8kfNqU0N58ReKPM89rdVCj69EeJs/9OD0yOpTVRHQ Vw7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lIEDo5NN5hcku7eWGJCBmtsAcCxJI78tYCrfEOPVsuM=; b=F0vtfPmZ4KEtfXKvih44ojNeCqV+KI17PHCp0v4NZrDFBU+kyaDEVr210C3t/uBudw lA8j9XE4C9ivUGzdbFNWZrnpXbEwYIOzVCPqKOQRIlFOCFn50MScD86rjUOSd1eVutzg 037Y6FOY4yZLKPwRJmGBuKHmSOM1jOaDizyljho+brj8Dp5oJmKleg6FopOU4jIOAvOZ cwLtYh8K3AE2bAigk9F1QroqyvdRLkWOK7w7EEmlAkoxAE4dYmAoKhBOtg0oJtnGjauC LVHS7GeIjdtocS0icR4/bPbdNQbq9KmfshPGwHMVzOsaRKokuc2cuIGVSeRoTq1r8Dhy WUxw== X-Gm-Message-State: AO0yUKWpbomv2Q8avcBKg/eDWHLrOX2hdJv4qxlQ2Akgh3D++34jVaw3 ZZkuKcvSwPCpClDXR4njJ65a2tJVgQbTZgk6 X-Google-Smtp-Source: AK7set87/rUuxcHkJU6EQ859DxG5ICz/qY53ZE7tyQletccz7peRb9vDKUGyYLhib7JVW7+6sqCQUQ== X-Received: by 2002:ac8:5854:0:b0:3bb:98c5:1685 with SMTP id h20-20020ac85854000000b003bb98c51685mr2292479qth.50.1676653277352; Fri, 17 Feb 2023 09:01:17 -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.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:17 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:45 -0500 Message-Id: <20230217170103.10147-5-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/spice.scm (spice-gtk): Update to 0.42. [build-system]: Use meson-build-system. [arguments]: Remove configure-flags. Rename disable-session-test phase to disable-problematic-tests, and adjust. Remove the patch-la-files phase. [native-inputs]: Add python, python-pyparsing and python-six. [inputs]: Remove python. --- gnu/packages/spice.scm | 41 +++++++++++++++++------------------------ 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 3d625a063a..f67a049176 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -41,6 +41,8 @@ (define-module (gnu packages spice) #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages python-build) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages security-token) #:use-module (gnu packages tls) #:use-module (gnu packages virtualization) @@ -137,40 +139,29 @@ (define-public spice-protocol (define-public spice-gtk (package (name "spice-gtk") - (version "0.37") + (version "0.42") (source (origin (method url-fetch) (uri (string-append "https://spice-space.org/download/gtk/" - "spice-gtk-" version ".tar.bz2")) + "spice-gtk-" version ".tar.xz")) (sha256 (base32 - "1drvj8y35gnxbnrxsipwi15yh0vs9ixzv4wslz6r3lra8w3bfa0z")))) - (build-system gnu-build-system) + "0n3s1rn7yzs28hnl9k6ql3a90qlv8w16djqj32m1zb8i31zi304k")))) + (build-system meson-build-system) (arguments (list - #:configure-flags #~(list "--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 + (add-after 'unpack 'disable-problematic-tests (lambda _ - ;; Add an absolute reference for libjpeg in the .la files - ;; so it does not have to be propagated. - (substitute* (find-files (string-append #$output "/lib") - "\\.la$") - (("-ljpeg") - (string-append "-L" #$(this-package-input "libjpeg-turbo") - "/lib -ljpeg"))))) + ;; XXX: Disable the session and cd-emu tests, because they + ;; require USB support, which is not available in the build + ;; container. + (substitute* "tests/meson.build" + ((".*'session.c',.*") "") + (("tests_sources \\+= 'cd-emu.c'" all) + (string-append "# " all))))) (add-after 'install 'wrap-spicy (lambda* (#:key outputs #:allow-other-keys) (wrap-program (search-input-file outputs "bin/spicy") @@ -180,6 +171,9 @@ (define-public spice-gtk (list `(,glib "bin") intltool pkg-config + python + python-pyparsing + python-six vala)) (inputs (list glib-networking @@ -191,7 +185,6 @@ (define-public spice-gtk lz4 mesa pulseaudio - python opus usbredir)) (propagated-inputs From patchwork Fri Feb 17 17:00:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47049 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C06B4168B2; Fri, 17 Feb 2023 17:03:18 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D5B7416793 for ; Fri, 17 Feb 2023 17:03:16 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT483-0007LT-O8; Fri, 17 Feb 2023 12:02:35 -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 1pT47Y-0006iF-IT for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:08 -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 1pT47Y-0000Kk-6f for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47X-000822-VT for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 05/21] gnu: spice-gtk: Propagate libjpeg-turbo, lz4, opus, and usbredir. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:03 +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.167665329230632 (code B ref 61576); Fri, 17 Feb 2023 17:02:03 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:32 +0000 Received: from localhost ([127.0.0.1]:41341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT472-0007xy-7n for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:32 -0500 Received: from mail-qt1-f178.google.com ([209.85.160.178]:37387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT46u-0007wE-8Z for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:24 -0500 Received: by mail-qt1-f178.google.com with SMTP id a27so1421094qto.4 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=WEfexClEANBUJvEacdFgKhHgdviHT5u4XUr/TxugpPE=; b=bAh3XDgv3+rrI4WUEg8uj5dg2RTHp+O/s3opHk/tlXZtG4z8dhQuK+O45rONESabSL jN3cK0StKEkZgsryqO2O/h9lGZdHSM8d6ZeCnaNKE/CklO3AGw0WoddekwGgNTUAUVZ8 kBebjChAZZAnna6nQB5vI2rTdTCBPn8rVfymBHCmOYwANE1RwiXEl01eIQlLXe2kJ7HN 34E5Zqp10qQUuIOp2CO5x5nkPSmwtTW/LShELK4GQPZOkI2oJpNjnlrglVZX4Qx/KRoc 7Ce8tj9LAXeQ46yt2KG6LU6Ca2+M0eW9WZhGKlHPYzhuaK+ELMaU1Q4FmqaZniV8XSdu 48TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WEfexClEANBUJvEacdFgKhHgdviHT5u4XUr/TxugpPE=; b=14X+88V9Q48ibkFUrNwoioU75suoFItfrfe19b3cbxPiJiATXuGfXe9P4HL6rGOIjJ +qW85UaKh9nhH8Ivt1ngytCe7pE+4+cFHXlsPNLjqwWPzqGRPRxauVQ/4k+3LvjmO+2d A7Bv/Ds6DlUZkS5xBSizqPHqnW9uPFlZLQXZaRA5sYU+B4V/7I5MBqSbg9R9/cWHpSJr P2G0FyLI0FcEHRxd4+yYfXSKew2H/7vA2i9pfnRCzrfHDmur95N0NrPaYOeGg9oSGfWn uoQEnG8oECGecpmeX8jo+uM7cSOIwzKoPcghw5iWayZfOYwSUtn3kOFb47ASEux9UrwC Oxmw== X-Gm-Message-State: AO0yUKVU2ZJEXEXHS/OBD3Dj9ikm1ESpimT8i5sH2+NxBsT9xINRYGmC 3LsPVIenfHOwYiswu43cNvh1sdKozba0ZiPp X-Google-Smtp-Source: AK7set88eHbaQQjdpSgWMBhYlU0mwnEvRPrV3EtCk0QfEf7xX++toWp/J5GdYF0gYaJVLbLtasW1aQ== X-Received: by 2002:a05:622a:8a:b0:3b8:6a90:ece5 with SMTP id o10-20020a05622a008a00b003b86a90ece5mr16711410qtw.62.1676653278629; Fri, 17 Feb 2023 09:01:18 -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.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:18 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:46 -0500 Message-Id: <20230217170103.10147-6-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/spice.scm (spice-gtk) [inputs]: Move libjpeg-turbo, lz4, opus, and usbredir to... [propagated-inputs]: ... here. --- gnu/packages/spice.scm | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index f67a049176..2309287bbb 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -180,22 +180,23 @@ (define-public spice-gtk gobject-introspection json-glib libepoxy - libjpeg-turbo libxcb - lz4 mesa - pulseaudio - opus - usbredir)) + pulseaudio)) (propagated-inputs (list gstreamer gst-plugins-base gst-plugins-good spice-protocol - ;; These are required by the pkg-config files. + ;; These are required by the pkg-config files (needed for example + ;; when building GNOME Boxes). gtk+ + openssl-1.1 + opus + libjpeg-turbo + lz4 pixman - openssl-1.1)) + usbredir)) (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") From patchwork Fri Feb 17 17:00:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47043 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1B577168B2; Fri, 17 Feb 2023 17:02:47 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6E55616793 for ; Fri, 17 Feb 2023 17:02:46 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT47x-00074V-C5; Fri, 17 Feb 2023 12:02:29 -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 1pT47Y-0006iJ-Sl for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:09 -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 1pT47Y-0000Ks-Jp for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47Y-000829-FY for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 06/21] gnu: spice-protocol: Update to 0.14.4. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:04 +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.167665329330642 (code B ref 61576); Fri, 17 Feb 2023 17:02:04 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:33 +0000 Received: from localhost ([127.0.0.1]:41343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT472-0007y1-PE for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:33 -0500 Received: from mail-qt1-f172.google.com ([209.85.160.172]:42931) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT46v-0007wN-Fr for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:26 -0500 Received: by mail-qt1-f172.google.com with SMTP id t8so1236635qtp.9 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0HTrx9WmdCra7KlaB+KC23J0nO5elHAn86CIslIKWYs=; b=n69IsWCDnjfc828Lyyt3KWAVvF/gKEDL80SfgPZEVSGydreD6Vd+vVH+ybj0kwIi/+ FDJy57+YntpYh3kTxW7S7885ZAce7fUsF20PBYlILcn7u7Y38SjqxeS4lyVbp4UwyFxc XjL0VPwb3h4w+bk6jjDujZrj6AtpRVKmDNvKSroFhfk+vcUeEi+2quLNI4zKypzxACrE v7Mg6QrOBZamKCu5VetTOLr57Pgo/VZPTBFiCZeiO49L07wkksJ38F8X7DLnt+lOVReN /+3SkP4uX9ttfx78x/5oRpOPH6JtAKkHYkjldEFIOGZrWE+XCp4MWOB+MBemseCSTMtT 8IRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0HTrx9WmdCra7KlaB+KC23J0nO5elHAn86CIslIKWYs=; b=ylgA9YIzilNpxz/p1Uupb8xUtWYneAt0L50xhelfBQBLXMKgfXCpgHbQ4EZCW0Nbmj DCoBgP0hX5+dcYpPa9nG+DJVPFQeXdQKtJJn8pvhb83gMGJgmRj3+rZowX9K6coBH/Bg pVP8oCAJRAf9dmOkoHcpH6epFkA4usBWo4XBNbc5A2cx5hhc2YA3no1sJ2W4sjM2082b LL/SmvbFym31bpxz2Tnw6aTOzoZh+FfuBv5Xtc3OgYDC5at4oAaPKqILQPJ+u1vDmr9G g+wMDEdZA/4k/Bn9HLxs00kOS/RSw6NW1fPYkVz8Nlovm2Mvj4w9xsBan9rLpKUd7p15 qjBQ== X-Gm-Message-State: AO0yUKXrXOcCERuAkdy1lukKv8EAdHSSWwM9fC3R9j1yqJ0meYEtbcOJ 9LwhFCkPleokeQHLZpE3wTZnhOO/4/oUbt3T X-Google-Smtp-Source: AK7set8LXxAPRv1LrDCQFBlMXxF1KPh12TVTsDQS2PaXifAvlulD7MLbOXk5NsNaPshP4xBUniRgmg== X-Received: by 2002:ac8:5982:0:b0:3bc:ff12:e5c1 with SMTP id e2-20020ac85982000000b003bcff12e5c1mr1944154qte.33.1676653279866; Fri, 17 Feb 2023 09:01:19 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:19 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:47 -0500 Message-Id: <20230217170103.10147-7-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/spice.scm (spice-protocol): Update to 0.14.4. [arguments]: Use gexps. --- gnu/packages/spice.scm | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 2309287bbb..44bcd5156b 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -109,26 +109,24 @@ (define-public virglrenderer (define-public spice-protocol (package (name "spice-protocol") - (version "0.14.3") + (version "0.14.4") (source (origin (method url-fetch) (uri (string-append - "https://www.spice-space.org/download/releases/" - "spice-protocol-" version ".tar.xz")) + "https://www.spice-space.org/download/releases/" + "spice-protocol-" version ".tar.xz")) (sha256 (base32 - "0yj8k7gcirrsf21w0q6146n5g4nzn2pqky4p90n5760m5ayfb1pr")))) + "04nr2w6ymy5jinfi3lj6205yd5h0swss3ykxqk7l3m4z1mhvmzq4")))) (build-system meson-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'install-documentation - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (doc (string-append out "/share/doc/" - ,name "-" ,version))) - (install-file "COPYING" doc) - #t)))))) + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'install-documentation + (lambda _ + (install-file "COPYING" + (string-append #$output "/share/doc/" + #$name "-" #$version))))))) (synopsis "Protocol headers for the SPICE protocol") (description "SPICE (the Simple Protocol for Independent Computing Environments) is a remote-display system built for virtual environments From patchwork Fri Feb 17 17:00:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47045 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BE64816793; Fri, 17 Feb 2023 17:03:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9B3B816793 for ; Fri, 17 Feb 2023 17:03:09 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT485-0007ND-GB; Fri, 17 Feb 2023 12:02:37 -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 1pT47Z-0006mA-SV for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:09 -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 1pT47Z-0000L4-Cs for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47Z-00082O-9G for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 07/21] gnu: usbredir: Update to 0.13.0. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:05 +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.167665329430673 (code B ref 61576); Fri, 17 Feb 2023 17:02:05 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:34 +0000 Received: from localhost ([127.0.0.1]:41350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT474-0007yN-0r for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:34 -0500 Received: from mail-qt1-f178.google.com ([209.85.160.178]:34429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT46x-0007wX-D3 for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:27 -0500 Received: by mail-qt1-f178.google.com with SMTP id l23so1330093qtj.1 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AEfr4+rIDfr3I1vmzIyD0re0aBtrCFb/kr9HYeFnVM0=; b=kb0XyiG4wshC5frMWh6H8Qd70MfeifMeN2NOrihkMBsX7XvSI8j0RsyWPHlFQpEZPd XaIve9wUuIKJuBVJCDf52RrW96nD8j9RKj4/KttByjzkdot+J8N3QClr2Q8/LosyLl4K C6g0gyuQ5HDdaIAU2NkyELe3U8OWW4H+qZ0Yeej6nek/zhaTH6QTLDdFiJi+0v7MT4UQ xWl/nryvnpm1DXuXP1R0zwjdb5S17Ve2GW4wb6NWleiGK5BQ0cTo+jRrvL65wo+WwWQY tDSn8ZPnp6ap2zL7Zp33AB+a1BlY+embMdbU5zr8xvObY4gwIt1y65KWlscKybhFMQwT kqnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AEfr4+rIDfr3I1vmzIyD0re0aBtrCFb/kr9HYeFnVM0=; b=jcC2JNQg3VLycQqTnuIfjHJBGfi8mEG7VWrzVpOnbvUEFo0lFL8w7Gr2tRmElxMRfV 7ENXKaXXp/eCRA4jQa0dccYfF+Wt+ZvOf30wZTo1DkZ1IbVwfZezBYWTJELXCDxn2QiF 8qGyyDsomJZn47Sh4MfPIUEaeeNSMn6wRxFBqPgHLox9rWJ5O83waO7clW/WjmXrd2KU WA+2JxaRgPI1NDIMivJlqFC+cY5v+fM6v3WRPa8wI4DhzdZT9EsEncfrCACWG8OeoXLG n/0KWCxvmcHEPeELVOaoOkE3fSrcaQIMBo4GpZILy2rzoZlBH0C9ifPZDij9FrSIGt/U 7gqw== X-Gm-Message-State: AO0yUKWcEWTTEi9M5r6RrlCcpc39eaay6hptd7Kkwa/X8YWIpQ6WQUDc MtIJxNIiBiLltBA1OTzzOBag5RV5VNci9FIA X-Google-Smtp-Source: AK7set+Kf4gCE2yBp/noterOCIHMLozNEyAItYUiZRUGh7EkDetwzY3ZohKIl4wm/Ui5PyoSjppSMg== X-Received: by 2002:a05:622a:1741:b0:3a8:dae:d985 with SMTP id l1-20020a05622a174100b003a80daed985mr10606369qtk.14.1676653281013; Fri, 17 Feb 2023 09:01:21 -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.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:20 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:48 -0500 Message-Id: <20230217170103.10147-8-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/spice.scm (usbredir): Update to 0.13.0. [inputs]: Add glib. [native-inputs]: Remove autoconf, automake, and libtool. --- gnu/packages/spice.scm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 44bcd5156b..fc63b7228f 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -62,19 +62,18 @@ (define-public usbredir (package (name "usbredir") (home-page "https://spice-space.org") - (version "0.9.0") + (version "0.13.0") (source (origin (method url-fetch) (uri (string-append home-page "/download/" name "/" name "-" version ".tar.xz")) (sha256 (base32 - "19jnpzlanq0a1m5lmlcsp50wxf7icxvpvclx7hnf0zxw8azngqd3")))) - (build-system gnu-build-system) - (propagated-inputs - (list libusb)) - (native-inputs - (list autoconf automake libtool pkg-config)) + "0vn4gnd8nmnrvvj2rm7akf4sbcslmdk3v22k9kmxxrha5jhgm9jb")))) + (build-system meson-build-system) + (propagated-inputs (list libusb)) + (inputs (list glib)) + (native-inputs (list pkg-config)) (synopsis "Tools for sending USB device traffic over a network") (description "Usbredir is a network protocol for sending USB device traffic over a From patchwork Fri Feb 17 17:00:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47046 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 825041685E; Fri, 17 Feb 2023 17:03:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B11311688A for ; Fri, 17 Feb 2023 17:03:09 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT47w-00070o-7f; Fri, 17 Feb 2023 12:02:28 -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 1pT47a-0006me-OO for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:09 -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 1pT47Z-0000LD-Qh for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47Z-00082V-MA for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 08/21] gnu: virglrenderer: Update to 0.7.0. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:05 +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.167665329530687 (code B ref 61576); Fri, 17 Feb 2023 17:02:05 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:35 +0000 Received: from localhost ([127.0.0.1]:41352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT474-0007yg-P7 for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:35 -0500 Received: from mail-qt1-f182.google.com ([209.85.160.182]:42947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT46y-0007wl-G9 for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:29 -0500 Received: by mail-qt1-f182.google.com with SMTP id t8so1236811qtp.9 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/6A4ZcW4y0X5lFulIAqBO0bzLipVlR1uW4wgJ0n4m7Q=; b=Usj8QOC+y+Du111htCMZhhKzWCPCynWqksmC+zxAwD3QgkOduX+tSvn1CNxmZuhTNQ vn/LZTxA+Z9aYokYngG7KRbwsKIYJ5m1IbBA6uxwp3VdDcgXrr53fwXv5eGZ1Z5yxSDa 5gBI/+weUirHz8JDy3gSvMHibpxhhBidfl50sHH4hQfF6EznkhI68lW1EF7jYhDvT708 j0U8A0kEl51UKArOasW72Y7HK+Mf5O/yTK2uWgSlyQf7YTjUijgU9uKUjtywrddDFpdY bxBYjfteNEt1cvWmkVFqd5mX4FjQUbdJ/JcAJMLG2GmBt1N2X80cUW9p0+E7eiURWGJU 6FdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/6A4ZcW4y0X5lFulIAqBO0bzLipVlR1uW4wgJ0n4m7Q=; b=UvQtfQRnz3BQlJk8JogCMAR0i2DV78meIqOs41o4tWYa+YZxRcPd0rxObXrmb/egXN MfOPD1TVYsItWi0ZImdn2CrMElLxclAhI0z3BvV3+rPd4Tb8oUhlDUVh3ax3M6rDmJR0 SZ5KwoCwXIK4B4g/jvb3j3fTsAPTLI8qW6Y1xtyrYMIj0jLtu2Ir1x24/3XkSoXKxkbs BhxlHGZb2lrZt9yGEjNNxWc+L3F3HR25YPQN1ai1maQo2Q6Dw9TN/0Bh5GMIM/qz3X0C grXgKQAkrH/XIrtiSrEEoEdCFMP7GCt1mWLNETORMFIsqm1De8uO1sMxTX+k9t5zMYK8 zxTw== X-Gm-Message-State: AO0yUKUJeq48umftAI4nrb2JZhYSmz2vAXfJghkXPKduPOf9wL3XVEqu SEyTgZoF25EFHBA9dZXwS3mL4WZx9eVcoF64 X-Google-Smtp-Source: AK7set+WGW2dZST3vrPK554Ft4tyiF6N+9zs9QEdBX8Zpy7p8jFvBKCFMbusMZfhqZaK1jCyRtRa6A== X-Received: by 2002:a05:622a:1051:b0:3b8:2ce4:3e9 with SMTP id f17-20020a05622a105100b003b82ce403e9mr3742454qte.32.1676653282869; Fri, 17 Feb 2023 09:01:22 -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.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:22 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:49 -0500 Message-Id: <20230217170103.10147-9-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/spice.scm (virglrenderer): Update to 0.7.0. Remove patch. Re-indent and sort inputs. * gnu/packages/patches/virglrenderer-CVE-2017-6386.patch: Delete file. * gnu/local.mk (dist_patch_DATA): De-register it. --- gnu/local.mk | 1 - .../patches/virglrenderer-CVE-2017-6386.patch | 54 ------------------- gnu/packages/spice.scm | 11 ++-- 3 files changed, 4 insertions(+), 62 deletions(-) delete mode 100644 gnu/packages/patches/virglrenderer-CVE-2017-6386.patch diff --git a/gnu/local.mk b/gnu/local.mk index 5fcbdd4586..19bb32c95e 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1985,7 +1985,6 @@ dist_patch_DATA = \ %D%/packages/patches/vboot-utils-skip-test-workbuf.patch \ %D%/packages/patches/vinagre-newer-freerdp.patch \ %D%/packages/patches/vinagre-newer-rdp-parameters.patch \ - %D%/packages/patches/virglrenderer-CVE-2017-6386.patch \ %D%/packages/patches/virtuoso-ose-remove-pre-built-jar-files.patch \ %D%/packages/patches/vsearch-unbundle-cityhash.patch \ %D%/packages/patches/vte-CVE-2012-2738-pt1.patch \ diff --git a/gnu/packages/patches/virglrenderer-CVE-2017-6386.patch b/gnu/packages/patches/virglrenderer-CVE-2017-6386.patch deleted file mode 100644 index bd3bf106bf..0000000000 --- a/gnu/packages/patches/virglrenderer-CVE-2017-6386.patch +++ /dev/null @@ -1,54 +0,0 @@ -Fix CVE-2017-6386 (memory leak introduced by fix for CVE-2017-5994). - -https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5994 - -Patch copied from upstream source repository: - -https://cgit.freedesktop.org/virglrenderer/commit/?id=737c3350850ca4dbc5633b3bdb4118176ce59920 - -From 737c3350850ca4dbc5633b3bdb4118176ce59920 Mon Sep 17 00:00:00 2001 -From: Dave Airlie -Date: Tue, 28 Feb 2017 14:52:09 +1000 -Subject: renderer: fix memory leak in vertex elements state create - -Reported-by: Li Qiang -Free the vertex array in error path. -This was introduced by this commit: -renderer: fix heap overflow in vertex elements state create. - -I rewrote the code to not require the allocation in the first -place if we have an error, seems nicer. - -Signed-off-by: Dave Airlie - -diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c -index 1bca7ad..e5d9f5c 100644 ---- a/src/vrend_renderer.c -+++ b/src/vrend_renderer.c -@@ -1648,18 +1648,19 @@ int vrend_create_vertex_elements_state(struct vrend_context *ctx, - unsigned num_elements, - const struct pipe_vertex_element *elements) - { -- struct vrend_vertex_element_array *v = CALLOC_STRUCT(vrend_vertex_element_array); -+ struct vrend_vertex_element_array *v; - const struct util_format_description *desc; - GLenum type; - int i; - uint32_t ret_handle; - -- if (!v) -- return ENOMEM; -- - if (num_elements > PIPE_MAX_ATTRIBS) - return EINVAL; - -+ v = CALLOC_STRUCT(vrend_vertex_element_array); -+ if (!v) -+ return ENOMEM; -+ - v->count = num_elements; - for (i = 0; i < num_elements; i++) { - memcpy(&v->elements[i].base, &elements[i], sizeof(struct pipe_vertex_element)); --- -cgit v0.10.2 - diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index fc63b7228f..46bb9844f2 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -84,21 +84,18 @@ (define-public usbredir (define-public virglrenderer (package (name "virglrenderer") - (version "0.6.0") + (version "0.7.0") (source (origin (method url-fetch) (uri (string-append "https://www.freedesktop.org/software/virgl/" "virglrenderer-" version ".tar.bz2")) - (patches (search-patches "virglrenderer-CVE-2017-6386.patch")) (sha256 (base32 - "06kf0q4l52gzx5p63l8850hff8pmhp7xv1hk8zgx2apbw18y6jd5")))) + "041agg1d6i8hg250y30f08n3via0hs9rbijxdrfifb8ara805v0m")))) (build-system gnu-build-system) - (inputs - (list libepoxy mesa eudev)) - (native-inputs - (list pkg-config)) + (inputs (list eudev libepoxy mesa)) + (native-inputs (list pkg-config)) (synopsis "Virtual 3D GPU library") (description "A virtual 3D GPU library that enables a virtualized operating system to use the host GPU to accelerate 3D rendering.") From patchwork Fri Feb 17 17:00:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47052 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 16F4D1688A; Fri, 17 Feb 2023 17:03:55 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8C63B16793 for ; Fri, 17 Feb 2023 17:03:53 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT47w-00072U-OG; Fri, 17 Feb 2023 12:02:28 -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 1pT47a-0006mf-OP for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:08 -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 1pT47a-0000LU-Aw for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47a-00082c-3V for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 09/21] gnu: libcacard: Remove obsolete configure flags. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:06 +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.167665329630701 (code B ref 61576); Fri, 17 Feb 2023 17:02:06 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:36 +0000 Received: from localhost ([127.0.0.1]:41356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT475-0007yq-JY for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:36 -0500 Received: from mail-qt1-f171.google.com ([209.85.160.171]:37391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT46z-0007wv-Ne for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:29 -0500 Received: by mail-qt1-f171.google.com with SMTP id a27so1421361qto.4 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cm+OlbpWdh+c29OMXPZC9bXrB/sivTa1W+n2Xu67sE8=; b=fNOE5WBUBlJsHP4a7/1/eatLwyDSDKvt+7Ap02FPmf09EHtJqeGA0nr9SOlKm9aLsf JpTyy7rijUgW+gX1S7Bj+O6r1q62y82vOhX/OnOSlVYT++sLLWnsJctfgBkIAQqrvyr0 bMc8oAOjXL+JDvrc+XnTNGZ2BIbJAoyJyAgF177I+z6T+3JZvtgfdDkP7ofXkEe1fLjg V9oXk+BAYs1IpaefI9RiaP/friAF9Em2vs01d59lyp5m7Jcn1LURexGO+dLUvUApaxb/ EE04rk5NPJ01uF4qM6QB78DfCj/eUcG5aNJuZk7pmhtU1ybeOKjrmJvFoZNK0Y3JH8lu VLcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cm+OlbpWdh+c29OMXPZC9bXrB/sivTa1W+n2Xu67sE8=; b=bPEa7vYtMUmg1dApRFKsnS6r7MNa5/hT7OrGLHjWSli/SBu6eNCdjYbWUiuEjUSHjY hR6toc1gVksCBNfyZ3Z9Nlt98XKC31OtTjBDP2C84qB+A+UhQ5FKpWybN39v83BQbmP0 QWksgZ7eAVIb1qb0C9zw12HHfwbZnvVa/B6MJj+hsD9xcB8MRl5HN2LCMI0rNDRifwcg Y5khXx9FcHBThRRf4WydbjqJM7UgojVwAxzh44Meuqg5AZFJYHaUU95Dgk/XpAJf1O7J 2PWS2OlOdmRphtasbJwB9yjoge6gd14Yn5mqgf3PDCMkq5Fz1lzB3k2K6Uu5P03eX2RV G1gw== X-Gm-Message-State: AO0yUKXYOYsiyd5dlpTwQLdRZDWljFP3KSathmDEQS2hKo3GOxuyQi3Q gAFRENeusS//w/BzW/e8IeX+pcUOPVeCTPk0 X-Google-Smtp-Source: AK7set++6DdjjwjT+dYVdF0hIScPSnP1uTkuLfYavyOqoj7n0dljMzJ8trftTKgUVU9TViVjYD7QQg== X-Received: by 2002:ac8:5e09:0:b0:3b6:35cb:b946 with SMTP id h9-20020ac85e09000000b003b635cbb946mr2383208qtx.14.1676653284156; Fri, 17 Feb 2023 09:01:24 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:23 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:50 -0500 Message-Id: <20230217170103.10147-10-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/spice.scm (libcacard) [arguments]: Delete field. [propagated-inputs]: Reword comment. --- gnu/packages/spice.scm | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 46bb9844f2..191495b5fc 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -329,17 +329,11 @@ (define-public libcacard (base32 "1rrjlclm6ad63gah1fa4yfwrz4z6vgq2yrybbvzvvdbxrgl4vgzv")))) (build-system meson-build-system) - (arguments - (list #:configure-flags - ;; XXX: For some reason NSS is not automatically added on RUNPATH - ;; with newer versions of Meson (after 0.60). - #~(list (string-append "-Dc_link_args=-Wl,-rpath=" - (search-input-directory - %build-inputs "lib/nss"))))) (propagated-inputs - (list glib ; Requires: in the pkg-config file - nss ; Requires.private: in the pkg-config - pcsc-lite)) ; file + ;; The following inputs are required in the pkg-config file. + (list glib + nss + pcsc-lite)) (native-inputs (list openssl `(,nss "bin") From patchwork Fri Feb 17 17:00:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47059 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7AE37168F8; Fri, 17 Feb 2023 17:04:49 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E1B911688A for ; Fri, 17 Feb 2023 17:04:47 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT484-0007MM-6p; Fri, 17 Feb 2023 12:02:36 -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 1pT47Z-0006is-GT for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:09 -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 1pT47Z-0000Ky-1Q for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47Y-00082G-TQ for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 10/21] gnu: spice: Update to 0.15.1. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:04 +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.167665329430655 (code B ref 61576); Fri, 17 Feb 2023 17:02:04 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:34 +0000 Received: from localhost ([127.0.0.1]:41346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT473-0007yB-9Z for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:33 -0500 Received: from mail-qt1-f178.google.com ([209.85.160.178]:37387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT46v-0007wE-Q9 for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:26 -0500 Received: by mail-qt1-f178.google.com with SMTP id a27so1421414qto.4 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wuT8o+kAOqds1lgUWHhRT8ivpIZ+02sofY2tU4WkYJQ=; b=MFlfZl5M2kKmf5Lr5MNZDxCr3xQTZPAqGPmeZUTSmJdobElafg9+2OqzVFwDvKQxzV d+Wsgg8sPjTYFWByHElH/0MqiN8jHcrCA2zDPPz6f3EZR+w8qfxhYIT/IPtqgv++P5QY 2OPbVtALxjxWDRtNV3YXTAsXxiyz44T31AEQ2YjWU0HYUxDe54WjzYL+t7fkI55EvRKF MBI07C82mokRmLwqzBzXKLfQR3pIzUgBs5aTyqIeSQE0YvPxIlW2bzTjPAMwxZicmOIM HZIvKqliQFIEubXVqco8l3kCQW5A29S6Q674iFULQr/KmtpFjgrOo/O3hPH0h+ZwJITH PjBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wuT8o+kAOqds1lgUWHhRT8ivpIZ+02sofY2tU4WkYJQ=; b=pDa1fUSBKHXx5N7wHRb8eUsXf79/4XjEqreWWAQypI3TmK3wSbMXXN7zfjBEjhsKv/ OuIjt9mhX94ZsF0K6rzXX4g6MKGiHvUI+enZ6PKbNRAW59+h82Bm0OybMym3CjZAWsE7 KCaUpl5GC19AysAKba/iAVx6LsVk6XrCJ6/LvHrzNj7KgPgk7IqfnrpK5ynJEmeBZar2 lw6oNbdScEQDk3goFputMhk73z+oXvBar5GEMzWHg7oUmkPsEm+4uze/B+LB5RcpCtz8 ETSEuKh3YNKb2CZ7+WczWx1NKSPjQ03++hLCcd/Ccr7J1zw5GkbckBtoQIFOR7ZSaak8 6/cA== X-Gm-Message-State: AO0yUKW7Mfces3//OIuO0jhfPQvnqewQ6QkkzdrXfCcy1sTX6c31MfBX wPMEaYt0TUOXQwo9wl99q9xnKQ98yOYlSZRb X-Google-Smtp-Source: AK7set82UHnXk5YLkWrLn5uLHbldb/nHlKBWQgCq6+SFnVZyoSiymFyReoUe6f+fqIz1zqegvYuTwQ== X-Received: by 2002:a05:622a:b:b0:3bc:fa1a:6032 with SMTP id x11-20020a05622a000b00b003bcfa1a6032mr2817108qtw.24.1676653285361; Fri, 17 Feb 2023 09:01:25 -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.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:25 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:51 -0500 Message-Id: <20230217170103.10147-11-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/spice.scm (spice): Update to 0.15.1. --- gnu/packages/spice.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 191495b5fc..9483a5966d 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -199,7 +199,7 @@ (define-public spice-gtk (define-public spice (package (name "spice") - (version "0.15.0") + (version "0.15.1") (source (origin (method url-fetch) (uri (string-append @@ -207,7 +207,7 @@ (define-public spice "spice-server/spice-" version ".tar.bz2")) (sha256 (base32 - "1xd0xffw0g5vvwbq4ksmm3jjfq45f9dw20xpmi82g1fj9f7wy85k")))) + "0ym3n60gq0kzzknk5ir8ib09cxsak9hkv7mmgsyic69jmdkszadd")))) (build-system gnu-build-system) (propagated-inputs (list openssl-1.1 pixman spice-protocol)) From patchwork Fri Feb 17 17:00:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47051 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 90C471688A; Fri, 17 Feb 2023 17:03:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CD73C16793 for ; Fri, 17 Feb 2023 17:03:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT484-0007MQ-ED; Fri, 17 Feb 2023 12:02:36 -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 1pT47b-0006mi-MB for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:09 -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 1pT47a-0000Le-Oc for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47a-00082k-K8 for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 11/21] gnu: spice-vdagent: Update to 0.22.1. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:06 +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.167665330930755 (code B ref 61576); Fri, 17 Feb 2023 17:02:06 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:49 +0000 Received: from localhost ([127.0.0.1]:41364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT47I-0007zx-CG for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:48 -0500 Received: from mail-qt1-f172.google.com ([209.85.160.172]:36398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT472-0007xZ-Ny for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:33 -0500 Received: by mail-qt1-f172.google.com with SMTP id c11so265945qth.3 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pvBKBTtNPKU9AGyZzD+JogYY467AMm+79GM27Dphv08=; b=O6QDOU8NODvRHZgXFUul+vtkT9GLoF7aa/GtH/pR7z0+Kd0mjtZKzpmb9t6LAbZSAv JqyLMxfoAsPSxTKDVxrGWEu7M84GH0HddlxAke3w32DDJSFidPZakoM8pBQ82yBPrROy YBZTs0UhiiIf+8EjUy0/fWPcvaZ6hULsGbY3CnST0nrRf0TRsIdC5iesV68ez5LYGjml TxhC/YxQzpPjuRdLe2Px6rnnLNfl/uMiEyrCKKjFm9HpQu1YCI4Gs8vYbcFDALZCDoHG CYIKpL2abBEkVfB/BpQi7QHoDje6mYcosm9SS037g3VjI1H5andzMPtgbSjnP31KLPcX NRbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pvBKBTtNPKU9AGyZzD+JogYY467AMm+79GM27Dphv08=; b=cP5PVZV6pwxalvWpZudyKPmUL8aQ9QDgZHaw3U6BHCRBjfsExD90/xkOlOtJ3Ie5eH nL9a23HlpM4XSYk1tah+/wZdAdurkbGoAOYEhm0o42/vVwrAm1AMntqnqvsSPBV3fpCR QAVpq2pJjHF0Tt2SwyhNwS097yqFjcNY5JKSBWby3Sb/8UsULvBGvPZ1pNxrx6nqbEuy Vdxhr9ZTBgduNw7/FBbXqTaDhlkinUbFfXmWJqnguCTKbcDUhBKY/B4L9bMwtMDEduG8 T4YKstqxcY/ST72RFo3PNMfbNI+jIxMjrzF4o1IfLsPZNL0mDekNs4HxR77kSlRS3Vxh FHQw== X-Gm-Message-State: AO0yUKWGp3HQGXoj0/jNAR4RAXfka8HKf73+iIFTXEZqmO9LMevbLuHH P2bVbpiD3H7wdrBNHYMdiXkFcpE9H+MDnuAO X-Google-Smtp-Source: AK7set/XPhslQGFdRcSBoNENG53dTWOC4ssmPltgVn2J8NRC7NnvDwPbqzZqTpNMGtWK6552KlbaOA== X-Received: by 2002:a05:622a:144d:b0:3b9:b6e8:8670 with SMTP id v13-20020a05622a144d00b003b9b6e88670mr2069124qtx.51.1676653286617; Fri, 17 Feb 2023 09:01:26 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:26 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:52 -0500 Message-Id: <20230217170103.10147-12-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/spice.scm (spice-vdagent): Update to 0.22.1. [source]: Delete patch. * gnu/packages/patches/spice-vdagent-glib-2.68.patch: Delete file. * gnu/local.mk (dist_patch_DATA): De-register it. --- gnu/local.mk | 1 - .../patches/spice-vdagent-glib-2.68.patch | 112 ------------------ gnu/packages/spice.scm | 6 +- 3 files changed, 2 insertions(+), 117 deletions(-) delete mode 100644 gnu/packages/patches/spice-vdagent-glib-2.68.patch diff --git a/gnu/local.mk b/gnu/local.mk index 19bb32c95e..af34225bf9 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1868,7 +1868,6 @@ dist_patch_DATA = \ %D%/packages/patches/spectre-meltdown-checker-externalize-fwdb.patch \ %D%/packages/patches/spectre-meltdown-checker-find-kernel.patch \ %D%/packages/patches/sphinxbase-fix-doxygen.patch \ - %D%/packages/patches/spice-vdagent-glib-2.68.patch \ %D%/packages/patches/sssd-system-directories.patch \ %D%/packages/patches/steghide-fixes.patch \ %D%/packages/patches/suitesparse-mongoose-cmake.patch \ diff --git a/gnu/packages/patches/spice-vdagent-glib-2.68.patch b/gnu/packages/patches/spice-vdagent-glib-2.68.patch deleted file mode 100644 index cd5f13a909..0000000000 --- a/gnu/packages/patches/spice-vdagent-glib-2.68.patch +++ /dev/null @@ -1,112 +0,0 @@ -From 8348ef3c6121247e2b8be0641bbf3df3d55d9bff Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= -Date: Tue, 4 May 2021 13:20:47 +0400 -Subject: [PATCH] Fix g_memdup deprecation warning with glib >= 2.68 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Related to: -https://bugzilla.redhat.com/show_bug.cgi?id=1943059 - -Signed-off-by: Marc-André Lureau ---- - configure.ac | 4 ++++ - src/vdagent/vdagent.c | 4 ++-- - src/vdagent/x11-randr.c | 2 +- - src/vdagentd/vdagentd.c | 8 ++++---- - 4 files changed, 11 insertions(+), 7 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 7b2a99c..3de9b9b 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -124,6 +124,10 @@ PKG_CHECK_MODULES(ALSA, [alsa >= 1.0.22]) - PKG_CHECK_MODULES([DBUS], [dbus-1]) - PKG_CHECK_MODULES([DRM], [libdrm]) - -+PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.68], [], [ -+ AC_DEFINE(g_memdup2, g_memdup, [GLib2 < 2.68 compatibility]) -+]) -+ - if test "$with_session_info" = "auto" || test "$with_session_info" = "systemd"; then - PKG_CHECK_MODULES([LIBSYSTEMD_LOGIN], - [libsystemd >= 209], -diff --git a/src/vdagent/vdagent.c b/src/vdagent/vdagent.c -index 0c69907..fd08522 100644 ---- a/src/vdagent/vdagent.c -+++ b/src/vdagent/vdagent.c -@@ -228,7 +228,7 @@ static void daemon_read_complete(UdscsConnection *conn, - break; - case VDAGENTD_AUDIO_VOLUME_SYNC: { - VDAgentAudioVolumeSync *avs = (VDAgentAudioVolumeSync *)data; -- uint16_t *volume = g_memdup(avs->volume, sizeof(uint16_t) * avs->nchannels); -+ uint16_t *volume = g_memdup2(avs->volume, sizeof(uint16_t) * avs->nchannels); - - if (avs->is_playback) { - vdagent_audio_playback_sync(avs->mute, avs->nchannels, volume); -@@ -414,7 +414,7 @@ int main(int argc, char *argv[]) - GOptionContext *context; - GError *error = NULL; - VDAgent *agent; -- char **orig_argv = g_memdup(argv, sizeof(char*) * (argc+1)); -+ char **orig_argv = g_memdup2(argv, sizeof(char*) * (argc+1)); - orig_argv[argc] = NULL; /* To avoid clang analyzer false-positive */ - - context = g_option_context_new(NULL); -diff --git a/src/vdagent/x11-randr.c b/src/vdagent/x11-randr.c -index 27404a1..037aded 100644 ---- a/src/vdagent/x11-randr.c -+++ b/src/vdagent/x11-randr.c -@@ -982,7 +982,7 @@ void vdagent_x11_set_monitor_config(struct vdagent_x11 *x11, - fullscreen it will keep sending the failing config. */ - g_free(x11->randr.failed_conf); - x11->randr.failed_conf = -- g_memdup(mon_config, config_size(mon_config->num_of_monitors)); -+ g_memdup2(mon_config, config_size(mon_config->num_of_monitors)); - return; - } - } -diff --git a/src/vdagentd/vdagentd.c b/src/vdagentd/vdagentd.c -index 78378aa..3e59331 100644 ---- a/src/vdagentd/vdagentd.c -+++ b/src/vdagentd/vdagentd.c -@@ -216,7 +216,7 @@ static void do_client_monitors(VirtioPort *vport, int port_nr, - vdagentd_write_xorg_conf(new_monitors); - - g_free(mon_config); -- mon_config = g_memdup(new_monitors, size); -+ mon_config = g_memdup2(new_monitors, size); - - /* Send monitor config to currently active agent */ - if (active_session_conn) -@@ -249,7 +249,7 @@ static void do_client_capabilities(VirtioPort *vport, - { - capabilities_size = VD_AGENT_CAPS_SIZE_FROM_MSG_SIZE(message_header->size); - g_free(capabilities); -- capabilities = g_memdup(caps->caps, capabilities_size * sizeof(uint32_t)); -+ capabilities = g_memdup2(caps->caps, capabilities_size * sizeof(uint32_t)); - - if (caps->request) { - /* Report the previous client has disconnected. */ -@@ -647,7 +647,7 @@ static void virtio_port_read_complete( - case VD_AGENT_GRAPHICS_DEVICE_INFO: { - // store device info for re-sending when a session agent reconnects - g_free(device_info); -- device_info = g_memdup(data, message_header->size); -+ device_info = g_memdup2(data, message_header->size); - device_info_size = message_header->size; - forward_data_to_session_agent(VDAGENTD_GRAPHICS_DEVICE_INFO, data, message_header->size); - break; -@@ -1090,7 +1090,7 @@ static void do_agent_xorg_resolution(UdscsConnection *conn, - } - - g_free(agent_data->screen_info); -- agent_data->screen_info = g_memdup(data, header->size); -+ agent_data->screen_info = g_memdup2(data, header->size); - agent_data->width = header->arg1; - agent_data->height = header->arg2; - agent_data->screen_count = n; --- -GitLab - diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 9483a5966d..1654ae141e 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -253,7 +253,7 @@ (define-public spice (define-public spice-vdagent (package (name "spice-vdagent") - (version "0.21.0") + (version "0.22.1") (source (origin (method url-fetch) (uri (string-append @@ -261,9 +261,7 @@ (define-public spice-vdagent "spice-vdagent-" version ".tar.bz2")) (sha256 (base32 - "0n8jlc1pv6mkry161y656b1nk9hhhminjq6nymzmmyjl7k95ymzx")) - (patches - (search-patches "spice-vdagent-glib-2.68.patch")))) + "18472sqr0gibzgzi48dpcbnvm78l05qrl5wv6xywqqj7r9dd3c4k")))) (build-system gnu-build-system) (arguments `(#:configure-flags From patchwork Fri Feb 17 17:00:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47050 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4324D168B2; Fri, 17 Feb 2023 17:03:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 88AEB1688A for ; Fri, 17 Feb 2023 17:03:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT47y-00079f-SI; Fri, 17 Feb 2023 12:02:30 -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 1pT47b-0006mh-M8 for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:09 -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 1pT47b-0000Lj-5J for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47b-00082r-1B for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 12/21] gnu: usbutils: Update to 015. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:06 +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: Tobias Geerinckx-Rice , Maxim Cournoyer , Leo Famulari Received: via spool by 61576-submit@debbugs.gnu.org id=B61576.167665330930763 (code B ref 61576); Fri, 17 Feb 2023 17:02:06 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:49 +0000 Received: from localhost ([127.0.0.1]:41366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT47J-000805-0P for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:49 -0500 Received: from mail-qt1-f181.google.com ([209.85.160.181]:40667) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT473-0007xg-JY for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:34 -0500 Received: by mail-qt1-f181.google.com with SMTP id m11so1285200qtp.7 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YXhhwoneVVPaSF/H/fc2TGmbRKkRWeXl7KLAi8ZpalU=; b=d4zqNib+0Wp5u26yHANpir2n6waeBlUSDFDmkSetbUvGVQqqjKn49DeamApydNPW+x 4ago4CFviY+IXzpAx4Xo7S+FttCtZph8LOzdYvVR07TufVUPluUokFjiTsHOMzKQznYT L3i6rl/dkc47+uM1igV7mMw62+64JXrmGOKUv6JBukD7Xl0sqBWX2OTssZ3UacUDKNjo qsE00Tdh807WohdaFGVS3VlDjSxlCHOQ2oMWFcUwBzmhdo16yF0Vpx1VnnFGT/cLr/Ld tKE8bRcUDYFU2lakZ2RpZU0owOrTH/WAszvmIzejZo4tUkc9tXfo59/yCy/KUqrxroav cRAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YXhhwoneVVPaSF/H/fc2TGmbRKkRWeXl7KLAi8ZpalU=; b=ob5G11EZqC1e/UGPhJ0RmYMVmWzN3GRwbTcyfWK6RskIQET405aocPxJqsetxCVgSc u40jHbSZ9DGYcDu12/Or2gWcnwtys/GEonk1sgMVTM93zEmlbPiCC1afldNEx9wP4Y8o xjipwkT4yobGSxAAJCR5+Gwbo3gFiNW8aPO+zKIFBqyECrzqhgGbR48j967nEHFX8Fwm 2mw/2OAAeLLnYh4zn+edwwhgtlfMP/O0nUMMXcJ59uTaHY8FKV4s6I7RXC4MvXpk6nZC yi80LSls3fGX9xgwzww75Fz41fzXSFeE8t1Ey9y7BPEsE0H2x6woCewKINETRbsCtHJg WGrQ== X-Gm-Message-State: AO0yUKV+CgH0qgi5eqRb3Ehqh142c6XRJk8mmHp15J211MT0v/DX39qC SfiVZ5mhqDQpK/Wh50mrUx6qgu2xGlMbDKXs X-Google-Smtp-Source: AK7set9qqH7fQOwYICE9WiwLYOQcrOirwuf8AXq6LWg9iiX4Ho8TJBO3GjrbJGUD5gr1FAg9DwsmIw== X-Received: by 2002:a05:622a:242:b0:3b8:2eca:e6a5 with SMTP id c2-20020a05622a024200b003b82ecae6a5mr3371851qtx.29.1676653288047; Fri, 17 Feb 2023 09:01:28 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:27 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:53 -0500 Message-Id: <20230217170103.10147-13-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/linux.scm (usbutils): Update to 015. --- gnu/packages/linux.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 33faf8920d..1ff72d9914 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -2297,14 +2297,14 @@ (define-public procps (define-public usbutils (package (name "usbutils") - (version "014") + (version "015") (source (origin (method url-fetch) (uri (string-append "mirror://kernel.org/linux/utils/usb/usbutils/" "usbutils-" version ".tar.xz")) (sha256 - (base32 "0sgwfvr1b5w3ai1c0rmvzhk67y9vh7bq490rcxxj4q05svx9q1rs")))) + (base32 "0vnsdzx997v8ksi5dbsi2vc8b3mcm5b6jnmcdhszdyag3yxm3d63")))) (build-system gnu-build-system) (outputs (list "out" "python")) (arguments From patchwork Fri Feb 17 17:00:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47058 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 160DE168F8; Fri, 17 Feb 2023 17:04:48 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AA7B416793 for ; Fri, 17 Feb 2023 17:04:47 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT47v-0006zt-Ru; 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 1pT47c-0006ms-7m for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:09 -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 1pT47b-0000M7-Ua for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47b-000836-Ql for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 13/21] gnu: phodav: Propagate glib, libsoup and libxml2. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:07 +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.167665331030777 (code B ref 61576); Fri, 17 Feb 2023 17:02:07 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:50 +0000 Received: from localhost ([127.0.0.1]:41370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT47J-00080F-OG for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:50 -0500 Received: from mail-qt1-f180.google.com ([209.85.160.180]:46624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT475-0007xn-1u for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:35 -0500 Received: by mail-qt1-f180.google.com with SMTP id u22so1241591qtq.13 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GtY+N7LIWhpDOdR8k9dTzdTqL3+W9zsM6KWWh6ReSLs=; b=FY+VpuZD9eWcTuZ0ep3abrwu6kSaupJXsePMFFF5LWfk9QPIoZ+lfHVUzVdXs1Xo8a yWdDIaVPUF//0O4jjsrSFDdgj0nrzDxaJ1hRqInXW51XUVtnu3RJPpNyBhiyJMH0vyWQ E5d1pPQ2pFqwDtFVaYjz7qYu8toztQQsKHfN6JG7WxexkkIrRts5Z1AAs9ffk0/KzarV jTZKQU1tf/6QrFK2Qla7q44xGY1dwQxjIcTZtred1VPVm8sEDzz3e8pSYJ03osTOfb3z Lq0Jcv+sBt+kk0dcdQF6Ociojs4BapZw6mlKtGGSQ57IQVq3yjVUPxM6C8MSA+6eCh3t LzQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GtY+N7LIWhpDOdR8k9dTzdTqL3+W9zsM6KWWh6ReSLs=; b=pmjeokbYUjb265g+ZDDEh7ZVsSyCBQ/L+Dky8l0VzRhvd3O7rXB7tpnLIMVygxn8ur 8eHOs2it4H+cxjfm7OKo+oHdLk7dKouiGfcG8yLjrvN2eiKbQv80KjH2xYQ16H0L4qG8 TArXND+NKNLLqCD8buJBJHd6o4tu/zzGzokU8WZhhKrZRcBzxxlg+hK269JLtU+0m2Lp HKsJXOgVgJVMJ+BQTwQ+TL1qZwLgJA8lcSYe3Oc32s2APEJYiXxko5vpc2Q/A4Iiifpo ye6zmthO92PxzWWPQO72AJS6Q0uAhvtQ/I10cOikSpJ+qmQGogpsvSWGvA8GiqXYuhm3 QKNA== X-Gm-Message-State: AO0yUKXTLQI+7xqUdxKvpE9W0qHimgE+DbWclNzht569erpAsE7UQDBe ycIB3N/ZDDDvlR5qPL00pjrPU1w121zBLGRM X-Google-Smtp-Source: AK7set/VzDHBCPncPAmc84RlOrSX6osWqMk1b1jESNEKJmrPLKA+TRTFnOJVlrmTJQFeIj1VT6sU7g== X-Received: by 2002:a05:622a:1818:b0:3b8:588c:40e9 with SMTP id t24-20020a05622a181800b003b8588c40e9mr1576950qtc.19.1676653289415; Fri, 17 Feb 2023 09:01:29 -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.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:29 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:54 -0500 Message-Id: <20230217170103.10147-14-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/gnome.scm (phodav) [inputs]: Move libsoup to... [propagated-inputs]: ... here. Add glib and libxml2. --- gnu/packages/gnome.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 4698b883af..8bb8372d3a 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -1268,8 +1268,12 @@ (define-public phodav pkg-config)) (inputs (list avahi - libgudev - libsoup)) + libgudev)) + (propagated-inputs + ;; These inputs are required by the pkg-config file. + (list glib + libsoup + libxml2)) (synopsis "WebDav server implementation using libsoup") (description "PhoDav was initially developed as a file-sharing mechanism for Spice, but it is generic enough to be reused in other projects, From patchwork Fri Feb 17 17:00:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47053 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 41301168B2; Fri, 17 Feb 2023 17:04:00 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 525E616793 for ; Fri, 17 Feb 2023 17:03:59 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT485-0007Mr-3b; Fri, 17 Feb 2023 12:02:37 -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 1pT47d-0006nm-H2 for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:13 -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 1pT47c-0000MT-Ro for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47c-00083L-NB for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 14/21] gnu: spice-gtk: Enable support for polkit, webdav and others. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:08 +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.167665331130791 (code B ref 61576); Fri, 17 Feb 2023 17:02:08 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:51 +0000 Received: from localhost ([127.0.0.1]:41374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT47K-00080T-Hv for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:50 -0500 Received: from mail-qt1-f182.google.com ([209.85.160.182]:40674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT476-0007xw-FH for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:36 -0500 Received: by mail-qt1-f182.google.com with SMTP id m11so1285353qtp.7 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=653/h40FwiC8btqWpklwWpyA1o57MlveEP7Ro/W1JFc=; b=QJ4RWymyPJ3JtSiYVKPVFemzG3jDb0PlkVlSJXZSk1IfITRdN2x8+G4NiAgGxwX+Sm fxEs56RiKReC2D5RaEMeVCmj81WDrSw3Bzh2i6qGDshaXsfI4LVOFxnQ1/moEKEgt2Xf tIAjPTi8PGd4UFnVZyyKvUd1aIAAciLQH9nuePHkFAtXhLu/EWZv5Fz+guxy82swQq/H v2d1tUqT7XOHWkjxNQ/U4cP4+2SOAX8p12h1fQG5gqaBoss9ntLfXP8UV7HJ7IRrVfpU MWhvMb2Ie4dAFcQe7WpxHpZdvxoeYfD+i0qskCYaee1cWnxxnFaJdwFFaDQIX2CDNSJr QPEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=653/h40FwiC8btqWpklwWpyA1o57MlveEP7Ro/W1JFc=; b=LWVmKCYxTo51SBSdo/EPm0wsmm27yGNkpXsoo/oJ0Ggy1t9ynRsTvw27ztvh3T86wS V54CPcoDApdmoFUEz1s8bUGPk7iF/t4K+uP3cie+JqtByRDhXOiYXq41obt8OuQXaH9K An5hJHgF7ab7iCFle9c8POp7Otz0MhKeNYA0NIncZAz2NXT3Ut2O8N48HI9fLS/Au410 wBGpExKCcZrJ0p775UIO0Rt2hMi6FkZNFVyheJlxE/5Jn4IFpKRMlWl7MCun49jUEgyY OCx1kF4HRm0D5r3Nv6HJgigtDEnDCfCmadVMeIx7M9yLG7v8iiwRJG1w5MqNv9MaC/hR f3cA== X-Gm-Message-State: AO0yUKXexB3yUYeltKpzQDhj4WRg6n29T+M90Klok2dHbw+wpwydyt+8 7dQnefYEM3J49Ey6U/ASd92g4M44c9su2AGp X-Google-Smtp-Source: AK7set+LQOmZzXuuFoX1g00mOD2RPI59hMMJRwEZsjHgXKtMxHk5VAs9A1ZtIW/64sTChgtnsDYnXw== X-Received: by 2002:a05:622a:11:b0:39c:da21:6bb3 with SMTP id x17-20020a05622a001100b0039cda216bb3mr17257232qtw.56.1676653290696; Fri, 17 Feb 2023 09:01:30 -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.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:30 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:55 -0500 Message-Id: <20230217170103.10147-15-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/spice.scm (spice-gtk) [arguments]: Add the correct-polkit-dir and fake-pkexec phases. [inputs]: Add acl, cyrus-sasl, libcap-ng, polkit and usbutils. [propagated-inputs]: Add libcacard and phodav. --- gnu/packages/spice.scm | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 1654ae141e..62d1d50e5b 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -22,6 +22,8 @@ (define-module (gnu packages spice) #:use-module (gnu packages) + #:use-module (gnu packages acl) + #:use-module (gnu packages admin) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bash) @@ -39,6 +41,7 @@ (define-module (gnu packages spice) #:use-module (gnu packages nss) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages polkit) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages python-build) @@ -156,6 +159,13 @@ (define-public spice-gtk ((".*'session.c',.*") "") (("tests_sources \\+= 'cd-emu.c'" all) (string-append "# " all))))) + (add-before 'configure 'correct-polkit-dir + (lambda _ + (substitute* "meson.build" + (("d.get_variable\\(pkgconfig: 'policydir')") + (string-append "'" #$output "/share/polkit-1/actions'"))))) + (add-before 'install 'fake-pkexec + (lambda _ (setenv "PKEXEC_UID" "-1"))) (add-after 'install 'wrap-spicy (lambda* (#:key outputs #:allow-other-keys) (wrap-program (search-input-file outputs "bin/spicy") @@ -170,13 +180,18 @@ (define-public spice-gtk python-six vala)) (inputs - (list glib-networking + (list cyrus-sasl + glib-networking gobject-introspection json-glib + acl + libcap-ng libepoxy libxcb mesa - pulseaudio)) + polkit + pulseaudio + usbutils)) (propagated-inputs (list gstreamer gst-plugins-base @@ -187,8 +202,10 @@ (define-public spice-gtk gtk+ openssl-1.1 opus + libcacard libjpeg-turbo lz4 + phodav pixman usbredir)) (synopsis "Gtk client and libraries for SPICE remote desktop servers") From patchwork Fri Feb 17 17:00:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47056 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BD9191688A; Fri, 17 Feb 2023 17:04:37 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D8E1116793 for ; Fri, 17 Feb 2023 17:04:35 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT47y-00079X-S0; Fri, 17 Feb 2023 12:02:30 -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 1pT47d-0006o4-Vx for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:13 -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 1pT47d-0000Mn-Mf for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47d-00083a-IC for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 15/21] gnu: osinfo-db: Use libsoup 3. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:09 +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.167665331530808 (code B ref 61576); Fri, 17 Feb 2023 17:02:09 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:55 +0000 Received: from localhost ([127.0.0.1]:41378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT47O-00080k-Fx for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:54 -0500 Received: from mail-qt1-f171.google.com ([209.85.160.171]:44822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT477-0007xz-LU for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:37 -0500 Received: by mail-qt1-f171.google.com with SMTP id s22so1469763qtw.11 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pMQkGkuxwsKMf6lYtOwKyvn7pcwASF3YDwlSUAqXOBQ=; b=qI6rVgK4syN/13dVlD7qh+YIX2Tk8BQjYUzAzEd0lMTQcpNgpuMAHzQqbzfPimJ8m7 W2p3SbwQplfRewKoX2wTFWVMPKH5ep9K+8HA+ieI6F+FwoIc+xuzmat4RIPYClp6stVz 1hysoBDgaPKAavUL82oq1fy9jk/T0aSDT11O4krlXCeluAXrFFbit1cjUyLoOd9Sw8aL jcsoBvlyrQhlLk8Z5JG/NsKSbZVfdm06l1J6v1u9BzcjRNOkFQYOp+MBMcwkYv+doFLV jFRHTfimNAzLzEH8btHweqOFeD982/VKBb1GUZ5epN1vgzFT92b7F78D29vVlBH90JQx thIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pMQkGkuxwsKMf6lYtOwKyvn7pcwASF3YDwlSUAqXOBQ=; b=sfkLtJa6iO/AT8DC8AKjI7pQx8YlvpHa4bz2aKfDfxrA8cnzP2pBP3uIvh1y18cFzP +RgN/nWXoQMA62OhRkmHxSyV5zqK7ig8eMDaja6I24Tgof7wNXXikhQIFr7Sx+EyoOA0 XLi3nuAQikkDL7GJSMlZNwC2nsjIrdMfQLPSABS1QLih02ujsdF1ig8d7UysdUJimtGM 75Hp1VCPS9xBLxMjE2zxwCHF5mgiEiMZ+FYaa3ojQAbGnBiEhrLBG/E0+IQIGoq7K1uR c4cwlbAVplzK0flEy0UQTy2rMEOZU2xXjLtnFN23H71Yvrz9ZQBkpoIMOELg6OntYhEv s1VA== X-Gm-Message-State: AO0yUKUz7R0r+0biwUuR0r/4MC6covvhLaAVAEycs9EZl13V6rLgZoml zn6TM5dyGfua5ynvnHCeTjfAmYHPHKinN/g8 X-Google-Smtp-Source: AK7set9yZSESNOihlI4zPCNQw3b37vXYKzHvlqDByy75I35vTYFf/dLFvoidr20KWbz5FAjyqvvVgw== X-Received: by 2002:ac8:5804:0:b0:3b8:682d:cebf with SMTP id g4-20020ac85804000000b003b8682dcebfmr722897qtg.66.1676653292017; Fri, 17 Feb 2023 09:01:32 -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.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:31 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:56 -0500 Message-Id: <20230217170103.10147-16-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/virtualization.scm (libosinfo) [inputs]: Replace libsoup2 with libsoup. --- gnu/packages/virtualization.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 64a26edb02..f50147c3d1 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -1188,7 +1188,7 @@ (define-public libosinfo (format #f "path = ~s;" (search-input-directory (or native-inputs inputs) "share/osinfo"))))))))) - (inputs (list libsoup-minimal-2 libxml2 libxslt osinfo-db)) + (inputs (list libsoup libxml2 libxslt osinfo-db)) (native-inputs (list `(,glib "bin") ;glib-mkenums, etc. gobject-introspection From patchwork Fri Feb 17 17:00:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47054 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1A7FE1688A; Fri, 17 Feb 2023 17:04:06 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CBECE16793 for ; Fri, 17 Feb 2023 17:04:04 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT484-0007MZ-N1; Fri, 17 Feb 2023 12:02:36 -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 1pT47b-0006mm-Vk for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:09 -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 1pT47b-0000Ls-Hu for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47b-00082z-DT for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 16/21] gnu: gnome-boxes: Update to 43.3. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:07 +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.167665330930770 (code B ref 61576); Fri, 17 Feb 2023 17:02:07 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:49 +0000 Received: from localhost ([127.0.0.1]:41368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT47J-000808-9n for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:49 -0500 Received: from mail-qt1-f172.google.com ([209.85.160.172]:36398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT473-0007xZ-QW for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:34 -0500 Received: by mail-qt1-f172.google.com with SMTP id c11so266213qth.3 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uLG9qewc8ZBwZNWAdZAI60fBLTXEHmxJiZ7Q0a11UhU=; b=LFjb6HC52LZEYFkDYxMvDDlDTA2Gvxq4OrSsITMbv+IdzWutbK+CFGNfG3UakMNEQy G1wGDiMEFgw1jIc8ZDfp86v2RuZBq42FhzP2Za5+aP43tlB2Fhw+ZJQ+2ujetuNDS+JD LQtYEsYZ9P+qmglNP6evoyl4L1zFugR5z6Y99Yz4gwzye9w4/F2IHAS9gyOyvMJcfy+D XFYVltEmC3sO6K7tsPU+CaMc/R3qVd+w349fSATPPTsuS0X0KwqhDNEWtD6ZLp8KQeNs kQ5SvvbazRXoyK6qM9dXfdCiGkeJwXT+UzSryYvTqKPRwqZmlFbYgBzYLIf4AvgUUBbH xwSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uLG9qewc8ZBwZNWAdZAI60fBLTXEHmxJiZ7Q0a11UhU=; b=L761pdblRYfp9vI1/WrLXMnWk/3AEYTysCBERuasV/IEo6lnufTJ/mGfgScZV91ZDc OYpMOY7g18ik7YjqTMemwCVLqhTDdhBWmcOm5Qnh2PGNbtWZqQ6VADSuCSPKR5jPRiBS ejDKIcUcA3m2TI6q3S05xnrmmqkTFmdTjbbqwtoT9JTkOf9ySFAeQTZV0LG2h8R9I7FR iGAfCcpvdnTtr+ZTdU+m9d3QfBjJqi35v4iEW1alZ9A6ZkisfjbY9AHAESZsofwnnluA 61YgoOGJmSCMLRowEKM3Xf9g1XLu/IaakY4amGOQZQZ+mzf8yE2GKJY1B797rVtNkF8i J1MQ== X-Gm-Message-State: AO0yUKUqOMPV8C3B2YZrQ9bVOp7ACBJZ7yx2AXkqFu9fdIQm+EJFEAmN iz5rgcwziDBINUJS6PFOWKKK15MDhWVgtuPh X-Google-Smtp-Source: AK7set/+HDXLaeuyixpzaLq+dYfuNjqhSlDxhDdaVkbfFxmfCSVNleCDJYXc6txdcMAS/fyImkFn8w== X-Received: by 2002:ac8:5842:0:b0:3b8:63fa:11be with SMTP id h2-20020ac85842000000b003b863fa11bemr1850902qth.66.1676653293331; Fri, 17 Feb 2023 09:01:33 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:33 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:57 -0500 Message-Id: <20230217170103.10147-17-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/gnome.scm (gnome-boxes): Update to 43.3. [arguments]: Remove configure-flags. Adjust disable-gtk-update-icon-cache phase. [inputs]: Replace gtk+ with gtk, libsoup-minimal-2 with libsoup, webkitgtk-with-libsoup2 with webkitgtk. [native-inputs]: Replace vala with vala-next. --- gnu/packages/gnome.scm | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 8bb8372d3a..9e6f705129 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -12496,7 +12496,7 @@ (define-public polari (define-public gnome-boxes (package (name "gnome-boxes") - (version "42.3") + (version "43.3") (source (origin (method url-fetch) @@ -12504,18 +12504,16 @@ (define-public gnome-boxes (version-major version) "/" "gnome-boxes-" version ".tar.xz")) (sha256 - (base32 "1lv0bdh935qj6wkv3ixg2pcv8yrapj79z02gw4fal3rhz3xggvsn")))) + (base32 "14zd5ii3igy0am4zqw2jg1xshf2zxsy96yv5pss2vf6rh3svmnzf")))) (build-system meson-build-system) (arguments (list #:glib-or-gtk? #t - #:configure-flags #~(list "-Drdp=false" - (string-append "-Dc_link_args=-Wl,-rpath=" - #$output - "/lib/gnome-boxes")) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'disable-gtk-update-icon-cache (lambda _ - (setenv "DESTDIR" "/"))) + (substitute* "meson.build" + (("gtk_update_icon_cache: true") + "gtk_update_icon_cache: false")))) (add-before 'configure 'set-qemu-file-name (lambda* (#:key inputs #:allow-other-keys) (substitute* "src/installed-media.vala" @@ -12529,11 +12527,11 @@ (define-public gnome-boxes itstool pkg-config python - vala)) + vala-next)) (inputs (list glib-networking ;for TLS support gsettings-desktop-schemas - gtk+ + gtk gtk-vnc gtksourceview json-glib @@ -12542,7 +12540,7 @@ (define-public gnome-boxes libhandy libosinfo libsecret - libsoup-minimal-2 + libsoup libusb libvirt libvirt-glib @@ -12552,7 +12550,7 @@ (define-public gnome-boxes spice-gtk tracker vte - webkitgtk-with-libsoup2)) ;for webkit2gtk-4.0 + webkitgtk)) (home-page "https://wiki.gnome.org/Apps/Boxes") (synopsis "View, access, and manage remote and virtual systems") (description "GNOME Boxes is a simple application to view, access, and From patchwork Fri Feb 17 17:00:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47060 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3356C168B2; Fri, 17 Feb 2023 17:04:50 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AF70E16793 for ; Fri, 17 Feb 2023 17:04:48 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT484-0007MP-B7; Fri, 17 Feb 2023 12:02:36 -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 1pT47d-0006nl-Gg for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:12 -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 1pT47c-0000MQ-EW for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47c-00083D-6s for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 17/21] services: gnome-polkit-settings: Add spice-gtk. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:08 +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.167665331030784 (code B ref 61576); Fri, 17 Feb 2023 17:02:08 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:50 +0000 Received: from localhost ([127.0.0.1]:41372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT47K-00080M-1k for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:50 -0500 Received: from mail-qt1-f169.google.com ([209.85.160.169]:45574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT475-0007wC-3B for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:36 -0500 Received: by mail-qt1-f169.google.com with SMTP id d10so1418387qtr.12 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jiuNBzC3IAKsCK7erCo5v0cDDDccj5Bnc0vesUbTjdo=; b=MLU0lKLXNbnd2hYfCD//zIQWByShGLd3Z5Y8jQ3PZuL922Zto5nHFDtdzdVXWlXfej tQtAPDLW/ZgWx217TN0q7zoTzljd+WWgg71H7uEdmPQtHsC9Z+P+W1pmDMLtipGhbMIJ mTDQc3tVwqj7bVKwQAtIVbgEjw+wvuVUr+uhDg9QjQEuw6vO2ZVe+8U+DCz3qDbG1yyh ejneTaj83VYQFDiGnqfi4qVmrDc063+gENEYpD520rVGp9bO2ObKtKInXgHl/yrvZNRz C/dk9uEzsJ+v05NxqSfdgVBWDKioA8BQXOIXaZds5dYNrQJmNGoKEH1SSY3ab2kr+tRQ wRyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jiuNBzC3IAKsCK7erCo5v0cDDDccj5Bnc0vesUbTjdo=; b=dkKqCKPkQPLBkL8C9LswOCCS0KntjdfFR05EkIY3U4Qub+aXBMY1paFIi87EDOYFL6 aIr7bUB6NdSRLmZpf8kr3pIt+B2ksKoohUBOAUabKG/39Y7QsMX+hyduEKbUisbns9rd Qk3Axdl32fkWVRtlkIvmhV/ancyNIwYgWK7ZPg8EXrBNaDL3AJTkj9E9zsO1NA8pVzhI zKSFC7FnYsWR9O0w1TuXAEtB5NAVzk7RLSFjzS+NoSSwPd7Mu7257tp6zCaWhDnufrEp c7TPeu/sPQn4xy+OMmobF3WHCLtO/h0Klqme2eSGv50uJzZMOwsFgdnnv6uQwlnMqLco axsA== X-Gm-Message-State: AO0yUKX7uo5y5ey10BwcP+RO4FuXmNAKHTyW8XLI8RZiiEB4fpxcwPb4 6pIbormZb9Acxt8/2SZ9L+duM7QX9k3eHUhb X-Google-Smtp-Source: AK7set8NZIy2CsEm3Re5/5usvFMYXrY6ZrOR5WQJAYhOyxWAQveoQSxKbCmbsrTvi8FN7GjyfeC7UA== X-Received: by 2002:ac8:5b87:0:b0:3af:b6bd:aba7 with SMTP id a7-20020ac85b87000000b003afb6bdaba7mr3632941qta.43.1676653294635; Fri, 17 Feb 2023 09:01:34 -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.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:34 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:58 -0500 Message-Id: <20230217170103.10147-18-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/services/desktop.scm (gnome-polkit-settings): Add spice-gtk to the GNOME packages providing polkit rules. (package-direct-input-selector): Allow passing a list corresponding to the dependency tree, so that non-propagated transitive inputs can be specified. --- gnu/services/desktop.scm | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index fe1f0fd20a..189334dc23 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -3,7 +3,7 @@ ;;; Copyright © 2015 Andy Wingo ;;; Copyright © 2015 Mark H Weaver ;;; Copyright © 2016 Sou Bunnbu -;;; Copyright © 2017, 2020, 2022 Maxim Cournoyer +;;; Copyright © 2017, 2020, 2022, 2023 Maxim Cournoyer ;;; Copyright © 2017 Nikita ;;; Copyright © 2018, 2020, 2022 Efraim Flashner ;;; Copyright © 2018 Ricardo Wurmus @@ -183,11 +183,19 @@ (define-module (gnu services desktop) (define (bool value) (if value "true\n" "false\n")) -(define (package-direct-input-selector input) +(define (package-direct-input-selector tree) + "Return a procedure that selects TREE from the inputs of PACKAGE. If TREE +is a list, it recursively searches it until it locates the last item of TREE." (lambda (package) - (match (assoc-ref (package-direct-inputs package) input) - ((package . _) package)))) - + (let loop ((tree (if (pair? tree) + tree + (list tree))) + (package package)) + (if (null? tree) + package + (loop (cdr tree) + (car (assoc-ref (package-direct-inputs package) + (car tree)))))))) ;;; @@ -1360,7 +1368,10 @@ (define (gnome-polkit-settings config) '("gnome-settings-daemon" "gnome-control-center" "gnome-system-monitor" - "gvfs"))) + "gvfs" + ;; spice-gtk provides polkit actions for USB redirection + ;; in GNOME Boxes. + ("gnome-boxes" "spice-gtk")))) (define gnome-desktop-service-type (service-type From patchwork Fri Feb 17 17:00:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47048 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1CA57168F8; Fri, 17 Feb 2023 17:03:18 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A04311688A for ; Fri, 17 Feb 2023 17:03:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT47y-00079G-Qo; Fri, 17 Feb 2023 12:02:30 -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 1pT47d-0006nn-J5 for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:13 -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 1pT47d-0000MU-7X for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:09 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47d-00083S-3o for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:09 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 18/21] services: desktop: Extract a new gnome-package procedure. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:09 +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.167665331430801 (code B ref 61576); Fri, 17 Feb 2023 17:02:09 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:54 +0000 Received: from localhost ([127.0.0.1]:41376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT47K-00080a-WC for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:54 -0500 Received: from mail-qt1-f181.google.com ([209.85.160.181]:40667) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT476-0007xg-N8 for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:37 -0500 Received: by mail-qt1-f181.google.com with SMTP id m11so1285597qtp.7 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/R7Dl/L01nuFrN940AshGAByfRJUJAPPFmInD0BCGms=; b=WZFMVilcGULSZIiP71T1nEE+4ZEBhhPSM9MWrfbhmCKqw20mQr9K+91/V8wcNL/0Hi yonRMcgfM5UhAnmfmkLUQJwd/Z1wtWdfCcZN9kQgF7Bm1BOMHtUqhfFtOq9s6ugyIkaI UL7RuPD/v+s7hR7BNBdbMxH+qn9VDmaAJQvA6NWtpn4GP5n3cR4WF00sQtC/416ZVUG+ WyuRuA1tKz05rUFeClvzyXElNB1byqrycqQtvVPf6kvT2UWABKDIjAv3Fup1JPOVhnHP ffdpuvp7Q1P4MsrnAtPhCLtG/otEfedMqhjCaYDU6otSCPmIyauY20LBC3loCB1pv8uX Dggg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/R7Dl/L01nuFrN940AshGAByfRJUJAPPFmInD0BCGms=; b=QHRI+sYX6/cgJsSE7vAur9s5bk0zbhXgiNObiJxFa/r0UBFujMB6HWZtGnUCA6/JaB m2jBlR0D2rFpOmoJ16BsX4Z9s+Jq4wUtA9dZuZ1gEoUwY1a90ppOTS5eI3/uzprdQUEE n8CywZNYOJM4Ml9cYeiuIA4p4rotmS/ADB8TJHl8STsZUNzOCVpaoUZr2rJycL5XN4SR QlNYZI54TkhJeNGJqnuuXY/Yzp2h2UhGTuXF5R6gytg7G2KkP3Aqo8O1UjPqdokuvjpo eq5yKTJQoqRrXRHN+4EYUqSMeKLOIg5qhVAICdjG+5I/lT0nAH1FSfJ2/4245JXpYacm /YfQ== X-Gm-Message-State: AO0yUKWUs/2lcFqTiniCOUSNt2+CD1Zs8yYW+6stqhSNBMo7UKBO6BTc oFJMgGcvLvbk7oG0+a4MpEgn320BUnYiXtxQ X-Google-Smtp-Source: AK7set/uAyl5xIWVuSDNZica+ZN7LOZKDV4M5JjoxTojVo0K18XnZmaw/phEb4j7kqYjlfC05ZzfZw== X-Received: by 2002:ac8:5cd5:0:b0:3b9:e3fc:5689 with SMTP id s21-20020ac85cd5000000b003b9e3fc5689mr58104qta.58.1676653296112; Fri, 17 Feb 2023 09:01:36 -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.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:35 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:00:59 -0500 Message-Id: <20230217170103.10147-19-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/services/desktop.scm (): Rename gnome package accessor to gnome-desktop-configuration-gnome, to avoid name conflict. (gnome-packages): Change first argument from a config object to a the gnome package used. Rename second argument from package to name. Extract core logic into... (gnome-package): ... this. (gnome-udev-rules, gnome-polkit-settings): Adjust accordingly. (gnome-desktop-service-type): Likewise. --- gnu/services/desktop.scm | 43 ++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 189334dc23..5ddfbb9e53 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -73,6 +73,7 @@ (define-module (gnu services desktop) #:use-module (guix utils) #:use-module (guix gexp) #:use-module (srfi srfi-1) + #:use-module (srfi srfi-26) #:use-module (ice-9 format) #:use-module (ice-9 match) #:export ( @@ -1347,31 +1348,36 @@ (define sane-service-type (define-record-type* gnome-desktop-configuration make-gnome-desktop-configuration gnome-desktop-configuration? - (gnome gnome-package (default gnome))) + (gnome gnome-desktop-configuration-gnome + (default gnome))) -(define (gnome-packages config packages) - "Return the list of GNOME dependencies from CONFIG which names are part of -the given PACKAGES list." - (let ((gnome (gnome-package config))) - (map (lambda (name) - ((package-direct-input-selector name) gnome)) - packages))) +(define (gnome-package gnome name) + "Return the package NAME among the GNOME package inputs. NAME can be a +single name or a tree-like, e.g. @code{'(\"gnome-boxes\" \"spice-gtk\")} to +denote the spice-gtk input of the gnome-boxes input of the GNOME meta-package." + ((package-direct-input-selector name) gnome)) + +(define (gnome-packages gnome names) + "Return the package NAMES among the GNOME package inputs." + (map (cut gnome-package gnome <>) names)) (define (gnome-udev-rules config) "Return the list of GNOME dependencies that provide udev rules." - (gnome-packages config '("gnome-settings-daemon"))) + (let ((gnome (gnome-desktop-configuration-gnome config))) + (gnome-packages gnome '("gnome-settings-daemon")))) (define (gnome-polkit-settings config) "Return the list of GNOME dependencies that provide polkit actions and rules." - (gnome-packages config - '("gnome-settings-daemon" - "gnome-control-center" - "gnome-system-monitor" - "gvfs" - ;; spice-gtk provides polkit actions for USB redirection - ;; in GNOME Boxes. - ("gnome-boxes" "spice-gtk")))) + (let ((gnome (gnome-desktop-configuration-gnome config))) + (gnome-packages gnome + '("gnome-settings-daemon" + "gnome-control-center" + "gnome-system-monitor" + "gvfs" + ;; spice-gtk provides polkit actions for USB redirection + ;; in GNOME Boxes. + ("gnome-boxes" "spice-gtk"))))) (define gnome-desktop-service-type (service-type @@ -1382,8 +1388,7 @@ (define gnome-desktop-service-type (service-extension polkit-service-type gnome-polkit-settings) (service-extension profile-service-type - (compose list - gnome-package)))) + (compose list gnome-desktop-configuration-gnome)))) (default-value (gnome-desktop-configuration)) (description "Run the GNOME desktop environment."))) From patchwork Fri Feb 17 17:01:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47044 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4332C168B2; Fri, 17 Feb 2023 17:02:56 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C3F8316793 for ; Fri, 17 Feb 2023 17:02:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT48B-0007NQ-Hf; Fri, 17 Feb 2023 12:02:45 -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 1pT47f-0006oF-1C for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:13 -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 1pT47e-0000N8-Jy for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47e-00083o-F2 for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 19/21] services: gnome-desktop-service-type: Extend setuid-program-service-type. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:10 +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.167665331530823 (code B ref 61576); Fri, 17 Feb 2023 17:02:10 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:55 +0000 Received: from localhost ([127.0.0.1]:41382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT47P-00080z-6a for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:55 -0500 Received: from mail-qt1-f169.google.com ([209.85.160.169]:38423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT47C-0007zR-Ql for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:43 -0500 Received: by mail-qt1-f169.google.com with SMTP id a8so1327288qtj.5 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Lf2pksq2l6lu0MK/lReVop2GP7mtBPE00EUWkSvBqzA=; b=nLn9Fd/Mfzi/ayWCKxARdEwrokcw1424LW5JrfCWmbWIZ0iQxexhRbSUfjP9sdTRWx /b5wwEI5EfhZAtqoG340rGHhLgVYtY8Gyf12ccsmf3paM36PGw8AOlvjhojOSI5KQEFQ l1rWBekxM2qQtU9ZGLKyvgZ8znzKAw93/dPz6buZnz7jkmsB6DNz2Q23XGytSI7hbBcL BR9qS16/Qz9isZTImuBFYI1aty4L3AM1K0wlBzCmW0g2B5bXnIeW9giOtac5DN3eT9t7 nPp/QIj122W6zL/1J7NsdMPPFos3AZbCo41kW9aa8927R39fPTKO/IhMF8DkaEaMKmWN 7fKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Lf2pksq2l6lu0MK/lReVop2GP7mtBPE00EUWkSvBqzA=; b=QasVSMnuhfarWlRPpl6k4B6wjrUUOAAEtRnfVVg+S1s9y9Y/PwpW/kFgL4QnWMkyq4 798XwzSp6DjCpBIFUxrKvcIEIsfe6kHYjzpHEQGWm/+t8f1DXK6EAiF5/xqJpY4KkxUq HDr5KPTWEKERlJ2aUXUoDmjmlP0QxDmTFOZGcrr+mAGTgGjRig/CU2EME/iiN+eE/KWh auMQ/Nh4FMWJJ+2ZTG20+6UintLlIS5wEeKDyTcNmOPScIrE/QWfkYog43/7GQlRyNaU uyPmBU2WbwJLbirLZVE8KOmEaDSNPYorXEIlrxeHlUzowmdXf4kzwMeyi+u07V4S4rai fw8g== X-Gm-Message-State: AO0yUKUzOW9CLRnLzVpb8fsuZQw6N8Gy257nmIC5cCvvX3pS1QFJm2Qo l+yo7OfvTqL9GJX+fgjH1nfPoQ3Eyu/+c1qH X-Google-Smtp-Source: AK7set/5Jc5lcDwUQc/MqQe2vQhIiwD2ulnxxMHtzKbJ8PT54hilihekcNCaz0LXszjVoNLBSG9BBQ== X-Received: by 2002:ac8:5d8f:0:b0:3b3:7d5:a752 with SMTP id d15-20020ac85d8f000000b003b307d5a752mr2907776qtx.50.1676653297350; Fri, 17 Feb 2023 09:01:37 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:37 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:01:00 -0500 Message-Id: <20230217170103.10147-20-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/services/desktop.scm (gnome-setuid-programs): New variable. (gnome-desktop-service-type): Extend setuid-program-service-type with it. --- gnu/services/desktop.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 5ddfbb9e53..2034b3d099 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -1379,6 +1379,14 @@ (define (gnome-polkit-settings config) ;; in GNOME Boxes. ("gnome-boxes" "spice-gtk"))))) +(define (gnome-setuid-programs config) + "Return the list of GNOME setuid programs." + (let* ((gnome (gnome-desktop-configuration-gnome config)) + (spice-gtk (gnome-package gnome '("gnome-boxes" "spice-gtk")))) + (map file-like->setuid-program + (list (file-append spice-gtk + "/libexec/spice-client-glib-usb-acl-helper"))))) + (define gnome-desktop-service-type (service-type (name 'gnome-desktop) @@ -1387,6 +1395,8 @@ (define gnome-desktop-service-type gnome-udev-rules) (service-extension polkit-service-type gnome-polkit-settings) + (service-extension setuid-program-service-type + gnome-setuid-programs) (service-extension profile-service-type (compose list gnome-desktop-configuration-gnome)))) (default-value (gnome-desktop-configuration)) From patchwork Fri Feb 17 17:01:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47041 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 61F16168F8; Fri, 17 Feb 2023 17:02:41 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B83F716793 for ; Fri, 17 Feb 2023 17:02:40 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT47z-0007D9-GZ; Fri, 17 Feb 2023 12:02:31 -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 1pT47f-0006oa-HM for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:13 -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 1pT47e-0000NE-Vx for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47e-00083w-S1 for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 20/21] gnu: gnome-boxes: Mention extra configuration requirements. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:10 +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.167665331530831 (code B ref 61576); Fri, 17 Feb 2023 17:02:10 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:55 +0000 Received: from localhost ([127.0.0.1]:41384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT47P-000816-HQ for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:55 -0500 Received: from mail-qt1-f172.google.com ([209.85.160.172]:38428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT47E-0007zY-De for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:44 -0500 Received: by mail-qt1-f172.google.com with SMTP id a8so1327352qtj.5 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dc+C1XyRNR1aUydDSzvZRRLk+csn3qMnaLvHK6xDOr4=; b=M4uF4TvjUcNrFnAe7RuPXq8PFC194Xw6VXWUSIeGnAeZiiOC/cTg2KhDyKd6ElykSr hyLyZT7Z5ZiraDcKrXGhAztKNAjqCgZWsLYifBB+0q3s4WDzhI0QZTp4cS8vGe+DHyUv gwejkLxBwfHTgicA36fAqIDTvtml0mD0D2p/HHGRKdUxHAgkXrpB+GOWhKMrKaHOG7aV JYO6do5Um88G3DVkE4J5d5y2Mh87L8EVgIlmcutCxP0j52tzfrInGIiY99PdcUdlM1aJ yrtuVhP0NFQ2hiqoCNFXNvkZ6ndddYSxwcu6UwbTLneO0jR+XmjfgR/bHM8PIcF3rVw6 PZAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dc+C1XyRNR1aUydDSzvZRRLk+csn3qMnaLvHK6xDOr4=; b=6ecdw0AX/Jke7mmqE80ilNXGD6r3+5ZEy39yBhM+mkcWdFX22aDqXgsB2jgWwxjzED aoylAMh3J01+IzOOx5ffPprntg7kELGTV+wVHi1zQ9JmdYPtsYMQ7gO/WFAyFeGlR/FO 3lmwLAEOuO4ljW2jWg9r0JAZEN8bdkie7eWJ5T71SKqb93ImX6+PLLvF72mgHF/srvjo dwY+c4s9AYCHRbVDz2qZfeLJxrNz/3o70v+Wqd3jtg+CylwLzRbc2YCdAZdHinNOg1i4 Z90UekjVsSqjHLlYtBjrPXOJNGSkJdGV7kJ6z9JwPpn5fK+lH9AqIZ40mrDQi6S+YgIG hsAQ== X-Gm-Message-State: AO0yUKXP0meP+vIlRF8eXujVK+l8TUAJj5qyEiH6SxFwKadmS0uzsAb1 5KPJbEisTDxVeseNLFVtC9Gk9N/5iVviyaz3 X-Google-Smtp-Source: AK7set/8xkiHqvTP68jPUAuLWzZ3IwsEWWw8URT/NDwQbNT36pXPRJ2Gj1aSmJ24+ON4s/RvoFLh7Q== X-Received: by 2002:a05:622a:64b:b0:3b9:bc8c:c216 with SMTP id a11-20020a05622a064b00b003b9bc8cc216mr10045104qtb.33.1676653298561; Fri, 17 Feb 2023 09:01:38 -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.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:38 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:01:01 -0500 Message-Id: <20230217170103.10147-21-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/gnome.scm (gnome-boxes) [description]: Mention about extending polkit and setuid services with spice-gtk. --- gnu/packages/gnome.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 9e6f705129..3470894d4d 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -12545,7 +12545,7 @@ (define-public gnome-boxes libvirt libvirt-glib libxml2 - qemu-minimal ;for qemu-img + qemu-minimal ;for qemu-img sparql-query spice-gtk tracker @@ -12557,7 +12557,12 @@ (define-public gnome-boxes manage remote and virtual systems. Note that this application requires the @code{libvirt} and @code{virtlog} daemons to run. Use the command @command{info '(guix) Virtualization Services'} to learn how to configure -these services on the Guix System.") +these services on the Guix System. If you do not use the GNOME desktop +environment, you will also want to extend the @code{polkit-service-type} with +the @code{spice-gtk} package, as well as configure the +@file{libexec/spice-client-glib-usb-acl-helper} executable of @code{spice-gtk} +as setuid, to make it possible to redirect USB devices as a non-privileged +user.") (license (list ;; For data/icons/empty-boxes.png. license:cc-by2.0 From patchwork Fri Feb 17 17:01:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 47061 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 499E31688A; Fri, 17 Feb 2023 17:04:57 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8BFF016793 for ; Fri, 17 Feb 2023 17:04:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT484-0007MU-LM; Fri, 17 Feb 2023 12:02:36 -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 1pT47e-0006oD-MP for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:13 -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 1pT47e-0000Mz-51 for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:10 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pT47e-00083h-0y for guix-patches@gnu.org; Fri, 17 Feb 2023 12:02:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61576] [PATCH 21/21] gnu: spice-gtk: Adjust the default file name of the ACL helper binary. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Feb 2023 17:02:09 +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.167665331530816 (code B ref 61576); Fri, 17 Feb 2023 17:02:09 +0000 Received: (at 61576) by debbugs.gnu.org; 17 Feb 2023 17:01:55 +0000 Received: from localhost ([127.0.0.1]:41380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT47O-00080r-RM for submit@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:55 -0500 Received: from mail-qt1-f174.google.com ([209.85.160.174]:39922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pT47B-0007wA-0G for 61576@debbugs.gnu.org; Fri, 17 Feb 2023 12:01:41 -0500 Received: by mail-qt1-f174.google.com with SMTP id e26so1469401qtq.6 for <61576@debbugs.gnu.org>; Fri, 17 Feb 2023 09:01:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+oX2dDQvVr/cGSU4pK5eHXWj23v5UGI9sK32a93X4z4=; b=Ki0wo6FwKrh8HCTL9Kb5XYMgnsJdb4D12dHCx4LeuT5KnfZimqXMRlmsdan9cyoXOs I/zkoPaeHBzv62ixLBilBbrFms6Kk7bds7ct97AB6rU9hhXWAt+HhCBE1veNK1is4ysf g0q2kbn67o5uBahNom6No4N+noShEq9Oc9U7w7Md6zkhzVBxfd5s7Hym4MHR2G85aF9J W9RYH6C4O5GLNrZN92XRatWvBTzs9KLuVvMm97H1LcoPeDaBLjj4DFU19mQajYf/3J0E EkvXROs3gKtbutcJBrezJwiENT7pYsrw4j5TnnAsyOSjeQXYyv2ziX7zkIyRPnRLcJCZ awDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+oX2dDQvVr/cGSU4pK5eHXWj23v5UGI9sK32a93X4z4=; b=u7lPMcIA4K1KPjFF18wCuhWnSc9bL1ZWLqP/cl6yusjSU8k673TEQWAyOucVs3dtKt Cn8a8AxVLPEha0ZizZ0ivs+AfqCBT+zYDRLf4dC/TWstGozClCjiVyFcJxrfH3ZhbdLG IKPKSVWN+v1aJtabGPoZ++QAW/egqaD+aFy3h84gtdjsYTbakMOZHxvFDDrnii73uhSH DkxkHrCIJ7ErnJCsNX3xRxheyO2yjtDqQ7mPUexPMj4q2tPYjUHm1N6MMpH0JAW6SLcZ 6HRXDaI42Gegvnq7hENbn6kp0v+IRuKyzS8DRdifWSN5IhkDX7qt7H42mGQSHwFCTCR9 8exg== X-Gm-Message-State: AO0yUKWy958jVIywd7/GdnLAB9rupE/a8RyLFQYlg80JQjGp4H2AX2Bp 38A5ld1phwDyfsnFhbVtIPCbJk5vTkSoWp/E X-Google-Smtp-Source: AK7set8vAbFyWDfysy8Yr3jlzq8i8bVXkflTs7xAtFop9tjIPsYOjRXV4SWVeq+WLaEy/6dj2ytngw== X-Received: by 2002:ac8:4d94:0:b0:3b9:beca:8d79 with SMTP id a20-20020ac84d94000000b003b9beca8d79mr1336034qtw.12.1676653300018; Fri, 17 Feb 2023 09:01:40 -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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 09:01:39 -0800 (PST) From: Maxim Cournoyer Date: Fri, 17 Feb 2023 12:01:02 -0500 Message-Id: <20230217170103.10147-22-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230217170103.10147-2-maxim.cournoyer@gmail.com> References: <20230217170103.10147-2-maxim.cournoyer@gmail.com> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/spice.scm (spice-gtk) [arguments]: Add adjust-default-acl-helper-path phase. --- gnu/packages/spice.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/spice.scm b/gnu/packages/spice.scm index 62d1d50e5b..8d2bed38b2 100644 --- a/gnu/packages/spice.scm +++ b/gnu/packages/spice.scm @@ -159,6 +159,16 @@ (define-public spice-gtk ((".*'session.c',.*") "") (("tests_sources \\+= 'cd-emu.c'" all) (string-append "# " all))))) + (add-after 'unpack 'adjust-default-acl-helper-path + (lambda _ + ;; The USB ACL helper used to allow USB redirection as a + ;; non-privileged user needs to be setuid, as configured by the + ;; gnome-desktop-service-type. A user can still change the + ;; location by specifying the SPICE_USB_ACL_BINARY environment + ;; variable. + (substitute* "src/usb-acl-helper.c" + (("ACL_HELPER_PATH\"/spice-client-glib-usb-acl-helper\"") + "\"/run/setuid-programs/spice-client-glib-usb-acl-helper\"")))) (add-before 'configure 'correct-polkit-dir (lambda _ (substitute* "meson.build"