From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UC1MNmXu+WEOMwEAgWs5BA (envelope-from ) for ; Wed, 02 Feb 2022 03:37:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mImzM2Xu+WFcggEA9RJhRA (envelope-from ) for ; Wed, 02 Feb 2022 03:37:25 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6FAD1161F4 for ; Wed, 2 Feb 2022 03:37:25 +0100 (CET) Received: from localhost ([::1]:58010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nF5WO-0002Ou-F6 for larch@yhetil.org; Tue, 01 Feb 2022 21:37:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nF0hC-00055C-GJ for guix-patches@gnu.org; Tue, 01 Feb 2022 16:28:14 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51421) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nF0h0-00035w-3F for guix-patches@gnu.org; Tue, 01 Feb 2022 16:28:13 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nF0gz-0003cn-Te for guix-patches@gnu.org; Tue, 01 Feb 2022 16:28:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53676] [PATCH 4/5] services: pulseaudio: Add an extra-script-files configuration field. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Feb 2022 21:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53676 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 53676@debbugs.gnu.org Received: via spool by 53676-submit@debbugs.gnu.org id=B53676.164375082313853 (code B ref 53676); Tue, 01 Feb 2022 21:28:01 +0000 Received: (at 53676) by debbugs.gnu.org; 1 Feb 2022 21:27:03 +0000 Received: from localhost ([127.0.0.1]:44324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nF0g3-0003bN-Et for submit@debbugs.gnu.org; Tue, 01 Feb 2022 16:27:03 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:45735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nF0g1-0003as-9c for 53676@debbugs.gnu.org; Tue, 01 Feb 2022 16:27:01 -0500 Received: by mail-ed1-f67.google.com with SMTP id p7so37119287edc.12 for <53676@debbugs.gnu.org>; Tue, 01 Feb 2022 13:27:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=04UCdhxGtzBFYZQYfxevrUSEV45PvP6yBp5ZTemE89Q=; b=B9ektJFv4PauC9qzq37iFTFqSREOv/5F6dyDN9IhNg71XgoMRL9u0gDAvisyqEIFqG 6wlfDKvHoRGWwOe7w4xUzXBWvoEJYi3QmgglfM2C//EJXUhBNM7aE4C7XlGRqZE8Y2Hp GzAMUfFGnzKSGUNzrWaUUi6RQRz7FJWbclfSv4PZKylInFB37M6SKTx5dQe0EixP1wSB 1gmuU17OBwUcH1ZvR1IPcYKDzf4fkGfX0G5ACeJDrFYz9KneEReNgVHa4bu/bBPYlMIr SPBZE22p57DKFLBmOT4sfADKs5ayXTF+9R4cTMNYqlsmeq1b+qwI7Fv8uyNjk2QW8v7B 38mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=04UCdhxGtzBFYZQYfxevrUSEV45PvP6yBp5ZTemE89Q=; b=2Zv0VMhH+I0T71DyS9EjNjY2u1rNVKk6T0QPOo5N+w0a/OC7g7VvSP/Zkx3CnqN7fP x2ADpM6Kfm16yA+Fmz4MF8fU21vy2GyY1spY5KWKuC/voE8LcKP16mbO8fI7UD6QhHWo 6izUAaaYwO/ZlEXbMkXXkI1L2crQU9JkUjyuLpZXF6frUZexq6TpN6RA4c0L/j44z//8 L+8Ed10W9/QWyvZYs7CWupzlz2q1iTBdxuxfzehpxNzedDI+WHa/KuS5sfPYgl223nYS WEAObt81jvhhEUJunMFnN4klDbNbmO1ACACEZdys4lKDuoIEHQZp8oDr1L6UhlUIYf9q 6S7A== X-Gm-Message-State: AOAM531k2hTWbQ0m+qQKwqd2Wcad0xMc43f56cm//dKlce5jz6w/c78F dUe4on1o+s1G83Y7LNXuyM0= X-Google-Smtp-Source: ABdhPJz5hoCxEtLyv0otc1USoy9TgwXP/uPhwzucIL2p5a4YCLgqxP3srLUm1vEcv3uRTq8Hoospuw== X-Received: by 2002:a05:6402:125a:: with SMTP id l26mr5799197edw.455.1643750815360; Tue, 01 Feb 2022 13:26:55 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id n25sm13506358ejx.92.2022.02.01.13.26.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 13:26:54 -0800 (PST) Message-ID: <3c9845d7b893dddcd44be41d2ee475c29d9f5a85.camel@gmail.com> From: Liliana Marie Prikler Date: Tue, 01 Feb 2022 22:26:54 +0100 In-Reply-To: <871r0m1gdy.fsf@gmail.com> References: <20220201041933.16603-1-maxim.cournoyer@gmail.com> <20220201041933.16603-4-maxim.cournoyer@gmail.com> <97111754acacc576aec4eb55889a32474fe71f95.camel@gmail.com> <871r0m1gdy.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643769445; 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=04UCdhxGtzBFYZQYfxevrUSEV45PvP6yBp5ZTemE89Q=; b=ebdaQ/z0bSXs7JPMViSK/6z7DsEK01jB1BLvrTg8azyb6cqwaBYFD03gH4iCIlz8Q/13BY +MzaXz2NhrozDEene/jo/n4LynOudqx1GJwqsfmUuv6FJYu97C5a3IWyRSfGuBLUjyO6nU VsffX5JEc1nDmVRJ9gVvUCNsqdTle03Gp/7tSqKhGJKNxdkf2NQTbaSSovuY5o/SLp5NlS Nt2EKKs5Dgc9sc5mYKwouLdEsicAFHLTt3B8D9MJ26vUH28Qq//eV2EevsZygGc2tDqyS3 UjaE5fhHcAV6FGXKB53KJY+tIVYZQNmtFt8lo1T6At1c8xONCHYNkOb9wm8Xuw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643769445; a=rsa-sha256; cv=none; b=U04bp6dAN8fuC3wRYgok9JPYV0Ark3dIAYUc0AzEVuCfd7xxE2y05bBDlLD5LxJ5PAEfKF rwRvahz1Nae2/07IuzYIXmubiXkd0ZTBJt36AorSvTe+dryDuTJX4HI21vNfpHy9v7cDJZ FC41xAd8AIaH7exGHe42xlQ1yFoY/taAFP/FYJCtudwzF3/dWA3mpEbBtvd7bxarTgJbSE T199XQZPJagwV+PzUP9FRD6jEacMNR7okNTGoGBtyZ6wWMlWj6N4tRfC4MJfKK5GvASEFH GFDdnaVO6aAxYrzXLmViLujBKX9t1grAm05hT2K7H3PYq1r3b0Qb9zf62d4DYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=B9ektJFv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: -3.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=B9ektJFv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: 6FAD1161F4 X-Spam-Score: -3.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: tT6UmHAfCIur Hi, Am Dienstag, dem 01.02.2022 um 15:27 -0500 schrieb Maxim Cournoyer: > [...] > > Is there a particular use-case for this (other than working around > > the location issue of default.pa et al.)?  If not, I'd rather make > > it s.t. our other files can more easily be stitched together in- > > place. > > You mean, a use case for extra-script-files?   Yes. > Sorry, I missed something in the "make it s.t. our other [...]"; what > does "s.t." stands for? "such that" or "so that". Pretty common among mathematicians, I think 🙃 > My use case is the one I documented in the manual; setting a default > card profile for example.  Also choosing the default sink and source > of a card; this can be done in client.conf but that doesn't get > reflected anywhere on the state of a running pulseaudio server it > seems, contrary to calling 'set-default-sink ...', which takes effect > server-side. And you can't do this inside default.pa, because ... ? > > Also, assuming that we're using file-like objects here, I think we > > should use the store name minus prefix and hash for the file name. > > E.g. if Alice adds soundblaster.pa, it'd make sense to label it > > soundblaster.pa, so that changes to snippet order don't mess up any > > configuration referring to those files. > > I actually wanted to do that but decided against since there's no > clean API to retrieve the name of a G-Exp file-like object (it could > be done, currently, but it'd be messy and fragile, it seems). > > But good observation, I wanted to document that the extra script > files are loaded in the order they are listed. Isn't that what "strip-store-file-name" from (guix build utils) does? (Let's ignore hard-coded hash length...) Cheers