From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wMpILKb6rWBETQEAgWs5BA (envelope-from ) for ; Wed, 26 May 2021 09:37:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IKL8J6b6rWDYOQAAbx9fmQ (envelope-from ) for ; Wed, 26 May 2021 07:37:10 +0000 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 110BC20B07 for ; Wed, 26 May 2021 09:37:09 +0200 (CEST) Received: from localhost ([::1]:50136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llo6G-0001dI-1q for larch@yhetil.org; Wed, 26 May 2021 03:37:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llo6A-0001Zq-Sh for guix-patches@gnu.org; Wed, 26 May 2021 03:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35989) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llo6A-0002vL-LE for guix-patches@gnu.org; Wed, 26 May 2021 03:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1llo6A-00011I-I4 for guix-patches@gnu.org; Wed, 26 May 2021 03:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48663] [PATCH] gnu: Add emacs-org-inline-pdf. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 May 2021 07:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48663 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48663@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16220146173906 (code B ref -1); Wed, 26 May 2021 07:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 May 2021 07:36:57 +0000 Received: from localhost ([127.0.0.1]:47535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llo65-00010w-CS for submit@debbugs.gnu.org; Wed, 26 May 2021 03:36:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:37292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llo64-00010p-Dk for submit@debbugs.gnu.org; Wed, 26 May 2021 03:36:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llo64-0001O3-6I for guix-patches@gnu.org; Wed, 26 May 2021 03:36:56 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:38002 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 1llo62-0002ji-Ei for guix-patches@gnu.org; Wed, 26 May 2021 03:36:55 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1622014609; bh=lDsH7W6f9bz4CD9YjPMyyGtgEIOe+M/iqjmbPthhFPg=; h=From:To:Subject:Date; b=NgAzEdnmi1K9XdyPVhzJnr2MS7elxuBn8Xonsz/0cb17zPirLxf5y3/3tns5agn/V 0MJhE552B9yvM33b4MnxTy8EhSXw8lLWoSsfGRcLiSGOhzENb5jCXx//KWxBUfK/96 IVgAYZd7ZWov5cgOfCe3lhAMwdTDkcujjWcRAbrU= Message-Id: Date: Wed, 26 May 2021 09:36:49 +0200 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 33 X-Spam_score: 3.3 X-Spam_bar: +++ X-Spam_report: (3.3 / 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.498, FROM_SUSPICIOUS_NTLD_FP=1.896, 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622014630; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=u6Ep58DJN7Y7XUhD305mmm29nyMFdd/xs6cN8y/Dp4w=; b=k+sNawQQrRw4kfpZEWtbqUMVC1kMSSXtC6DmXxDln1NCifv+HPGmTAVjaPjAu383t1KimR MgD1fLr/XQhYrsp5aBqFiZbpGT4SmTweiNs9lde4BgGMBOwVsHbEQm3qAPLLNvXn5zu7Of rrx5jzuQVDwE9hCkGUskUEdI4LUo+aBqIvHNrY/u3p0tzpxf3du6dinHlKEbo8bKJT4gwf ErhblUKrl9abWkkNFrPOwZlcET7QVVFl0JNyhFds3xEesoW/exLolMhsQuy224/eKb8qu9 ZTwpFSL+V9fG7ILen0xxOjrZKY8dmwZD/IICdlaIq4sqNAUOnV0azjUGjDcqaw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622014630; a=rsa-sha256; cv=none; b=sbpJFnMr45veZ6PpsYTY1psE+/mHk0QnDR2ZGuiWBXBqrGszZX1McunNJmyS5Yu6aCYdKa +/zIzeMRQMbxsAxndoOXuAx3H+V/RN2/kKZjHvNFkS6PoTQtbVeoArWAN3/Qyd2wiy9Cdd QdL7D7QTI0abi/ZZZ1OrlO0nPss0/bw3QgSjAHHFkU3Z491gfLJRQogbWM8rMSVzqy+a1v u+E7E7h8hIHULnZIb4C1MqWsqZis56WOvdONca5m6ls7q6zk43XLg3Ud9Ybly/0gp7jH7m MFp6x2O+0/zVMM8PiMfEXUpNHbPeq3ReS4S49tOP3oDR6mOAD0Df+jtFHmXLtg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=NgAzEdnm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=NgAzEdnm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 110BC20B07 X-Spam-Score: -0.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: IhtiMFT0vZFs * gnu/packages/emacs-xyz.scm (emacs-org-inline-pdf): New variable. --- gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 886320cc34..22918c8f9b 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -4635,6 +4635,36 @@ strike through completed TODO headings, changes Org blocks, changes Org check boxes, and more.") (license license:gpl3+)))) +(define-public emacs-org-inline-pdf + (package + (name "emacs-org-inline-pdf") + (version "0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/shg/org-inline-pdf.el") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1qc92xvgxmnwjixk8bxwbc1l1jj0qk9dg73jyaip6lk4g0wjk6xf")))) + (build-system emacs-build-system) + (inputs + `(("pdf2svg" ,pdf2svg))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-exec-paths + (lambda* (#:key inputs #:allow-other-keys) + (let ((pdf2svg (assoc-ref inputs "pdf2svg"))) + (substitute* "org-inline-pdf.el" + (("\"pdf2svg\"") (string-append "\"" pdf2svg "/bin/pdf2svg\""))))))))) + (home-page "https://github.com/shg/org-inline-pdf.el") + (synopsis "Inline PDF previewing for Org ") + (description "This package provides a minor mode that enables +inline PDF preview in Org buffers by using pdf2svg.") + (license license:gpl3+))) + (define-public emacs-org-rich-yank (package (name "emacs-org-rich-yank") base-commit: 0ffac75ece4f22a8595e19b8a375791e87d365aa -- 2.31.1