diff options
author | Andreas Enge <andreas@enge.fr> | 2025-03-24 14:50:48 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-03-24 14:53:11 +0100 |
commit | 1cbb9c0f47b24f3b66c7e368946439dfaa79ad11 (patch) | |
tree | ba51db5b84eddac8b42a3598fcce9f17ca26fec7 /gnu/packages/pdf.scm | |
parent | 1a6870365b63459ef6623303ffac96381a7838e2 (diff) |
gnu: podofo: Add 0.10.4.
* gnu/packages/pdf.scm (podofo): Add variable for version 0.10.4. Rename
old variable to...
(podofo-0.9): ...this.
* gnu/packages/ebook.scm (calibre): Use podofo-0.9 as input.
Change-Id: I5cb504b82934b039b7ba75cf07b9e57aee3a697a
Diffstat (limited to 'gnu/packages/pdf.scm')
-rw-r--r-- | gnu/packages/pdf.scm | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 37d2f7474b..6340f9b3bf 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm @@ -752,7 +752,7 @@ minimalistic interface and an interface that mainly focuses on keyboard interaction.") (license license:zlib))) -(define-public podofo +(define-public podofo-0.9 (package (name "podofo") (version "0.9.8") @@ -798,6 +798,42 @@ for applications that wish to do lower level manipulation of PDF, such as extracting content or merging files.") (license license:lgpl2.0+))) +(define-public podofo + (package + (name "podofo") + (version "0.10.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/podofo/podofo") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ffdx3ghz0an3fkz72m0q77g5ipcriapxnphha20gk4b575a93v5")))) + (build-system cmake-build-system) + (native-inputs + (list cppunit pkg-config)) + (inputs + (list fontconfig + freetype + libjpeg-turbo + libpng + libtiff + libxml2 + lua-5.1 + openssl + zlib)) + (home-page "https://github.com/podofo/podofo") + (synopsis "Tools to work with the PDF file format") + (description + "PoDoFo is a C++ library and set of command-line tools to work with the +PDF file format. It can parse PDF files and load them into memory, and makes +it easy to modify them and write the changes to disk. It is primarily useful +for applications that wish to do lower level manipulation of PDF, such as +extracting content or merging files.") + (license license:lgpl2.0+))) + (define-public python-pydyf (package (name "python-pydyf") |