Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

How to make an AppImage of a development version? #35

Open
lobaluna opened this issue Jun 28, 2022 · 0 comments
Open

How to make an AppImage of a development version? #35

lobaluna opened this issue Jun 28, 2022 · 0 comments

Comments

@lobaluna
Copy link

lobaluna commented Jun 28, 2022

This is not an issue. It's a question.

I'm running the script as follows:

sh ~/bin/make_libreoffice_appimage.sh 7.3.5.0 x86-64 en,es,qtz Y Y N Y

It's my goal to get an AppImage from the developer version 7.3.5.0, so I can use the qtz language package. So far, I cannot get the script to download/build the appropriate version. If I put daily instead of the version number, right now I get the dev 7.5.0.0 version (although I cann get through all the process to create the actual AppImage).

Is it possible to create an AppImage for development versions?
The source for dev versions is Daily Dev Builds.

This is the otuput I get, and no dowload is performed:

+ argv0=/home/$USER/bin/make_libreoffice_appimage.sh
+ argv1=7.3.5.0
+ argv2=x86-64
+ argv3=en,es,qtz
+ argv4=Y
+ argv5=Y
+ argv6=N
+ argv7=Y
+ everylang='af|am|ar|as|ast|be|bg|bn-IN|bn|bo|br|brx|bs|ca-valencia|ca|cs|cy|da|de|dgo|dz|el|en-GB|en-ZA|eo|es|et|eu|fa|fi|fr|ga|gd|gl|gu|gug|he|hi|hr|hsb|hu|id|is|it|ja|ka|kk|km|kmr|kn|ko|kok|ks|lb|lo|lt|lv|mai|mk|ml|mn|mni|mr|my|nb|ne|nl|nn|nr|nso|oc|om|or|pa-IN|pl|pt-BR|pt|qtz|ro|ru|rw|sa-IN|sat|sd|si|sid|sk|sl|sq|sr-Latn|sr|ss|st|sv|sw-TZ|ta|te|tg|th|tn|tr|ts|tt|ug|uk|uz|ve|vec|vi|xh|zh-CN|zh-TW|zu'
+ case $# in
+ check
+ case $argv1 in
+ echo -e '\n  ==> Argument no.1 must be either '\''fresh'\'', '\''still'\'', '\''daily'\'' or a specific LibreOffice version number released by The Document Foundation. <=='

  ==> Argument no.1 must be either 'fresh', 'still', 'daily' or a specific LibreOffice version number released by The Document Foundation. <==
+ echo 'For correct usage of /home/$USER/bin/make_libreoffice_appimage.sh please see below:'
For correct usage of /home/$USER/bin/make_libreoffice_appimage.sh please see below:
+ echo ''

+ usage
+ echo ''

+ echo ' Build an "single-file" AppImage executable for any (arbitrary) version of LibreOffice from The Document Foundation'\''s official binary Debian package.'
 Build an "single-file" AppImage executable for any (arbitrary) version of LibreOffice from The Document Foundation's official binary Debian package.
+ echo ''

+ echo ' Usage:  /home/simonapetra/bin/make_libreoffice_appimage.sh  <version>  <arch>  <lang>  <help-yesno>  <zsync-yesno>  <sign-yesno> <portable-yesno>'
 Usage:  /home/simonapetra/bin/make_libreoffice_appimage.sh  <version>  <arch>  <lang>  <help-yesno>  <zsync-yesno>  <sign-yesno> <portable-yesno>
+ echo ''

+ echo '   where:'
   where:
+ echo '             <version>: '\''fresh'\'':   build from '\''fresh'\'' release channel (i.e. the latest official release)'
             <version>: 'fresh':   build from 'fresh' release channel (i.e. the latest official release)
+ echo '                        '\''still'\'':   build from '\''still'\'' release channel (i.e. the previous official release)'
                        'still':   build from 'still' release channel (i.e. the previous official release)
+ echo '                        '\''daily'\'':   build from '\''daily'\'' release channel (i.e. the current hot-of-the-stove development branch)'
                        'daily':   build from 'daily' release channel (i.e. the current hot-of-the-stove development branch)
+ echo '                      '\''n.m.o.p'\'':   for example use '\''5.4.3.2'\'''
                      'n.m.o.p':   for example use '5.4.3.2'
