GNU bug report logs - #63021
[PATCH] gnu: Add diffpdf.

Previous Next

Package: guix-patches;

Reported by: Olivier Dion <olivier.dion <at> polymtl.ca>

Date: Sat, 22 Apr 2023 16:58:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Olivier Dion <olivier.dion <at> polymtl.ca>
To: guix-patches <at> gnu.org
Cc: Olivier Dion <olivier.dion <at> polymtl.ca>
Subject: [PATCH] gnu: Add diffpdf.
Date: Sat, 22 Apr 2023 12:57:10 -0400
* gnu/packages/pdf.scm (diffpdf): New variable.
---
 gnu/packages/pdf.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 17637af0f6..357fed0a61 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -78,6 +78,7 @@ (define-module (gnu packages pdf)
   #: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)
@@ -165,6 +166,38 @@ (define-public a4pdf
 convert data in any way.")
     (license license:asl2.0)))
 
+(define-public diffpdf
+  (let ((commit "ba68231d3d05e0cb3a2d4a4fca8b70d4044f4303"))
+    (package
+      (name "diffpdf")
+      (version "2.1.2")
+      (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
+        extra-cmake-modules
+        qtbase-5
+        qttools-5
+        poppler-qt5))
+      (native-inputs
+       (list pkg-config))
+      (home-page "http://www.qtrac.eu/diffpdf-foss.html")
+      (synopsis "Compare two PDF files")
+      (description
+       "@command{diffpdf} offers three comparison modes: Words, Characters,
+and Appearance.")
+      (license license:gpl2))))
+
 (define-public extractpdfmark
   (package
     (name "extractpdfmark")
-- 
2.39.2





This bug report was last modified 2 years and 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.