Compare commits

...

3 Commits

Author SHA1 Message Date
github-actions[bot]
c0c5b327f5 Update CHANGELOG.md 2025-11-04 11:40:39 +00:00
CanbiZ
f8ac8e677e stirling-pdf: add native jbig2 dep to installation script (#8858) 2025-11-04 12:40:21 +01:00
CanbiZ
578a2d2a55 unifi: json update version 2025-11-04 00:54:02 -08:00
3 changed files with 10 additions and 15 deletions

View File

@@ -12,6 +12,12 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
## 2025-11-04 ## 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 ## 2025-11-03
### 🆕 New Scripts ### 🆕 New Scripts

View File

@@ -23,7 +23,7 @@
"ram": 2048, "ram": 2048,
"hdd": 8, "hdd": 8,
"os": "debian", "os": "debian",
"version": "13" "version": "12"
} }
} }
], ],

View File

@@ -26,7 +26,8 @@ $STD apt install -y \
unpaper \ unpaper \
fonts-urw-base35 \ fonts-urw-base35 \
qpdf \ qpdf \
poppler-utils poppler-utils \
jbig2
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
PYTHON_VERSION="3.12" setup_uv PYTHON_VERSION="3.12" setup_uv
@@ -69,24 +70,12 @@ $STD uv pip install \
ocrmypdf \ ocrmypdf \
pillow \ pillow \
pdf2image pdf2image
$STD apt install -y python3-uno python3-pip $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/python3 /usr/local/bin/python3
ln -sf /opt/.venv/bin/pip /usr/local/bin/pip ln -sf /opt/.venv/bin/pip /usr/local/bin/pip
msg_ok "Installed Python Dependencies" 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)" msg_info "Installing Language Packs (Patience)"
$STD apt install -y 'tesseract-ocr-*' $STD apt install -y 'tesseract-ocr-*'
msg_ok "Installed Language Packs" msg_ok "Installed Language Packs"