Commit Graph
2805 Commits
Author SHA1 Message Date
Pablo Correa Gómez bce020ea36 postmarketos-mkinitfs-hook-ci: limit repetition counts to 3
As suggested by Martin in
https://gitlab.postmarketos.org/postmarketOS/postmarketos-mkinitfs/-/merge_requests/63#note_485885

In the process, move the pkgver to integers, since similar to device
packages, nothing else makes sense here.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6659
[ci:skip-build]: already built successfully in CI
2025-06-16 15:57:56 +02:00
Clayton Craft 72c8e7c6c1 main/boot-deploy: upgrade to 0.19.0
Changelog: https://gitlab.postmarketos.org/postmarketOS/boot-deploy/-/tags/0.19.0

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6656
2025-06-15 00:17:35 -07:00
Oliver Smith f929604351 main/postmarketos-artwork: set v25.06 wallpaper
The new wallpaper is called Evergreen, by Dikasp!

Related: https://social.treehouse.systems/@postmarketOS/114655194291545930
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6652
2025-06-12 21:53:05 +02:00
Oliver Smith 59341cab2e main/postmarketos-release-upgrade: upgrade to 1.9.0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6632

[ci:skip-build]: already built successfully in CI
2025-06-11 22:44:56 +02:00
Clayton Craft 492fead1ce main/postmarketos-base-ui: stop inhibiting sleep/suspend during audio playback
This test is apparently wrong a lot now, so let's disable it. Audio
apps should inhibit sleep/suspend on their own, or worst case you can do
something like `systemd-inhibit <audio app>`.

We still want sleep-inhibitor around for now to inhibit sleep/shutdown
when an SSH client is connected or when apk is running.

Fixes #3745

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6612
[ci:skip-build]: already built successfully in CI
2025-06-10 12:17:36 +02:00
Shinjo Park d06dfedb06 main/tizen-mkdzimage: fix source repository URL
Since https://git.tizen.org is not reachable for a logn amount of time, switch
the upstream URL to postmarketOS GitLab instead.

Fixes issue #3752.

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

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6628
2025-06-09 13:52:21 +02:00
Oliver Smith 1418ffce6e main/postmarketos-ui-phosh: Stevia: add arrow keys
Configure the new keyboard Stevia to have arrow keys by default in the
terminal. The previous default terminal Squeekboard had separate arrow
keys as well.

While it is possible to move up/down/left/right with Stevia after
pressing the space bar and moving the finger into a given direction, I
found that it:
* Is less precise (e.g. going up exactly 1 command in the terminal,
  which is my main use case, requires some effort to not go up 2 or 3
  commands by accident).
* Takes longer to do this action vs. having a separate button (you need
  to press space for ~a second until it goes into that special movement
  mode and then take more time to carefully move where you want, a
  simple button press is much quicker).
* I saw other users note on Mastodon that moving down is cumbersome for
  them, given that there is not much space towards the bottom of the
  screen below the space bar.

Having a lot of buttons in the list is fine IMHO, they can be scrolled
through quickly by swiping left and right.

Related: https://fosstodon.org/@phosh/114026426425496074

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6609
[ci:skip-build]: already built successfully in CI
2025-06-05 19:56:13 +02:00
fossdd b4bf724ac1 main/postmarketos-ui-phosh: actually make p-o-s uninstallable
That's the best i came up with without changing the provider priorities
in Alpine upstream. This would also work but since p-o-s- self-describes
it self as the secondary choice for Phosh's OSK I chose this.

> Stevia is an alternative keyboard for Phosh. It can replace the default OSK
> squeekboard.

To switch from our default away:

	apk add !postmarketos-ui-phosh-default-osk <squeekboard/phosh-osk-stub>

If you then want to switch again:

	apk add <new osk> !<current osk>

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6605
[ci:skip-build]: already built successfully in CI
2025-06-04 22:56:44 +02:00
Pablo Correa Gómez 6cd2c5bc2b main/postmarketos-base: add main package replaces for baselayout and release
Otherwise upgrades will fail since the files amoved where owned by the
main package before

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6602
[ci:skip-build]: already built successfully in CI
2025-06-04 18:14:37 +02:00
Clayton Craft c9790be804 main/postmarketos-base: add -release and -baselayout subpkgs
This splits off two new subpackages in postmarketos-base, allowing for
tools (e.g. mkosi) to build a very small "postmarketOS" rootfs.

postmarketos-base depends on these two new packages, so there should be
no functional change outside of enabling this specific use case.

