From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mMtVFDBFHmU4GgAAG6o9tA:P1 (envelope-from ) for ; Thu, 05 Oct 2023 07:10:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mMtVFDBFHmU4GgAAG6o9tA (envelope-from ) for ; Thu, 05 Oct 2023 07:10:08 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D8CFA57438 for ; Thu, 5 Oct 2023 07:10:07 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=albinoniB header.b=lLwGFu+t; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696482608; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=f9J4fERYOVlRL9mNTgybIDoHELln/XIisCM91eeVzkQ=; b=XF5gKm0G+jZYmIZx45I0UuoqOhh8Ae5VGjTCO/fPX/OrJ8WTyWeek8wZbrQkBb2LWk59MQ nJX9cLiiF8oikOwQiIHdEK/y0Q5hBi7bZk2OCMQefuwVTeSuTwmTc9Yc8UHC2tcQAt1nJq WD8OiIRghGGfBli9aTahW1L0tSGRNwkWXYF11665fFmAwKZXXPrrJD3SH8mxyHU8Rz+dcd Zf/ggvtiyFM0YmquX0t7VLmSQ+PtG3qvL8H4k637twIRbxtrN43E1uqviVsMUxxCNthIjU OmaU6ITR+DYs4DWY5msABi09YXqsg652ElHED/wtH3mMaRBsfAFDoVF3c1OKVQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696482608; a=rsa-sha256; cv=none; b=U+ez1uaDWKahQ7qHpqnGUAORrl+nfecWCQa2hZ6r4EC91jd+jakzEl3jDfpFutRK/efaia xiRxjO0pARmPj2CSDJY2llLMktrTcnHHVAAmiZ+G1v/iZy2x3P0gToxC/dK/3R/ne/adOh /tr/8t5K+ZLw9S145/DFrUPWc5gLOO/6yQXE+7CNE6rc2eeIk9eK7bAJdFKdFoqdGIlDq7 NqrFF1+G04KhztGD3CHZ3KMwMQWmoPV2q1JOjSNN4/OFqVFXKLAadHCten0OuIRm24/fSA kjE1c+PpIGWsnPWyYzj3PjGlNMPWbIvRuCOkiHk6hcJ0WgJ3N3v2ofBWgTBUXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=planete-kraus.eu header.s=albinoniB header.b=lLwGFu+t; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoGcQ-0003fw-LY; Thu, 05 Oct 2023 01:09:50 -0400 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 1qoGcN-0003ey-8e for guix-patches@gnu.org; Thu, 05 Oct 2023 01:09:47 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qoGcM-0004UF-Vu for guix-patches@gnu.org; Thu, 05 Oct 2023 01:09:47 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoGcd-0001Go-Vl for guix-patches@gnu.org; Thu, 05 Oct 2023 01:10:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66099] [PATCH gnome-team v7 5/5] gnu: upower: Update to 1.90.2. Resent-From: Vivien Kraus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Oct 2023 05:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66099 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler , maxim.cournoyer@gmail.com, 66099@debbugs.gnu.org Cc: rg@raghavgururajan.name Received: via spool by 66099-submit@debbugs.gnu.org id=B66099.16964825964825 (code B ref 66099); Thu, 05 Oct 2023 05:10:03 +0000 Received: (at 66099) by debbugs.gnu.org; 5 Oct 2023 05:09:56 +0000 Received: from localhost ([127.0.0.1]:45737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoGcW-0001Fk-AN for submit@debbugs.gnu.org; Thu, 05 Oct 2023 01:09:56 -0400 Received: from planete-kraus.eu ([89.234.140.182]:42922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoGcT-0001Dv-9w for 66099@debbugs.gnu.org; Thu, 05 Oct 2023 01:09:54 -0400 Received: from planete-kraus.eu (localhost.lan [127.0.0.1]) by planete-kraus.eu (OpenSMTPD) with ESMTP id 5405c536; Thu, 5 Oct 2023 05:09:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=planete-kraus.eu; h= message-id:in-reply-to:references:from:date:subject:mime-version :content-type:content-transfer-encoding:to:cc; s=albinoniB; bh=U 4Q95r5OzDlerBhawFCb592wjQg=; b=lLwGFu+tVIobrOx8XoBdMi4DLKMlVyQz0 k2AQi/TaSDg0CFzTPmS2dANA/sZhP5u/jZiMk1sBfWPm1jMXy17I27QaE0TEZFEV tAaSyVbERpUJ8KVC8H/60ygNJiEiLz3QC80vfhUx+p8GtQbD0jN7Ldqc4qgEymK0 uJhx9n+dPUcawdcP3w2nkBCoDFlqP4/T0X4JmTJRnfcgdvs4cuv4GAmv5WACqXeR 0tOMp5h7K4uYTdwLzBFqCQaVbNZlTB6QewzNJLAn1Bcm4g0Gjk8bGc0PYJ4W4Gay lJgCLlTGDpnUJSgaxLUcNPcjm5mlRb2FT0jkbqqLt1IutBwka5vHg== Received: by planete-kraus.eu (OpenSMTPD) with ESMTPSA id 5f4c8abe (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Thu, 5 Oct 2023 05:09:33 +0000 (UTC) Message-ID: <1d1ca103f706928cdf7c9008fa00e67af66a6a91.1696482243.git.vivien@planete-kraus.eu> In-Reply-To: References: <69e084520f189ab5f8a80afc7011a9b1ae911d2a.camel@gmail.com> Date: Tue, 19 Sep 2023 13:32:46 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit User-Agent: Evolution 3.46.4 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: , Reply-to: Vivien Kraus X-ACL-Warn: , Vivien Kraus via Guix-patches From: Vivien Kraus via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -4.22 X-Spam-Score: -4.22 X-Migadu-Queue-Id: D8CFA57438 X-TUID: 3gvxOPGuReXi The new eudev now can install hwdb files. Upower has some, but they should get installed in upower’s output, not eudev’s. The phases needed a rework. Now the 32-bit-specific test fix is always there, except it may be empty. test_bluetooth_hidpp_mouse fails, after calling into a bluez dbus method. * gnu/packages/gnome.scm (upower): Update to 1.90.2. [#:configure-flags]: Set udevhwdbdir. [#:phases] : Add this phase unconditionnally : Disable test_bluetooth_hidpp_mouse. [inputs]: Remove dbus-glib. [native-inputs]: Add dbus. --- gnu/packages/gnome.scm | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 4ea3dc455a..3f773aae8a 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5727,7 +5727,7 @@ (define-public geocode-glib-with-libsoup2 (define-public upower (package (name "upower") - (version "1.90.0") + (version "1.90.2") (source (origin (method git-fetch) @@ -5736,7 +5736,7 @@ (define-public upower (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1g17rm91p8vfpjyb0k2shylrs55nccn3fa890vlk4n9s71sghbzq")) + (base32 "13xp423ycv8imf2cmgf6lii9f01p7x2v19cny7acrmczkc0cqv7d")) (modules '((guix build utils))) (snippet ;; Upstream commit . - (substitute* "src/linux/integration-test.py" - (("assertEqual(.*)40\\.0" _ middle) - (string-append - "assertAlmostEqual" middle "40.0")))))) - #~%standard-phases))) + (string-append "-Dudevrulesdir=" #$output "/bin/udev/rules.d") + (string-append "-Dudevhwdbdir=" #$output "/lib/udev/hwdb.d")) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'adjust-test-suite + (lambda _ + ;; This test calls an unimplemented bluez dbus method. + (substitute* "src/linux/integration-test.py" + (("test_bluetooth_hidpp_mouse") + "disabled_test_bluetooth_hidpp_mouse")) + #$@(if (target-x86-32?) + ;; Address test failure caused by excess precision + ;; on i686: + ;; . + '((substitute* "src/linux/integration-test.py" + (("assertEqual(.*)40\\.0" _ middle) + (string-append + "assertAlmostEqual" middle "40.0")))) + '())))))) (native-inputs (list `(,glib "bin") ; for gdbus-codegen gobject-introspection @@ -5785,12 +5791,13 @@ (define-public upower python-packaging python-pygobject umockdev + dbus ;; For man pages. docbook-xsl libxslt ; for 'xsltproc' libxml2)) ; for 'XML_CATALOG_FILES' (inputs - (list dbus-glib libgudev libusb)) + (list libgudev libusb)) (propagated-inputs ;; In Requires of upower-glib.pc. (list glib)) -- 2.41.0