From unknown Wed Jun 18 00:19:44 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#71658 <71658@debbugs.gnu.org> To: bug#71658 <71658@debbugs.gnu.org> Subject: Status: [PATCH] gnu: emacs-notmuch: Install desktop files. Reply-To: bug#71658 <71658@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:19:44 +0000 retitle 71658 [PATCH] gnu: emacs-notmuch: Install desktop files. reassign 71658 guix-patches submitter 71658 Arun Isaac severity 71658 normal tag 71658 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 19 18:27:09 2024 Received: (at submit) by debbugs.gnu.org; 19 Jun 2024 22:27:09 +0000 Received: from localhost ([127.0.0.1]:33414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sK3ll-00053l-FA for submit@debbugs.gnu.org; Wed, 19 Jun 2024 18:27:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:50014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sK3lj-00053c-5Q for submit@debbugs.gnu.org; Wed, 19 Jun 2024 18:27:07 -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 1sK3lf-00075I-E0 for guix-patches@gnu.org; Wed, 19 Jun 2024 18:27:03 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sK3lW-0007nm-Hd for guix-patches@gnu.org; Wed, 19 Jun 2024 18:27:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7vwiV/BEzJAPiIRigcaLdZUB0UbblmN2U1REEDBDrRg=; b=Fy41nFAC4HmalbyPUy8RCszWPJ J0KqJaEb4zwOnX791JQpcHg+a5cCTRn2xrGrtth7p702zD/JnOQMf0RzvA/8FXv4d6ccQR3lT4iS8 Ed07xJkw9HR3l3mCfLHo3e/oetX8BX8kOY6ZiBHUiPD87MKELpsywhWpCEb4aNf1MaOAG3AZ2Seff vK4EWsKnZfQxM9Fab13h8j+O1loZO1EXxniUthhXdH4rqBA6JH3kEGn0oVbSln4dIdZ/4dNxeEiWB LDQLfF5lhUlw5zDj3qWv1lcZhny4hWcgz9uscOddR50SBsPsnJIQStLy73mXRYNMNQG+SzEvOUjM1 BDfMgjEw==; Received: from [192.168.2.1] (port=35528 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1sK3i1-00012s-08; Wed, 19 Jun 2024 23:23:17 +0100 From: Arun Isaac To: guix-patches@gnu.org Subject: [PATCH] gnu: emacs-notmuch: Install desktop files. Date: Wed, 19 Jun 2024 23:26:35 +0100 Message-ID: <39aa0f75495ff2de5a1f3b8864af81a24ef36504.1718835983.git.arunisaac@systemreboot.net> X-Mailer: git-send-email 2.45.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=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.4 (-) X-Debbugs-Envelope-To: submit Cc: Arun Isaac 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: -2.4 (--) * gnu/packages/mail.scm (emacs-notmuch)[arguments]: Add install-desktop-files phase. Change-Id: I9f3a049acb7062807a58d95ca526813caab0d563 --- gnu/packages/mail.scm | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index d853fab4d3..fe2135a22d 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1512,7 +1512,23 @@ (define-public emacs-notmuch (let ((notmuch (search-input-file inputs "/bin/notmuch"))) (substitute* "notmuch-lib.el" (("\"notmuch\"") - (string-append "\"" notmuch "\""))))))))) + (string-append "\"" notmuch "\"")))))) + ;; Install desktop files so that mailto URIs can be opened using + ;; emacs-notmuch. + (add-after 'install 'install-desktop-files + (lambda* (#:key inputs #:allow-other-keys) + (install-file "notmuch-emacs-mua" + (string-append #$output "/bin")) + (let ((applications (string-append #$output "/share/applications"))) + (install-file "notmuch-emacs-mua.desktop" + applications) + (copy-file "notmuch-emacs-mua.desktop" + (string-append applications + "/notmuch-emacsclient-mua.desktop")) + (substitute* (string-append applications + "/notmuch-emacsclient-mua.desktop") + (("Exec=notmuch-emacs-mua" all) + (string-append all " --client"))))))))) (synopsis "Run Notmuch within Emacs") (description "This package provides an Emacs-based interface to the Notmuch mail base-commit: e32e3d0a03dc17c4c54a91aad053c9036998b601 -- 2.45.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 19 22:14:46 2024 Received: (at 71658-done) by debbugs.gnu.org; 20 Jun 2024 02:14:47 +0000 Received: from localhost ([127.0.0.1]:39218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sK7K2-0003cr-JW for submit@debbugs.gnu.org; Wed, 19 Jun 2024 22:14:46 -0400 Received: from mx2.dismail.de ([159.69.191.136]:28659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sK7K0-0003cX-Oh for 71658-done@debbugs.gnu.org; Wed, 19 Jun 2024 22:14:45 -0400 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 2c290322; Thu, 20 Jun 2024 04:14:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h= mime-version:date:content-type:content-transfer-encoding:from :message-id:subject:to:cc; s=20190914; bh=rPovBBpAj/Ir/7PtEfDwPL T983kOxhVmzvMIfUoj/68=; b=X0a2QVtEyWaWhHU2buDR6BNV28wU9Vpjg9ksba RVMnA5yds33aXI5nPvMgq70IljQbWOQOxYoHYVAtQVqeQOwk8JTgAHM1MbJyESRp Pk0EKSAH/r6/pnBwDCxRVnck/jkyEfCu9tdynOxtWzG6I7DUy6QRJxAcV4nthrrj 3/S+JJNIElz/PjyHB/TNKPH5FAbVOmLlnOkHYrdjblKOvtgGrpuArVN3wWRThmW+ ZOqUdRmLCImQUZ+uDQgNeQCuDWL9eTty5VuBmKMyicMg0fLBP84w9T953r3Y+iAK aF/o5d3obX2iYjOpk4vy4ECdEcnCepyBmoHNyQDh6Tl9AFag== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx2.dismail.de (OpenSMTPD) with ESMTP id afb37f3f; Thu, 20 Jun 2024 04:14:33 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 03f45b08; Thu, 20 Jun 2024 04:14:33 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 0326266d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 20 Jun 2024 04:14:32 +0200 (CEST) MIME-Version: 1.0 Date: Thu, 20 Jun 2024 02:14:32 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: "jgart" Message-ID: TLS-Required: No Subject: Re: [PATCH] gnu: emacs-notmuch: Install desktop files. To: 71658-done@debbugs.gnu.org X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 71658-done Cc: Arun Isaac 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 (---) Applied! thanks for adding that, jgart From unknown Wed Jun 18 00:19:44 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 18 Jul 2024 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator