Commit graph

2867 commits

Author SHA1 Message Date
Minecrell
be740c3cf7
temp/ofono: update with upstream changes (!1035)
5b1910ff59

- use supervise-daemon
- build against system ell
- package ofono test scripts
- minor cleanup
2020-03-09 10:00:36 +01:00
Danct12
52f04befaf
device/linux-xiaomi-santoni: fixed framebuffer colors (!1037)
Change the framebuffer depth from RGBA8888 to BGRA8888.

Signed-off-by: Danct12 <danct12@disroot.org>
2020-03-08 21:05:30 +01:00
Danct12
4e794694a3
xiaomi-santoni: update UCM to UCM2 and improvements (!1039)
Audio stopped working after alsa-lib-1.2.1, this patch fixes it
by adapting it to ucm2 format.

As well as some improvements to HiFi:
- Remove SpeakerMic as it was just HandsetMic without conflict
with Speaker
- Remove some unnecessary conflicts with ports
- Add input/output priorities

Co-Authored-By: Asriel Dreemurr <asriel.danctnix@gmail.com>
2020-03-08 21:00:23 +01:00
Luca Weiss
f332c7d29e
main/qmi-ping: new aport (!1031) 2020-03-08 02:47:10 +03:00
ky0ko
33cce38062
motorola-def: new device (Moto One Hyper) (!1023)
This adds basic functionality for the Moto One Hyper.
The device boots with rootfs on sd, booted by 'pmbootstrap flasher boot'.
USB net works, and i can ssh in. There is no framebuffer device, but
weston works with the drm backend instead of fbdev. Touchscreen support
is not implemented yet, but i will update this with support when i get
the chance. Most other functionality either does not seem to work yet or
has not been tested (wifi, audio, modem, etc).
2020-03-06 20:23:46 +03:00
Alexey Min
490443bf9b
cross/musl-*: upgrade to 1.1.24-r2 (!1028)
see 4cf38b14cc
2020-03-05 23:24:53 +03:00
TAKIZAWA Fumiya
b8b2308aa4
sharp-shl22: new device (SHARP SHL22) (!1011) 2020-03-05 19:59:03 +03:00
David Heidelberg
64ba17490b
device/device-asus-tilapia: create standalone device for tilapia (!1025)
Previously (after switch to mainline) it was used device-asus-grouper.

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-03-05 19:19:22 +03:00
David Heidelberg
9d2b37dc34
device/device-asus-grouper: switch from tilapia back to grouper (!1025)
Signed-off-by: David Heidelberg <david@ixit.cz>
2020-03-05 19:19:22 +03:00
David Heidelberg
8ddb2ccf85
firmware/firmware-asus-grouper: support also original grouper (!1025)
Signed-off-by: David Heidelberg <david@ixit.cz>
2020-03-05 19:19:22 +03:00
David Heidelberg
b527515cde
device/linux-asus-grouper: upgrade to 5.6_rc2-next (!1025)
CONFIG options added:
- nvidia tegra partition support (now it's kernel option)
- CONFIG_SECCOMP support (needed for Epiphany and lot of others)
- CONFIG_USER_NS required for bubble wrap (used by Epiphany)
- CONFIG_TEGRA_SOCTHERM as module, required for thermal management

DTS change:
- grouper we all have has codename "tilapia" (w/ GSM), since no-one had "older" grouper
- in future, when we get testing, we'll add "real" grouper (wo/ GSM)
- no functional change in DTS (except wiring SMB347 driver)

Kernel changes:
- added SMB347 driver support (now it's able report charging state)

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-03-05 19:19:19 +03:00
Bart Ribbers
d26933bb50
temp/kwin: fork from Alpine (!1021)
Add a patch to fix an issue where the virtualkeyboard if open before
locking the screen, would not disappear when locked
2020-03-05 13:47:53 +01:00
Bart Ribbers
05d72f4821
temp/plasma-workspace: fork from Alpine (!1021)
Add a patch to fix an issue with word wrapping on the language KCM
2020-03-05 13:47:48 +01:00
Bart Ribbers
28b10068a9
temp/kdeclarative: fork from Alpine (!1021)
Add a patch that fixes an issue with an empty info message being shown
on the top of the wifi KCM
2020-03-05 13:47:45 +01:00
David Heidelberg
91a1447917 device/*-asus-flo: switch to ARMv7
v2:
- Also switch firmware/firmware-asus-flo
- fix linting warnings
device/linux-asus-flo/APKBUILD: IC:[AL6]:device/linux-asus-flo/APKBUILD:36:prefix custom variable with _: HOSTCC="${CC:-gcc}"
IC:[AL6]:device/linux-asus-flo/APKBUILD:37:prefix custom variable with _: HOSTCC="${HOSTCC#${CROSS_COMPILE}}"
IC:[AL6]:device/linux-asus-flo/APKBUILD:39:prefix custom variable with _: ksrcdir="$srcdir/linux-$pkgver"
MC:[AL5]:device/linux-asus-flo/APKBUILD:10:variable set to empty string: depends=""
MC:[AL5]:device/linux-asus-flo/APKBUILD:13:variable set to empty string: install=
MC:[AL5]:device/linux-asus-flo/APKBUILD:30:variable set to empty string: subpackages=""
MC:[AL31]:device/linux-asus-flo/APKBUILD:36:variables must not have capital letters
MC:[AL31]:device/linux-asus-flo/APKBUILD:37:variables must not have capital letters
MP:[AL32]:device/linux-asus-flo/APKBUILD:3:unnecesary usage of braces: ${_flavor}
MP:[AL32]:device/linux-asus-flo/APKBUILD:4:unnecesary usage of braces: ${_flavor}
MP:[AL32]:device/linux-asus-flo/APKBUILD:32:unnecesary usage of braces: ${pkgver}
firmware/firmware-asus-flo/APKBUILD: MC:[AL28]:firmware/firmware-asus-flo/APKBUILD:12:literal integers must not be quoted
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:15:unnecesary usage of braces: ${_url_aosp}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:15:unnecesary usage of braces: ${_version_broadcom}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:16:unnecesary usage of braces: ${_url_aosp}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:16:unnecesary usage of braces: ${_version_qcom}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:22:unnecesary usage of braces: ${_commit_other}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:24:unnecesary usage of braces: ${_commit_other}
MP:[AL32]:firmware/firmware-asus-flo/APKBUILD:24:unnecesary usage of braces: ${_url_other}

Signed-off-by: David Heidelberg <david@ixit.cz>
2020-03-05 13:09:41 +01: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
Zhuowei Zhang
4fe8ceeee1
google-crosshatch: fix build with downstream kernel (!1016)
The downstream kernel doesn't provide a separate dtb file,
but the experimental mainline kernel does.

Previously, the deviceinfo specified a dtb file for both kernels,
and pmbootstrap ignored the missing file for downstream kernel.

pmbootstrap now errors when the dtb file is missing, so this
fixes the downstream kernel by specifying a dtb file only for
the upstream kernel.
2020-03-01 15:57:13 +03:00
Oliver Smith
73e8627ee2
pmaports.cfg: upgrade min pmbootstrap to 1.16.0
Require new pmbootstrap that gives the boot partition enough space
required for latest mkinitfs script changes. Besides that, latest
pmbootstrap has a big number of improvements. Refer to the changelog for
details.

Related: https://gitlab.com/postmarketOS/pmbootstrap/-/merge_requests/1884
Related: https://gitlab.com/postmarketOS/pmbootstrap/-/tags (changelog)
2020-03-01 11:58:30 +01: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
Bart Ribbers
33fcf64f90
kde/spacebar: improve APKBUILD (!979)
Stop manually making the build dir in a custom prepare() function, but
rather use the CMake -B argument to automatically make this directory.

[ci:skip-vercheck]: since this doesn't change the resulting package
compared to our previous APKBUILD a pkgrel bump is not necessary.

[ci:skip-build]: already built successfully in CI
2020-02-29 20:40:32 +01:00
Antoine Fontaine
60693e6a6d
main/mauikit: add missing kirigami dep (!1009) 2020-02-29 04:02:20 +03:00
Minecrell
6254328c35
device/linux-*: remove empty variables (!1007)
Using commands like sed -i '/^subpackages=""$/d' linux-*/APKBUILD

[ci:skip-build]
[ci:skip-vercheck]
2020-02-28 18:33:55 +01:00
Minecrell
ea583fc601
device/linux-*: various custom linter fixes (!1007) 2020-02-28 18:33:52 +01:00
Minecrell
fde2a02e8a
device/linux-*: remove unneeded braces from variables (!1007)
sed -i -E 's/\$\{(\w+)\}/$\1/g' linux-*/APKBUILD

Manually revert ${CROSS_COMPILE} in linux-motorola-maserati.
2020-02-28 18:32:26 +01:00
Minecrell
ed2333c279
device/linux-*: remove all usages of _vendor (!1007)
Those are pretty stupid.
2020-02-28 18:32:26 +01:00
Minecrell
447b2e6fd2
device/linux-*: remove HOSTCC for kernels using latest GCC (!1007) 2020-02-28 18:32:26 +01: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
Danct12
6625b432db
temp/mesa-git: upgrade to 0_git20200227 (!993)
Signed-off-by: Danct12 <danct12@disroot.org>
2020-02-28 03:44:38 +03:00
Luca Weiss
464d13296c
device/linux-*: use downstreamkernel_* helpers (!976)
[ci:skip-build]
[ci:skip-vercheck]
2020-02-27 23:29:38 +01:00
Dolphin von Chips
6fee64ccd9
main/devicepkg-dev: add downstreamkernel_package helper (!976) 2020-02-27 23:29:38 +01:00
Luca Weiss
1526bdc0ea
device/linux-*: remove legacy menuconfig functions (!976) 2020-02-27 23:29:38 +01:00
Luca Weiss
44771cae20
device/linux-leeco-s2: convert spaces to tabs (!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