1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paperless-ngx_ynh.git synced 2024-09-03 19:56:33 +02:00

Document Ghostscript build

This commit is contained in:
tituspijean 2024-02-12 18:06:57 +01:00
parent d62d307ea9
commit 2c06e7091b
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
4 changed files with 6 additions and 3 deletions

View file

@ -0,0 +1,3 @@
Starting 2.4.3~ynh2, and while YunoHost 12 is yet to be released, Paperless-NGX will require to build its Ghostscript dependency to be able to process documents.
Expect a longer upgrade !

View file

@ -5,7 +5,7 @@ name = "Paperless-ngx"
description.en = "Scan, index and archive all your physical documents" description.en = "Scan, index and archive all your physical documents"
description.fr = "Scannez, triez et archivez tous vos documents papiers" description.fr = "Scannez, triez et archivez tous vos documents papiers"
version = "2.5.0~ynh1" version = "2.5.0~ynh2"
maintainers = ["Tagada"] maintainers = ["Tagada"]

View file

@ -60,7 +60,7 @@ popd
#================================================= #=================================================
# BUILD GHOSTCRIPT SPECIFIC VERSION # BUILD GHOSTCRIPT SPECIFIC VERSION
#================================================= #=================================================
ynh_script_progression --message="Building Ghostscript dependency..." ynh_script_progression --message="Building Ghostscript dependency... (this will take a long time!)"
pushd $install_dir/ghostscript pushd $install_dir/ghostscript
ynh_exec_warn_less ./configure ynh_exec_warn_less ./configure

View file

@ -100,7 +100,7 @@ popd
#================================================= #=================================================
if [[ ! -f $install_dir/ghostscript/bin/gs ]] && grep -q "10.02.1" $($install_dir/ghostscript/bin/gs -v) if [[ ! -f $install_dir/ghostscript/bin/gs ]] && grep -q "10.02.1" $($install_dir/ghostscript/bin/gs -v)
then then
ynh_script_progression --message="Building Ghostscript dependency..." ynh_script_progression --message="Building Ghostscript dependency... (this will take a long time!)"
ynh_setup_source --dest_dir="$install_dir/ghostscript" --source_id="gs" --full_replace ynh_setup_source --dest_dir="$install_dir/ghostscript" --source_id="gs" --full_replace