Commit graph

5356 commits

Author SHA1 Message Date
Alexey Min
8b2e93811d
cross/busybox-static-*: upgrade to 1.34.1-r5 2021-12-17 05:09:13 +03:00
Caleb Connolly
fe708f8bc3
phosh,plasma-mobile,sxmo-de-dwm,sxmo-de-sway install ttyescape by default (MR 2754)
[ci:skip-build] already built successfully in CI
2021-12-16 16:00:12 -08:00
Clayton Craft
20a0fee217
linux-purism-librem5: backport fixes for CVE-2021-39685 (MR 2761)
[ci:skip-build] already built successfully in CI
2021-12-16 15:36:20 -08:00
Anjandev Momi
5a175dc9d8
sxmo-common: drop youtube-dl for yt-dlp (MR 2747)
youtube-dl is dead and yt-dlp is the successor to the project.
2021-12-17 02:28:02 +03:00
Newbyte
cb7436d24b
samsung-m0: remove redundant downstream cmdline (MR 2758)
The downstream kernel provider does not exist any more (see
samsung-m0-downstream if you really want the vendor kernel), so remove
this as it is unused.
2021-12-16 23:02:04 +00:00
Newbyte
8efbab3666
samsung-m0-downstream: fix cmdline (MR 2758)
cmdline probably wasn't being applied properly as there's no downstream
kernel provider any more.
2021-12-16 23:02:04 +00:00
Alexey Min
b5d2abe107
cross/gcc*: upgrade to 11.2.1_git20211128-r3
3a2eb3720b

[ci:skip-build] Builds locally, no point to build on Gitlab CI
2021-12-16 23:05:09 +03:00
Jack Knightly
4465e9e1cd
samsung-t0lte: new device (MR 2759) 2021-12-16 18:01:58 +01:00
Minecrell
717130ccfe
community/linux-asus-me176c: upgrade to 5.4.165 (MR 2756)
Should fix CVE-2021-39685

[ci:skip-build] Already built on CI in MR
2021-12-16 19:32:18 +03:00
Jack Knightly
1d374d5735
linux-postmarketos-exynos4: add s6evr02 panel (MR 2751)
[ci:skip-build] Already built on CI in MR
2021-12-16 12:42:14 +01:00
David Heidelberg
29611eef9e
linux-asus-grouper: drop device specific kernel (MR 2584)
Both grouper and tilapia currently uses main/linux-postmarketos-grate

Signed-off-by: David Heidelberg <david@ixit.cz>
2021-12-16 14:37:13 +03:00
Alexey Min
8389cdba01
linux-oneplus-kebab: disable selinux to fix build failures (MR 2737)
With selinux enabled, build fails with gcc-11 with multiple errors like this:

/home/pmos/build/src/android_kernel_oneplus_sm8250-0c1bed1067131a0bd3e56c1cbdd3473606c5a48a/out/../security/selinux/hooks.c:5553:(.text+0xb34): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against `.bss.rtic'

Selinux is not required for pmOS, so this change should be safe.
2021-12-16 12:29:53 +01:00
Diana Atsuko Herring
f895dc7467
main/android-mkdtimg: drop package (MR 2737)
package replaced by android-mkdtboimg (!2729)
2021-12-16 12:29:53 +01:00
Clayton Craft
a3611e3797
main/sxmo-common: don't disable polkit service in post-{install,upgrade} (MR 2755)
rc-update fails if this service is not in the default runlevel,which is
the case if it's a brand new installation, or would be the case later on
upgrading this package again after the service was already removed from
the runlevel.

The issue that c47c62e3 set out to solve isn't fatal, if polkit fails to
start by openrc then users can manually remove it from the runlevel.

partially reverts c47c62e3

[ci:skip-build] already built successfully in CI
2021-12-15 20:23:33 -08:00
Caleb Connolly
029cf83cf1
main/ttyescape: upgrade to hkdm/buffyboard (MR 2713)
This upgrades ttyescape to use buffyboard, a new fbkeyboard replacement
by @Cherrypicker. It adds a lot of missing keys and uses the same layout
as Phosh's Squeekboard, so should feel much more like home for Phosh
users.

This also switches to the new HKDM daemon for hotkey handling, replacing
triggerhappy.

[ci:skip-build] already passed
2021-12-16 02:32:16 +00:00
Anjandev Momi
c47c62e31f
sxmo: Dont add polkit to default run level (MR 2750)
it's started by dbus

[ci:skip-build] already built successfully in CI
2021-12-15 17:19:47 -08:00
Oliver Smith
2a83c33cb9
main/mobile-config-firefox: upgrade to 3.0.0 (MR 2740)
Related: https://gitlab.com/postmarketOS/mobile-config-firefox/-/tags/3.0.0
2021-12-15 16:21:29 -08:00
Clayton Craft
16472c5b2c
main/msm-firmware-loader: fix shellcheck failure (MR 2752)
A recent(?) update in shellcheck made this fail, possibly because the
test in shellcheck was fixed(?) or ???

The failure this fixes is:

Test with shellcheck: ./main/msm-firmware-loader/msm-firmware-loader.sh
In msm-firmware-loader.sh line 49:
	if [ -z "${FW_PARTITIONS##*$PARTNAME*}" ] && [ -n "$PARTNAME" ]
                                   ^-------^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

[ci:skip-build] already built successfully in CI
2021-12-15 15:49:59 -08:00
Alexey Min
a6b343c833
main/linux-postmarketos-qcom-msm8974: upgrade to 5.15.7 (MR 2746)
Simple upgrade with few generic kernel features enabled
 * IWD support
 * F2FS
 * NTFS3_FS
 * USB mass storage support
 * disable MTD and build more things as modules to reduce
   kernel size to compensate some new built-in options,
   as kernel doesn't boot otherwise.

No new things for pmOS's devices (yet). Should work same as before.

[ci:skip-build] Already built on CI in MR
2021-12-14 13:13:23 +03:00
Mighty
07ce5f6a3f
main/mesa-pvr-dri-classic: update to llvm 12 and switch source (MR 2702)
Changing source to freemangordon's branch as that is much more stable and does not crash, got firefox running, which with older mesa would crash the GPU
2021-12-13 12:50:17 +00:00
Clayton Craft
e2e2f42022
purism-librem5: replace gpsd with gnss-share (MR 2736)
gnss-share is a location provider I wrote for the librem 5's GPS module,
and can be used directly from geoclue. It allows saving and loading
A-GPS data (manual steps, for now) to facilitate faster fixes.

I'm not completely happy with having to use sed to patch geoclue's conf,
but:

1) I really only need to change 1 line

2) there's a non-zero chance geoclue's conf will be changed in aports if
   new permissions are required for things later

So carrying the config in the device package and using
"replaces=geoclue" (like the postmarketos-* stuff) didn't seem like a
maintainable solution long term since the geoclue conf might gain needed
fixes/features that might make a copy in the device package outdated...
2021-12-13 13:17:57 +01:00
Oliver Smith
51fce1f111
main/postmarketos-ui-phosh: firefox improvements (MR 2741)
Display the app icon properly, instead of the "unknown" icon, in the
activity view. Phosh attempts to open a .desktop file with the name of
the gtk app-id, but the app-id is "firefox" and the file is named
org.mozilla.firefox.desktop (see related commit, where it was renamed
for a good reason). The way Phosh is doing the name lookup doesn't
always work for other apps too, phosh_get_desktop_app_info_for_app_id()
has workarounds e.g. for gnome-control-center hardcoded. As workaround,
add a .desktop file that makes the icon show up properly, but is not
displayed anywhere else (NoDisplay=true).

Replace epiphany with FF in the default favorite applications in phosh
(top 4 displayed at the top). We already install FF instead of epiphany
and so the 4th place is currently empty.

Related: 2d291a4afc
2021-12-13 13:12:01 +01:00
Clayton Craft
797d6272f9
main/boot-deploy: upgrade to 0.4 (MR 2745)
changelog: https://gitlab.com/postmarketOS/boot-deploy/-/tags/0.4
2021-12-12 15:20:26 -08:00
Tim Zimmermann
98ca1e4fde
samsung-beyond1lte: new device (MR 2739)
[ci:skip-build]: Already built successfully in CI
2021-12-12 18:12:05 +01:00
Clayton Craft
f6f97c5469
temp/megapixels-purism: new aport (MR 2659)
This packages the megapixels fork that purism has supporting the librem
5.

The `provides="megapixels"` is there so that apk doesn't try to install
both megapixels and this package side-by-side. If the user explicitly
installs megapixels-purism, apk will remove megapixels first. The
original megapixels is still preferred by apk by default.

[ci:skip-build]: already built successfully in CI
2021-12-12 17:47:47 +01:00
Clayton Craft
55f7f3ccd7
Revert "cross/gcc4*: upgrade to 4.9.2-r3"
This reverts commit d00c600303.

They fail to rebuild and I'm not sure why. Reverting for now so that
bpo is unblocked.
2021-12-11 19:57:18 -08:00
Clayton Craft
c01d549dea
cross/gcc6*: upgrade to 6.4.0-r8 2021-12-11 15:48:01 -08:00
Clayton Craft
d00c600303
cross/gcc4*: upgrade to 4.9.2-r3 2021-12-11 15:48:01 -08:00
Clayton Craft
6afdac8224
cross/busybox-static-*: upgrade to 1.34.1-r4 2021-12-11 15:48:01 -08:00
Clayton Craft
046da0b958
cross/gcc*: upgrade to 11.2.1_git20211128-r2 2021-12-11 15:40:54 -08:00
Caleb Connolly
4ed5c1fe13
linux-postmarketos-qcom-sdm845: upgrade to 5.16-rc4 (MR 2690)
Finally a new upgrade! This brings along some minor driver changes and
improvements, more stuff slowly landing upstream.

We also get a few new splats during boot, these are inevitable at this
point due to fw_devlink changes and large reworking of the drm/msm code,
they are caused by the common clock framework not knowing that some
clocks are left enabled by the bootloader, it panics when they aren't in
a state it expects. They are harmless as far as I know.

[ci:skip-build]
2021-12-10 22:27:16 +00:00
Diana Atsuko Herring
06a125d21b
main/android-mkdtboimg: new package (MR 2729)
Creates dtbo.img file, needed for compiling kernels for newer
Android devices.
2021-12-10 22:25:27 +03:00
Gianluca Boiano
9f334cb0a3
xiaomi-vince: move audio resources under alsa subpkg (MR 2716)
[ci:skip-build] already built successfully in CI
2021-12-10 11:11:53 -08:00
Gianluca Boiano
0b7ea96f35
xiaomi-vince: update kernel to 4.9.291 (MR 2716)
[ci:skip-build] already built successfully in CI
2021-12-10 11:11:52 -08:00
Clayton Craft
1ef69646d0
pine64-pinephone: configure shorter default suspend time (MR 2728)
[ci:skip-build] already built successfully in CI
2021-12-10 11:04:51 -08:00
Clayton Craft
00056d48f4
temp/gnome-control-center: add patch for additional suspend time options (MR 2728)
[ci:skip-build] already built successfully in CI
2021-12-10 11:04:50 -08:00
Minecrell
f563e0ddcf
modem/msm-modem: uim-selection: Allow configuring wait time for SIM (MR 2695)
Unfortunately it looks like some modem firmwares (or SIM cards?) need
more time until the SIM card shows up in the modem. This means that the
SIM card might not get configured, making it look like it was not
detected at all. On the other hand, having the previous long wait loop
affects _all devices_ when there is really no SIM inserted.

The proper solution would be to make it possible to configure SIM cards
once they show up (probably in ModemManager). Until then, try to make it
possible to workaround this by introducing a configurable delay to wait
for the SIM card. It is set to minimal "1 seconds" by default but could
be increased by the user if needed to give the modem enough time to detect
the SIM card.

This reverts commit 683b543a3b ("msm-modem-uim-selection: Don't wait
for SIM (MR 2470)" but with a new configuration mechanism and a default
of 1 second only.

[ci:skip-build] already built successfully in CI
2021-12-10 10:24:11 -08:00
Yassine Oudjana
234295575c
device-oneplus-oneplus3t: change nonfree-firmware dependency (MR 2733)
Change firmware-oneplus-oneplus3-op3t to firmware-oneplus-oneplus3t.
2021-12-10 18:47:51 +03:00
Yassine Oudjana
f83f6de05b
device-oneplus-oneplus3: change nonfree-firmware dependency (MR 2733)
Change firmware-oneplus-oneplus3-op3 to firmware-oneplus-oneplus3.
2021-12-10 18:47:50 +03:00
Yassine Oudjana
32508f70e2
testing/firmware-oneplus-oneplus3: split subpackages into separate packages (MR 2733)
This cuts downloads in half as only the needed sources are downloaded.
It also makes the packages simpler and fixes a bug where the oneplus3t
subpackage was overwriting the 20-adreno-gpu-firmware.files of the
oneplus3 subpackage.
2021-12-10 18:47:50 +03:00
Clayton Craft
33a85ff166
linux-purism-librem5: upgrade to 5.13.19pureos5 (MR 2732)
Changelog:
5f57c075a4
2021-12-10 14:11:42 +01:00
Clayton Craft
8fd23ece4e
temp/alsa-*: fork from aports and downgrade to 1.2.5 (MR 2734)
alsa-* 1.2.6 breaks audio switching and microphones on several devices,
with some outstanding issues still open upstream.

This 'fork' is meant to be very short-lived, to restore audio on devices
while we figure out how to fix it on 1.2.6.

see: https://gitlab.com/postmarketOS/pmaports/-/issues/1334
2021-12-10 14:08:15 +01:00
Newbyte
a5b5f5735d
cross/binutils-*: upgrade to 2.37-r4 2021-12-10 11:45:31 +01:00
Bobby The Builder
ba23cc03b0
main/linux-postmarketos-allwinner: upgrade to 5.15.3 (MR 2701)
[ci:skip-build]: already built successfully in CI
2021-12-10 11:30:59 +01:00
Lucid One
c8b3a16e38
raspberry-pi4: fix use of deprecated initramfs name (MR 2731)
initramfs-<flavor> is deprecated when using pmOS mkinitfs.

Signed-off-by: Lucid One <lucid@t5cc.io>
2021-12-09 08:04:41 +01:00
Denis Tolstov
e30bcfc5ff
xiaomi-rolex: new device (MR 1911)
Based on !1158 by @nrdnandan (5 files)
new file: device/testing/device-xiaomi-rolex/APKBUILD
new file: device/testing/device-xiaomi-rolex/deviceinfo
new file: device/testing/linux-xiaomi-rolex/APKBUILD
new file: device/testing/linux-xiaomi-rolex/config-xiaomi-rolex.aarch64
new file: firmware/firmware-xiaomi-rolex/APKBUILD

Changed deviceinfo : Width x Height was 800x600 to correct dimension -> 720x1280

modified: device/testing/device-xiaomi-rolex/APKBUILD
modified: device/testing/device-xiaomi-rolex/deviceinfo

Added directfbrc and fb.modes file. Also added SWAP file support swap_size=1024

Added Audio files and rules removed uneccessary lines in deviceinfo.

device/xiaomi-rolex: Fix linting issues

xiaomi-rolex: Linting fixes; is a handset

xiaomi-rolex: Moved firmware/ to device/testing/

xiaomi-rolex: Enable pmb:cross-native for kernel compilation
because it is the default for recent apkbuilds

xiaomi-rolex: Apply YYLOC patch to build 3.18.140 with gcc-10 (-fno-common)

xiaomi-rolex: update patch checksums in kernel APKBUILD

xiaomi-rolex: update deviceinfo checksum; replace common patch with a symlink

xiaomi-rolex: use mdss patch

xiaomi-rolex: use BGRA mdss framebuffer patch

xiaomi-rolex: mark myself as maintainer, drop contributor from apkbuilds
Refer to git commit history instead to determine contributors

xiaomi-rolex: update kernel config for multiple devpts

xiaomi-rolex: allow firmware cross-native builds, disable tracedeps per linter

[ci:skip-build]: already built successfully in CI
2021-12-08 22:22:03 +01:00
Martijn Braam
6a40c2392d
testing/pine64-pinephonepro: new device (MR 2607)
[ci:skip-build]: already built successfully in CI
2021-12-08 21:55:00 +01:00
Martijn Braam
9297091a0e
testing/device-motorola-osprey: fix boot splash (MR 2697)
Due to the new booting setup of lk2nd the initfs now has the size to
include the display stack.
2021-12-08 21:29:13 +01:00
Bart Ribbers
64e90a02d2
main/postmarketos-ui-plasma-mobile: switch to modemmanager (MR 2730)
Upstream has switched from ofono to modemmanager since Plasma 5.23 and
Plasma Mobile Gear 21.12. Since the latter has just been released it's
now time to switch our images too.

The modemmanager service will be enabled to start on default and for
existing installations the .post-upgrade script will disable and stop
the existing ofono service and enable and start modemmanager instead.
2021-12-08 11:21:10 +01:00
Jakob Hauser
51dfc20336
main/postmarketos-ui-xfce4: further improvements (MR 2722)
Changes:
- Replace "Battery Monitor" by "Power Manager Plugin" (#1317)
- Fix the lower panel
- Change clock format from "1:23" to "01:23"
- Make font DPI changable for device package post-install scripts (#293)
- Reset list of keyboard shortcuts to default
- Remove brightness-switch properties from configs
2021-12-07 13:30:51 +01:00