From patchwork Thu Jun 3 20:12:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xinglu Chen X-Patchwork-Id: 29879 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 E516327BC81; Thu, 3 Jun 2021 21:14:08 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AC5B227BC78 for ; Thu, 3 Jun 2021 21:14:08 +0100 (BST) Received: from localhost ([::1]:39528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lotjD-0005ZG-Qo for patchwork@mira.cbaines.net; Thu, 03 Jun 2021 16:14:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lotj8-0005Yt-32 for guix-patches@gnu.org; Thu, 03 Jun 2021 16:14:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33187) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lotj7-0001Pk-SE for guix-patches@gnu.org; Thu, 03 Jun 2021 16:14:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lotj7-00024L-Ny for guix-patches@gnu.org; Thu, 03 Jun 2021 16:14:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48815] [PATCH] gnu: Add emacs-djvu3. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Jun 2021 20:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48815 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48815@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16227511827852 (code B ref -1); Thu, 03 Jun 2021 20:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jun 2021 20:13:02 +0000 Received: from localhost ([127.0.0.1]:44733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lotiA-00022V-0s for submit@debbugs.gnu.org; Thu, 03 Jun 2021 16:13:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:55132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1loti8-00022K-Dc for submit@debbugs.gnu.org; Thu, 03 Jun 2021 16:13:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loti7-0005PA-9Z for guix-patches@gnu.org; Thu, 03 Jun 2021 16:12:59 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:50678 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loti5-0000uC-3j for guix-patches@gnu.org; Thu, 03 Jun 2021 16:12:59 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1622751173; bh=ld14U7ZbYCoiGdQsiCnFDFpuSVF/YS8RIOA8Qxpxxrk=; h=From:To:Subject:Date; b=nS+gomxw3yUL7bEWK732RGID3cwU77Lq3ByneLTMDbImq2BOz9KbOiIANZpCuA/KF 4RMwVuhoaaF+amubDfy6LyLETMNwW3Z5HiDnpHfGGE3vyXsJ3bsd+IErTJ403NmD7P RLrtzQb1hGHwoY2jT8vKFG41SJiPerm6YYtBh6Ug= Message-Id: <629522d05186905d516295f909447d98c7b335b6.1622751152.git.public@yoctocell.xyz> Date: Thu, 03 Jun 2021 22:12:52 +0200 MIME-Version: 1.0 Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 30 X-Spam_score: 3.0 X-Spam_bar: +++ X-Spam_report: (3.0 / 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.599, PDS_OTHER_BAD_TLD=1.997, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-djvu3): New variable. --- gnu/packages/emacs-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) base-commit: cf6be24529960c50706c6b4164193ed6c1dd5bc2 diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index f8326a94d9..3bf288980e 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -3053,6 +3053,46 @@ filters, new key bindings and faces. It can be enabled by DjVuLibre, see @url{http://djvu.sourceforge.net/}.") (license license:gpl3+))) +(define-public emacs-djvu3 + ;; Commit from 2021-06-03. + (let ((commit "37b675be1d4d436cdd0c3b5d3f13e88b59a7bf18") + (revision "0")) + (package + (name "emacs-djvu3") + ;; `Version:' header says 1.0 + (version (git-version "1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dalanicolai/djvu3") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0p0izjrgbayx5ybk1n6db5hbrjv9d4kpn57w4iyxdm3h96sp9cmr")))) + (propagated-inputs + `(("emacs-djvu" ,emacs-djvu) + ("emacs-tablist" ,emacs-tablist))) + (build-system emacs-build-system) + (home-page "https://github.com/dalanicolai/djvu3") + (synopsis "Extend djvu.el to display annotations and more") + (description "This package extends @code{emacs-djvu} with annotation +rendering features and a fast occur search feature using @code{svg.el}. + +Other features include: + +@itemize +@item clickable links +@item marker extension to @code{svg.el} for providing arrowheads (or other +types of markers) +@item a quite fancy keyboard annotation function +@item an @code{imenu} index function to enable imenu navigation +@item document restore function to open the document at the last location of +the previous session +@end itemize") + (license license:gpl3+)))) + (define-public emacs-pabbrev (package (name "emacs-pabbrev")