The versioned replaces is meant to fix installing this new package on
existing installs. In some cases apk installs this package *before*
installing the `postmarketos-base-systemd` update that accompanies this
patch.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6565
2025-06-04 09:09:36 -07:00
fossdd 4af9d991e7 main/postmarketos-ui-phosh: switch to phosh-osk-stub
Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2628

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6596
[ci:skip-build]: already built successfully in CI
2025-06-04 17:30:57 +02:00
WeirdTreeThing 34812abec4 main/postmarketos-base-ui: Add alsa-utils to postmarketos-base-ui-audio
The UCM for some devices, such as MT8192 Chromebooks, relies on the
alsactl save/restore service to initialize default audio mixer settings.
Without this, the audio server is unable to control the sound card.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6556
[ci:skip-build]: already built successfully in CI
2025-06-03 15:19:34 -07:00
Robert Eckelmann 0094f42267 main/postmarketos-base-ui: revert mali workaround for Mediatek SoCs
reverts !6470
to be merged with !6589

Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6595
[ci:skip-build]: already built successfully in CI
2025-06-03 15:05:20 -07:00
Clayton Craft 97b9d77632 main/postmarketos-qemu-common: disable hw cursors on wlroots
This partially works around #2246

This is setting a var specific to wlroots, BUT many UIs use wlroots and some
(phosh) vendor it so adding a single text file with 1 line in it seems better
than having at least 2 extra subpackages (1 for installing if phoc, 1 for
installing if wlroots, and others?)

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6508
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6508
2025-06-03 12:27:58 +02:00
Clayton Craft 6272fcbf15 main/postmarketos-qemu-common: new aport
This package contains common config shared between all qemu "devices"

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6508
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6508
2025-06-03 12:27:57 +02:00
Pablo Correa Gómez 18cd11d7fc main: postmarketos-ui-*: mark UIs with DRM requirement
"pmb:gpu-accel" is deprecated now, replace it with "pmb:drm"

Set "pmb:drm" for UIs to hide them for installations
without DRM support (mostly downstream).

This also bumps the minimum required version for pmbootstrap, since it
requires pmb to support the renamed variable. 2.4.0 is the first
release with such change.

Closes #2999
Closes #1481

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6419

[ci:ignore-count]: The MR just includes many packages.
[ci:skip-vercheck]: Changes don't affect built packages.
[ci:skip-build]: already built successfully in CI
2025-06-02 23:27:40 +02:00
Luca Weiss 3c8552ecc1 main/hwtest: add missing py3-setuptools makedepend
This is required to build.

Take the opportunity to clean up the APKBUILD a bit.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6594
[ci:skip-build]: already built successfully in CI
2025-06-02 22:43:00 +02:00
Clayton Craft c9c7583282 main/devicepkg-utils: add missing makedepend
pmb is more strict about this

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6583
[ci:skip-build]: already built successfully in CI
2025-06-01 12:46:01 +02:00
Anjandev Momi 8998931585 main/postmarketos-ui-sxmo-de-dwm: enable systemd
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5831
2025-06-01 12:38:46 +02:00
Anjandev Momi af2c2e6b1f main/postmarketos-ui-sxmo-de-sway: enable systemd
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5831
2025-06-01 12:38:42 +02:00
fossdd 6fe7b95c67 main/postmarketos-base-ui-gnome: replace epiphany with firefox in the dash
By default, we ship firefox-esr in place of Epiphany as web browser, so
also show Firefox as Browser in the Dash.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6560
[ci:skip-build]: already built successfully in CI
2025-05-29 21:37:38 +02:00
Clayton Craft 4edb3d9cbc main/postmarketos-base-ui-gnome: add gapless to pmb_recommends
This seems to be a nice, featureful music player to ship by default for
GNOME-based UIs that works well on mobile and desktop

Fixes #3544

[ci:skip-vercheck] pmb_recommends change

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6558
2025-05-27 11:50:42 +02:00
fossdd da610ac7a7 main/postmarketos-ui-niri: remove .pre-install hook
Group and user are already added by Alpine aports:
https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/greetd/greetd.pre-install

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6526
[ci:skip-build]: already built successfully in CI
2025-05-26 13:11:21 +02:00
Oliver Smith cae33e65a8 main/postmarketos-ui-framebufferphone: remove
fbp has been removed in Alpine testing:
https://gitlab.alpinelinux.org/alpine/aports/-/commit/10434a9f8de50b445483e8640393cbcdf3577e1d

"Abandoned, hasn't been buildable since at least Zig 0.12."

