Commit graph

1843 commits

Author SHA1 Message Date
Timon Baetz
ee06173ae7
main/linux-postmarketos-exynos4: add front camera support for i9100 (MR 2097)
Add a patch that ads the Samsung S5K5BAF CMOS image sensor and enables
the associated MIPI CSI-2 receiver node.

Also update to the latest stable kernel.

[ci:skip-build] already built successfully in CI
2021-04-17 23:21:57 -07:00
Luca Weiss
70173bde87
main/postmarketos-mkinitfs: disable charging-sdl (MR 2111)
See also #1064
2021-04-17 22:53:10 -07:00
Bart Ribbers
ab3fa2adb1
main/postmarketos-ui-plasma-bigscreen: temporarily disable on armv7
aura-browser is currently unavailable due to a build failure in
qt5-qtwebengine on armv7

[ci:skip-vercheck]
2021-04-17 11:49:07 +02:00
Bart Ribbers
506f1e3c7b
main/qml-module-clipboard: drop, upstreamed to Alpine 2021-04-14 22:02:52 +02:00
Bart Ribbers
b93a69110f
main/qt5-qtsystems: drop, upstreamed to Alpine 2021-04-14 22:02:17 +02:00
Bart Ribbers
c360b0d83c
main/qt5-qtfeedback: drop, upstreamed to Alpine 2021-04-14 22:01:57 +02:00
Bart Ribbers
8c5f9210d4
main/qt5-qtpim: drop, upstreamed to Alpine 2021-04-14 22:00:36 +02:00
Bobby The Builder
9ea2e7e828
main/postmarketos-mkinitfs: show resizefs splash (MR 1996)
[ci:ignore-count] [ci:skip-build]
2021-04-11 20:03:33 +02:00
Bobby The Builder
c78ed34a5f
main/devicepkg-dev: new resizefs splash (MR 1996) 2021-04-11 19:52:33 +02:00
Oliver Smith
a61cae84a5
main/postmarketos-mkinitfs: add sync before exit (MR 1850)
[ci:skip-vercheck]
2021-04-11 19:44:54 +02:00
Bobby The Builder
c4f050ffcd
main/postmarketos-mkinitfs: add f2fs (MR 1850) 2021-04-11 19:43:23 +02:00
Bobby The Builder
9eb97c73df
main/postmarketos-mkinitfs: avoid unneeded resizefs (MR 1850) 2021-04-11 19:43:23 +02:00
Martijn Braam
97be2ddc96
main/postmarketos-tweaks: new aport (MR 2099) 2021-04-09 15:04:44 +02:00
Oliver Smith
643cef5c26 main/gpodder-adaptive: armv7: disable tests (MR 2104)
Temporarily disable tests for armv7, as py3-podcastparser and probably others
are not yet rebuilt against python 3.9 in Alpine edge.

[ci:skip-vercheck]
2021-04-08 22:29:40 +00:00
Oliver Smith
7d5b119b0e treewide: rebuild against python 3.9 (MR 2104)
Rebuild packages that linked against libpython3.8.so or installed files
to /usr/lib/python3.8/.

Related: https://wiki.postmarketos.org/wiki/Upstream_compatibility_with_Alpine
2021-04-08 22:29:40 +00:00
Bart Ribbers
ba97f5a715
main/postmarketos-ui-sxmo: enable Qt tweaks (MR 1932) 2021-04-05 22:21:26 +03:00
Bart Ribbers
0a8cb8277f
main/postmarketos-ui-phosh: make Kirigami/QML apps use mobile controls (MR 1932)
Otherwise these applications will behave as desktop applications which
is obviously not desired
2021-04-05 22:21:18 +03:00
Oliver Smith
08acabdb05
main/postmarketos-hidden-desktop-entries: modernize (MR 2093)
Use replaces="" to overwrite files in /usr/share/applications, instead
of creating files for /etc/skel/.local/share/applications. This way, we
can add new overrides when upgrading the package, not only initially
when creating the user's home dir from /etc/skel.

Remove v20.05 related comment, and "firefox-safe.desktop" override,
which is now "org.mozilla.firefox-safe.desktop".

Add org.gnome.Glade.desktop from glade, which gets pulled in by
libhandy1-dev (e.g. when installing makedepends for phosh). (Users who
really want to start glade on postmarketOS can either do it with the
command line, or uninstall postmarketos-hidden-desktop-entries, or
replace the file in /etc/ with the original .desktop entry. For everyone
else who just installed glade as makedepend, it removes one awkward
desktop launcher.)

I looked into modernizing this package to hide launchers that appeared
for GTK4 (issue 1029). However, this should be fixed in Alpine's gtk
package: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/20116
2021-04-05 15:02:55 +02:00
kekzoz
4e4230093c
main/postmarketos-mkinitfs: add postprocess scripts (MR 2056)
[ci:skip-build]: already built successfully in CI
2021-04-05 09:32:19 +02:00
Luca Weiss
a2856d47de
main/libsignon-glib: remove, upstreamed to alpine 2021-04-05 07:48:11 +02:00
MightyM17
00dbf49d30
main/mesa-pvr-dri-classic: bump _llvmver to 11 (MR 2049)
[ci:skip-build]: already built successfully in CI
2021-04-04 20:17:32 +02:00
Newbyte
5503682b82
main/linux-postmarketos-exynos4: upgrade to 5.11.8 (MR 2046)
[ci:skip-build] Already built fine on CI
2021-04-04 03:46:27 +03:00
Luca Weiss
c6ae69ff2d
main/qmltermwidget: remove, upstreamed to alpine 2021-04-03 15:36:30 +02:00
Maarten van Gompel
314ad6af62
main/postmarketos-ui-sxmo: upgrade to 1.4.1-r1 (MR 2086)
Added some pmb_recommends dependencies that were missing
from default install:
 - megapixels (camera app)
 - feh (image viewer)
2021-04-02 22:43:57 +03:00
Maarten van Gompel
85b07123c7
main/postmarketos-ui-sxmo: upgrade to 1.4.1 (version bump) (MR 2082) 2021-03-31 17:08:47 +02:00
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
Martijn Braam
4cff95a5bb
main/linux-postmarketos-allwinner: upgrade to 5.7.0_git20200705 (MR 1397)
This adds panel stability patches and enables more resolutions on
the hdmi port of the A64.
2020-07-08 17:26:42 +02:00
Martijn Braam
baa69a57f7
main/postmarketos-ui-phosh: add scaling overrides (MR 1396) 2020-07-06 15:45:22 +02:00
Martijn Braam
0b00e23280
main/linux-postmarketos-allwinner: upgrade to 5.7.0_git20200704 (MR 1393)
This enables mult-sensor support in sun6i-csi, support for the
gc2145 front camera, the new panel driver from mainline linux
and a small fix for the anx7688 that prevents it spamming the
kernel log when no cable is plugged in on 1.2a hardware.
2020-07-05 19:45:53 +02:00
Martijn Braam
d4c55e8712
main/linux-postmarketos-allwinner: upgrade to 5.7.0_git20200629 (MR 1377)
[ci:skip-build]: already built successfully in CI
2020-07-02 13:51:09 +02:00
Oliver Smith
2a83ff4ac0
main/osk-sdl: upgrade to 0.56 (MR 1379) 2020-07-01 00:31:10 +02:00
Oliver Smith
c606d92296
main/postmarketos-ondev: upgrade to 0.2.0 (MR 1378) 2020-07-01 00:23:52 +02:00
Wazup
fea884dd87
main/linux-postmarketos-allwiner: enable IP_SET module (MR 1372) 2020-06-27 19:23:40 +03:00
Alexey Min
8217bbc3c2
main/linux-postmarketos-allwinner: add patch descriptions (MR 1372)
Fixes linter warnings
2020-06-27 19:22:24 +03:00
Oliver Smith
cab8f10d2f
*/*: bump pkgrels for failed builds
gitlab.com had a service disruption, so it was not possible to "git
clone" from gitlab.com from some regions, like where the sourcehut
infrastructure is located. Since we are building our packages on
builds.sr.ht, this caused all packages that should be built at that time
to fail. It is working again, so bump the pkgrels to restart the builds.
2020-06-27 09:13:19 +02:00
Bart Ribbers
d43c2780ac
main/{mauikit,vvave,pix,nota,index,buho}: drop, upstreamed to Alpine (MR 1311) 2020-06-26 11:31:37 +00:00
Bart Ribbers
356e7ecb77
*/*: switch CMake buildtype to None (MR 1311)
This switch has happened in the Alpine repos quite a while ago and most
of the pmOS packages were using it already too, so let's switch over the
last ones as well.

This also cleans up the APKBUILDs where necessary
2020-06-26 11:31:37 +00:00
Antoine Fontaine
d9be626aa7 main/postmarketos-ui-plasma-mobile: force wayland backend for gtk programs 2020-06-25 15:45:50 +02:00
Bart Ribbers
a949531876
main/postmarketos-ui-plasma-mobile: replace pix dependency for koko (MR 1327) 2020-06-25 16:27:34 +03:00
Danct12
ea0fd7cb7f
main/linux-postmarketos-allwinner: upgrade to 0_git20200528 (MR 1267)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-06-25 15:20:38 +02:00
Alexey Min
df57eaf100
main/postmarketos-ondev: rebuild against new libcalamares 2020-06-25 16:04:51 +03:00
Bhushan Shah
3c18b8e09e
main/postmarketos-ui-plasma-mobile: depend on iio-sensor-proxy (MR 1370)
This is needed for rotation to work.
2020-06-25 09:20:41 +02:00
Antoine Fontaine
e2d1438815
main/postmarketos-ui-phosh: enable bluetooth support (MR 1352)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/529.
2020-06-23 11:19:00 +02:00
Bart Ribbers
ae8707a439
main/postmarketos-ui-phosh: install gnome-software by default (MR 1345) 2020-06-22 15:27:55 +03:00
Minecrell
51e97f026b
main/linux-postmarketos-stericsson: upgrade to 5.8-rc2 (MR 1360)
- Update to Linux 5.8-rc2
- samsung-golden: Add magnetometer/proximity sensor, touchkeys
2020-06-22 11:51:02 +02:00
Minecrell
caa2018bce
main/linux-postmarketos-stericsson: rename from -novathor (MR 1360)
In the Linux kernel, the ST-Ericsson NovaThor U8500 SoC is barely
ever mentioned under the "NovaThor" name, more common are names like
U8500, Ux500, ST-Ericsson, STE, ...

Let's rename the kernel package to linux-postmarketos-stericsson
to make that more clear. Also cleanup the APKBUILD a bit while we're
at it, HOSTCC is unneeded, remove unnecessary depends, ...
2020-06-22 11:50:44 +02:00
Bradley
1cf42e6db8
linux-postmarketos-allwinner: enable f2fs module and fs compression (MR 1353)
[ci:skip-build] builds locally
2020-06-21 23:46:42 +03:00
Danct12
df5eec9de6
main/linux-postmarketos-allwinner: only RTL8723CS_NEW (MR 1322)
We cannot have two of them at the same time, most compiler would fail here
but for some reason our didn't.

However, it's better to just use one (the new one, or the old one). Enable
CONFIG_RTL8723CS_NEW, which is the new driver that made it to pine64
kernel since 5.5.

Signed-off-by: Danct12 <danct12@disroot.org>

[ci:skip-build]: already built successfully in CI
2020-06-21 11:18:22 +02:00
Danct12
f7ed67b1b7
main/postmarketos-ui-phosh: disable auto-brightness by default (MR 1348)
We should disable it by default and let the user to enable it
when they want it.

And currently it's causing problems where the backlight would
go very dark with it enabled on PinePhone.

Signed-off-by: Danct12 <danct12@disroot.org>
2020-06-20 18:00:47 +02:00
Luca Weiss
eb30e7b8a8
main/postmarketos-ondev: upgrade to 0.1.5 (MR 1342)
This release gets rid of the hacks needed for out-of-tree modules in the
previous version of calamares.

[ci:skip-build]: already built successfully in CI
2020-06-20 10:42:42 +02:00
Wazup
1e9d04e60c
enable xt_owner and xt_time kernel modules (MR 1343) 2020-06-19 09:14:27 +02:00
Oliver Smith
4aa63d74de
main/postmarketos-ondev: disable armhf
[ci:skip-vercheck]
2020-06-18 22:26:40 +02:00
Oliver Smith
bb5c0cdc7f
main/postmarketos-ondev: new aport (MR 1296) 2020-06-18 21:50:32 +02:00
Oliver Smith
9be8b59a00
main/postmarketos-mkinitfs: support pmOS_install (MR 1296)
Prefer booting from a pmOS_install partition if it exists, but do not
resize it.

Related: https://wiki.postmarketos.org/wiki/On-device_installer
2020-06-17 21:41:06 +02:00
Miles Alan
b89fc77d7c
main/linux-postmarketos-allwiner: add CONFIG_SND_ALOOP=m to allow loopback dev (MR 1309)
This makes recording system audio very simple and feasible in a cross-device
manner since application-logic can always rely / forward ALSA audio to the
loopback device instead of a device-specific audio interface.
2020-06-17 12:51:06 +02:00
Antoine Fontaine
99a29577ef
main/postmarketos-ui-xfce4: remove GTK2 mention in pkgdesc (MR 1279) 2020-06-16 17:49:00 +02:00
Antoine Fontaine
0ad00120a1
main/postmarketos-ui-plasma-mobile: mention that plamo can't run without fb support in the pkgdesc (MR 1279) 2020-06-16 17:49:00 +02:00
Antoine Fontaine
9ca39cbf24
main/postmarketos-ui-gnome: remove armhf mention (MR 1279)
since https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/1937,
people won't see the ui if their device arch is incompatible.
2020-06-16 17:49:00 +02:00
Oliver Smith
1807426f67
main/osk-sdl: upgrade to 0.55 (MR 1316)
Improved keyboard with bigger buttons and layout change from 4 rows
(+ space row) to 3 rows for easier typing.
2020-06-16 16:49:46 +03:00
Antoine Fontaine
41c2e1a307
main/postmarketos-mkinitfs: add mkinitfs to replaces (MR 1300)
fixes pmbootstrap#1851.
2020-06-15 02:32:25 +03:00
Oliver Smith
5aababedf1
main/postmarketos-android-recovery-installer: upgrade to 1.0.1 (MR 1297)
Has various bugfixes. Set myself as maintainer, as Attila isn't very
active.

Related: https://gitlab.com/postmarketOS/postmarketos-android-recovery-installer/-/tags/1.0.1
Related: https://wiki.postmarketos.org/wiki/File:Postmarketos-android-recovery-installer.jpeg
2020-06-10 16:50:19 +02:00
Minecrell
140a04816f
main/linux-postmarketos-qcom-msm8916: upgrade to 5.7.1 (MR 1295)
We are in the midst of the Linux 5.8 merge window so there is no new
-rc version to rebase on. -rc1 next week is also not the perfect choice
for a release (first rc is usually still a bit unstable).

On the other hand the changes that landed the last few days are quite
nice and ready to go, so I decided to rebase on a stable kernel release
(5.7.1). Not sure if I'm ever going to do this again :)

Changes:
- Update to Linux 5.7.1
- bq-paella: Add sound and modem
- Enable some new kernel options for DB410c
2020-06-09 23:18:36 +03:00
Dr. Git
80c94d6b8e
linux-postmarketos-qcom-msm8996: change repository location and upgrade to 5.7 (MR 1292) 2020-06-09 14:05:58 +03:00
Danct12
fa6c5413fd
main/kmscube: upgrade to 0_git20200401 (MR 1287)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-06-06 21:34:04 +07:00
Minecrell
768ae7c1ee
main/linux-postmarketos-qcom-msm8916: upgrade to 5.7 (MR 1284)
- Update to Linux 5.7
- motorola-harpia: Add battery reporting
- bq-paella: Add accelerometer/magnetometer/gyroscope
- bq-paella: Expose touch key backlight as LED
2020-06-06 09:40:59 +03:00
Ferenc Bakonyi
48fa646f08
main/postmarketos-mkinitfs-hook-console-shell: new aport (MR 1094)
Provides early debug shell via initramfs. Might be useful on devices
without USB networking, works well on PinePhone.
2020-06-05 12:57:22 +02:00
Pellegrino Prevete
fc98518f40
linux-postmarketos-qcom-msm8974: enable CONFIG_USER_NS (MR 1282)
This fixes GNOME Web on the hammerhead and other devices using this
kernel
2020-06-03 14:57:25 +02:00
Antoine Fontaine
67493f8003
main/postmarketos-ui-weston: actually start dbus (!1280)
dbus-launch doesn't get installed automatically. On the other hand,
dbus-run-session does. This version ensures that dbus is also launched
for the graphical demos
2020-06-03 14:17:35 +02:00
Ferenc Bakonyi
f1ad4128d5
main/postmarketos-ui-fbkeyboard: new aport (MR 1013)
- Make service restart-safe by resetting console size via stop_post()
- Check if /dev/uinput exists, and if it does not, do "modprobe -q uinput"
2020-06-02 13:58:42 +02:00
Raatty
d2bb9c2b1d
main/postmarketos-ui-{i3wm,kodi,mate,plasma-mobile,sway,weston,xfce4}: fix conflicting autologin file (MR 1238) 2020-05-25 10:35:43 +02:00
HenriDellal
7dcfb89c5f
main/postmarketos-demos: upgrade to 1.1.0 (MR 1266)
Related to https://gitlab.com/postmarketOS/postmarketos-demos/-/merge_requests/1
Version 1.1.0 adds support for small screens and scrollable layout.
2020-05-25 10:31:33 +02:00
Luca Weiss
7fc1292b9b
main/devicepkg-dev: generate /etc/machine-info (MR 1246) 2020-05-24 06:35:02 +02:00
Federico Amedeo Izzo
b6ea0ba1de
{nokia-n900,samsung-i9070}: move swclock initial timestamp back to postmaketos-base.post-install (MR 1166) 2020-05-23 17:57:40 +02:00
Federico Amedeo Izzo
859772a915
*/*: add missing exit 0 in post-install scripts (MR 1166) 2020-05-23 17:57:36 +02:00
Federico Amedeo Izzo
0e502a5139
postmarketos-base: disable swclock for all devices, enable it for nokia-n900 and samsung-i9070 (MR 1166) 2020-05-23 17:57:27 +02:00
Luca Weiss
e350b00b9b
treewide: chmod -x files (MR 1237)
We don't want executable APKBUILDs, deviceinfo files, etc in pmaports.
Remove the executable bit from those files.

[ci:skip-build]
[ci:skip-vercheck]
2020-05-23 17:29:18 +02:00
Luca Weiss
768f534c8b
main/pil-squasher: new aport (MR 1259) 2020-05-23 17:26:36 +02:00
Raatty
5b9b164945
main/lightdm-mobile-greeter: remove aport, upstreamed to Alpine (MR 1189) 2020-05-20 12:02:37 +03:00
Antoine Fontaine
6041d4eed0
Support Anbox explicitly in some kernels: (MR 1232)
* linux-postmarketos-allwinner
* linux-postmarketos-qcom-msm8916
* linux-asus-me176c

They support anbox already.

It will make CI catch errors such as the removal of anbox support in
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1205 when
https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/1916 will
be merged.

[ci:skip-vercheck] and [ci:skip-build]: no need to rebuild the package.
2020-05-19 22:23:39 +03:00
Martijn Braam
05969fc3bc
main/postmarketos-ui-phosh: enable iio-sensor-proxy (MR 1229) 2020-05-17 15:09:54 +02:00
Bart Ribbers
853cfaf381
main/pure-maps: new aport (MR 593) 2020-05-17 10:50:33 +02:00
Bart Ribbers
8398fa0c86
main/qml-module-clipboard: new aport (MR 593) 2020-05-17 10:50:31 +02:00
Bart Ribbers
27ebefefb9
main/mapbox-gl-qml: new aport (MR 593) 2020-05-17 10:50:27 +02:00
Bart Ribbers
a6d909c873
main/mapbox-gl-native: new aport (MR 593) 2020-05-17 10:50:22 +02:00
Minecrell
e950f1215c
main/linux-postmarketos-qcom-msm8916: upgrade to 5.7_rc5 (MR 1228)
- Update to Linux 5.7-rc5
- Add voice call audio
- samsung-a3u/a5u: add speaker
- wileyfox-crackling: add notification LED
- bq-paella: add display, touchscreen, buttons
- Initial support for Samsung Galaxy J5 (2015) (SM-J500FN)
- Initial support for Samsung Galaxy J3 (2016) (SM-J320P)
2020-05-13 15:52:55 +02:00
Antoine Fontaine
d4a99bc43a
main/anbox-image: workaround to make networking work (MR 1230)
Fixes #480.
2020-05-13 15:59:14 +03:00
ben clark
cca40c66bf
main/linux-postmarketos-qcom-msm8974: enable CONFIG_SECCOMP (!1218)
fixes an "Invalid argument" when running a flatpak
2020-05-11 21:50:57 +02:00
Antoine Fontaine
b6d8b5893f
main/linux-postmarketos-allwinner: add anbox support again (!1222)
fix regression caused by
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1205
and closes
https://gitlab.com/postmarketOS/pmaports/-/issues/583.
2020-05-11 20:27:00 +02:00
Martijn Braam
dca8043c33
main/linux-postmarketos-allwinner: cleanup modules (MR 1205)
Disable modules for hardware that's impossible to connect to the
allwinner devices or older than the 90's this shrinks the size from 380
to 250MB.

Then it enables module compression so it shrinks from 250MB to 57MB.

Then the module stripping was enabled, shrinking it to 20MB

[ci:skip-build]: already built successfully in CI
2020-05-08 22:18:22 +02:00
Luca Weiss
b07717d564
main/linux-postmarketos-qcom-msm8974: updates for various devices (MR 1140)
* Support for sharp ls052t3sx02 video mode panel and max1187x
  touchscreen used in Sony Xperia Z2 (sirius)
* Support for display in OnePlus One (bacon)
* Support for touchscreen, touchkeys and notification led in Samsung
  Galaxy S5 (klte)
2020-05-03 12:05:22 +02:00
Minecrell
a85db1dc7b
*: remove "Contributor:" lines from APKBUILDs (MR 1203)
At the moment we have Contributor: lines on some packages (but not all of them),
but often they don't represent the actual contributors to the package very well.
E.g. when we added them retroactively to the device packages we only added
the initial contributor (which isn't necessarily the person
who made most of the work for a device...)

The Git history is the most representative source for figuring out
who contributed to a package, so there is no reason to duplicate that
into the APKBUILD.

[skip ci]: way too many packages
2020-05-02 21:45:25 +03:00
Minecrell
c3dcc196ea
*: remove quotes around pkgname (MR 1186)
TP:[AL3]:APKBUILD:5:pkgname must not be quoted

[skip ci]: won't finish within 3 hours
2020-04-25 12:06:47 +02:00
Antoine Fontaine
c1628ecdce
cross/arch-bin-masquerade, main/anbox-image, linux-*: use pmb:cross-native (MR 1169)
https://gitlab.com/postmarketOS/pmbootstrap/-/issues/1910

[skip ci]: CI fails because it can't download every release tarball to
           check checksums in 3h.
2020-04-25 10:50:38 +02:00
Antoine Fontaine
5adbde19ba
main/postmarketos-ui-kodi: disable armhf build (MR 1178)
fixes https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1176

[ci:skip-vercheck] does not require rebuild
2020-04-23 15:57:39 +03:00
Antoine Fontaine
dc9160c2af
main/postmarketos-ui-kodi: fix startup and missing deps (MR 1176)
fixes the desktop file:
* add -- to make cage ignore kodi's arguments
* add --standalone to kodi's arguments

update the dependencies:
* add upower as kodi tries to communicate with it to read battery status
* add pulseaudio as kodi complains it is missing
* add elogind as it is required for cage to run
* remove xorg-server

Fixes #469
2020-04-23 11:31:24 +03:00
Minecrell
bfe15c5c85
main/linux-postmarketos-qcom-msm8916: upgrade to 5.7-rc2 (!1167)
- Update to Linux 5.7-rc2
- Initial support for BQ Aquaris X5 (bq-paella/picmt)
- Add speaker for samsung-gt510wifi/matissevewifi
- Add flash LED for wileyfox-crackling
2020-04-22 20:12:31 +02:00
Martijn Braam
e5ae9d8e2d
main/linux-postmarketos-allwinner: update to 5.6.0_git20200410 (!1143) 2020-04-22 12:06:35 +02:00
Martijn Braam
a134f3fc22
device/pine64-{pinebookpro,rockpro64}: new device (MR 882)
[ci:skip-build]
2020-04-20 14:39:00 +03:00
Raatty
57ca8a9987
main/lightdm-mobile-greeter: upgrade to version 2 (MR 1161) 2020-04-20 05:07:27 +03:00
Antoine Fontaine
9f6c41c832
main/postmarketos-ui-xfce4: set XDG_RUNTIME_DIR (MR 1151)
working towards #458. See [1] for an explaination

 [1]: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/1131#note_318923711
2020-04-14 01:33:08 +02:00
Niklas Cathor
6e75bf0e40
main/postmarketos-mkinitfs: fix mkbootimg call for devices w/o dtb (MR 1148)
Don't pass empty arguments to mkbootimg, when _second or _dt are not set.
2020-04-12 19:51:22 +02:00
Oliver Smith
23c58a681f
main/postmarketos-mkinitfs: modules from files (!1123)
Read kernel module names from files in
/etc/postmarketos-mkinitfs/modules and print out which modules are
required by which of these files as the initramfs gets generated. Put
the default modules into a new 00-default.modules. This allows mkinitfs
hooks to add modules to the initramfs.

Parse the modules from a file similar to modules-load.d, with commented
lines and empty lines ignored. Add a simple test script for that and run
it in check().
2020-04-12 00:56:22 +02:00
Oliver Smith
3e7604601a
main/postmarketos-mkinitfs: split mkinitfs funcs (!1123)
Split mkinitfs.sh into two files, so the functions (now in
mkinitfs_functions.sh) can be sourced in a test. Such a test will be
added in the next commit.

Move $BINARIES_EXTRA into the get_binaries_extra() function, so its
$(find...) does not get executed when sourcing the functions file. Move
$BINARIES into get_binaries() too for consistency.
2020-04-12 00:56:22 +02:00
Oliver Smith
74f42ebeb0
main/postmarketos-mkinitfs: pass shellcheck (!1123)
Make it pass shellcheck by fixing obvious mistakes like '==' instead of
'='. Add "shellcheck disable" lines for things that are intentionally done
or would be a bit more complicated to rewrite. It would be nice to
refactor some things like '${outfile/initramfs-/uImage-}', but this should
be done in a separate change (patches welcome).

Remove unused variable "modules_path". While at it, add two new fatal
error messages instead of just "exit 1" without any comment and remove
redundant mkdir in APKBUILD.
2020-04-12 00:56:17 +02:00
Danct12
7f64e287e7
main/linux-postmarketos-allwinner: use rtl8723cs driver from kernel tree (!1002)
We'll use the new RTL8723CS driver in the kernel tree instead
of using the one that we have to fetch from GitHub.

Signed-off-by: Danct12 <danct12@disroot.org>
Signed-off-by: Asriel Dreemurr <asriel.danctnix@gmail.com>

[ci:skip-build]: already built successfully in CI
2020-04-11 01:48:52 +02:00
Antoine Fontaine
dafe96e37e
main/postmarketos-ui-weston: launch dbus with weston (!1118) 2020-04-11 01:44:18 +02:00
Antoine Fontaine
4046873480
main/postmarketos-ui-i3wm: set XDG_RUNTIME_DIR (!1131)
working towards https://gitlab.com/postmarketOS/pmaports/-/issues/458.
2020-04-09 11:05:26 +02:00
Daniele Debernardi
bd15afc217
main/postmarketos-mkinitfs: execute lddtree without privileges (!1133)
The lddtree script uses the scanelf utility which has some security check that causes a slowdown of the operation, executing it without privileges it's really faster.
2020-04-09 10:35:06 +02:00
Daniele Debernardi
36f15b58f6
main/postmarketos-mkinitfs: remove initramfs-extra cache (!1133) 2020-04-09 10:35:03 +02:00
Dolphin von Chips
e2ab2fcd47
main/dtbtool: use "python3" binary instead of "python" (!1136) 2020-04-08 17:37:48 +03:00
Alexey Min
5119c7a043
main/dtbtool: fix upstream compat issues
fix depends and force a rebuild
2020-04-07 07:03:33 +03:00
Alexey Min
213d01a99a
main/linux-postmarketos-qcom-sdm660: new aport (!1095)
tracks https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git/tree/?h=for-next
and adds sdm660 patches on top of it
2020-04-06 04:00:40 +03:00
Oliver Smith
0ea9d8db52
main/anbox-image: fix armv7 build (!1128)
[ci:skip-vercheck]
2020-04-05 19:49:17 +02:00
Antoine Fontaine
db0af6a8ed
main/anbox-image: move image to /usr/share/anbox and updates armv7 to 64bit binder (!1116) 2020-04-05 15:30:46 +02:00
Oliver Smith
ca708dd453
maemo: remove (!1126)
The current postmarketOS port does not do Hildon/Maemo Leste justice.
Various features are missing or broken. We can't even upgrade to the newest
version, because of packaging issues that can't easily be resolved. And
nobody is maintaining it currently. So for the people who want to use
Hildon, please use Maemo Leste (https://maemo-leste.github.io/).

If somebody is willing to invest a lot of time for a new postmarketOS
port of Hildon/Maemo Leste, let us know!
2020-04-05 15:22:13 +02:00
Dolphin von Chips
176555a4a1
**/linux-*: update usage of downstreamkernel_prepare helper (!1084)
[skip-ci]: just downloading all kernel sources takes about one hour
           and ollieparanoid wants to merge it now. This already ran
	   successfully with [ci:skip-build] and [ci:skip-vercheck].
2020-04-05 12:43:25 +02:00
Dolphin von Chips
a4b1fb8371
devicepkg-dev: implement out-of-tree build for kernel (!1084) 2020-04-05 12:30:39 +02:00
Bhushan Shah
8af4d8c27a
main/telepathy-mission-control: backport bugfix for newer glib (!1119)
This fixes telephony functions on plasma mobile
2020-04-05 04:12:51 +03:00
Minecrell
4db63c0627
main/devicepkg-dev: install modules-load.conf/modprobe.conf (!1124)
Many device ports install extra modules-load.conf/modprobe.conf
configurations. Simplify this a bit by installing these automatically
to appropriate locations in the file system.
2020-04-04 21:17:18 +03:00
Minecrell
c747733aec
main/linux-postmarketos-qcom-msm8916: upgrade to 5.6 (!1115)
- Update to Linux 5.6
- Major improvements for Samsung Galaxy Tab 4 10.1 WiFi (samsung-matissevewifi)
  - Buttons
  - Accelerometer
  - Display
  - Touchscreen
  - Audio (Speaker is WIP)
- Upstreamed some patches
2020-03-31 21:42:36 +03:00
Alexey Min
53147b32d0
main/linux-postmarketos-qcom-msm8974: add findutils build dependency (!1090)
Forces to use normal "find" instead of busybox find.
This fixes unrecognized -printf parameter error dutring build:

 ...
 GEN     usr/initramfs_data.cpio
