summary refs log tree commit diff
path: root/gnu/packages/pdf.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2022-09-14 18:06:12 +0200
committerMathieu Othacehe <othacehe@gnu.org>2022-09-14 18:09:13 +0200
commita3de623e4a960590127dc8a78d3db75834b62af7 (patch)
tree998bdd0db74dfe7a932f59c787e9d62c02bec1ae /gnu/packages/pdf.scm
parent29d52a56f2d254781b65dbec0f1009db0b9d06e6 (diff)
downloadguix-a3de623e4a960590127dc8a78d3db75834b62af7.tar.gz
gnu: Add poppler-next.
* gnu/packages/pdf.scm (poppler-next): New variable.
Diffstat (limited to 'gnu/packages/pdf.scm')
-rw-r--r--gnu/packages/pdf.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 14f75d9ef9..73ae2c2d0f 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -311,6 +311,25 @@ When present, Poppler is able to correctly render CJK and Cyrillic text.")
     (license (list license:bsd-3
                    license:gpl2))))
 
+;; XXX: Remove it on core-updates.  It is only needed for evince 42.3 that
+;; requires a recent poppler.
+(define-public poppler-next
+  (package/inherit poppler
+    (name "poppler-next")
+    (version "22.09.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://poppler.freedesktop.org/poppler-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "0bhyli95h3dkirjc0ibh08s4nim6rn7f38sbfzdwln8k454gga6p"))))
+    (native-inputs
+     (list pkg-config
+           `(,glib "bin") ; glib-mkenums, etc.
+           gobject-introspection
+           python)) ))
+
 (define-public poppler-qt5
   (package/inherit poppler
    (name "poppler-qt5")