Commit graph

1931 commits

Author SHA1 Message Date
Devin Lin
1c42df3769
main/postmarketos-ui-plasma-mobile: Sync configuration with upstream (MR 3634)
[ci:skip-build]: already built successfully in CI
2022-11-11 08:16:18 +01:00
alikates
e38db6e4de
main/postmarketos-mkinitfs: don't use uevent helper (MR 3351)
Instead of using the uevent helper binary, mdev daemon listens for kernel
events using the netlink interface. Then the requirement of enabling
UEVENT_HELPER for pmOS kernels can be dropped, as it's use is discouraged.

From CONFIG_UEVENT_HELPER kernel config help:

> This should not be used today, because usual systems create many events
> at bootup or device discovery in a very short time frame. One forked
> process per event can create so many processes that it creates a high
> system load, or on smaller systems it is known to create out-of-memory
> situations during bootup.

Support for running mdev as a daemon was added in 2019 with commit [1].

From that same commit:

> Adds the -d option to run mdev in daemon mode handling hotplug events
> from the kernel like udev. If the system generates many hotplug events
> this mode of operation will consume less resources than registering
> mdev as hotplug helper or using the uevent applet.

[1] https://git.busybox.net/busybox/commit/?id=498cec202adbf69a7a72af5e204260682d614183
[ci:skip-build]: already built successfully in CI
2022-11-11 08:11:19 +01:00
Johannes Marbach
0b523f354b
main/unl0kr: upgrade to 0.2.0_git20221110 (MR 3633)
[ci:skip-build]: already built successfully in CI
2022-11-11 07:52:20 +01:00
Pablo Correa Gómez
df76034e32
main/avbtool: remove (MR 3630)
avbtool is now included in android-tools upstream

Relates #1779
2022-11-09 17:52:50 +01:00
Clayton Craft
6ec2ba3c03
postmarketos-android-recovery-installer: upgrade to 1.0.6 (MR 3619)
Fixes:
- Fix installation with FDE
- Use new path to kpartx (MR 16)

Other:
- pmos_install: Increase boot partition size to 256MB (MR 14)
- pmos_install_functions: make shellcheck happy
- update-binary: make shellcheck happy

[ci:skip-build] already built successfully in CI
2022-11-06 21:36:40 -08:00
Martijn Braam
4c3be3aa14
main/postmarketos-tweaks: upgrade to 0.13.0 (MR 3613)
[ci:skip-build] already built successfully in CI
2022-11-03 23:27:05 -07:00
Clayton Craft
02198dccdd
postmarketos-mkinitfs: upgrade to 1.5.1
Fixes a crash due to the path for kpartx changing in a multipath update
in Alpine Edge.
2022-11-03 12:05:23 -07:00
Raymond Hackley
db00e85baf
main/postmarketos-config-nftables: 50_*.nft: drop unused wwan rules (MR 3594)
There is "iifname "wwan*" drop" defined in 01_wwan.nft, which drops
any not "established, related" incoming packet from WWAN.

[ci:skip-build]: already built successfully in CI
2022-11-03 07:48:33 +01:00
Bart Ribbers
97b18eafb2
community/postmarketos-ui-plasma-desktop: add bluetooth service to default runlevel (MR 3592) 2022-11-02 18:46:07 +01:00
Oliver Smith
5e73fe103a
main/mobile-config-firefox: upgrade to 3.1.0 (MR 3597)
Drop replaces, provides for postmarketos-config-firefox. This was the
name of the package until August of 2020, not relevant anymore. Also
the provides didn't have pkgrel and therefore was wrong.
2022-11-02 15:02:55 +01:00
Oliver Smith
f8d12ed781
main/msm-firmware-loader: fix provides (MR 3597) 2022-11-02 15:02:55 +01:00
Oliver Smith
96f8084bcd
main/postmarketos-ui-sxmo-de-dwm: set provider_priority=5 (MR 3597)
apk treats provider_priority=0 as if it is not there, not as lowest
value. The previous patch set it to =10 for …-sxmo-de-sway, so set it to
=5 for the dwm version.

Related: c21f61ddd8/src/solver.c (L713-721)
2022-11-02 15:02:54 +01:00
Oliver Smith
04250e1e41
main/postmarketos-ui-sxmo-de-sway: set provider_priority=10 (MR 3597)
apk ignores a provider_priority of 0. In order to have …-sxmo-de-dwm
have a lower provider priority than …-sxmo-de-sway, set a higher
priority than 1 for the sway version.
2022-11-02 15:02:54 +01:00
Oliver Smith
36cff31884
main/mkbootimg-osm0sis: upgrade to 2021.08.06 (MR 3597)
Also fix wrong use of provides.
2022-11-02 15:02:48 +01:00
niko
623702d4cf
main/postmarketos-ui-gnome-mobile: replace gedit with gnome-text-editor (MR 3603)
[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2022-11-01 16:58:41 +01:00
Oliver Smith
2d51770a74
main/postmarketos-ui-gnome-mobile: disable on riscv64 2022-10-26 20:27:13 +02:00
Oliver Smith
8185d66b73
main/unixbench: disable on riscv64 (MR 3588)
Related: https://builds.sr.ht/~postmarketos/job/868522
[ci:skip-build], [ci:skip-vercheck]: just disabling arches
2022-10-26 09:24:38 +02:00
Oliver Smith
594a34459e
main/postmarketos-ui-plasma-desktop: disable on riscv64 (MR 3588)
Related: https://builds.sr.ht/~postmarketos/job/868600
2022-10-26 09:24:38 +02:00
Oliver Smith
9529c0ab42
main/postmarketos-ondev: disable on riscv64 (MR 3588)
Related: https://builds.sr.ht/~postmarketos/job/868406
2022-10-26 09:24:38 +02:00
Oliver Smith
c102971e27
main/qtwebbrowser: remove (MR 3589)
Remove this obsolete package. It was added four years ago because we
didn't have working webbrowsers and hasn't been updated since.
2022-10-26 09:05:35 +02:00
Luca Weiss
766020c811
main/gcc6: disable on riscv64 (MR 3583)
[ci:skip-vercheck]: Changing arches doesn't require a rebuild
[ci:skip-build]: already built successfully in CI
2022-10-25 08:31:21 +02:00
Luca Weiss
9d15b45746
main/gcc4: disable on riscv64 (MR 3583) 2022-10-25 08:31:09 +02:00
Luca Weiss
c31c11cad9
main/hello-world-rust: allow textrels on riscv64 (MR 3584)
[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2022-10-25 08:18:11 +02:00
Alexey Minnekhanov
e78098c34f
main/postmarketos-ui-fbkeyboard: fix dejavu font path (MR 3582)
Alpine has changed location and package name of ttf-dejavu
fonts, adjust to new location.

Without this, fbkeyboard service crashes with error:

  unable to load font file: No such file or directory

Default font path is hardcoded [1] to
  "/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf".
Luckily there is a CLI switch to change default, use it.

[1] https://github.com/bakonyiferenc/fbkeyboard/blob/master/fbkeyboard.c#L37
2022-10-24 13:10:52 +03:00
Newbyte
63e8cff254
main/postmarketos-ui-phosh: replace gedit with gnome-text-editor (MR 3551)
Text Editor is a new modern text editor for GNOME. It is the new
default, replacing gedit upstream. As such, let's do the same here
downstream.

[ci:skip-vercheck]: pkgrel bump is not necessary when changing
recommends.
[ci:skip-build]: already built successfully in CI
2022-10-24 09:39:26 +02:00
Alexey Min
4fe645dead
main/lk2nd: upgrade to 0.13.0 (MR 3554)
- Support for the huawei-g7 display panel in lk1st
- FS based boot is skipped when going to the recovery
- Generate image without appended dtb for lk2nd-msm8226
- Some bug fixes and device improvements

New devices:
 - Samsung Galaxy Ace 4 (SM-G357FZ)
 - Samsung Galaxy Grand 2 (SM-G7102)
 - Samsung Galaxy Grand Max (SM-G720AX)
 - Samsung Galaxy Tab 4 10.1 (2014) (SM-T530)
 - Huawei Ascend G6 L11 LTE
 - Some new variants for the existing Samsung devices

Changelog: https://github.com/msm8916-mainline/lk2nd/releases/tag/0.13.0
2022-10-18 02:03:55 +03:00
Newbyte
d0d05b39cd
main/boot-deploy: upgrade to 0.6.1 (MR 3534) 2022-10-16 17:19:57 +02:00
Anjandev Momi
7270f472e3
treewide: fix tabs, final newline, trailing whitespace (MR 3530) 2022-10-16 16:27:22 +02:00
Affe Null
10df987e0e
main/mipi-dbi-cmd: tool for generating SPI panel init sequence firmware (MR 3527) 2022-10-16 11:18:04 +03:00
Alexey Minnekhanov
4144c7631f
main/postmarketos-config-nftables: use versioned constraints in install_if (MR 3536)
Consistently use `install_if="$pkgname=$pkgver-r$pkgrel ...` everywhere,
this is recommended upstream.

See https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#install_if
2022-10-16 08:19:21 +03:00
Raymond Hackley
1efe44bb36
main/postmarketos-config-nftables: add VLC chromecast rules (MR 3536) 2022-10-16 08:08:54 +03:00
Raymond Hackley
e0fa89db06
postmarketos-config-nftables: fix syntax errors and coding styles (MR 3535) 2022-10-14 09:35:31 +02:00
Raymond Hackley
b1e1d7f6d3
postmarketos-config-nftables: add upnp-client rules (MR 3533)
Add rules to accept SSDP/UPnP Replies, which can be used for discovery
in VLC.
2022-10-13 13:12:53 +02:00
Dang Huynh
69510f79f7
main/wl1251-cal: new pkgbuild (MR 3386)
This program grabs the WLAN calibration data from a NAND partition
on the Nokia N900.

Signed-off-by: Dang Huynh <danct12@disroot.org>
2022-10-12 21:39:12 +02:00
Jami Kettunen
1d88d8bcdd
main/waydroid-image: remove (MR 3508)
This has been out-of-date for almost a year with seemingly stalled
progress on the existing upgrade MR[1] for months now; it really seems
like no one wants to maintain this which currently leaves this
"force-installed-by-default" packaged image broken on all wlroots-based
Wayland compositors for example.

[1] https://gitlab.com/postmarketOS/pmaports/-/merge_requests/3091 ("Draft: main/waydroid-image: upgrade to 17.1.20220419")
2022-10-12 08:57:01 +02:00
Minecrell
5f140538bf
main/postmarketos-base: install mesa-dri-gallium only if needed (MR 3478)
At the moment almost all device packages force installation of the Mesa
drivers, even when they are not used by any application (for example on
a minimal headless installation with "none" or "console" UI).
Omitting mesa-dri-gallium from such installations saves about ~150 MiB
of disk space (469 MiB -> 317 MiB rootfs for minimal installation on
arrow-db410c).

The "classic" drivers have been removed from Mesa so only one mesa-dri-
package exists now: mesa-dri-gallium contains all Mesa drivers,
llvmpipe, freedreno, lima, panfrost, Intel (iris/crocus), ...

This means we can easily create an install_if package in
postmarketos-base that installs that driver package only if needed
(= only if another package requires the "mesa" package).

Strictly speaking the install_if could be restricted further since
mesa-dri-gallium is only needed by "mesa-egl", "mesa-gbm" and "mesa-gl"
but not e.g. the Vulkan drivers. Having three postmarketos-base
subpackages (one install_if for each of them) seems a bit
overengineered, though. "mesa" is a common dependency of all three
of them, so using install_if="... mesa" should be good enough.
2022-10-11 11:19:30 +02:00
Clayton Craft
03b842f3d7
postmarketos-splash: depend on font-droid (MR 3521)
renamed in aports@924a022f24
2022-10-10 18:53:37 -07:00
Clayton Craft
2023292d64
postmarketos-mkinitfs-hook-console-shell: change path to dejavu font (MR 3521)
renamed in aports@ee78772612

this also adds an explicit dependency on the font, since it may not have
been installed if postmarketos-ui-base was installed... (e.g. ui=None)
2022-10-10 18:53:37 -07:00
Clayton Craft
7327bd393f
main/*: depend on font-dejavu (MR 3521)
renamed in aports@ee78772612
2022-10-10 18:53:35 -07:00
Jakob Hauser
6b2cd8133c
main/postmarketos-ui-xfce4: remove xfce4-battery-plugin and icon link (MR 3503)
The xfce4-battery-plugin doesn't need to be installed anymore since we
switched to the "power manager plugin" in postmarketos-ui-xfce4 0.5.0.

The link to the old PostmarketOS icon isn't needed anymore for new
installations.

[ci:skip-build]: already built successfully in CI
2022-10-10 17:30:22 +02:00
Clayton Craft
4b72fbd9da
main/osk-sdl: upgrade to 0.67.1, change font dep and add patch to fix path
the ttf-dejavu package was renamed[1] and the path to the font file
changes.

ee78772612

fixes https://gitlab.com/postmarketOS/postmarketos-mkinitfs/-/issues/15
2022-10-09 14:34:23 -07:00
Newbyte
fa048b7517
main/postmarketos-base-ui: run SDL in Wayland mode by default (MR 2669)
This is possible now that all SDL (1) applications use sdl12-compat
instead of "classic" SDL 1.2. Note that this only is applied to user
interfaces that use Wayland and are launched through tinydm.

See https://gitlab.alpinelinux.org/alpine/aports/-/issues/12739
2022-10-09 15:23:59 +02:00
Newbyte
29f7006d5d
main/postmarketos-ui-plasma-mobile: ttf-droid-nonlatin -> font-droid-nonlatin (MR 3506)
This was renamed in aports: 924a022f24

[ci:skip-vercheck]
2022-10-08 19:14:51 +02:00
Jakob Hauser
b016cef0b2
main/postmarketos-ui-mate: add elogind (MR 3502)
That way rfkill plugin allows to use media keys for WiFi and Bluetooth.
And a suspend button becomes available in the shutdown dialog.
2022-10-08 10:46:42 +02:00
Oliver Smith
a53224a8e7
{main,cross}/gcc{4,6}*: remove !tracedeps option (MR 3498)
Don't build with !tracedeps, as otherwise the isl dependency is not
properly added to the built gccs. In practice this probably doesn't
matter since we only use these old gccs to build kernels in the native
chroots (not via crossdirect in foreign arch chroots), and we also
install a proper gcc in the native chroot that pulls in the isl
dependency. But fix it for correctness.

Related: pmaports issue 1732

[ci:skip-build] Already built successfuly on CI in MR
2022-10-07 21:36:17 +02:00
Bart Ribbers
122fc4d75a
main/postmarketos-ui-plasma-mobile: bump pkgrel
Seems to have been lost in a rebase on the previous commit, sorry
2022-10-07 19:07:33 +02:00
Bhushan Shah
40bd7f1ce8
Use postmarketOS artwork on plasma-mobile (#1464) (MR 3459)
(cherry picked from commit 302b6f5c29)
2022-10-07 09:36:30 +02:00
Bart Ribbers
b5c5918126
main/postmarketos-ui-plasma-mobile: remove firefox (MR 3499)
We already ship Angelfish and shipping 2 browser takes up a lot of
space. Besides Angelfish feels more native in Plasma Mobile (being baed
on Qt and made for mobile) and has a built-in adblocker nowadays so it
seems like the better option.

urfkill hasn't been used for quite a while, no need to keep it around

Motivation for this change is that the image builds of the UI are
currently running out of space so we need to decrease the image size
2022-10-06 11:39:54 +02:00
Bart Ribbers
980660b14f main/postmarketos-ui-plasma-mobile: remove urfkill
It hasn't been needed for a while
2022-10-06 08:59:02 +02:00
Jakob Hauser
a7b31e4731
main/postmarketos-ui-{mate,xfce4}: replace pulseaudio-utils by pulseaudio (MR 3479)
Actually package pulseaudio is needed instead of pulseaudio-utils.
Package pulseaudio-utils then gets drawn in by postmarketos-base-ui
sub-package pulseaudio.

For Xfce4 this is a cosmetic change because pulseaudio gets installed
as a dependency of pavucontol already. Keeping pulseaudio in the
_pmb_reccomends list makes sense to be clear which pieces are needed.

For MATE an explicit installation of pulseaudio is needed because it
doesn't use pavucontrol.

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2022-10-06 08:17:30 +02:00