find: unrecognized: -printf
BusyBox v1.31.1 () multi-call binary.

Usage: find [-HL] [PATH]... [OPTIONS] [ACTIONS]
 ...
2020-03-30 20:34:34 +02:00
Luca Weiss
c185730ef3
main/linux-postmarketos-qcom-msm8974: enable useful config options (!1090) 2020-03-30 20:34:34 +02:00
Luca Weiss
9e4c2f697d
main/linux-postmarketos-qcom-msm8974: upgrade to 5.6.0_rc6 (!1090) 2020-03-30 20:34:34 +02:00
Bart Ribbers
49d057c79a
main/postmarketos-ui-plasma-mobile: add plasma-dialer to depends (!1093) 2020-03-30 12:51:01 +02:00
Oliver Smith
a10a1c8b41
main/umockdev: remove
Left over from unity 8, which has been removed from pmaports earlier.
umockdev depends on libgudev in Alpine, which has been moved from main
to community. As of writing, there is no armhf package, so the upstream
compatibility test is failing. There is no point in waiting until the
package was built though, since nobody is currently using in in
pmaports.
2020-03-29 21:58:02 +02:00
Raatty
e8892392e8
main/lightdm-mobile-greeter: new aport (!1017)
[ci:skip-build]: already built successfully in CI
2020-03-29 17:16:39 +02:00
Bakonyi Ferenc
9f1fbc77eb
main/fbkeyboard: add missing dependency (!1108) 2020-03-26 20:27:29 +01:00
HenriDellal
466cf9a0e8
main/hwtest: add missing dependency (!1106) 2020-03-26 17:43:30 +03:00
Alexey Min
8a45592949
main/linux-postmarketos-allwinner: enable CONFIG_INPUT_UINPUT and some fixes (!1051)
CONFIG_INPUT_UINPUT is needed for !1012

- linter fix: remove unneeded HOSTCC
- use downstreamkernel_package
- _abi_release was never used
- this package is only enabled for aarch64, so always use
  modules_install dbts_install in package(), remove redundant
  switch case
