Commit graph

2259 commits

Author SHA1 Message Date
Clayton Craft
576303db06
postmarketos-mkinitfs-hook-console-shell: support new mkintifs paths (MR 3895) 2023-03-08 21:30:29 -08:00
Clayton Craft
68775d878f
postmarketos-bootsplash: support new mkintifs paths (MR 3895) 2023-03-08 21:30:29 -08:00
Clayton Craft
c371a97c62
main/unl0kr: support new mkintifs paths (MR 3895) 2023-03-08 21:30:28 -08:00
Clayton Craft
f27b009cba
main/osk-sdl: support new mkintifs paths (MR 3895) 2023-03-08 21:30:28 -08:00
Clayton Craft
b74130a6ff
main/pbsplash: support new mkintifs paths (MR 3895) 2023-03-08 21:30:28 -08:00
Clayton Craft
0dd2a38bd5
main/msm-fb-refresher: support new mkintifs paths (MR 3895) 2023-03-08 21:30:28 -08:00
Clayton Craft
bbf17eb84d
main/boot-deploy: support new mkintifs paths (MR 3895) 2023-03-08 21:30:28 -08:00
Clayton Craft
4818869d28
make-dynpart-mappings: support new mkintifs paths (MR 3895) 2023-03-08 21:30:28 -08:00
Clayton Craft
d0f72c92fa
devicepkg-dev: support new mkintifs paths (MR 3895) 2023-03-08 21:30:25 -08:00
Raymond Hackley
6e2805898e
main/postmarketos-config-nftables: use $subpkgdir in chromecast subpkg (MR 3937) 2023-03-07 16:41:32 +01:00
Caleb Connolly
712149558b
main/postmarketos-base-eink: new aport (MR 3778)
Add a base package to provide some e-ink specific opinionated defaults.
2023-03-05 15:43:12 +01:00
Clayton Craft
4f790fb8f9
pmos-ui-*: replace megapixels in pmb_recommends with pmos-default-camera (MR 3815)
fixes #1912, #1557

[ci:skip-build]: already built successfully in CI
2023-03-01 08:42:58 +01:00
Clayton Craft
8c29eaed6e
main/pmos-base-ui: add postmarketos-default-camera dummy package (MR 3815)
This is a dummy package that other packages can install_if on to install
the appropriate camera app for the device/UI. It's intended to be added
to pmb_recommends= for pmos-ui-* packages that want to have a camera by
default.
2023-03-01 08:42:45 +01:00
Arnavion
69773b8cc5
main/shutdown-clear-rtc-wakealarm: new aport (MR 3905)
This contains an OpenRC service that clears the RTC wake alarm.
Users who don't want the RTC wake alarm to power on their phone from
powered-off state can use this service to clear the alarm during shutdown.

Fixes #1970

[ci:skip-build] already built successfully in CI
2023-02-28 14:45:04 -08:00
Clayton Craft
e73187d343
postmarketos-ui-{xfce4,mate}: don't fail if tinydm can't be disbled (MR 3897)
Fixes this failure on a new install:
        ERROR: postmarketos-ui-xfce4-0.5.1-r11.post-install: script exited with error 1

[ci:skip-build]: already built successfully in CI
2023-02-23 08:38:57 +01:00
Caleb Connolly
d08da30b5a
main/pbsplash: upgrade to 0.3.0 (MR 3885)
[ci:skip-build] already built successfully in CI
2023-02-22 21:48:07 -08:00
Caleb Connolly
4e2507c9e5
Revert "postmarketos-ui-mate: switch to tinydm (MR 3887)" (MR 3893)
This reverts commit 2c5c22f3e3.
2023-02-21 08:40:50 +01:00
Caleb Connolly
2d100dcbdf
Revert "postmarketos-ui-xfce: switch to tinydm (MR 3887)" (MR 3893)
This reverts commit 5915d1630b.
2023-02-21 08:40:23 +01:00
Caleb Connolly
fe29c9ab34
main/postmarketos-bootsplash: kill pbsplash before display-manager (MR 3893)
If pbsplash is running when a display manager starts it often causes
issues as display managers want to run on a particular VT, but are
unable to switch the active VT since pbsplash has exclusive control of
the framebuffer.

Making DMs not start until after local would solve the issue but
it would also needlessly delay the boot process.

