Commit graph

3949 commits

Author SHA1 Message Date
Oliver Smith
aa84e67981
cross/gcc-*: upgrade to 10.2.1_pre1-r1 2020-12-04 00:14:14 +01:00
Dylan Van Assche
83dc3396c6
temp/gnome-control-center: upgrade to 9999_git20201203 (MR 1777)
[ci:skip-build]: already built successfully in CI
2020-12-03 16:11:20 +01: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
Oliver Smith
88ebc699f3
CI: unreferenced files: parse source from checksums (MR 1759)
postmarketos-base will soon build its source="" variable with a shell
function. Support this use case by not trying to parse source="" with
pmbootstrap anymore, but rather parsing the trivial sha512sums
variable.
2020-12-03 09:35:00 +03:00
Oliver Smith
52e1621408
CI: unreferenced files: be less verbose (MR 1759)
Don't print a message for each APKBUILD that is getting parsed. pytest
will display the stdout below the raised exception, so with the print
one had to scroll up a lot to find the actual error message. Now it is
printed at the bottom.
2020-12-03 09:35:00 +03:00
Oliver Smith
d6eb5dc5b2
CI: test_aports: use realpath for pmaports (MR 1759)
Do not print ".gitlab-ci/testcases/../../" in the paths to the
APKBUILDs.
2020-12-03 09:34:57 +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
Bart Ribbers
c13839f2de
temp/plasma-phone-components: upgrade to 5.20.4_git20201112 2020-12-02 19:38:29 +01:00
Bart Ribbers
6c445189b5
temp/plasma-nano: upgrade to 5.20.4_git20201001 2020-12-02 19:37:52 +01: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
Oliver Smith
3cf792d157
temp/xcb-util-cursor: temporarily fork from alpine
Make it available for armv7 again. This is the last missing package to
build postmarketos-ui-plasma-mobile again, I verified it.
2020-12-02 12:33:55 +01:00
Oliver Smith
3bd9f62da2
temp/libinput: temporarily fork from alpine (+depends) (MR 1771)
Make libinput available for armv7 in postmarketOS edge, until it is in
Alpine edge again.
2020-12-02 11:55:04 +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
Bart Ribbers
c981d35ce6
pine64-pinephone: move from community to main (MR 1752)
First actual phone in main 🎉
Fits the requirements for main devices as listed on
https://wiki.postmarketos.org/wiki/Device_categorization.
2020-12-02 02:30:13 +01:00
dominduchami
77c0bf245f
device/htc-leo: enable wifi (MR 1767) 2020-12-01 16:58:49 +01:00
Oliver Smith
01d2a8e767
temp/xorg-server: temporarily fork from alpine (+depends) (MR 1768)
Add it to pmOS for arm, until they are in Alpine again.
Related: https://postmarketos.org/edge/2020/12/01/xorg-server-moved/

[ci:skip-vercheck]: pkgrel doesn't need to be -r0
2020-12-01 15:59:23 +01:00
Oliver Smith
e544c65b7e
cross/musl-*: upgrade to 1.2.2_pre4 2020-12-01 15:43:20 +01:00
Dylan Van Assche
42e857ab79
temp/modemmanager: Fix missing text messages in deep sleep and reduce probing time
[ci:skip-build]: already built successfully in CI
2020-11-29 11:50:18 -08:00
Dylan Van Assche
a7b8e0289b
temp/modemmanager: Upgrade to 1.14.8
[ci:skip-build]: already built successfully in CI
2020-11-29 11:50:11 -08:00
clayton craft
15a07ac74c
device-pine64-pinephone: add craftyguy as co-maintainer (MR 1765)
I have been working a lot with this device lately, and own one, so it
seems appropriate right‽

[ci:skip-build]: already built successfully in CI
2020-11-27 22:20:03 -08:00
clayton craft
4915578771
device-pine64-pinephone: fix audio after pulseaudio upgrade (MR 1765)
After pulseaudio 14.0 was released, audio on the pinephone was broken.
This applies the relevant config from here to fix it:
c23f92aa46

[ci:skip-build]: already built successfully in CI
2020-11-27 22:19:52 -08:00
clayton craft
ca1adb070a
temp/geary: upgrade to git20201126 (MR 1764)
The notable change here is a *much* better folder view on mobile.

[ci:skip-build]: already built successfully in CI
2020-11-27 14:37:50 +01:00
devajithvs
03a96f0f28
asus-z010d: new device (MR 1757)
Device: Asus Zenfone Max ZC550KL
MSM8916
Mainline Kernel

Works:
- Boots
- external sdcard
- Wifi/bt
- Display
- Touchscreen

I'm still working on this device. You can expect more things to work in
the future.
2020-11-27 14:27:41 +01:00
Minecrell
b3248bfd32
device/community/soc-qcom-msm8916: fix regressions after PA update (MR 1760)
New upstream ALSA/PulseAudio release, new UCM regressions - of course!
Introduce some new hacks to make the ALSA UCM configurations work again.

This fixes weird "Combination of Speaker,Primary Microphone" outputs
appearing in the PulseAudio mixer.

And while we're at it, some minor improvements/additions:

  - Default to Speaker/PrimaryMic instead of Headphones/Headset
    I believe this is just a workaround until headphones detection
    works properly.

  - Add UCM configurations for oppo-a51f and lenovo-a6010
2020-11-26 11:45:14 +01:00
Oliver Smith
881a86068d
cross/busybox-static-*: upgrade to 1.32.0-r7 2020-11-26 10:25:15 +01:00
clayton craft
1340cffecf
temp/dino: fork from Alpine to build feature/handy mobile UI branch (MR 1754)
This packages the libhandy work in dino's feature/handy branch, which
makes the UI quite usable on mobile displays. A couple of windows don't
work well yet (e.g., the setting window), but chatting/omemo/file
transfer all work pretty well.
2020-11-25 22:36:01 -08: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
Oliver Smith
2faf47adec
cross/gcc-*: upgrade to 10.2.1_pre0-r3 2020-11-25 11:59:13 +01:00
M0Rf30
0a20973d44
linux-xiaomi-vince: Update to 4.9.245 (MR 1749)
[ci:skip-build]: already built successfully in CI
2020-11-24 12:00:45 +01:00
Alexey Min
8bc2cacd9f
device-samsung-klte: several small fixes (MR 1746)
* Mainline kernel: enable installation of Wi-Fi firmware.
  Now that we have Wi-Fi support in mainline kernel, use it.
* Mainline kernel: adjust description of mainline kernel
  subpackage; we still cannot recommend it over downstream,
  but it is not so experimental anymore.
* Downstream kernel: add workaround for broken SSH:
  use dropbear instead of openssh server. See #808
  https://gitlab.com/postmarketOS/pmaports/-/issues/808
2020-11-23 11:57:56 +01:00
Bart Ribbers
915d11748a
kde/neochat: new aport (MR 1737) 2020-11-22 11:07:11 +01:00
Bart Ribbers
dcf939622b
temp/geary: fork from Alpine to apply Purism's mobile patches (MR 1358)
[ci:skip-build]: already built successfully in CI
2020-11-21 13:54:56 -08: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
Maarten van Gompel
68ef03efbc
temp/modemmanager: Fix sending SMS with UTF-16 characters (MR 1714)
Upstream: no

Patch recommended by Aleksander Morgado in upstream issue, until a proper
fix is developed:
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/274#note_671679
2020-11-21 13:35:29 -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
Alexey Min
cd27108630
cross/musl-*: upgrade to 1.2.2_pre3-r0
Upstream commit 31abfb36a3
2020-11-21 02:37:50 +03:00
Vincent Knecht
2886477023
modem/rmtfs: upgrade to 0.2_git20201113 (MR 1744)
Update rmtfs, so that upstreamed change necessary for upcoming/WIP
alcatel-idol3 port is integrated already.
2020-11-20 11:12:10 -08:00
DX37
252466cb17
wexler-qc750: new device (MR 1742)
Hello there, DragonX256 here.
For now, this tablet only have flashing, USB net, display and touchscreen.
I will try to add other features soon, or, if I fail enough, switch to mainlining immediately :D
2020-11-20 14:25:30 +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
BO41
12f6a1ecd3
huawei-kiwi: new device (Huawei Honor 5X) (MR 1739)
[ci:skip-build]: already built successfully in CI
2020-11-20 13:43:32 +03:00
Alexey Min
9052367465
cross/musl-*: upgrade to 1.2.2_pre2-r0
Upstream commit 9e3ec61a9b
2020-11-20 12:22:45 +03: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