Commit Graph
10727 Commits
Author SHA1 Message Date
Clayton Craft b95fc85cbc main/postmarketos-base-ui: make -audio subpkg
This removes the audio-none subpkg, and the dependency that
postmarketos-base-ui had on it.

This renames the pmos-base-ui-audio virtual that the pw and pa backends
provided to `postmarketos-base-ui-audio-backend`.

To allow UIs to select no audio components, a new pmos-base-ui-audio
subpkg was added. UIs that need audio should depend on the virtual
pkg `postmarketos-base-ui-audio`. UIs that don't want audio can simply
depend on postmarketos-ui-base and no audio stuff will be pulled in.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6408
2025-04-17 20:37:14 +02:00
Oliver Smith 20461d317a Revert "main/postmarketos-ui-console: do not install any audio backend by default (MR 6192)"
This reverts commit e2557598d7. The patch
caused installs to fail where the device package explicitly depends on
postmarketos-base-ui-audio-pipewire:

ERROR: unable to select packages:
  postmarketos-base-ui-audio-pipewire-35-r0:
    conflicts: postmarketos-base-ui-audio-none-35-r0[postmarketos-base-ui-audio=35-r0]
    satisfies: device-xiaomi-nabu-5-r0[postmarketos-base-ui-audio-pipewire]
               postmarketos-base-ui-35-r0[postmarketos-base-ui-audio]
  postmarketos-base-ui-audio-none-35-r0:
    conflicts: postmarketos-base-ui-audio-pipewire-35-r0[postmarketos-base-ui-audio=35-r0]
    satisfies: world[postmarketos-base-ui-audio-none]
               postmarketos-base-ui-35-r0[postmarketos-base-ui-audio]

I've also tried to move the postmarketos-base-ui-audio-pipewire
dependency into a subpackage that doesn't get installed when
postmarketos-ui-console gets installed. But that did *not* work:

audio() {
	# This does NOT work!
	install_if="$pkgname=$pkgver-r$pkgrel postmarketos-base-ui !postmarketos-ui-console"
	mkdir "$subpkgdir"
}

It could work if postmarketos-ui-console did not depend on
postmarketos-base-ui, maybe that should be looked at in a follow-up
patch. Or just install the audio stack and require the user to do
UI=none if they want a really minimal system. Let's revert the patch now
to fix failing installs in bpo, e.g. master:xiaomi-nabu:console.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6408
2025-04-17 20:37:10 +02:00
Clayton Craft e9c344bf7a main/postmarketos-ui-cosmic: add gnome-keyring to pmb_recommends
This is used by the DE's upstream (popOS), and works reasonably well so
let's install it by default so that apps that depend on secret manager
things work OOTB.

[ci:skip-build]: already built successfully in CI
[ci:skip-vercheck]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6410
2025-04-15 16:06:52 -07:00
Clayton Craft 225bb4696e ci: don't run test_kernel on linux-pam-pmos (MR 6418)
The pkg name changed a while back in d3545fc941.

[ci:skip-build]: already built successfully in CI
2025-04-15 14:05:27 -07:00
Clayton Craft 7fd9e01f7f ci/pytest: make sure tests run on correct branch (MR 6418)
This works around a situation where pmbootstrap init checks out the
wrong branch and we end up executing the wrong version of the tests.

For context:
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6418#note_477266
2025-04-15 14:05:27 -07:00
Caleb Connolly 00919cd2c0 postmarketos-ui-conosle: use systemd
As with ever

Signed-off-by: Casey Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6415
[ci:skip-build]: already built successfully in CI
2025-04-14 13:39:36 -07:00
Oliver Smith d246f597de main/postmarketos-base-ui: add flatpak workaround (MR 6417)
Set GSK_RENDERER=ngl for QCOM devices to fix that GTK4 doesn't work in
flatpak for some of those.

[ci:skip-build]: already built successfully in CI
2025-04-14 21:28:17 +02:00
postmarketOS CI fd23d77201 linux-next: upgrade to next-20250414 2025-04-14 15:59:55 +00:00
fossdd 040111f247 systemd/phosh: upgrade to 0.46.0
https://gitlab.gnome.org/World/Phosh/phosh-mobile-settings/-/blob/v0.46.0/NEWS

Upstream:
- https://gitlab.alpinelinux.org/alpine/aports/-/commit/e1af3dbde45fe4e7713f3fa013814ba63e3ee77a
- https://gitlab.alpinelinux.org/alpine/aports/-/commit/49820f837d41b019dc140b5fc7aac924b3d9e90c

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6365
[ci:skip-build]: already built successfully in CI
2025-04-13 21:10:37 +02:00
Oliver Smith ff6810f821 device-pine64-pinephone: u-boot-tools in makedeps
Put u-boot-tools into makedepends to fix building the package with
current pmbootstrap master, which has stricter dependency handling.

Related: https://postmarketos.org/blog/2025/03/04/pmOS-update-2025-02/#pmbootstrap

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6407
2025-04-13 19:58:17 +02:00
Clayton Craft 2d77fa6662 ci: verify_checksums: support packages in systemd repos
In 65038ce26a the logic for also checksum checking pkgs in the systemd
repo was dropped when the logic was moved from build_changed_aports.py,
this re-introduces that logic so that checksums for packages in the
systemd repo are also checked.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6404
2025-04-12 09:17:19 -07:00
Omar Mahboubi 36875d85f2 device-xiaomi-spes: new device
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6398

[ci:skip-build]: already built successfully in CI
2025-04-12 15:13:11 +03:00
Pablo Correa GómezandClayton Craft 218d0b1745 ci: build packages in a child pipeline instead of in the main one (MR 6366)
Following Alpine's example. This allows some optimizations:
* Don't start one job per architecture simply to skip them after
  rebase and before merge
* If there are no packages, don't start the jobs at all (not true,
  gitlab bug)
* Avoid creating jobs for architectures that don't have changed
  packages, thus further reducing the unnecessary
  jobs and possibly reducing transient failures

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-04-11 12:26:20 -07:00
Pablo Correa Gómez 65038ce26a ci: split verifying package checksums into its own job (MR 6366)
This simplifies the build_changed_aports job, and makes it a lot
easier to use dynamic pipelines in the future
2025-04-11 12:02:24 -07:00
postmarketOS CI 8328a37895 linux-next: upgrade to next-20250411 2025-04-11 15:56:32 +00:00
Bart Ribbers 5598730cb4 systemd/plasma*: upgrade to 6.3.4
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6374

[ci:skip-build]: already built successfully in CI
2025-04-11 17:03:34 +02:00
Aster Boese 02434fcd88 linux-postmarketos-apple: upgrade to 6.15.0-rc1
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6392

[ci:skip-build]: already built successfully in CI
2025-04-11 16:41:11 +02:00
Alistair Francis 973e23c251 linux-purism-librem5: upgrade to 6.6.83
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6396

[ci:skip-build]: already built successfully in CI
2025-04-11 16:38:20 +02:00
postmarketOS CI 87f71e0265 linux-next: upgrade to next-20250410 2025-04-10 15:59:44 +00:00
postmarketOS CI c54467f9a8 linux-next: upgrade to next-20250409 2025-04-09 15:59:45 +00:00
WeirdTreeThing 7ff5fd8918 modem/msm-cros-efs-loader: upgrade to 1.2
adds support for systemd

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6378
[ci:skip-build]: already built successfully in CI
2025-04-09 15:35:23 +02:00
Barnabás Czémán 16e38f8760 linux-postmarketos-qcom-msm8953: upgrade to v6.14.0-r1
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6383

[ci:skip-build]: already built successfully in CI
2025-04-09 15:31:48 +02:00
Luca Weiss b0eb896358 linux-postmarketos-qcom-sc7280: upgrade to 6.14.0
No manual kconfig changes.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6386
[ci:skip-build]: already built successfully in CI
2025-04-09 15:26:51 +02:00
fossdd 60b726c56a systemd/pipewire: rebuild against libcamera 0.5.0
Upstream:
- https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/82452

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6385
[ci:skip-build]: already built successfully in CI
2025-04-09 14:30:44 +02:00
fossdd 450e347047 temp/libcamera: upgrade to 0.5.0
Upstream:
- https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/82366

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6385
2025-04-09 14:30:44 +02:00
Clayton Craft 8fb9f32e44 linux-postmarketos-qcom-laptop: upgrade to 6.14
- Updated kconfig to be compliant with latest kconfigcheck
- Dropped patch for workaround, the issue is now fixed upstream

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6216
[ci:skip-build]: already built successfully in CI
2025-04-08 15:39:06 -07:00
Caleb Connolly 72de80dd30 postmarketos-initramfs: bump pkgver and fix checksums
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6182

[ci:skip-build]: already built successfully in CI
2025-04-08 13:35:31 -07:00
Caleb Connolly 959786494a postmarketos-initramfs: add unit tests
Introduce some initial unit tests for the initramfs.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6182
2025-04-08 13:35:31 -07:00
Caleb Connolly 2e37d40f84 CI: ignore unreferenced tests/ subdir in packages
These are used for unit testing

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6182
2025-04-08 13:35:31 -07:00
Caleb Connolly 1e7fe0c4f7 CI: introduce shell unit-test infra
Introduce some basic infrastructure to allow running per-package unit
test jobs, as well as a library to support unit-testing shell scripts.

Packages can provide their own unit tests by adding a tests/
subdirectory to the package, this should contain a .gitlab-ci.yml file
with jobs that extend the .package-test job template as well as any
supporting data and scripts.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6182
2025-04-08 13:35:31 -07:00
Caleb Connolly 036c802769 CI: shellcheck: allow informative checks to fail
There are lots of informative checks which are safe to ignore but happen
a lot especially with unit testing scripts. Adjust shellcheck to only
fail on warning or above.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6182
2025-04-08 13:35:30 -07:00
Caleb Connolly 9eb1f8d1e7 postmarketos-initramfs: fix caching in find_root/boot_partition
These two functions echo their output, requiring the use of a subshell
to capture it. However they also attempt to cache the output in global
variables.

Unfortunately, we can't do both. Variables set in the subshell aren't
reflected in the parent shell.

Rework these functions so they take a variable to set as a parameter
(like the "read" command). This avoids spawning a subshell and enables
the caching functionality that was added previously.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6182
2025-04-08 13:35:30 -07:00
Luca Weiss ac68999ebe kconfigcheck: Require HID_LENOVO only for x86(_64)
Since kernel v6.14-rc3 HID_LENOVO now depends on ACPI which we don't
want to require enabling on various non-ACPI phones.

Move to it x86 & x86_64 since it's anyways apparently only useful for
"Lenovo / Thinkpad devices".

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6387
[ci:skip-build]: already built successfully in CI
2025-04-08 11:59:40 +02:00
postmarketOS CI 6e8bc38bef linux-next: upgrade to next-20250408 2025-04-08 05:00:09 +00:00
Adam Honse 1c08b6d0ff device-samsung-hlte: enable lk2nd
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6384

[ci:skip-build]: already built successfully in CI
2025-04-07 16:18:44 +02:00
postmarketOS CI f213b76840 linux-next: upgrade to next-20250407 2025-04-07 04:59:46 +00:00
Barnabás Czémán 8cbef8ecdd device-qcom-msm89x7: enable qm215 ad sdm439
Enable qm215 and sdm439 devices.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6368
[ci:skip-build]: already built successfully in CI
2025-04-05 16:44:14 +02:00
Barnabás Czémán a6292e3187 linux-postmarketos-qcom-msm89x7: Upgrade to v6.14-r0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6368
2025-04-05 16:44:09 +02:00
WeirdTreeThing c99b9d5f4c linux-postmarketos-mediatek-mt8183: upgrade to 6.12.21
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6358

[ci:skip-build]: already built successfully in CI
2025-04-04 17:24:14 +02:00
Oliver Smith 602f1a6131 main/mobile-config-firefox: upgrade to 4.6.0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6377
2025-04-03 22:00:44 -07:00
postmarketOS CI 3f52ee4eeb linux-next: upgrade to next-20250404 2025-04-04 04:56:28 +00:00
Clayton Craft bc850c6250 abuild: upgrade to 3.15-rc2
We were already running abuild > 3.14.0, but the pkgver for these forked
pkgs was wrong.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6376
2025-04-03 13:46:29 -07:00
postmarketOS CI 233e6c8722 linux-next: upgrade to next-20250403 2025-04-03 15:59:45 +00:00
Pablo Correa Gómez 329a69efa7 main/postmarketos-ui-gnome: do not use mobile version
Equivalent for GNOME of 69a4afc838

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6373
[ci:skip-build]: already built successfully in CI
2025-04-03 11:20:13 +02:00
Sicelo A. Mhlongo 9b19e3e248 main/postmarketos-base: drop udev-based firmware loading
udev no longer supports using userspace to service kernel requests for
firmware. While the kernel can be configured to send such requests to
userspace, udev will not do anything about them.

Reference: https://github.com/eudev-project/eudev/commit/3b717594600fa717cdf9bcfd0c7c1b703b245482

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6332
[ci:skip-build]: already built successfully in CI
2025-04-03 10:50:28 +02:00
panpanpanpan eb2391f497 linux-postmarketos-qcom-sm8150: Upgrade to v6.14.0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6367

[ci:skip-build]: already built successfully in CI
2025-04-02 16:58:47 +02:00
panpanpanpan 9e5298babd device-xiaomi-nabu: Add a640_zap firmware and small fixes
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6367
2025-04-02 16:58:46 +02:00
David Furey 0c6620f7a2 Allow the USB network host address to be configured rather than random
The USB network host address is used by some hosts to define the interface
name. Making the host address deterministic can simplify host network
configuration.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6232
[ci:skip-build]: already built successfully in CI
2025-04-02 12:13:41 +02:00
fossdd 5a65176f72 main/postmarketos-base-ui: remove 50-firefox-wayland.sh
firefox, firefox-esr and thunderbird already default to Wayland.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6372
[ci:skip-build]: already built successfully in CI
2025-04-02 12:09:14 +02:00
fossdd d6d96bdd7c main/postmarketos-ui-gnome: remove firefox-wayland.sh
firefox, firefox-esr and thunderbird already default to Wayland.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6372
2025-04-02 12:09:14 +02:00