Alpine has Zig 0.14.1 currently.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6553
2025-05-25 21:55:55 +02:00
fossdd 8d0ca1d895 main/postmarketos-welcome: upgrade to 0.9.1
https://gitlab.postmarketos.org/postmarketOS/postmarketos-welcome/-/tags/0.9.1

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6551
2025-05-25 16:38:38 +02:00
George Brooke f2982e9fd3 main/cros-keyboard-map: add systemd service and supporting files
Using systemd-tmpfiles to create the directory in /tmp seems to be the most systemd way to do it.
The config file for the systemd has a different format because the format of the openrc file doesn't lend itself to being used in a systemd service.

Thanks to @craftyguy for suggested fix.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6529
2025-05-25 11:14:57 +02:00
Clayton Craft 10f9386920 main/swclock-offset: upgrade to 0.2.6
Small bugfix release, see upstream changelog:
https://gitlab.postmarketos.org/postmarketOS/swclock-offset/-/tags/0.2.6

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6545
[ci:skip-build]: already built successfully in CI
2025-05-24 20:23:39 -07:00
exkc 4e81c720f7 main/postmarketos-ui-buffyboard: rotate the keyboard based on the the rotation of framebuffer
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6534
2025-05-24 20:07:04 -07:00
Clayton Craft 3592e6dcee main/postmarketos-mkinitfs: upgrade to 2.6.2
Includes an important fix for /usr merged installs

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6539
[ci:skip-build]: already built successfully in CI
2025-05-20 14:33:07 -07:00
fossdd 3ce9b5a347 main/postmarketos-ui-gnome-mobile: depend on xdp-gnome (MR 6523)
moved from -base-ui-gnome

[ci:skip-build]: already built successfully in CI
2025-05-19 13:36:14 +02:00
fossdd 7cb69028ec main/postmarketos-ui-gnome: depend on xdp-gnome (MR 6523)
moved from -base-ui-gnome
2025-05-19 13:36:14 +02:00
fossdd 6a0e5b8f89 main/postmarketos-base-ui-gnome: remove xdp-gnome dependency (MR 6523)
shoudn't be installed on phosh where it's useless and just steals boot
time
2025-05-19 13:36:14 +02:00
Pablo Correa Gómez 6cad7cea9b main/systemd-boot: remove
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6506
2025-05-15 22:48:30 +02:00
Luca Weiss 06a3fd31a7 main/postmarketos-base-downstream: fix conflict with systemd-udevd (MR 6491)
ERROR: postmarketos-base-downstream-disable-udev-v4l-2-r1: trying to overwrite usr/lib/udev/rules.d/60-persistent-v4l.rules owned by systemd-udevd-257.5-r0.
2025-05-15 16:20:26 +01:00
fossdd 0b6019b013 main/postmarketos-artwork: enable lockscreen background for phosh
By default it is disabled by upstream[1], but if we use a wallpaper
thats adapted to mobile (it is anyways) and g-c-c sets both wallpapers
already.

If users want to change the lockscreen wallpaper only, they have to use
p-m-s.

[1] https://gitlab.gnome.org/World/Phosh/phosh/-/commit/24a255401288e3793a3686bf5c605d1c55bb1176

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6511
[ci:skip-build]: already built successfully in CI
2025-05-15 16:05:04 +02:00
fossdd 2f55b55832 main/postmarketos-welcome: upgrade to 0.9.0
https://gitlab.postmarketos.org/postmarketOS/postmarketos-welcome/-/tags/0.9.0

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6510
[ci:skip-build]: already built successfully in CI
2025-05-15 10:29:19 +02:00
Pablo Correa Gómez 196748d419 main/postmarketos-base: don't depend on alpine-base
alpine-base directly depends on openrc. We have had different[1]
conversations[2] with upstream. And the main conclussion[3] has been:
if you want to do something different, just depend on things
yourself. This is indeed what docker images do. So let's just get the
things that we want from alpine base (quite some!), and ignore what we
don't want (openrc, busybox openrc and init packages). Up until commit
12d125ab8b72f0249fd6aae000170a4fa78a83ab in pmbootstrap every
postmarketOS installation would have alpine-base in
/etc/apk/world. Therefore, we add a versioned provides to
postmarketos-base with a very high version, which conflicts with the
upstream version but should be chosen instead.

alpine-conf is now a dependency of postmarketos-base-openrc, since it
dependes on openrc for calling setup-*
scripts. postmarketos-base-systemd already implements those needed.

