gnu: Add diffpdf.

* gnu/packages/pdf.scm (diffpdf): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Olivier Dion 2023-04-22 12:57:10 -04:00 committed by Ludovic Courtès
parent 1ad52e2eeb
commit 14b2422cef
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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)
@ -166,6 +167,33 @@ (define-public a4pdf
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")