Commit Graph

55 Commits

Author SHA1 Message Date
OPNA2608
ba59f61a72 lomiri.u1db-qt: Add meta.changelog 2024-10-31 13:51:48 +01:00
OPNA2608
eeea8d648d lomiri.u1db-qt: Enable qdoc docs 2024-10-31 00:54:46 +01:00
OPNA2608
ed897d230a lomiri.u1db-qt: 0.1.7 -> 0.1.8 2024-10-11 05:17:28 +02:00
Peder Bergebakken Sundt
cd673393d2 treewide: remove unreferenced patch files
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'``

We're running more and more into patches fetched via `applyPatches`, for the next PR i'll script something to account for that.
2024-10-04 19:38:56 +02:00
OPNA2608
19d9cb7ca1 lomiri.libusermetrics: nixfmt 2024-08-19 18:25:45 +02:00
OPNA2608
31227b2491 lomiri.libusermetrics: 1.3.2 -> 1.3.3 2024-08-19 18:24:22 +02:00
Peder Bergebakken Sundt
29ab705c17 treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck
repeat of #271241
discussion: #272978

I did not replace the instance in eiwd, since it causes an infinite recursion.
2024-07-30 18:32:01 +02:00
Reno Dakota
6f98ebba68
lomiri.lomiri-app-launch: fix strict deps
add lttng-ust to nativeBuildInputs
2024-07-25 07:19:30 +00:00
Reno Dakota
a91fcac653
lomiri.lomiri-api: fix strict deps
add qtdeclarative to natvieBuildInputs
2024-07-25 07:19:29 +00:00
Reno Dakota
dea5c24789
lomiri.qtmir: fix strict deps
add lttng-ust to nativeBuildInputs
2024-07-25 07:19:29 +00: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
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
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
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
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
e2eab5dbd8 lomiri.lomiri-app-launch: Fix flakiness
- fetch a patch to fix flakiness of typelib generation
- skip a test suite that can sometimes hang
2024-02-03 20:27:50 +01:00
OPNA2608
174b65ab37 lomiri.libusermetrics: Disable flaky test 2024-02-01 22:48:51 +01:00
OPNA2608
79edea7b2b lomiri.libusermetrics: 1.3.0 -> 1.3.2 2024-02-01 13:53:59 +01:00
OPNA2608
cc6288e436 lomiri.trust-store: 0-unstable-2023-12-27 -> 2.0.2 2024-02-01 13:53:59 +01:00
OPNA2608
30cb7f983f lomiri.lomiri-app-launch: 0.1.8 -> 0.1.9 2024-02-01 13:53:58 +01:00
OPNA2608
42ac243ab3 lomiri.geonames: 0.3.0 -> 0.3.1 2024-01-28 20:02:36 +01:00
OPNA2608
fac4c957b8 lomiri.deviceinfo: Add meta.changelog 2024-01-27 18:05:14 +01:00
R. Ryantm
708f24b773 lomiri.deviceinfo: 0.2.1 -> 0.2.2 2024-01-27 16:56:13 +00:00
Peder Bergebakken Sundt
e7120ab381
Merge pull request #259804 from OPNA2608/init/lomiri/qtmir
lomiri.qtmir: init at 0.7.2-unstable-2024-01-08
2024-01-22 23:30:10 +01:00
OPNA2608
b781682c33 lomiri.qtmir: init at 0.7.2-unstable-2024-01-08 2024-01-20 17:28:51 +01:00
OPNA2608
7cfee78a37 lomiri.trust-store: unstable-2023-10-17 -> 0-unstable-2023-12-27 2024-01-18 17:34:46 +01:00
OPNA2608
3c15cf428e lomiri.lomiri-api: Apply patch for GCC13 support 2024-01-12 22:44:42 +01:00
OPNA2608
142444767e lomiri.cmake-extras: unstable-2022-11-21 -> 1.7 2023-12-28 22:31:48 +01:00
OPNA2608
ca55619175 lomiri.trust-store: init at unstable-2023-10-17 2023-12-09 20:25:23 +01:00
Peder Bergebakken Sundt
cea2709002
Merge pull request #260967 from OPNA2608/init/lomiri/u1db-qt
lomiri.u1db-qt: init at 0.1.7
2023-12-08 12:18:59 +01:00
Peder Bergebakken Sundt
e46cd8af45
Merge pull request #245803 from OPNA2608/init/lomiri/lomiri-app-launch
lomiri.lomiri-app-launch: init at 0.1.8
2023-12-07 02:22:49 +01:00
OPNA2608
740b9853a6 lomiri.lomiri-app-launch: init at 0.1.8 2023-12-04 02:12:58 +01:00
OPNA2608
ca662816b9 lomiri.u1db-qt: init at 0.1.7 2023-12-03 01:46:12 +01:00
Peder Bergebakken Sundt
ad5e744714 treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck
This will respect `doCheck = false;` overrides, common for cross.
2023-11-30 18:56:12 +01:00
OPNA2608
b6de3ceda8 lomiri.deviceinfo: 0.2.0 -> 0.2.1 2023-10-22 00:03:37 +02:00
Christoph Neidahl
166442660b
lomiri.geonames: Use devdoc for documentation instead (#253407)
Which is apparently a thing that already handles gtk-doc documentation moving, and
more closely aligns with upstream's feedback on the merge request.
2023-09-05 23:15:46 +02:00
Sandro
a8ddb427af
Merge pull request #241335 from OPNA2608/init/lomiri/libusermetrics
lomiri.libusermetrics: init at 1.3.0
2023-07-23 18:18:03 +02:00
OPNA2608
b2f4cdf2fe lomiri.geonames: Upstream better GNUInstallDirs variable usage 2023-07-14 11:44:43 +02:00
OPNA2608
c907360ea2 lomiri.libusermetrics: init at 1.3.0 2023-07-12 21:44:15 +02:00
OPNA2608
609c49f740 lomiri.geonames: Use CMAKE_CROSSCOMPILING_EMULATOR instead of patching in emulator call 2023-07-12 08:47:25 +02:00
OPNA2608
983e3f7d18 lomiri.geonames: init at 0.3.0 2023-07-11 11:02:24 +02:00
Christoph Neidahl
346be12332
lomiri.deviceinfo: init at 0.2.0 (#241265)
* lomiri.deviceinfo: init at 0.1.1

* lomiri.deviceinfo: 0.1.1 -> 0.2.0
2023-07-05 23:05:51 +02:00
Christoph Neidahl
437e8e0734
lomiri.cmake-extras: Change default QML location back to CMAKE_INSTALL_PREFIX
Going `${CMAKE_INSTALL_BINDIR}/../` looks weird. Derivations that want them in a non-`out` output can just set the `QMLFILES_DESTINATION` CMake flag as needed.

Co-authored-by: rewine <luhongxu@deepin.org>
2023-07-05 13:34:57 +02:00
OPNA2608
d32d5d5302 lomiri.cmake-extras: Change QML module installation path
We sometimes place QML modules into the bin output of derivations. Using CMAKE_INSTALL_BINDIR and backtracking from it
will ensure that the modules will end up under the bin output prefix, if it is enabled.
2023-06-20 14:28:08 +02:00