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

343 commits

Author SHA1 Message Date
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
fossdd
0994d42231
systemd/gnome-shell-mobile: strictly depend on mutter-mobile
Even though abuild tracks that gnome-shell-mobile depends on
libmobile.so, don't tempt apk to install the non-mobile variant.

Just like added to temp/gnome-shell-mobile in 4321b29b99

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6371
2025-04-01 23:26:43 +02:00
fossdd
5f1fee66e8
systemd/gnome-shell-mobile: fix missing makedependency
The issue didn't exist locally or in CI because pmb already installed py3-docutils
as a makedependency of mutter-mobile

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6369
2025-04-01 21:00:08 +02:00
fossdd
1ffebc4599
systemd/gnome-settings-daemon-mobile: provide -lang as g-s-d-lang
The provides is needed that g-s-d-lang doesnt get installed due to
the install_if to g-s-d.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6361
2025-04-01 20:15:27 +02:00
fossdd
06af3bdb82
systemd/gnome-settings-daemon-mobile: split systemd
The provides is needed that g-s-d-systemd doesnt get installed due to
the install_if to g-s-d.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6361
2025-04-01 20:14:43 +02:00
fossdd
d2cf05663a
systemd/gnome-shell-mobile: upgrade to 48.0
https://gitlab.gnome.org/verdre/gnome-shell-mobile/-/blob/48.mobile.0/CHANGELOG.md

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6361
2025-04-01 20:14:43 +02:00
fossdd
2c0fa10988
systemd/mutter-mobile: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6361
2025-04-01 20:14:43 +02:00
fossdd
9aa018e762
systemd/gnome-settings-daemon-mobile: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6361
2025-04-01 20:14:43 +02:00
Oliver Smith
9c9c62143b
systemd: rework trigger script
* apk-tools passes the directories it triggers on as arguments to the
  trigger script. Use them to only run the relevant parts of the
  triggers.
* Remove "|| :" from commands, as we run the script without "set -e", it
  won't fail if a single command fails. Put explicit "exit 0" at the end
  to ensure this even if the last command beforehand failed.
* Print messages for each action so we know what is happening.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6346
[ci:skip-build]: already built successfully in CI
2025-03-27 20:33:05 +01:00
Caleb Connolly
f2e83e42eb
systemd-services/tailscale: use nftables backend
The iptables frontend for nftables seems to not play nice. Since we use
nftables in postmarketOS anyway, tell tailscale to use it directly. This
fixes routing not working and the following error seen in tailscale status

- adding [-i tailscale0 -j MARK --set-mark 0x40000/0xff0000] in v4/filter/ts-forward: running [/usr/sbin/iptables -t filter -A ts-forward -i tailscale0 -j MARK --set-mark 0x40000/0xff0000 --wait]: exit status 2: Warning: Extension MARK revision 0 not supported, missing kernel module?

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6344
2025-03-26 20:56:05 +01:00
Clayton Craft
2d103255db
systemd/systemd: add patch to install legacy tmpfiles config
This patch is in 257, so we can drop it when upgrading. Without this
patch, we'd have to the enable sysv compat stuff in systemd just to get
this legacy.conf file generated/installed, which totally doesn't seem
worth it (the sysv compat stuff seems to be a lot!)

Fixes #3616

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6352
[ci:skip-build]: already built successfully in CI
2025-03-26 20:52:30 +01:00
Clayton Craft
4e3a7ad0bf
systemd/systemd-services: fix install_if, try 2
Typo caused an invalid install_if to be generated, convincing apk to remove pkgs

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6351
[ci:skip-build]: already built successfully in CI
2025-03-23 10:14:56 -07:00
Oliver Smith
a0cc21b80c
systemd/systemd-services: fix install_if
It's important to use a versioned constraint so that if the
package is ever removed from the binary repository it will actually be
removed from the users system too.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6347
[ci:skip-build]: already built successfully in CI
2025-03-23 16:10:36 +01:00
Oliver Smith
c3e868d073
systemd/pipewire: pulse-systemd: add install_if
Fixes: issue 3620

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6347
2025-03-23 16:10:36 +01:00
Bart Ribbers
ed550137da
systemd/kjournald: upgrade to 24.12.3
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6339
[ci:skip-build]: already built successfully in CI
2025-03-23 11:12:40 +01:00
Oliver Smith
250e128249
systemd/plasma-workspace: set !check
As discussed with PureTryOut, let's skip checks in pmaports for this
one.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6339
2025-03-23 11:12:23 +01:00
Bart Ribbers
dc7736577e
systemd/plasma*: upgrade to 6.3.3
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6339
2025-03-23 11:12:13 +01:00
Clayton Craft
a375ff0451
systemd/systemd: move udevadm into udev subpkg
Fixes a conflict between systemd and systemd-udev where apk thinks they both provide cmd:udevadm:

ERROR: unable to select packages:
  systemd-256.11-r2:
    conflicts: systemd-udevd-256.11-r2[cmd:udevadm=256.11-r2]
  systemd-udevd-256.11-r2:
    conflicts: systemd-256.11-r2[cmd:udevadm=256.11-r2]

[ci:ignore-count]
[ci:skip-build] already built in CI

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:33 +00:00
Clayton Craft
eb8b32bdaa
systemd/pipewire: update install script to match aports
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:29 +00:00
Caleb Connolly
46ec88715c
systemd/cups: restart on upgrade
Mark cups.service as requiring a restart after package upgrade.
default_systemd will pick this up and generate the post-upgrade script
for us.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:29 +00:00
Caleb Connolly
a679e5132c
systemd/*: use new abuild systemd helpers
Adjust everything to use the new systemd abuild helpers. These generate
the post-install/pre-deinstall and post-upgrade scripts automagically,
and abuild now provides some helpers where it's necessary to finegle
things a bit (e.g. see the pipewire-pulse-systemd subpackage).

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/6334
2025-03-22 17:10:29 +00:00
Caleb Connolly
310ce2f500
abuild: switch to reworked systemd support
Switch to the new refactored systemd service support.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:29 +00:00
Caleb Connolly
659b9c4394
systemd: add triggers for reloading/restarting services
What we want is to reload services that need to be reloaded after
upgrade (those that are marked with needs-reload or needs-restart), to
handle systemctl daemon-reload too, and to reload udev, sysusers,
tmpfiles, etc.

This all needs to be done in a particular order, which we would ideally
do with different triggers (and triggers with consistent ordering!), but
apk can't do that so instead we have this inefficient solution which
will probably do a bunch of useless processing. ah well

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:29 +00:00
Caleb Connolly
0ddba42a61
systemd-services: use systemd funcs from abuild
Use the new default_systemd_install_scripts function from [1]. This
generates the install scripts automatically and detects what services
need to be preset/disabled/reloaded.

default_systemd wasn't used on purpose, see the comment in the patch for
an explanation.

[1]: 85969550e4

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/6334
2025-03-22 17:10:28 +00:00
Caleb Connolly
16126b25a4
systemd-services: fix usb-moded-systemd package name
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:28 +00:00
Caleb Connolly
5f74dc3f60
systemd: add stub systemd-apk-macros to get packages building
Since we have cyclical dependencies we need this stub for everything to
build, once the binary repo is updated to drop all uses we can remove
it.

This is now all handled in abuild directly

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:18 +00:00
fossdd
25c8c04b44
systemd/mutter: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6337

[ci:skip-build]: already built successfully in CI
2025-03-19 22:04:22 +01:00
fossdd
0cfd91bb1a
systemd/gdm: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6337
2025-03-19 22:04:18 +01:00
fossdd
e14e379824
systemd/gnome-shell: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6337
2025-03-19 22:04:15 +01:00
fossdd
040dda1c24
systemd/gnome-settings-daemon: upgrade to 48.0
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6337
2025-03-19 22:04:11 +01:00
Clayton Craft
2beeeca388
systemd/systemd-services: add unit files for alsa-utils
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6287
2025-03-17 08:47:11 +01:00
Clayton Craft
f0a72fc9e1
systemd/postmarketos-base-systemd: add presets for alsa-utils
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6287
2025-03-17 08:46:48 +01:00
Oliver Smith
95a5fc5dff
systemd/{pipewire,networkmanager}: use github mirror
The gitlab.freedesktop.org mirror is currently not available:
> Currently planned outage: 2025-03-16 -> 2025-03-22

Let's use the github.com mirror until then. Impressively they have the
same checksum.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290
2025-03-16 21:05:53 +01:00
Oliver Smith
a7a53ade27
systemd/multipath-tools: upgrade to 0.11.1
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290

[ci:skip-build]: already built successfully in CI
2025-03-16 21:05:53 +01:00
Oliver Smith
3191d49ae0
systemd/drkonqi: upgrade to 6.3.2
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290
2025-03-16 21:05:53 +01:00
fossdd
2372400b69
systemd/networkmanager: upgrade to 1.52.0
Upstream:
- ec41b2fc0f

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290
2025-03-16 21:05:53 +01:00
fossdd
49ec30d635
systemd/mutter: upgrade to 47.6
Upstream:
- b541cbddc6

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290
2025-03-16 21:05:53 +01:00
Oliver Smith
ea30fd0e26
systemd/xorg-server: upgrade 21.1.16
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290
2025-03-16 21:05:53 +01:00
fossdd
3c0cba8a7e
systemd/gnome-shell: upgrade to 47.5
Upstream:
- 10392e5e13

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290
2025-03-16 21:05:53 +01:00
Oliver Smith
fda0890ed4
systemd/pipewire: disable tests
One of the tests fails with a timeout when building through pmbootstrap
and our gitlab CI. Disable it for now, as the package is very similar to
the Alpine package this shouldn't be much of a problem.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290
2025-03-16 21:05:53 +01:00
fossdd
05336c554d
systemd/pipewire: upgrade to 1.4.1
Upstream:
- a0b4c813c6
- a1c2f5b559
- 5f7e0b7cbb
- d93edb2de9
- https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/81346

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6290
2025-03-16 21:05:53 +01:00
Clayton Craft
8947f03100
systemd/postmarketos-base-systemd: add some missing user presets 2025-03-14 10:20:42 -07:00
Clayton Craft
8447742b20
systemd/systemd: ship a default user preset
This adds a default preset for user units, that disables them by
default. This behavior is identical to what we do with system presets,
which means that if we want a unit enabled by default then we need
to add a preset for it or rely on some other unit to pull it in
automatically. Without this default preset, user units are enabled by
default when `systemctl preset` is run on them, which may not always be
the desired behavior (i.e. we don't want this behavior with system units).
2025-03-14 10:20:42 -07:00
jane400
d9c21e9058
systemd/postmarketos-base-systemd: run systemctl on preset changes for already installed units (MR 6120)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>

[ci:skip-build]: already built successfully in CI
2025-03-14 10:20:37 -07:00
Clayton Craft
2679dce766
systemd/dbus: upgrade to 1.16.2
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6289
2025-03-14 15:41:57 +01:00
Clayton Craft
ad6dc88dd7
systemd/systemd-services: add unit files for COSMIC greeter (MR 6274) 2025-03-13 10:57:35 -07:00
Clayton Craft
71df49fd16
systemd/postmarketos-base-systemd: add preset for COSMIC greeter (MR 6274) 2025-03-13 10:57:35 -07:00
Caleb Connolly
993429917f
HACK: systemd: dbus: disable bootstrap logic (MR 6313)
Get dbus building in edge again. This regressed due to the cross-native2
work in pmb which stopped using abuild to install makedepends and does
it in pmb instead. But pmbootstrap's parsing logic can't handle
conditions in the APKBUILD.

Related: issue 3604
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
[ci:skip-build]: already built successfully in CI
2025-03-12 22:08:45 +01:00
fossdd
85e415e5e7
systemd/postmarketos-base-systemd: add system preset for kodi (MR 6273)
[ci:skip-build]: already built successfully in CI
2025-03-12 21:11:48 +01:00
fossdd
adada180b2
systemd/systemd-services: add kodi service (MR 6273) 2025-03-12 21:11:48 +01:00