Commit graph

1882 commits

Author SHA1 Message Date
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