diff options
author | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2020-03-31 10:57:25 +0200 |
---|---|---|
committer | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2020-03-31 10:57:25 +0200 |
commit | b4785c8efd65af94da9b14cb011c69101a54072a (patch) | |
tree | 00c2fb8b1fa7eebca83a282f5d3cd8366f6fc139 | |
parent | appdir-lint demands a png; fix variable in configure-source script (diff) | |
download | librewolf-linux-b4785c8efd65af94da9b14cb011c69101a54072a.tar.gz librewolf-linux-b4785c8efd65af94da9b14cb011c69101a54072a.tar.bz2 librewolf-linux-b4785c8efd65af94da9b14cb011c69101a54072a.zip |
generate appstream metadata
-rw-r--r-- | binary_tarball/content/io.gitlab.LibreWolf.appdata.xml.in | 38 | ||||
-rwxr-xr-x | binary_tarball/scripts/1_Install_Dependencies.sh | 2 | ||||
-rwxr-xr-x | binary_tarball/scripts/5_Configure_Binary_Tarball.sh | 6 |
3 files changed, 44 insertions, 2 deletions
diff --git a/binary_tarball/content/io.gitlab.LibreWolf.appdata.xml.in b/binary_tarball/content/io.gitlab.LibreWolf.appdata.xml.in new file mode 100644 index 0000000..d91176c --- /dev/null +++ b/binary_tarball/content/io.gitlab.LibreWolf.appdata.xml.in @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="UTF-8"?> +<application> + <id type="desktop">io.gitlab.LibreWolf</id> + <launchable type="desktop-id">io.gitlab.LibreWolf</launchable> + <name>LibreWolf</name> + <summary>LibreWolf Web Browser</summary> + <metadata_license>CC0-1.0</metadata_license> + <project_license>MPL-2.0</project_license> + <description> + <p><strong>LibreWolf</strong></p> + <p>This project is an independent fork of Firefox, with the primary goals of privacy security and user freedom. It is the community run successor to LibreFox.</p> + <p>LibreWolf uses more than 500 privacy/security/performance settings, patches, LibreWolf-Addons (optional) and is designed to minimize data collection and telemetry as much as possible (updater, crashreporter and Firefox’s integrated addons that don’t respect privacy are removed).</p> + <p><strong>LibreWolf is NOT associated with Mozilla or its products.</strong></p> + <p>Features:</p> + <ul> + <li>Latest Version of Firefox: LibreWolf is compiled directly from the latest build of Firefox Stable. You will have the the latest features, and security updates.</li> + <li>Completely Independent Build: LibreWolf uses a completely independent build from Firefox and has its own settings, profile folder and installation path. As a result, it can be installed alongside Firefox or any other browser.</li> + <li>IJWY (I Just Want You To Shut Up): embedded server links and other calling home functions are removed. In other words, zero unauthorized or background connections by default.</li> + <li>Settings protection: important settings are enforced/locked within librewolf.cfg and policies.json, those settings cannot be changed by addons/updates/LibreWolf itself or unwanted/accidental manipulation; To change those settings you can easily do it by editing librewolf.cfg and policies.json.</li> + <li>LibreWolf-addons: set of optional LibreWolf extensions</li> + <li>Statistics disabled: telemetry and similar functions are disabled</li> + <li>Tested settings: settings are performance aware</li> + <li>Recommended and code reviewed addons list</li> + <li>Community-Driven</li> + <li>And much more…</li> + </ul> + </description> + <releases> + <release version="$pkgver-$pkgrel" date="$DATE"/> + </releases> + <keywords> + <keyword>librewolf</keyword> + <keyword>internet</keyword> + <keyword>web</keyword> + </keywords> + <url type="homepage">https://librewolf-community.gitlab.io/</url> + <url type="bugtracker">https://gitlab.com/groups/librewolf-community/-/issues/</url> +</application> diff --git a/binary_tarball/scripts/1_Install_Dependencies.sh b/binary_tarball/scripts/1_Install_Dependencies.sh index 7f2c85a..42b989c 100755 --- a/binary_tarball/scripts/1_Install_Dependencies.sh +++ b/binary_tarball/scripts/1_Install_Dependencies.sh @@ -4,9 +4,9 @@ printf "\n\n-------------------------------------- DEPENDENCY INSTALLATION ----- set -e # Setup Script Variables -# _DEPENDENCIES="mercurial wget git flatpak flatpak-builder"; _DEPENDENCIES="wget git xvfb \ xz-utils \ + gettext-base \ curl python3 libjack-dev \ autotools-dev \ autoconf2.13 \ diff --git a/binary_tarball/scripts/5_Configure_Binary_Tarball.sh b/binary_tarball/scripts/5_Configure_Binary_Tarball.sh index 2068805..c981fc1 100755 --- a/binary_tarball/scripts/5_Configure_Binary_Tarball.sh +++ b/binary_tarball/scripts/5_Configure_Binary_Tarball.sh @@ -38,7 +38,7 @@ distini="$_EXTRACTED_TARBALL_FOLDER/distribution/distribution.ini" install -Dvm644 /dev/stdin "$distini" <<END [Global] -id=io.gitlab.${pkgname} +id=io.gitlab.LibreWolf version=1.0 about=LibreWolf @@ -48,6 +48,10 @@ app.distributor.channel=librewolf app.partner.librewolf=librewolf END +# Create Appstream metadate file +export DATE=$(date +%Y-%m-%d) +envsubst < ${_SCRIPT_FOLDER}/content/io.gitlab.LibreWolf.appdata.xml.in > ${_EXTRACTED_TARBALL_FOLDER}/io.gitlab.LibreWolf.appdata.xml + # Repacks the binary tarball printf "\nRecompressing binary tarball\n"; tar -jvcf $BINARY_TARBALL -C $_EXTRACTED_TARBALL_FOLDER . |