Commit graph

862 commits

Author SHA1 Message Date
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
Pops Dylan
8760409717
main/postmarketos-mkinitfs: enable profiling with bootchart (!852)
If (a) the kernel command line parameters include PMOS_BOOTCHART2 and
(b) /sbin/bootchartd exists (i.e., the bootchart2 package has been
installed), run /sbin/bootchartd instead of /sbin/init.
2020-01-13 15:44:51 +03:00
Pops Dylan
e068de2de5
main/bootchart2: new aport (!852)
Port bootchart2 to PostmarketOS, with three patches:
1. Modification of /etc/bootchartd.conf so that the collector
will stop after sshd has started.
2. Python 3.8 compatibility
3. Disable the interactive mode of pybootchartgui.

Use bootchart2 to profile system boot or a running system.
1. Add the bootchart2 package to your device.
2. Add the following kernel command line parameters: initcall_debug
printk.time=y quiet
3. To profile system boot
	a. add the following kernel command line parameter: PMOS_BOOTCHART2.
	This parameter causes mkinitfs to start /sbin/bootchartd instead of
	/sbin/init. /sbin/bootchartd then starts /sbin/init.
	b. (optional) modify EXIT_PROC in /etc/bootchartd.conf to define
	when the collector is to stop.
	c. Boot the system. Approximately 20 seconds after sshd starts
	(if using the default value of EXIT_PROC), the collector
	will exit.
4. To profile a running system
	a. use the command '/sbin/bootchartd start' (as root) to start
	profiling
	b. use the command '/sbin/bootchartd stop' (as root) to stop
	profiling