Contrary to the first attempt[4], I have kept the dependency on
alpine-release. Changes to that are independent to the usr-merge, and
can be done as a follow-up.

This should allow to drop the fork of alpine-base currently in the
systemd-extra repository!

To this day, every single pmOS installation will have alpine-base in
the world file, which means that systemd installs will the forked
package until users specifically run "apk del alpine-base". We must
add this to release notes and to an edge blog post. Alternatively we
could have an empty package with a very high version providing
alpine-base. This also means that to get installs to work, we need a
pmbootstrap release with[5] on it.

[1] https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/63935
[2] https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/71686
[3] https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/71686#note_435428
[4] https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5026
[5] https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2580

Fixes #2806

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
Pablo Correa Gómez f1b840646c main/postmarketos-base: remove unnecessary old replaces
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6475
2025-05-15 10:21:48 +02:00
Pablo Correa Gómez d717031716 main/postmarketos-base{-ui}: move bootsplash dependency to base-ui
Forward port from
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/5026,
it's a small cleanup, since the bootsplash better belongs to the
base-ui package.

In the process, order alphabetically dependencies for postmarketos-base

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6475
2025-05-15 10:21:48 +02:00
Pablo Correa Gómez 4a12c98778 main/postmarketos-base-ui: remove "_" from beginning of split functions
This is inconsistent through the file. In addition, the "_" prefix is
often used when a function is not directly a split function from a
subpackage, but a "private" function that others call. So remove it to
make it clear that these are subpackage split functions

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6475
2025-05-15 10:21:48 +02:00
fossdd 8257d957f0 main/postmarketos-ui-lomiri: set button-layout override to ":"
"" is not the correct way since applications can't split it by colon and
causes unexpected behaviours like https://gitlab.gnome.org/GNOME/libadwaita/-/issues/1032

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6478
2025-05-12 21:15:35 +02:00
Caleb Connolly f74694ae90 postmarketos-base: move sshd config drop-in from base-ui
Introduce a new postmarketos-base-ssh subpackage to contain this config
file, since we ALWAYS want this when openssh-server-pam is installed,
even if we don't have base-ui (e.g. because someone installed openssh on
top of a "none" install).

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6239
2025-05-12 19:31:36 +02:00
Luca Weiss fe81903cf4 main/gnome-shell-theme-e-ink: move from device/testing/ (and fix build)
This package doesn't really belong into the device/testing/ directory,
it's quite a regular package, so move it to main.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6490
[ci:skip-build]: already built successfully in CI
2025-05-11 17:02:04 +02:00
Oliver Smith 17def54246 main/bootrr: fix subpackages line
Fix for:
  >>> ERROR: bootrr: duplicate (sub-)package named bootrr

Looks like this has been a typo from when the APKBUILD was created, but
abuild only started complaining about it recently:
https://gitlab.alpinelinux.org/alpine/abuild/-/commit/d92f75509447011168bc0c71b156c97f06099007

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6496
[ci:skip-build]: verified locally that it builds
2025-05-11 16:47:53 +02:00
Clayton Craft 92de2f095a main/postmarketos-base-ui: revert qcom/adreno flatpak workaround
This reverts commit d246f597de.

The Mesa bug was fixed upstream[1] and the fix is in Mesa 25.0.5.

1. https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34628

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6472
[ci:skip-build]: already built successfully in CI
2025-05-10 22:50:22 -07: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
fossdd 43b560f778 main/postmarketos-base-ui-gnome: apply green-accent gsettings override to phosh
The value after the colon is defines to apply only to the
XDG_CURRENT_DESKTOP. Phosh upstream defines it for setting a yellow
accent color and no background image, and therefore takes priority if we
don't enforce it to the XDG_CURRENT_DESKTOP value aswell.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6479
2025-05-07 19:52:32 +02:00
fossdd 6e3a1d838b main/postmarketos-artwork: apply pmOS-wallpaper gsettings override to phosh
The value after the colon is defines to apply only to the
XDG_CURRENT_DESKTOP. Phosh upstream defines it for setting a yellow
accent color and no background image, and therefore takes priority if we
don't enforce it to the XDG_CURRENT_DESKTOP value aswell.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6479
2025-05-07 19:52:32 +02:00
fossdd e704400c1f main/postmarketos-ui-phosh: depend on sound-theme-phosh
Enables the "Sound theme for Phosh" which contains sounds like
cellbroadcast.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6480
[ci:skip-build]: already built successfully in CI
2025-05-07 17:59:06 +02:00