-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhpdft.cabal
More file actions
188 lines (177 loc) · 7.05 KB
/
Copy pathhpdft.cabal
File metadata and controls
188 lines (177 loc) · 7.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
cabal-version: 3.8
name: hpdft
version: 0.4.7.0
synopsis: PDF parsing library and CLI for text, layout, diff, images, and forms
description:
hpdft is a Haskell library and command-line tool for parsing PDF files.
The library exposes document loading, geometry- and tagged-PDF text extraction,
page-level paragraph regions, paragraph-level diff, image XObject export, and
Form XObject extraction to standalone PDFs.
The @hpdft@ executable provides the same features for shell workflows.
See @docs/library.md@ for a usage guide and @examples/@ for sample programs.
homepage: https://github.com/k16shikano/hpdft
license: MIT
license-file: LICENSE
author: Keiichiro Shikano
maintainer: k16.shikano@gmail.com
-- copyright:
category: PDF
build-type: Simple
extra-source-files: README.md
, CHANGELOG.md
, docs/library.md
, dev/README.md
, dev/performance-0.4.md
, dev/0.3-roadmap.md
, dev/0.4-roadmap.md
, dev/0.5-text-ux.md
, dev/0.5-roadmap.md
, scripts/bench_book.sh
, scripts/bench_pages.hs
, examples/extract-text/Main.hs
, examples/page-api/Main.hs
data-dir: data/
data-files: map/Adobe-Japan1-6.map
, map/cp932.map
, map/jisx0208.map
source-repository head
type: git
location: https://github.com/k16shikano/hpdft
library
hs-source-dirs: src/
ghc-options: -O2
exposed-modules: PDF.PDFIO
, PDF.Document
, PDF.StreamLex
, PDF.Character
, PDF.Cmap
, PDF.Definition
, PDF.DocumentStructure
, PDF.Error
, PDF.Outlines
, PDF.Object
, PDF.OpenType
, PDF.CFF
, PDF.Encrypt
, PDF.Text
, PDF.Page
, PDF.Diff
, PDF.Image
, PDF.FormExtract
, PDF.Type1
, PDF.Matrix
, PDF.Interpret
, PDF.Layout
, PDF.Structure
other-modules: PDF.ContentStream
, Paths_hpdft
other-extensions: OverloadedStrings
build-depends: array >= 0.5 && < 0.6
, attoparsec >= 0.14.4 && < 0.15
, base >= 4.18.0 && < 4.23
, binary >= 0.8.9 && < 0.9
, bytestring >= 0.11.4 && < 0.13
, containers >= 0.6.7 && < 0.9
, crypton >= 0.34 && < 0.36
, directory >= 1.3.8 && < 1.4
, dlist >= 1.0 && < 1.1
, file-embed >= 0.0.16 && < 0.1
, filepath >= 1.4.2 && < 1.6
, memory >= 0.18.0 && < 0.19
, optparse-applicative >= 0.18.1 && < 0.19
, parallel >= 3.2.2 && < 3.4
, deepseq >= 1.4.8 && < 1.6
, parsec >= 3.1.18 && < 3.2
, semigroups >= 0.20 && < 0.21
, text >= 2.0.2 && < 2.2.2
, utf8-string >= 1.0.2 && < 1.1
, zlib >= 0.7.1 && < 0.8
autogen-modules: Paths_hpdft
default-language: Haskell2010
buildable: True
executable hpdft
main-is: hpdft.hs
ghc-options: -threaded -rtsopts "-with-rtsopts=-N -A64m"
hs-source-dirs: app
other-modules: Paths_hpdft
, TuiPreview
, TuiScroll
, TuiGeometry
, Cli.Common
, Cli.Grep
, Cli.Misc
, Cli.Parser
, Cli.Text
, Cli.View
other-extensions: OverloadedStrings
build-depends: array >= 0.5 && < 0.6
, base >= 4.18.0 && < 4.23
, bytestring >= 0.11.4 && < 0.13
, hpdft
, memory >= 0.18.0 && < 0.19
, optparse-applicative >= 0.18.1 && < 0.19
, regex-base >= 0.94.0 && < 0.95
, regex-tdfa >= 1.3.2 && < 1.4
, semigroups >= 0.20 && < 0.21
, terminal-size >= 0.3 && < 0.4
, text >= 2.0.2 && < 2.2.2
, utf8-string >= 1.0.2 && < 1.1
autogen-modules: Paths_hpdft
default-language: Haskell2010
buildable: True
test-suite hpdft-golden
type: exitcode-stdio-1.0
main-is: Golden.hs
hs-source-dirs: test
ghc-options: -threaded -rtsopts "-with-rtsopts=-N -A64m"
build-depends: base >= 4.18.0 && < 4.23
, bytestring >= 0.11.4 && < 0.13
, directory >= 1.3.8 && < 1.4
, filepath >= 1.4.2 && < 1.6
, hpdft
default-language: Haskell2010
test-suite hpdft-unit
type: exitcode-stdio-1.0
main-is: Unit.hs
hs-source-dirs: test
, app
ghc-options: -threaded -rtsopts "-with-rtsopts=-N -A64m"
build-depends: base >= 4.18.0 && < 4.23
, bytestring >= 0.11.4 && < 0.13
, containers >= 0.6.7 && < 0.9
, directory >= 1.3.8 && < 1.4
, filepath >= 1.4.2 && < 1.6
, hpdft
, text >= 2.0.2 && < 2.2.2
other-modules: TuiScroll
, TuiGeometry
, EncryptSpec
default-language: Haskell2010
executable interpret-page
main-is: scripts/interpret_page.hs
hs-source-dirs: .
build-depends: base >= 4.18.0 && < 4.23
, hpdft
, text >= 2.0.2 && < 2.2.2
default-language: Haskell2010
buildable: True
executable extract-text
main-is: Main.hs
hs-source-dirs: examples/extract-text
build-depends: base >= 4.18.0 && < 4.23
, bytestring >= 0.11.4 && < 0.13
, directory >= 1.3.8 && < 1.4
, filepath >= 1.4.2 && < 1.6
, hpdft
default-language: Haskell2010
buildable: True
executable page-api
main-is: Main.hs
hs-source-dirs: examples/page-api
build-depends: base >= 4.18.0 && < 4.23
, directory >= 1.3.8 && < 1.4
, filepath >= 1.4.2 && < 1.6
, hpdft
, text >= 2.0.2 && < 2.2.2
default-language: Haskell2010
buildable: True