Commit graph

1174 commits

Author SHA1 Message Date
Oliver Smith
4929c227ed
main/linux-postmarketos-allwinner: dts: add 'pine64,pinephone' to compat list (MR 1838)
Add Dylan's patch from MR 1750, so the feedbackd configuration can use
this for the device specific configuration.

[ci:skip-build]: built locally
2020-12-29 16:16:47 +01:00
clayton craft
aad151f3ee
main/linux-postmarketos-allwinner: enable nftables support (MR 1838)
This allows using nftables on pmOS
2020-12-29 16:15:00 +01:00
Dylan Van Assche
6e33ebe6f3
main/linux-postmarketos-allwinner: set leds-gpio max_brightness to 1 (MR 1838)
LEDs controlled through the leds-gpio driver are not PWM capable.
Setting the max_brightness property to 1 instead of 255.
2020-12-29 16:15:00 +01:00
Alexander Brzoska
e42ff4ebd4
main/linux-postmarketos-allwinner: Add IPv4 support for wireguard-tools (MR 1838)
Wireguard's userspace tool 'wg-quick' requires certain network and
netfilter options in the kernel config to be enabled, since it uses
policy routing and some 'iptables' modules. An overview of the options
and why they are required can be found in pmaports#909.

NOTE: after rebasing this patch on the one that enables anbox related
kconfig options, only CONFIG_IP_MULTIPLE_TABLES=y was left.
2020-12-29 16:15:00 +01:00
edp17
9b9a47ed2c
main/linux-postmarketos-allwinner: enable Anbox networking options (MR 1838)
Co-Authored-By: Antoine Fontaine <antoine.fontaine@epfl.ch>
2020-12-29 16:14:55 +01:00
Bart Ribbers
d22d501091
main/postmarketos-ui-plasma-mobile: add NeoChat to default programs (MR 1837)
NeoChat is available in community, and will be shipped by default on the
PinePhone KDE CE, so let's do the same

[ci:skip-vercheck]: just modifying _pmb_recommends
2020-12-28 16:14:05 +01:00
Ion Agorria
e4a99772e8
main/asus-transformer-blobtools: Add blob signing (MR 1803)
This adds a patch that enables signing blobs via flag.

Certain recent Asus Tegra devices (tf201, tf300, tf700/1)
only accept signed blobs, this was implemented upstream
but seems that some lines got deleted.

This also updates upstream repository to use PMOS one.
2020-12-28 15:04:12 +01:00
Ion Agorria
4351a5bc1c
main/mkinitfs: Pass signing flag to blobpack (MR 1803)
This patch checks if deviceinfo_bootimg_blobpack is "sign"
in that case it passes signing flag for devices that require.

Devices (tf101) that don't use signing will continue working
when passing "true" as now.
2020-12-28 15:04:07 +01:00
El Koulali András
676f86fd43
main/postmarketos-mkinitfs: include support for pxa-mkbootimg (MR 1823)
[ci:skip-build]: already built successfully in CI
2020-12-27 21:39:43 -08:00
El Koulali András
deefe27fc0
main/pxa-mkbootimg: new aport (MR 1823)
[ci:skip-build]: already built successfully in CI
2020-12-27 21:39:43 -08:00
clayton craft
5a06a6bb06
postmarketos-base: replace elogind suspend hook with sleep-inhibitor (MR 1825)
This adds sleep-inhibitor as a dependency when elogind is present, and
installs a conf for it with some plugins enabled that are beneficial to
devices running pmOS. The elogind suspend hook is dropped.

This resolves issues where suspend is aborted in the hook *after*
PrepareForSleep is sent over dbus (which might cause some things to
disable radios/modems, etc for suspend).

The 'period' in the conf is in minutes, a value of 0.1 is 6 seconds,
which seems reasonable for releasing the lock when conditions for
inhibiting no longer apply, without spinning the CPU too frequently.
2020-12-28 00:36:35 +01:00
Newbyte
d135ba5499
main/linux-postmarketos-allwinner: build CONFIG_CRYPTO_ZSTD support as a module (MR 1816)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/894

[ci:skip-build]: already built successfully in CI
2020-12-26 13:08:00 -08:00
Newbyte
d5690fcc36
main/linux-postmarketos-allwinner: add findutils as makedepend (MR 1816)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/910

