From unknown Sat Aug 16 18:44:28 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#54683] [PATCH] gnu: phodav: Use libsoup 2 instead of libsoup 3. Resent-From: Leo =?UTF-8?Q?Nikkil=C3=A4?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 Apr 2022 18:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54683 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54683@debbugs.gnu.org Cc: Leo =?UTF-8?Q?Nikkil=C3=A4?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164892449418332 (code B ref -1); Sat, 02 Apr 2022 18:35:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Apr 2022 18:34:54 +0000 Received: from localhost ([127.0.0.1]:46863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naiaF-0004lW-U6 for submit@debbugs.gnu.org; Sat, 02 Apr 2022 14:34:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:38830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naiaE-0004lO-06 for submit@debbugs.gnu.org; Sat, 02 Apr 2022 14:34:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naiaD-0005Lo-QY for guix-patches@gnu.org; Sat, 02 Apr 2022 14:34:45 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:52383) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naia7-000602-WE for guix-patches@gnu.org; Sat, 02 Apr 2022 14:34:43 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 994CD5C0067; Sat, 2 Apr 2022 14:34:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 02 Apr 2022 14:34:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lnikki.la; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; bh=7UIhlw3rbMfn6fckhTJLEp+7i8w29lYaxLEopP VQuCE=; b=Ep2NR22fQR6s/KLuuLEGyWoHk7V3tgWLBUN3R4mDS4HJQXaVUUrR9S IXRkfm48dwk/xCodEMOQmxer8qmK1ZnhCJGh6dlixoRL9DxgmFPt2UAPosXlMkX5 g4obIoZX8JyPBYub8JEV+VcstEmYFx9ANc9VMXUJjFojYd5zTvK0i4FMXiu6L3lK FNgF8p6iBuEWK+xEazCKx9BBNoWxLVBOcbfAAy28QsFGXMJ+B1qLCs+g1r62NJL2 CPeIEBJ0hjbZnGaS7ukuuBRCXoIGq749nsSdD/ktEviDTKEKDHuI9t8vbgjw7o0C DvaysV4U3+xF85gtRq0dJ2VZc9KQY5Ng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=7UIhlw 3rbMfn6fckhTJLEp+7i8w29lYaxLEopPVQuCE=; b=lCzp0Hot6yRArsQw5LfsS5 qLkR3EYVd2GKjFtCYlYJ54L1ArxOeWHLn+XAEM/Rm0S2YBFHgvyGfulP3qs5IQ6b hmFosiLkK/Imj7fVw3TPP36+9sT7705kSfV/4JQbu/W5Fy9qcEiOG0C1JNmSk8AV u6nBacZZKCzj2UT+zFzWq8JLknDo1UMyOlZEPC+6NLmzeXbpf3nsJtxy0nh6STC5 3u/+3ISEoYtt45uOtKLJ4Kk62V2Ggq2qa9ecQqoE1dJb1UKzF+ejKyaU3Nshd4p5 YOfhlJNK5Rf8idexvQ4LLqwFHgKgDKhCnFSY3SqF/rplqGL8Umn1ZpRHNb+xTZUg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeikedguddvlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffogggtgfesthekre dtredtjeenucfhrhhomhepnfgvohcupfhikhhkihhlmocuoehhvghllhhosehlnhhikhhk ihdrlhgrqeenucggtffrrghtthgvrhhnpeefkeeftddukeduvdejjeekfeffudehleelhe fgudffheelveelvdevjeefvdehteenucffohhmrghinhepghhnuhdrohhrghenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhvghllhhosehlnh hikhhkihdrlhgr X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 2 Apr 2022 14:34:35 -0400 (EDT) From: Leo =?UTF-8?Q?Nikkil=C3=A4?= Date: Sat, 2 Apr 2022 21:34:18 +0300 Message-Id: <20220402183418.4135-1-hello@lnikki.la> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=66.111.4.29; envelope-from=hello@lnikki.la; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Looks like phodav requires libsoup 2. Example of failing build logs, wanting libsoup 2.4: After swapping the dependency, tests were failing due to HOME not being writable. I added a new build phase to account for this. I also removed the start-virtual-dir-server phase which no longer seems required, the tests pass without it. * gnu/packages/gnome.scm (phodav): Fix build, tests. [inputs]: Replace libsoup 3 with libsoup 2. [arguments]<#:phases>[set-temporary-home]: New phase. [arguments]<#:phases>[start-virtual-dir-server]: Remove phase. --- gnu/packages/gnome.scm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 8ff59f084b..19adb67423 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -69,6 +69,7 @@ ;;; Copyright © 2022 Pierre Langlois ;;; Copyright © 2022 John Kehayias ;;; Copyright © 2022 Denis 'GNUtoo' Carikli +;;; Copyright © 2022 Leo Nikkilä ;;; ;;; This file is part of GNU Guix. ;;; @@ -1191,12 +1192,10 @@ (define-public phodav (substitute* "data/meson.build" (("udev\\.get_pkgconfig_variable\\('udevdir'\\)") (format #f "'~a'" rules)))))) - (add-before 'check 'start-virtual-dir-server - ;; The same server when started by tests/virtual-dir returns an - ;; unexpected status (4 instead of 200) and fails a test. It is - ;; unclear why starting it manually here makes it pass. + (add-before 'check 'set-temporary-home + ;; Tests want to write into HOME. (lambda _ - (system "tests/virtual-dir-server &")))))) + (setenv "HOME" "/tmp")))))) (native-inputs `(("docbook-xml" ,docbook-xml-4.3) ("gettext" ,gettext-minimal) @@ -1205,7 +1204,7 @@ (define-public phodav ("gtk-doc" ,gtk-doc/stable) ("pkg-config" ,pkg-config))) (inputs - (list avahi libgudev libsoup)) + (list avahi libgudev libsoup-minimal-2)) (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, -- 2.34.0 From unknown Sat Aug 16 18:44:28 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Leo =?UTF-8?Q?Nikkil=C3=A4?= Subject: bug#54683: closed (Re: bug#54683: [PATCH] gnu: phodav: Use libsoup 2 instead of libsoup 3.) Message-ID: References: <874k37jscb.fsf@gnu.org> <20220402183418.4135-1-hello@lnikki.la> X-Gnu-PR-Message: they-closed 54683 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 54683@debbugs.gnu.org Date: Tue, 05 Apr 2022 18:31:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1649183461-18194-1" This is a multi-part message in MIME format... ------------=_1649183461-18194-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #54683: [PATCH] gnu: phodav: Use libsoup 2 instead of libsoup 3. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 54683@debbugs.gnu.org. --=20 54683: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D54683 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1649183461-18194-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 54683-done) by debbugs.gnu.org; 5 Apr 2022 18:30:53 +0000 Received: from localhost ([127.0.0.1]:56164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbnx6-0004a6-Ro for submit@debbugs.gnu.org; Tue, 05 Apr 2022 14:30:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nbnx5-0004SY-6f for 54683-done@debbugs.gnu.org; Tue, 05 Apr 2022 14:30:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40342) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbnwv-0008Gb-Nz; Tue, 05 Apr 2022 14:30:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=e16NklN7GfnAvbQFNAYqIXcbJHUuBQFPUfBVlabmhdw=; b=oo0DNZwt3ZQbfGT7hIlx aDXCOfSZ/S8eWd189s0M1l2T4OHW+fNpLgIo0Qighbnq8pbyHT31kryMz5d994W+3eKIIzUQQS/Fo 90nLQ2qpCIPdHMWlrlV24/AM3fldJrSGoD3V2/27dB3Dh3j0f9+fgawrAAam+p386iUhQmt/dI8oh O44D1zwRhL9aOH61JvV7Q19J2ZPRbL7Z5Jg00ILnvwA3OqYzODkB34H4X4vYyWyxJ4YL9AmEedpLY glUKwxhzSBYg/ovAWp+3lBlicBfHSiFHqflpXMZTR57igTp2BYiAWq7eveeoOPP5/S1E3aVLOfY4W AUzw6zzEv9bx0Q==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:57828 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbnwk-0004rT-5e; Tue, 05 Apr 2022 14:30:41 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Leo =?utf-8?Q?Nikkil=C3=A4?= Subject: Re: bug#54683: [PATCH] gnu: phodav: Use libsoup 2 instead of libsoup 3. References: <20220402183418.4135-1-hello@lnikki.la> Date: Tue, 05 Apr 2022 20:30:28 +0200 In-Reply-To: <20220402183418.4135-1-hello@lnikki.la> ("Leo =?utf-8?Q?Nikki?= =?utf-8?Q?l=C3=A4=22's?= message of "Sat, 2 Apr 2022 21:34:18 +0300") Message-ID: <874k37jscb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54683-done Cc: 54683-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Leo Nikkil=C3=A4 skribis: > Looks like phodav requires libsoup 2. Example of failing build logs, > wanting libsoup 2.4: > > After swapping the dependency, tests were failing due to HOME not being > writable. I added a new build phase to account for this. I also removed > the start-virtual-dir-server phase which no longer seems required, the > tests pass without it. > > * gnu/packages/gnome.scm (phodav): Fix build, tests. > [inputs]: Replace libsoup 3 with libsoup 2. > [arguments]<#:phases>[set-temporary-home]: New phase. > [arguments]<#:phases>[start-virtual-dir-server]: Remove phase. Well done. Applied, thanks! Ludo=E2=80=99. ------------=_1649183461-18194-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Apr 2022 18:34:54 +0000 Received: from localhost ([127.0.0.1]:46863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naiaF-0004lW-U6 for submit@debbugs.gnu.org; Sat, 02 Apr 2022 14:34:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:38830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naiaE-0004lO-06 for submit@debbugs.gnu.org; Sat, 02 Apr 2022 14:34:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naiaD-0005Lo-QY for guix-patches@gnu.org; Sat, 02 Apr 2022 14:34:45 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:52383) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naia7-000602-WE for guix-patches@gnu.org; Sat, 02 Apr 2022 14:34:43 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 994CD5C0067; Sat, 2 Apr 2022 14:34:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 02 Apr 2022 14:34:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lnikki.la; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm2; bh=7UIhlw3rbMfn6fckhTJLEp+7i8w29lYaxLEopP VQuCE=; b=Ep2NR22fQR6s/KLuuLEGyWoHk7V3tgWLBUN3R4mDS4HJQXaVUUrR9S IXRkfm48dwk/xCodEMOQmxer8qmK1ZnhCJGh6dlixoRL9DxgmFPt2UAPosXlMkX5 g4obIoZX8JyPBYub8JEV+VcstEmYFx9ANc9VMXUJjFojYd5zTvK0i4FMXiu6L3lK FNgF8p6iBuEWK+xEazCKx9BBNoWxLVBOcbfAAy28QsFGXMJ+B1qLCs+g1r62NJL2 CPeIEBJ0hjbZnGaS7ukuuBRCXoIGq749nsSdD/ktEviDTKEKDHuI9t8vbgjw7o0C DvaysV4U3+xF85gtRq0dJ2VZc9KQY5Ng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=7UIhlw 3rbMfn6fckhTJLEp+7i8w29lYaxLEopPVQuCE=; b=lCzp0Hot6yRArsQw5LfsS5 qLkR3EYVd2GKjFtCYlYJ54L1ArxOeWHLn+XAEM/Rm0S2YBFHgvyGfulP3qs5IQ6b hmFosiLkK/Imj7fVw3TPP36+9sT7705kSfV/4JQbu/W5Fy9qcEiOG0C1JNmSk8AV u6nBacZZKCzj2UT+zFzWq8JLknDo1UMyOlZEPC+6NLmzeXbpf3nsJtxy0nh6STC5 3u/+3ISEoYtt45uOtKLJ4Kk62V2Ggq2qa9ecQqoE1dJb1UKzF+ejKyaU3Nshd4p5 YOfhlJNK5Rf8idexvQ4LLqwFHgKgDKhCnFSY3SqF/rplqGL8Umn1ZpRHNb+xTZUg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeikedguddvlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffogggtgfesthekre dtredtjeenucfhrhhomhepnfgvohcupfhikhhkihhlmocuoehhvghllhhosehlnhhikhhk ihdrlhgrqeenucggtffrrghtthgvrhhnpeefkeeftddukeduvdejjeekfeffudehleelhe fgudffheelveelvdevjeefvdehteenucffohhmrghinhepghhnuhdrohhrghenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhvghllhhosehlnh hikhhkihdrlhgr X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 2 Apr 2022 14:34:35 -0400 (EDT) From: =?utf-8?Q?Leo=20Nikkil=C3=A4?= To: guix-patches@gnu.org Subject: [PATCH] gnu: phodav: Use libsoup 2 instead of libsoup 3. Date: Sat, 2 Apr 2022 21:34:18 +0300 Message-Id: <20220402183418.4135-1-hello@lnikki.la> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=66.111.4.29; envelope-from=hello@lnikki.la; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Leo=20Nikkil=C3=A4?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Looks like phodav requires libsoup 2. Example of failing build logs, wanting libsoup 2.4: After swapping the dependency, tests were failing due to HOME not being writable. I added a new build phase to account for this. I also removed the start-virtual-dir-server phase which no longer seems required, the tests pass without it. * gnu/packages/gnome.scm (phodav): Fix build, tests. [inputs]: Replace libsoup 3 with libsoup 2. [arguments]<#:phases>[set-temporary-home]: New phase. [arguments]<#:phases>[start-virtual-dir-server]: Remove phase. --- gnu/packages/gnome.scm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 8ff59f084b..19adb67423 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -69,6 +69,7 @@ ;;; Copyright © 2022 Pierre Langlois ;;; Copyright © 2022 John Kehayias ;;; Copyright © 2022 Denis 'GNUtoo' Carikli +;;; Copyright © 2022 Leo Nikkilä ;;; ;;; This file is part of GNU Guix. ;;; @@ -1191,12 +1192,10 @@ (define-public phodav (substitute* "data/meson.build" (("udev\\.get_pkgconfig_variable\\('udevdir'\\)") (format #f "'~a'" rules)))))) - (add-before 'check 'start-virtual-dir-server - ;; The same server when started by tests/virtual-dir returns an - ;; unexpected status (4 instead of 200) and fails a test. It is - ;; unclear why starting it manually here makes it pass. + (add-before 'check 'set-temporary-home + ;; Tests want to write into HOME. (lambda _ - (system "tests/virtual-dir-server &")))))) + (setenv "HOME" "/tmp")))))) (native-inputs `(("docbook-xml" ,docbook-xml-4.3) ("gettext" ,gettext-minimal) @@ -1205,7 +1204,7 @@ (define-public phodav ("gtk-doc" ,gtk-doc/stable) ("pkg-config" ,pkg-config))) (inputs - (list avahi libgudev libsoup)) + (list avahi libgudev libsoup-minimal-2)) (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, -- 2.34.0 ------------=_1649183461-18194-1--