Commit Graph

161 Commits

Author SHA1 Message Date
Cosima Neidahl
dbde1d9063
Merge pull request #317000 from OPNA2608/fix/lomiri-QT_QPA_PLATFORMTHEME-issue
lomiri.lomiri-session: Unset QT_QPA_PLATFORMTHEME
2024-06-16 11:18:39 +02:00
OPNA2608
6355ddc8e8 lomiri.qtmir: nixfmt-rfc-style 2024-06-12 14:54:05 +02:00
OPNA2608
2de3fb4580 lomiri.qtmir: 0.7.2-unstable-2024-01-08 -> 0.8.0-unstable-2024-03-06, switch to debian-upstream branch 2024-06-12 14:53:24 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
OPNA2608
245aee34d9 mir_2_15: init at 2.15.0 2024-06-09 14:47:21 +02:00
Cosima Neidahl
5b3b5d79aa
Merge pull request #316275 from OPNA2608/fix/lomiri-xkb-layout
lomiri.lomiri: Try to consider services.xserver.xkb.layout
2024-06-07 19:49:31 +02:00
Cosima Neidahl
ed61e2bd1b
Merge pull request #316255 from OPNA2608/fix/content-hub-exchanges
lomiri.{lomiri-app-launch,content-hub}: Fix issues with peer spawning & data transfer
2024-06-07 16:58:34 +02:00
OPNA2608
4a495ec755 tests/lomiri-filemanager-app: init 2024-06-07 11:37:49 +02:00
OPNA2608
7f084b0fe1 lomiri.lomiri-filemanager-app: init at 1.0.4 2024-06-07 11:36:52 +02:00
Sigmanificient
d48a9bb622 treewide: remove unused fetchpatch arguments 2024-06-04 12:40:25 +02:00
OPNA2608
ad9b2ad912 lomiri.lomiri-session: Unset QT_QPA_PLATFORMTHEME
Workaround startup failure when Pantheon module sets it to "gtk3" globally.
2024-06-03 21:04:01 +02:00
OPNA2608
2735184f6d lomiri.lomiri: Try to consider services.xserver.xkb.layout
Propagate the configuration setting through an envvar, check the envvar in the compositor.
Needed because querying AccountsSettings for this information fails, due to Ubuntu-only
"InputSources" interface. So you're stuck on US layout without this hack.
2024-06-01 00:26:25 +02:00
OPNA2608
120fda2ef3 lomiri.content-hub: Modernise abit
- Some patches have been merged, fetch merged ones if possible & update comments
- with lib; in meta is frowned-upon
2024-05-31 22:33:59 +02:00
OPNA2608
0ddd3a49e9 lomiri.content-hub: Fetch patch to fix data transfer
We don't have a functional content-hub transfer test, so this slipped through the cracks during testing.

(The background setting in LSS would be an easy one, but that calls an AccountsSetting function that
doesn't exist outside of Ubuntu, so it wouldn't work anyway.)
2024-05-31 22:25:39 +02:00
OPNA2608
20c9038e15 lomiri.lomiri-app-launch: Modernise abit
- Patch has been merged, fetch merged one & update comment (hash is unchanged, checked)
- We now have a CMake modern enough for pkg_get_variable DEFINE_VARIABLES, use it
- substituteInPlace --replace is deprecated
- with lib; in meta is frowned-upon
2024-05-31 22:19:25 +02:00
OPNA2608
af1d2bd13a lomiri.lomiri-app-launch: Inject /run/current-system/sw/bin into PATH
LAL manages desktop file parsing for various parts of the Lomiri environment. It also handles turning them into SystemD services tracked in the background.
And due to how things work one, it's code is also SystemD-launched by itself.

When we package applications with desktop files, we don't want the Exec values to be absolute, so we patch out absolute paths.
Without absolute paths, PATH is expected to have the path to the executables. But our PATHs don't always contain i.e. /run/current-system/sw/bin.

Services launched by SystemD are one such instance. If LAL code is run under SystemD's restricted reduced PATH, then it fails to find the requested executables.
This is what happens to content-hub, and it causes all transfer requests to be met with an immediate "could not launch peer"-like error, and a transfer being stuck halfway.

