Skip to content

Commit 2a40945

Browse files
author
yu
committed
fix Windows deficency of poppler-data
1 parent b427c93 commit 2a40945

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packaging/win32/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ dnf install -y 'dnf-command(config-manager)' && \
88
dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/smani/mingw-extras/repo/fedora-rawhide/smani-mingw-extras-fedora-rawhide.repo && \
99
dnf install -y \
1010
cmake \
11+
poppler-data \
1112
make \
1213
iso-codes \
1314
findutils \

packaging/win32/makeinstaller.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,11 @@ fi
158158

159159
cp -R $win32dir/skel/* $installroot
160160

161-
# Add english language data and spelling dictionaries
161+
# Add english language data, poppler-data and spelling dictionaries
162162
install -Dpm 0644 /usr/share/tesseract/tessdata/eng.traineddata $installroot/share/tessdata/eng.traineddata
163163
install -Dpm 0644 /usr/share/myspell/en_US.dic $installroot/share/myspell/en_US.dic
164164
install -Dpm 0644 /usr/share/myspell/en_US.aff $installroot/share/myspell/en_US.aff
165+
cp -r "/usr/share/poppler/" "$installroot/share/"
165166

166167
# Copy isocodes
167168
install -Dpm 0644 /usr/share/xml/iso-codes/iso_639.xml $installroot/share/xml/iso-codes/iso_639.xml

0 commit comments

Comments
 (0)