Customizable selection of help and language packs

Allows more flexibility in selecting languages for language packs and help language packs. Besides the preconfigured sets standard, full, or a single language, and for help the same or none, builder can now decide to include a custom selection of languages for each.
This commit is contained in:
db-inf 2020-10-25 16:39:04 +01:00 committed by GitHub
parent 21ec594c5f
commit f80b8c10cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,11 +24,12 @@ The script takes 6 parameters:
3. **Third:** request the language pack(s) you want to use with LibreOffice. The following values may be submitted:
- `'standard'`: creates a package with a set of pre-defined languages, namely: *nl, en-GB, fr, de*;
- `'full'`: creates a package with ALL the languages supported by the project, namely: *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*;
- `'<single>'`: one single extra language code out of those supported by the project (for full list see above), f.e. `it`;
- `'<custom>'`: one or more comma separated language codes out of those supported by the project (for full list see above), f.e. `it` or `de,es`;
- `'N'`: no extra language at all; the package will contain support for the default language only (which is `en-US`).
4. **Fourth:** request to package (or not) the offline help into the bundle. For `'standard'` language pack, this is only for the first language, else the offline help language will be the same as selected for the third parameter above:
- `'Y'`: yes, embed the offline help in the AppImage;
4. **Fourth:** request to package (or not) offline help into the bundle.:
- `'Y'`: yes, embed the offline help in the AppImage for the same languages as selected for the third parameter above;
- `<custom>`: one or more comma separated language codes out of those supported by the project (for full list see above), f.e. `it` or `de,es`;
- `'N'`: no, do NOT embed the offline help in the AppImage.
5. **Fifth:** specify if you want (or not) to be able to make the package updateable. (This additionally creates a *zsync* file, which is used to handle "differential" downloads, so an update does not have to fetch a *complete* AppImage file, but only those byte-ranges which have changed). For this option to work, the [zsync-curl](https://github.com/AppImage/zsync-curl) tool must be present on the system. Possible values are: