Commit graph

3756 commits

Author SHA1 Message Date
HenriDellal
19c7fd692f
samsung-gts210ve{lte,wifi}: disable SEC_RESTRICT_ROOTING (MR 1786)
SEC_RESTRICT_ROOTING is a Samsung-specific option,
which makes unable to get root permissions
on the device.
Needed for postmarketos/pmbootstrap!2000 to be merged.

[ci:skip-build] Builds fine locally
2020-12-06 18:27:27 +03:00
clayton craft
7e509ccbc2
main/osk-sdl: upgrade to 0.60 (MR 1781) 2020-12-04 21:01:21 -08:00
clayton craft
7f8cf5322b
CODEOWNERS: add initial file (MR 1783) 2020-12-04 20:16:50 -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
Craig Comstock
c3078f5e97
pine64-pinephone: add default alsa config (MR 1741)
For use with or without pulseaudio.
2020-12-04 13:24:01 +01:00
mimi89999
bb2a0d945e
samsung-a3y17lte: new device (Samsung A3 2017) (MR 1784) 2020-12-04 11:59:44 +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
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