summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2025-03-24 14:50:48 +0100
committerAndreas Enge <andreas@enge.fr>2025-03-24 14:53:11 +0100
commit1cbb9c0f47b24f3b66c7e368946439dfaa79ad11 (patch)
treeba51db5b84eddac8b42a3598fcce9f17ca26fec7
parent1a6870365b63459ef6623303ffac96381a7838e2 (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
-rw-r--r--gnu/packages/ebook.scm2
-rw-r--r--gnu/packages/pdf.scm38
2 files changed, 38 insertions, 2 deletions
diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index 0cd2b31724..8200f13554 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -176,7 +176,7 @@ with Microsoft Compiled HTML (CHM) files")
libusb
openssl
optipng
- podofo
+ podofo-0.9
poppler
python-apsw
python-beautifulsoup4
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")