Commit graph

1518 commits

Author SHA1 Message Date
Rasmus Rendal
06b1e1cffb
main/gpodder-adaptive: add dependency to icons (MR 2069)
As suggested by ollieparanoid, adds adwaita-icon-theme as a dependency
to gpodder-adaptive, for users that don't use phosh.

[ci:skip-build]: already built successfully in CI
2021-03-29 23:48:18 +02:00
Maarten van Gompel
2aca3104bd
main/postmarketos-ui-sxmo: upgrade to 1.4.0 (MR 2067) 2021-03-29 22:18:32 +02:00
Luca Weiss
aca8e29d17
main/linux-postmarketos-qcom-msm8974: upgrade to 5.11.10 (MR 2015)
- Remove bam-dmux raw-ip related patches (already included in source)
- Depend on gmp-dev, mpc1-dev, mpfr-dev to build with GCC_PLUGINS support.
- Reduce package size (INSTALL_MOD_STRIP=1) from 119.6 MB to 21.5 MB
- Kernel config changes:
  - make interconnect module built-in
  - remove unused built-in DSI PHY drivers
2021-03-28 03:52:28 +03:00
JuniorJPDJ
34b1b44046
main/linux-postmarketos-allwinner: add lark-freeme-70-2s device tree and LCD panel (MR 2040)
also enables Domintech DMARD06 accelerometer and X-Powers AXP20X PMU pinctl driver
2021-03-27 17:48:08 +00:00
JuniorJPDJ
ab59db10e7
main/linux-postmarketos-allwinner: enable USB OTG and Gadget options on armv7 (MR 2040) 2021-03-27 17:48:08 +00:00
JuniorJPDJ
90641c110b
main/linux-postmarketos-allwinner: enable USB wireless drivers on armv7 (MR 2040) 2021-03-27 17:48:08 +00:00
JuniorJPDJ
caa3f7193f
main/linux-postmarketos-allwinner: add goclever-gcta741l device tree and LCD panel (MR 2040)
also enables Freescale MMA7660 accelerometer driver
2021-03-27 17:48:08 +00:00
JuniorJPDJ
3ae93e8bd5
main/linux-postmarketos-allwinner: upgrade to orange-pi-5.11-20210325-1125 tag (MR 2040)
No manual config changes.
WoWLAN patch is in magi's tree now
2021-03-27 17:48:08 +00:00
JuniorJPDJ
41330a554d
main/linux-postmarketos-allwinner: add armv7 architecture (MR 2040)
config is based on sunxi_defconfig altered to conform with kconfig check
2021-03-27 17:48:08 +00:00
Yassine Oudjana
f01b077431
main/linux-postmarketos-qcom-msm8996: upgrade to 5.11.10 (MR 2063) 2021-03-27 20:08:12 +04:00
Minecrell
fbdb5f9164
main/linux-postmarketos-qcom-msm8974: add BAM-DMUX patches (MR 2053)
These are required to make it work with the latest ModemManager patches,
especially the patch that switches BAM-DMUX to Raw-IP mode.

[ci:skip-build]: already built successfully in CI
2021-03-22 21:43:26 +01:00
Minecrell
0108b8ba6e
main/linux-postmarketos-qcom-msm8916: upgrade to 5.11.7 (MR 2039)
- Update to Linux 5.11.7
- Upstreamed more patches
- Switch BAM DMUX (mobile data) driver to Raw-IP mode.
  This makes it work with the upstream version of ModemManager,
  reduces overhead a bit and is overall cleaner.
- Add QMI "memshare" driver which is needed for GPS to work on most
  MSM8916 devices.
  - GPS has been tested successfully on:
    - alcatel-idol347
    - lg-m216
    - longcheer-l8150 (wileyfox-crackling)
    - longcheer-l8910 (bq-paella)
    - motorola-harpia
    - motorola-osprey
    - samsung-a2015 (a3(u)lte, a5(u)lte)
    - samsung-serranovelte
    - wingtech-wt88047 (xiaomi-wt88047)
  - Needs more testing/investigation on:
    - asus-z00l
    - asus-z010d
    - wingtech-wt865x8

- Add SMB1360 battery/charger/OTG driver for longcheer-l8190
  and wingtech-wt88047.
- Rework TFA9895 speaker amplifier driver for potential upstreaming,
  make it work for TFA9897, add channel selection and a lot of cleanup.

- Add INSTALL_MOD_STRIP=1 to maybe reduce the size of modules a bit.
- Other things I forgot :)

