~ruther/guix-local

1cbb9c0f47b24f3b66c7e368946439dfaa79ad11 — Andreas Enge 1 year, 7 months ago 1a68703
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
2 files changed, 38 insertions(+), 2 deletions(-)

M gnu/packages/ebook.scm
M gnu/packages/pdf.scm
M gnu/packages/ebook.scm => gnu/packages/ebook.scm +1 -1
@@ 176,7 176,7 @@ with Microsoft Compiled HTML (CHM) files")
           libusb
           openssl
           optipng
           podofo
           podofo-0.9
           poppler
           python-apsw
           python-beautifulsoup4

M gnu/packages/pdf.scm => gnu/packages/pdf.scm +37 -1
@@ 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")