Commit graph

8623 commits

Author SHA1 Message Date
Clayton Craft
86e913235c
ci: suggest setting PMBOOTSTRAP_CMD when unable to locate pmbootstrap.py (MR 5033)
When running locally, sometimes pmbootstrap in PATH is not a symlink and
the auto-detection stuff fails. This can be resolved by setting
PMBOOTSTRAP_CMD=/path/to/pmbootstrap.py, so the error has been improved
to suggest doing this.

[ci:skip-build]: already built successfully in CI
2024-05-01 01:04:33 +02:00
Luca Weiss
0d4817959d
device-htc-memul: increase available VRAM (MR 5075)
Reserve 256MB for CMA, and of those use 192MB as VRAM.

The default value from the kernel side causes graphical issues with e.g.
phosh, so increase it so we have some more VRAM to work with.
[ci:skip-build]: already built successfully in CI
2024-05-01 01:00:29 +02:00
Luca Weiss
15f073b93c
firmware-htc-memul: un-squash wcnss firmware (MR 5075)
Unfortunately due to some HTC weirdness we cannot squash the wcnss
firmware - some data is lost and the firmware doesn't authenticate on
the device.
2024-05-01 01:00:29 +02:00
Luca Weiss
f8390e8815
linux-postmarketos-qcom-msm8226: upgrade to 6.8.7 (MR 5075) 2024-05-01 01:00:29 +02:00
Clayton Craft
c63e05246f
ci/common: use gitlab CI target branch in get_upstream_branch (MR 5082)
This prefers gitlab CI's target branch from the env, and falls back to
the old target branch detection mechanism (using pmaports.cfg, etc) if
it's not set. This fixes CI in gitlab where the target branch is
something different than expected, e.g. if using stacked branches.

[ci:skip-build]: already built successfully in CI
2024-05-01 00:58:32 +02:00
Stefan Hansson
5db3273820
CI: stop adding testing repository to Ruff check (MR 5039)
Ruff is now in community in Alpine Edge.

[ci:skip-build]: already built successfully in CI
2024-05-01 00:54:49 +02:00
Stefan Hansson
3249af6333
CI: run wiki check on changed .gitlab-ci.yml (MR 5039)
Useful to check that changes to the CI definition actually work.
2024-05-01 00:54:49 +02:00
Newbyte
3c855ce53b
linux-samsung-n7100-downstream: fix build (MR 5080)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401

[ci:skip-build]: already built successfully in CI
2024-04-30 20:52:10 +02:00
Joe HH
0c859fbfc3
main/postmarketos-ui-phosh: remove karlender from pmb_recommends (MR 3742)
It's now in the base-ui-gnome package

[ci:skip-vercheck]
2024-04-30 16:43:17 +02:00
Joe HH
db43d01558
main/postmarketos-ui-gnome-mobile: remove karlender from pmb_recommends (MR 3742)
It's now in the base-ui-gnome package
2024-04-30 16:43:15 +02:00
Joe HH
5fda4808ce
main/postmarketos-base-ui-gnome: add gnome-calendar to pmb_recommends (MR 3742)
It now is feasible to have it in all form-factors
2024-04-30 16:43:07 +02:00
Clayton Craft
7efcacc46d linux-lenovo-21bx: upgrade to 6.9-rc6 (MR 5079)
- kconfig migrate
    - drop drm panel patch, doesn't seem to actually be required
    - enable connector + proc_events, useful for extrace / debug
2024-04-30 00:51:32 +00:00
Alexey Minnekhanov
2c807afc06
modem/tqftpserv: upgrade and switch buildsystem to meson (MR 5076)
Upstream has switched to meson buildsystem and Luca's patches
were merged, so we can drop them.

Update package URL to linux-msm project.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2024-04-30 03:36:35 +03:00
Alexey Minnekhanov
94a777390c
modem/qrtr: upgrade to 1.1 and switch buildsystem to meson (MR 5076)
Upstream has moved to meson buildsystem and tagged new release.

Update package URL to linux-msm project.

Drop qrtr-ns subpackage, service and executable building, as it
was moved into kernel long time ago and separate userspace daemon
is no longer required.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
2024-04-30 03:36:34 +03:00
Luca Weiss
7615c6e0d2
device-fairphone-fp4: depend on missing GPU firmware (MR 5078)
Due to Alpine packaging changes, linux-firmware-qcom is not pulled in
anymore so the GPU firmware a630_sqe.fw is missing on the device now.

Fix this by explicitly pulling in firmware-qcom-adreno-a630 which also
provides this file - based on linux-firmware.
2024-04-30 09:13:41 +09:00
Brandon Boese
87d355e08d
main/postmarketos-base-ui: add audio subpackages (MR 5072) 2024-04-30 09:08:38 +09:00
Clayton Craft
09eb3346d6
main/postmarketos-ui-gnome: add two useful apps to recommends (MR 5077)
These are useful on desktops/laptops/tablets.

This was only added to the gnome (desktop) UI because:

1) The system monitor could be useful on mobile devices however the UI
   is not adaptive.

2) Disk utility isn't that useful on mobile devices since it tends to
   show dozens of partitions on android phones, and so it's kinda
   confusing and it would be easy for users to mess things up.

[ci:skip-build]: already built successfully in CI
2024-04-29 16:30:07 +02:00
Felicitas Pojtinger
d1a85cc5f9
temp/gnome-shell-mobile: upgrade to 45_git20240426 (MR 5073)
Signed-off-by: Felicitas Pojtinger <felicitas@pojtinger.com>

[ci:skip-build]: already built successfully in CI
2024-04-27 13:31:17 +02:00
Andreas Kemnade
2d1f6bd541
device: tolino-* add extlinux support (MR 5067)
makes u-boot env / script installation  unnecessary.
2024-04-27 08:32:56 +09:00
Alistair Francis
af97a4bea3
main/device-purism-librem5: Remove broadmobi-port-types udev rule (MR 5071)
The 77-mm-broadmobi-port-types.rules file comes from ModemManager [1] so
there is no need for us to re-install the file again. Drop our version
so we can use the upstream one.

1: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/blob/main/src/plugins/broadmobi/77-mm-broadmobi-port-types.rules

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2024-04-27 08:05:14 +09:00
Clayton Craft
9906d59ea4
device-lenovo-21bx: workaround pipewire audio playback issues (MR 5065)
Override the buffer size seems to help somewhat with audio playback
under pipewire.
2024-04-25 23:07:43 +09:00
Robert Eckelmann
3930c181e9
main: bump several packages for python 3.12 (MR 5060)
hwtest, extract-dtb, bootchart2 and ofonoctl need a rebuild to work with
python 3.12
2024-04-24 21:00:33 +02:00
Clayton Craft
28f8f3135e
Revert "ci: allow specifying pmbootstrap path to aid running locally (MR 4994)"
This was merged erroneously as a part of another MR. See
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/5033#note_1877584477

This reverts commit 40a46fd4e5.
2024-04-24 11:53:27 -07:00
Stefan Hansson
ec057e2ba2
linux-samsung-expressatt-downstream: fix build (MR 5064)
Part of https://gitlab.com/postmarketOS/pmaports/-/issues/2401
2024-04-24 12:03:02 +02:00
Clayton Craft
a263494c1c
ci: fix failure with check_changed_aports when testing new aport
Apparently some callers of `get_package_version` expect it to return
None if a package wasn't found...  e.g. when CI is testing a branch that
introduces a new aport and it's trying to get the upstream version for
it, which doesn't exist.

This leads to a spectacular crash in CI:

      upstream = get_package_version(args, package, commit, False)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/clayton/src/pmaports/./.ci/lib/check_changed_aports_versions.py", line 47, in get_package_version
        return parsed["pkgver"] + "-r" + parsed["pkgrel"]
               ~~~~~~^^^^^^^^^^
    TypeError: 'NoneType' object is not subscriptable

When I refactored this method in 07812a918 I goofed up and changed this
behavior, so let's restore it to fix the crash.
2024-04-23 17:59:30 -07:00
Adam Thiede
f940d37fa4
device-lg-hammerhead: add GSK_RENDERER workaround (MR 5059)
As mentioned in https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4952,
adding a script to work around GTK apps not rendering properly.
2024-04-24 07:00:28 +09:00
Andreas Kemnade
3c49199db3
kobo-clara: enable autodetection of board revs a vs b (MR 5057)
These two board revisions differ in regulator settings, so
detect them to avoid magic smoke.

[ci:skip-build]: already built successfully in CI
2024-04-23 21:55:12 +02:00
Arnav Singh
deb676fba2
ci/check_changed_aports_ver: fix pkgrel check (MR 5061)
The apkbuild parser returns `pkgrel` key as a `str`, not an `int`,
so the `!= 0` check would always succeed even if the file set it to `0`.

[ci:skip-build]: already built successfully in CI
2024-04-23 10:43:03 -07:00
Clayton Craft
478a4261ca
linux-valve-jupiter: upgrade to 6.9-rc5 (MR 5058)
[ci:skip-build]: already built successfully in CI
2024-04-23 14:07:46 +02:00
Clayton Craft
970bc34c45
ci/check_changed_aports_ver: add tests for new dev pkg rules (MR 4994)
[ci:ignore-count]

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-04-22 16:37:41 -07:00
Clayton Craft
40a46fd4e5
ci: allow specifying pmbootstrap path to aid running locally (MR 4994)
I don't like how CI requires pmbootstrap in PATH to be a symlink, I use
a wrapper script to handle running pmbootstrap how I want and the
current pmbootstrap path detection is kinda annoying since it depends on
it being a symlink.

This allows using an environment variable, PMBOOTSTRAP_PATH, to set the
pmbootstrap path and skip all of the symlink resolving stuff.
2024-04-22 16:37:41 -07:00
Clayton Craft
07812a9189
ci/check_changed_aports_ver: move apkbuild reading from get_version (MR 4994)
This allows reusing the logic to read apkbuild contents in future
methods
2024-04-22 16:37:41 -07:00
Clayton Craft
284fd42c0a
ci: add test for validating pkgver for device packages (MR 4994) 2024-04-22 16:37:41 -07:00
Clayton Craft
ed377d97fa
device-samsung-expressatt-downstream: fix kernel dependency (MR 4994) 2024-04-22 16:37:40 -07:00
Anton Bambura
de1a13c782
devices: use consistent pkgver (MR 4994) 2024-04-22 15:45:12 -07:00
Arnav Singh
83a68a7611
device-pine64-pinephone: revert kernel 6.8.4 changes to match up with downgrade (MR 5054)
This reverts commit 1e3d484a64
"device-pine64-pinephone: update UCM config for new headphone jack name (MR 5022)"

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2024-04-22 22:29:33 +02:00
Arnav Singh
686479bc4d
linux-postmarketos-allwinner: downgrade to 6.7.9_git20240306 (MR 5054)
Kernel 6.8.4 has multiple issues on the pine64-pinephone:

- Incoming calls don't work reliably when the phone is suspended. ( #2734 )

- Audio routing has changed such that it's seemingly not possible to use
  headphones with the builtin mic. ( #2738 )

Kernel 6.7.9 does not have these problems. This commit reverts to that for now
until they're figured out on the new kernel.
2024-04-22 22:29:33 +02:00
Paul Cercueil
01bb57f89b
device-samsung-i9100: Flash kernel/initramfs on kernel update (MR 5049)
Add deviceinfo_flash_kernel_on_update="true" to the deviceinfo file.
This makes sure that the updated kernel is flashed to the device every
time the linux-postmarketos-exynos4 package is updated.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
[ci:skip-build]: already built successfully in CI
2024-04-22 12:56:37 -07:00
Vitaliy Ognev
5ac8778de8
testing/linux-powkiddy-x55: upgrade to 6.8.6 (MR 4972)
[ci:skip-build]: already built successfully in CI
2024-04-22 12:53:47 -07:00
Vitaliy Ognev
de4af423ff
testing/linux-powkiddy-x55: WiFi improvements (MR 4972) 2024-04-22 12:53:47 -07:00
Vitaliy Ognev
7423756972
testing/linux-powkiddy-x55: kconfig check conformance (MR 4972) 2024-04-22 12:53:47 -07:00
Andreas Kemnade
824c6e51db
testing/linux-kobo-clara-mainline: Upgrade to v6.8.7 (MR 5056) 2024-04-22 21:17:37 +09:00
Pablo Correa Gómez
cc54c46e0d main/postmarketos-ui-i3wm: disable in riscv64 2024-04-22 12:52:41 +02:00
Sicelo A. Mhlongo
081f663b36
postmarketos-ui-i3wm: auto-generate user config (MR 5041)
90b0205a ("postmarketos-ui-i3wm: configure wallpaper globally") directly copies
the default i3 config into the user's config directory. Change to using the
wizard instead
2024-04-21 12:03:35 +09:00
Sicelo A. Mhlongo
10fd1b4e3e
device-nokia-n900: drop nonfree_firmware subpackage (MR 5050)
Drop the nonfree_firmware package now that pmboostrap commit aa594b76fa
("pmb.config: do not prompt for nonfree fw/userland") is merged
2024-04-20 23:26:24 +09:00
Sicelo A. Mhlongo
ea25bc48d7
device-nokia-n900: unconditionally fetch wl1251 nvs on each boot (MR 5050)
Reading the wl1251 data on each boot can be useful when using the same SD card
on different devices, allowing each to fetch its correct calibration data.
Additionally, this opens up the possibility to simplify the packaging (in
follow-up commit)
2024-04-20 23:26:07 +09:00
Raymond Hackley
00f2bb6452
main/devicepkg-dev: remove empty folder /usr/share/deviceinfo (MR 4990)
After removing the following files, $pkgdir/usr/share/deviceinfo is empty:
- $pkgdir/usr/share/deviceinfo/$pkgname
- $pkgdir/usr/share/deviceinfo/deviceinfo

Remove it when it's empty.
[ci:skip-build]: already built successfully in CI
2024-04-20 13:33:48 +02:00
Adam Thiede
fbd92700e6
linux-postmarketos-mediatek-mt8173: upgrade to 6.8.7 (MR 5051)
[ci:skip-build]: already built successfully in CI
2024-04-20 13:31:10 +02:00
Stefan Hansson
86c77a7a38
device: remove references to postmarketos-update-kernel (MR 5045)
Package was removed and is now included in boot-deploy.

[ci:ignore-count]: Lots of packages intentionally changed.
[ci:skip-build]: already built successfully in CI
2024-04-20 11:15:33 +02:00
Stefan Hansson
824647ea3a
CI: remove flash_kernel_on_update dependency check (MR 5045)
This property is now handled by boot-deploy, which devices shouldn't
depend on directly anyway.
2024-04-20 11:15:33 +02:00