You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* update documentation and dependencies page
* Add study on thesis extraction (up to 1Gb PDF files)
---------
Signed-off-by: Luca Foppiano <luca@foppiano.org>
Copy file name to clipboardExpand all lines: Dependencies_INSTALL.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,18 @@
1
1
# External Libraries
2
2
3
-
Here we describe procedures to compile the static dependencies.
3
+
> **You do not need this to build pdfalto.** The static libraries and their headers are committed under `libs/` for
4
+
> every supported platform, so a normal build just works — see [Build](Readme.md#build). This document describes how
5
+
> those libraries are produced, and is only relevant when updating a dependency version or porting to a new platform.
4
6
5
-
The include and the libraries are shipped under `libs`, you can also find the artifact in the bottom of the page of
6
-
each [build](https://github.com/kermitt2/pdfalto/actions) under [Manual build static libraries](https://github.com/kermitt2/pdfalto/actions/workflows/ci-build-libs.yml).
("Manual build static libraries"), which runs the procedures below across a matrix of Linux and macOS runners and
10
+
publishes the results as artifacts at the bottom of each [run](https://github.com/kermitt2/pdfalto/actions). Updating
11
+
a dependency means bumping its version variable at the top of that workflow, running it, and committing the resulting
12
+
artifacts into `libs/` — the versions listed below should be kept in sync with it.
13
+
14
+
The manual steps that follow are the fallback for a platform CI does not cover, or for debugging a dependency
15
+
locally. `./install_deps.sh` automates the same procedures.
7
16
8
17
## Requirements
9
18
@@ -13,6 +22,8 @@ each [build](https://github.com/kermitt2/pdfalto/actions) under [Manual build st
13
22
14
23
## Current versions:
15
24
25
+
(these mirror the version variables at the top of `ci-build-libs.yml`)
26
+
16
27
- LibPNG: 1.6.56
17
28
- zLib: 1.3.2
18
29
- libxml2: 2.15.2
@@ -125,7 +136,7 @@ LibPNG and zLib sources are downloaded and built as part of the dependency build
125
136
make install
126
137
```
127
138
128
-
See [ICU Readme](http://source.icu-project.org/repos/icu/trunk/icu4c/readme.html) forfuther details.
139
+
See the [ICU4C build guide](https://unicode-org.github.io/icu/userguide/icu4c/build.html) forfurther details.
129
140
130
141
7. Copy `output/lib/libicuuc.a` and `output/lib/libicudata.a` under `libs/icu/<OS>/<ARCH>/` and headers from `output/include/` under `libs/icu/include/`.
0 commit comments