Commit Graph
100 Commits
Author SHA1 Message Date
Stefan Hansson cfff222fb2 CI: Add mypy check
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7960>
2026-03-12 18:53:15 +00:00
Stefan Hansson 38434fbed9 CI: lib/generate_build_jobs.py: Fix type error
Caught by mypy.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7960>
2026-03-12 18:53:15 +00:00
Stefan Hansson cdab235aba linux-postmarketos-qcom-msm8974: Fix kconfig
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7718>
2026-03-02 08:11:53 +00:00
Stefan Hansson 3d84d40699 deviceinfo_schema: Document zram_swap_algo
Data mostly taken from the wiki.

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4352

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8042>
2026-02-19 15:56:01 +01:00
Stefan Hansson 7204f5fdf3 deviceinfo_schema.toml: Remove "Device" category and use "Device metadata"
I'm not sure how this happened, but I'm pretty sure it was
unintentional.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8039>
2026-02-19 06:03:57 +00:00
Stefan Hansson b586a6d949 docs: specify path to deviceinfo reference when generating it
Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4333

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8011>
2026-02-14 20:05:28 +00:00
Stefan Hansson 8316a6260d main/dint: upgrade to 0.1.1
Helps https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4333

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8005>
2026-02-14 02:09:52 +00:00
Stefan Hansson d6834e89f3 docs: raise exception if dint reports an error
Currently, even if dint fails for some reason, the documentation
generation continues on. This is not good as it hides problems until
someone manually discovers them. Fix this by checking the exit code of
dint and raising an exception if it isn't zero.

