aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/pdf.scm
diff options
context:
space:
mode:
authorOlivier Dion <olivier.dion@polymtl.ca>2023-04-22 12:57:10 -0400
committerLudovic Courtès <ludo@gnu.org>2023-04-30 22:46:45 +0200
commit14b2422cef6cbf47b4b79c23d1d9f68694cfb5a6 (patch)
tree2d23c67d3d38897536cda62d0420b656701be3b9 /gnu/packages/pdf.scm
parent1ad52e2eebbd19963319a8530d413b1956ec5de7 (diff)
downloadguix-14b2422cef6cbf47b4b79c23d1d9f68694cfb5a6.tar
guix-14b2422cef6cbf47b4b79c23d1d9f68694cfb5a6.tar.gz
gnu: Add diffpdf.
* gnu/packages/pdf.scm (diffpdf): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/pdf.scm')
-rw-r--r--gnu/packages/pdf.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index ff7d895774..ddac5537f0 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -78,6 +78,7 @@
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
#:use-module (gnu packages javascript)
+ #:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages lesstif)
#:use-module (gnu packages libffi)
#:use-module (gnu packages linux)
@@ -166,6 +167,33 @@ directly. It uses LittleCMS for color management but otherwise does not
convert data in any way.")
(license license:asl2.0)))
+(define-public diffpdf
+ (let ((commit "ba68231d3d05e0cb3a2d4a4fca8b70d4044f4303")
+ (revision "1"))
+ (package
+ (name "diffpdf")
+ (version (git-version "2.1.3.1" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/eang/diffpdf")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1vwgv28b291lrcs9fljnlbnicv16lwj4vvl4bz6w3ldp9n5isjmf"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f))
+ (inputs (list qtbase-5 qttools-5 poppler-qt5))
+ (native-inputs (list pkg-config extra-cmake-modules))
+ (home-page "http://www.qtrac.eu/diffpdf-foss.html")
+ (synopsis "Compare two PDF files")
+ (description
+ "@command{diffpdf} lets you compare PDF files, offering three
+comparison modes: words, characters, and appearance.")
+ (license license:gpl2))))
+
(define-public extractpdfmark
(package
(name "extractpdfmark")