Skip to content

Commit 7d2ba18

Browse files
committed
snap: Fix incorrect dependency declaration for the Tesseract part
The zlib library is Leptonica's dependency, not Tesseract's. Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
1 parent 7a7a984 commit 7d2ba18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snap/snapcraft.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,9 @@ parts:
3333
- libpng-dev
3434
- libjpeg-dev
3535
- libtiff-dev
36-
- zlib1g-dev
3736
stage-packages:
3837
- libgomp1
3938
- libtiff5
40-
- zlib1g
4139
after: [leptonica]
4240
autotools-configure-parameters:
4341
# Disable unused features to reduce snap size and built time
@@ -62,6 +60,7 @@ parts:
6260
- libtiff-dev
6361
- libwebp-dev
6462
- pkg-config
63+
- zlib1g-dev
6564
stage-packages:
6665
- libjbig0
6766
- libjpeg-turbo8
@@ -70,6 +69,7 @@ parts:
7069
- libtiff5
7170
- libwebp7
7271
- libwebpmux3
72+
- zlib1g
7373
autotools-configure-parameters:
7474
# Reduce part build time
7575
- --disable-programs

0 commit comments

Comments
 (0)