Draft: main/postmarketos-install-recommends: new aport
This does what you think it does.
The design is very human, you run install-recommends postmarketos-ui-phosh
and that's it.
Supports uninstalling as well (-u
) and verbose argument (-v
). All in one simple python script with only runtime dependency on git (to clone pmaports repo).
Example usage, you're on console or fbkeyboard UI and what to try phosh:
$ sudo apk add postmarketos-ui-phosh
...
$ install-recommends -v postmarketos-ui-phosh
You are on OS version: edge, using branch: master
Already on 'master'
Your branch is up to date with 'origin/master'.
Will run: sudo apk add -i calls chatty mobile-config-firefox phosh-mobile-settings portfolio postmarketos-default-camera postmarketos-tweaks postmarketos-welcome postprocessd ttyescape firefox-esr flatpak font-noto font-noto-emoji gnome-calculator gnome-calendar gnome-clocks gnome-console gnome-contacts gnome-maps gnome-software gnome-software-plugin-apk gnome-text-editor gnome-weather lollypop loupe papers
The following NEW packages will be installed:
alpine-appstream-downloader apk-polkit-rs axc callaudiocli callaudiod calls chatty cjson confuse cyrus-sasl cyrus-sasl-openrc dbus-glib ffmpeg-libavformat ffmpeg-libswscale firefox-esr flashrom-libs flatpak flatpak-libs flatpak-polkit folks font-noto
font-noto-common font-noto-emoji font-noto-math font-noto-symbols fwupd fwupd-openrc fwupd-polkit fwupd-udev gfbgraph gjs glycin-loaders gnome-calculator gnome-calendar gnome-clocks gnome-console gnome-contacts gnome-maps gnome-software gnome-software-lib
gnome-software-plugin-apk gnome-software-plugin-flatpak gnome-text-editor gnome-weather gom gst-plugins-good gtksourceview5 heimdal-libs hkdm hwloc kbd kbd-misc kbd-openrc libavc1394 libbluray libcbor libdv libeditorconfig libftdi1 libgee libgfortran libheif
libidn libiec61883 libimagequant libjcat libomemo libopencv_calib3d libopencv_core libopencv_dnn libopencv_features2d libopencv_flann libopencv_imgcodecs libopencv_imgproc libopencv_photo libopencv_video libopencv_videoio libopencv_videostab libopenmpt
libpeas libpurple libqrencode libraw librist libshout libshumate libsignal-protocol-c libsodium libsoup libsrt libssh libtag libzmq lm-sensors-libs lollypop loupe mbedtls mmsd-tng mobile-config-firefox mozjs115 mpc1 mpg123-libs mxml olm onetbb openblas
opencore-amr ostree papers papers-libs papers-nautilus phosh-mobile-settings portfolio postmarketos-base-ui-flatpak postmarketos-default-camera postmarketos-tweaks postmarketos-tweaks-phosh postmarketos-welcome postprocessd purple-carbons purple-lurch
purple-xmpp purple-xmpp-http-upload py3-anyio py3-anyio-pyc py3-cairo py3-cairo-pyc py3-certifi py3-certifi-pyc py3-charset-normalizer py3-charset-normalizer-pyc py3-curio py3-curio-pyc py3-gettext py3-gettext-pyc py3-gst py3-h11 py3-h11-pyc py3-httpcore
py3-httpcore-pyc py3-httpx py3-httpx-pyc py3-idna py3-idna-pyc py3-pillow py3-pillow-pyc py3-pylast py3-pylast-pyc py3-requests py3-requests-pyc py3-sniffio py3-sniffio-pyc py3-urllib3 py3-urllib3-pyc rest sdbus-cpp sofia-sip speex telepathy-glib
tpm2-tss-esys tpm2-tss-mu tpm2-tss-sys ttyescape ttyescape-openrc v4l-utils-libs vte3-gtk4 waked waked-openrc wavpack-libs
Need to download 120 MiB of packages.
After this operation, 402 MiB of additional disk space will be used.
TODO:
-
switch apkbuild search and and apkbild parser code to one used on pmbootstrap
Edited by Alexey Minnekhanov