[ci:skip-build]: already built successfully in CI
2020-12-26 13:07:54 -08:00
Newbyte
f856e967d8
main/linux-postmarketos-allwinner: upgrade to 5.10.0_git20201214 (MR 1816)
[ci:skip-build]: already built successfully in CI
2020-12-26 13:07:46 -08:00
Clayton Craft
fde9171d6a
main/osk-sdl: upgrade to 0.61 (MR 1830) 2020-12-26 11:03:40 -08:00
Oliver Smith
12e548fe4a
main/postmarketos-ui-phosh: autostart mpris-proxy (MR 1804)
Make bluetooth headset controls work. While at it, order sources
alphabetically.
2020-12-20 13:34:10 +01:00
Oliver Smith
411f3160a3
main/postmarketos-ondev: upgrade to 0.3.2 (MR 1780)
The calamares module and branding was made distro-agnostic and moved to
calamares-extensions.git. A new "make install" target inside
postmarketos-ondev.git installs all files, so we need less logic in the
APKBUILD.

Replace lightdm with tinydm. Add xset dependency to disable screen
blanking.
2020-12-19 22:19:40 -08:00
Oliver Smith
0f5fd1f8fc
main/qtvirtualkeyboard-plasma: fix install dir (MR 1780)
Don't use cmake to copy the files to the target path, because it would
install to the wrong directory:
	/usr/lib/qml/QtQuick/VirtualKeyboard/Styles/Plasma/
instead of:
	/usr/lib/qt5/qml/QtQuick/VirtualKeyboard/Styles/Plasma/

I've spent some time trying to figure out why it does that, but could
not find it right away. This is just a legacy component, so not worth
spending much time on this detail.
2020-12-19 22:19:40 -08:00
Sireesh Kodali
a7daff97d1
main/linux-postmarketos-qcom-msm8953: upgrade to 5.10-rc6 (MR 1796)
[ci:skip-build]: already built successfully in CI
2020-12-18 18:15:31 -08:00
Craig Comstock
13e9c9e9b5
main/postmarketos-ui-shelli: update shelli to 0.6 (MR 1814)
Adds support for pinephone
Adds migration away from python and to C for event path discovery and touch dimensions

[ci:skip-build]: already built successfully in CI
2020-12-18 11:07:21 -08:00
Oliver Smith
e07b405b69
main/tinydm: remove, upstreamed to alpine 2020-12-16 20:31:56 +01:00
Oliver Smith
632792f85d
main/autologin: remove, upstreamed to alpine 2020-12-16 20:31:34 +01:00
Timon Baetz
ec1305c64f
main/linux-postmarketos-exynos4: upgrade to 5.9.12 and fix touchscreen (MR 1794)
- use gzip kernel compression
- disable debug and tracing
- disable exynos{3,5}

[ci:skip-build]: already built successfully in CI
2020-12-14 23:49:00 -08:00
Oliver Smith
d1bd6eb84d
main/postmarketos-ui-*: fix tinydm-openrc depend (MR 1811)
Let all packages depending on tinydm depend on tinydm-openrc too. This
is needed to make sure that tinydm-openrc is installed, before the
tinydm service is enabled in the UI's post-install scripts.

This was not an issue because tinydm currently depends on tinydm-openrc.
But that's a hack and will be removed when upstreaming tinydm to alpine.

[ci:skip-build]: already built successfully in CI
2020-12-14 23:40:01 -08:00
Maarten van Gompel
d533a0bd92
main/postmarketos-ui-sxmo: upgrade to 1.2.0 (MR 1789) 2020-12-14 14:26:55 +01:00
Luca Weiss
b97cf37789
main/linux-postmarketos-qcom-msm8974: upgrade to 5.9.13 (MR 1799)
[ci:skip-build]: already built successfully in CI
2020-12-14 09:31:09 +01:00
Martijn Braam
0668874ccf
main/linux-postmarketos-allwinner: upgrade to 5.10.0_git20201202 (MR 1802)
[ci:skip-build]: already built successfully in CI
2020-12-11 09:51:19 +01:00
Oliver Smith
f430dae13b
main/postmarketos-base: add tinydm config (MR 1795)
Set postmarketOS default UID in tinydm config, so tinydm can be
upstreamed to Alpine without hardcoding the pmOS default UID in the
tinydm packaging.
2020-12-07 18:21:28 -08:00
Bart Ribbers
f056e79f9e
main/postmarketos-ui-plasma-bigscreen: add aura-browser to _pmb_recommends (MR 1792) 2020-12-07 19:40:54 +03:00
Oliver Smith
e5004e6356
main/calamares-extensions: new aport (MR 1773)
Build "mobile" module and "default-mobile" branding for now, because
that's what is used by postmarketos-ondev.