To facilitate this, also replace call() with run() since it's a more
modern and more flexible API.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7982>
2026-02-11 01:01:45 +00:00
Stefan Hansson 8145270334 CI: build docs on changes to build-docs.sh script
Otherwise we may end up with errors that aren't noticed until something
else triggers this.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7983>
2026-02-10 10:16:54 +01:00
Stefan Hansson b9db67e42d CI: build and deploy docs on deviceinfo schema change
The deviceinfo schema is used to generate the "Deviceinfo Reference"
page, so we should consider changes to it as part of changes to the
documentation.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7983>
2026-02-10 10:16:52 +01:00
Stefan Hansson 6b4e097ddc main/dint: upgrade to 0.1.0
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7958>
2026-02-08 18:13:51 +00:00
Stefan Hansson 367d72c17e deviceinfo_schema.toml: move from dint repository
In preparation for a future dint version that reads this file from the
current working directory with a fallback to reading it from the
repository root.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7951>
2026-02-08 15:36:50 +00:00
Stefan Hansson 9727816848 main/dint: upgrade to 0.0.8
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7924>
2026-02-04 18:10:16 +00:00
Stefan Hansson cc2725aa49 CI: remove pmb:gpu-accel from custom_valid_options
This is not used anywhere in pmaports any more and it has been
deprecated for a while, so let's finally get rid of it.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7847>
2026-01-28 13:21:45 +00:00
Stefan Hansson a5871722a1 main/postmarketos-base-ui-plasma: remove pmb:gpu-accel
The pmb:gpu-accel option is deprecated in favour of pmb:drm. However, it
doesn't do anything when applied to packages that aren't UI packages
(base-ui packages aren't UI packages), so just remove it instead of
replacing it with the proper option.

[ci:skip-vercheck]: Doesn't affect resulting package, only read by
pmbootstrap during `init`.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7847>
2026-01-28 13:21:45 +00:00
Stefan Hansson f5a46e6847 device-generic-loongarch64: remove deviceinfo_chassis
Doesn't make sense for generic devices and is no longer required as it
should be provided by Devicetree or ACPI.

[ci:ignore-count]

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7801>
2026-01-24 10:30:46 +01:00
Stefan Hansson 03be51673d device-apple-idevice: remove deviceinfo_chassis
Doesn't make sense for generic devices and is no longer required as it
should be provided by Devicetree.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7801>
2026-01-24 10:30:46 +01:00
Stefan Hansson e34ce370a7 device-qualcomm-sdm845: remove deviceinfo_chassis
Doesn't make sense for generic devices and is no longer required as it
should be provided by Devicetree.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7801>
2026-01-24 10:30:46 +01:00
Stefan Hansson ebb915c9eb device-qcom-msm89x7: remove deviceinfo_chassis
Doesn't make sense for generic devices and is no longer required as it
should be provided by Devicetree.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7801>
2026-01-24 10:30:46 +01:00
Stefan Hansson 35a146798b device-qcom-msm8956: remove deviceinfo_chassis
Doesn't make sense for generic devices and is no longer required as it
should be provided by Devicetree.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7801>
2026-01-24 10:30:46 +01:00
Stefan Hansson 91ac1dee94 device-qcom-msm8916: remove deviceinfo_chassis
Doesn't make sense for generic devices and is no longer required as it
should be provided by Devicetree.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7801>
2026-01-24 10:30:46 +01:00
Stefan Hansson 209614d0e7 device-qcom-msm8909: remove deviceinfo_chassis
Doesn't make sense for generic devices and is no longer required as it
should be provided by Devicetree.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7801>
2026-01-24 10:30:46 +01:00
Stefan Hansson 036119d7c6 device-qcom-msm8226: remove deviceinfo_chassis
Doesn't make sense for generic devices and is no longer required as it
should be provided by Devicetree.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7801>
2026-01-24 10:30:46 +01:00
Stefan Hansson 09440217eb device-postmarketos-trailblazer: remove deviceinfo_chassis
Doesn't make sense for generic devices and is no longer required as it
should be provided by Devicetree.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7801>
2026-01-24 10:30:46 +01:00
Stefan Hansson f319ddd2df device-qcom-sm7150: remove deviceinfo_chassis
Doesn't make sense for generic devices and is no longer required as it
should be provided by Devicetree.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7801>
2026-01-24 10:30:46 +01:00
Stefan Hansson 72d08a9d00 device-qcom-msm8953: remove deviceinfo_chassis
Doesn't make sense for generic devices and is no longer required as it
should be provided by Devicetree.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7801>
2026-01-24 10:30:46 +01:00
Stefan Hansson d17f3b05e5 device-generic-x86_64: remove deviceinfo_chassis
Doesn't make sense for generic devices and is no longer required as it
should be provided by ACPI on x86-64 devices.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7801>
2026-01-24 10:30:46 +01:00
Stefan Hansson fd9d39153a pmaports.cfg: Bump pmbootstrap minimum version to 3.9.0
For pmbootstrap to not crash when it encounters a deviceinfo file that's
missing the deviceinfo_chassis line, we need pmbootstrap 3.9.0 or later.
Bump it as such.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7801>
2026-01-24 10:30:46 +01:00
Stefan Hansson 9cfa6b31d7 main/postmarketos-mkinitfs-hook-netboot: remove maintainer
I contacted Mark who confirmed that he is not likely to return to
contributing to postmarketOS any time soon and is okay with me
removing his maintainer line.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7825>
2026-01-23 17:33:02 +01:00
Stefan Hansson 45c750a9fd CI: check for maintainer comments
We don't want to accidentally introduce these again since we
deliberately switched all packages to maintainer variables. While this
probably could be made part of apkbuild-lint eventually, the Alpine TSC
hasn't yet made a decision about whether to switch to maintainer
variables or not to the best of my knowledge so I don't think it can be
made upstream policy yet. Make it a clear downstream policy via this
check for now as such.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7824>
2026-01-23 15:47:49 +00:00
Stefan Hansson ffbce2d731 docs: Mark [ci:ignore-count] as removed
Keeping it in the docs under a new section to reduce the risk of
confusion about its disappearance. It's also still relevant if you
target older branches where it hasn't been removed.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7822>
2026-01-23 13:47:00 +00:00
Stefan Hansson e331eb74f8 CI: remove package count check
Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4278

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7822>
2026-01-23 13:47:00 +00:00
Stefan Hansson 12dfd7b452 main/dint: upgrade to 0.0.6
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7821>
2026-01-22 12:38:07 +01:00
Stefan Hansson ee18cf6b9c docs: cover some more edge cases in the approval rules
Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4228

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7766>
2026-01-19 14:29:14 +00:00
Stefan Hansson 73ea3570c8 main/devicepkg-dev: don't assume deviceinfo_chassis is set
The deviceinfo_chassis variable is not mandatory in the deviceinfo
schema, so we shouldn't treat it as always being there.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7762>
2026-01-17 00:49:33 +00:00
Stefan Hansson f57634343a main/dint: upgrade to 0.0.5
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7745>
2026-01-13 19:01:16 +00:00
Stefan Hansson 8820408a8c htc-flounder: remove maintainer
While this is not my package, I emailed the maintainer as he hasn't made
a new account since we migrated to our self-hosted instance. Today he
replied with that he may return to it in the future but that it would be
best to remove his maintainer line in the meantime.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7742>
2026-01-13 12:21:48 +00:00
Stefan Hansson 30c0eac857 device-samsung-a30: depend on postmarketos-base-downstream
This is a downstream device, and it was reported that this workaround
fixes LightDM on it.

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2699

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7717>
2026-01-12 15:15:51 +00:00
Stefan Hansson 491ef1cb5f main/postmarketos-ui-phosh: update pkgdesc
It is true that Phosh originally was developed for the Librem 5,
but at this point that is more of a "fun fact" than relevant
information with Purism no longer funding Phosh development and
the Librem 5 losing prominence. Replace it with something more
descriptive.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7704>
2026-01-08 11:40:27 +01:00
Stefan Hansson 8659b81479 main/postmarketos-ui-phosh: remove waked reference
We no longer use waked in postmarketOS.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7704>
2026-01-08 11:40:07 +01:00
Stefan Hansson 6020955850 main/postmarketos-base-ui-gnome-mobile: recommend postmarketos-tweaks-setting-definitions
postmarketos-tweaks has been replaced.

[ci:skip-vercheck]: Only changing recommends.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7678>
2026-01-04 16:53:47 +01:00
Stefan Hansson 27e46df277 main/postmarketos-tweaks-setting-definitions: new aport
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7678>
2026-01-04 16:53:47 +01:00
Stefan Hansson bae76c6a51 main/postmarketos-tweaks: remove
Unmaintained and re-implemented as part of Phosh Mobile Settings.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7678>
2026-01-04 16:53:47 +01:00
Stefan Hansson 187f27e5a3 pmaports.cfg: Bump pmbootstrap minimum version to 3.8.0
Since c957fa0c83, pmbootstrap versions
older than 3.8.0 crash during pmbootstrap init. Bump the minimum
required version communicate to users that they need to update.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7669>
2025-12-30 12:54:53 +00:00
Stefan Hansson a652a6f334 CI: Set args.ccache in conftest.py
Fixes CI being broken everywhere:

      File "/builds/postmarketOS/pmaports/.ci/testcases/conftest.py", line 32, in args
        init_args(args)
      File "/tmp/pmbootstrap/pmb/helpers/args.py", line 94, in init
        context.ccache = args.ccache
                     ^^^^^^^^^^^
    AttributeError: 'PmbArgs' object has no attribute 'ccache'

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7670>
2025-12-29 23:37:03 +01:00
Stefan Hansson 5136e99a67 linux-postmarketos-stericsson: upgrade to 6.18.2
Tested and works on samsung-skomer.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7660>
2025-12-28 22:49:29 +00:00
Stefan Hansson 7cc349a2b1 linux-purism-librem5: upgrade to 6.6.118 and enable CFI
And appease kconfig check.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7546>
2025-12-27 23:57:36 +01:00
Stefan Hansson 26a458efc0 main/postmarketos-artwork: fix wallpaper paths
These should've been updated in the earlier commit.

Fixes 78952f195e

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7510>
2025-12-07 16:06:04 +01:00
Stefan Hansson 213f0eccac main/postmarketos-artwork: remove use of deprecated "convert"
The "convert" command and subcommand is deprecated. Use "magick"
instead.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7502>
2025-12-07 12:25:47 +00:00
Stefan Hansson 78952f195e main/postmarketos-artwork: set v25.12 wallpaper
This time "Sward" by Dikasp won[1].

 [1]: https://social.treehouse.systems/@postmarketOS/115640026538543141

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7502>
2025-12-07 12:25:47 +00:00
Stefan Hansson e8e61a4f9f main/postmarketos-base-ui-gnome: use gvfs-full
This provides the same thing but more concisely and also will stay
up-to-date with upstream.

Fixes 6b30198263

[ci:skip-vercheck]: Only changes recommends.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7500>
2025-12-06 18:57:11 +01:00
Stefan Hansson 954b75f585 main/postmarketos-ui-gnome-mobile: remove redundant dependency
GVFS should get pulled in by whatever backends the system has
anyway, no need to explicitly depend on it here.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7496>
2025-12-06 17:20:00 +01:00
Stefan Hansson 6b30198263 main/postmarketos-base-ui-gnome: recommend all GVFS backends
Our priority is to have an intuitive user experience, not
minimalism. So, let's include every GVFS backend by default.

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4126

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>

[ci:skip-vercheck]: Only changing recommends.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7496>
2025-12-06 17:19:35 +01:00
Stefan Hansson a324a84519 device: move local install to global install for some devices
This doesn't cover all devices, but I intend to do more of them in the
future.

See https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4032

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>

[ci:ignore-count]: Intentionally changes a lot of packages.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7384>
2025-11-26 12:13:25 +00:00
Stefan Hansson d945124004 CI: Don't stop on first Pytest failure
This makes it easier to see everything that needs to be fixed in case of
multiple issues.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7384>
2025-11-26 12:13:25 +00:00
Stefan Hansson 72869873df device-oneplus-fajita: fix build
Maybe something has changed in abuild, I don't know.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7406>
2025-11-26 11:30:27 +00:00
Stefan Hansson c4a617bca4 device-oneplus-enchilada: fix build
Maybe something has changed in abuild, I don't know.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7406>
2025-11-26 11:30:27 +00:00
Stefan Hansson 7b7c3a3636 main/postmarketos-ui-plasma-desktop: disable on ppc64le
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7412>
2025-11-24 14:03:05 +01:00
Stefan Hansson ff5add0aaa main/postmarketos-ui-plasma-mobile: clean up pkgdesc
The pmb:drm property already communicates this information and hides the
UI on devices where it won't run.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7412>
2025-11-23 21:26:49 +00:00
Stefan Hansson 5ace0ecab7 main/postmarketos-ui-plasma-mobile: move install to global scope
See https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4032

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7412>
2025-11-23 21:26:49 +00:00
Stefan Hansson 31b9f2fd87 main/postmarketos-ui-plasma-desktop: Don't advertise X11 support
While Plasma Desktop upstream supports this, the version packaged in
Alpine does not.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7412>
2025-11-23 21:26:46 +00:00
Stefan Hansson 1e2cfb4e1a main/postmarketos-ui-plasma-desktop: move install to global scope
See https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4032

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7412>
2025-11-23 21:26:46 +00:00
Stefan Hansson 433454329b main/postmarketos-base-ui-plasma: move install to global scope
See https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4032

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7412>
2025-11-23 21:26:42 +00:00
Stefan Hansson 93840bab2c systemd/systemd-services: remove lots of services now in aports
I manually checked that all of these are in aports and part of a proper
-systemd subpackage and not e.g. superd-services.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7410>
2025-11-22 01:57:04 +00:00
Stefan Hansson 25e3143b39 systemd/systemd-services: remove xdg-desktop-portal-gnome.service
This has been upstreamed to aports and is now part of the
xdg-desktop-portal-gnome-systemd package. Remove it to fix conflicts.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7409>
2025-11-21 21:45:20 +01:00
Stefan Hansson b2a99ae4ff systemd/systemd-services: remove xfconfd.service
This has been upstreamed to aports now and is part of the
xfconf-systemd package. Remove it to fix conflicts.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7408>
2025-11-21 20:35:47 +01:00
Stefan Hansson cea9dd076d main/dint: upgrade to 0.0.4
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7407>
2025-11-21 20:13:50 +01:00
Stefan Hansson 68c5f9a516 device-purism-librem5: depend on bash
We package the lockdown-support.sh script from Purism's librem5-base
package. This script has a bash shebang[1] and so won't work with any
other shell. It also uses some bashisms that Ash doesn't support, so we
can't just change the shebang to be /bin/sh or such as that will break
the script.

As such, just solve this in the simplest way for now and depend on bash.
If someone feels motivated to replace the bashisms in the upstream
script they're very welcome to do so.

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4089

 [1]: https://source.puri.sm/Librem5/librem5-base/-/blob/07a4105dd4d96158e11d6796a25768926c7a3f30/default/lockdown-support/lockdown-support.sh#L1

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7376>
2025-11-19 15:36:11 +00:00
Stefan Hansson 41f26f2942 main/postmarketos-ui-lomiri: disable on ppc64le
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>

[ci:skip-vercheck]: These packages only change options read by
pmbootstrap, nothing that actually affects built packages.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7365>
2025-11-15 18:10:06 +00:00
Stefan Hansson c44545a8b7 main/postmarketos-ui-moonlight: set pmb:drm
This UI uses Cage as compositor which depends on wlroots and thus won't
work without DRM.

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3920

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7365>
2025-11-15 18:10:06 +00:00
Stefan Hansson 92e5569199 main/postmarketos-ui-mediaberry: set pmb:drm
Mediaberry seems to use a wlroots-based Wayland compositor forked from
tinywl. As wlroots doesn't support running without DRM unless you do
some funny workarounds like running inside an X.Org session, I'm
confident our Mediaberry UI won't work without DRM as-is.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7365>
2025-11-15 18:10:06 +00:00
Stefan Hansson 34a4c68365 main/postmarketos-ui-lomiri: set pmb:drm
It seems like Mir, Lomiri's compositor, does require DRM based on a
quick web search[1]. I didn't actually attempt to verify it beyond that.
While it probably doesn't require DRM if you use whatever backend Ubuntu
Touch uses for its non-mainline devices, we probably don't have the
userspace required for that to work anyway. So given the lack of
evidence that it would work without DRM, let's just assume that's the
case unless someone finds out otherwise.

 [1]: https://forum.snapcraft.io/t/run-mir-kiosk-in-hyper-v-no-drm-devices-detected/25924

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7365>
2025-11-15 18:10:06 +00:00
Stefan Hansson b47edd33af CI: Remove obsolete deviceinfo validation
This functionality is now handled by dint.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7378>
2025-11-15 18:06:12 +00:00
Stefan Hansson 87b6b9b9fa main/dint: upgrade to 0.0.3
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7378>
2025-11-15 18:06:12 +00:00
Stefan Hansson 9f355d95a2 CI: Don't check kconfig for archived kernels
It doesn't make any sense to require people to fix the kconfig just
because they want to move a device into archived or fix some minor issue
in an archived device. So, let's not enforce this on archived devices
since that's supposed to be where broken devices go.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7338>
2025-11-12 23:52:42 +00:00
Stefan Hansson 53a56f7c37 CI: Allow skipping archived in get_changed_packages()
Packages can be moved to archive because they don't meet a certain
quality standard, so it is useful to be able to exclude them from
certain checks as to not block packages from being moved there just
because they don't comply with our standards.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7338>
2025-11-12 23:52:42 +00:00
Stefan Hansson f38e43e3b3 main/dint: upgrade to 0.0.2
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7326>
2025-11-10 13:35:53 +00:00
Stefan Hansson 0cb3cf0897 device-samsung-gtaxlwifi: remove obsolete and invalid properties
While I haven't verified it personally, the wiki entry for this device
states that neither Weston nor Plasma Mobile work on the device,
indicating that DRM probably doesn't actually work. Furthermore, it is a
downstream port, so it working would be a miracle regardless. As for the
keyboard property, it is obsolete.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7243>
2025-10-28 20:32:02 +00:00
Stefan Hansson 0be8af7d77 device-samsung-gtaxlwifi: set create_initfs_extra="true"
According to Pascal Dietrich on fedi, this fixes the initramfs being too
big for the boot partition[1].

 [1]: https://rheinneckar.social/@cameo007/115429480475704448

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7243>
2025-10-28 20:32:02 +00:00
Stefan Hansson dcae02a2a0 device-samsung-gtaxlwifi: depend on msm-fb-refresher and postmarketos-base-downstream
The wiki article has stated that msm-fb-refresher is necessary for
working display from the start, so let's just fix this in packaging
instead of having it as a hint in the wiki. As for
postmarketos-base-downstream, this was confirmed to fix booting into UI
by Pascal Dietrich on fedi[1].

 [1]: https://rheinneckar.social/@cameo007/115430128243717720

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7243>
2025-10-28 20:31:58 +00:00
Stefan Hansson 9ed8dd6bda linux-purism-librem5: upgrade to 6.6.110
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7238>
2025-10-23 07:15:58 +00:00
Stefan Hansson e6fbadb1b0 linux-purism-librem5: upgrade to 6.6.101
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7177
2025-10-14 03:36:40 +00:00
Stefan Hansson b28e97b3e0 main/dint: upgrade to 0.0.1
[ci:skip-vercheck]: Due to me misunderstanding how apk deals with the
_git suffix, this is a downgrade. But I don't think it matters much
given that we expect users to use `apk upgrade -a` generally and since
dint mostly is used in CI.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7183>
2025-10-12 16:30:25 +00:00
Stefan Hansson 6e75e62302 CI: dint: don't mark job as failed if only warnings were raised
In the case of there being warnings but no errors, dint will set its
exit code to 2. We don't want the pipeline to fail in this case, so have
2 be an allowed failure exit code.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7083>
2025-10-01 12:03:26 +00:00
Stefan Hansson d3aa885f81 main/postmarketos-mkinitfs: link to project repo
Makes it easy to find relevant information about the program.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7095>
2025-09-29 10:18:18 +02:00
Stefan Hansson 66f4974f7b main/dint: upgrade to 0.0.1_git20250925
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7084>
2025-09-26 12:41:39 +00:00
Stefan Hansson 2745f5dbcb main/dint: upgrade to 0.0.1_git20250920
Improves comment linting.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7066>
2025-09-20 18:58:29 +02:00
Stefan Hansson aa74915a68 CI: Add deviceinfo linting via dint
Needs https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2679
to run locally.

Tested and works locally with 'pmbootstrap ci' as well as in GitLab CI.

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2583

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7006>
2025-09-20 09:30:46 +00:00
Stefan Hansson d9c3fa80a8 main/devicepkg-utils: allow overriding root directory in source_deviceinfo
This can be used to source the deviceinfo of an arbitrary rootfs, not
just the current one. In particular, this will be used in the
boot-deploy CI.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7026>
2025-09-10 14:43:34 +00:00
Stefan Hansson 0ecf51c505 main/boot-deploy: update link
Link to the new repo location instead of the old one that isn't updated
any more.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7022>
2025-09-10 08:23:47 +00:00
Stefan Hansson 8321019c7f CI: Stop using 'pmbootstrap lint' for lint job
Needs https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2679

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3665

Closes https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2566

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3274

Closes https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/issues/2591

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6979>
2025-09-07 16:14:57 +00:00
Stefan Hansson 6c98a4d742 main/dint: new aport
This could later be used to add deviceinfo linting CI to pmaports. I'm
putting this in pmaports rather than aports as I would think there is
little purpose to having a deviceinfo linter in Alpine when this format
isn't used there.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6999>
2025-09-04 20:21:34 +00:00
Stefan Hansson cdd4c651ca device-xiaomi-perseus: fix checksum
I removed an unnecessary comment from the deviceinfo file (mentioned
osk-sdl which is gone since long) when merging, but I didn't think to
upodate the checksums.

Fixes 0397051146
2025-07-21 08:42:15 +02:00
Stefan Hansson 4456501395 main/postmarketos-ui-os-installer: don't run os-installer and pmbootstrap as root
I'm not sure what the original motivation for doing this was, I would
guess just to get a minimal viable product working as soon as possible.
But based on my current testing, with these changes along with an
earlier commit that disabled the password requirement for privilege
escalation with doas, it is unnecessary and also solves at least one bug.

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3848

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6787
[ci:skip-build]: already built successfully in CI
2025-07-16 20:54:46 +02:00
Stefan Hansson e01e91736c main/postmarketos-ui-os-installer: allow passwordless root during installation
This can be useful for manually installing additional packages, running
programs that require root, debugging issues, and to the best of my
knowledge poses no real security issue as it's just during installation.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6784
[ci:skip-build]: already built successfully in CI
2025-07-16 10:51:11 +02:00
Stefan Hansson d9c3faf7d0 firmware-xiaomi-polaris: update commit
The repository was removed and re-created. As such, the commit hashes
changed. Use the new one.

Thanks to Molly Sophia for being quick to restore this repository after
being notified of that its removal caused build failures!

Related: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6618

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6636
[ci:skip-build]: already built successfully in CI
2025-06-11 23:31:39 +02:00
Stefan Hansson f99c508f02 linux-sony-nicki-mainline: install dtbs
Otherwise boot-deploy can't find them. I have no idea how this ever
worked.

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3724

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6550
[ci:skip-build]: already built successfully in CI
2025-05-25 19:34:10 +02: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
Stefan Hansson 543f67353b CI: Check all commit messages for string (MR 6301)
This way you can add e.g. [ci:skip-vercheck] to the commit it actually
belongs to instead of having to add it to the last one in the series,
which is unintuitive. It still doesn't only run the check on commits
that contain the message, which might be a nice future improvement.
2025-03-09 14:01:22 +01:00
Stefan Hansson 22d6f312e1 CI: Break out base commit logic from get_changed_files() (MR 6301)
This makes the code more self-documenting and allows re-using this logic
in other parts of the code.
2025-03-09 14:01:18 +01:00