5. When the collector exits, /usr/bin/pybootchartgui will create
a visualization in /var/log/bootchart.png.
2020-01-13 15:43:00 +03:00
Bart Ribbers
d1bd790f9d
main/pmbootstrap: modprobe the required kernel module on boot (!847) 2020-01-06 04:13:38 +01:00
Oliver Smith
3fa07dcb1d
*/*: !armhf where depending on qt5-qtdeclarative
Related: https://gitlab.alpinelinux.org/alpine/aports/merge_requests/2230
2020-01-06 03:41:56 +01:00
Oliver Smith
a3a63f2151
main/pmbootstrap: upgrade to 1.13.0 2020-01-03 05:33:13 +01:00
Minecrell
e0021755b0
main/linux-postmarketos-qcom-msm8916: upgrade to 5.5-rc4 (!848)
- Update to Linux 5.5-rc4
- Fix freeze/crash when accessing reserved memory on Samsung devices
  - This happened e.g. when doing large eMMC writes
    because the disk cache filled all available RAM.
- Fix SD card detection on samsung-serranovelte
  - Disable UHS-1 modes since they appear to be broken in hardware

[ci:skip-build]: already built successfully in CI
2020-01-03 03:23:21 +01:00
Alexey Min
e3d1701d5e
main/mauikit: add kquicksyntaxhighlighter dependency (!831) 2019-12-31 11:54:30 +05:30
Minecrell
2c2fbe4236
main/linux-postmarketos-novathor: new aport (!833) 2019-12-30 19:19:40 +01:00
Pops Dylan
7b7c1db0ff
main/postmarketos-base: remove initstepslew from chrony configuration (!838)
Comment out the initstepslew line in /etc/chrony/chrony.conf.
initstepslew can delay booting while chrony sets the time. The
makestep 1 -1 line in the configuration also causes chrony to step
the time (whenever the offset is greater than 1s), making
initstepslew redundant.
2019-12-30 18:34:14 +01:00
Luca Weiss
4cc96c5715
main/abootimg: modernize (!840) 2019-12-30 18:29:22 +01:00
Alexey Min
8529c59859
main/postmarketos-ui-plasma-mobile: add plasma-nm-mobile dep (!829)
Wi-Fi kcm is missing in plasma-settings, so add missing dependency.

This also adds mobile-broadband kcm
2019-12-24 21:44:20 +03:00
Bart Ribbers
598f7c9589
main/postmarketos-ui-plasma-mobile-extras: add ktrip to depends (!813) 2019-12-24 16:43:39 +03:00
Bart Ribbers
2090d3bbc7
main/postmarketos-ui-plasma-mobile: add missing urfkill-openrc dep (!813)
Without it the .post-install script would fail as the init script it's
trying to enable isn't available
2019-12-24 16:43:39 +03:00
Oliver Smith
eeca34eaf4
main/pmbootstrap: depend on openssl (!827)
Fixes: #403
2019-12-24 15:38:12 +03:00
Minecrell
8ac2eaa2cf
main/linux-postmarketos-qcom-msm8916: build for armv7 (!828)
Unfortunately, early firmware versions on MSM8916 (used together with
Android 4.4) are not capable of booting aarch64 kernels. MSM8916 was
Qualcomm's first 64-bit capable CPU, and back when it was introduced
Android did not even support aarch64 yet. So the aarch64 capable
hardware was usually used together with armv7 binaries.

To make things worse, this firmware is also signed (usually per-device),
making it (currently) impossible to update it without help from the manufacturer.
This means that we are currently unable to run mainline on devices
that never received an update to Android 5.0
(e.g. the Samsung Galaxy S4 Mini Value Edition).

One way to circumvent this limitation is to build mainline for armv7.
This works surprisingly well with some additional fixes.
Devices with this firmware limitation are still unable to use aarch64
binaries, but at least we can run mainline on them!
2019-12-24 03:14:54 +03:00
Daniele Debernardi
6798ff9666
main/linux-postmarketos-stable: enable CONFIG_SND_HDA (!794) 2019-12-24 00:03:32 +01:00
Minecrell
403ddcc037
main/linux-postmarketos-qcom-msm8916: upgrade to 5.5-rc3 (!824)
- Rebase on Linux 5.5-rc3
- Add display, touchscreen and GPIO keys for samsung-gt510wifi
- Add vibrator for wileyfox-crackling
- Zinitix touchscreen improvements (used in samsung-a3ulte)
- Upstreamed several patches
2019-12-23 16:40:11 +01:00
Oliver Smith
2accd185de
main/pmbootstrap: upgrade to 1.12.0 2019-12-14 03:40:44 +01:00
Drew DeVault
729d4f9e7b
main/postmarketos-ui-weston: add htop to depends (!806) 2019-12-11 17:29:18 +01:00
Drew DeVault
32de4f4536
main/postmarketos-base: trim down dependencies (!806)
htop and tmux don't belong in this package, and dbus is a transitive
dependency via networkmanager et al, and so it doesn't need to be
specified here.
2019-12-11 17:29:07 +01:00
Bart Ribbers
659508922f
main/postmarketos-ui-plasma-mobile: use the upstream launch script (!784) 2019-12-09 13:10:14 +01:00
Bhushan Shah
891f935705
main/linux-postmarketos-allwinner: switch to conservative governor (!760)
Current default is performance, and that is for sure not a great choice
for battery. We can experiment with ondemand as well, but based on docs,
conservative is recommended.

[ci:skip-build]: build takes too long
2019-12-07 15:08:53 +01:00
Bart Ribbers
777f3e6d61
main/kaidan: remove, upstreamed (!793) 2019-12-07 01:52:36 +01:00
Bart Ribbers
30f039b63b
main/qxmpp: remove, upstreamed (!793) 2019-12-07 01:52:35 +01:00
Pops Dylan
4c67611c90
postmarketos-base: configure getty using deviceinfo_getty variable (!771)
On some devices a getty should run on the serial console.
Configure the getty by setting the deviceinfo_getty variable. The
format is "<port>;<baud rate>". For example, "ttyS0;115200".

A post-installation trigger in postmarketos-base checks
/etc/deviceinfo, and modifies /etc/inittab if the device should run
a getty.
2019-12-07 01:32:23 +01:00
Danct12
970bb0bf0b
main/linux-postmarketos-allwinner: upgrade to 5.4.0 (!778)
[ci:skip-build]: does not finish in time

Signed-off-by: Danct12 <danct12@disroot.org>
2019-12-06 14:45:58 +03:00
Daniele Debernardi
eebc0050cb
main/postmarketos-ui-xfce4: upgrade to 3.0 (!727)
Upgrade the xfce4-phone package to 3.0
2019-12-06 01:33:55 +01:00
Daniele Debernardi
08725a11b0
main/postmarketos-ui-xfce4: add whiskermenu, screensaver and postmarketos icons (!727) 2019-12-06 01:33:55 +01:00
Daniele Debernardi
a3fd6bdfcd
main/postmarketos-ui-xfce4: add terminal and pulseaudio plugin (!727) 2019-12-06 01:33:55 +01:00
Danct12
0cff86852d
main/postmarketos-base: networkmanager permission fix (!777)
This patch fixes nmtui and nm-applet not authorized to control
networking.

Signed-off-by: Danct12 <danct12@disroot.org>
2019-12-05 22:53:30 +01:00
Antoine Fontaine
684dc41f0e
postmarketos-ui-phosh: ask Qt not to show window decorations (!769) 2019-11-28 01:16:29 +03:00
Michael Orishich
77ea310aac
main/postmarketos-ui-weston: fix weston failing to read config (!767) 2019-11-26 18:48:35 +03:00