Related: https://wiki.postmarketos.org/wiki/On-device_installer
2020-12-07 11:07:51 +01:00
Newbyte
64258e51fe
main/pure-maps: upgrade to 2.1.1 (MR 1779) 2020-12-06 20:54:34 -08:00
clayton craft
7e509ccbc2
main/osk-sdl: upgrade to 0.60 (MR 1781) 2020-12-04 21:01:21 -08:00
Oliver Smith
28c6c6f107
main/postmarketos-ondev: rebuild against new calamares (MR 1785)
missing depend(s): so:libcalamares.so.3.2.32.1, so:libcalamaresui.so.3.2.32.1
2020-12-04 15:25:10 +01:00
Oliver Smith
2f4a2ea087
main/postmarketos-mkinitfs: improve keyboard-font check (MR 1782)
Fix failure in the osk-sdl "keyboard-font" check when there is a second
key starting with "keyboard-font" (as in osk-sdl MR 105):

	==> initramfs: creating /boot/initramfs-postmarketos-allwinner-extra
	ERROR: Font specified in /etc/osk.conf does not exist!
	ERROR: postmarketos-mkinitfs-0.17-r0.trigger: script exited with error 1
2020-12-03 20:02:02 -08:00
Oliver Smith
8b7adeddf3
main/postmarketos-base: remove post-install config overrides (MR 1713)
Do not change config files in post-install scripts anymore (with sed
commands or by other means). Instead, ship the files inside the packages
and use "replaces", so apk allows the package to overwrite files from
other packages:
https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#replaces

Notes on specific files:
* /etc/elogind/logind.conf: original file only consists of commented out
  compile defaults. Copy them over for now. In the future we should be
  able to install our own config into a .d directory, without all the
  comments: 8358fc5950
* /etc/fstab: original file only has /dev/cdrom and /dev/usbdisk
  entries, which are not useful for postmarketOS:
  https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/alpine-baselayout/APKBUILD
* /etc/motd: reformat the text, add link to the chat
* /etc/conf.d/syslog: original file only contained 'SYSLOGD_OPTS="-t"',
  make the override file as if the sed statement from post-install was
  executed
* /etc/wpa_supplicant/wpa_supplicant.conf: post-install script touches
  this file. We probably added it back in 2017 in relation to enabling
  D-Bus (though the PR does not mention it explicity), but at least with
  the current init.d script of NetworkManager, we can simply have '-u' in
  wpa_supplicant_args:
  https://github.com/postmarketOS/pmbootstrap/pull/578
  https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/wpa_supplicant/wpa_supplicant.initd
* /etc/sudoers: base on original /etc/sudoers, but remove all the
  commented out stuff except for the visudo note at the top. We could
  also put a file in /etc/sudoers.d, but since the wheel line is present
  in the original /etc/sudoers and only commented out, it would be kind
  of unexpected to enable it in a file in /etc/sudoers.d. I prefer this
  stripped down version of the file, that is easy to read.
2020-12-03 13:11:03 +01:00
Oliver Smith
c8a79d6fa6
main/postmarketos-base: fix install_if for subpkgs (MR 1713)
Instead of install_if="$pkgname xorg-server" etc, it should be
install_if="$pkgname=$pkgver-r$pkgrel xorg-server".

Reference: https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#install_if
2020-12-03 13:11:03 +01:00
Oliver Smith
0105a1d8ef
main/postmarketos-base: put full path in filenames (MR 1713)
Refactor the install code to be generic, so we only need to add the new
path in one place when adding a new file. Put the full path into the
filename to make this possible.

I've tried to mimic the final directory structure in the aport first
(e.g. $pkgdir/sbin/swapfile -> main/postmarketos-base/sbin/swapfile),
but that leads to conflicts as abuild only takes the filename for
checksums (conflict with etc/conf.d/swapfile):
https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10013