Until we have a better way to detect display managers starting and react
to it, this will at least get devices working again. Though due to how
openrc resolves service start order it may mean the splash is killed
earlier than necessary.
2023-02-20 19:37:19 +00:00
Clayton Craft
5915d1630b
postmarketos-ui-xfce: switch to tinydm (MR 3887)
[ci:skip-build]: already built successfully in CI
2023-02-20 08:00:39 +01:00
Clayton Craft
2c5c22f3e3
postmarketos-ui-mate: switch to tinydm (MR 3887) 2023-02-19 20:42:58 -08:00
Clayton Craft
ac9bff857c
main/postmarketos-mkinitfs: trigger on /etc/pmos-mkinitfs/* (MR 3876)
These directories should also trigger a rebuild so that any changes are
reflected in the initramfs.
This will include things like 'files', 'modules' and so on that weren't
previously triggering rebuilds of the initramfs...

[ci:skip-build]: already built successfully in CI
2023-02-19 19:33:32 +01:00
Newbyte
66735f8db9
main/postmarketos-mkinitfs: remove references to charging-sdl (MR 3872)
As it was dropped in the previous commit.

[ci:skip-build]: already built successfully in CI
2023-02-19 14:04:17 +01:00
Newbyte
05bce12847
main/charging-sdl: remove (MR 3872)
It has almost been two years since pma#1064 was created[1], and nothing
has changed since really. If someone wants to revive charging-sdl, they
can just revert these commits, but given the status quo I don't think
there is any reason to keep this around until it changes.

 [1] https://gitlab.com/postmarketOS/pmaports/-/issues/1064

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/1064
2023-02-19 13:53:27 +01:00
Newbyte
60ba45e9e2
main/triggerhappy: remove (MR 3872)
This is no longer used by anything in pmOS as far as I can tell. One
previous user, ttyescape, has been reworked to use hkdm instead, and the
other previous user, charging-sdl, is no longer available in pmOS.

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/1929
2023-02-19 13:53:27 +01:00
Caleb Connolly
b93203a035 main/postmarketos-splash: drop in favour in pbsplash (MR 2878) 2023-02-18 01:40:28 +00:00
Caleb Connolly
80eb55a604 main/devicepkg-dev: don't generate splash images (MR 2878) 2023-02-18 01:40:28 +00:00
Caleb Connolly
f54600e966 main/postmarketos-mkinitfs-hook-*: use pbsplash (MR 2878) 2023-02-18 01:40:28 +00:00
Caleb Connolly
e97b61b023 main/postmarketos-mkinitfs: switch to pbsplash (MR 2878)
This modifies to the postmarketOS ramdisk init to use the new pbsplash
tool for displaying splash messages, replacing the old fbsplash.

This also moves the show_splash call to run as soon as possible rather
than waiting for mount_subpartitions to run (which can take a while).
2023-02-18 01:40:28 +00:00
Caleb Connolly
702088baff main/postmarketos-base: use pbsplash (MR 2878) 2023-02-18 01:40:28 +00:00
Caleb Connolly
77ad6199a8 main/postmarketos-bootsplash: new aport (MR 2878) 2023-02-18 01:40:28 +00:00
Caleb Connolly
10368eb9f2 main/pbsplash: new aport (MR 2878) 2023-02-18 01:40:28 +00:00
Newbyte
49bfabcee0
main/postmarketos-ui-gnome-mobile: remove polkit-elogind dependency (MR 3852)
Already in postmarketos-base-ui-gnome.
2023-02-16 17:53:05 +02:00
Newbyte
b0e89af26d
main/postmarketos-ui-phosh: handle less services (MR 3852)
This is now handled by postmarketos-base-ui-gnome.
2023-02-16 17:53:05 +02:00
Newbyte
62402d529b
main/postmarketos-ui-gnome: handle less services (MR 3852)
This is now handled by postmarketos-base-ui-gnome.
2023-02-16 17:53:05 +02:00
Newbyte
7af1d8a290
main/postmarketos-ui-gnome-mobile: handle less services (MR 3852)
This is now handled by postmarketos-base-ui-gnome.
2023-02-16 17:53:05 +02:00
Newbyte
8ddb338f41
main/postmarketos-base-ui-gnome: enable services used by all GNOME "variants" (MR 3852)
Closes https://gitlab.com/postmarketOS/pmaports/-/issues/1936

Additionally, this means that iio-sensor-proxy actually gets enabled
on GNOME and GNOME mobile. Previously, it would get installed there
but not enabled unless the user manually did it.
2023-02-16 17:53:05 +02:00
Newbyte
44244a7032
main/postmarketos-ui-phosh: recommend Evince (MR 3869)
Otherwise we don't have any document viewer installed by default.

[ci:skip-vercheck]: pkgrel bump is not necessary when changing
recommends.
[ci:skip-build]: already built successfully in CI
2023-02-16 08:18:22 +01:00
Dzmitry
2fff60f075
main/extract-dtb: update pkgrel due to updated python version (MR 3867)
[ci:skip-build]: already built successfully in CI
2023-02-15 08:20:28 +01:00
Anjandev Momi
41a8429257
main/sxmo-common: new bluetooth-pulse subpackage (MR 3763)
Add easy support for pulseaudio bluetooth like we have for pipewire
bluetooth.

Will update docs when this is merged.

[ci:skip-build]: already built successfully in CI
2023-02-13 08:31:46 +01:00
Michal Vasilek
679ee5364b
main/postmarketos-base-ui-gnome: add xdg-desktop-portal-gnome dep (MR 3863)
xdg-desktop-portal-gnome is needed for example for mime type associations.
Without it, the default gnome based shell installations couldn't detect which
mime types were provided by which applications, xdg-open and the
Default Applications tab in GNOME Control Center didn't work.

This dependency was missing from postmarketos-ui-phosh, so let's add it
and xdg-user-dirs to postmarketos-base-ui-gnome to make sure it's not repeated
in every gnome based UI.
2023-02-11 12:08:09 +01:00
Clayton Craft
0e1fe15d24
main/postmarketos-mkinitfs: upgrade to 1.6.1 (MR 3861)
Fixes a bug with library circular dependencies on aports, introduced on
edge today.

[ci:skip-build]: already built successfully in CI
2023-02-10 08:53:42 +01:00
Anton Bambura
99f1489c26
main/postmarketos-base: depend on postmarketos-mkinitfs>=1.5.1-r5 (MR 3854)
Related: discussion in MR 3791
[ci:skip-build]: already built successfully in CI
2023-02-08 08:54:56 +01:00
Anjandev Momi
9c2be2f772
main/postmarketos-ui-sxmo-de-sway: upgrade to 1.13.0 (MR 3829) 2023-01-30 20:10:20 -08:00
Anjandev Momi
c0df115a7e
main/postmarketos-ui-sxmo-de-dwm: upgrade to 1.13.0 (MR 3829) 2023-01-30 20:10:20 -08:00
Anjandev Momi
4722c3cce2
main/sxmo-common: upgrade to 1.13.0 (MR 3829) 2023-01-30 20:10:17 -08:00
Oliver Smith
e3a9b8c61b
main/postmarketos-mkinitfs: dep: boot-deploy>=0.7 (MR 3825)
Explicitly depend on the version that allowed mounting with UUIDs, so we
can soon set this explicit dependency for devices that now make use of
this feature.

Dependency chain:
  device package
  -> postmarketos-base
    -> postmarketos-mkinitfs
      -> boot-deploy

Related: discussion in MR 3791
2023-01-28 03:13:23 +02:00
Oliver Smith
32fc24cd4a
main/postmarketos-mkinitfs: upgrade to 1.6 (MR 3821)
Add support for hook scripts in initramfs-extra to the shell scripts.

Related: https://gitlab.com/postmarketOS/postmarketos-mkinitfs/-/merge_requests/27
2023-01-23 08:44:57 +01:00
Alex
4bbd01460d
main/postmarketos-ui-sway: fix date FMT in status bar (MR 3811)
busybox date command does not seem to understand the
%l formatting character. Replace with the equivalent
%_I instead.
2023-01-18 14:05:50 +01:00
Smits Katze
a2820d9c79
main/postmarketos-config-nftables: make mDNS rule more restrictive (MR 3755)
mDNS queries and replies are sent to port 5353.
Update firewall rule in order to make it as tight as possible.

[ci:skip-build]: already built successfully in CI
2023-01-17 08:34:20 +01:00
Cédric Bellegarde
e84ad270ec
main/postmarketos-base-ui-gnome: depend on power-profiles-daemon (MR 3795)
[ci:skip-build] already built successfully in CI
2023-01-16 23:29:15 -08:00
Clayton Craft
bca632d4f6
postmarketos-base: enable using zram swap by default (MR 3752)
This installs zram-init and sets it to start on boot for all
devices/UIs. The included conf.d/zram-init also allows diabling using
zram swap or overriding the size by using a deviceinfo var.

I did an analysis of the pmos base install size with the 'none' UI
selected, after depending on zram-init, and the following new package is
installed:
        zram-init-11.1-r1 installed size: 40 KiB

These packages are dependencies of zram-init, however they are already
installed in the base image (with 'none' UI) so they are not counted
above:
        util-linux-misc-2.38.1-r0 installed size: 6816 KiB
        e2fsprogs-extra-1.46.5-r4 installed size: 1324 KiB

So this seems like a very small price to pay for the benefit of not
making the logic/implementation more complicated than this.

     * Starting busybox syslog ... [ ok ]
    ssh-keygen: generating new host keys: RSA ECDSA ED25519
     * Starting sshd ... [ ok ]
    zram swap: activating with size: 243 MB
     * Loading zram module...
     [ ok ]
     * Swap->zram0
     [ ok ]
     * Starting local ... [ ok ]

This change introduces one new deviceinfo variable:
deviceinfo_zram_swap_pct: percentage of RAM to use for zram swap

Default percentages if the second var is unset are explained in the
zram-init file this commit adds. A value of 0 disables zram swap.

fixes #1133
2023-01-11 15:39:40 +01:00
Oliver Smith
a64a9a1ca0
main/msm-firmware-loader: upgrade to 1.1.0 (MR 3797)
[ci:skip-build]: already built successfully in CI
2023-01-10 12:06:52 +01:00
Clayton Craft
152f8e4715
main/unl0kr: add to initramfs-extra (MR 3777)
This moves unl0kr and all of its dependencies into the initramfs-extra,
it does so by using a relatively new mkinitfs feature for installing
files into the -extra archive.

[ci:skip-build] already built successfully in CI
2023-01-08 11:04:41 -08:00
Clayton Craft
d27e1bd65d
main/pmos-mkinitfs: run udev after mounting the initramfs-extra (MR 3777)
By positioning this after extracting the initramfs-extra archive, we can
allow udev to exist in the -extra archive and not have any size impact
on the base initramfs archive.

Any hook that needs udev in the initramfs can get that support, provided
that the hook lists udev requirements in the .files config for it.
2023-01-08 11:04:41 -08:00
Raymond Hackley
c0db634e92
main/postmarketos-base-ui: networkmanager: depends on networkmanager{,-*} (MR 3749)
[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2023-01-06 21:53:28 +01:00
Anton Bambura
d59be3b0ea
main/boot-deploy: upgrade to 0.7.0 (MR 3724) 2023-01-05 03:49:10 +01:00
Cédric Bellegarde
fb119cc8e2
main/postmarketos-ui-phosh: clean up dconf overrides (MR 3775)
[ci:skip-build]: already built successfully in CI
2023-01-05 02:48:34 +01:00
Sicelo A. Mhlongo
a787222aeb
postmarketos-ui-i3wm: use tinydm and relocate device-specific file (MR 3769)
* lock.sh is specific to Nokia N900, so move to device-nokia-n900
* use tinydm instead of lightdm

Signed-off-by: Sicelo A. Mhlongo <absicsz@gmail.com>
[ci:skip-build]: already built successfully in CI
2022-12-29 17:57:38 +01:00
Oliver Smith
3afcd215a7
main/postmarketos-ui-plasma-desktop: move some deps to extra (MR 3756)
Move some dependencies from plasma-desktop to the -extras subpackage, so
they don't get installed by default:

* audiocd-kio (2 MiB): using a CD drive with postmarketOS seems to be a
  very rare combination
* kolourpaint (3 MiB): very basic image editor with featureset of MS
  paint, I don't think it's that useful in a default install. Users
  looking for an image editor may want to use e.g. krita instead and can
  install whatever they want to use after the default install is done.
* kwrite (20 MiB): another text editor, kate (3 MiB), is already getting
  installed by default
* okular (81 MiB): quite big, and pdfs can also be viewed in firefox
  which we install by default
* mesa-demos (50 MiB): rather big for just being some graphical demos

It's always a good idea to keep the install image small, but in this
instance the change was prompted because we currently hit a size limit
when generating install images. In particular, when generating the
v22.12 image for the pinebookpro. The process for generating install
images is not optimized for size (see bpo issue 116) and this should be
improved, but in the meantime let's just reduce the install size with
this patch on edge and backport it to v22.12 so building this image
doesn't fail anymore.

Sizes listed above are for aarch64 and include dependencies that get
removed together with removing the package.
2022-12-29 17:35:09 +01:00
Elagost
fd90572c61
postmarketos-base: replace sudo with cmd:sudo (MR 3721)
[ci:skip-build] already built successfully in CI
2022-12-18 13:23:33 -08:00
Oliver Smith
7d673c4301
main/postmarketos-release-upgrade: upgrade to 1.3.1 (MR 3750)
[ci:skip-build]: already built successfully in CI
2022-12-18 14:55:09 +01:00
Anjandev Momi
8c466207dd
main/sxmo-common: allow switching between pipewire and pulseaudio (MR 3711)
Users can switch to pulseaudio with:
  doas apk add sxmo-audio-common-pulse

We can make the poco f1 device APKBUILD depend on
sxmo-common-audio-pulse. This allows you to install pulseaudio on Sxmo
which was the reason Joel said the poco f1 was having issues with call
audio: https://gitlab.com/postmarketOS/pmaports/-/issues/1821

After installing pulseaudio with this patch, the other side still
cannot hear me. I am posting this work so that others can just run
pulseaudio on sxmo and find out what's causing this bug.

Note by ollieparanoid: while it doesn't fix the bug completely, it seems
it's required to make calling work again, something we definitively want
to have in v22.12 so I'm merging this now. Also the sxmo-utils patch was
merged to sxmo-utils upstream, but isn't in alpine yet. Adding this
package (previous patch) temporarily makes sense.

Co-developed-by: Oliver Smith <ollieparanoid@postmarketos.org>
[ci:skip-vercheck]: pkg forked from alpine has pkgrel > 0
[ci:skip-build]: already built successfully in CI
2022-12-18 14:36:21 +01:00
André Apitzsch
02d45f3a5e
main/*: rebuild for Python 3.11 (MR 3745) 2022-12-18 10:26:36 +01:00
Oliver Smith
16b24bb86f
main/mobile-config-firefox: upgrade to 3.2.0 (MR 3729)
[ci:skip-build]: already built successfully in CI
2022-12-14 21:18:15 +01:00
Anton Bambura
10ff840e85
main/postmarketos-mkinitfs: resize root partition on Chrome OS devices (MR 3726)
[ci:skip-build]: already built successfully in CI
2022-12-14 10:07:39 +01:00
Jakob Hauser
b402c03b1f
main/swclock-offset: upgrade to 0.2.2 (MR 3714)
This upgrade has no effect on postmarketOS, as there were only systemd
service files added to the repository. The upgrade is done solely to
keep track with the newest version.

[ci:skip-build] already built successfully in CI
2022-12-13 21:31:17 -08:00
Raymond Hackley
d6cb995b99
main/postmarketos-base: add regulator-haptic udev rules (MR 3691)
Add rules for regulator-haptic, which is used on:
- samsung-e5/e7
- samsung-cprime/gprime
- samsung-j3/j5(x)

Note that regulator-haptic is not supported on some devices yet,
and samsung-e5 is not ported at the moment.

[ci:skip-build]: already built successfully in CI
2022-12-07 09:46:19 +01:00
Oliver Smith
594304eb29
main/postmarketos-release-upgrade: upgrade to 1.3.0 (MR 3690) 2022-12-05 08:00:07 +01:00
Newbyte
89ef6fcef8
main/crust: fix build with GCC 12 (MR 3676)
Patch picked from https://github.com/crust-firmware/crust/pull/209

[ci:skip-build]: Already built successfully in CI
2022-11-28 23:59:34 +01:00
Luca Weiss
f60539ea18
main/postmarketos-mkinitfs: rename usb_rndis_function variable (MR 3669)
The variable describes the configfs function name to use, no matter if
it's rndis, ncm, ecm or any other function. So change the name of the
variable, the string we write to the configuration file and some
comments.
2022-11-27 17:29:37 +01:00
Alexander Martinz
5ce0b6ae4d
main/postmarketos-ui-plasma-desktop: add various recommended packages (MR 3659)
Recommend installing:
  - fwupd
    - Receive firmware updates for supported hardware

The following packages are required to show device information at:
  - Settings -> About this System -> Show More Information

Devices
  - Firmware Security
    - aha
    - fwupd
  - PCI
    - pciutils

Graphics
  - OpenGL
    - mesa-demos
  - Vulkan
    - vulkan-tools
  - Wayland
    - wayland-utils
  - X-Server
    - xdpyinfo

Change-Id: I8a1eb484720f717f0504418f7c5c6af505b081b6
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
[ci:skip-build]: already built successfully in CI
2022-11-23 09:04:19 +01:00
Raymond Hackley
e9e3295925
main/postmarketos-ui-kodi: Add armv7 (MR 3647)
flatbuffers should have been available on armv7,
since aports 0f3295fb0660f5caf59b8b2385f7c9305f1d57f0

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2022-11-20 16:22:44 +01:00
Luca Weiss
502474cc3a
main/*: rebuild against Python 3.10 (MR 3650) 2022-11-18 18:35:26 +01:00
Oliver Smith
bbead6a9c6
main/postmarketos-android-recovery-installer: upgrade to 1.0.7 (MR 3646)
[ci:skip-build]: already built successfully in CI
2022-11-18 08:03:08 +01:00
Johannes Marbach
b13fe4ece0
main/unl0kr: upgrade to 0.3.0 (MR 3641)
[ci:skip-build]: already built successfully in CI
2022-11-17 21:23:07 +01:00
Jakob Hauser
67b5dd49dd
main/swclock-offset: move to its own repository (MR 3642)
To make "swclock-offset" available to other projects as well, it was
moved to its own repository.
2022-11-15 10:32:29 +01:00
Newbyte
4ee3b769fb
main/postmarketos-ui-phosh: rename kgx to gnome-console (MR 3638)
kgx was renamed to gnome-console with the release of version 42.beta, so
let's reflect that in our Phosh UI package.

[ci:skip-vercheck]: pkgrel bump is not necessary when changing
recommends.
2022-11-14 08:41:45 +01:00
Devin Lin
1c42df3769
main/postmarketos-ui-plasma-mobile: Sync configuration with upstream (MR 3634)
[ci:skip-build]: already built successfully in CI
2022-11-11 08:16:18 +01:00
alikates
e38db6e4de
main/postmarketos-mkinitfs: don't use uevent helper (MR 3351)
Instead of using the uevent helper binary, mdev daemon listens for kernel
events using the netlink interface. Then the requirement of enabling
UEVENT_HELPER for pmOS kernels can be dropped, as it's use is discouraged.

From CONFIG_UEVENT_HELPER kernel config help:

> This should not be used today, because usual systems create many events
> at bootup or device discovery in a very short time frame. One forked
> process per event can create so many processes that it creates a high
> system load, or on smaller systems it is known to create out-of-memory
> situations during bootup.

Support for running mdev as a daemon was added in 2019 with commit [1].

From that same commit:

> Adds the -d option to run mdev in daemon mode handling hotplug events
> from the kernel like udev. If the system generates many hotplug events
> this mode of operation will consume less resources than registering
> mdev as hotplug helper or using the uevent applet.

[1] https://git.busybox.net/busybox/commit/?id=498cec202adbf69a7a72af5e204260682d614183
[ci:skip-build]: already built successfully in CI
2022-11-11 08:11:19 +01:00
Johannes Marbach
0b523f354b
main/unl0kr: upgrade to 0.2.0_git20221110 (MR 3633)
[ci:skip-build]: already built successfully in CI
2022-11-11 07:52:20 +01:00
Pablo Correa Gómez
df76034e32
main/avbtool: remove (MR 3630)
avbtool is now included in android-tools upstream

Relates #1779
2022-11-09 17:52:50 +01:00
Clayton Craft
6ec2ba3c03
postmarketos-android-recovery-installer: upgrade to 1.0.6 (MR 3619)
Fixes:
- Fix installation with FDE
- Use new path to kpartx (MR 16)

Other:
- pmos_install: Increase boot partition size to 256MB (MR 14)
- pmos_install_functions: make shellcheck happy
- update-binary: make shellcheck happy

[ci:skip-build] already built successfully in CI
2022-11-06 21:36:40 -08:00
Martijn Braam
4c3be3aa14
main/postmarketos-tweaks: upgrade to 0.13.0 (MR 3613)
[ci:skip-build] already built successfully in CI
2022-11-03 23:27:05 -07:00
Clayton Craft
02198dccdd
postmarketos-mkinitfs: upgrade to 1.5.1
Fixes a crash due to the path for kpartx changing in a multipath update
in Alpine Edge.
2022-11-03 12:05:23 -07:00
Raymond Hackley
db00e85baf
main/postmarketos-config-nftables: 50_*.nft: drop unused wwan rules (MR 3594)
There is "iifname "wwan*" drop" defined in 01_wwan.nft, which drops
any not "established, related" incoming packet from WWAN.

[ci:skip-build]: already built successfully in CI
2022-11-03 07:48:33 +01:00
Bart Ribbers
97b18eafb2
community/postmarketos-ui-plasma-desktop: add bluetooth service to default runlevel (MR 3592) 2022-11-02 18:46:07 +01:00
Oliver Smith
5e73fe103a
main/mobile-config-firefox: upgrade to 3.1.0 (MR 3597)
Drop replaces, provides for postmarketos-config-firefox. This was the
name of the package until August of 2020, not relevant anymore. Also
the provides didn't have pkgrel and therefore was wrong.
2022-11-02 15:02:55 +01:00
Oliver Smith
f8d12ed781
main/msm-firmware-loader: fix provides (MR 3597) 2022-11-02 15:02:55 +01:00
Oliver Smith
96f8084bcd
main/postmarketos-ui-sxmo-de-dwm: set provider_priority=5 (MR 3597)
apk treats provider_priority=0 as if it is not there, not as lowest
value. The previous patch set it to =10 for …-sxmo-de-sway, so set it to
=5 for the dwm version.

Related: c21f61ddd8/src/solver.c (L713-721)
2022-11-02 15:02:54 +01:00
Oliver Smith
04250e1e41
main/postmarketos-ui-sxmo-de-sway: set provider_priority=10 (MR 3597)
apk ignores a provider_priority of 0. In order to have …-sxmo-de-dwm
have a lower provider priority than …-sxmo-de-sway, set a higher
priority than 1 for the sway version.
2022-11-02 15:02:54 +01:00
Oliver Smith
36cff31884
main/mkbootimg-osm0sis: upgrade to 2021.08.06 (MR 3597)
Also fix wrong use of provides.
2022-11-02 15:02:48 +01:00
niko
623702d4cf
main/postmarketos-ui-gnome-mobile: replace gedit with gnome-text-editor (MR 3603)
[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2022-11-01 16:58:41 +01:00
Oliver Smith
2d51770a74
main/postmarketos-ui-gnome-mobile: disable on riscv64 2022-10-26 20:27:13 +02:00
Oliver Smith
8185d66b73
main/unixbench: disable on riscv64 (MR 3588)
Related: https://builds.sr.ht/~postmarketos/job/868522
[ci:skip-build], [ci:skip-vercheck]: just disabling arches
2022-10-26 09:24:38 +02:00
Oliver Smith
594a34459e
main/postmarketos-ui-plasma-desktop: disable on riscv64 (MR 3588)
Related: https://builds.sr.ht/~postmarketos/job/868600
2022-10-26 09:24:38 +02:00
Oliver Smith
9529c0ab42
main/postmarketos-ondev: disable on riscv64 (MR 3588)
Related: https://builds.sr.ht/~postmarketos/job/868406
2022-10-26 09:24:38 +02:00
Oliver Smith
c102971e27
main/qtwebbrowser: remove (MR 3589)
Remove this obsolete package. It was added four years ago because we
didn't have working webbrowsers and hasn't been updated since.
2022-10-26 09:05:35 +02:00
Luca Weiss
766020c811
main/gcc6: disable on riscv64 (MR 3583)
[ci:skip-vercheck]: Changing arches doesn't require a rebuild
[ci:skip-build]: already built successfully in CI
2022-10-25 08:31:21 +02:00
Luca Weiss
9d15b45746
main/gcc4: disable on riscv64 (MR 3583) 2022-10-25 08:31:09 +02:00
Luca Weiss
c31c11cad9
main/hello-world-rust: allow textrels on riscv64 (MR 3584)
[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2022-10-25 08:18:11 +02:00
Alexey Minnekhanov
e78098c34f
main/postmarketos-ui-fbkeyboard: fix dejavu font path (MR 3582)
Alpine has changed location and package name of ttf-dejavu
fonts, adjust to new location.

Without this, fbkeyboard service crashes with error:

  unable to load font file: No such file or directory

Default font path is hardcoded [1] to
  "/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf".
Luckily there is a CLI switch to change default, use it.

[1] https://github.com/bakonyiferenc/fbkeyboard/blob/master/fbkeyboard.c#L37
2022-10-24 13:10:52 +03:00
Newbyte
63e8cff254
main/postmarketos-ui-phosh: replace gedit with gnome-text-editor (MR 3551)
Text Editor is a new modern text editor for GNOME. It is the new
default, replacing gedit upstream. As such, let's do the same here
downstream.

[ci:skip-vercheck]: pkgrel bump is not necessary when changing
recommends.
[ci:skip-build]: already built successfully in CI
2022-10-24 09:39:26 +02:00
Alexey Min
4fe645dead
main/lk2nd: upgrade to 0.13.0 (MR 3554)
- Support for the huawei-g7 display panel in lk1st
- FS based boot is skipped when going to the recovery
- Generate image without appended dtb for lk2nd-msm8226
- Some bug fixes and device improvements

New devices:
 - Samsung Galaxy Ace 4 (SM-G357FZ)
 - Samsung Galaxy Grand 2 (SM-G7102)
 - Samsung Galaxy Grand Max (SM-G720AX)
 - Samsung Galaxy Tab 4 10.1 (2014) (SM-T530)
 - Huawei Ascend G6 L11 LTE
 - Some new variants for the existing Samsung devices

Changelog: https://github.com/msm8916-mainline/lk2nd/releases/tag/0.13.0
2022-10-18 02:03:55 +03:00
Newbyte
d0d05b39cd
main/boot-deploy: upgrade to 0.6.1 (MR 3534) 2022-10-16 17:19:57 +02:00
Anjandev Momi
7270f472e3
treewide: fix tabs, final newline, trailing whitespace (MR 3530) 2022-10-16 16:27:22 +02:00
Affe Null
10df987e0e
main/mipi-dbi-cmd: tool for generating SPI panel init sequence firmware (MR 3527) 2022-10-16 11:18:04 +03:00
Alexey Minnekhanov
4144c7631f
main/postmarketos-config-nftables: use versioned constraints in install_if (MR 3536)
Consistently use `install_if="$pkgname=$pkgver-r$pkgrel ...` everywhere,
this is recommended upstream.

See https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#install_if
2022-10-16 08:19:21 +03:00
Raymond Hackley
1efe44bb36
main/postmarketos-config-nftables: add VLC chromecast rules (MR 3536) 2022-10-16 08:08:54 +03:00
Raymond Hackley
e0fa89db06
postmarketos-config-nftables: fix syntax errors and coding styles (MR 3535) 2022-10-14 09:35:31 +02:00
Raymond Hackley
b1e1d7f6d3
postmarketos-config-nftables: add upnp-client rules (MR 3533)
Add rules to accept SSDP/UPnP Replies, which can be used for discovery
in VLC.
2022-10-13 13:12:53 +02:00
Dang Huynh
69510f79f7
main/wl1251-cal: new pkgbuild (MR 3386)
This program grabs the WLAN calibration data from a NAND partition
on the Nokia N900.

Signed-off-by: Dang Huynh <danct12@disroot.org>
2022-10-12 21:39:12 +02:00
Jami Kettunen
1d88d8bcdd
main/waydroid-image: remove (MR 3508)
This has been out-of-date for almost a year with seemingly stalled
progress on the existing upgrade MR[1] for months now; it really seems
like no one wants to maintain this which currently leaves this
"force-installed-by-default" packaged image broken on all wlroots-based
Wayland compositors for example.

[1] https://gitlab.com/postmarketOS/pmaports/-/merge_requests/3091 ("Draft: main/waydroid-image: upgrade to 17.1.20220419")
2022-10-12 08:57:01 +02:00
Minecrell
5f140538bf
main/postmarketos-base: install mesa-dri-gallium only if needed (MR 3478)
At the moment almost all device packages force installation of the Mesa
drivers, even when they are not used by any application (for example on
a minimal headless installation with "none" or "console" UI).
Omitting mesa-dri-gallium from such installations saves about ~150 MiB
of disk space (469 MiB -> 317 MiB rootfs for minimal installation on
arrow-db410c).

The "classic" drivers have been removed from Mesa so only one mesa-dri-
package exists now: mesa-dri-gallium contains all Mesa drivers,
llvmpipe, freedreno, lima, panfrost, Intel (iris/crocus), ...

This means we can easily create an install_if package in
postmarketos-base that installs that driver package only if needed
(= only if another package requires the "mesa" package).

Strictly speaking the install_if could be restricted further since
mesa-dri-gallium is only needed by "mesa-egl", "mesa-gbm" and "mesa-gl"
but not e.g. the Vulkan drivers. Having three postmarketos-base
subpackages (one install_if for each of them) seems a bit
overengineered, though. "mesa" is a common dependency of all three
of them, so using install_if="... mesa" should be good enough.
2022-10-11 11:19:30 +02:00
Clayton Craft
03b842f3d7
postmarketos-splash: depend on font-droid (MR 3521)
renamed in aports@924a022f24
2022-10-10 18:53:37 -07:00
Clayton Craft
2023292d64
postmarketos-mkinitfs-hook-console-shell: change path to dejavu font (MR 3521)
renamed in aports@ee78772612

this also adds an explicit dependency on the font, since it may not have
been installed if postmarketos-ui-base was installed... (e.g. ui=None)
2022-10-10 18:53:37 -07:00
Clayton Craft
7327bd393f
main/*: depend on font-dejavu (MR 3521)
renamed in aports@ee78772612
2022-10-10 18:53:35 -07:00
Jakob Hauser
6b2cd8133c
main/postmarketos-ui-xfce4: remove xfce4-battery-plugin and icon link (MR 3503)
The xfce4-battery-plugin doesn't need to be installed anymore since we
switched to the "power manager plugin" in postmarketos-ui-xfce4 0.5.0.

The link to the old PostmarketOS icon isn't needed anymore for new
installations.

[ci:skip-build]: already built successfully in CI
2022-10-10 17:30:22 +02:00
Clayton Craft
4b72fbd9da
main/osk-sdl: upgrade to 0.67.1, change font dep and add patch to fix path
the ttf-dejavu package was renamed[1] and the path to the font file
changes.

ee78772612

fixes https://gitlab.com/postmarketOS/postmarketos-mkinitfs/-/issues/15
2022-10-09 14:34:23 -07:00
Newbyte
fa048b7517
main/postmarketos-base-ui: run SDL in Wayland mode by default (MR 2669)
This is possible now that all SDL (1) applications use sdl12-compat
instead of "classic" SDL 1.2. Note that this only is applied to user
interfaces that use Wayland and are launched through tinydm.

See https://gitlab.alpinelinux.org/alpine/aports/-/issues/12739
2022-10-09 15:23:59 +02:00
Newbyte
29f7006d5d
main/postmarketos-ui-plasma-mobile: ttf-droid-nonlatin -> font-droid-nonlatin (MR 3506)
This was renamed in aports: 924a022f24

[ci:skip-vercheck]
2022-10-08 19:14:51 +02:00
Jakob Hauser
b016cef0b2
main/postmarketos-ui-mate: add elogind (MR 3502)
That way rfkill plugin allows to use media keys for WiFi and Bluetooth.
And a suspend button becomes available in the shutdown dialog.
2022-10-08 10:46:42 +02:00
Oliver Smith
a53224a8e7
{main,cross}/gcc{4,6}*: remove !tracedeps option (MR 3498)
Don't build with !tracedeps, as otherwise the isl dependency is not
properly added to the built gccs. In practice this probably doesn't
matter since we only use these old gccs to build kernels in the native
chroots (not via crossdirect in foreign arch chroots), and we also
install a proper gcc in the native chroot that pulls in the isl
dependency. But fix it for correctness.

Related: pmaports issue 1732

[ci:skip-build] Already built successfuly on CI in MR
2022-10-07 21:36:17 +02:00
Bart Ribbers
122fc4d75a
main/postmarketos-ui-plasma-mobile: bump pkgrel
Seems to have been lost in a rebase on the previous commit, sorry
2022-10-07 19:07:33 +02:00
Bhushan Shah
40bd7f1ce8
Use postmarketOS artwork on plasma-mobile (#1464) (MR 3459)
(cherry picked from commit 302b6f5c29)
2022-10-07 09:36:30 +02:00
Bart Ribbers
b5c5918126
main/postmarketos-ui-plasma-mobile: remove firefox (MR 3499)
We already ship Angelfish and shipping 2 browser takes up a lot of
space. Besides Angelfish feels more native in Plasma Mobile (being baed
on Qt and made for mobile) and has a built-in adblocker nowadays so it
seems like the better option.

urfkill hasn't been used for quite a while, no need to keep it around

Motivation for this change is that the image builds of the UI are
currently running out of space so we need to decrease the image size
2022-10-06 11:39:54 +02:00
Bart Ribbers
980660b14f main/postmarketos-ui-plasma-mobile: remove urfkill
It hasn't been needed for a while
2022-10-06 08:59:02 +02:00
Jakob Hauser
a7b31e4731
main/postmarketos-ui-{mate,xfce4}: replace pulseaudio-utils by pulseaudio (MR 3479)
Actually package pulseaudio is needed instead of pulseaudio-utils.
Package pulseaudio-utils then gets drawn in by postmarketos-base-ui
sub-package pulseaudio.

For Xfce4 this is a cosmetic change because pulseaudio gets installed
as a dependency of pavucontol already. Keeping pulseaudio in the
_pmb_reccomends list makes sense to be clear which pieces are needed.

For MATE an explicit installation of pulseaudio is needed because it
doesn't use pavucontrol.

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2022-10-06 08:17:30 +02:00
Jakob Hauser
485cb2c6bd
main/postmarketos-ui-{mate,xfce4}: add alsa-plugins-pulse (MR 3472)
Package alsa-plugins-pulse forewards PulseAudio interfaces to ALSA.
This helps to clean up the mess of PulseAudio vs. ALSA.

[ci:skip-vercheck]
2022-10-06 01:48:06 +03:00
Newbyte
c995738e07
main/postmarketos-ui-phosh: drop osk.sh (MR 3487)
Since c49d84f4ab1856156d26d59f5c88387776990d24 in Alpine's aports,
the sm.puri.OSK0.desktop service no longer tries to execute
/usr/bin/osk-wayland and instead just executes /usr/bin/squeekboard
directly, thus avoiding this needless indirection. virtboard hasn't
existed in postmarketOS for years at this point and squeekboard is
a hard dependency of phosh, so it's always going to be present
(thus making this check unnecessary) and the fallback if it isn't
wouldn't work anyway.

[ci:skip-build]: already built successfully in CI
2022-10-05 09:20:01 +02:00
Luca Weiss
52a8258a5e
main/pil-squasher: remove (MR 3490)
Upstreamed to Alpine.
2022-10-04 22:48:30 +02:00
Newbyte
ffea64b8b1
main/postmarketos-ui-phosh: remove phoc scaling configuration (MR 3434)
At this point the only application preconfigured to be scaled was GNOME
Maps, which nowdays adapts just fine to narrow screens. Having it scaled
like this by default only degrades the user experience by making UI
elements tiny and hard to interact with.

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/1716
2022-10-03 20:25:20 +02:00
Jakob Hauser
f6db790abc
main/swclock-offset: change maintainer name (MR 3481) 2022-10-03 17:09:46 +02:00
Newbyte
ce46e963cf
main/postmarketos-ui-gnome: disable on armhf (MR 3482)
[ci:skip-vercheck]
2022-10-01 22:42:54 +02:00
Newbyte
f2c7c48e2a
main/postmarketos-base: make apk interactive by default (MR 3444)
This would mitigate issues where apk unexpectedly replaces packages
somewhat as this way the user will be able to see precisely what changes
will happen to their system before they are committed. Furthermore, most
users are likely accustomed to package managers like apt, dnf, pacman,
among others that all are interactive by default and as such this would
provide a more familiar experience for them.

This will not affected pre-existing installs, and advanced users who
do not like this behaviour can restore the old one by deleting
/etc/apk/interactive.

[ci:skip-build]: already built successfully in CI
2022-09-28 09:18:55 +02:00
Jakob Hauser
f5669c1621
main/postmarketos-ui-mate: remove pavucontrol from recommends (MR 3468)
After PulseAudio support for MATE sound was enabled in Alpine Linux,
its interfaces are now available in the native MATE sound settings.
The additional PulseAudio volume control application therefore became
redundant.

[ci:skip-vercheck]
2022-09-27 10:28:19 +02:00
Clayton Craft
d28d2e4a96
main/postmarketos-mkinitfs: upgrade to 1.5 (MR 3445) 2022-09-27 09:09:15 +02:00
Craig Comstock
00f8f73a53
main/gesture: upgrade to 0.7 (MR 3453)
Fix dot gestures on several devices

https://gitlab.com/postmarketOS/pmaports/-/issues/1697
[ci:skip-build]: already built successfully in CI
2022-09-21 22:17:51 +02:00
Luca Weiss
2e4f21edaf
main/qt5ct: remove
Package is present in Alpine repos since some time.

Closes #1160
2022-09-21 20:19:43 +02:00
Oliver Smith
0a578020c2
main/postmarketos-ui-phosh: don't install gnome-mobile forks (MR 3448)
There is no need to install the experimental GNOME mobile forks when
running Phosh, it will probably just cause instabilities. Let's rather
not do it.
2022-09-18 20:03:40 +02:00
Oliver Smith
e4994e5719
main/postmarketos-ui-gnome: don't install gnome-mobile forks (MR 3448)
Don't install the experimental gnome-mobile forks of gnome-shell and
mutter in regular GNOME. These are probably more stable, and most
importantly this prevents accidental uninstallation of gnome-shell
without installing gnome-mobile-shell.

Revert the addition of the gnome-shell dependency to
postmarketos-ui-gnome. This isn't needed anymore and caused further
issues.

Fixes: issue 1701
2022-09-18 20:03:35 +02:00
Oliver Smith
48698459ef
main/postmarketos-ui-gnome: add dep on gnome-shell (MR 3443)
Since merging the gnome shell on mobile MR 3404, gnome-shell needs to be
explicitly installed or else it gets removed on upgrade.

[ci:skip-build]: already built successfully in CI
2022-09-16 08:56:05 +02:00
Anjandev Momi
d25d6e6088
main/postmarketos-ui-sxmo-de-dwm: upgrade to 1.11.1 (MR 3398)
[ci:skip-build] already built successfully in CI
2022-09-15 10:32:46 -07:00
Anjandev Momi
1c3b44199e
main/sxmo-common: upgrade to 1.11.1 (MR 3398) 2022-09-15 10:32:40 -07:00
Anjandev Momi
430612a48f
main/postmarketos-ui-sxmo-de-sway: upgrade to 1.11.1 (MR 3398) 2022-09-15 10:32:26 -07:00
Oliver Smith
dd32a6697b
main/postmarketos-welcome: upgrade to 0.7.0 (MR 3441)
[ci:skip-build]: already built successfully in CI
2022-09-15 09:35:27 +02:00
Newbyte
b663e55b3a
main/postmarketos-ui-gnome-mobile: new aport (MR 3404)
[ci:skip-build]: already built successfully in CI
2022-09-15 09:30:12 +02:00
Oliver Smith
b45db48e69
main/postmarketos-ui-phosh: update ff in favorites (MR 3420)
Adjust to change in Alpine, Firefox ESR is now launched via
firefox-esr.desktop instead of org.mozilla.firefox.desktop.
2022-09-14 09:51:09 +02:00
Newbyte
6c0cfb081b
main/postmarketos-ui-phosh: adopt (MR 3435)
Bart has confirmed he's fine with this.
2022-09-14 09:43:57 +02:00
Bart Ribbers
8ead04ba61
main/postmarketos-ui-glacier: drop (MR 3433)
It's broken and I currently don't have any interest in fixing it or
maintaining it in general. If somebody wants to package it later they
can always restore it
2022-09-14 09:32:11 +02:00
Oliver Smith
1ff0cac815
main/gcc{4,6}: remove dependency on isl (MR 3432)
Previously only cross/gcc{4,6}-* packages were adjusted in MR 3419, but
these packages need to be adjusted as well.

Fix for error shown in upstream_compat check:
  Increase 'gcc6' pkgrel (10 -> 11), missing depend(s): isl
  Increase 'gcc4' pkgrel (5 -> 6), missing depend(s): isl

Related: pmbootstrap issue  2167

[ci:skip-build] Already built successfully once
2022-09-13 17:20:20 +03:00
Phil Smith
fac1dc0a64
main/postmarketos-ui-phosh: Fix firefox-esr mime (MR 3428)
Firefox packaging changed upstream, renaming the desktop files.  This
caused the mime applications to be stale, so update those.

See also
  https://gitlab.alpinelinux.org/alpine/aports/-/issues/13983
[ci:skip-build]: already built successfully in CI
2022-09-13 09:33:12 +02:00
Arnavion
2c74889256
main/postmarketos-hidden-desktop-entries: update firefox(-esr) safe-mode filename (MR 3418)
Ref:

- 6149290782

- 525736254c
2022-09-13 08:55:19 +02:00
Bart Ribbers
b79dd34e1d
main/postmarketos-ui-plasma-mobile: add dependency on PipeWire to fix window switcher previews (MR 3424) 2022-09-12 11:36:05 +02:00
Bart Ribbers
b23d61b547
main/postmarketos-ui-plasma-mobile: add font-noto-extra to _pmb_recommends (MR 3423)
The "Light" weight is used by the keyboard and some applications

[ci:skip-vercheck]
2022-09-12 10:40:43 +02:00
Newbyte
d8cb4fea55
postmarketos-ui-phosh: drop firefox subpackage (MR 3414)
The sole purpose of this subpackage was to work around that Firefox's
.desktop file did not match the GTK app ID. This has been fixed as of
the commit linked below, so drop the subpackage.

See 525736254c
2022-09-11 18:13:13 +02:00
Fiona Klute
72784fcf6f
main/mobile-config-firefox: Fix firefox-esr >= 102.2.0-r1 (MR 3417)
The firefox-esr package in versions >= 102.2.0-r1 installs to
/usr/lib/firefox-esr instead of /usr/lib/firefox, adjust FIREFOX_DIR
to match. Install for both firefox-esr and firefox now.

[ci:skip-build]: already built successfully in CI
2022-09-11 18:00:00 +02:00
Raymond Hackley
829413ef71
main/postmarketos-base-ui-pulseaudio: depend on pulseaudio-utils (MR 3411)
start-pulseaudio-x11 uses pactl, which is not installed by default.
2022-09-08 13:56:06 +02:00
Clayton Craft
4a7e47013e
main/postmarketos-base-ui: simplify pulseaudio config (MR 3412)
config scripts in /etc/pulse/default.pa.d are loaded automatically by
default.pa
2022-09-08 09:15:22 +02:00
Bart Ribbers
a90ecd5929
main/postmarketos-ui-plasma-mobile: add callaudiod to properly route audio (MR 3406) 2022-09-05 11:18:11 +02:00
Newbyte
6149a7d418 main/postmarketos-ui-phosh: add phosh-mobile-settings to recommends (MR 3396)
[ci:skip-vercheck]: Changing _pmb_recommends does not affect the
resulting package.
2022-09-04 16:02:14 +00:00
Dylan Van Assche
8c291862b6
main/postmarketos-base: add replace for busybox-openrc (MR 3400)
Alpine refactored the Busybox APKBUILD which resulted into a few
renamings like busybox-initscripts to busybox-openrc.

See 8b30ff10ab
2022-09-04 12:58:15 +02:00
Martijn Braam
751f109220
main/postmarketos-welcome: upgrade to 0.6.0 (MR 3392) 2022-08-31 16:57:43 +02:00
Bart Ribbers
4d8d989202
main/postmarketos-ui-plasma-desktop: add maliit-keyboard to _pmb_recommends (MR 3388)
Although qt5-qtvirtualkeyboard is used by SDDM, in a Plasma session
itself maliit-keyboard is used instead

[ci:skip-build]: already built successfully in CI
2022-08-28 23:13:20 +02:00
Martijn Braam
798cef69b5
main/powersupply: drop aport (MR 3383)
This package is now in Alpine
2022-08-25 13:10:11 +02:00
David Wronek
2e11baa90d
main/postmarketos-base: Add alpine-release to replaces (MR 3372)
Upstream changed the alpine-base package. Conflicting files are now in
alpine-release instead of alpine-base.
2022-08-20 21:47:39 +02:00
Dylan Van Assche
2bb6c15cbd
main: bootmac: new pmaport (MR 3360)
Bootmac configures the MAC addresses of WLAN and Bluetooth interfaces at boot.
Bootmac can be invoked in various ways at boot, but currently only udev rules are tested.
Bootmac generates MAC addresses from the `serialno` provided by Android bootloaders
through /proc/cmdline or from /etc/machine-id. The Organizationally Unique Identifier (OUI)
is retrieved from a lookup database macdb by matching deviceinfo_manufacturer
from /etc/deviceinfo with the entries in the database.

See https://gitlab.com/postmarketOS/bootmac
2022-08-19 09:35:45 +02:00
Johannes Marbach
ce053e7179
main/unl0kr: upgrade to 0.2.0_git20220817 (MR 3366) 2022-08-18 12:31:45 +03:00
Anri Dellal
3e677782ab
main/postmarketos-ui-weston: hide for downstream kernels (MR 3367)
Weston doesn't have fbdev backend anymore,
so hide it in pmbootstrap init to avoid
confusion.
2022-08-18 12:14:56 +03:00
Bobby The Builder
b341018d89
main/posmarketos-mkinitfs: add -f parameter to parted (MR 3355)
[ci:skip-build]: already built successfully in CI
2022-08-15 17:42:39 +02:00
Oliver Smith
d34f9020da
gcc4, gcc6: rebuild against latest isl (MR 3343)
Bump the pkgrel of gcc4 and gcc6, and regenerate the cross/* versions
with "pmbootstrap aportgen gcc6-armv7" etc.

Should fix these errors:
  Error loading shared library libisl.so.22: No such file or directory (needed by /usr/gcc6/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/cc1)
  Error relocating /usr/gcc6/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/cc1: isl_union_map_free: symbol not found
  Error relocating /usr/gcc6/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/cc1: isl_map_from_pw_aff: symbol not found
  Error relocating /usr/gcc6/libexec/gcc/x86_64-alpine-linux-musl/6.4.0/cc1: isl_schedule_from_domain: symbol not found
  ...

Related: 54749a5222
[ci:skip-build]: already built successfully in CI
2022-08-05 09:10:00 +02:00
Clayton Craft
d12a0772d5
main/boot-deploy: upgrade to 0.6 (MR 3297) 2022-07-27 08:57:02 +02:00
Anton Bambura
feb91937c1
main/postmarketos-mkinitfs: support mounting with UUIDs (MR 3298) 2022-07-24 16:58:55 +02:00
Anton Bambura
d14ca29400
main/postmarketos-update-depthcharge-kernel: new aport (MR 3290) 2022-07-23 22:07:18 -04:00
Laar3
fca17c6e08 postmarketos-mkinitfs: add option to disable splash (MR 3305)
Add PMOS_NOSPLASH as a kernel command line option to disable
the splash screen to show the logs on the screen for debugging.

See https://wiki.postmarketos.org/wiki/Initramfs_development
on how to use it.
2022-07-23 17:51:37 +00:00
Dylan Van Assche
a3f7bf3e1a
main/postmarketos-base: use setup-devd (MR 3302)
Alpine does not use setup-udev anymore and provides the same
functionality through setup-devd. The setup-udev script was deleted [1]
but postmarketos-base still used it and caused pmbootstrap to fail when
building a device image. Use the rc-service setup directly from
setup-devd.

[1] b56c4c2b9d
2022-07-20 10:05:27 -04:00
Oliver Smith
e6fc18b008
main/postmarketos-ui-*: recommend postprocessd (MR 3292)
Adjust UIs that pre-install megapixels (not megapixels-gtk3) to also
recommend using postprocessd. This pulls in opencv, but overall improves
the usability of megapixels a lot so it seems worth installing by
default.

[ci:skip-vercheck]: _pmb_recommends doesn't need a pkgrel bump
2022-07-17 20:16:05 +02:00
Oliver Smith
aa996d27b0
main/postmarketos-ondev: upgrade to 0.8.1 (MR 3280) 2022-07-11 08:32:04 +02:00
Harry Austen
affa4d24d2
main/qca-swiss-army-knife: new aport (MR 3266)
qca-swiss-army-knife contains a number of utilities to help and debug
Qualcomm Atheros wireless driver development.
2022-07-05 18:37:52 +02:00
Newbyte
469acb86b4
main/msm-firmware-loader: use separate repo as source (MR 3260)
Closes https://gitlab.com/postmarketOS/pmaports/-/issues/1292
2022-06-29 08:07:53 +02:00
Oliver Smith
3a964003e7
main/postmarketos-welcome: upgrade to 0.5.1 (MR 3249) 2022-06-29 07:59:20 +02:00
Shinjo Park
ef0f70f9d7
main/tizen-mkdzimage: new aport (MR 3247)
dzImage generation tool for Tizen devices. The same dzImage format is
used in all Samsung's Tizen devices (Spreadtrum, Qualcomm, Exynos), so
we pick the latest script from the Tizen's Exynos kernel package.
2022-06-22 10:24:07 +00:00
Richard Acayan
e07d1716cd
main/make-dynpart-mappings: upgrade to 10.2.4 (MR 3244) 2022-06-22 09:29:36 +02:00
Richard Acayan
20c7501b50
main/postmarketos-mkinitfs: resize_root_partition: resize dm-* devices (MR 3216)
Prior to this commit, the initramfs was unable to resize the root
partition if it was on a device backed by the device mapper. This commit
fixes that now that it is possible for the root partition to lie on a
device mapper device.
2022-06-16 10:12:07 +02:00
Oliver Smith
f7b5c3bed2
main/postmarketos-release-upgrade: upgrade to 1.2.1 (MR 3237) 2022-06-15 13:09:46 +02:00
Oliver Smith
cc5a379809
main/postmarketos-ui-sxmo-*: fix _pmb_recommends (MR 3236)
gnome-icon-theme has been dropped in alpine edge in favor of
adwaita-icon-theme. Adjust the _pmb_recommends of the Sxmo UI packages.

Fix for:
  package 'gnome-icon-theme' from _pmb_recommends not found for arch 'x86_64'

Related: b24abe8a2c
Related: https://gitlab.com/postmarketOS/pmaports/-/jobs/2593231817
[ci:skip-vercheck]: changing _pmb_recommends doesn't need version bump
2022-06-15 12:24:10 +02:00
Newbyte
50f392df43
main/postmarketos-ui-gnome: don't mark UI as hardware accelerated (MR 3041)
While GNOME does require hardware acceleration, GNOME's X11 mode
(not sure about Wayland mode) does work without DRM support, so
it works fine with software rendering on devices without a working
GPU as long as fbdev works.

I think this raises the question of whether we should rename
pmb:hw-accel to pmb:drm as e.g. Phosh should work without 3D
acceleration if a device e.g. uses a kernel with SimpleDRM support,
but that is out of scope for this MR/commit.

Effectively reverts 638362de63

[ci:skip-vercheck]
2022-06-15 11:33:37 +02:00
Oliver Smith
01e348b3a5
main/postmarketos-release-upgrade: upgrade to 1.2.0 (MR 3232)
Most importantly, this fixes upgrading to edge.

Related: https://gitlab.com/postmarketOS/postmarketos-release-upgrade/-/tags/1.2.0
2022-06-14 10:19:20 +02:00
Pablo Correa Gómez
f4783d4c88
main/postmarketos-mkinitfs: provide only a virtual package (MR 3228)
Fixes 02dfe83c4b

The previous `provides="mkinifs=3.6.0"` was a requirement because alpine's
kernels had a minimum dependency in `mkinitfs>=3.6.0` to make sure that
support for compressed modules existed. That requirement is no longer
in place[1], since the dependency is now on the `initramfs-generator`
virtual package. Also, since `initramfs-generator` is a virtual package
and not a real package, versioning it might mess up APK. The documentation
explictly states that virtual packages are those with unversioned provides
and a provider_priority. So to avoid having problems in the future, let's
strictly stick to it.

[1] 4fac61c826
2022-06-14 09:54:04 +02:00
Clayton Craft
c5c0e0f061
main/postmarketos-mkinitfs: add missing ascii nls module (MR 3229)
This is required by fat32, fixes #1555
2022-06-12 10:26:16 -07:00
Jakob Hauser
b6f19a2ed7
main/postmarketos-base: remove udev rule for rt5033 battery refresh (MR 3223)
The refresh method was removed in UPower version 0.99.18 for regular
usage (available in debug mode only).
2022-06-12 15:44:47 +02:00
Clayton Craft
02dfe83c4b
main/postmarketos-mkinitfs: provide initramfs-generator (MR 3219)
Alpine provides a 'initramfs-generator' thing now that the alpine
linux-* depend on explicitly. This sets postmarketos-mkinitfs to be the
preferred provider of that virtual package.

Fixes:
        ERROR: unable to select packages:
          postmarketos-mkinitfs-1.4.1-r5:
            conflicts: mkinitfs-3.6.1-r2[mkinitfs=3.6.0]
            satisfies: postmarketos-base-20-r1[postmarketos-mkinitfs]
                       postmarketos-base-nofde-20-r1[postmarketos-mkinitfs]
                       .pmbootstrap-20220610.215815[postmarketos-mkinitfs]
                       .pmbootstrap-20220610.215815[mkinitfs]
          mkinitfs-3.6.1-r2:
            conflicts: postmarketos-mkinitfs-1.4.1-r5
            satisfies: .pmbootstrap-20220610.215815[mkinitfs]
                       linux-rpi-5.15.45-r1[initramfs-generator]
          .pmbootstrap-20220610.215815:
            masked in: cache
            satisfies: world[.pmbootstrap=20220610.215815]

Also see:
        30d7b88324 (aports) main/mkinitfs: provide initramfs-generator
        4fac61c826 (aports) main/linux-lts: replace mkinitfs with initramfs-generator
2022-06-12 15:33:57 +02:00
Oliver Smith
b3a26d80b7
main/postmarketos-release-upgrade: upgrade to 1.1.2 (MR 3227) 2022-06-12 14:07:09 +02:00
Oliver Smith
bd5fe72ccf
main/postmarketos-welcome: upgrade to 0.5.0 (MR 3226) 2022-06-12 13:01:06 +02:00
Oliver Smith
8c933ef9a0
main/postmarketos-welcome: upgrade to 0.4.2 (MR 3208) 2022-06-10 10:01:09 +02:00
Pablo Correa Gómez
bec9861ec4
main/postmarketos-welcome: version provides (MR 3208)
There was lately a discussion upstream due to apk 2.12.10 breaking
some packages in aports[1]. The conclusion in IRC is that provides
were designed to be either versioned or have a provider_priority.
Otherwise, the provides will be treated as a "virtual package".
Which is not what we want here.

[1] https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10847
2022-06-10 10:01:04 +02:00
Jack Knightly
4912e44aa3
main/postmarketos-base: modify tm2-touchkey udev rule for midas (MR 3192) 2022-06-09 08:08:41 +02:00
Oliver Smith
5eeb86a419
main/postmarketos-welcome: upgrade to 4.0.0 (MR 3207)
[ci:skip-vercheck]: postmarketos-ui-phosh change in _pmb_recommends
doesn't need a version bump
2022-06-08 01:23:50 +02:00
Oliver Smith
8c4e11ab5b
main/postmarketos-release-upgrade: new aport (MR 3197)
[ci:skip-build]: already built successfully in CI
2022-06-07 09:44:48 +02:00
Oliver Smith
5be7308c82
Revert "main/postmarketos-ui-phosh: add yelp to _pmb_recommends (MR 2832)" (MR 3196)
The patch was meant well. But there are problems with yelp in its
current form in postmarketOS:
* It's practically empty. In the default install, there is only one
  application that has some sort of help text, which is Chatty. But
  when you click on the entry, there is only one line of generic
  information about the app. Not useful for users.
* Yelp is not adapted for small screens, the one line of help text is
  cut off on the PinePhone.

So let's not ship it by default in edge and v22.06 for now.
This reverts commit 5ef50b12f2.

[ci:skip-vercheck]: modifying _pmb_recommends doesn't need a version
bump.
2022-06-07 08:17:19 +02:00
Martijn Braam
1f3c16ca9c
main/postmarketos-ui-gnome: autostart bluetooth service (MR 3202) 2022-06-06 16:27:44 +02:00
Minecrell
16c9892a8f
main/postmarketos-mkinitfs: load file system modules dynamically (MR 3166)
At the moment, mkinitfs loads some file system modules always (ext4),
some dynamically (brtfs) and some not at all (f2fs, vfat), expecting
them to be built-in.

To support generic kernels (e.g. from Alpine) properly, use the
partition type detection for both boot and root partition and always
load the necessary modules before mounting.
2022-06-06 10:11:51 +02:00
Minecrell
a0a0b369d5
main/postmarketos-mkinitfs: include vfat in initfs by default (MR 3166)
An increasing number of devices relies on the vfat file system in the
initfs (e.g. for UEFI boot). Having to add all the modules required for
it to work to deviceinfo_modules_initfs is annoying and inconsistent,
in particular for the additionally chosen "nls" modules. Since we
already bundle several file systems by default, let's just add vfat
as well to simplify this.

Ideally mkinitfs should detect the file systems chosen at install time
in the future and only include the necessary modules, but until then
this just adds a couple of kilobytes to the initramfs.
2022-06-06 10:11:51 +02:00
Minecrell
0b5a4f9a44
main/postmarketos-mkinitfs: include crc32c_generic module by default (MR 3166)
CRC32C is required for ext4 to work, otherwise mounting the ext4 rootfs
fails with "Cannot load crc32c driver.".
2022-06-06 10:11:46 +02:00
Clayton Craft
abae34206b
main/osk-sdl: upgrade to 0.67 (MR 3193) 2022-06-06 09:29:21 +02:00
Anjandev Momi
620082575d
add pinephone-keyboard config (MR 3175)
closes #1515

This patch HAS NOT been tested to see if it actually fixes #1515. I do
not have my pinephone keyboard with me and will not till v22.06 is out.
Can someone please test this patch before merging?

Note: this is being merged upstream but needs a refactor of the
Makefile. See:

https://lists.sr.ht/~mil/sxmo-devel/patches/32630

Since we cannot get the refactor of the Makefile out before the next
release, this is the next best thing

[ci:skip-build] already built successfully in CI.
2022-06-01 21:15:09 -07:00
Johannes Marbach
bfb933dec1
main/postmarketos-mkinitfs-hook-debug-shell: add libinput utils (MR 3169)
This adds the libinput program to allow to debug libinput device handling.

[ci:skip-build] already built successfully in CI
2022-05-31 08:36:05 -07:00
Johannes Marbach
aa0f96edb9
main/postmarketos-mkinitfs: Correctly set up udev (MR 3146)
This replaces the previous `udevadm test` hack with a combination of
`udevd`, `udevadm trigger` and `udevadm settle` in order to coldplug all
available devices and make them available for use via libinput / unl0kr.

Relates to: #1411

[ci:skip-build] already built successfully in CI
2022-05-29 12:03:04 -07:00
Newbyte
c528aba4ff
main/postmarketos-ui-phosh: add karlender to _pmb_recommends (MR 3141)
Karlender fits well into GNOME and fills the lack of a calendar app
in Phosh.

[ci:skip-vercheck]
2022-05-27 19:56:58 +02:00
Oliver Smith
023f8cc1c3
main/mesa-pvr-dri-classic: remove (MR 3162)
We decided against pvr hacks, quoting craftyguy from issue 1316:

> We discussed this in our team meeting, and ultimately decided that
> supporting pvr in pmaports/pmOS has many of the same problems that
> we saw when trying to support hallium/libhybris, something we
> decided against. For much of the same reasons, we've decided that we
> want to avoid adding the proprietary userspace components required to
> support pvr in pmOS.

No device port is using this package anymore, but we forgot to remove
it. After branching v22.06 I realized that it doesn't build anymore
and as stated in MR 2702, it's unmaintained.

Related: https://builds.sr.ht/~postmarketos/job/767700
2022-05-27 09:11:13 +02:00
Luca Weiss
d23fd662f2
main/gcc6: fix build (MR 3153)
Fix the build failure when built with newer gcc:

/home/pmos/build/src/gcc-6.4.0/gcc/config/i386/i386.c: In function 'int function_arg_advance_32(CUMULATIVE_ARGS*, machine_mode, const_tree, long int, long int)':
/home/pmos/build/src/gcc-6.4.0/gcc/config/i386/i386.c:8743:18: error: converting to 'bool' from 'std::nullptr_t' requires direct-initialization [-fpermissive]
 8743 |   bool error_p = NULL;
      |                  ^~~~

Patch source: https://svnweb.freebsd.org/ports/head/lang/gcc7/files/patch-gcc_config_i386_i386.c?view=markup&pathrev=545751
2022-05-24 23:48:56 +02:00
Luca Weiss
19809ae262
main/gcc4: fix build (MR 3152)
Fix the build failure when built with newer gcc:

/home/pmos/build/src/gcc-4.9.2/gcc/reload1.c:89:24: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
   89 |   (this_target_reload->x_spill_indirect_levels)
      |   ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/home/pmos/build/src/gcc-4.9.2/gcc/reload1.c:444:7: note: in expansion of macro 'spill_indirect_levels'
  444 |       spill_indirect_levels++;
      |       ^~~~~~~~~~~~~~~~~~~~~

Patch source: https://github.com/ChrisMacGregor/esp-open-sdk/blob/master/1001-fix-reload1-compile-error.patch
2022-05-24 23:05:24 +02:00
Martijn Braam
fbaa5168d7
main/postmarketos-tweaks: upgrade to 0.12.0 (MR 3129)
[ci:skip-build]: already built successfully in CI
2022-05-13 09:46:45 +02:00
Richard Acayan
36ff86f895
main/postmarketos-mkinitfs: dynamic partitioning support (MR 3088) 2022-05-12 09:43:57 +02:00
Richard Acayan
2a120bd2f6
main/make-dynpart-mappings: new package (MR 3088) 2022-05-12 09:43:53 +02:00
alikates
af54978d9e
main/lk2nd-msm8953: typo in url (MR 3113)
[ci:skip-build]: already built successfully in CI
2022-05-05 08:19:47 +02:00
Newbyte
819620d7aa
main/postmarketos-ui-*: add explicit networkmanager-openrc dependency (MR 3111)
This should be reverted when this Alpine issue has been closed:
https://gitlab.alpinelinux.org/alpine/aports/-/issues/13778

sxmo-common already had this for some reason.

[ci:ignore-count]
[ci:skip-build] Already built successfuly on CI in MR
2022-05-04 17:09:41 +02:00
Newbyte
10de8847fd
main/postmarketos-mkinitfs: provide mkinitfs 3.6.0
linux-lts started requiring mkinitfs version 3.6.0 5 days ago as of
writing, and this package only provides mkinitfs 0.0.1, so bump
this to fix installation.

See f2ae372e8b

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/1517
2022-05-04 09:33:23 +02:00
Clayton Craft
440aa4ede3
main/postmarketos-ui-*: add networkmanager subpackages for wifi, wwan (MR 3110)
the networkmanager package in alpine was refactored and the wifi and
wwan components were split off into separate subpackages. without these,
wifi and wwan networking are broken.

also see: aports 830af82c6c

[ci:ignore-count]
2022-05-04 07:23:03 +02:00
Stacy Harper
9a43f57791
main/postmarketos-ui-sxmo-de-sway: upgrade to 1.9.0 (MR 3101)
[ci:skip-build] already built successfully in CI
2022-04-30 19:36:11 -07:00
Stacy Harper
da0c3fb72c
main/postmarketos-ui-sxmo-de-dwm: upgrade to 1.9.0 (MR 3101)
[ci:skip-build] already built successfully in CI
2022-04-30 19:36:07 -07:00
Stacy Harper
25a4101e32
main/sxmo-common: upgrade to 1.9.0 (MR 3101)
[ci:skip-build] already built successfully in CI
2022-04-30 19:35:50 -07:00
Newbyte
a57701d131
main/postmarketos-upgrade-kernel: fix custom boot partition being ignored (MR 3095)
This code wasn't actually working for me on samsung-m0, so I
investigated and came up with that this fixes it. I'm not sure if you
are supposed to be able to omit the deviceinfo_ prefix? Either way, it
doesn't seem to work, so let's fix it.

Fixes fad7c7ef8e
2022-04-29 08:36:26 +02:00
Pablo Correa Gómez
85cb669587
main/postmarketos-ui-phosh: remove xwayland from pmb_recommends (MR 3083)
XWayland is a phosh dependency. Having it in pmb_recommends adds
nothing and can be confusing, since power users would expect that
removing it from world would remove the package. That will never
be the case since phosh depends on it.

[ci:skip-build] already built successfully in CI
2022-04-21 11:28:59 -07:00
Jakob Hauser
49023c3f33
main/postmarketos-ui-{mate,xfce4}: add blueman (MR 3075)
Adding bluez to "depends" in order to enable bluetooth service (doesn't
work on packages in "_pmb_recommends").

Adding blueman to "_pmb_recommends" to allow uninstallation by the
user.

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/1465
2022-04-18 14:37:34 +02:00
Raymond Hackley
5431f520d4
main/postmarketos-base-ui-gnome: depend on networkmanager, nmcli and nmtui (MR 3076)
nmcli and nmtui are still missing in Gnome.
Move NetworkManager dependencies from postmarketos-ui-phosh, and phosh
will get them when depending on postmarketos-ui-gnome.
2022-04-18 14:27:55 +02:00
Anjandev Momi
5030271e74
main/sxmo-common: add xdg-user-dirs dep (MR 3071)
This patch is meant to support https://git.sr.ht/~mil/sxmo-utils/commit/46cc06b

Which in turn should fix https://todo.sr.ht/~mil/sxmo-tickets/350 and
https://gitlab.com/postmarketOS/megapixels/-/issues/46

This patch is not in the current release of sxmo but I am adding it so
that when 1.9.0 is released, we dont have to deal with this bug again.
2022-04-13 09:03:46 +02:00
Jakob Hauser
f6c2712322
main/postmarketos-ui-i3wm|mate|xfce4: remove deinstall scripts (MR 3064)
postmarketos-ui-i3wm|mate.post-deinstall:
Contains removal of file "61-autologin.conf"|"65-autologin.conf".
However, this file is removed by apk automatically unpon
deinstallation.

postmarketos-ui-i3wm|mate|xfce4.pre-deinstall:
Contains disabling service "lightdm". Removing display manager service
upon deinstallation isn't done by other UIs either. It can lead to
unexpected behaviour when installing another UI using lightdm and then
uninstall MATE UI.

Additionally
postmarketos-ui-i3wm.post-upgrade:
Removed postmarketos-ui-i3wm.post-upgrade and replaced it with a link to
postmarketos-ui-i3wm.post-install, like it's done in MATE and Xfce4.
2022-04-10 15:53:52 +01:00
Enrico Lumetti
cb31d2f496
main/sm-sparse-image-tool: new package (MR 3067) 2022-04-10 15:31:17 +01:00
Anjandev Momi
3f94934954
main/sxmo-common: add adwaita-icon-theme as dependency (MR 3052)
I usually end up installing it on new installs. Why not enable it by
default and have a more polished experience for users? Most users will
use a gtk app and/or use the gtk file chooser
2022-04-02 16:45:13 +02:00
Caleb Connolly
b7cc808b7d
main/osk-sdl: depend on mesa-egl (MR 3046)
mesa-egl is usually installed by dependencies of ui packages, but when
choosing the "none" ui option in pmbootstrap, it isn't selected, leading
to libEGL.so.1 not being found.

Add it as an explicit dependency.
[ci:skip-build]: already built successfully in CI
2022-03-31 09:53:27 +02:00
Alexey Minnekhanov
29d71342c1
main/lk2nd: upgrade to 0.12.0 (MR 3043)
Changelog: https://github.com/msm8916-mainline/lk2nd/releases/tag/0.12.0
2022-03-31 01:16:35 +03:00
Devin Lin
b5d1289a05
main/postmarketos-ui-plasma-mobile: update deps (MR 2938)
Add and rearrange dependencies with new apps, and fix angelfish package
name.

Adds the following packages to extras:
- alligator (rss reader)
- kasts (podcasts)
- tokodon (mastodon client)

Move neochat from a required to an extra dependency, since it's a
matrix client (which many people may not need).

Add plasma-mobile-sounds to main dependency, so that kclock (and dialer
in the future) have sounds to choose from.

Rename plasma-angelfish to angelfish dependency since plasma-angelfish
was renamed in alpine at some point.

Remove the part of the description of the package that says numeric
passwords are required (no longer the case).
2022-03-29 09:46:37 +02:00
Caleb Connolly
139a79fa9b
main/ttyescape: change licence to GPL-2.0 (MR 3042)
When moving the code to it's own repo I changed the license to GPL-2.0,
I forgot to update the APKBUILD.

[ci:skip-build] already built successfully in CI
2022-03-28 21:45:26 -07:00
Martijn Braam
a987568e07
main/postmarketos-ui*: add back nmcli and nmtui (MR 3023)
[ci:ignore-count]
2022-03-27 16:15:39 +02:00
Martijn Braam
4d269cb31a
main/powersupply: upgrade to 0.6.0 (MR 3025) 2022-03-27 14:57:45 +02:00
Martijn Braam
0ecaa59f4b
main/postmarketos-tweaks: upgrade to 0.11.0 (MR 3024) 2022-03-24 13:28:03 +01:00
Caleb Connolly
be91c62136
main/ttyescape: move to own repo (MR 3017) 2022-03-23 00:09:03 +00:00
Raymond Hackley
ab83b8cbeb
main/postmarketos-base: udev rule for zinitix touchkey (MR 3015)
The udev file "20-zinitix-input.rules" maps the touchkey on Zinitix-TS to
KEY_MENU and KEY_BACK.
2022-03-21 22:25:54 +09:00
Clayton Craft
562f542902
main/boot-deploy: upgrade to 0.5 (MR 3011)
[ci:skip-build]: already built successfully in CI
2022-03-21 09:50:22 +01:00
Raymond Hackley
f44c4e870b
main/postmarketos-ui-console: Add networkmanager-{cli,tui} to dependencies (MR 3013)
nmcli and nmtui are not included in package networkmanager.
Add necessary subpackages as dependencies.

8412887566
2022-03-20 17:16:56 +01:00
Martijn Braam
711d743a8e
main/postmarketos-ui-gnome: add firefox wayland config (MR 3008)
Add MOZ_ENABLE_WAYLAND=1 to make firefox not use xwayland in Gnome
2022-03-17 11:26:36 +01:00
Pablo Correa Gómez
53a68a88ec
main/postmarketos-base-ui-gnome: new aport (MR 2945)
Shared package for shared gnome and phosh ui configurations

Additionally, added missing dependencies:

Both Phosh and GNOME need elogind to do sleep inhibition and to
provide pam modules. gnome-bluetooth has some small udev rule
that helps marking devices for rfkill. Given that most devices
in pmOS have a bluetooth, this should be useful as a dependency.
2022-03-15 09:52:46 +01:00
Pablo Correa Gómez
9cf1eb5ba0
main/postmarketos-ui-gnome: remove clock overrides (MR 2945)
These were most likely copied from phosh, but not necessary in
GNOME. They safe space in the interface, but GNOME Shell is really
not that useful in very narrow devices, so adding a configuration
for such cases should be unnecessary.
2022-03-15 09:52:45 +01:00
Pablo Correa Gómez
aa7e507d8c
main/postmarketos-ui-phosh: move non-relocatable schemas to override (MR 2945)
The dconf configuration and installation file was needed because the
schemas `sm.puri.phoc.application.org-gnome-maps` and
`sm.puri.phoc.application.firefox` are not schemas that can be overriden.
The actual schema is `sm.puri.phoc.application`, which is a relocatable
schema. Therefore, we could use an override to specify the default,
but with a simple configuration file, gsettings cannot relocate the
schema. Therefore, the dconf configuration makes sense for these kind
of schemas. For regular schemas that can be overriden with an override
file, it is simpler to just use it.
2022-03-15 09:52:45 +01:00
Pablo Correa Gómez
2450153249
main/postmarketos-ui-phosh: remove custom button-layout override (MR 2945)
Phosh takes care of it in a smarter way[1]. The custom override also has the
consequence of never showing closing buttons in docked mode, which can be
an inconvenience.

[1] https://gitlab.gnome.org/World/Phosh/phosh/-/blob/main/src/docked-manager.c#L292-L295

Or in case the lines change with time:
```C
phosh_docked_manager_set_enabled (PhoshDockedManager *self, gboolean enable)

  if (enable)
    g_settings_reset (self->wm_settings, WM_KEY_LAYOUT);
  else
    g_settings_set_string (self->wm_settings, WM_KEY_LAYOUT, "appmenu:");
```
2022-03-15 09:52:45 +01:00
Pablo Correa Gómez
8fd97238fb
main/postmarketos-ui-phosh: remove redundant schemas set by Phosh (MR 2945)
Phosh already installs these schemas by default[1] and makes them specific
to the Phosh desktop. Originally these might have been needed because
either Phosh didn't ship the overrides or/and tinydm wasn't setting the
environment variable XDG_CURRENT_DESKTOP properly[2]. To verify that the
behavior of the Phosh override is working as expected one can do the following
from an ssh session (so that the full DE envvars are not set):
```bash
$ export DISPLAY=:0 # so that gsettings reset works
$ gsettings reset org.gnome.desktop.interface clock-show-date
$ gsettings get org.gnome.desktop.interface clock-show-date # false
$ sudo rm /usr/share/glib-2.0/schemas/000-postmarketos.gschema.override
$ sudo glib-compile-schemas --strict /usr/share/glib-2.0/schemas/
$ gsettings get org.gnome.desktop.interface clock-show-date # true (which is the default)
$ export XDG_CURRENT_DESKTOP=GNOME:Phosh
$ gsettings get org.gnome.desktop.interface clock-show-date # false (from phosh override)
```

[1] https://gitlab.gnome.org/World/Phosh/phosh/-/blob/main/data/00_sm.puri.Phosh.gschema.override
[2] https://gitlab.com/postmarketOS/tinydm/-/merge_requests/12
2022-03-15 09:52:45 +01:00
Pablo Correa Gómez
2b307748a6
main/postmarketos-ui-phosh: document reason for osk.sh script (MR 2945) 2022-03-15 09:52:45 +01:00
Pablo Correa Gómez
bf8b2273df
main/postmarketos-ui-phosh: remove firefox scaling (MR 2945)
firefox scaling was set to true before `mobile-config-firefox` existed.
In new installations false is the default, so explicitly stating false is
only necessary for upgrades. Since the default was changed in one and a half
years ago in fef3af0d75 when the
package was still in version 4, removing it should not have any impact. If
anybody had an edge installation not upgrade for more than 1.5 years, it would
definitely be wiser to reinstall than to upgrade.
2022-03-15 09:52:40 +01:00
Newbyte
d4b43f8d24
main/postmarketos-hidden-desktop-entries: unhide Glade (MR 2993)
Glade can be useful if you're building GTK apps on your phone when
making use of convergence, so let's unhide it. The reason it was
hidden was that it gets pulled in when building Phosh, but this
might be solvable in a better way.

Hiding of org.gnome.Extensions can probably be dropped when
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/31086
has been merged.
2022-03-15 09:05:39 +01:00
Martijn Braam
217643fe19
main/postmarketos-tweaks: upgrade to 0.10.0 (MR 3003) 2022-03-14 17:32:29 +01:00
Jakob Hauser
fae42ed91b
main/postmarketos-ui-mate: enable screen lock and single-click (MR 2999)
Enable screen locking and embed virtual keyboard. For devices with a
hardware keyboard, this is unfavorable. For touch devices, however,
that's needed for unlocking the screen.

Additionally enable single-click behavior in file manager. This applies
also to the desktop icons. Again this is unfavorable for conventional
devices but advantageous for touch devices.
2022-03-13 16:22:45 +01:00
Jakob Hauser
560b5d05ef
main/postmarketos-ui-mate|xfce4: disable cursor by unclutter-xfixes (MR 2994)
unclutter-xfixes version 1.6 introduced new options --hide-on-touch
and --start-hidden. That seems appropriate enough to cover the use
cases touchscreen usage (hide cursor) and mouse/touchpad usage (show
cursor).
2022-03-11 21:35:22 +03:00
alikates
40a56d670c
main/lk2nd-msm8953: upgrade to 0.3.1 (MR 2991)
[ci:skip-build] already built successfully in CI
2022-03-09 21:00:29 -08:00
Jakob Hauser
c67ae2a4de
main/postmarketos-ui-xfce4: upgrade to 0.5.1 (MR 2935)
The main change is to move the postmarketOS-specific Xfce4 configs
from /etc/skel to /etc/xdg. This improves the config handling because
the location in /etc/xdg can be defined as the default fallback
configs.

Moving the gtk-3.0 folder to /etc/xdg did not work. Therefore this
one remains in /etc/skel.

Beyond this, there are some minor changes from the xfce4-phone
repository:
- Change icon path of whiskermenu button to new location
- Apply pmOS wallpaper to more monitors
- Several clean-ups in the config files
2022-03-05 20:03:00 +03:00
Bart Ribbers
279fd99207
main/postmarketos-ui-plasma-bigscreen: upgrade to latest upstream configs (MR 2980) 2022-03-05 12:38:53 +01:00
Alexey Min
04839b3bf4
main/lk2nd: upgrade to 0.11.0 (MR 2971)
- Project naming scheme is changed to "lk2nd-msmXXXX"
- lk1st-msm8916: Experimental support for running as the "first" lk
- Secondary core bringup on non-psci firmware is now done by lk2nd
- rproc selection is now handled by lk2nd
- Some display information improvements
- New devices and various improvements for existing ones

[ci:skip-build]: already built successfully in CI
2022-03-03 22:43:55 +01:00
Przemysław Romanik
70c8bd9d23
main/postmarketos-ui-weston: change default backend to drm (MR 2950)
Fixes https://gitlab.com/postmarketOS/pmaports/-/issues/1431
2022-03-03 18:52:24 +01:00
Raymond Hackley
9833cc8a64
samsung-{a3,a5,a7,klte,serranove}: move tm2-touchkey rules to pmos-base (MR 2926)
Fixes: #1422
2022-03-03 19:21:20 +03:00
Alexey Min
432627c921
main/postmarketos-base: fix error after upstream changes (MR 2970)
Fixes error: postmarketos-base-18-r0: trying to overwrite etc/fstab owned by alpine-baselayout-data-3.2.0-r20.

caused by 9ecba8a514

[ci:skip-build] already built successfully in CI
2022-03-02 16:12:10 -08:00
Clayton Craft
164e9f010d
postmarketos-ui-phosh: enable waked by default (MR 2963)
This will make resuming on alarm work out of the box. Not sure how this
was missed previously...?

[ci:skip-build]: already built successfully in CI
2022-03-01 23:24:31 +01:00
Clayton Craft
5979bd6813
main/postmarketos-ui-phosh: add support for automounting disks (MR 2905)
This installs/starts udiskie, a udisk2 helper, that facilitates
auto-mounting of removable drives.

Note support for umounting is broken in the current Portfolio release,
so disks have to be umounted manually:

    udiskie-umount /run/media/<user>/*

I decided to add this to the `depends` and not `pmb_recommends`, because
I felt like 1) this is a feature that folks would expect to work, 2) by
having it in depends, it'll 'fix' existing installs where mounting
removable disks automatically is not implemented
2022-02-19 23:54:54 -08:00
Bart Ribbers
341a897fbb
main/postmarketos-ui-plasma-mobile: fix virtual keyboard (MR 2944) 2022-02-18 09:42:16 +01:00
Bart Ribbers
def72d948d
main/postmarketos-ui-plasma-mobile: lock screen on boot (MR 2924)
As requested by the upstream project, and only makes sense tbh
2022-02-17 21:53:53 +01:00
Newbyte
66608e5440
main/postmarketos-ui-weston: drop dependency on weston-backend-fbdev (MR 2941)
The fbdev backend was removed in Weston 10.0.0.

See https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/30486
2022-02-17 16:21:02 +01:00
Devin Lin
f595009430
main/postmarketos-ui-plasma-mobile: follow upstream in kdeglobals, lower StartDragDist (MR 2937)
Follow upstream change in https://invent.kde.org/plasma-mobile/plasma-phone-settings/-/blob/master/etc/xdg/kdeglobals
Lower StartDragDist so that flicks feel smoother (less "jumping" when a flick gesture is detected).
2022-02-16 16:01:02 -05:00
Clayton Craft
caec14561d
postmarketos-base: add sysctl config to disable rp_filter on ipv4 (MR 2943)
MMS support (via mmsd-tng) involves sending/receiving network
requests/responses over the wwan interface. If it's ipv4-only and the
device is connected to some other ipv4 network on another iface (like
wifi), this can cause the rp_filter to reject responses on wwan iface
because it incorrectly thinks they are martian packets.

This does theoretically disable some "security" feature in the kernel,
but it's worth noting that:

1) rp_filter isn't implemented at all in the kernel for ipv6

2) other distros (mobian, pureos at least) are also disabling rp_filter

3) this seems to be a relatively common problem with folks using mms on
   pmOS, since many carriers' data networks are ipv4-only

also see:
https://gitlab.com/kop316/mmsd/-/merge_requests/55/diffs?commit_id=b22c253fb939ff1eb949ea4e628706e6a28c851a

[ci:skip-build] already built successfully in CI
2022-02-16 12:08:24 -08:00
Pablo Correa Gómez
5eed24ebad
main/postmarketos-ui-phosh: add default handlers for tel and sms (MR 2932)
Closes #929
2022-02-15 21:05:45 +01:00
Clayton Craft
2859f2c8f3
main/postmarketos-ondev: depend on losetup (MR 2933)
ondev-boot-mount.sh expects the 'real' losetup (it uses --show), instead
of the busybox version (which doesn't support that parameter).

Alpine broke this in 31372fab76 when they split out losetup from
util-linux

[ci:skip-build]: already built successfully in CI
2022-02-15 21:00:38 +01:00
Oliver Smith
f787cdace2
main/devicepkg-dev: allow overriding splash config (MR 2931)
Allow calling the script with:
  SPLASH_CONFIG=$srcdir/splash.ini devicepkg_build $startdir $pkgname

In order to pass a custom splash config, as it will be used with the
PineNote (MR 2910).
2022-02-13 19:42:12 +01:00
Jakob Hauser
3282e81c19
postmarketos-ui-xfce4: create symlink at old pmOS icon location (MR 2916)
The postmarketOS icon was moved to a new location (see issue
pmaports#1418). Therefore the button of whiskermenu in the panel
becomes empty. This commit creates a symlink at the old location
to restore the icon on existing Xfce4 installations.

[ci:skip-build] already built successfully in CI
2022-02-09 17:48:00 -08:00
Pablo Correa Gómez
638362de63
main/postmarketos-ui-gnome: mark UI as hardware accelerated (MR 2919)
GNOME shell runs a test to verify that and it is also a
documented requirement.
https://wiki.gnome.org/Projects/GnomeShell/FAQ#Using

[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI
2022-02-09 17:45:56 -08:00
Newbyte
befe74e339
main/postmarketos-ui-plasma-mobile: depend on plasma-mobile (MR 2920)
plasma-phone-components was renamed to plasma-mobile here:
daf5758aba (f918702c0b126a554b4efd9f6e4a6eeda78d4b0d)
2022-02-09 18:26:53 +01:00
Johannes Marbach
580ed15d26
main/unl0kr: include device-specific udev rules (MR 2911)
This copies rules from /etc/udev/rules.d as well which ensures that
device-specific udev rules (e.g. for Nokia N900) are available in the
initfs.

Relates to: #1411
2022-02-08 18:49:22 +01:00
Stacy Harper
96e16d25a7
main/postmarketos-ui-sxmo-de-sway: use upstream bemenu (MR 2918) 2022-02-08 16:54:32 +01:00
Miles Alan
5519ec85d3
main/postmarketos-ui-framebufferphone: new aport (MR 2850)
[ci:skip-build] already built successfully in CI
2022-02-07 20:20:43 -08:00
Anjandev Momi
9b595f3815
sxmo: upgrade to 1.8.2 (MR 2912)
[ci:skip-build] already built successfully in CI
2022-02-06 14:58:13 -08:00
Johannes Marbach
26c2085d81
main/postmarketos-mkinitfs: support unl0kr (MR 2687)
[ci:skip-build] already built successfully in CI
2022-02-03 15:59:13 -08:00
Johannes Marbach
4f3ed7f70e
main/osk-sdl: add fde-unlock script (MR 2687) 2022-02-03 15:39:48 -08:00
Johannes Marbach
816937b1ef
main/unl0kr: new aport (MR 2687)
Fixes: #1309
2022-02-03 15:39:48 -08:00
Oliver Smith
b70a36190b
main/postmarketos-ui-phosh: add !pipewire-pulse (MR 2890)
Prevent apk from pulling in pipewire-pulse instead of pulseaudio, as
this leads to various audio issues with Phosh in postmarketOS (volume
buttons not working, no sound in various applications).

Pipewire will be a great replacement for pulseaudio, but let's rather
enable it intentionally for Phosh once we fixed everything that's
currently breaking with it. Without this patch it may get installed when
installing or upgrading other packages (not entirely sure how it gets
triggered yet, but I have seen it myself multiple times and we've gotten
reports about it).

[ci:skip-build] already built successfully in CI
2022-02-02 12:20:40 -08:00
Dylan Van Assche
284391cd9f
main/postmarketos-ui-phosh: ask for SIM unlock (MR 2896)
Show a prompt at startup to unlock the SIM if it is locked.
2022-02-02 14:35:06 +01:00
Adam Plumb
b53b455af8
main/postmarketos-mkinitfs-hook-netboot: Use deviceinfo to determine rootfs sector size if set (MR 2898) 2022-02-01 18:57:02 +01:00
Oliver Smith
142a15c464
main/postmarketos-ondev: upgrade to 0.7.4 (MR 2891)
Allow non-numeric passwords for Phosh too (now that it's implemented
there).

[ci:skip-build] Already built successfuly on CI in MR
2022-02-01 16:56:38 +01:00
Stacy Harper
12ace80784
main/postmarketos-ui-sxmo-de-sway: upgrade to 1.8.0 (MR 2887) 2022-01-30 10:29:03 +01:00
Stacy Harper
a442f2bf99
main/postmarketos-ui-sxmo-de-dwm: upgrade to 1.8.0 (MR 2887) 2022-01-30 10:26:59 +01:00
Stacy Harper
cada0256a0
main/sxmo-common: upgrade to 1.8.0 (MR 2887) 2022-01-30 10:26:55 +01:00
Newbyte
ca6579f545
main/postmarketos-ui-phosh: remove notice about numeric passwords (MR 2883)
Phosh supports arbitrary passwords as of release 0.15.0.
2022-01-26 22:18:42 +01:00
Bart Ribbers
8f24fe3ae7
linux-postmarketos-stericsson: move to device/testing (MR 2882)
[skip-ci] Just moving packages around, no need to run CI
2022-01-26 12:18:52 +01:00
Bart Ribbers
adf57d4526
linux-postmarketos-qcom-sm8350: move to device/testing (MR 2882) 2022-01-26 12:18:52 +01:00
Bart Ribbers
0d017f39db
linux-postmarketos-qcom-sm8250: move to device/testing (MR 2882) 2022-01-26 12:18:52 +01:00
Bart Ribbers
09eb038f95
linux-postmarketos-qcom-sm8150: move to device/testing (MR 2882) 2022-01-26 12:18:52 +01:00
Bart Ribbers
2923461c24
linux-postmarketos-qcom-sm6350: move to device/testing (MR 2882) 2022-01-26 12:18:52 +01:00
Bart Ribbers
61d129b9f0
linux-postmarketos-qcom-sdm660: move to device/testing (MR 2882) 2022-01-26 12:18:52 +01:00
Bart Ribbers
7e2ad15e23
linux-postmarketos-qcom-msm8998: move to device/testing (MR 2882) 2022-01-26 12:18:52 +01:00
Bart Ribbers
1fcb7b49be
linux-postmarketos-qcom-msm8994: move to device/testing (MR 2882) 2022-01-26 12:18:52 +01:00
Bart Ribbers
31c3ec1596
linux-postmarketos-qcom-msm8974: move to device/testing (MR 2882) 2022-01-26 12:18:52 +01:00
Bart Ribbers
2b9c9dbaec
linux-postmarketos-qcom-msm8953: move to device/testing (MR 2882) 2022-01-26 12:18:52 +01:00
Bart Ribbers
02484028c5
linux-postmarketos-qcom-msm8939: move to device/testing (MR 2882) 2022-01-26 12:18:52 +01:00
Bart Ribbers
fc7450cbc5
linux-postmarketos-grate: move to device/testing (MR 2882) 2022-01-26 12:18:52 +01:00