setup distro scripts: sort packages alphabetically

This commit is contained in:
Henrik Grimler 2021-09-17 09:59:48 +02:00
parent 7b67712eca
commit 23c34dde70
3 changed files with 40 additions and 40 deletions

View File

@ -2,7 +2,6 @@
set -e -u set -e -u
PACKAGES="" PACKAGES=""
PACKAGES+=" patch"
PACKAGES+=" asciidoc" PACKAGES+=" asciidoc"
PACKAGES+=" asciidoctor" # Used by weechat for man pages. PACKAGES+=" asciidoctor" # Used by weechat for man pages.
PACKAGES+=" automake" PACKAGES+=" automake"
@ -10,37 +9,38 @@ PACKAGES+=" bison"
PACKAGES+=" clang" # Used by golang, useful to have same compiler building. PACKAGES+=" clang" # Used by golang, useful to have same compiler building.
PACKAGES+=" curl" # Used for fetching sources. PACKAGES+=" curl" # Used for fetching sources.
PACKAGES+=" ed" # Used by bc. PACKAGES+=" ed" # Used by bc.
PACKAGES+=" expat" # Needed by ghostscript.
PACKAGES+=" flex" PACKAGES+=" flex"
PACKAGES+=" gawk" # Needed by apr-util.
PACKAGES+=" gcc" # Host C/C++ compiler. PACKAGES+=" gcc" # Host C/C++ compiler.
PACKAGES+=" gettext" # Provides 'msgfmt'. PACKAGES+=" gettext" # Provides 'msgfmt'.
PACKAGES+=" git" # Used by the neovim build. PACKAGES+=" git" # Used by the neovim build.
PACKAGES+=" glib2" # Provides 'glib-genmarshal' which the glib build uses.
PACKAGES+=" gnupg" # Needed to verify downloaded debs.
PACKAGES+=" gperf" # Used by the fontconfig build. PACKAGES+=" gperf" # Used by the fontconfig build.
PACKAGES+=" help2man" PACKAGES+=" help2man"
PACKAGES+=" intltool" # Used by qalc build. PACKAGES+=" intltool" # Used by qalc build.
PACKAGES+=" glib2" # Provides 'glib-genmarshal' which the glib build uses. PACKAGES+=" jre8-openjdk-headless"
PACKAGES+=" libjpeg-turbo" # Needed by ghostscript.
PACKAGES+=" libtool" PACKAGES+=" libtool"
PACKAGES+=" lua" # Needed to build luarocks package.
PACKAGES+=" lzip" PACKAGES+=" lzip"
PACKAGES+=" python"
PACKAGES+=" python2"
PACKAGES+=" tar"
PACKAGES+=" unzip"
PACKAGES+=" m4" PACKAGES+=" m4"
PACKAGES+=" openssl" # Needed to build rust.
PACKAGES+=" patch"
PACKAGES+=" pkgconf" PACKAGES+=" pkgconf"
PACKAGES+=" python"
PACKAGES+=" python-docutils" # For rst2man, used by mpv. PACKAGES+=" python-docutils" # For rst2man, used by mpv.
PACKAGES+=" python-recommonmark" # Needed for LLVM-8 documentation.
PACKAGES+=" python-setuptools" # Needed by at least asciinema. PACKAGES+=" python-setuptools" # Needed by at least asciinema.
PACKAGES+=" python-sphinx" # Needed by notmuch man page generation. PACKAGES+=" python-sphinx" # Needed by notmuch man page generation.
PACKAGES+=" python2"
PACKAGES+=" ruby" # Needed to build ruby. PACKAGES+=" ruby" # Needed to build ruby.
PACKAGES+=" scons" PACKAGES+=" scons"
PACKAGES+=" tar"
PACKAGES+=" texinfo" PACKAGES+=" texinfo"
PACKAGES+=" unzip"
PACKAGES+=" xmlto" PACKAGES+=" xmlto"
PACKAGES+=" expat" # Needed by ghostscript.
PACKAGES+=" libjpeg-turbo" # Needed by ghostscript.
PACKAGES+=" gawk" # Needed by apr-util.
PACKAGES+=" openssl" # Needed to build rust.
PACKAGES+=" gnupg" # Needed to verify downloaded debs.
PACKAGES+=" lua" # Needed to build luarocks package.
PACKAGES+=" python-recommonmark" # Needed for LLVM-8 documentation.
PACKAGES+=" jre8-openjdk-headless"
# Do not require sudo if already running as root. # Do not require sudo if already running as root.
if [ "$(id -u)" = "0" ]; then if [ "$(id -u)" = "0" ]; then

View File

@ -1,15 +1,15 @@
#!/bin/bash #!/bin/bash
PACKAGES=""
# Tier 1: requirements for the core build scripts in scripts/build/. # Tier 1: requirements for the core build scripts in scripts/build/.
PACKAGES="binutils-gold" # Part of binutils which is dependency of clang. PACKAGES+=" binutils-gold" # Part of binutils which is dependency of clang.
PACKAGES+=" clang" # Required to build termux-elf-cleaner as well as other PACKAGES+=" clang" # Required for termux-elf-cleaner and C/C++ packages.
# C/C++ packages. PACKAGES+=" file" # Used in termux_step_massage().
PACKAGES+=" file" # Used in termux_step_massage(). PACKAGES+=" gnupg" # Used in termux_get_repo_files() and build-package.sh.
PACKAGES+=" gnupg" # Used in termux_get_repo_files() and build-package.sh. PACKAGES+=" lzip" # Used by tar to extract *.tar.lz source archives.
PACKAGES+=" lzip" # Used by tar to extract *.tar.lz source archives. PACKAGES+=" patch" # Used for applying patches on source code.
PACKAGES+=" patch" # Used for applying patches on source code. PACKAGES+=" python" # Used buildorder.py core script.
PACKAGES+=" python" # Used buildorder.py core script. PACKAGES+=" unzip" # Used to extract *.zip source archives.
PACKAGES+=" unzip" # Used to extract *.zip source archives.
# Tier 2: requirements for building many other packages. # Tier 2: requirements for building many other packages.
PACKAGES+=" asciidoc" PACKAGES+=" asciidoc"

View File

