mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-28 07:07:17 +02:00
convertx: install missing converter dependencies
This commit is contained in:
+12
-1
@@ -34,7 +34,18 @@ function update_script() {
|
|||||||
systemctl stop convertx
|
systemctl stop convertx
|
||||||
msg_info "Stopped Service"
|
msg_info "Stopped Service"
|
||||||
|
|
||||||
ensure_dependencies libreoffice-writer
|
ensure_dependencies libreoffice-writer dasel graphicsmagick libemail-outlook-message-perl libheif-examples libjxl-tools pipx python3-pip resvg
|
||||||
|
|
||||||
|
if ! command -v markitdown &>/dev/null; then
|
||||||
|
msg_info "Installing markitdown"
|
||||||
|
export PIPX_BIN_DIR=/usr/local/bin
|
||||||
|
$STD pipx install "markitdown[all]"
|
||||||
|
msg_ok "Installed markitdown"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! command -v vtracer &>/dev/null; then
|
||||||
|
fetch_and_deploy_gh_release "vtracer" "visioncortex/vtracer" "prebuild" "0.6.4" "/usr/local/bin" "vtracer-$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl.tar.gz"
|
||||||
|
fi
|
||||||
|
|
||||||
create_backup /opt/convertx/data
|
create_backup /opt/convertx/data
|
||||||
|
|
||||||
|
|||||||
@@ -20,19 +20,27 @@ msg_info "Installing Dependencies"
|
|||||||
$STD apt install -y \
|
$STD apt install -y \
|
||||||
assimp-utils \
|
assimp-utils \
|
||||||
calibre \
|
calibre \
|
||||||
|
dasel \
|
||||||
dcraw \
|
dcraw \
|
||||||
dvisvgm \
|
dvisvgm \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
|
graphicsmagick \
|
||||||
inkscape \
|
inkscape \
|
||||||
|
libemail-outlook-message-perl \
|
||||||
|
libheif-examples \
|
||||||
|
libjxl-tools \
|
||||||
libreoffice-writer \
|
libreoffice-writer \
|
||||||
libva2 \
|
libva2 \
|
||||||
libvips-tools \
|
libvips-tools \
|
||||||
lmodern \
|
lmodern \
|
||||||
mupdf-tools \
|
mupdf-tools \
|
||||||
pandoc \
|
pandoc \
|
||||||
|
pipx \
|
||||||
poppler-utils \
|
poppler-utils \
|
||||||
potrace \
|
potrace \
|
||||||
python3-numpy \
|
python3-numpy \
|
||||||
|
python3-pip \
|
||||||
|
resvg \
|
||||||
texlive \
|
texlive \
|
||||||
texlive-fonts-recommended \
|
texlive-fonts-recommended \
|
||||||
texlive-latex-extra \
|
texlive-latex-extra \
|
||||||
@@ -40,6 +48,15 @@ $STD apt install -y \
|
|||||||
texlive-xetex
|
texlive-xetex
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
|
msg_info "Installing markitdown"
|
||||||
|
export PIPX_BIN_DIR=/usr/local/bin
|
||||||
|
$STD pipx install "markitdown[all]"
|
||||||
|
msg_ok "Installed markitdown"
|
||||||
|
|
||||||
|
# Pinned to match ConvertX's own Dockerfile - vtracer's "latest" release is now
|
||||||
|
# for an unrelated desktop app and may drop these CLI binaries.
|
||||||
|
fetch_and_deploy_gh_release "vtracer" "visioncortex/vtracer" "prebuild" "0.6.4" "/usr/local/bin" "vtracer-$(arch_resolve "x86_64" "aarch64")-unknown-linux-musl.tar.gz"
|
||||||
|
|
||||||
NODE_VERSION="22" NODE_MODULE="bun" setup_nodejs
|
NODE_VERSION="22" NODE_MODULE="bun" setup_nodejs
|
||||||
fetch_and_deploy_gh_release "ConvertX" "C4illin/ConvertX" "tarball" "latest" "/opt/convertx"
|
fetch_and_deploy_gh_release "ConvertX" "C4illin/ConvertX" "tarball" "latest" "/opt/convertx"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user