all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#63021] [PATCH] gnu: Add diffpdf.
@ 2023-04-22 16:57 Olivier Dion via Guix-patches via
  2023-04-30 20:46 ` bug#63021: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Olivier Dion via Guix-patches via @ 2023-04-22 16:57 UTC (permalink / raw)
  To: 63021; +Cc: Olivier Dion

* 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-01  5:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-22 16:57 [bug#63021] [PATCH] gnu: Add diffpdf Olivier Dion via Guix-patches via
2023-04-30 20:46 ` bug#63021: " Ludovic Courtès
2023-04-30 21:20   ` [bug#63021] " Olivier Dion via Guix-patches via

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.