@ -23,9 +23,9 @@ PACKAGES+=" unzip"
# Used by common build systems. # Used by common build systems.
PACKAGES+=" autoconf" PACKAGES+=" autoconf"
PACKAGES+=" autogen"
PACKAGES+=" automake" PACKAGES+=" automake"
PACKAGES+=" autopoint" PACKAGES+=" autopoint"
PACKAGES+=" autogen"
PACKAGES+=" bison" PACKAGES+=" bison"
PACKAGES+=" flex" PACKAGES+=" flex"
PACKAGES+=" g++" PACKAGES+=" g++"
@ -35,8 +35,8 @@ PACKAGES+=" gettext"
PACKAGES+=" gperf" PACKAGES+=" gperf"
PACKAGES+=" intltool" PACKAGES+=" intltool"
PACKAGES+=" libglib2.0-dev" PACKAGES+=" libglib2.0-dev"
PACKAGES+=" libtool-bin"
PACKAGES+=" libltdl-dev" PACKAGES+=" libltdl-dev"
PACKAGES+=" libtool-bin"
PACKAGES+=" m4" PACKAGES+=" m4"
PACKAGES+=" pkg-config" PACKAGES+=" pkg-config"
PACKAGES+=" scons" PACKAGES+=" scons"
@ -50,10 +50,10 @@ PACKAGES+=" pandoc"
PACKAGES+=" python3-docutils" PACKAGES+=" python3-docutils"
PACKAGES+=" python3-recommonmark" PACKAGES+=" python3-recommonmark"
PACKAGES+=" python3-sphinx" PACKAGES+=" python3-sphinx"
PACKAGES+=" scdoc"
PACKAGES+=" texinfo" PACKAGES+=" texinfo"
PACKAGES+=" xmlto" PACKAGES+=" xmlto"
PACKAGES+=" xmltoman" PACKAGES+=" xmltoman"
PACKAGES+=" scdoc"
# Needed by python modules (e.g. asciinema) and some build systems. # Needed by python modules (e.g. asciinema) and some build systems.
PACKAGES+=" python3.7" PACKAGES+=" python3.7"
@ -149,21 +149,21 @@ PACKAGES+=" nasm"
PACKAGES+=" rsync" PACKAGES+=" rsync"
# Needed by packages in unstable repository. # Needed by packages in unstable repository.
PACKAGES+=" comerr-dev"
PACKAGES+=" docbook-to-man" PACKAGES+=" docbook-to-man"
PACKAGES+=" docbook-utils" PACKAGES+=" docbook-utils"
PACKAGES+=" erlang-nox" PACKAGES+=" erlang-nox"
PACKAGES+=" heimdal-multidev"
PACKAGES+=" libconfig-dev"
PACKAGES+=" libevent-dev"
PACKAGES+=" libgc-dev" PACKAGES+=" libgc-dev"
PACKAGES+=" libgmp-dev" PACKAGES+=" libgmp-dev"
PACKAGES+=" libunistring-dev"
PACKAGES+=" libparse-yapp-perl"
PACKAGES+=" heimdal-multidev"
PACKAGES+=" comerr-dev"
PACKAGES+=" llvm-10-tools"
PACKAGES+=" llvm-10-dev"
PACKAGES+=" libevent-dev"
PACKAGES+=" libreadline-dev"
PACKAGES+=" libconfig-dev"
PACKAGES+=" libjansson-dev" PACKAGES+=" libjansson-dev"
PACKAGES+=" libparse-yapp-perl"
PACKAGES+=" libreadline-dev"
PACKAGES+=" libunistring-dev"
PACKAGES+=" llvm-10-dev"
PACKAGES+=" llvm-10-tools"
# Needed by packages in X11 repository. # Needed by packages in X11 repository.
PACKAGES+=" alex" PACKAGES+=" alex"
@ -174,25 +174,25 @@ PACKAGES+=" gtk-3-examples"
PACKAGES+=" gtk-doc-tools" PACKAGES+=" gtk-doc-tools"
PACKAGES+=" happy" PACKAGES+=" happy"
PACKAGES+=" itstool" PACKAGES+=" itstool"
PACKAGES+=" libdbus-glib-1-dev-bin"
PACKAGES+=" libgdk-pixbuf2.0-dev" PACKAGES+=" libgdk-pixbuf2.0-dev"
PACKAGES+=" libwayland-dev"
PACKAGES+=" python-setuptools" PACKAGES+=" python-setuptools"
PACKAGES+=" python3-xcbgen" PACKAGES+=" python3-xcbgen"
PACKAGES+=" sassc" PACKAGES+=" sassc"
PACKAGES+=" texlive-extra-utils" PACKAGES+=" texlive-extra-utils"
PACKAGES+=" wayland-scanner++"
PACKAGES+=" xfce4-dev-tools" PACKAGES+=" xfce4-dev-tools"
PACKAGES+=" xfonts-utils" PACKAGES+=" xfonts-utils"
PACKAGES+=" xutils-dev" PACKAGES+=" xutils-dev"
PACKAGES+=" libdbus-glib-1-dev-bin"
PACKAGES+=" wayland-scanner++"
PACKAGES+=" libwayland-dev"
# Needed by packages in science repository # Needed by packages in science repository
PACKAGES+=" sqlite3"
PACKAGES+=" protobuf-c-compiler" PACKAGES+=" protobuf-c-compiler"
PACKAGES+=" sqlite3"
# Needed by packages in game repository # Needed by packages in game repository
PACKAGES+=" python3-yaml"
PACKAGES+=" cvs" PACKAGES+=" cvs"
PACKAGES+=" python3-yaml"
# Needed by apt. # Needed by apt.
PACKAGES+=" triehash" PACKAGES+=" triehash"