2019-05-18 09:49:31 +02:00
|
|
|
-- Initial Hufflepdf.cabal generated by cabal init. For further
|
2019-05-13 08:05:28 +02:00
|
|
|
-- documentation, see http://haskell.org/cabal/users-guide/
|
|
|
|
|
2019-05-18 09:49:31 +02:00
|
|
|
name: Hufflepdf
|
2019-11-27 18:01:03 +01:00
|
|
|
version: 0.2.0.1
|
2019-05-13 08:05:28 +02:00
|
|
|
synopsis: A PDF parser
|
|
|
|
-- description:
|
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Tissevert
|
|
|
|
maintainer: tissevert+devel@marvid.fr
|
|
|
|
-- copyright:
|
|
|
|
category: Data
|
|
|
|
build-type: Simple
|
|
|
|
extra-source-files: ChangeLog.md
|
|
|
|
cabal-version: >=1.10
|
|
|
|
|
|
|
|
library
|
|
|
|
exposed-modules: PDF
|
2019-09-27 18:16:12 +02:00
|
|
|
, PDF.CMap
|
2020-02-09 22:42:57 +01:00
|
|
|
, PDF.Content
|
2019-05-18 11:09:03 +02:00
|
|
|
, PDF.EOL
|
2019-05-24 10:48:09 +02:00
|
|
|
, PDF.Object
|
2020-02-11 08:29:08 +01:00
|
|
|
, PDF.Object.Navigation
|
2019-05-16 17:06:14 +02:00
|
|
|
, PDF.Output
|
2019-11-29 11:51:35 +01:00
|
|
|
, PDF.Parser
|
2020-02-10 10:54:44 +01:00
|
|
|
, PDF.Pages
|
2019-09-22 01:40:39 +02:00
|
|
|
, PDF.Update
|
2019-05-24 10:48:09 +02:00
|
|
|
other-modules: Data.ByteString.Char8.Util
|
2020-02-09 22:42:57 +01:00
|
|
|
, PDF.Content.Operator
|
|
|
|
, PDF.Content.Operator.Color
|
|
|
|
, PDF.Content.Operator.Common
|
|
|
|
, PDF.Content.Operator.GraphicState
|
|
|
|
, PDF.Content.Operator.Path
|
|
|
|
, PDF.Content.Operator.Text
|
2020-02-10 10:54:44 +01:00
|
|
|
, PDF.Content.Text
|
2020-02-08 08:15:32 +01:00
|
|
|
, PDF.Encoding
|
|
|
|
, PDF.Encoding.MacRoman
|
2019-05-24 10:48:09 +02:00
|
|
|
, PDF.Body
|
2020-02-08 08:15:32 +01:00
|
|
|
, PDF.Font
|
2019-05-13 08:05:28 +02:00
|
|
|
-- other-extensions:
|
2019-05-24 10:48:09 +02:00
|
|
|
build-depends: attoparsec
|
|
|
|
, base >=4.9 && <4.13
|
2019-05-13 08:05:28 +02:00
|
|
|
, bytestring
|
|
|
|
, containers
|
2019-05-16 17:06:14 +02:00
|
|
|
, mtl
|
2019-09-26 16:56:13 +02:00
|
|
|
, text
|
2019-09-25 23:46:24 +02:00
|
|
|
, utf8-string
|
2019-11-29 11:51:35 +01:00
|
|
|
, zlib
|
2019-05-13 08:05:28 +02:00
|
|
|
hs-source-dirs: src
|
2019-05-13 18:22:05 +02:00
|
|
|
ghc-options: -Wall
|
2019-05-13 08:05:28 +02:00
|
|
|
default-language: Haskell2010
|
2019-09-20 22:42:17 +02:00
|
|
|
|
|
|
|
executable equivalent
|
|
|
|
main-is: examples/equivalent.hs
|
|
|
|
build-depends: base
|
|
|
|
, bytestring
|
|
|
|
, Hufflepdf
|
|
|
|
ghc-options: -Wall
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
executable getObj
|
|
|
|
main-is: examples/getObj.hs
|
|
|
|
build-depends: base
|
|
|
|
, bytestring
|
|
|
|
, containers
|
|
|
|
, Hufflepdf
|
|
|
|
, zlib
|
|
|
|
ghc-options: -Wall
|
|
|
|
default-language: Haskell2010
|
2019-09-23 18:00:47 +02:00
|
|
|
|
|
|
|
executable getText
|
|
|
|
main-is: examples/getText.hs
|
|
|
|
build-depends: base
|
|
|
|
, bytestring
|
|
|
|
, containers
|
|
|
|
, Hufflepdf
|
|
|
|
, mtl
|
2020-02-08 08:15:32 +01:00
|
|
|
, text
|
2019-09-23 18:00:47 +02:00
|
|
|
, zlib
|
|
|
|
ghc-options: -Wall
|
|
|
|
default-language: Haskell2010
|
2020-02-14 11:53:05 +01:00
|
|
|
|
|
|
|
Test-Suite unitTests
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: Main.hs
|
|
|
|
other-modules: Object
|
|
|
|
, Data.ByteString.Char8.Util
|
|
|
|
, PDF.EOL
|
|
|
|
, PDF.Parser
|
|
|
|
, PDF.Object
|
|
|
|
, PDF.Output
|
|
|
|
hs-source-dirs: test
|
|
|
|
, src
|
|
|
|
build-depends: attoparsec
|
|
|
|
, base >=4.9 && <4.13
|
|
|
|
, bytestring
|
|
|
|
, containers
|
|
|
|
, Hufflepdf
|
|
|
|
, HUnit
|
|
|
|
, mtl
|
|
|
|
, text
|
|
|
|
default-language: Haskell2010
|