Commit graph

894 commits

Author SHA1 Message Date
Bart Ribbers
ff18340fb8
main/postmarketos-ui-gnome: depend on PulseAudio (!1018) 2020-03-03 21:39:30 +03:00
Bart Ribbers
205280cb39
main/postmarketos-ui-phosh: depend on PulseAudio (!1018) 2020-03-03 21:39:29 +03:00
Bart Ribbers
b8485512c7
main/postmarketos-ui-plasma-mobile: depend on PulseAudio (!1018) 2020-03-03 21:39:29 +03:00
Bart Ribbers
98f9320f35
main/postmarketos-base: remove unnecessary dependencies (!1018)
These dependencies don't belong here.
- iw: should be installed by the user themselves when wanted
- nano: should be installed by the user themselves when wanted
- pulseaudio: should be installed by the UI meta packages that need it
  instead
- pulseaudio-alsa: should automatically be installed when both
  PulseAudio and alsa are installed

https://gitlab.alpinelinux.org/alpine/aports/merge_requests/4820
2020-03-03 21:39:27 +03:00
KuroLevin
b16bff03fb
main/powersupply: add missing dependency (!1020)
py3-setuptools is not only a build dependency, but a runtime
dependency too.
2020-03-02 23:26:12 +03:00
Antoine Fontaine
3e12edb9cb
linux-postmarketos-allwinner: enable config options needed for anbox (!956)
see #327.
2020-03-01 23:59:36 +03:00
Antoine Fontaine
eed04e1e13
linux-postmarketos-stable: enable config options needed for anbox (!956)
see #327.
2020-03-01 23:59:30 +03:00
Antoine Fontaine
94f54a4da9
main/postmarketos-anbox: new aport (!956) 2020-03-01 23:58:20 +03:00
Antoine Fontaine
56dd569e56
main/anbox-image: new aport (!956) 2020-03-01 23:58:14 +03:00
Luca Weiss
3fe7e1601c
main/devicepkg-dev: remove Image.gz from list of kernels to consider (!1014)
This breaks booting on Librem 5 and is not needed on any device
currently using downstreamkernel_package, so remove it.
2020-03-01 10:35:04 +01:00
Antoine Fontaine
325ac07381
main/postmarketos-ui-phosh: force qt apps to use wayland (!1008)
Phosh handles very badly X, so let's avoid using it.
2020-03-01 00:51:36 +01:00
Martijn Braam
ec83ab9a06
postmarketos-mkinitfs: fix unlocking with pmos_root (!943)
Fix --fde on the PinePhone (actually it fixes it for devices that
uses the pmos_root cmdline).
2020-03-01 00:43:08 +01:00
Minecrell
ed3eeeeebb
main/postmarketos-mkinitfs: append extra initfs hash to file contents (!983)
Partial revert of 24fa68c9 ("avoid storing initramfs-extra twice").

Some people have (rightfully) complained that including the hash
in the filename of the initramfs-extra prevents the device from booting
whenever the boot partition gets out of sync with the boot image.

In general we should assume that those two are in sync, but there is
no need to unnecessarily break this if previously booting the outdated
extra initramfs worked just fine.

At the end, the hash is just an implementation detail for the caching
mechanism - we need it when (re-)generating the initramfs, but it does
not have to be within the filename. Instead, we can simply append the
hash to the file contents. GZIP will simply ignore the trailing garbage.

The boot partition will then look like:
    $ cat /boot/initramfs-<flavor>-extra
    <GZIP data>d3c7b449c6fc811d97351bbc46852b66 (the hash)

This makes the filename of initramfs-extra nice and stable again.
It also fixes a regression where the initramfs-extra would no longer
get symlinked by "pmbootstrap export" (I was going to fix that in
pmbootstrap but now this solution is more appealing...)

While we're at it: Make the script more resilient again by writing
to a temporary file first, then move it (atomically) to the real path.
2020-03-01 00:31:27 +01:00
Bart Ribbers
820c3a3a31
main/postmarketos-ui-plasma-mobile: enable ofono by default (!971)
We should do this in the UI packages that need it rather than in the
device packages themselves because for example Phosh doesn't need Ofono
but ModemManager
2020-02-29 22:37:53 +01:00
Bart Ribbers
be59b67d6a
main/postmarketos-ui-phosh: enable modemmanager by default (!971) 2020-02-29 22:35:01 +01:00
Oliver Smith
484ca0a24b
main/postmarketos-ui-gnome: disable for armhf (!1015)
gdm is missing in Alpine for armhf [ci:skip-vercheck]

Related: https://builds.sr.ht/~postmarketos/job/160896
2020-02-29 22:01:18 +01:00
Martijn Braam
d5c046c74e
main/postmarketos-ui-gnome: new aport (!990) 2020-02-29 21:40:12 +01:00
Antoine Fontaine
60693e6a6d
main/mauikit: add missing kirigami dep (!1009) 2020-02-29 04:02:20 +03:00
Minecrell
46371f042d
main/devicepkg-dev: make HOSTCC optional (!1007)
HOSTCC defaults to gcc, so we should only set it to override it
if we want to use an older GCC. Removing it avoids annoying linter
warnings caused by the HOSTCC="..." variable assignments.
2020-02-28 18:32:22 +01:00
Dolphin von Chips
6fee64ccd9
main/devicepkg-dev: add downstreamkernel_package helper (!976) 2020-02-27 23:29:38 +01:00
Dolphin von Chips
30bc6faaa9
main/postmarketos-ui-phosh: mention numeric password condition (!997) 2020-02-28 00:51:43 +03:00
Dolphin von Chips
515004105e
main/postmarketos-ui-plasma-mobile: mention numeric password condition (!997) 2020-02-28 00:51:40 +03:00
Dolphin von Chips
2bb9599dce
main/postmarketos-mkinitfs: add option to append SEANDROIDENFORCE to boot.img (!1000) 2020-02-27 20:19:21 +03:00
Minecrell
89fa4dd264
main/linux-postmarketos-qcom-msm8916: upgrade to 5.6-rc3 (!992)
- Update to Linux 5.6-rc3
- Fix orientation on wileyfox-crackling (add mount-matrix)
- Fix sound (workaround inexistent backward compatibility in alsa-lib...)
2020-02-27 16:28:24 +03:00
Danct12
06c3133ab5
main/linux-postmarketos-allwinner: correct voltage for lcd (!994)
Currently, every LCDs inside their (our users) pocket are driving 3.3V,
meanwhile the LCD interface is meant to drive at ~2V.

This turns our LCDs into a timebomb that is ready to trigger at any moment,
killing the display.

Signed-off-by: Danct12 <danct12@disroot.org>
2020-02-26 14:22:14 +03:00
Luca Weiss
1b3f6476da
main/umockdev: upgrade to 0.14.1 (!987) 2020-02-26 01:56:05 +03:00
Luca Weiss
15d2f6ef8a
main/apitrace: upgrade to 9.0 (!985) 2020-02-25 23:36:36 +03:00
Luca Weiss
56f9afaefe
main/linux-postmarketos-allwinner: enable some config options (!968)
* ch341: for PinePhone/PineTab usb serial console
* hidraw: yubikey and many other use cases
* the rest are options required by Anbox
2020-02-23 13:17:37 +01:00
Luca Weiss
920afebc59
main/linux-postmarketos-allwinner: enable some bluetooth options (!820)
also fix linting issues
2020-02-20 23:12:26 +03:00
David Heidelberg
2b91f83c54
main/postmarketos-ui-phosh/APKBUILD: depend on xwayland only (!964) 2020-02-20 18:21:36 +03:00
Bart Ribbers
07fb820e98
main/telephony-service: autostart on boot (!972) 2020-02-20 15:59:25 +01:00
Minecrell
e460d5cce2
main/linux-postmarketos-qcom-msm8916: upgrade to 5.6-rc2 (!970)
- Update to Linux 5.6-rc2
- Major improvements for Motorola Moto G4 Play (motorola-harpia)
  - Display
  - Touchscreen
  - Accelerometer
  - Audio
  - Modem
  - Vibrator

- Fix headphones/headset detection for wileyfox-crackling
- Add mount-matrix for samsung-a3ulte/a5ulte to fix
  orientation detection with iio-sensor-proxy
- A lot of cleanup everywhere

- APKBUILD: Clean up makedepends (a lot of them are unneeded)
2020-02-20 13:36:35 +01:00
Bart Ribbers
d18a04f7c4
main/telephony-service: disable on armhf
[ci:skip] Unbreak the builder
2020-02-19 21:36:50 +01:00
Bhushan Shah
437f47be46
main/telephony-service: new aport (!962) 2020-02-19 19:06:41 +01:00
Danct12
9872289dff
main/linux-postmarketos-allwinner: upgrade to kernel 5.5 (!938) 2020-02-19 10:10:35 +05:30
Bhushan Shah
706be2d3c5
main/qt5-qt{pim,feedback}: build for all architectures (!961)
They are to be used on PlaMo on aarch64 device, so enable the builds for
all architectures.

[ci:skip-vercheck]
2020-02-18 19:44:55 +05:30
Minecrell
bd5992fe54
main/linux-postmarketos-qcom-msm8916: stop generating QCDT image (!907)
wileyfox-crackling was the only user of QCDT. Now that it is also
using appended DTBs, there is no need to generate the QCDT image anymore.

Another advantage of this is that mainline can then be only booted using lk2nd
(as intended), since booting it from the stock bootloader has weird side effects
(e.g. no WiFi/BT MAC address set).
2020-02-16 12:47:39 +01:00
Martijn Braam
5c6a706cd2
main/powersupply: new aport (!946) 2020-02-14 22:28:14 +01:00
Luca Weiss
a240fe19d7
main/postmarketos-ui-plasma-mobile: install qtlogging.ini into /etc/xdg (!955)
That path works just as well as documented at
https://doc.qt.io/qt-5/qstandardpaths.html (GenericConfigLocation) and
it doesn't depend on the user being created after the package has been
installed.
2020-02-14 10:17:27 +01:00
cybik
d01e175c70
main/postmarketos-ui-phosh: add gnome-keyring (!944)
Thi way Phosh users can connect to a password-protected WiFi by clicking on it in Control Center
2020-02-13 18:58:45 +01:00
David Heidelberg
5dc637d1aa
main/postmarketos-ui-phosh: enforce polkit-elogind (!876)
polkit rely on systemd, so we don't get correctly working setup.

This impact non-working backlight control from userspace and other
stuff.

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-02-11 11:57:54 +01:00
Martijn Braam
b38e850966
main/ofonoctl: new aport (!816) 2020-02-10 16:48:47 +03:00
Danct12
a361dda9ee
main/postmarketos-ui-phosh: add kgx terminal (!940) 2020-02-10 01:50:11 +03:00
Minecrell
24fa68c9b6
main/postmarketos-mkinitfs: avoid storing initramfs-extra twice (!932)
At the moment we store the same initramfs-extra twice on the file system:
  - /boot/initramfs-<flavor>-extra
  - /var/cache/postmarketos-mkinitfs/initramfs-<flavor>-extra_<hash>

The second copy is exactly the same file, just with the <hash> (for caching)
appended to the filename.

We can avoid this by appending the hash directly to the filename
on the boot partition, i.e.
  - /boot/initramfs-<flavor>-extra_<hash>

This is possible because we only reference initramfs-extra from the main
initramfs, and we already replace the path in it dynamically.
It will just let the main initramfs load -extra_<hash> instead of just -extra.

This saves a few megabytes of disk space on the rootfs.
2020-02-10 01:38:18 +03:00
Clayton Craft
eab19e845a
main/osk-sdl: upgrade to 0.54 (!937) 2020-02-10 00:47:53 +03:00
Alexey Min
b11e1f0e38
main/postmarketos-mkinitfs-hook-debug-shell: mount pstore (!921) 2020-02-04 11:19:41 +03:00
Oliver Smith
9f4b132748
main/pmbootstrap: remove (upstreamed) (!918)
Related: https://gitlab.alpinelinux.org/alpine/aports/merge_requests/2793
2020-01-31 04:30:02 +01:00
Minecrell
775298f398
main/postmarketos-ui-sway: remove dependency on xorg-server (!913)
postmarketos-ui-sway already depends on xorg-server-xwayland for
X clients. There is no need to pull in the entire X server including
all necessary drivers.

This saves ~84 MiB of disk space when installing postmarketos-ui-sway
on asus-me176c. X applications are still working fine through Xwayland.

Also remove explicit dependency on dbus - it is already pulled in
by dependencies like lightdm or elogind and nothing in
postmarketos-ui-sway depends on it specifically.
2020-01-30 19:14:53 +01:00
Bart Ribbers
b1edecbcfa
main/telepathy-farstream: remove, upstreamed to Alpine 2020-01-30 14:37:39 +01:00
Bart Ribbers
8058b4eaa4
main/telepathy-qt: remove, upstreamed to Alpine 2020-01-30 14:36:12 +01:00
Minecrell
d4ee123079
main/devicepkg-dev: Fix shellcheck warnings in splash screen generation (!899)
(These were present before the code was moved to devicepkg-dev.)
2020-01-28 15:33:43 +01:00
Minecrell
e3d07c832c
main/{devicepkg-dev,postmarketos-mkinitfs}: statically generate splash screens (!899)
We need to generate the splash screens separately for each device,
because they are specific to the device's display resolution.

At the moment we do this dynamically during the installation process.
This has the advantage that there is no need to re-build all device
packages when one of the splash screen is changed (or a new one is added).

In reality, however, the splash screens do not change very frequently.
On the other hand, generating the splash screens dynamically has signficant
disk usage overhead for a minimal ("none" UI) rootfs:

The Python interpreter together with the necessary libraries requires
about ~60 MB of disk space on aarch64.
The splash screens itself require about ~100 KB for 720x1280.

This is not necessary if we move the splash screen generation into
devicepkg-dev, which is used to build the device package for all devices.
Another advantage is that we no longer need the (rather complicated)
caching mechanism for splash screens - so we actually end up with less
lines than before.

