unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul van der Walt <paul@denknerd.org>
To: guix-devel@gnu.org
Subject: [PATCH 5/8] gnu: Add zathura PDF plugin.
Date: Mon,  2 Mar 2015 10:54:03 +0100	[thread overview]
Message-ID: <1425290046-9612-5-git-send-email-paul@denknerd.org> (raw)
In-Reply-To: <1425290046-9612-1-git-send-email-paul@denknerd.org>

* gnu/packages/pdf.scm (zathura-pdf-poppler): New variable.
---
 gnu/packages/pdf.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 1c5c193..0f2fcfe 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -150,6 +150,44 @@
 
 
 
+(define-public zathura-pdf-poppler
+  (package
+    (name "zathura-pdf-poppler")
+    (version "0.2.5")
+    (source (origin
+              (method url-fetch)
+              (uri
+               (string-append "https://pwmt.org/projects/zathura-pdf-poppler/download/zathura-pdf-poppler-"
+                              version ".tar.gz"))
+              (sha256
+               (base32
+                "1b0chsds8iwjm4g629p6a67nb6wgra65pw2vvngd7g35dmcjgcv0"))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags
+       `(,(string-append "DESTDIR=" (assoc-ref %outputs "out"))
+          "PLUGINDIR=/lib/zathura" "CC=gcc")
+       #:tests? #f ; Package does not include tests.
+       #:phases
+       (alist-delete
+        'configure
+        %standard-phases)))
+    (home-page "https://pwmt.org/projects/zathura-pdf-poppler/")
+    (synopsis "PDF support for zathura (poppler backend)")
+    (description "The zathura-pdf-poppler plugin adds PDF support to zathura
+by using the poppler rendering engine.")
+    (propagated-inputs
+     `(("girara" ,girara)))
+    (inputs
+     `(("poppler" ,poppler)
+       ("gtk+" ,gtk+)
+       ("zathura" ,zathura)
+       ("cairo" ,cairo)))
+    (license license:zlib)))
+
 (define-public zathura
   (package
     (name "zathura")
-- 
2.3.1

  parent reply	other threads:[~2015-03-02  9:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-02  9:53 [PATCH 1/8] gnu: check: Update version to 0.9.14 Paul van der Walt
2015-03-02  9:54 ` [PATCH 2/8] gnu: Add girara Paul van der Walt
2015-03-02  9:54 ` [PATCH 3/8] gnu: Add djvulibre Paul van der Walt
2015-03-02  9:54 ` [PATCH 4/8] gnu: Add zathura Paul van der Walt
2015-03-02 20:19   ` Mark H Weaver
2015-03-02 21:20     ` Paul van der Walt
2015-03-02  9:54 ` Paul van der Walt [this message]
2015-03-02  9:54 ` [PATCH 6/8] gnu: Add zathura DjVu plugin Paul van der Walt
2015-03-02  9:54 ` [PATCH 7/8] gnu: Add zathura postscript plugin Paul van der Walt
2015-03-02  9:54 ` [PATCH 8/8] gnu: Add zathura comicbook plugin Paul van der Walt
  -- strict thread matches above, loose matches on Subject: below --
2015-03-02 21:26 [PATCH 1/8] gnu: check: Update version to 0.9.14 Paul van der Walt
2015-03-02 21:26 ` [PATCH 5/8] gnu: Add zathura PDF plugin Paul van der Walt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1425290046-9612-5-git-send-email-paul@denknerd.org \
    --to=paul@denknerd.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).