To work around this (I wouldn't call this a real solution?), patch LAL code to:
- also propagate whatever PATH it currently *does* have to its launched applications
- postfix the PATH it has with /run/current-system/sw/bin, to give it a decent fallback

These changes allow for lomiri-filemanager-app to be launched via a content-hub request from lomiri-system-settings (i.e. the background selection).
2024-05-31 22:11:59 +02:00
OPNA2608
137015743e lomiri.lomiri-indicator-network: Disable tests
Needs a GLib change to be fixed, which needs a staging cycle, which I was told won't happen in time anymore.
Seems like only the tests fail though.
2024-05-27 17:12:45 +02:00
OPNA2608
3ef60ac499 lomiri.telephony-service: Mark broken & exclude everywhere
Needs a GLib change to be fixed, which needs a staging cycle, which I was told won't happen in time anymore.
Luckily it's not a crucial component for the desktop mode.
2024-05-27 17:08:53 +02:00
github-actions[bot]
6fecc628f9
Merge master into staging-next 2024-04-29 12:01:15 +00:00
Cosima Neidahl
bb54a0c197
Merge pull request #304798 from OPNA2608/update/lomiri/stuff
Update ayatana datetime & some OTA-less Lomiri things
2024-04-29 12:09:58 +02:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
OPNA2608
e20e4d5ddd lomiri.lomiri-indicator-network: Update patching to newer CMake's possibilities
We can just define variables for pkg-config substitution now, no need to hardcode.
2024-04-17 21:31:18 +02:00
OPNA2608
d0805fa861 lomiri.lomiri-system-settings-unwrapped: 1.0.2 -> 1.1.0 2024-04-17 16:19:47 +02:00
OPNA2608
6d6ab74199 lomiri.lomiri-ui-toolkit: 1.3.5012 -> 1.3.5100 2024-04-17 16:19:46 +02:00
OPNA2608
8d0a5773b2 lomiri.telephony-service: Fix indicator 2024-04-14 21:38:40 +02:00
OPNA2608
52696f99fa lomiri.libusermetrics: Add custom patch for launching systemd service
The UserMetrics service expects AppArmor to be available, and its database access breaks when that's not the case.
Details: https://gitlab.com/ubports/development/core/libusermetrics/-/issues/8

We need to set an envvar for it to work AppArmor-less, but that requires system config knowledge.
Solve this by telling the D-Bus service to look for & launch a systemd service, which we will later create in the Lomiri module.
2024-04-14 21:38:40 +02:00
OPNA2608
9c5e9db5bf lomiri.lomiri-system-settings: Patch language plugin's locale lookup path
The only part this really affects for us is Lomiri's First-Time-Launch Wizard, which uses the found & filtered
locale identifiers for a language selection & gets stuck unless at least 1 valid language has been found.

This makes the wizard process completable, in case we ever re-enable it.
2024-04-14 21:38:40 +02:00
OPNA2608
c1af1ec922 lomiri.content-hub: Move example peers to examples output 2024-04-14 21:38:40 +02:00
OPNA2608
dd3f11b8f6 lomiri.morph-browser: Patch desktop icon path to be absolute
Because Lomiri App Launch parses it on Lomiri startup, and having a relative Icon entry somehow corrupts the search paths.
2024-04-14 21:38:40 +02:00
OPNA2608
b6fd92ab77 nixos/tests/lomiri: init 2024-04-14 21:38:40 +02:00
OPNA2608
67daa5021f lomiri.lomiri-session: init at 0.2 2024-04-14 21:36:34 +02:00
OPNA2608
1850a54e57 lomiri.lomiri: init at 0.2.1 2024-04-14 21:36:34 +02:00
OPNA2608
40e6d7af2e lomiri.u1db-qt: Fix pkg-config file 2024-04-12 22:12:47 +02:00
OPNA2608
425c8101a9 lomiri.trust-store: Fix references variable in pkg-config 2024-04-12 21:37:39 +02:00
OPNA2608
33fc340c95 lomiri.deviceinfo: Fix references variable in pkg-config 2024-04-12 17:04:37 +02:00
OPNA2608
7523091d97 lomiri.lomiri-download-manager: Fix lack of output fixup in pkg-config file, update pkg-config call with new CMake option 2024-04-12 13:20:37 +02:00
OPNA2608
4c958df482 lomiri.biometryd: Fix lack of output fixup in pkg-config file, update pkg-config call with new CMake option 2024-04-12 12:13:32 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
OPNA2608
871660ce50 lomiri.suru-icon-theme: add meta.changelog 2024-02-27 14:32:00 +01:00
R. Ryantm
579350f73e lomiri.suru-icon-theme: 20.05.1 -> 2024.02.1 2024-02-27 10:56:25 +00:00
Peder Bergebakken Sundt
9f6ae93dc8
Merge pull request #278374 from OPNA2608/init/lomiri/lomiri-system-settings
lomiri.lomiri-system-settings{,-unwrapped,-security-privacy}: init at 1.0.2
2024-02-26 22:46:52 +01:00
OPNA2608
66129d5e24 tests/lomiri-system-settings: init 2024-02-26 10:11:41 +01:00
OPNA2608
08ef900167 lomiri.lomiri-system-settings: init at 1.0.2 2024-02-26 10:11:41 +01:00
OPNA2608
429be39416 lomiri.lomiri-system-settings-security-privacy: init at 1.0.2 2024-02-26 10:11:41 +01:00
OPNA2608
53bb990cd0 lomiri.lomiri-system-settings-unwrapped: init at 1.0.2 2024-02-26 10:11:41 +01:00
Weijia Wang
5f5062d1ef Merge branch 'master' into staging-next 2024-02-23 05:09:55 +01:00
Simon Hollingshead
ed42aa7999 lomiri-thumbnailer: Add patch to support gtest 1.13+ (forces build with C++14)
From gtest 1.13, C++14 is required.  Upstream hardcodes C++11 for its builds.
2024-02-22 17:24:16 +00:00
OPNA2608
a8069ff58a tests/morph-browser: Add standalone (non-Lomiri) test 2024-02-22 10:36:50 +01:00
OPNA2608
48e5ed9ad1 lomiri.morph-browser: Skip lint tests 2024-02-21 19:32:43 +01:00
OPNA2608
dc0b27ef05 lomiri.morph-browser: 1.0.3 -> 1.1.0 2024-02-21 19:32:42 +01:00