| 26 Mar 2024 |
| 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 |
eyJhb | But then again, https://github.com/LineageOS/android/blob/lineage-20.0/default.xml i'm not sure where the chromium prebuilt comes from, in which manifest | 21:35:24 |
eyJhb | https://github.com/remote-android/platform_manifests/blob/redroid-11.0.0/external.xml#L7 oh, maybe it does. If I could find the correct manifest | 21:36:35 |
| 27 Mar 2024 |
| @admin:nixos.org left the room. | 04:07:20 |
eyJhb | Well, I think I've patched most of robotnix to allow LFS now. It shouldn't really change much, as if a repo is not using LFS, it will give the same hash either way (LFS enabled or disabled). :) | 08:28:26 |
eyJhb | Slowly learning how the source code works. | 08:28:33 |
eyJhb | https://github.com/nix-community/robotnix/pull/228 initial work here | 09:02:35 |
eyJhb | So prebuilt webview seems to be working with that PR. I haven't updated all sources and tested (takes ages), but I updated enough to get the new correct prebuilt webviews w/ LFS, and just copy pasted that over in the repo.json :) | 09:08:04 |
atemu12 | Thanks a bunch. I don't know when/if I will have time to take a look though | 10:42:43 |
eyJhb | In reply to @atemu12:matrix.org Thanks a bunch. I don't know when/if I will have time to take a look though Understandable. Is the other maintainer all out of spoons as well? | 11:04:05 |
eyJhb | I've just built a new image, with the prebuilt APKs. Haven't tested it yet. It would be more ideal if I had 2x phones :p | 11:04:25 |
eyJhb | # Workaround name inconsistency with LG
if vendor == 'lg':
vendor = 'lge'
# Look how cool my name is mom, parenthesis!
if vendor == 'f(x)tec':
vendor = 'fxtec'
# Urgh
if vendor == '10.or':
vendor = '10or'
# Really?
if vendor == 'banana pi':
vendor = 'bananapi'
| 12:40:54 |