mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-04 18:32:51 +00:00
Compare commits
3 Commits
2025-11-03
...
github-act
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c0c5b327f5 | ||
|
|
f8ac8e677e | ||
|
|
578a2d2a55 |
@@ -12,6 +12,12 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
||||
|
||||
## 2025-11-04
|
||||
|
||||
### 🚀 Updated Scripts
|
||||
|
||||
- #### ✨ New Features
|
||||
|
||||
- stirling-pdf: add native jbig2 dep to installation script [@MickLesk](https://github.com/MickLesk) ([#8858](https://github.com/community-scripts/ProxmoxVE/pull/8858))
|
||||
|
||||
## 2025-11-03
|
||||
|
||||
### 🆕 New Scripts
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"ram": 2048,
|
||||
"hdd": 8,
|
||||
"os": "debian",
|
||||
"version": "13"
|
||||
"version": "12"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
@@ -26,7 +26,8 @@ $STD apt install -y \
|
||||
unpaper \
|
||||
fonts-urw-base35 \
|
||||
qpdf \
|
||||
poppler-utils
|
||||
poppler-utils \
|
||||
jbig2
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
PYTHON_VERSION="3.12" setup_uv
|
||||
@@ -69,24 +70,12 @@ $STD uv pip install \
|
||||
ocrmypdf \
|
||||
pillow \
|
||||
pdf2image
|
||||
|
||||
$STD apt install -y python3-uno python3-pip
|
||||
$STD pip3 install --break-system-packages unoserver
|
||||
$STD pip3 install --break-system-packages --timeout=120 unoserver
|
||||
ln -sf /opt/.venv/bin/python3 /usr/local/bin/python3
|
||||
ln -sf /opt/.venv/bin/pip /usr/local/bin/pip
|
||||
msg_ok "Installed Python Dependencies"
|
||||
|
||||
msg_info "Installing JBIG2"
|
||||
$STD curl -fsSL -o /tmp/jbig2enc.tar.gz https://github.com/agl/jbig2enc/archive/refs/tags/0.30.tar.gz
|
||||
mkdir -p /opt/jbig2enc
|
||||
tar -xzf /tmp/jbig2enc.tar.gz -C /opt/jbig2enc --strip-components=1
|
||||
cd /opt/jbig2enc
|
||||
$STD bash ./autogen.sh
|
||||
$STD bash ./configure
|
||||
$STD make
|
||||
$STD make install
|
||||
msg_ok "Installed JBIG2"
|
||||
|
||||
msg_info "Installing Language Packs (Patience)"
|
||||
$STD apt install -y 'tesseract-ocr-*'
|
||||
msg_ok "Installed Language Packs"
|
||||
|
||||
Reference in New Issue
Block a user