We don't really need checksum verification for the files shipped in the
same directory (not downloaded), but nevertheless this is a bug. It
leads to confusing behavior and might be fixed by letting abuild demand
that there is only one source file with the same name, as I suggested in
the issue linked above. So let's avoid this altogether with the flat
file name.
2020-12-03 13:11:03 +01:00
Oliver Smith
4d6a1a2458
main/postmarketos-mvcfg: new package (MR 1713)
Add scripts to move configs from legacy packaging, as described at:
https://postmarketos.org/mvcfg
2020-12-03 13:10:58 +01:00
Oliver Smith
c108a5a8d1
main/postmarketos-mkinitfs: allow splash override (MR 1776)
Make it possible to set a custom splash screen by placing a
splash.ppm.gz file on the boot partition.
2020-12-03 11:30:25 +03:00
Martijn Braam
cd7295d017
main/linux-postmarketos-allwinner: enable ipv6 wireguard (MR 1778)
wireguard needs the ipv6 multitable option to make a seperate routing
table for the inside and outside vpn part of the network.

[ci:skip-build]: already built successfully in CI
2020-12-02 21:54:15 -08:00
Martijn Braam
fdc0731516
main/powersupply: update to 0.4.0 (MR 1772)
This fixes a crash when a 3A powersupply is used on the latest kernel
2020-12-02 17:31:47 +03:00
Bart Ribbers
5d1e53493e
main/postmarketos-ui-plasma-mobile: swap plasma-camera for megapixels (MR 1770)
Even on the PinePhone KDE community edition Megapixels will be shipped
instead of plasma-camera, so let's do the same

The resulting package doesn't change, _pmb_recommends is only a
pmbootstrap thing, so we don't have to bump pkgrel

[ci:skip-vercheck]
2020-12-02 12:56:28 +01:00
Devin Lin
25beffccdd
main/postmarketos-ui-plasma-mobile: add kclock, kweather and kalk to extras subpackage (MR 1769) 2020-12-02 11:39:48 +01:00
Oliver Smith
6e3ddf62d7
main/mobile-config-firefox: upgrade to 2.0.0 (MR 1758) 2020-11-25 22:32:50 +01:00
Oliver Smith
a77d4ed26a
main/linux-postmarketos-allwinner: upgrade to 5.9.10_git20201123 (MR 1755)
[ci:skip-build]: already built successfully in CI
2020-11-25 14:31:29 +01:00
Alexey Min
f729822823
linux-postmarketos-qcom-msm8974: improve device support (MR 1745)
Battery percentage monitoring support:
 * lg-hammerhead
 * samsung-klte

Mobile internet support:
 * fairphone-fp2

QCOM_SOCINFO for querying information from the SoC

[ci:skip-build]: already built successfully in CI
2020-11-21 13:52:01 -08:00
Luca Weiss
a27209ac29
main/qt5-qtsystems: enable all arches (MR 1747)
[ci:skip-vercheck]
2020-11-21 17:03:51 +01:00
Luca Weiss
e455700135 main/dbus-test-runner: remove 2020-11-21 12:02:52 +01:00
Oliver Smith
3fd5a9a568
main/linux-postmarketos-allwinner: upgrade to 5.9.8_git20201117 (MR 1735)
Update ov5640 autofocus related patch. We had it working with Martijn's
patch in 5.9.1_git20201019-r2 (MR 1654), but then dropped the patch in
favor of the patch that was added to megi's tree in 5.9.3_git20201101
(MR 1678).

It turns out that the patch added to megi's tree was different than the
patch we were carrying, it was a WIP version where loading the autofocus
firmware did not work anymore.

Megi decided to drop the autofocus patch from his tree for now, as the
firmware uploader takes more time in Martijn's proper patch. According
to Martijn it takes about a second, which seems reasonable for the
postmarketOS use case. I've added the previous version again as
out-of-tree patch.

Martijn found that for some reason the continuous autofocus still
doesn't want to start with this kernel and current patch version, as for
some reason the firmware load fails. But he extended the patch to make
autofocus work again with "tap to focus" at least.

0005-dts-pinephone-Disable-flash-led-in-OV5640-node.patch is not needed
anymore, the same change is in megi's tree.

Co-Authored-By: Martijn Braam <martijn@brixit.nl>
[ci:skip-build]: already built successfully in CI
2020-11-20 13:58:34 +01:00
Oliver Smith
8e2c194d64
main/tinydm: upgrade to 1.0.2
Fix X11 sessions.
2020-11-20 13:45:19 +01:00