2020-03-24 14:50:13 +03:00
Ferenc Bakonyi
987add16a9
main/fbkeyboard: new framebuffer console keyboard tool (!1012) 2020-03-23 04:45:15 +03:00
Oliver Smith
81b5d606f3
main/postmarketos-ui-plasma-mobile: remove pmos-demos dependency (!1086)
The point of this program was to have something to play with once weston
boots up. It does not make sense to ship this with
postmarketos-ui-plasma-mobile.

Related: postmarketos-demos#1
2020-03-22 21:33:45 +03:00
Daniele Debernardi
ecb510c295
main/linux-postmarketos-stable: remove (!1073)
[ci:skip-build]: already built successfully in CI
2020-03-21 21:12:02 +01:00
Oliver Smith
27018c7ce8
main/postmarketos-ui-phosh: disable armhf
Some package postmarketos-ui-phosh depends on, is in turn depending on
qt5-qtwayland, which is currently not available for armhf.

[ci:skip-vercheck]
2020-03-21 16:24:36 +01:00
Danct12
43364cd064
main/linux-postmarketos-allwinner: completely disable sysrq (!1078)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-03-19 16:52:54 +01:00
Antoine Fontaine
9ae464c2b2
main/postmarketos-ui-phosh: force wayland backend for gtk programs (!1059) 2020-03-19 01:35:31 +03:00
Minecrell
0b35afde22
main/linux-postmarketos-stable: disable on all except armv7 (!1064)
nokia-n900 is the last user of linux-postmarketos-stable.
Let's keep it as-is temporarily until nokia-n900 has been migrated
to Alpine's linux-lts or a custom kernel.

Disable it on all other architectures to make it clear
that it is obsolete.

[ci:skip-vercheck]: no changes, only disabled architectures
2020-03-18 13:38:50 +01:00
Minecrell
841707b42b
main/linux-postmarketos-mainline: remove (!1064)
See #464
2020-03-18 13:38:47 +01:00
Luca Weiss
ae769fd180
main/ofonoctl: upgrade to 0.4.1 (!986) 2020-03-16 03:13:20 +03:00
Daniele Debernardi
5e68cafad9
main/postmarketos-demos: remove leftover files (!1062)
The application has now it's own repository and is not built anymore using these files.
2020-03-14 13:16:58 +01:00
Oliver Smith
1783d28bcc
main/postmarketos-ui-plasma-desktop: !armhf
Plasma isn't available in Alpine for armhf.

[ci:skip-vercheck]
2020-03-14 05:19:23 +01:00
Danct12
5029f563be
main/postmarketos-ui-plasma-desktop: new aport (!1005)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-03-14 03:50:21 +01:00
Dolphin von Chips
2ec1db16b5
main/devicepkg-dev: allow specifying kernel image in downstreamkernel_prepare (!1026) 2020-03-14 01:39:33 +01:00
Dr. Git
212b03dc36
{oneplus-oneplus3,oneplus-oneplus3t}: new device (OnePlus 3/3T) (!923) 2020-03-13 12:39:25 +01:00
Antoine Fontaine
ca0d788edd
main/anbox-image: drop input patch (!1054)
It is no longer necessary, as input patch has been backported
https://gitlab.alpinelinux.org/alpine/aports/merge_requests/5277
2020-03-11 20:57:24 +01:00
Minecrell
b566e05cf9
main/linux-postmarketos-qcom-msm8916: upgrade to 5.6-rc5 (!1055)
- Update to Linux 5.6-rc5
- Basic audio support on samsung-gt510wifi (speaker is WIP)
- Initial support for samsung-matissevewifi
- Enable some kernel config options for elogind/Anbox/fbkeyboard
2020-03-11 20:12:06 +03:00
Alexey Min
5e7e254e08
main/avbtool: new aport (!1019)
Tools to work with Android Verified Boot 2.0 images (vbmeta)
2020-03-10 21:01:43 +01:00
Daniele Debernardi
de6deb8201
main/postmarketos-mkinitfs: check if initramfs-extra is missing (!1046) 2020-03-10 01:23:14 +01:00
HenriDellal
36a2e78c2c
main/dtbtool-sprd: new aport (!1041)
dtbtool-sprd is a version of dtbtool which is meant for
Spreadtrum devices. Spreadtrum uses different header magic.
2020-03-09 19:21:21 +03:00
Luca Weiss
f332c7d29e
main/qmi-ping: new aport (!1031) 2020-03-08 02:47:10 +03:00
Bart Ribbers
152e709d9d
main/postmarketos-ui-hildon: depend on PulseAudio (!1018) 2020-03-03 21:39:30 +03:00
Bart Ribbers
ff18340fb8
main/postmarketos-ui-gnome: depend on PulseAudio (!1018) 2020-03-03 21:39:30 +03:00
Bart Ribbers
205280cb39
main/postmarketos-ui-phosh: depend on PulseAudio (!1018) 2020-03-03 21:39:29 +03:00
Bart Ribbers
b8485512c7
main/postmarketos-ui-plasma-mobile: depend on PulseAudio (!1018) 2020-03-03 21:39:29 +03:00
Bart Ribbers
98f9320f35
main/postmarketos-base: remove unnecessary dependencies (!1018)
These dependencies don't belong here.
- iw: should be installed by the user themselves when wanted
- nano: should be installed by the user themselves when wanted
- pulseaudio: should be installed by the UI meta packages that need it
  instead
- pulseaudio-alsa: should automatically be installed when both
  PulseAudio and alsa are installed

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Danct12 <danct12@disroot.org>
2019-12-05 22:53:30 +01:00
Antoine Fontaine
684dc41f0e
postmarketos-ui-phosh: ask Qt not to show window decorations (!769) 2019-11-28 01:16:29 +03:00
Michael Orishich
77ea310aac
main/postmarketos-ui-weston: fix weston failing to read config (!767) 2019-11-26 18:48:35 +03:00
pedro
b0a8448716
main/wcnss-wlan: allow to insert delay (!762)
Make it possible to sleep before enabling the wlan driver. This is
needed to make it work properly with lg-mako.

Related: #46
2019-11-24 20:49:57 +01:00
Bhushan Shah
079ad8f94a
main/postmarketos-ui-plasma-mobile: add kpeoplevcard (!766)
[ci:skip-build]: already built successfully in CI
2019-11-24 20:26:32 +01:00
Martijn Braam
cfcf1e6d7d
main/postmarketos-mkinitfs: added pmos_boot and pmos_root (!756) 2019-11-24 20:16:41 +01:00
Oliver Smith
b8ed9356b4
main/pmbootstrap: upgrade to 1.11.0 2019-11-22 00:17:32 +01:00
Oliver Smith
5fcb49fcb7
main/urfkill: depend on polkit-elogind, not polkit
Fix the following error when installing postmarketos-ui-plasma-mobile:

ERROR: unsatisfiable constraints:
  polkit-elogind-0.116-r1:
    breaks: polkit-dev-0.116-r0[polkit=0.116-r0]
    satisfies: polkit-kde-agent-1-5.17.3-r0[polkit-elogind]
               .pmbootstrap-20191121.210534[polkit-elogind]
               consolekit2-1.2.1-r1[polkit]
               consolekit2-1.2.1-r1[so:libpolkit-gobject-1.so.0]
               networkmanager-1.20.6-r0[so:libpolkit-agent-1.so.0]
               networkmanager-1.20.6-r0[so:libpolkit-gobject-1.so.0]
               polkit-qt-1-0.113.0-r0[so:libpolkit-agent-1.so.0]
               polkit-qt-1-0.113.0-r0[so:libpolkit-gobject-1.so.0]
               accountsservice-0.6.55-r0[so:libpolkit-gobject-1.so.0]
               urfkill-0.5.0_git20170118-r0[so:libpolkit-gobject-1.so.0]

This is the reason, why the pmbootstrap qemu test (which performs a full
plasma mobile installation and checks running processes) check failed:
https://postmarketos.gitlab.io/-/pmbootstrap/-/jobs/357942365/artifacts/log_testsuite.txt
2019-11-21 23:19:06 +01:00
Oliver Smith
874e979c04
maemo/*: disable armhf, armv7
Most of the time, gtk+2.0-maemo hangs infinitely while building.
Detailed reasoning here:
https://gitlab.com/postmarketOS/pmaports/issues/388
2019-11-21 21:27:15 +01:00
Bhushan Shah
c8c3cfd7d9
main/postmarketos-ui-plasma-mobile: enable urfkill by default (!638) 2019-11-21 11:11:22 +05:30
Bart Ribbers
b0bbce0e1b main/urfkill: new aport (!638) 2019-11-21 05:39:21 +00:00
Luca Weiss
c6c6bc75bf
main/telepathy-ofono: switch to branch ofono-on-ring (!759)
Required for Plasma Mobile to be able to initiate calls.

[ci:skip-build]: already built successfully in CI
2019-11-20 23:41:16 +01:00
David Heidelberg
e561fffd30
phosh/*: enable on armhf (!746)
Enable armhf again, because "gnome-session" is available in Alpine for
armhf now.

[ci:skip-build]: already built successfully in CI. ollieparanoid made
                 sure that all packages build for armhf.
[ci:skip-vercheck]

Signed-off-by: David Heidelberg <david@ixit.cz>
2019-11-20 23:07:01 +01:00
Bhushan Shah
a35e19dbda
linux-postmarketos-allwinner: enable thermal driver and wakelocks (!757)
They can be used for power management

[ci:skip-build]: won't finish in time
2019-11-20 22:58:25 +01:00
Luca Weiss
c6e3000931
main/dtbtool: add patch for providing alternative dt tag (!641)
Add the equivalent of the --dt-tag option found in dtbToolCM or
dtbToolLineage, needed on htc-memul.
2019-11-20 22:29:51 +01:00
Oliver Smith
45a79246ab
main/unicsy-demo: remove
Depends on py-gtk-dev, which was removed from Alpine. It doesn't seem
like anybody is using this demo, so let's just remove it.
2019-11-20 21:09:56 +01:00
Luca Weiss
66db4dff0c
main/xf86-video-opentegra: remove (!754)
The package doesn't build anymore and blocks the binary repository.

See postmarketOS/pmaports#339
2019-11-19 19:53:55 +01:00
Oliver Smith
7308632f6c
main/buho: fix build
It seems the the CFLAGS are not properly set in the CMakeLists.txt.
Cmake currently appends -std=gnu90 at the end of the CFLAGS, overriding
the earlier set -std=c99. Work around this with sed. Better fix is
welcome, this is a stop-gap solution to unbreak the build (which is
blocking build.postmarketos.org).
2019-11-17 20:10:19 +01:00
Bart Ribbers
6ba8b2d7ed
postmarketos-ui-matchbox: drop (!729)
It's unmaintained both on our side and upstream. Nobody stepped up to
maintain it (https://gitlab.com/postmarketOS/pmaports/issues/372), so
let's drop it before it introduces security issues and compilation
problems.
2019-11-17 15:13:10 +01:00
Bart Ribbers
ecf9cb8729
main/telepathy-ofono: rebuild against telepathy-qt (!742) 2019-11-14 14:20:31 +01:00
Bart Ribbers
d73bb462b8
main/telepathy-qt: fix lib install location (!742) 2019-11-14 14:20:27 +01:00
Bart Ribbers
ed0e78eb80
main/telepathy-qt: upgrade to 0.9.8 (!735) 2019-11-13 21:29:51 +01:00