From patchwork Thu Jun 8 19:10:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Miguel_=C3=81ngel_Moreno?= X-Patchwork-Id: 50773 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 BED7227BBEA; Thu, 8 Jun 2023 20:11:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 468B327BBE2 for ; Thu, 8 Jun 2023 20:11:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7L2G-0003XI-PI; Thu, 08 Jun 2023 15:11:04 -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 1q7L2E-0003Wh-KN for guix-patches@gnu.org; Thu, 08 Jun 2023 15:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q7L2E-0006kD-Bp for guix-patches@gnu.org; Thu, 08 Jun 2023 15:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7L2D-00031P-PY for guix-patches@gnu.org; Thu, 08 Jun 2023 15:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62199] [PATCH v5] gnu: Add emacs-fdroid. References: <86bkkuxld7.fsf@conses.eu> In-Reply-To: <86bkkuxld7.fsf@conses.eu> Resent-From: Miguel =?utf-8?b?w4FuZ2Vs?= Moreno Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Jun 2023 19:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62199 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62199@debbugs.gnu.org Cc: me@mianmoreno.com Received: via spool by 62199-submit@debbugs.gnu.org id=B62199.168625143511576 (code B ref 62199); Thu, 08 Jun 2023 19:11:01 +0000 Received: (at 62199) by debbugs.gnu.org; 8 Jun 2023 19:10:35 +0000 Received: from localhost ([127.0.0.1]:57584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7L1n-00030e-6r for submit@debbugs.gnu.org; Thu, 08 Jun 2023 15:10:35 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:42065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7L1h-00030J-3V for 62199@debbugs.gnu.org; Thu, 08 Jun 2023 15:10:34 -0400 X-GND-Sasl: me@mianmoreno.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mianmoreno.com; s=gm1; t=1686251422; h=from:from: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; bh=N70UGjD3Lv4rJyKe9h+0cr+aVZMVDzKG/8y0F8Iu7i4=; b=d1SB/JIEz1MvRZqWTIxZ40Mw7CKEYqggYmGDXuuj/USMP5xf+cWYOGrPqal3gCBGfsig7t LzRn+1l4rYmuG75Drbl6Y7jW4/ZC7aO4EX0daQCekfx+b4RAoIxInh1ijc5Hz6VWr/7NB6 IIqCljV4MTChsh9ISrlGfQUv9TWCFwOONZhN+JFfHIte/XgnkXBQyON7wZ+SG0DMgQyeA/ OHyFnq7QMQbqadHI9hXxfyoazrczLcs5w0d1wjt6wRbDX/g3ToSmcyVacJ/RC/gay2NvDg JMFWfxNSQN75wbYUSq2gLWvvQLFLD3OONB+7Vy2hok3858L07FtiiGNhqWx4fg== X-GND-Sasl: me@mianmoreno.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 5C696E0007; Thu, 8 Jun 2023 19:10:22 +0000 (UTC) From: Miguel =?utf-8?b?w4FuZ2Vs?= Moreno Date: Thu, 08 Jun 2023 21:10:21 +0200 Message-ID: <865y7xbwiq.fsf@mianmoreno.com> User-Agent: Gnus/5.13 (Gnus v5.13) 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 * gnu/packages/emacs-xyz.scm (emacs-fdroid): New variable. --- gnu/packages/emacs-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index cad9819a5e..4dff0f85d9 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -163,6 +163,7 @@ (define-module (gnu packages emacs-xyz) #:use-module (guix build-system trivial) #:use-module (gnu packages) #:use-module (gnu packages admin) + #:use-module (gnu packages android) #:use-module (gnu packages aspell) #:use-module (gnu packages audio) #:use-module (gnu packages bash) @@ -6288,6 +6289,36 @@ (define-public emacs-fd result.") (license license:gpl3+))) +(define-public emacs-fdroid + (package + (name "emacs-fdroid") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.mianmoreno.com/fdroid.el") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1pmf9j9qcn71hjqdxqgdqf970irp75588nwnn234mapwqvx5v744")))) + (build-system emacs-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'patch-file-name + (lambda* (#:key inputs #:allow-other-keys) + (emacs-substitute-variables "fdroid.el" + ("fdroid-program" + (search-input-file inputs "/bin/fdroidcl")))))))) + (inputs (list fdroidcl)) + (home-page "https://git.mianmoreno.com/fdroid.el") + (synopsis "Manage F-Droid packages from Emacs") + (description "This package is an Emacs interface to F-Droid. Its purpose +is to aid in the management of F-Droid packages for an Android device or an +emulator inside the comfort of Emacs.") + (license license:gpl3+))) + (define-public emacs-ripgrep (package (name "emacs-ripgrep")