rootfs size for samsung-a5ulte ("none" UI):
  Before: 450M
  After:  388M (-62M)

After this change, every(!) device package needs to be rebuilt once.
No changes are necessary in device packages.
2020-01-28 15:33:40 +01:00
Minecrell
0c7bcb5431
main/osk-sdl: add missing depends on ttf-dejavu (!899)
ttf-dejavu is referenced in osk.conf:
  keyboard-font = /usr/share/fonts/ttf-dejavu/DejaVuSans.ttf
2020-01-28 15:33:36 +01:00
Oliver Smith
3d3deefe29
pmbootstrap: upgrade to 1.14.0 2020-01-27 00:50:05 +01:00
Genox997
bdbcfc38dd
main/linux-postmarketos-qcom-msm8974: upgrade to 5.4.0-rc6 (!902)
[ci:skip-build]: already built successfully in CI
2020-01-26 23:13:07 +01:00
Minecrell
47b17d55c7
main/linux-postmarketos-qcom-msm8916: upgrade to 5.5-rc7 (!901)
- Update to Linux 5.5-rc7
- Touchkey support for samsung-a5ulte/a3ulte/serranovelte

[ci:skip-build]: already built successfully in CI
2020-01-26 22:36:49 +01:00
Minecrell
81d8d03d5f
main/devicepkg-dev: Fix deviceinfo variables for kernels with "-" in name (!892)
Kernel subpackages may contain a "-" (e.g. -kernel-mainline-modem);
replace it with an underscore to make sure that we find the
kernel-specific variables in deviceinfo.
2020-01-18 11:47:54 +01:00
Bart Ribbers
26cfbcc4c9
main/uuu: fix linting issues (!872)
[ci:ignore-count]
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00
Bart Ribbers
807389d178
main/gesture: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
f9b6f91ea6
main/dbus-test-runner: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
3f7de79f29
main/unixbench: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
ae1ee2385c
main/libofono-qt: fix linting issues (!872)
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00
Bart Ribbers
bd3d4426c0
main/blobtools: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
b8b57bc58f
main/qt5-qtfeedback: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
e6ddd17ca8
main/android-mkdtimg: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
57518d656a
main/qmltermwidget: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
4748cb423a
main/qt5ct: fix linting issues (!872)
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00
Bart Ribbers
09e45bd9a6
main/hello-world-wrapper: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
b62db7e8dc
main/adsp-audio: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
4472f2e267
main/postmarketos-ui-plasma-mobile: fix linting issues (!872)
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00
Bart Ribbers
fd03d537e6
main/abuild-sign-noinclude: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
dc2c8ddb6a
main/charging-sdl: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
e9845b3687
main/msm-fb-refresher: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
3bf5216021
main/wcnss-wlan: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
6cc523ec4f
main/osk-sdl: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
b69f356825
main/kmscube: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
5c90b186a8
main/postmarketos-android-recovery-installer: fix contributor email (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
d7f064f55a
main/mdss-fb-init-hack: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
fd18d7e720
main/postmarketos-splash: fix linting issues (!872)
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00
Bart Ribbers
32a4452c23
main/qt5-qtsystems: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
29bedbadd6
main/sdl_net: remove, unused since upstreaming chocolate-doom to Alpine (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
9607d914e3
main/umockdev: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
53f6b4c60e
main/hwtest: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
956755670f
main/urfkill: fix linting issues (!872)
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00
Bart Ribbers
aa3e09e62d
main/heimdall: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
9bbaab919b
main/mtk-mkimage: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
8fea95d428
main/qt5-qtpim: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
fb88f5e007
main/libdmtx: remove, unused since upstreaming KDE to Alpine (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
bda1669676
main/libsignon-glib: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
4638519cf5
main/triggerhappy: fix linting issues (!872)
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00
Bart Ribbers
e2668e22ab
main/columbiad: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
5fb31d85c0
main/extract-dtb: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
4b400fa0f6
main/telepathy-mission-control: fix linting issues (!872)
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00
Bart Ribbers
fe52ba5c0e
main/mkbootimg-osm0sis: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
8afc6db4da
main/dtbtool-exynos: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
b659e5ee2a
main/watchdog-kick: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
02c0b08cc8
main/hello-world: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Bart Ribbers
6439348cb1
main/dtbtool: fix linting issues (!872) 2020-01-17 18:54:33 +01:00
Luca Weiss
a6ad088e04
main/dmz-cursor-theme: drop (!887)
The package was introduced with unity8 but isn't needed by anything in
pmaports, so drop it.
2020-01-17 17:51:55 +01:00
Oliver Smith
fc8b9c39fa
main/hello-world-rust: new aport (!845) 2020-01-14 02:45:18 +01:00