| 26 Mar 2024 |
eyJhb | I might also be missunderstanding how it works. | 19:14:32 |
atemu12 | In reply to @eyjhb:eyjhb.dk It compiled! I would be interested in seeing how tough lineageos 21 would be LOS20 involved rebasing some patches and doing some miscellaneous adjustments but wasn't too bad | 20:04:20 |
eyJhb | I would try to do it, but I don't know enough about it. And robotnix seems to be a BEAST... | 20:05:22 |
eyJhb | The entire thing about webview also seems tedious at best. E.g. having to package chromium/bromium specifically for robotnix seems like a huge undertaking. | 20:06:13 |
atemu12 | Yeah I haven't bothered with webview at all | 20:06:26 |
atemu12 | I've got a draft for deprecating it and using prebuilts instead but I never finished it | 20:06:53 |
eyJhb | In reply to @eyjhb:eyjhb.dk
eyjhb@chronos ~/s/robotnix (master)> tree /nix/store/v1i3dsgqxdf99hknlnlhjsbcfk0j3xas-external=chromium-webview-patched/
/nix/store/v1i3dsgqxdf99hknlnlhjsbcfk0j3xas-external=chromium-webview-patched/
├── patches
└── prebuilt
3 directories, 0 files
But prebuilts doesn't seem to work currently, does it? At least whatever ^ showed | 20:07:55 |
eyJhb | But that seems like a good way to go | 20:08:00 |
eyJhb | Reduce complexity as much as possible | 20:08:09 |
atemu12 | The prebuilt version would be hopelessly out of date anyways | 20:08:17 |
atemu12 | And wouldn't work in modern android | 20:08:27 |
| hexa joined the room. | 20:09:35 |
| @admin:nixos.org joined the room. | 20:10:26 |
| @admin:nixos.org set the room name to "Robotnix". | 20:10:36 |
| Room Avatar Renderer. | 20:10:37 |
| hexa left the room. | 20:10:56 |
eyJhb | Well well well, that's one way of showing no interest in Robotnix! /s ( hexa ) :D | 20:11:53 |
eyJhb | In reply to @atemu12:matrix.org The prebuilt version would be hopelessly out of date anyways Doesn't it follow lineageos?? | 20:12:39 |
eyJhb | In reply to @atemu12:matrix.org The prebuilt version would be hopelessly out of date anyways * Doesn't it follow lineageos? | 20:12:41 |
eyJhb | I wonder why it isn't in the folder anymore | 20:15:31 |
eyJhb | Ah, new issue | 20:44:56 |
eyJhb | fetchLFS should be enabled for external it seems. Otherwise prebuilt will not work | 20:45:09 |
samueldr | In reply to @eyjhb:eyjhb.dk Well well well, that's one way of showing no interest in Robotnix! /s ( hexa ) :D I asked in the matrix suggestions room to fix the state :) | 20:49:30 |
eyJhb | Yeah I saw it, just poking fun at it :) | 20:49:48 |
eyJhb | Getting infinite recursion when I set fetchLFS = true. Well that seems fun | 20:51:23 |
eyJhb | But it seems like in flavors/lineageos/default.nix , this should be set instead
webview.prebuilt.apk = if config.androidVersion >= 11 then
config.source.dirs."external/chromium-webview/prebuilt/${config.arch}".src + "/webview.apk"
else
config.source.dirs."external/chromium-webview".src + "/prebuilt/${config.arch}/webview.apk";
| 20:53:34 |
eyJhb | But the new issue is, that file is just some LFS junk, and it needs to be fetched correctly ( https://github.com/LineageOS/android_external_chromium-webview_prebuilt_arm64/blob/main/webview.apk ) | 20:54:00 |
eyJhb | # LineageOS will sometimes force-push to this repo, and the older revisions are garbage collected.
# So we'll just build chromium webview ourselves.
"external/chromium-webview".enable = false;
| 20:54:50 |
eyJhb | And I guess that should be changed as well. | 20:54:56 |
eyJhb | No clue, need assistance if I am to look further at it. But before the prebuilt webviews can work again, the mk_repo_file.py needs to do lfs, and the pkgs.fetchgit needs to add lfs support as well. AFAIK the manifest does not specify if LFS is needed.. | 21:34:50 |