From patchwork Thu Mar 6 08:44:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: aurtzy X-Patchwork-Id: 39727 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 9F41A27BBE9; Thu, 6 Mar 2025 08:49:58 +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=-7.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 F04F227BBE2 for ; Thu, 6 Mar 2025 08:49:56 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tq6uw-0004Tv-Bp; Thu, 06 Mar 2025 03:49:22 -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 1tq6ue-0004Qp-C6 for guix-patches@gnu.org; Thu, 06 Mar 2025 03:49:06 -0500 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 1tq6ud-0003Wa-UT for guix-patches@gnu.org; Thu, 06 Mar 2025 03:49:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=n8RI46+FY5lkGwElTtMhYT8kJ+oSoi5ruHTd7rvbyfg=; b=cFkA3SOPQnybseCOxeJ67JhkXFBEOOGxALE58krwpMCWspAX8kwAHo2RrLjs+KW2h3X267p03VL7yasBBmdG6BV8oXViTTTAQNDkJBW6WE2SxEiMPeJxzLhmKBpe+hIllX6PuESTKmT1TDIemIJR0xUzHtiqDM13XytQKrtjaBAxv+2V/d6HA3runAiwxhfhBdufr5ptk7s80+Twy7DztgyHx29KDXxzdCaQkJvowYHJUhcMD197/iF+DEuv/a3qpJwrHKqpzVx5N/wxftX/jnrWtLEhcMvV/yz+gKN5KtLnFjMiuxm9XZ64h0IiE/zo8i1jGpvf7XsieWojjjMC0A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tq6ud-00028n-IN; Thu, 06 Mar 2025 03:49:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76572] [PATCH v2 2/4] gnu: gnome-shell-extension-gsconnect: Wrap gsconnect-preferences. Resent-From: aurtzy Original-Sender: "Debbugs-submit" Resent-CC: aurtzy@gmail.com, maxim.cournoyer@gmail.com, liliana.prikler@gmail.com, vivien@planete-kraus.eu, guix-patches@gnu.org Resent-Date: Thu, 06 Mar 2025 08:49:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 76572 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76572@debbugs.gnu.org Cc: aurtzy , aurtzy , Maxim Cournoyer , Liliana Marie Prikler , Vivien Kraus X-Debbugs-Original-Xcc: aurtzy , Maxim Cournoyer , Liliana Marie Prikler , Vivien Kraus Received: via spool by 76572-submit@debbugs.gnu.org id=B76572.17412509198144 (code B ref 76572); Thu, 06 Mar 2025 08:49:03 +0000 Received: (at 76572) by debbugs.gnu.org; 6 Mar 2025 08:48:39 +0000 Received: from localhost ([127.0.0.1]:41400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tq6uE-00027B-Fs for submit@debbugs.gnu.org; Thu, 06 Mar 2025 03:48:38 -0500 Received: from mail-qk1-x729.google.com ([2607:f8b0:4864:20::729]:45365) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tq6u8-00026K-7z for 76572@debbugs.gnu.org; Thu, 06 Mar 2025 03:48:32 -0500 Received: by mail-qk1-x729.google.com with SMTP id af79cd13be357-7c07cd527e4so34901085a.3 for <76572@debbugs.gnu.org>; Thu, 06 Mar 2025 00:48:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741250906; x=1741855706; darn=debbugs.gnu.org; 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=n8RI46+FY5lkGwElTtMhYT8kJ+oSoi5ruHTd7rvbyfg=; b=cJ18rzhOkuVHju6BZ1EyWkMLom1ETAIkGrOfCPZwAiD+unB5vIE2JSO8af32tuu6D0 k9C81F9IIPeQZ/CxlHRNVgPFUKOLH5+8g8SsweDUafRo+gCzBvMFH+Cq+g+uhQ0V8N9X In6QvuioLasI1PC1sTVha4BUo6v897WDCsPLEmSGKZPvE/lGpP611hihY76fu+PuRvCg kDXSTS6/FavXe+9SR99hFP70Yl4Qje8NRghU3cy82s67mCXrcNZJZ4XvKK/Odte+AIVC q8ce1yyb32zIt1rwo9FqsWlAUFQol+0IUAFQAzlxa85XxgB4uTbqrjcZ6nqHPK9w/mt2 Ju5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741250906; x=1741855706; 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=n8RI46+FY5lkGwElTtMhYT8kJ+oSoi5ruHTd7rvbyfg=; b=o3yUlzBZUEZ+cE3vSwmcLvh2NOZEo3cZTAU9EU+9DlSz3fWKKoyvV1J0cvAxVV1VNI 0MG2wqK6Wj4XpMsdZk8n/p/rW5XWuFIv8cIkAtJspecmqtMaoabXeutkWXHXCd2sy7nC rfnlbqKOD8Jjq5EW3hBLnx265Weu8+EadbfSaub/zZkcHUJjHVtlkT9hJd43th1fi59d 1dlKXxgrmtFA0hoJQXpr/AgbrAMYm98O+u3sZsHghCLUdINJvi1rh2TOe9LwtgASlnu2 Q5GKeT1VCB+Nror7kbQ0x/4GSPWAFv6RndVE4XB0eRjquTqlDF1HMSKkiKIL2nUD7cp0 GBVg== X-Gm-Message-State: AOJu0YyM3MMPa7dvmutvur+GGxmkFFVpHUf5YbtWYK+puGKwRK/Eu+/W ycBaCl0eB7b4djJGNtpQ8F4gePEmjWeYF6E5saHvqJaHsAvUmmaDEtCZhw== X-Gm-Gg: ASbGncvO8BCRh5R39EvHWo898ZAmmUMgNZtF+I9xrxuTlyfnMIvI+lOwcb7FQ4phWEw cUN+ZliPyc56eeYU0fhZvoILESJp48EnkVvxJLFbDD5V/bWfvNqdB6O9H6rMEocx3Axy4R+Xsv/ x9vehJ+sG18ZACo1kBzCuR4nxP/npkte8Yrga/6ScRQhUt2rRcBjqx4kxx96R9SX3nkfCi0L7zf MANKutyZixxZ3Rawt+k7roJYAyekfHV03pIrFK7b+RnViyqUQM4r6T/Y8B0hk8cKMLzcITsEiIH G1V7hlGxwD9ubMvqJPUZTdgw/d0jD/hIpPvPg3A= X-Google-Smtp-Source: AGHT+IHSpAdlV3bJhhbXuRqGb/2Neead7YOtoF32l4LiC+s6mcjFc2AYysKULqMXm6NApHMUZI7Zlg== X-Received: by 2002:a05:620a:1a03:b0:7c3:dc4c:7789 with SMTP id af79cd13be357-7c3dc4c7a6fmr626030885a.42.1741250906034; Thu, 06 Mar 2025 00:48:26 -0800 (PST) Received: from localhost.localdomain ([2600:4808:a053:1800::4448]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4751db2f15dsm5183451cf.52.2025.03.06.00.48.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Mar 2025 00:48:25 -0800 (PST) From: aurtzy Date: Thu, 6 Mar 2025 03:44:51 -0500 Message-ID: <36e7a401b7209480c03cb87d5b5c8ef62bb601b0.1741250406.git.aurtzy@gmail.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: References: 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 This fixes an error when attempting to open the gsconnect-preferences application due to Typelib files not being found. * gnu/packages/gnome-xyz.scm (gnome-shell-extension-gsconnect): [arguments]<#:phases>: Wrap gsconnect-preferences with GI_TYPELIB_PATH environment variable. Rename 'wrap-daemons phase to 'wrap-programs. Change-Id: Ib330766d46dba00a7c68fa3956b28223f07000f8 --- gnu/packages/gnome-xyz.scm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index 1a3a275db5..359dc757fd 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -778,13 +778,16 @@ (define-public gnome-shell-extension-gsconnect "prepend_search_path(path));\n")) (dump-port input output)))) '("src/extension.js" "src/prefs.js"))))) - (add-after 'install 'wrap-daemons + (add-after 'install 'wrap-programs (lambda _ (let* ((out #$output) - (service-dir - (string-append out "/share/gnome-shell/extensions" - "/gsconnect@andyholmes.github.io/service")) + (gsconnect-dir (string-append + out "/share/gnome-shell/extensions" + "/gsconnect@andyholmes.github.io")) + (service-dir (string-append gsconnect-dir "/service")) (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) + (wrap-program (string-append gsconnect-dir "/gsconnect-preferences") + `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))) (wrap-program (string-append service-dir "/daemon.js") `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))))))) (inputs