+ echo ''

+ echo '             <arch>:      '\''x86'\'':   package 32-bit binaries'
             <arch>:      'x86':   package 32-bit binaries
+ echo '                       '\''x86-64'\'':   package 64-bit binaries'
                       'x86-64':   package 64-bit binaries
+ echo ''

+ echo '             <lang>: '\''standard'\'':   includes en-GB, it, ar, zh-CN, zh-TW, fr, de, ja, ko, pt, pt-BR, es, ru language-packs'
             <lang>: 'standard':   includes en-GB, it, ar, zh-CN, zh-TW, fr, de, ja, ko, pt, pt-BR, es, ru language-packs
+ echo '                         '\''full'\'':   includes all available language-packs (for some releases more than 113 different ones!)'
                         'full':   includes all available language-packs (for some releases more than 113 different ones!)
+ echo '                            '\''N'\'':   no extra language-pack (LibreOffice comes with default '\''en-US'\'')'
                            'N':   no extra language-pack (LibreOffice comes with default 'en-US')
+ echo '                       <custom>:   includes one or more comma separated language-packs (for example '\''de'\'' or '\''it,es'\'')'
                       <custom>:   includes one or more comma separated language-packs (for example 'de' or 'it,es')
+ echo ''

+ echo '             <help-yesno>:  '\''Y'\'' or '\''N'\'' (Yes/No to include online help for each language pack installed for the previous '\''<lang>'\'' parameter)'
             <help-yesno>:  'Y' or 'N' (Yes/No to include online help for each language pack installed for the previous '<lang>' parameter)
+ echo '                       <custom>:   includes help for one or more comma separated languages (for example '\''de'\'' or '\''it,es'\'')'
                       <custom>:   includes help for one or more comma separated languages (for example 'de' or 'it,es')
+ echo ''

+ echo '             <zsync-yesno>: '\''Y'\'' or '\''N'\'' (Yes/No to include capability for updating the AppImage with the help of '\''AppImageUpdate'\'')'
             <zsync-yesno>: 'Y' or 'N' (Yes/No to include capability for updating the AppImage with the help of 'AppImageUpdate')
+ echo ''

+ echo '             <sign-yesno>:  '\''Y'\'' or '\''N'\'' (Yes/No to include a GPG signature)'
             <sign-yesno>:  'Y' or 'N' (Yes/No to include a GPG signature)
+ echo ''

+ echo '             <portable-yesno>: '\''Y'\'' or '\''N'\'' (Yes/No to include portable function)'
             <portable-yesno>: 'Y' or 'N' (Yes/No to include portable function)
+ echo ''

+ echo '   Example:  "/home/simonapetra/bin/make_libreoffice_appimage.sh still x86-64 it N N N N"'
   Example:  "/home/simonapetra/bin/make_libreoffice_appimage.sh still x86-64 it N N N N"
+ echo '             Build LO AppImage package with Italian language-pack, without offline help, not auto-updateable, without signing the package, .'
             Build LO AppImage package with Italian language-pack, without offline help, not auto-updateable, without signing the package, .
+ echo ''

+ echo '   Example:  "/home/simonapetra/bin/make_libreoffice_appimage.sh daily x86-64 de Y Y N"'
   Example:  "/home/simonapetra/bin/make_libreoffice_appimage.sh daily x86-64 de Y Y N"
+ echo '             Build LO AppImage package (development version) with German language-pack, with (German) offline help, updateable via zsync, without signing the package.'
             Build LO AppImage package (development version) with German language-pack, with (German) offline help, updateable via zsync, without signing the package.
+ echo ''

+ echo '   Example:  "/home/simonapetra/bin/make_libreoffice_appimage.sh 3.5.7.2 x86-64 es Y N N"'
   Example:  "/home/simonapetra/bin/make_libreoffice_appimage.sh 3.5.7.2 x86-64 es Y N N"
+ echo '             Build LO v3.5.7.2 AppImage package with Spanish language-pack, with (Spanish) offline help, not auto-updateable, without signing the package.'
             Build LO v3.5.7.2 AppImage package with Spanish language-pack, with (Spanish) offline help, not auto-updateable, without signing the package.
+ echo ''

+ exit 0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant