1
0
Fork 0
mirror of https://gitlab.postmarketos.org/postmarketOS/pmaports.git synced 2025-07-19 18:45:13 +03:00
Commit graph

343 commits

Author SHA1 Message Date
George Brooke
31014f740c
systemd/postmarketos-base-systemd: enable cros-keyboard-systemd.service in base preset
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6529

[ci:skip-build]: already built successfully in CI
2025-05-25 11:14:57 +02:00
fossdd
2c8c7c8fee
systemd/wireplumber: upgrade to 0.5.10
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/84654

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6546
[ci:skip-build]: already built successfully in CI
2025-05-25 10:26:33 +02:00
fossdd
8f762fa7a3
systemd/pipewire: upgrade to 1.4.3
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/84674

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6546
2025-05-25 10:26:29 +02:00
Alistair Francis
3bf8208abe
postmarketos-systemd-base: add preset for 81voltd
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6494

[ci:skip-build]: already built successfully in CI
2025-05-23 16:07:09 -07:00
Clayton Craft
3b0f9a1b82
systemd/postmarketos-base-systemd: fix issue with locale.conf being ignored
Shells (and DEs!) that set environment from /etc/profile.d will end
up sourcing 20locale.sh from alpine-baselayout. This file will set
`LANG=C.UTF8`, and this will override whatever systemd-localed/systemd
sets LANG to. In other words, locale.conf is effectively ignored. I
hit this issue when debugging why the date in COSMIC was always `M05`
instead of `May`, and why various COSMIC components failed to detect the
locale (because it was set to C.UTF8)

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6535
[ci:skip-build]: already built successfully in CI
2025-05-22 17:10:47 -07:00
fossdd
fa915e5c3a
systemd/phosh: upgrade to 0.47.0
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/84018

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6532
[ci:skip-build]: already built successfully in CI
2025-05-18 20:24:24 +02:00
fossdd
83b5d2271f
systemd/gnome-session: remove dependency of _shell subpkg
Fixes https://builds.sr.ht/~postmarketos/job/1490862

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6524
[ci:skip-build]: build tested locally
2025-05-16 16:55:19 +02:00
Bhushan Shah
4907fec033
systemd/systemd-services: add CAP_WAKE_ALARM to powerdevil
With systemd 275.x merged, this works as expected and also upstream
changes for this is merged. So, let's enable this here to allow Alarm
clock in Plasma Mobile e.g. to wake up device from suspend.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6509
2025-05-16 11:38:04 +05:30
fossdd
49d5416123
*/*: remove --no-rebuild from meson test
meson 1.7.0 and later don't include test build targets in the default
build target. With --no-rebuild the test targets aren't build at all.
Removing --no-rebuild shouldn't cause any false rebuilds since the files
aren't changed between the build() and check() step.

See upstream https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/83218
and https://gitlab.alpinelinux.org/alpine/aports/-/issues/16891

[ci:skip-vercheck]
[ci:ignore-count]
[ci:skip-build]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6515
2025-05-15 19:25:15 +02:00
fossdd
9a8fce58a4
systemd/gnome-session: move gnome-shell session files into subpackage
Just some change we already have upstream for a while but forgot to copy
over here downstream

Ref: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/79185

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6520
[ci:skip-build]: already built successfully in CI
2025-05-15 19:23:17 +02:00
Pablo Correa Gómez
3fa97cac3e
extra-repos/systemd/alpine-base: remove
Since last commit, we no longer depend on it in postmarketos-base, and
this fork is not necessary

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6475
2025-05-15 10:22:04 +02:00
Pablo Correa Gómez
a00d027b40
postmarketos-base{-systemd}: provide postmarketos-base-init
Why is this needed?

To be able to test the usr-merge downstream we need to stop
depending on alpine-baselayout. For that, we need to stop depending on
alpine-base. This is a first step to create a "provides" solution
downstream between openrc and systemd systems, so that in a follow-up
commit we can recreate alpine-base downstream without the hard-coded
openrc dependency. The virtual instead of a versioned dependency means
that:
* In theory systemd and openrc could be installed in parallel. In
  practice we avoid that with !openrc in the systemd package and
  !systemd in the postmarketos-base-openrc one. There is a lot more
  work required with provides (both upstream and downstream) regarding
  things like elogind and eudev to be able to even have them
  package-wise ready to be installed in parallel
* There must always be one installed. Here we have 3 scenarios:
  * pmbootstrap install where pmbootstrap will decide which one
  * update from existing install. The virtual makes sure that APK
    won't remove the local package because versions changed
  * Manual APK work, where the provider_priority or the user will
    choose

How does this work? Hypothesis:
* openrc upgrades: the postmarketos-base-openrc remains installed,
  moves from being an "install_if", to be there because it fulfills
  the postmarketos-base-init requirements.
* systemd upgrades: postmarketos-base-systemd is still in
  /etc/apk/world, and it fulfills the new dependency in
  postmarketos-base. Nothing happens.
* openrc installs: pmbootstrap will choose one of
  postmarketos-base-openrc and postmarketos-base-systemd... But which?
  The one with the higher version?
* systemd installs: postmarketos-base-systemd is installed before
  anything else is. That means, postmarketos-base-init will already
  be satisfied when postmarketos-base gets installed, and openrc will
  not be installed

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6475
2025-05-15 10:22:03 +02:00
George Brooke
a467bfd1b1
systemd/postmarketos-base-systemd: enable keyd.service in base preset
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6499

[ci:skip-build]: already built successfully in CI, except unrelated qemu
runner failures
2025-05-14 14:15:01 -07:00
George Brooke
59f47ddc1e
systemd/systemd-services: add keyd service file
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6499
2025-05-14 20:39:34 +01:00
Alistair Francis
260c54a893
systemd/networkmanager: Support Librem5 WiFi Hotspot
This applies a patch from the Purism tree [1] to ensure that the Librem5
can create a WiFi Hotspot.

Adding a hacky patch to NetworkManager is less then ideal, but there
currently isn't a better way to get WiFi Hotspot working. pmOS already
has a fork of NetworkManager so adding one more patch isn't too much
worse. If the NetworkManager fork disapears I think this patch can also
just be dropped, but while we are maintaing NetworkManager we may as
well support the Librem5.

Hopefully Purism develop a cleaner fix for this in the future, as
Librem5 development seems to have started up again.

1: https://source.puri.sm/pureos/packages/network-manager/-/blob/pureos/latest/debian/patches/pureos/wifi-Disable-WPA-PSK-SHA256-in-AP-mode.patch

Resolves: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2508
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6421
[ci:skip-build]: already built successfully in CI
2025-05-14 11:11:20 +02:00
Jane Rachinger
655ac6716d
systemd/systemd: upgrade to 257.5
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6441

[ci:skip-build]: already built successfully in CI
2025-05-12 14:53:10 -07:00
Clayton Craft
ee13367e22
systemd/systemd-services: add docker-engine/dockerd and containerd unit files
fixes #3679

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6450
[ci:skip-build]: already built successfully in CI
2025-05-12 19:07:27 +02:00
Jane Rachinger
7bf33125d4
systemd/systemd-services: install tmpfiles into right directory
previously tmpfiles got installed under /usr/lib/tmpfiles.d/tmpfiles.d/.
This omits the tmpfiles.d in the prefix to install files under
/usr/lib/tmpfiles.d/.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6502
[ci:skip-build]: already built successfully in CI
2025-05-12 18:49:34 +02:00
Bart Ribbers
982e207f85
systemd/systemd-services: disable ddcutil integration of PowerDevil
As mentioned in https://blog.bshah.in/2025/05/07/plasma-sprint-in-graz-2025/ it's
currently broken and causes issues when kwin_wayland restarts for some reason. Better to just disable it until upstream has figured out a proper solution.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6487
[ci:skip-build]: already built successfully in CI
2025-05-12 17:15:15 +02:00
fossdd
b56d7517c4
systemd/upower: upgrade to 1.90.9
Upstream: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/82651

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6503
[ci:skip-build]: already built successfully in CI
2025-05-12 15:44:32 +02:00
Clayton Craft
905a0683c4
systemd/systemd-services: add avahi-daemon unit files
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6477

[ci:skip-build]: already built successfully in CI
2025-05-11 17:16:36 +02:00
Bart Ribbers
2b5f35c868
systemd/plasma*: upgrade to 6.3.5
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6483

[ci:skip-build]: already built successfully in CI
2025-05-11 17:04:56 +02:00
Casey Connolly
9b3769cced
treewide: update my name
[ci:skip-build]

Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6488
2025-05-10 17:59:34 +02:00
Clayton Craft
7a9acf86ec
systemd/postmarketos-base-systemd: add configuration for systemd-resolved
Installing systemd-resolved by default is still probably not a good
idea (e.g. until #1430 is fixed, at least?), but this adds config for
NM and sd-resolved to get the stub resolver set up automatically when
systemd-resolved is installed manually by a user.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6250
[ci:skip-build]: already built successfully in CI
2025-05-06 10:19:38 -07:00
Clayton Craft
a5cefca7b2
Revert: usr merge preparations
pmbootstrap isn't ready yet for these patches, so building systemd
images is broken when they are in pmaports.

This reverts commits:
23894ca89d.
6c78abbde6.
9bcdec3337.
53500854fe.
8639c2c0e4.
9d33e4d812.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6473
[ci:skip-build]: already built successfully in CI
2025-05-05 13:13:00 -07:00
Pablo Correa Gómez
23894ca89d
extra-repos/systemd/alpine-base: remove
Since last commit, we no longer depend on it in postmarketos-base, and
this fork is not necessary

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6375
[ci:skip-build]: already built successfully in CI
2025-05-05 19:29:34 +02:00
Pablo Correa Gómez
9bcdec3337
postmarketos-base{-systemd}: provide postmarketos-base-init
Why is this needed?

To be able to test the usr-merge downstream we need to stop
depending on alpine-baselayout. For that, we need to stop depending on
alpine-base. This is a first step to create a "provides" solution
downstream between openrc and systemd systems, so that in a follow-up
commit we can recreate alpine-base downstream without the hard-coded
openrc dependency. The virtual instead of a versioned dependency means
that:
* In theory systemd and openrc could be installed in parallel. In
  practice we avoid that with !openrc in the systemd package and
  !systemd in the postmarketos-base-openrc one. There is a lot more
  work required with provides (both upstream and downstream) regarding
  things like elogind and eudev to be able to even have them
  package-wise ready to be installed in parallel
* There must always be one installed. Here we have 3 scenarios:
  * pmbootstrap install where pmbootstrap will decide which one
  * update from existing install. The virtual makes sure that APK
    won't remove the local package because versions changed
  * Manual APK work, where the provider_priority or the user will
    choose

How does this work? Hypothesis:
* openrc upgrades: the postmarketos-base-openrc remains installed,
  moves from being an "install_if", to be there because it fulfills
  the postmarketos-base-init requirements.
* systemd upgrades: postmarketos-base-systemd is still in
  /etc/apk/world, and it fulfills the new dependency in
  postmarketos-base. Nothing happens.
* openrc installs: pmbootstrap will choose one of
  postmarketos-base-openrc and postmarketos-base-systemd... But which?
  The one with the higher version?
* systemd installs: postmarketos-base-systemd is installed before
  anything else is. That means, postmarketos-base-init will already
  be satisfied when postmarketos-base gets installed, and openrc will
  not be installed

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6375
2025-05-05 19:29:34 +02:00
Aster Boese
020ffd888d
systemd/postmarketos-base-systemd: add niri presets
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6449
2025-04-30 17:12:10 +02:00
Aster Boese
83e90ecc8b
systemd/systemd-services: add wlgreet service
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6449
2025-04-30 17:12:05 +02:00
Oliver Smith
7b8aadabb3
systemd: add systemd-stage0 to provides
Prepare to add a systemd-stage0 package that will replace the existing
bootstrap logic. First we need to let systemd provide systemd-stage0 and
wait until the new binary packages are built.

In follow-up patches (MR 6440), a systemd-stage0 package will be
introduced (that does not depend on systemd-enabled dbus or polkit). The
systemd/dbus and systemd/polkit will be changed to use
systemd-stage0-dev and systemd-stage0-libs as makedepends. This makes
the following bootstrap work when building without a binary repository:

1. systemd-stage0
2. dbus
3. polkit
4. systemd

If we already have the binary repository, dbus and polkit will be built
against systemd proper as it provides systemd-stage0 packages with this
patch.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6451
[ci:skip-build]: already built successfully in CI
2025-04-29 10:30:35 -07:00
Caleb Connolly
9fbdd4e5cf
systemd/*: rebuild with abuild patches
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6380

[ci:skip-build]: already built successfully in CI
2025-04-29 09:46:30 -07:00
Caleb Connolly
f0b81c44b6
abuild: systemd fixes
* upgrade/rebased patches onto 3.15-rc3
* don't stop services on removal
* run preset with --force to replace symlinks (like
  display-manager.service alias).

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6380
2025-04-29 09:46:30 -07:00
Oliver Smith
992ef34c9d
systemd/gnome-session: remove _shell subpackage
Remove the _shell subpackage that Alpine has from our forked package, as
pmbootstrap currently can't handle it. It tries to build the dependency
gnome-shell for armhf even through this, even though it has !armhf.

A WIP fix for this is in pmbootstrap MR 2592. But let's try to get the
upstream compat check green again first.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6461
[ci:skip-build]: already built successfully in CI
2025-04-28 19:57:15 +02:00
Oliver Smith
962688a441
systemd/mutter: upgrade to 48.2
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6461
2025-04-28 19:57:15 +02:00
Oliver Smith
ee887bdbfc
systemd/gnome-shell: upgrade to 48.1
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6461
2025-04-28 19:57:15 +02:00
Oliver Smith
ef7f756fcd
systemd/gnome-settings-daemon: upgrade to 48.1
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6461
2025-04-28 19:57:15 +02:00
Oliver Smith
0313a5af0e
systemd/gnome-session: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6461
2025-04-28 19:57:15 +02:00
Oliver Smith
d1b63efb7a
systemd/gnome-keyring: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6461
2025-04-28 19:57:11 +02:00
Oliver Smith
02f9a9da4b
systemd/upower: upgrade to 1.90.8
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6462
2025-04-27 21:10:26 +02:00
Oliver Smith
0ba46961bb
systemd/dsme: upgrade to 0.84.6
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6462
2025-04-27 21:10:15 +02:00
Oliver Smith
303f1b0052
systemd/drkonqi: upgrade to 6.3.4
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6462
2025-04-27 21:10:14 +02:00
Robert Mader
af116e013d
systemd/pipewire: upgrade to 1.4.2
And switch the gitlab.freedesktop.org mirror again, see 95a5fc5dff

Release notes:
https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/1.4.2

Notably this updates makes PW reliably stop on logout on systemd.
Logging out and in again previously would often leave cameras unusable.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6448
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6448
[ci:skip-build]: unable to test armhf, armv7, riscv64 because qemu runner busted, everything else OK
2025-04-24 15:17:31 -07:00
Clayton Craft
60778a8e82
systemd/systemd-services: remove zram-init -s param from zram_swap.service
This causes zram-init to write to a device attr that was dropped from the 6.15 kernel, and fail:

4127e13c93

Reported upstream:
https://github.com/vaeth/zram-init/issues/50

fixes #3677

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6443
[ci:skip-build]: already built successfully in CI
2025-04-23 13:59:59 -07:00
fossdd
79deaef247
systemd/systemd-services: re-add fbd-alert-slider.service
Was previously added (052b0dc801) and removed (4e0c698208) again.
But since feedbackd from Alpine doesn't provide the service again,
re-add the service.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6401
[ci:skip-build]: already built successfully in CI
2025-04-23 10:14:00 -07:00
jane400
f3659cf8d5
systemd/linux-pam-pmos: drop
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6229

[ci:skip-build]: already built successfully in CI
2025-04-22 09:38:33 -07:00
jane400
af0127e6cd
systemd/postmarketos-base-systemd: use aports linux-pam
https://git.alpinelinux.org/aports/commit/main/linux-pam/APKBUILD?id=7f80c5aed763d12f46a92ea73d5d3ea979dfa7c9

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6229
2025-04-22 09:38:33 -07:00
Stefan Hansson
5d12875a20
systemd: remove duplicated option "wheel-group=true"
This is specified later in the abuild-meson invocation. Remove the extra
one to avoid confusion.

[ci:skip-vercheck]: Doesn't change the built package

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6406
2025-04-20 21:14:17 -07: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:
- e1af3dbde4
- 49820f837d

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
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
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