From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IHePKVxiGGX+MgAA9RJhRA:P1 (envelope-from ) for ; Sat, 30 Sep 2023 20:01:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IHePKVxiGGX+MgAA9RJhRA (envelope-from ) for ; Sat, 30 Sep 2023 20:01:00 +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 297DB3CA8A for ; Sat, 30 Sep 2023 20:01:00 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=OiNjHMon; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696096860; h=from:from:sender:sender: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=W18WkK6X6LrBPfL5tz8I7tgMPA0XQLWBs+32i+mpcac=; b=SuC+OwSkovQbtSf49+8vlS1MR0zH6Gk5Kw7/ddQqW7rJPkoqXQO+0ijseAwe6M96Fp83XY d9/EtY+yGjnEaRhDGgpDg7L4YfYb1/GY9ISgkK3gNofmc5aIfJVUEnbNjOf3Y2ktyMohKI 9B8bTOZWO5/aW5x5du3SekphPqSqeyAjELlqRFM8/KsW7+wRBbvasH7CCPSrzcAw4mfYis GlcvTa4E96zLHxaiEFzSBUQi1qHmbM27aYljXeqOWMns/BLl2XIeZh17HZd4V2SL8drpml xoyvfKSNV28jOCM7svRlsgWyRhf4dHYNuaAlnMLJPMMRKkXvrkUleVzQKSqFTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696096860; a=rsa-sha256; cv=none; b=t3lEzMoQEomIeaajMBNSMQKydeztN6WIDBlunkrvUKJyCihQlfi34/H0v/sbw8xEB1l/uV p8diOr82+ECy9AH5D8lYs98Bb1yW/Bg25IVhoLft6Se0STPBLldbL0HGaXcltrQUs7HT2V 549tLOCpvCpDWZuTBSVpqPS2JakxS4eYWe4X9lpN9BiUEwISaI+DpkOHCSHcq7hMoQ1RRt Aa4Rd7RLyAJGqNr6ZYABWfmxw/OLaYryA/GtAKaMZBauzXRUzoP2aQY8jua473I4tl1aJE 2JeaMGX0FPr2CRQH3qYAreNRaPzU25MOeQuameCeNmWSpltvc1O3QzgOPrwhHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=OiNjHMon; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qmeGm-0000MM-Q9; Sat, 30 Sep 2023 14:00:48 -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 1qmeGk-0000Lx-P7 for guix-patches@gnu.org; Sat, 30 Sep 2023 14:00: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 1qmeGk-0006lS-GQ for guix-patches@gnu.org; Sat, 30 Sep 2023 14:00:46 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qmeGz-0005eX-VX for guix-patches@gnu.org; Sat, 30 Sep 2023 14:01:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66099] [PATCH gnome-team v3 1/3] gnu: eudev: Update libudev version to 251. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 30 Sep 2023 18:01:01 +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: Vivien Kraus , 66099@debbugs.gnu.org Cc: rg@raghavgururajan.name, maxim.cournoyer@gmail.com Received: via spool by 66099-submit@debbugs.gnu.org id=B66099.169609682921678 (code B ref 66099); Sat, 30 Sep 2023 18:01:01 +0000 Received: (at 66099) by debbugs.gnu.org; 30 Sep 2023 18:00:29 +0000 Received: from localhost ([127.0.0.1]:59729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmeGT-0005da-DB for submit@debbugs.gnu.org; Sat, 30 Sep 2023 14:00:29 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:55336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qmeGO-0005dE-R4 for 66099@debbugs.gnu.org; Sat, 30 Sep 2023 14:00:27 -0400 Received: by mail-wm1-x342.google.com with SMTP id 5b1f17b1804b1-405361bba99so150313315e9.2 for <66099@debbugs.gnu.org>; Sat, 30 Sep 2023 11:00:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696096803; x=1696701603; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=W18WkK6X6LrBPfL5tz8I7tgMPA0XQLWBs+32i+mpcac=; b=OiNjHMonnjoxmKYW5ITYP3dd04KSormU8SFQrNJEGy+3kMZxa/slXynHvLF3/R5HNJ c+QNKdJMPqhc8Na6ks5pHALZPRuxbClzuV5NnSgvBXa8bZ3qGYB1Cs6itwg24FLMDIlL slA0imEBTw0o7k/G7bPot0n+rJyV33DLxGortVd9JgXWkM83B4bKyXDvP3CFSxNq8RU8 Atl+OYmKXvcvZJ/SXbFjuSrxj92AAnnprMrkUht0wQaRhylCOdsht3QiOaQDfqtV3i3t dV35TpD6NdyASpzq1z82CqjWuaXGRj3s9ZOSiKc/nNM9DpM0XcNhavBR6590X1tIzC0Y q/hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696096803; x=1696701603; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=W18WkK6X6LrBPfL5tz8I7tgMPA0XQLWBs+32i+mpcac=; b=uZhKnKo7ESH4vHpdQa6yc6gn8dYljGFUrc0p9kbENBSW90DWJRyD/4kAg3/EHRUTfN MVo4Zir2lpARx7CHdrMYbKS4gKETC0+O6ZosXp0Hq9DWFRqfto9ZaHNZe+YKs0XpQALB UiayO5konvf3hdqRhN8jmse4E2Mw7Ck3uSQk+29EwvXvYBC7H5n4h6bqlHl+y+680yWS TP7hrsQz5uvqC6P4E4lKpkf8iY8bDcKSMX2rYrxJhUxkYXz48lm/hIFLiXJeW9xtFOy5 aZusXSD1fPe1vWHPjcOonvgz9c0S4I6fOZrk9f9mLExGYbk3xxvKMsTmWlmAXmXf4mUg YvCQ== X-Gm-Message-State: AOJu0Yz8Qqp5kJPnW0DU4hYuQnAxRFF4CV1vWSU5bNqNTJaUuEbUMq+v Hjpg9dtH/WSiegofDEXlX74= X-Google-Smtp-Source: AGHT+IEq9jijJsM3Z7E8XeGrq9BLWA+8MZmNR0jwfRz4nfHdN2Y3NbI+0I1vKnUFZCwTYCNSQaGcuA== X-Received: by 2002:a05:600c:3786:b0:405:3ee3:c69c with SMTP id o6-20020a05600c378600b004053ee3c69cmr6183356wmr.15.1696096802779; Sat, 30 Sep 2023 11:00:02 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id f21-20020a7bcc15000000b00404719b05b5sm3807937wmh.27.2023.09.30.11.00.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 11:00:01 -0700 (PDT) Message-ID: From: Liliana Marie Prikler Date: Sat, 30 Sep 2023 19:59:58 +0200 In-Reply-To: References: , Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 4.24 X-Migadu-Spam-Score: 4.24 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Queue-Id: 297DB3CA8A X-TUID: 4wiQU6EbqFkS Am Dienstag, dem 19.09.2023 um 13:23 +0200 schrieb Vivien Kraus: > Support for version 251 is only provided as a merge request for now: >=20 > https://github.com/eudev-project/eudev/pull/253 >=20 > This merge request bumps the eudev version to 3.2.14, but it has not > been released yet. >=20 > Eudev now has a hardware database that installs descriptions of > hardware in /etc, but they should go to /lib prior to being used. I > added a phase to copy all the /etc files to /lib. >=20 > I submitted 3 patches to make udev hwdb more guix-friendly, fused in > eudev-hwdb-bin-path.patch. libudev requires an indexed binary file > that knows about all devices, and this file is generated by udevadm > hwdb --update -o /lib/udev/hwdb.bin. This udevadm hwdb > command respects the UDEV_HWDB_PATH to collect all entries for the > hwdb. Then, libudev can use UDEV_HWDB_BIN to select the database at > run-time. >=20 > Another unreleased patch for PR 255 is also included. >=20 > I think everything could work out for Guix if we add a new profile > hook that: > 1. Calls udevadm hwdb --update -o /lib/udev/hwdb.bin; > 2. Set UDEV_HWDB_BIN to /lib/udev/hwdb.bin. >=20 > This is why there are actually 2 search paths: one for > UDEV_HWDB_PATH, and one for UDEV_HWDB_BIN (the latter accepting only > 1 value). Move personal comments below the --- line, keeping explanations above the ChangeLog. > * gnu/packages/linux.scm (eudev): Update to v3.2.12, but bump version > to 3.2.14.beta. Why not simply use git-version and a commit? Or alternative have v3.2.12 as the version while cherry-picking those commits. > [#:phases] : New phase. > : Update accordingly. > [native-search-paths]: Add UDEV_HWDB_PATH. > * gnu/packages/patches/eudev-bump-to-251.patch: New file. > * gnu/packages/patches/eudev-hwdb-bin-path.patch: New file. > * gnu/packages/patches/eudev-pr-255.patch: New file. You might want to rename these patches to explain what they do in the file name, e.g. "eudev-libudev251-compat.patch". > * gnu/packages/linux.scm (eudev): Use them here. > * gnu/local.mk (dist_patch_DATA): Register them here. > * guix/profiles.scm (udev-hwdb-bin): New profile hook to generate > hwdb.bin. > (%default-profile-hooks): Register it here. Unless it's absolutely required to make use of eudev, you might want to separate this hook into a separate patch. Cheers