From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cJ99GNxShGRoUwEASxT56A (envelope-from ) for ; Sat, 10 Jun 2023 12:39:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EPPLF9xShGRBbgAAauVa8A (envelope-from ) for ; Sat, 10 Jun 2023 12:39:24 +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 E67812ED20 for ; Sat, 10 Jun 2023 12:39:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7vzu-0003OI-OU; Sat, 10 Jun 2023 06:39:06 -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 1q7vzq-0003O3-QI for guix-patches@gnu.org; Sat, 10 Jun 2023 06:39: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 1q7vzq-00008f-AJ for guix-patches@gnu.org; Sat, 10 Jun 2023 06:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q7vzp-0005Jo-OH for guix-patches@gnu.org; Sat, 10 Jun 2023 06:39:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63900] [PATCH] gnu: Add emacs-fb2-reader. References: <20230604163021.5163-1-4164616d.4b616e647572@gmail.com> In-Reply-To: <20230604163021.5163-1-4164616d.4b616e647572@gmail.com> Resent-From: Adam Kandur <4164616d.4b616e647572@gmail.com> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 10 Jun 2023 10:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63900 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: mail@nicolasgoaziou.fr Cc: Adam Kandur <4164616d.4b616e647572@gmail.com>, 63900@debbugs.gnu.org Received: via spool by 63900-submit@debbugs.gnu.org id=B63900.168639353620427 (code B ref 63900); Sat, 10 Jun 2023 10:39:01 +0000 Received: (at 63900) by debbugs.gnu.org; 10 Jun 2023 10:38:56 +0000 Received: from localhost ([127.0.0.1]:33324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q7vzj-0005JP-KS for submit@debbugs.gnu.org; Sat, 10 Jun 2023 06:38:55 -0400 Received: from mail-lj1-f173.google.com ([209.85.208.173]:50617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <4164616d.4b616e647572@gmail.com>) id 1q7vzf-0005JA-ID for 63900@debbugs.gnu.org; Sat, 10 Jun 2023 06:38:53 -0400 Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2b1badb8f9bso29675451fa.1 for <63900@debbugs.gnu.org>; Sat, 10 Jun 2023 03:38:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686393525; x=1688985525; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=dCvUi18HLqkXrYUJJsP/ESm9CqQeUZJUtTB3ae1GisA=; b=be/lWdaI/OLWjX9vkPPGXj8QiqRpRiARjfgT1O9nqZr05FXuZVsA1TfYPGleE9d5Vb 6PHpcupofHUHrDwwJh+pNvmwuo63SEa8NFDOxMdtyrWhr6dRdZsEl3H/7QTiU8sxirik DqRHAiecHU7f7TpNEZnUS4ffKjDPB83iEdlYO+WwlqA9Q4gu4wzfTM4euCqe5zInsx/V PvtqR5mKadUOn9siWfW2Z5mgKET/Qf7q4zGRync+ASkloJXgQ1x1njRCgLegIKHZWcJG HrX8x6Tfp7QZAhxKmPhXYQ5XFUOshEe8ROW+lynPSIt2uHC+8gdbvoDaMbkR4E0rPXVV L4yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686393525; x=1688985525; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dCvUi18HLqkXrYUJJsP/ESm9CqQeUZJUtTB3ae1GisA=; b=hMCze0o0UH5lpDjoBBYoldHSzhqdQ4EbHaWIi4gC9Qy7Yz3/9dRqKJU44N4xxfc1HL 3ytV4IhZsJs0L+N4M+rHCZzs+CWmmHRfmq/Suhh7n9iy4MdCsn+4VvgEu/92w5bzxFQA xsi6XJ53i03mhvyrLg92Y2UfEmX6fXvMGOi701Fz4asTY8z5nTA/a0nDlPszW4Ox/7TL rtmqOkVcP8GgUsUD1MgKpnTKrbMxOdgR0hMOJGNuE9P6JioHoa1ByuawC9XkuNoeBf2E DpRxZi0zwzGP0+aKj/46W00HcLT06ccj7cvbgZDkNWWeWUhHRrCeEu3zfHnr1GeRxRRc KiuQ== X-Gm-Message-State: AC+VfDyHS9JNNtsToB2K+cag6Sq/VtRYjps8ve7iZo43nh4wm6ewd+bM 4AG2f336aZqwZ70HmG1qPdE= X-Google-Smtp-Source: ACHHUZ5WJx4Zl+QaBjgMIzwIydXj65Xz2zngBNop43p0jJdowI/GLQeAgBAdo87okRJF2LAXD785cw== X-Received: by 2002:a2e:9f0d:0:b0:2af:1844:6fdb with SMTP id u13-20020a2e9f0d000000b002af18446fdbmr400711ljk.5.1686393524980; Sat, 10 Jun 2023 03:38:44 -0700 (PDT) Received: from localhost.localdomain ([2a00:1370:8188:4fd4:6f92:f7fc:1ccb:7278]) by smtp.googlemail.com with ESMTPSA id e16-20020a2e8190000000b002b1e74bb1bcsm788825ljg.53.2023.06.10.03.38.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Jun 2023 03:38:44 -0700 (PDT) From: Adam Kandur <4164616d.4b616e647572@gmail.com> Date: Sat, 10 Jun 2023 13:38:34 +0300 Message-Id: <20230610103834.2753-1-4164616d.4b616e647572@gmail.com> X-Mailer: git-send-email 2.40.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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686393564; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=dCvUi18HLqkXrYUJJsP/ESm9CqQeUZJUtTB3ae1GisA=; b=n2T8/275kCE6/6jU+yJmqr2VBSmSo9+ZDpbbJ+KLQNPJ+P1L2CBLPFJHFPSNdsO5p4iqkP ZZrGHE59p8HtvvAE1VXxYx9STHdkRaXJOg13fyKJcsjCSWjzpjIJ/jzfsmUW+J0dfM9akD /7qqV5q8Ox5axS0zpCdrNXTjekN7KwMuNs6NsRWj9CoFocFvlvb1hdk47ctfrqKLVUM0yn 1NicVWObocMDYsNJ3ZGQod3aBdBMVJKZij0UKKcEGPPjbbjYvj2TSMVtXKbrLQpiCYMG4D rHC2jaybEBNS3sv5EPgF/opqOqZa2lmdfFtRiQlslLsVl8CfJVX2o8FqjzdDRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b="be/lWdaI"; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686393564; a=rsa-sha256; cv=none; b=g9XU9dihoYKYKywzCVGXmv5yV6uyw2f1HQG/ialwkcNaUzP1n32VTGETCGPyiHoF9CZcQd zeBSuUef/GrsOYyPmZ5ljulsZWcYEmbbjw+WtdMRCMhR69HnLng87jewTQrDfF+Ii8Wmhl LC4Gpf6Alu4ZKBullq8VRMX+jsRQrxi84gUhx/oeLQzZ+BiMh4Y+mDx+r54FbWr7L67zP1 Hg38WjwtzuzsQFeVBabZSzblnc2YF3AQCnAyfYsNu39ZRY6GVWfVQ+4FiS4YQ4VsnXNvYc kIZQobs0vk35aka6T+ouhYv5L8HcyKuAQIix8LA4GlmNHlSLOvsN3nXVbggVNg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.11 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b="be/lWdaI"; 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: E67812ED20 X-Spam-Score: -0.11 X-TUID: CPsWiTGIAv3a * gnu/packages/emacs-xyz.scm (emacs-fb2-reader): New variable. --- gnu/packages/emacs-xyz.scm | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index b77bd0a..5335b3f 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -2365,6 +2365,50 @@ (define-public emacs-flycheck provides an optional IDE-like error list.") (license license:gpl3+))) ;+GFDLv1.3+ for the manual +(define-public emacs-fb2-reader + (let ((revision "0") + (commit "9836db284749e0cef4c43c2cb5358c82ae9b8589")) ; version bump + (package + (name "emacs-fb2-reader") + (version (git-version "0.1.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jumper047/fb2-reader") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0vx4b9wnmx1bng8wak5r7yryyvgib4m46l6b877xzkdhsjr3rbsi")))) + (build-system emacs-build-system) + (arguments + (list + #:tests? #t + #:test-command + #~(list "emacs" "-Q" "--batch" "-L" "." + "--eval" "(load-file \"tests/test-fb2-reader.el\")") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'qualify-paths + (lambda* (#:key inputs #:allow-other-keys) + (let ((unzip (search-input-file inputs "/bin/unzip"))) + (substitute* "fb2-reader.el" + (("unzip") unzip)))))))) + (inputs (list unzip)) + (native-inputs + (list emacs-buttercup + emacs-dash + emacs-s + emacs-async)) + (propagated-inputs + (list emacs-visual-fill-column + emacs-f)) + (home-page "https://github.com/jumper047/fb2-reader") + (synopsis "Emacs plugin to read FictionBook2 ebooks") + (description "FB2 Reader provides a major mode for reading FictionBook2 (@file{.fb2} +and @file{.fb2.zip} files) ebooks.") + (license license:gpl3+)))) + (define-public emacs-flymake-collection (package (name "emacs-flymake-collection") -- 2.40.1