Commit graph

130 commits

Author SHA1 Message Date
Clayton Craft
e30db78d84
main/postmarketos-ui-phosh: don't depend on phosh-service (MR 5342)
The package name is wrong now (!5315), and the service stuff is
automatically installed by systemd-service

[ci:skip-build]: already built successfully in CI
2024-07-12 10:21:31 +02:00
Clayton Craft
d46d5855be
main/postmarketos-ui-phosh: drop hardcoded dependency on pulseaudio (MR 5203)
This allows users to test out pipewire audio on phosh. Currently the
default audio backend is pulseaudio. This is configured in pmos-base-ui.

fixes #2013
[ci:skip-build]: already built successfully in CI
2024-06-06 12:42:03 +02:00
Sam Day
7f16b13781
main/postmarketos-ui-phosh: support openrc and systemd installs (MR 5171)
Also see: MR 4904

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2024-05-28 09:33:29 -07:00
Joe HH
0c859fbfc3
main/postmarketos-ui-phosh: remove karlender from pmb_recommends (MR 3742)
It's now in the base-ui-gnome package

[ci:skip-vercheck]
2024-04-30 16:43:17 +02:00
Oliver Smith
1712a2d03a
main/postmarketos-base-ui-gnome: remove wallpaper config (MR 5015)
Remove the postmarketos-base-ui-gnome-wallpapers subpackage that only
Phosh and GNOME desktop used to depend on, and instead add a hard
dependency on postmarketos-artwork-wallpapers.

The config that enables the wallpapers will be moved to
postmarketos-artwork-wallpapers in the next commit. This will make it
easier to maintain, the paths to the wallpapers will only be in one
package instead of being scattered across many.
2024-04-08 17:13:09 +00:00
Clayton Craft
d680f3eb09
pmos-ui-{gnome,phosh}: Move shared pmb_rcmds to pmos-base-ui-gnome (MR 4756)
These apps are useful to have on the full GNOME desktop too, and this
removes the need to duplicate package lists across UI meta packages that
depend on the base gnome UI package.
2024-02-06 16:05:56 -08:00
Clayton Craft
6191625ab9
pmos-ui-{gnome,phosh}: move kgx/gnome-console to pmb_recmds (MR 4756)
The package name has changed so the new name, gnome-console, is used
instead.
2024-02-06 16:05:56 -08:00
Clayton Craft
87e9476dbd
pmos-ui-{gnome,phosh}: move shared depends to pmos-base-ui-gnome (MR 4756) 2024-02-06 16:05:56 -08:00
Pablo Correa Gómez
7e22978251
main/postmarketos-ui-phosh: add xdg-desktop-portal-wlr (MR 4334)
Since it's the recommended for the screencast feature
https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/1301

[ci:skip-build]: Already built successfully in CI.
2023-12-18 11:18:52 -05:00
Oliver Smith
f8f223fef0
main/postmarketos-ui-phosh: set pmOS wallpaper (MR 4527)
[ci:skip-build] already built successfully in CI
2023-11-01 16:02:41 -07:00
Stefan Hansson
2ab59a220f
main/postmarketos-ui-phosh: Rebuild following url and pkgdesc update (MR 4385)
`url` and `pkgdesc` do affect the resulting package and as such
`pkgver` should be incremented, but it wasn't.

Fixes 0dfb1219f8
[ci:skip-build]: already built successfully in CI
2023-09-08 17:33:17 +02:00
Guido Günther
0dfb1219f8
main/postmarketos-ui-phosh: Modernize description and URL (MR 4366)
While a lot of Phosh development still happens on and for the Librem 5
we (thankfully) have lots of users and contributors using other devices.
Update the description to reflect that.

Ideally we'd emphasize that this is GNOME technology based and uses
wlroots but let's not  make the description too long.

Instead of Purism's generic home page point the URL to phosh.mobi which
has some more details. An alternative URL would be
https://puri.sm/pureos/phosh/ but that points to a page that is a
currently a bit dated.

[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI
2023-09-05 10:24:15 -07:00
Luca Weiss
7f17509724
Revert "main/postmarketos-ui-phosh: Disable on riscv64 (MR 4342)" (MR 4347)
The dependency xdg-desktop-portal-gnome has been reenabled in Alpine:
902360a184

> The linking issue was caused by libudev-zero being pulled in as
> dependency instead of eudev. This has been fixed in the meantime.

This reverts commit a48d4dac62.

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2023-08-25 17:33:32 +02:00
Stefan Hansson
5a07413b97
main/postmarketos-ui-phosh: Replace EoG with Loupe (MR 4342)
Loupe is the new image viewer for GNOME. It also works better on phones
than Eye of GNOME and does not require any gschema overrides to fit the
narrow screens of phones.
2023-08-24 09:52:16 +02:00
Stefan Hansson
a48d4dac62
main/postmarketos-ui-phosh: Disable on riscv64 (MR 4342)
Unfortunately xdg-desktop-portal-gnome is not available on riscv64 any
more in Alpine.
2023-08-24 09:52:16 +02:00
Willow Barraco
26efb302d9
main/postmarketos-base-ui-phosh: depends on base-ui qt-tweaks and qt-mobile (MR 4242) 2023-07-17 13:08:58 -07:00
Newbyte
853f4ba5a5
main/postmarketos-ui-phosh: don't recommend postmarketos-hidden-desktop-entries (MR 4086)
Package has been removed.
2023-05-21 17:14:55 +02:00
Pablo Correa Gómez
72b944c1fc
main/postmarketos-ui-phosh: add GS APK plugin to pmb_recommends (MR 3851)
We removed the "install_if" of the APK plugin on GS so that one could
use GNOME Software exclusively for flatpak

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
2023-04-06 09:48:21 +02: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Martijn Braam
a987568e07
main/postmarketos-ui*: add back nmcli and nmtui (MR 3023)
[ci:ignore-count]
2022-03-27 16:15:39 +02: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
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
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
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
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