Device changes:
  - alcatel-alto5-vdf: Initial support for Vodafone Smart prime 6
    - USB
    - Storage (eMMC, SD card)
    - Buttons
    - WiFi, Bluetooth
  - alcatel-idol347: Initial support for Alcatel Idol 3 (4.7")
    - USB
    - Storage (eMMC, SD card)
    - Display, Brightness
    - Touchscreen, Buttons, Vibrator
    - WiFi, Bluetooth
    - Accelerometer, Magnetometer, Gyroscope, Proximity
    - Audio (no headphones yet)
    - Modem (voice call audio needs some more minor changes)
  - asus-z00l
    - SD card
    - IMU (Accelerometer + Gyroscope), Magnetometer
  - lg-m216
    - Battery/charging
  - longcheer-l8150 (wileyfox-crackling)
    - Tweak battery values slightly for 25°C instead of 0°C
  - longcheer-l8910 (bq-paella)
    - Battery/charging
    - USB OTG
  - motorola-harpia
    - Add panel driver for "boe" panel
  - samsung-gt510wifi/matissevewifi:
    - Fix touchscreen
  - wingtech-wt88047 (xiaomi-wt88047)
    - Battery/charging
    - USB OTG

[ci:skip-build]: already built successfully in CI
2021-03-22 21:22:40 +01:00
Martijn Braam
15d740b746
device/pine64-pinebookpro: switch to mainline (MR 2021)
* Add u-boot build with a lot of patches that makes the display work in
  u-boot for boot selection
* Upgrade the rockchip kernel to 5.11 mainline with config for the
  rk3399 devices built-in
* Make the rockpro64 and pinebook pro use the newer kernel

[ci:skip-build]
2021-03-22 00:41:27 +01:00
Oliver Smith
31ed6f21ef
main/postmarketos-mkinitfs: fix space issues (MR 2051)
In order to have hardware acceleration in osk-sdl, we have included mesa
for some devices (like the PinePhone) in initfs-extra. Mesa drags in
libLLVM, which got a size increase of 27 MB in the last version. This
leads to running out of space on the boot partition:

  ==> initramfs: creating /boot/initramfs-postmarketos-allwinner-extra
  gzip: write error: No space left on device
  cpio: write error: Broken pipe

Improve the situation by not directly writing initfs-extra to /boot
(next to the old version), but to a temporary directory first. Replace
the old version with the new version afterwards (like before).

This is a rather minimal fix for this specific issue. The mkinitfs
script needs more fixing (it's one of the oldest pieces of code in
postmarketOS and could use a rewrite...), but that's out of scope for
this patch.
2021-03-21 17:22:44 +01:00
JuniorJPDJ
93174b17dc
main/*: use xwayland instead of xorg-server-xwayland (MR 2041) 2021-03-19 15:31:12 +01:00
Bart Ribbers
3f45a260a3
main/telephony-service: drop, not required anymore 2021-03-19 15:11:04 +01:00
Svyatoslav Ryhel
1714502033
main/linux-postmarketos-grate: update to 5.12_rc2 (MR 2026)
This updates the current commit hash to latest on grate/master.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
2021-03-14 21:16:33 +01:00
Alexander Brzoska
8b70a0c012
main/qtwebbrowser: add missing dependencies (MR 2012)
`qt5-qtquickcontrols` and `qt5-qtgraphicaleffects` are needed, else
qtwebbrowser shows a blackscreen on start.

[ci:skip-build]: already built successfully in CI
2021-03-07 21:14:52 +01:00
Bart Ribbers
4c470a4c69
main/pure-maps: drop, upstreamed to Alpine 2021-03-07 17:42:35 +01:00
Bart Ribbers
886a03f0e0
main/mapbox-gl-native: drop, upstreamed to Alpine 2021-03-07 17:42:19 +01:00
Bart Ribbers
ded44ff3a1
main/mapbox-gl-qml: drop, upstreamed to Alpine 2021-03-07 17:42:04 +01:00
Mark Hargreaves
a690b29510
linux-postmarketos-qcom-sdm660: update to 5.10-rc6 (MR 2003) 2021-03-04 21:54:16 +03:00
Bart Ribbers
af512dbfca
main/postmarketos-ui-plasma-mobile: configure the keyboard to be less huge (MR 2007) 2021-03-04 11:24:15 +01:00
Bart Ribbers
67316c2088
main/postmarketos-ui-plasma-mobile: add hfd-service to dependencies (MR 2006)
This will allow tactile feedback on key presses when using the Maliit
keyboard
2021-03-04 00:04:36 -08:00
Oliver Smith
f23e6117bb
main/mobile-config-firefox: upgrade to 2.0.1 (MR 2004) 2021-03-03 15:21:47 +03:00
Alexey Min
a857a69c87
linux-postmarketos-qcom-msm8916: add support for zram (MR 2005) 2021-03-03 12:32:52 +03:00
Bart Ribbers
acde488d3c
main/mapbox-gl-qml: upgrade to 1.7.6 (MR 2001) 2021-03-01 22:29:22 +01:00
Caleb Connolly
41bd4c2373
linux-postmarketos-qcom-sdm845: fix LOCALVERSION (MR 2000)
[ci:skip-build] Already built on CI
2021-03-01 10:33:02 +03:00
Oliver Smith
bf1e0b82bc
main/postmarketos-android-recovery-installer: upgrade to 1.0.4 (MR 1999)
Fix crash if /etc/skel is missing.
2021-02-28 06:57:22 +03:00
Bart Ribbers
66bd18c49b
main/pure-maps: rebuild against mapbox-gl-qml (MR 1997) 2021-02-27 19:25:14 +01:00
Bart Ribbers
bddcea0851
main/mapbox-gl-qml: switch to CMake (MR 1997) 2021-02-27 19:25:14 +01:00
Bart Ribbers
00fd796a2e
main/mapbox-gl-native: upgrade to 1.6.0 (MR 1997)
Fix previous version not building anymore, as seen on v21.03 branch:
https://builds.sr.ht/~postmarketos/job/433826
2021-02-27 19:25:14 +01:00
Caleb Connolly
93f29f1fd9
linux-postmarketos-qcom-sdm845: upgrade to 5.11 (MR 1990)
Update to the 5.11.0 kernel release.

This also fixes the previous build warnings.

[ci:skip-build] Already built fine on CI.

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
2021-02-27 09:48:53 +03:00
Clayton Craft
8d05efae6b
linux-postmarketos-allwinner: add patch enabling WoWLAN (MR 1955)
[ci:skip-build] Already built successfully in CI
2021-02-26 17:08:57 -08:00
Clayton Craft
a2524184ed
linux-postmarketos-allwinner: upgrade to 5.11.0 (MR 1955)
Upgrades to megi's 5.11 orange-pi-5.11-20210218-0749 tag.

All patches were rebased.
2021-02-26 17:08:53 -08:00
Maarten van Gompel
f25b49af0b
main/postmarketos-ui-sxmo: upgrade to 1.3.2 (MR 1994) 2021-02-26 15:18:20 -08:00
Bart Ribbers
bd4209177e main/qmltermwidget: fix build 2021-02-24 10:39:17 +00:00
Jonathan Bakker
ea4d3837e4
main/mesa-pvr-dri-classic: new aport (MR 1868)
Based on the Alpine mesa APKBUILD, but only the DRI driver
is packaged.  It conflicts with the DRI gallium driver as
they both provide ARM dri drivers.  It depends on the main
Mesa packages.
2021-02-23 22:10:17 +01:00
Johannes Marbach
c334997339
main/gpodder-adaptive: upgrade to 3.10.17_git20210220 (MR 1975)
The work on an adaptive gpodder UI by tpikonen has continued
and is now available in the official gpodder repo as a dedicated
branch. This commit updates the package to the latest current
version of the branch.
2021-02-23 20:54:03 +01:00
Dylan Van Assche
8330d2a552
main/postmarketos-base: add dependency on wireless-regdb (MR 1974)
CRDA in the kernel requires a regulatory database to be available
to configure the WiFi card correctly following the regulations in
each possible environment.
2021-02-23 14:54:49 +01:00
Clayton Craft
4243b95bd0
main/postmarketos-mkinitfs: refactor osk-sdl config/running (MR 1870)
- Simplified logic for setup/running osk-sdl in initfs
- include libGLESv2 when running osk-sdl w/ mesa
- depends on osk-sdl >=0.62
2021-02-22 15:40:44 +03:00
Clayton Craft
33a565156a
main/osk-sdl: upgrade to 0.63 (MR 1870) 2021-02-22 15:40:40 +03:00
Antoine Fontaine
94476a7482
main/anbox-image: upgrade to FDroid 1.11 and remove obsolete patch (MR 1972)
The patch can be removed as a proper fix has been found.
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1798 and
https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/2005.

[ci:skip-build]: already built successfully in CI
2021-02-21 20:57:16 +01:00
Martijn Braam
f099d73fc8
main/postmarketos-base: update motd for the cheatsheet (MR 1961) 2021-02-21 11:47:07 +01:00
Newbyte
af5baee543
main/pure-maps: upgrade to 2.6.0 (MR 1970) 2021-02-21 08:08:45 +03:00
Newbyte
7b05eb6fce
main/postmarketos-ui-weston: switch to tinydm (MR 1968)
Tested and works in QEMU.
2021-02-20 16:56:52 -08:00
Oliver Smith
6e7b75abb5
main/postmarketos-base: add dummy post-upgrade (MR 1964)
Add post-upgrade file with a warning, so we don't symlink it to the
post-install script.
[ci:skip-vercheck]: no need to rebuild the package

Related: build.postmarketos.org#85
2021-02-17 17:49:58 -08:00
Joel Selvaraj
040ce14a22
main/linux-postmarketos-qcom-sdm845: fix CONFIG_LOCALVERSION (MR 1958)
Fixes mkinitfs failure due to mismatch between APKBUILD and .config

[ci:skip-build] Already built on CI
2021-02-16 23:28:48 +03:00
Joel Selvaraj
e7c0fde43f
main/linux-postmarketos-qcom-sdm845: new aport (MR 1954)
Add main/linux-postmarketos-qcom-sdm845 as shared mainline kernel
for all SDM845 devices.

[ci:skip-build]: already took hours on CI
2021-02-16 10:22:20 +01:00
Ion Agorria
21f535583a
main/linux-postmarketos-grate: upgrade to 5.11_rc5 (MR 1883)
This updates the current commit and refactor APKBUILD to
more modern way of writing downstream kernels. Also move to main/ to fit
other linux-postmarketos-* kernels.
2021-02-16 00:14:53 +01:00
Newbyte
98afa750e7
main/pure-maps: upgrade to 2.5.0 (MR 1926)
[ci:skip-build]: already built successfully in CI
2021-02-15 23:58:40 +01:00
Timon Baetz
1d562fc44b
linux-postmarketos-exynos4: add kernel patches to fix charging (MR 1766)
Also update to latest stable kernel and remove patch that got
integrated upstream.

[ci:skip-build] Already built on CI
2021-02-16 00:03:30 +03:00
Maarten van Gompel
7c62928fd5
main/postmarketos-ui-sxmo: add post-upgrade and pre-deinstall hooks (MR 1952) 2021-02-13 23:27:27 +03:00
Oliver Smith
e4820e1ed2
main/postmarketos-ui-phosh: fix pipewire startup (MR 1951)
Override pipewire.desktop with a different X-GNOME-Autostart-Phase, so
Phosh can start it properly.
2021-02-13 08:51:15 +01:00
Martijn Braam
3ce53843f0
device/pine64-pinephone: fix pogopin i2c bus (MR 1950)
The i2c bus for the pogo pins was locked up because the level shifter is
powered by the regulator used for the cameras. This enables that
specific regular for the gpios the i2c bus is on so the pull-ups work
when reading and writing from the pogo pins.

[ci:skip-build] Already built in CI
2021-02-12 13:03:53 -08:00
Bart Ribbers
ff8d7458ef
main/postmarketos-ondev: drop, upstreamed to Alpine 2021-02-12 16:36:59 +01:00
Bart Ribbers
b713582d98
main/calamares-extensions: drop, upstreamed to Alpine 2021-02-12 16:36:43 +01:00
Martijn Braam
6fe006aa52
device-pine64-pinephone: Enable jack detection (MR 1943)
Enable headset jack detection and automatic switching in the UCM
2021-02-11 09:15:10 +01:00
Bart Ribbers
c0d3428ad6
main/postmarketos-ui-plasma-bigscreen: replace plasma-mycroft for mycroft-plasmoid
The dependency got renamed in Alpine Linux
2021-02-10 12:01:27 +01:00
Oliver Smith
d49e0a8628
main/hello-world: bump pkgrel
Quick workaround for bug build.postmarketos.org#79.
2021-02-10 10:59:11 +01:00
Oliver Smith
f28ffc0ec5
main/postmarketos-ondev: upgrade to 0.4.1 (MR 1933)
Fix SD to eMMC dialog showing up after flashing to eMMC.
2021-02-10 00:11:30 +01:00
Oliver Smith
f7a938b1a7
main/calamares-extensions: bump pkgrel (MR 1945)
Fix missing depend(s): so:libcalamares.so.3.2.35.1
2021-02-09 23:15:13 +01:00
Luca Weiss
c57aa7b299
device/*/linux-*: enable CONFIG_TMPFS_POSIX_ACL (MR 1939)
This is required by some software, e.g. bluez/gnome to set some ACLs on
/dev/rfkill (see #904). While probably nobody will notice on the
downstream kernels (as we don't have any proper software there anyways)
it's definitely needed on mainline-ish kernels. Surprisingly only one
kernel has broken by enabling this option (linux-sony-tulip) which I've
patched up.

linux-postmarketos-qcom-sdm660 did not break by enabling this option,
but required linux4.17-gcc10-extern_YYLOC_global_declaration.patch to
build again, so this was fixed too.

[ci:skip-build] [ci:ignore-count]
2021-02-09 21:54:35 +01:00
Miles Alan
ed35f094e7
main/postmarketos-ui-sxmo: don't recommend installing foxtrotgps (MR 1940)
Fixes installs with pmbootstrap using default recommends. Foxtrotgps has been
removed from alpine since it depends on libglade which will soon be deprecated
from alpine.
2021-02-09 09:48:21 +01:00
Maarten van Gompel
6e6bc2e1ea
postmarketos-ui-sxmo: Upgrade to 1.3.0 (MR 1930) 2021-02-08 01:26:05 +01:00
Bart Ribbers
320ebcd2c8
main/postmarketos-ui-phosh: enable on x86 (MR 1934)
The original issue which caused us to block it has long-since been
resolved

[ci:skip-vercheck] Enabling an architecture, no pkgrel bump needed
2021-02-07 19:27:55 +01:00
Clayton Craft
4e2766552c
linux-postmarketos-allwinner: upgrade to 5.10.12 (MR 1916)
Upstream changelog:
https://github.com/megous/linux/releases/tag/orange-pi-5.10-20210130-2109
2021-02-05 12:15:51 +01:00
Johannes Marbach
88e1d0d0d3
main/gpodder: Add gpodder (MR 1822) 2021-02-05 03:10:34 +01:00
Clayton Craft
8c97c2d27f
main/uuu: drop package (MR 1919)
uuu is in Alpine now (nxp-mfgtools-uuu), so this isn't needed.

This should not be merged until this is:
https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/2021
2021-02-03 09:05:50 -08:00
Dylan Van Assche
aa77b10c44
main/postmarketos-ui-phosh: add user to feedbackd (MR 1750)
Use _pmb_groups and post-upgrade mechanisms to add the user to the
feedbackd group.

Depends: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/17489
Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
2021-02-03 00:51:44 +01:00
Bart Ribbers
3b96926f6f
main/postmarketos-ui-plasma-mobile: sync kwinrc with upstream (MR 1918)
It doesn't need changing much, but screen edges actions have been
disabled there so let's do the same
Upstream: https://invent.kde.org/plasma-mobile/plasma-phone-settings/-/blob/master/etc/xdg/kwinrc

[ci:skip-build]: kde packages weren't built by bpo yet, so this won't
finish in time.
2021-02-02 23:10:06 +01:00
Newbyte
d228df99c1
main/pure-maps: take ownership (MR 1917)
Bart Ribbers suggested this, so I imagine he's okay with it
2021-02-02 16:53:11 +01:00
Newbyte
bf4cdd65c1
main/pure-maps: enable tests (MR 1917) 2021-02-02 16:53:11 +01:00
Alexey Min
3ff6fc578b
main/postmarketos-ui-plasma-mobile: add Discover to recommends (MR 1881)
[ci:skip-build] Never succeeds in time, too many packages for CI
[ci:skip-vercheck] We need our Mauikit to have -r1 to be newer
than in Alpine repos, but the CI requires all new packages to
have -r0.
2021-02-02 14:16:15 +01:00
Bart Ribbers
354e454c8f
main/postmarketos-ui-plasma-mobile: sync default apps with KDE CE PinePhone (MR 1915)
We're going to omit Telegram though, we shouldn't recommend a walled
garden with proprietary backend like that. Besides, NeoChat (and thus
Matrix) is already in there
2021-02-01 16:26:22 -08:00
Dylan Van Assche
0a202c17c2
main/postmarketos-ui-kodi: switch to tinydm (MR 1908) 2021-01-29 10:14:33 +03:00
Dylan Van Assche
a6bc3c30eb
main/postmarketos-ui-kodi: align supported arches with Alpine (MR 1908) 2021-01-28 20:47:56 +01:00
Oliver Smith
10fc2090d2
main/postmarketos-ondev: upgrade to 0.4.0 (MR 1820) 2021-01-27 16:12:29 +01:00
Oliver Smith
8497cd0433
main/calamares-extensions: upgrade to 1.1.0 (MR 1820) 2021-01-27 16:12:28 +01:00
Oliver Smith
e4ef9fba72
main/postmarketos-base: retire devmappings service (MR 1820)
Remove devmappings service. The original purpose of this service was to
ensure that /boot is mounted properly after the initramfs passed control
to OpenRC, because the initramfs used to umount /boot before that. With
/etc/fstab alone, /boot get not get mounted with subpartitions (which we
use on Android devices), if util-linux >= 2.33 was installed (MR 115).

Nowadays, we don't umount /boot in the initramfs before passing control
to OpenRC anymore (MR 1398). So this service isn't needed anymore, and
prevented the previous pmOS_inst_boot <> pmOS_boot patch from working
correctly.
2021-01-27 16:12:27 +01:00
Oliver Smith
e8c76175f6
main/postmarketos-mkinitfs: add pmOS_inst_boot (MR 1820)
Find partitions with the label "pmOS_inst_boot" too, and prefer using
them as boot partition over ones with label "pmOS_boot". (I'd use
"pmOS_install_boot", but there is a character limit in the label.)

Without this, the initramfs may choose the wrong boot partition if
postmarketOS is available once as install OS (on device installer) on
the SD card and once on the eMMC (installed).

I just had this problem with QEMU when simulating the install from SD to
eMMC use case with pmbootstrap qemu --second-storage. The pmOS initramfs
scripts would detect the previously created eMMC boot partition as the
proper one and mount it. It would boot into the right root partition,
because that already has a different label (pmOS_install instead of
pmOS_root), but because the wrong boot partition is already mounted,
during the install it would not be possible to run mkfs on it.
2021-01-27 16:12:27 +01:00
Bobby The Builder
515081af20
main/crust: upgrade to 0.3 (MR 1846) 2021-01-27 15:34:02 +01:00
Minecrell
eb776065a5
main/linux-postmarketos-qcom-msm8916: upgrade to 5.11_rc5 (MR 1871)
- Update to Linux 5.11-rc5
- Upstreamed more patches
- Fix more audio regressions without modem introduced
  by some refactoring from Qualcomm upstream

Devices:
  - asus-z00l: Add modem
  - wingtech-wt88047 (Xioami Redmi 2):
    - Add additional sharp-r69431 panel driver
  - wingtech-wt86528 (Lenovo A6010):
    - Add battery status
    - Add additional tianma-hx8394d panel driver
  - wingtech-wt86518: Initial support for Lenovo A6000
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - WiFi, Bluetooth
    - Accelerometer
    - Battery status, charging
    - Audio
    - Modem
2021-01-27 10:09:01 +01:00
Minecrell
deec2ee3b8
main/linux-postmarketos-qcom-msm8916: upgrade to 5.11_rc4 (MR 1871)
- Update to Linux 5.11-rc4
- Upstreamed more patches
- Fix audio regression without modem introduced by some refactoring
  from Qualcomm upstream

Devices:
  - samsung-a2015 (a3/a5): Fix speaker on some devices
  - motorola-osprey: Add modem
2021-01-27 10:09:01 +01:00
Minecrell
2305bc9762
main/linux-postmarketos-qcom-msm8916: upgrade to 5.11_rc3 (MR 1871)
- Update to Linux 5.11-rc3
- Upstreamed more patches

Devices:
  - bq-paella:
     - Rename to longcheer-l8910 for consistency with longcheer-l8150
     - Add second panel driver for truly-otm1288a
  - wileyfox-crackling: Add better battery status and charging
  - xiaomi-wt88047: Add second panel driver for ebbg-otm1285a
  - oppo-a51f:
    - Display/Brightness
    - Touchscreen
    - Accelerometer
    - Audio
  - lg-m216: Initial support for LG K10 (K420n)
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons
    - WiFi, Bluetooth
    - Accelerometer, Magnetometer
    - Audio
    - Modem
  - motorola-osprey: Initial support for Motorola Moto G 2015
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - WiFi, Bluetooth
    - Audio (no headphone detection)
    - Battery status
  - lenovo-a6010: Initial support for Lenovo A6010
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - WiFi, Bluetooth
    - Accelerometer, Gyroscope, Magnetometer
    - Audio
    - Modem
  - asus-z00l: Initial support for Asus Zenfone 2 Laser (720p)
    - USB
    - Storage (eMMC)
    - Display
    - Touchscreen, Buttons
    - WiFi, Bluetooth
    - Audio
  - asus-z010d: Initial support for Asus Zenfone Max (ZC550KL)
    - USB
    - Storage (eMMC, SD card)
    - Display
    - Touchscreen, Buttons, Vibrator
    - Notification LED
    - WiFi, Bluetooth
    - Accelerometer, Magnetometer
    - Audio
    - Modem
2021-01-27 10:09:00 +01:00
Luca Weiss
8bcf432326
main/ofono-phonesim: new aport (MR 1900) 2021-01-27 09:30:27 +01:00
Newbyte
83a4ab75e8
main/pure-maps: upgrade to 2.4.1 (MR 1899) 2021-01-26 16:15:08 +01:00
Henrik Grimler
eed8631c02
main/dtbtool-sprd: fork and upgrade to 1.1.2 (MR 1864)
Fix error if -p arg or dtb dir do not end with /.

Currently, running

$ dtbTool-sprd -p "scripts/dtc" -o "arch/arm/boot/dt.img" "arch/arm/boot/dts/"

or

$ dtbTool-sprd -p "scripts/dtc/" -o "arch/arm/boot/dt.img" "arch/arm/boot/dts"

fails with something like
	DTB combiner:
	  Input directory: 'arch/arm/boot/dts/'
	  Output file: 'dt.img'
	Found file: sprd-scx20_sp7731ceb.dtb ... skip, failed to scan for 'sprd,sc-id =<' tag
	=> Found 0 unique DTB(s)

instead of succeeding with something like
	DTB combiner:
	  Input directory: 'arch/arm/boot/dts/'
	  Output file: 'dt.img'
	Found file: sprd-scx20_sp7731ceb.dtb ... chipset: 8830, platform: 1, rev: 131072
	=> Found 1 unique DTB(s)

	Generating master DTB... completed

The reason for the failure is that the tool tries to run external
commands and concatenates the path from the args, meaning that it
tries to run scripts/dtcdtc instead of scripts/dtc/dtc.
2021-01-15 00:06:39 +01:00
clayton craft
c175be405a
linux-postmarketos-allwinner: disable modem-power driver (MR 1815)
Disabling in favor of controlling modem in userspace (e.g., eg25-manager)

[ci:skip-build]: already built successfully in CI
2021-01-08 15:26:02 -08:00
Martijn Braam
ce8dcc54a2
main/linux-postmarketos-allwinner: Fix mmc numbering for the PineTab (MR 1856)
[ci:skip-build] already built on CI twice and locally
2021-01-08 14:05:29 +03:00
Martijn Braam
3ac6f21c6c
main/postmarketos-base: ship os-release (MR 1522)
Ship the /etc/os-release file from the postmarketos-base package instead
of having it generated by pmbootstrap.
2021-01-07 23:42:49 +01:00
Martijn Braam
61e0dce335
main/linux-postmarketos-allwinner: upgrade to 5.10.4_git20210102 (MR 1854)
[ci:skip-build]: already passed CI
2021-01-07 01:30:52 -08:00
Oliver Smith
98349c48f9
main/calamares-extensions: fix tracedeps, rebuild (MR 1855)
Rebuild against new calamares version. Usually the upstream-compat CI
job should have warned about this, but it didn't. Turns out, that abuild
did not trace the dependencies of calamares-extension-mod-mobile because
the main package had arch="noarch".

Related: https://gitlab.alpinelinux.org/alpine/abuild/-/issues/10022
2021-01-06 02:30:42 +01:00
Oliver Smith
7842ad231b
main/postmarketos-ui-phosh: depend on xdg-desktop-portal-gtk (MR 1844)
Add the dependency to properly support file transfer between sandboxed
applications. Currently they can be used with flatpak (e.g. for quickly
testing out applications, not a recommended way to applications) and long
term we could use this in combination with apparmor for natively packaged
applications.

Notably the KDE version is already getting pulled in by when installing
postmarketos-ui-plasma-*.
2021-01-05 15:51:07 +03:00
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
Oliver Smith
f8364dd858
main/postmarketos-android-recovery-installer: upgrade to 1.0.3 (MR 1740)
Related: https://gitlab.com/postmarketOS/postmarketos-android-recovery-installer/-/tags/1.0.3
2020-11-19 17:15:32 +01:00
Oliver Smith
e974e110b3
devicepkg-dev: patch Makefile.common too (MR 1738)
Remove -Werror from Makefile.common files too, as found in the
xiaomi-latte downstream kernel (MR 1692).
2020-11-19 14:32:31 +03:00
Bart Ribbers
33b79866a4
main/postmarketos-ui-plasma-mobile: enable Bluetooth by default (MR 1727) 2020-11-18 23:09:25 +01:00
Oliver Smith
7fa02ab6c4
main/postmarketos-welcome-gtk3: upgrade to 0.2.2 (MR 1728)
Minor text updates:
https://gitlab.com/postmarketOS/postmarketos-welcome-gtk3/-/tags/0.2.2
2020-11-18 13:47:49 +01:00
Dolphin von Chips
72eb261185
main/postmarketos-ui-plasma-desktop: enable on armv7 (MR 1733) 2020-11-18 09:56:11 +01:00
Bart Ribbers
4fd3d043ab
main/postmarketos-ui-plasma-bigscreen: adapt to plasma-bigscreen upstream changes (MR 1721) 2020-11-17 19:35:36 -08:00
Bart Ribbers
dcd8d2ec4e
main/postmarketos-ui-plasma-bigscreen: use tinydm instead of lightdm (MR 1720) 2020-11-17 19:29:54 -08:00
Bart Ribbers
7573f5fce4
main/postmarketos-mkinitfs: workaround for not being able to find provider of kpartx (MR 1732)
Because of
https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10725,
cmd:kpartx can not be found. That bug obviously needs to be fixed, but
let's workaround it for now by just depending on the package that
provides it.
2020-11-17 21:08:03 +01:00
Oliver Smith
1c9cca883b
main/tinydm: upgrade to 1.0.1 (MR 1729)
Change log path to ~/.cache/tinydm.log.
2020-11-17 11:07:18 +03:00
Oliver Smith
9c7c6b8eb1
main/linux-postmarketos-allwinner: upgrade to 5.9.8_git20201115 (MR 1704)
While at it, include 'Allow leds for pinephone dtb in suspend' patch.
2020-11-16 20:44:36 +01:00
Bart Ribbers
ece48a2c6e
main/postmarketos-ui-plasma-mobile: use tinydm instead of lightdm (MR 1715)
Follow-up of !1659, but now for Plasma Mobile
2020-11-16 18:07:52 +01:00
Bart Ribbers
0b405957e0
pine64-pinephone: enable cifs kernel module (MR 1716)
[ci:skip-build]: already built successfully in CI
2020-11-14 00:37:39 -08:00
Bart Ribbers
ef8b6b1114
main/postmarketos-ui-phosh: remove leftover 60-lightdm-autologin.conf 2020-11-13 23:17:57 +01:00
Bart Ribbers
975597dd7c
main/telepathy-mission-control: drop, newer version is in Alpine 2020-11-13 11:02:24 +01:00
Oliver Smith
b00f718f3f main/postmarketos-ui-phosh: use tinydm instead of lightdm (MR 1659) 2020-11-13 10:47:07 +01:00
Oliver Smith
da4c0a731b main/autologin: new aport (MR 1659) 2020-11-13 10:47:07 +01:00
Oliver Smith
df51b94658 main/tinydm: new aport (MR 1659) 2020-11-13 10:47:07 +01:00
clayton craft
c37012a909
postmarketos-base: add elogind hook to conditionally cancel suspend (MR 1665)
This hook will cancel a suspend if:
        - There's an open ssh connection to the system
        - apk database is locked
2020-11-13 00:33:31 -08:00
clayton craft
8308463dc0
main/osk-sdl: upgrade to 0.59 (MR 1625) 2020-11-12 23:42:39 -08:00
clayton craft
0e30c6f760
postmarketos-mkinitfs: fallback to directfb if osk-sdl fails w/ mesa (1625) (MR 1625) 2020-11-12 23:42:39 -08:00
clayton craft
13fbb3e501
main/postmarketos-mkinitfs: set no_supertile for osk with mesa (MR 1625)
This is needed by the librem 5, else the graphics are
distorted/unusable.
2020-11-12 23:41:29 -08:00
Luca Weiss
a6ec22b9a4
main/postmarketos-mkinitfs: use kmsdrm sdl backend for osk-sdl (MR 1625) 2020-11-12 23:41:28 -08:00
Thiago Foganholi
0bab9b5f8a
Add package main/linux-postmarketos-exynos4 (MR 1634)
The devices supported by this package are Galaxy S3 (GT-I9300, GT-I9305,
SHV-E210K/L/S) and the Galaxy Note 2 (GT-N7100, GT-N7105) - a family of
boards also known by the codename "Midas" - and the Galaxy S2 (GT-I9100)

From this list, only the i9100 doesn't support the bootimg method.
Because of this, this kernel package is using the isorec method for all
the devices on the list. Additionally, for the midas devices, there is
no problem with this because the boot.img file is, in fact, a copy of
the kernel+initramfs on the pmos boot partition and what the isorec
initramfs does is actually to load the initramfs on that partition
directly (at least on my understanding).
2020-11-11 14:35:15 +01:00
Bart Ribbers
8e5c217d4a
linux-postmarketos-allwinner: upgrade to 5.9.3 (MR 1678)
Co-Authored-By: Oliver Smith <ollieparanoid@postmarketos.org>
2020-11-11 10:56:57 +01:00
Bart Ribbers
8dba9d5a62
linux-postmarketos-allwinner: enable ecryptfs support (MR 1694)
There have been support questions about this from users
https://www.reddit.com/r/postmarketOS/comments/jqbqu2/mounting_ecryptfs_encrypted_folder/

[ci:skip-build]: already built successfully in CI
2020-11-10 12:01:39 +01:00
clayton craft
81fc6a0bed
postmarketos-base: enable rfkill service (MR 1693)
This enabled the rfkill service, part of util-linux, that saves/restores
radio device state on shutdown/boot.

fixed #836
2020-11-09 15:09:32 +01:00
Oliver Smith
855564d4fa
main/postmarketos-update-kernel: heimdall-isorec: use dtb (MR 1648)
Use the dtb-appended kernel file, e.g. postmarketos-exynos4-dtb instead
of postmarketos-exynos4, if it is available. This is needed to flash a
mainline kernel with appended dtb to isorec devices.
2020-11-02 14:43:39 +01:00
Newbyte
731bdc44e7
main/pure-maps: upgrade to 2.0.0 (MR 1674)
[ci:skip-build]: already built successfully in CI
2020-11-02 14:30:19 +01:00
Alexander Akulich
fed6cce88d
main/postmarketos-ui-plasma-mobile: Add a font with special characters (MR 1662)
The characters (e.g. 'fullwidth asterisk') are used in plasma-dialer.
2020-10-30 17:55:27 +01:00
Alexander Akulich
408d8f27d1
main/postmarketos-ui-plasma-mobile: Add a font with emoji (MR 1662)
The font is needed for maliit emoji keyboard.

Signed-off-by: Alexey Min <alexey.min@gmail.com>
2020-10-30 17:55:27 +01:00
Bhushan Shah
5efdbd13fa
main/linux-postmarketos-allwinner: fix display framerate on pinephone (MR 1661)
This patches from the megi solves the issue of the MIPI-DSI panels
framerate being at 2/3rd of actual or expected rate.

[ci:skip-build]: already built successfully in CI
2020-10-30 00:30:38 -07:00
Antoine Fontaine
c60dd3e80e
main/postmarketos-ui-{phosh,plasma-mobile}: add iio-sensor-proxy-openrc to deps (MR 1658)
As the post-install use the service, it must be in depends.
Otherwise, the install_if may install it *after* the rc-update
command is run, and fails.
2020-10-28 23:52:37 +03:00
clayton craft
394798dc8a
postmarketos-ui-phosh: add gschema override to show squeekboard (MR 1657)
Squeekboard >= 0.10.0 looks for an a11y setting to determine if it
should show up on the screen. This sets the config setting to 'true' so
that it shows up by default. It can apparently be toggled off in Gnome
Settings, but I haven't found the UI switch to do that yet..
2020-10-28 12:32:37 -07:00
Martijn Braam
628aabf2b6
main/linux-postmarketos-allwinner: add ov5640 autofocus (MR 1656)
[ci:skip-build]: already built successfully in CI
2020-10-28 11:57:21 -07:00
Bhushan Shah
fe766c43d7
main/linux-postmarketos-allwinner: add patch for suspend hang (MR 1651)
See thread at: https://lore.kernel.org/linux-usb/20201027045519.GA947883@aquila.localdomain/

Fixes: #839
2020-10-27 13:58:34 +05:30
Oliver Smith
d9157e1adb
main/postmarketos-welcome-gtk3: upgrade to 0.2.1 (MR 1564) 2020-10-26 09:05:26 +01:00
Ultracoolguy
f2987a58f4
linux-postmarketos-qcom-msm8953: upgrade to latest git master (MR 1646) 2020-10-26 08:50:33 +01:00
Minecrell
36eb719b51
main/keepfileopen: new aport (MR 1640)
Sometimes it's just nice to open a file, do nothing with it
and keep it open forever. Yay.
2020-10-25 18:35:06 +01:00
Bart Ribbers
bded85f5e4
main/postmarketos-ondev: depend on new qtvirtualkeyboard-plasma (MR 1590) 2020-10-25 17:34:58 +01:00
Bart Ribbers
93bc6ff7f3
main/qtvirtualkeyboard-plasma: new aport (MR 1590) 2020-10-25 17:34:45 +01:00
Dolphin von Chips
5a047026f0
main/hello-world-wrapper: update url (MR 1644) 2020-10-24 00:49:09 +03:00
Oliver Smith
757edbd304
main/postmarketos-ui-phosh: add megapixels to _pmb_recommends (MR 1610)
[ci:skip-vercheck]: doesn't need a rebuild
2020-10-20 22:55:04 +02:00
Oliver Smith
dcc0a8c855
main/linux-postmarketos-allwinner: upgrade to 5.9.1_git20201019 (megi's tree) (MR 1614)
Switch from the 5.8.x kernel with allwinner specific patches to megi's
5.9 based tree. He drives the PinePhone related kernel development
forward like no other, his tree and changes are well documented on
xnux.eu, and he frequently publishes tested "build this one" commits with
the latest improvements. It makes a faster and less time consuming
workflow to simply package these versions (after a smoke test) into
postmarketOS edge, and after some time to catch possible regressions
ship the same version in postmarketOS stable.

This kernel should make HDMI work for most people, and improve call
quality (thanks to smaeul's patches, which are integrated into megi's
tree).

Kernel config changes:
* Enable MODEM_POWER in the kernel config, among other improvements this
  allows us to get rid of the 30s delay on power off.
* Enable CONFIG_DRM_PANEL_ILITEK_ILI9881C (new PineTab panel)
* Enable CONFIG_ZRAM
* Enable CONFIG_HID_MULTITOUCH

Related: https://xnux.eu/devices/feature/modem-pp.html#toc-modem-power-driver
Changelog: https://megous.com/git/linux/tag/?h=orange-pi-5.9-20201019-1553
Co-Authored-By: Martijn Braam <martijn@brixit.nl>
Co-Authored-By: Clayton Craft <clayton@craftyguy.net>
2020-10-20 18:02:17 +02:00
clayton craft
b8b6ec3634
postmarketos-ui-phosh: include emoji font (MR 1632)
This adds emoji support to the squeekboard emoji picker, and to any apps
that might want to display emojis (chatty, firefox, text editor, etc)

Thanks @vurpo for the tip.
2020-10-13 09:47:51 +02:00
Oliver Smith
2420f9a0bf
main/postmarketos-ui-phosh: re-enable autologin (MR 1630)
We have tried out lightdm-mobile-greeter for three weeks, but let's remove
it again from the default install.

The greeter behaves completely different from the Phosh (or any other
UI's) lockscreen, therefore it provides a bad user experience. Not only
the design is different, but it also can't display the same information
as the Phosh lockscreen. You can't accept a call coming in while the
greeter is displayed, and whatever other features will be added to the
lockscreen in the future would not be in the greeter (e.g. making a photo
without logging in, emergency calls without login, ...).

It's clear to me now, that postmarketOS in the default installation
should install one UI in single-user mode, and that UI should use its
lockscreen to display all login screens. The case of having multiple UIs
installed at the same time is used rarely, so instead of optimizing for
it, document how to enable a greeter after the installation in the wiki:
https://wiki.postmarketos.org/wiki/Configure_postmarketOS_for_multiple_UIs_or_users

Besides the strong reasons above to ship with no greeter at all, we had
problems with lightdm-mobile-greeter in particular:
* It did not work with Plasma Mobile
* When HDMI was plugged in, the greeter was not usable (especially
  annoying, because Phosh tends to crash after plugging in HDMI, so it
  would go back to the greeter which then means you need to reboot)

This reverts commit be693339ec.
2020-10-11 18:52:28 +02:00
Alexey Min
e8a3b624ef
main/postmarketos-ondev: rebuild against latest libcalamares 2020-10-10 05:00:36 +03:00
Luca Weiss
9db239a9d8
main/postmarketos-ui-sway: update recommends for sway defaults (MR 1622)
alacritty and dmenu are specified in the default sway config, so install
them so the user isn't left with a non-functional desktop.
2020-10-08 09:20:15 +02:00
Alexey Min
6a8ea4bc68
main/postmarketos-ondev: bump pkgrel, rebuild against latest calamares
Fixes upstream-compat check:
  missing depend(s): so:libcalamares.so.3.2.26.1,
                     so:libcalamaresui.so.3.2.26.1
2020-10-07 22:01:18 +03:00
Luca Weiss
0fac39abe1
main/postmarketos-mkinitfs: fix incorrect cpio usage (MR 1619)
cpio expects a newline-separated list of files from stdin by default,
and you can change that to a NULL-terminated list of files by using the
'-0' switch.

Previously we were passing a NULL-terminated list ('-print0') and using
cpio with the default setting. For some reason busybox cpio works with
that but GNU cpio doesn't like that and generates an initramfs without
any files (as it only gets "a single file").

With this change the initramfs generation works fine with both busybox
cpio and gnu cpio.

Fixes #815
2020-10-06 18:52:09 +02:00
Minecrell
cadfc4189f
main/linux-postmarketos-qcom-msm8916: upgrade to 5.9-rc7 (MR 1603)
- Update to Linux 5.9-rc7
- Add "BAM DMUX" driver as network interface to the modem
  for mobile data
- Major rewrite/cleanup of all MSM8916 device trees
- Lots of cleanup everywhere
- I hope I did not forget something :)

Devices:
  - bq-paella: Add vibrator
  - samsung-j5nlte: Add display
  - samsung-a2015 (a3u/a5u): Fix USB-OTG detection
  - "Initial" support for Xiaomi Redmi 2 (wingtech-wt88047)
      - USB
      - Storage (eMMC, SD card)
      - Display, brightness control
      - Touchscreen, buttons
      - IMU (accelerometer+gyroscope)
      - Notification LED
      - Sound
      - WiFi, Bluetooth
      - Modem
  - Initial support for Motorola Moto E 2015 (motorola-surnia)
      - USB
      - Storage (eMMC, SD card)
      - Display, brightness control
      - Touchscreen, buttons
      - WiFi, Bluetooth
      - Battery status
  - Initial support for Samsung Galaxy Grand Prime
      - USB
      - Storage (eMMC, SD card)
  - Initial support for Oppo Mirror 5s (oppo-a51f)
      - USB
      - Storage (eMMC, SD card)
      - WiFi, Bluetooth
2020-10-05 02:16:14 +03:00
Luca Weiss
b7dfa002c1
main/linux-postmarketos-qcom-msm8974: upgrade to 5.9.0_rc4 (MR 1572)
Config changes:
* DRM_PANEL_PANASONIC_VVX10F034N00 for sony-castor
* GPIO_PCA953X for samsung-klte
2020-10-04 15:32:49 +02:00
Ultracoolguy
b0255ecb87
linux-postmarketos-qcom-msm8953: Update to 5.9-rc7 (MR 1615) 2020-10-02 21:44:56 +02:00
HenriDellal
6e0ab5e163
postmarketos-ui-mate: disable lockscreen by default (MR 1608) 2020-09-29 13:30:56 +02:00
Bart Ribbers
06f4c5a9ac
main/postmarketos-hidden-desktop-entries: stop hiding Cheese (MR 1539)
Since
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/12086 the
Cheese application won't be installed anymore unless explicitely
specified. Applications that usually depend on it now depend on
cheese-libs instead.

This means we can stop hiding it and allowing people to install it
themselves if they want too
2020-09-28 13:59:38 +02:00
Oliver Smith
905a5ce34b
main/osk-sdl: upgrade to 0.58 (MR 1600)
Related: https://gitlab.com/postmarketOS/osk-sdl/-/tags/0.58
2020-09-25 12:03:21 +02:00
clayton craft
6ed62696c9
main/postmarketos-hidden-desktop-entries: add org.gnome.eog (MR 1583)
This application doesn't work 100% when launched from the 'desktop', but
it is still useful as a handler for opening image files from a file
browser, so the icon is hidden.
2020-09-24 10:28:49 +02:00
Clayton Craft
0289b633f9
main/postmarketos-ui-phosh: add eog and Nemo to default apps (MR 1583)
eog is a nice image viewer that works pretty well on a
touchscreen/mobile display.

Nemo is a file manager from the Cinnamon desktop project, which forked
from Nautilus some time ago. It is much more usable than Nautilus on a
touchscreen/mobile display.

Set eog as default app in mimeapps.list, so it even works when hiding
the launcher with postmarketos-hidden-desktop-entries (we'll hide it,
because it doesn't work when opened directly; no image is shown and
opening a file does not work either). The list of associated mimetypes
is taken from here:
https://gitlab.gnome.org/GNOME/eog/-/blob/master/data/org.gnome.eog.desktop.in.in
2020-09-24 10:28:44 +02:00
Junak
f08606488f
main/linux-postmarketos-qcom-msm8953: new aport (MR 1558)
linux-postmarketos-qcom-msm8953: Change maintainer

linux-postmarketos-qcom-msm8953: Update config and source

Co-Authored-By: Ultracoolguy <ultracoolguy@tutanota.com>
2020-09-22 14:35:27 -04:00
Bart Ribbers
01019884fb
main/postmarketos-mkinitfs: add new trigger for osk-sdl (MR 1563)
We now trigger on files in /usr/share/postmarketos-mkinitfs-triggers.
This can be used by other packages like osk-sdl for which an updated
version would otherwise never be used in the initramfs
2020-09-19 17:14:20 +03:00
Bart Ribbers
4f6bec666c
main/osk-sdl: add empty file to mkinitfs triggers directory (MR 1563) 2020-09-19 17:14:20 +03:00
Bart Ribbers
d213e06d4e
main/postmarketos-ui-plasma-bigscreen: new aport (MR 1552) 2020-09-19 13:04:06 +02:00
Craig Comstock
b271f11bcd
main/postmarketos-ui-shelli: upgrade to v0.5 (MR 1354) 2020-09-17 20:05:49 -07:00
Craig Comstock
a2c1315395
main/shelli: upgrade to v0.5 (MR 1354) 2020-09-17 20:05:48 -07:00
Craig Comstock
63284f5520
main/gesture: upgrade to v0.5 (MR 1354) 2020-09-17 20:05:38 -07:00
Bart Ribbers
96fd971ead
main/postmarketos-ui-plasma-mobile: re-enable auto-login (MR 1585) 2020-09-17 15:48:59 +02:00
Martijn Braam
2cd8cd1d17
main/postmarketos-ui-plasma-mobile: switch greeter to lightdm-mobile-greeter (MR 1382) 2020-09-16 18:09:57 +02:00
Martijn Braam
be693339ec
main/postmarketos-ui-phosh: switch greeter to lightdm-mobile-greeter (MR 1382) 2020-09-16 18:09:25 +02:00
dzmitry
428aeb4488
main/dtbtool-exynos: upgrade to 1.1.0 (MR 1579) 2020-09-15 13:32:16 +03:00
Oliver Smith
05332c1e0b
main/linux-postmarketos-allwinner: enable camera related kconfig options (MR 1569) 2020-09-14 22:26:10 +02:00
Serge Hallyn
fdd0dfebba
main/linux-postmarketos-allwinner: enable CONFIG_CGROUP_FREEZER (MR 1569)
Enable the freezer cgroup. This allows a user to start a large application like
firefox, freeze it to save some power, and unfreeze it to continue using it,
without having to restart the application completely. Stopping and restarting
the application completely results in more battery usage as well as lost state.

Signed-off-by: Serge Hallyn <serge@hallyn.com>
2020-09-14 22:26:10 +02:00
Clayton Craft
0dc8eb9cce
main/linux-postmarketos-allwinner: enable LED for notifications (MR 1569)
This config change is necessary for feedbackd to trigger LED
notifications.

fixes #776
2020-09-14 22:26:10 +02:00
Bart Ribbers
37f9441e60
main/linux-postmarketos-allwinner: upgrade to 5.8 (MR 1569) 2020-09-14 22:26:10 +02:00
Bart Ribbers
924c80ec89
linux-postmarketos-qcom-msm8974: modernize (MR 1536)
This also removes the dtbtool dep. It generated `/boot/dt.img` but the
device tree is different for each device using this kernel so it wasn't
useful.
2020-09-14 15:59:46 +02:00
Bart Ribbers
408aa2a0ee
linux-postmarketos-qcom-msm8974: enable hid_apple module and fix GCC10 (MR 1536)
Fixes #741
2020-09-14 15:59:39 +02:00
Antoine Fontaine
07aa7c7ffb
main/postmarketos-ui-{gnome,phosh}: drop outdated gsettings override (MR 1566)
fixes https://gitlab.com/postmarketOS/pmaports/-/issues/775.
2020-09-14 11:20:25 +02:00
Miles Alan
0cdb4b56a6
main/postmarketos-ui-sxmo: new aport (MR 1472)
(X11) Simple X Mobile: Mobile environment based on simple & suckless
software (best compatibility on pinephone)
2020-09-14 09:37:24 +02:00
Clayton Craft
e1971ae14f
main/pure-maps: change default map and router providers (MR 1559)
The defaults from upstream require API keys to work, these don't.
2020-09-10 00:36:05 -07:00
Bart Ribbers
3b58b14d44
main/pure-maps: upgrade to 1.29.0 (MR 1559) 2020-09-10 00:35:43 -07:00
Bart Ribbers
05fcf1c61e
main/mapbox-gl-qml: upgrade to 1.7.5 (MR 1559) 2020-09-10 00:35:27 -07:00
Bart Ribbers
290ec69459
main/libsignon-glib: modernize (MR 1538)
[ci:skip-build]: already built successfully in CI
2020-09-08 13:23:45 +02:00
Bart Ribbers
4df6ae2017
main/kmscube: modernize (MR 1538) 2020-09-08 10:09:07 +02:00
Bart Ribbers
3609074ced
main/postmarketos-welcome-gtk3: modernize (MR 1538) 2020-09-08 10:09:07 +02:00
Martijn Braam
1039f705fb
main/linux-postmarketos-allwinner: hotfix for hdmi output (MR 1524)
Sloppy patch that makes the displayport alt-mode output signal work on
the PinePhone convergence edition. Proper fix is in the 5.8 tree

[ci:skip-build]: Martijn made sure that it builds and works. This is
		 time critical, so skip the CI build.
2020-09-01 16:59:48 +02:00
Luca Weiss
ee5ae81e2a
main/msm-fb-refresher: modernize openrc service (MR 1482) 2020-09-01 14:01:08 +02:00
Oliver Smith
5056fcb576
main/mobile-config-firefox: set maintainer 2020-08-31 10:55:20 +02:00
Oliver Smith
838d5609ca
main/mobile-config-firefox: add pkgver to provides (MR 1507)
Fix mobile-config-firefox not replacing postmarketos-config-firefox on
upgrade. Without the pkgver in provides, apk only considers
mobile-config-firefox as virtual package name, not as replacement.

Verified with the CE factory image:

	$ sudo apk upgrade
	...
	(20/29) Purging postmarketos-config-firefox (1-r0)
	(21/29) Installing mobile-config-firefox (1.0.1-r1)
	...
2020-08-28 12:30:41 +02:00
Oliver Smith
71355c6f13
main/postmarketos-ui-plasma-mobile: disable x86 (MR 1508)
postmarketos-ui-plasma-mobile has plasma-camera in _pmb_recommends.
plasma-camera does not build for x86, because mpg123-libs-1.26.3-r0 is
still broken in Alpine edge repos (aports#11807).

Disable postmarketos-ui-plasma-mobile for x86 again, so the CI check
test_aports_ui doesn't fail anymore with:
postmarketos-ui-plasma-mobile/APKBUILD: package 'plasma-camera' from _pmb_recommends not found for arch 'x86'

[ci:skip-vercheck]: only modifying arches
[ci:skip-build]: unfortunately, postmarketos-ui-plasma-mobile fails to
build for x86_64 too due to broken libdv in Alpine (aports#11892).

I'll create MRs to Alpine to fix the broken depends, so we should be
able to enable it again soon.

Related: https://gitlab.alpinelinux.org/alpine/aports/-/issues/11807
Related: https://gitlab.alpinelinux.org/alpine/aports/-/issues/11892
2020-08-28 12:28:06 +02:00
Bart Ribbers
ae3ea00c88 main/postmarketos-ondev: re-enable on armv7 and x86
Originally disabled because of https://gitlab.alpinelinux.org/alpine/aports/-/issues/11807
but the plasma-pa is available again
2020-08-25 21:19:43 +02:00
Bart Ribbers
a7e9ba6f2c main/postmarketos-ui-plasma-mobile: re-enable on armv7 and x86
Originally disabled because of https://gitlab.alpinelinux.org/alpine/aports/-/issues/11807
but the plasma-pa is available again
2020-08-25 21:19:39 +02:00
Bart Ribbers
aced152afc
main/postmarketos-base: depend on dnsmasq (MR 1438)
dnsmasq is required by NetworkManager for WiFi Hotspot to work.
2020-08-23 12:31:22 +02:00
Bart Ribbers
7b58ed7fce
main/postmarketos-base: stop the power key from shutting down devices (MR 1499)
Pressing power button should not power off a device. Although it is
expected on desktops and laptops, it isn't expected on phones and
tablets. Instead it should just turn off the screen or go into a deep
sleep, but that isn't handled by elogind. So let elogind just ignore the
button altogether.

Also re-order the dependencies alphabetically while we're touching the
package anyway
2020-08-22 22:41:41 +02:00
Luca Weiss
37e43bcaac
main/postmarketos-mkinitfs: add mediatek header in mkinitfs (MR 1483)
Previously we added the header in the kernel packages but as we already
add the ramdisk header here and to simplify the process we also add the
addition of the kernel header into mkinitfs.
2020-08-22 10:38:53 +02:00
Oliver Smith
c9987d2e30
main/mobile-config-firefox: upgrade to 1.0.1 (MR 1501) 2020-08-21 13:00:32 +02:00
Oliver Smith
ffec01ac09
main/postmarketos-android-recovery-installer: upgrade to 1.0.2 (MR 1494)
Changes: https://gitlab.com/postmarketOS/postmarketos-android-recovery-installer/-/tags/1.0.2
2020-08-20 23:00:28 +02:00
Oliver Smith
af2f2e23a4
main/postmarketos-ui-plasma-mobile: update _pmb_recommends (MR 1492)
[ci:skip-vercheck]: _pmb_recommends change doesn't need pkgrel bump
2020-08-15 18:42:00 +02:00
Oliver Smith
fef3af0d75
main/postmarketos-ui-phosh: no scaling for firefox (MR 1492)
With the new mobile-config-firefox, the window width is small enough
that the window does not need to be scaled. This looks better overall,
and avoids scaling glitches.
2020-08-15 18:42:00 +02:00
Oliver Smith
4024d9a770
main/postmarketos-ui-phosh: update _pmb_recommends (MR 1492) 2020-08-15 18:42:00 +02:00
Oliver Smith
56b9ddc27e
main/{postmarketos => mobile}-config-firefox: replace (MR 1492)
New version does not just support Firefox 68 (firefox-esr in Alpine 3.12),
which is going to be EOL soon. It also supports the new ESR 78
(firefox-esr in Alpine edge, soon also in 3.12, supported until ~2021-04)
and 79 (current stable "rapid release" version; firefox in Alpine edge).

The source was moved to a dedicated git repo, so other distributions can
also use it. Keep the distro-specific links here in a separate HTML
file, so they can be modified without changing
mobile-config-firefox.git.

Related: https://gitlab.com/postmarketOS/mobile-config-firefox
2020-08-15 18:41:56 +02:00
Bart Ribbers
0420b71043
main/heimdall: drop, upstreamed to Alpine 2020-08-13 12:20:24 +02:00
Oliver Smith
372f1f8add
main/osk-sdl: upgrade to 0.57 (MR 1486)
Also add myself as maintainer, since I've been reviewing quite a few
osk-sdl MRs lately, tagging new versions and upgrading this pmaport.

Related: https://gitlab.com/postmarketOS/osk-sdl/-/tags/0.57
2020-08-11 17:08:40 +02:00
Martijn Braam
87a009a9b8
main/postmarketos-mkinitfs: fix error on missing dtb (MR 1491) 2020-08-11 10:52:14 +02:00
Minecrell
ef433965c5
main/linux-postmarketos-stericsson: upgrade to 5.8 (MR 1475)
- Update to Linux 5.8
- samsung-skomer:
  - Fix accelerometer mount-matrix
  - Fix some potential display issue(s)
  - Enable touchscreen driver in kernel config

[ci:skip-build]: already built successfully in CI
2020-08-03 15:53:38 +02:00
Oliver Smith
09e7d6cbf5
main/postmarketos-ui-plasma-desktop: !x86,!armv7
Missing "plasma" binary package in Alpine edge.

Related: https://builds.sr.ht/~postmarketos/job/271060#task-pmbootstrap_build-48
Related: https://builds.sr.ht/~postmarketos/job/271039#task-pmbootstrap_build-48
2020-08-03 12:16:58 +02:00
Oliver Smith
e3fa88e244
main/postmarketos-ui-sway: disable x86 2020-08-03 12:16:58 +02:00
Oliver Smith
256e2b853d
main/postmarketos-ui-phosh: disable x86 2020-08-03 12:16:58 +02:00
Oliver Smith
06b0ece8af
main/postmarketos-ui-kodi: disable x86 2020-08-03 12:16:58 +02:00
Oliver Smith
97e5a3a7d2
temp/plasma-phone-components: disable for armv7, x86
Missing plasma-pa, plasma-workspace packages in Alpine edge for these
architectures.
2020-08-03 12:16:58 +02:00
Oliver Smith
5fc66d575a
kde/plasma-camera: disable x86
Dependency mpg123-libs-1.26.3-r0 is currently broken in Alpine edge for
x86. Disable the UI package too, as it depends on plasma-camera.

Related: https://gitlab.alpinelinux.org/alpine/aports/-/issues/11807
2020-08-03 12:16:53 +02:00
Oliver Smith
42e335e9cd
main/postmarketos-ui-sway: disable on armhf
The packages built against musl-1.2 did not get uploaded from the
builders. Disable for now.

Related: https://gitlab.alpinelinux.org/alpine/aports/-/issues/11807
2020-08-03 10:16:42 +02:00
Oliver Smith
273797a767
Revert "*/*: disable armv7 for plasma programs"
The circular dependency has been resolved, and the binary packages have
been pushed to Alpine#s repsitory. This reverts commit
35015139f3.
[ci:skip-build] [ci:skip-vercheck]

Related: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/10757
2020-07-30 18:04:25 +02:00
Luca Weiss
fcb300ebc5
main/telephony-service: bump pkgrel (MR 1468)
The package has to be rebuilt due to a soname bump of libQt5Contacts
(.so.0 -> .so.5)

[ci:skip-build]: already built successfully
2020-07-30 11:51:54 +02:00
Luca Weiss
e4d6385500
main/qt5-qtpim: upgrade to 0_git20190618 and fix up (MR 1468)
See the patch descriptions for more details. All patches will be
submitted upstream (patch 0001 has already been submitted more than half
a year ago but hasn't had any activity yet).
2020-07-30 11:51:20 +02:00
Antoine Fontaine
5aa6d12268
main/postmarketos-ui-plasma-desktop: fix dependency name (MR 1466) 2020-07-29 16:46:22 +02:00
Oliver Smith
08ce273d6f
main/qtwebbrowser: disable armv7
qt5-qtwebengine is currently not available in Alpine edge.
[ci:skip-build], [ci:skip-vercheck]

Related: build.postmarketos.org#72
2020-07-29 12:22:17 +02:00
Oliver Smith
35015139f3
*/*: disable armv7 for plasma programs
"plasma" and some related packages are currently missing in Alpine edge
armv7 due to a cyclic dependency. Let's disable all packages depending
on plasma for armv7 temporarily, to get the pmOS edge armv7 repo up
again.
[ci:skip-build], [ci:skip-vercheck]: only arch line changed

Related: build.postmarketos.org#72
2020-07-29 12:19:04 +02:00
Stefan Strogin
8b29dc4049
main/postmarketos-ui-phosh: fix desktop file name in mimeapps.list (MR 1457)
firefox.desktop -> org.mozilla.firefox.desktop.

NOTE by ollieparanoid: do not cherry-pick to v20.05, unless the file got
renamed in Alpine 3.12 as well!

Related: https://git.alpinelinux.org/aports/commit/community/firefox?id=2d291a4afc2c71e25c8fd9fff188eff436b80580
2020-07-28 13:13:27 +02:00
Oliver Smith
f1680651ea
main/postmarketos-ui-phosh: open links in firefox (MR 1455)
Add mimeapps.list, so links clicked in postmarketos-welcome and other
applications properly open in firefox. Without this patch, they just
don't open at all.

Bump the pkgver instead of the pkgrel, so the APKBUILD is in sync again
on both master and v20.05 (right now, the pkgrel on v20.05 is ahead by
one, otherwise the file is the same).

Related: https://help.gnome.org/admin/system-admin-guide/stable/mime-types-application.html.en
2020-07-26 10:19:29 +02:00
Oliver Smith
9bc80e151f
main/postmarketos-ui-phosh: no gnome-software first run dialog (MR 1453)
Disable the first run screen in GNOME software, which invites the user
to browse and install apps. We do not want people to use GNOME software to
do that when they open it for the first time in postmarketOS after
installing, we want them to do updates. So this dialog is misleading for
our users, and will lead to a bad experience for those who follow what
it suggests.

I think there's more wrong with that dialog (in context of postmarketOS),
more detailed reasoning and screenshot in:
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1449#note_385456592
2020-07-25 23:05:30 +02:00
Oliver Smith
f6cdacfe53
main/postmarketos-hidden-desktop-entries: add FF-ESR safe mode (MR 1448)
Firefox ESR Safe Mode has another name for the .desktop file, hide it as
well.
2020-07-24 18:32:05 +02:00
Martijn Braam
81eb346b87
main/postmarketos-ui-plasma-mobile: add firefox config (MR 1445)
While at it, sort _pmb_recommends alphabetically.

[ci:skip-vercheck]: only _pmb_recommends changed
2020-07-24 17:25:10 +02:00
Martijn Braam
6279468f78
main/postmarketos-ui-phosh: add firefox config (MR 1445)
Replace firefox with firefox-esr, remove epiphany. With the current
version of epiphany, the postmarketOS wiki doesn't even load every time,
so that's not something we want to ship.
2020-07-24 17:24:34 +02:00
Oliver Smith
9b2a0a796d
main/postmarketos-config-firefox: new aport (MR 1445)
Add policies.json and prefs.js to configure Firefox (yes, you need both
to be able to control all this):

Mobile improvements:
* Enable zooming with fingers
* Mobile user agent (from tor browser for android)

Privacy improvements:
* Disable search suggestions, so URLs do not get sent to search engines
  as they are getting typed.
* Disable Firefox studies
* Disable Telemetry
* Set DuckDuckGo as default search engine, not Google

Uncluttering (screen space, remove broken features, less distractions):
* Move all buttons to the overflow menu and remove spacers around the
  address bar
* Empty "new tab" page (loads faster, no annoying "top sites" etc.)
* Disable developer tools, so the hamburger menu fits the screen of the
  pinephone. These aren't really useful on phones anyway.
* Disable "Firefox Screenshots": the feature did not work with the mobile
  resolution in Phosh.
* No default bookmarks from Firefox
* Disable First Run Page
* Disable Post Update Page
* Disable "User Messaging" (What's new, Extension/Feature
  Recommendations, Urlbar Interventions)

Add a local html file that serves as lightweight default homepage. It
links to the postmarketOS blog and wiki, explains that this is desktop
firefox with mobile configuration and explains how to change settings
and install addons (with a direct link to ublock origin). Users can
override the homepage, new tab page, search engine, search suggestions
pre-configured by this package directly in the UI.

I chose Firefox ESR, because:
* It fits the screen better: the "new tab" button is bigger, the menu
  opening when you click the top-right button actually fits the screen,
  with all its submenus. There are zoom controls in the same menu, which
  make the preferences pages very usable.
* It's possible to override the default search engine with a policy
  file; that's not possible in non-ESR firefox (we'd probably need to
  change it in the sources).

Related: https://github.com/mozilla/policy-templates
Co-authored-by: Martijn Braam <martijn@brixit.nl>
2020-07-24 17:24:00 +02:00
Oliver Smith
24b7576bbb
main/postmarketos-ui-{phosh,plasma-mobile}: hide desktop icons (MR 1437)
[ci:skip-vercheck]: _pmb_recommends changes don't need a rebuild
2020-07-24 13:58:49 +02:00
Oliver Smith
2cd60bfddf
main/postmarketos-hidden-desktop-entries: new aport (MR 1437)
In phosh, we have broken Cheese (Camera) and Extensions (from GNOME shell)
icons in the launcher. They get dragged in via dependencies, so the
easiest way to disable them is just overruling the .desktop icon. We can
make Cheese visible again in a post-install script (just check if it
points to nodisplay.desktop and delete the link) once we have it working.

Hide icons for terminal programs (htop, nvim, vim) as well as "Firefox
Safe Mode" too. If somebody really wants to use the FF safe mode, they
can do so via terminal.

Have a simple initial version, maybe make it more sophisticated with
UI-specific hidden icons later (right now, it doesn't make sense to
install this in normal GNOME, because there you would need
org.gnome.Extensions). (There is "NotShowIn=phosh" (untested), but using
this would mean that we need to keep all the information of the original
desktop file for the UIs that will display them; we can't just use the
symlink trick. I'm not sure if we want that at all, but it's
definitively over-engineered for now.)
2020-07-24 13:57:55 +02:00
Oliver Smith
8a3f6a5a46
main/postmarketos-ui-phosh: add first run screen (MR 1441)
[ci:skip-vercheck]: only modified _pmb_recommends
2020-07-24 13:41:51 +02:00
Oliver Smith
03abcef25b
main/postmarketos-welcome-gtk3: upgrade to 0.2.0 (MR 1441)
Run automatically on first login, update text, put proper title and icon
in desktop launcher.
2020-07-24 13:41:51 +02:00
Bart Ribbers
aacc7ca8a4
main/postmarketos-ui-phosh: use xdg-user-dirs (MR 1432) 2020-07-22 11:58:04 +02:00
Bart Ribbers
ad734ac4f9
main/postmarketos-ui-plasma-mobile: use xdg-user-dirs (MR 1432) 2020-07-22 11:58:00 +02:00
Oliver Smith
bfa705b745
main/postmarketos-mkinitfs: fix device sed regex (MR 1436)
The p? is not redundant. Without it, the p in mmcblk0p2 for example does
not get cut off, meaning the resulting device is not "mmcblk0" but
"mmcblk0p". My bad, sorry for the breakage.

Fixes: 9f6600ba ("main/postmarketos-mkinitfs: rm pmOS_deleteme")
Fixes: 9d86f6fe ("main/postmarketos-mkinitfs: resize: unallocated space check, even if forced")
2020-07-22 09:18:10 +02:00
Oliver Smith
9f6600ba18
main/postmarketos-mkinitfs: rm pmOS_deleteme (MR 1428)
Remove the "pmOS_deleteme" partition left behind by the on-device
installer, if it exists. Let the existing resize_root_partition() extend
the root partition over the newly gained space (and rest of the storage
device) right afterwards.
2020-07-21 22:53:03 +02:00
Oliver Smith
b55d95f3a9
main/postmarketos-mkinitfs: resize_root_partition: update comment (cosmetic) (MR 1428) 2020-07-21 22:53:02 +02:00
Oliver Smith
9d86f6fe92
main/postmarketos-mkinitfs: resize: unallocated space check, even if forced (MR 1428)
In resize_root_partition(), put the unallocated space check into an
extra function has_unallocated_space(). Run it even if
PMOS_FORCE_PARTITION_RESIZE is used, so we don't attempt to resize the
partition if there is no free space.

While at it, change "sed 's/p?2$//'" to "sed 's/2$//' in an already
modified line, because it means the same thing and is less confusing
(? in regex means: 0 or 1 time).
2020-07-21 22:53:02 +02:00
Ferenc Bakonyi
460c8de69d
main/postmarketos-mkinitfs-hook-console-shell: Add support for rotated framebuffers (MR 1422) 2020-07-21 11:14:47 +02:00
Bart Ribbers
f343c6b011
main/postmarketos-ui-xfce4: use _pmb_recommends (MR 1426) 2020-07-20 19:04:37 +02:00
Bart Ribbers
c759f7168e
main/postmarketos-ui-weston: use _pmb_recommends (MR 1426) 2020-07-20 19:04:37 +02:00
Bart Ribbers
56abe23715
main/postmarketos-ui-sway: use _pmb_recommends (MR 1426) 2020-07-20 19:04:37 +02:00
Bart Ribbers
d9d439a9ff
main/postmarketos-ui-plasma-mobile: use _pmb_recommends (MR 1426)
Also remove trojita as requested by Bhushan Shah
2020-07-20 19:04:37 +02:00
Bart Ribbers
83e97bd4fe
main/postmarketos-ui-plasma-desktop: use _pmb_recommends (MR 1426) 2020-07-20 19:04:37 +02:00
Bart Ribbers
dba56461f2
main/postmarketos-ui-phosh: use _pmb_recommends (MR 1426) 2020-07-20 19:04:37 +02:00
Minecrell
911fd167a7
main/linux-postmarketos-stericsson: upgrade to 5.8-rc3 (MR 1424) 2020-07-20 18:44:38 +02:00
Oliver Smith
63226cf9b5
main/postmarketos-ondev: upgrade to 0.2.1 (MR 1423)
Most importantly, this makes the on-screen keyboard work reliably.

Related: https://gitlab.com/postmarketOS/postmarketos-ondev/-/tags/0.2.1
2020-07-20 16:27:45 +02:00
Martijn Braam
2fb6d11f91
main/postmarketos-mkinitfs: allow multiple dtbs (MR 1163)
Allow setting multiple dtb filenames in the deviceinfo seperated
by spaces
2020-07-16 23:14:54 +02:00
Martijn Braam
5ac381fc46
main/crust: new aport (MR 1163) 2020-07-16 23:14:45 +02:00
Oliver Smith
2722f6cac5
main/postmarketos-ui-{gnome,phosh}: less revealing epiphany user-agent (MR 1402)
Make it less trivial to fingerprint users of the epiphany browser on
postmarketOS, by replacing the postmarketOS specific user-agent with an
user-agent from a current pixel device.

Old:
	Mozilla/5.0 (postmarketOS device, like iPhone; X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15 Epiphany/605.1.15

New:
	Mozilla/5.0 (Linux; Android 10; Pixel) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.96 Mobile Safari/537.36

Taken from the following page. Note that this seems to be one of the few
cases, where not a full android build ID is included. Which makes it a
bit harder to fingerprint. Not as good as the tor browser one, but with
that one we'd have to pretend that a webkit browser is firefox.

https://developers.whatismybrowser.com/useragents/explore/operating_platform/pixel/2

Related: https://blog.torproject.org/browser-fingerprinting-introduction-and-challenges-ahead
Related: https://developer.chrome.com/multidevice/user-agent
Related: https://webaim.org/blog/user-agent-string-history/
2020-07-15 13:35:33 +02:00
Bart Ribbers
e3e4b01add
main/postmarketos-ui-phosh: add gnome-contacts to depends (MR 1415) 2020-07-14 13:35:03 +02:00
Ferenc Bakonyi
39b6a7e19c
main/postmarketos-ui-fbkeyboard: support rotated fbcon, remove unneeded console resize (MR 1410) 2020-07-11 20:40:30 +03:00
PureTryOut
2f1fb6c371
main/postmarketos-ui-plasma-mobile: add dep on kaccounts-providers (MR 1376)
This way people can setup online accounts like NextCloud to sync contacts and such
2020-07-11 20:30:23 +03:00
Oliver Smith
cb3f7f22ea
main/postmarketos-welcome-gtk3: new aport (MR 1381)
Add a simple welcome screen app, that we should eventually display when
starting Phosh for the first time (needs to be done in a different
patch).
2020-07-11 19:45:17 +03:00
Ferenc Bakonyi
49b18224bb
main/fbkeyboard: upgrade to 0.4 (MR 1409) 2020-07-11 17:19:57 +02:00
Oliver Smith
0cfcc52e0d
*/linux-*: enable CONFIG_CRYPTO_XTS (MR 1405)
Enable CONFIG_CRYPTO_XTS for each kernel, so we can switch to using
aes-xts-plain64 as default cipher for cryptsetup (override with
"pmbootstrap --cipher"), instead of aes-cbc-plain64 (pmbootstrap#1940).

I have executed "pmbootstrap kconfig edit" on each kernel, and manually
toggled the option. The diff is not always clean, because for some
kernels it is apparently the first time, that menuconfig was executed on
the configs like that. In a few instances, it turned out that
CONFIG_ANDROID_PARANOID_NETWORK needed to be disabled too (this is
already a requirement, but as the config was incomplete, it was not
visible that this option was enabled). Very few times, I had to enable
CONFIG_EXPERIMENTAL in order to see and enable CONFIG_CRYPTO_XTS.

It would be great if we could automate such mass kconfig edits in the
future, see pmbootstrap#1942.

[skip ci]: I have verified, that every single one of these kernels builds.
           CI will likely run out of time while downloading source tarballs.
2020-07-11 15:26:35 +02:00
Minecrell
2a8897b079
main/linux-postmarketos-qcom-msm8916: enable CONFIG_CRYPTO_XTS (MR 1405)
Seems like "pmbootstrap kconfig edit" causes unrelated kernel config
changes for some reason (probably because pmbootstrap does not install
a cross compiler for it). For now let's just edit the config manually
with the new options so everything else stays as-is.
2020-07-11 15:26:34 +02:00
Danct12
50aa62358b
main/postmarketos-ui-plasma-mobile: combine extras package into a subpackage (MR 1006) 2020-07-09 09:19:42 +03:00
PureTryOut
6b1b89f271
main/mkbootimg-osm0sis: upgrade to 2020.05.18 (MR 1375) 2020-07-08 19:12:56 +03:00
Oliver Smith
784782f543
main/postmarketos-base: keep /etc/fstab (MR 1398)
Only add a comment, do not try to mount the root or boot partitions
anymore. The initramfs is doing this already.

Related: https://postmarketos.org/fstab
2020-07-08 18:02:49 +02:00
Oliver Smith
863ec713ba
main/postmarketos-mkinitfs: mount /sysroot/boot (MR 1398)
Mount the boot partition at /sysroot/boot and keep it mounted, when
running the switch_root command. This way, OpenRC doesn't need to mount
it and possibly use the wrong partition. The OpenRC service does not use
the same logic to find the boot partition, in particular it does not
support the pmos_boot kernel parameter.

While at it, print the mountpoint and read-only/read-write arguments in
the mounting log message for both root and boot.

Fixes: #664
2020-07-08 18:02:49 +02:00
Oliver Smith
58ae4df2ef
main/postmarketos-base: rm write_unless_modified (MR 1398)
Get rid of the "write_unless_modified" code, which was supposed to only
change /etc/fstab, /etc/issue, /etc/motd if the user did not modify it.

This is nice in theory, but we have a bug report where the code did not
do what it should (apk audit possibly failed due to a qemu bug?), and
then it lead to strange bugs related to not having the expected
/etc/fstab installed.

Fixes: #661, #258
2020-07-08 18:02:49 +02:00