rinigus | mal: we have the same bug with flight mode on nagara. It is sufficient to get to flight mode, shutdown phone. After that, on every boot you will get the same situation as you discussed last night. | 05:38 |
---|---|---|
rinigus | Even after reboots with network, on boot you will get flight icon, but net will be available (gsm, wifi, as configured before reboot). Toggle in pulley menu doesn't work | 05:40 |
rinigus | To get to normal state, after each boot, have to toggle flight mode in settings (shows correctly its not in that mode) on and off, and then all works correctly till next boot | 05:42 |
rinigus | So, possible it is some generic sfos bug and not just nagara port | 05:42 |
mal | rinigus: pretty sure it's some generic but which only appears on certain newer devices | 12:44 |
rinigus | mal: yes, never seen that before | 12:45 |
mal | rinigus: I have an idea which might be causing it but haven't yet implemented the changes to ofono-binder-plugin, but I think there is also another issue with those flight mode toggles getting out of sync | 12:58 |
rinigus | mal: let me know whether you need something to check. I think we both with @b100dian have that bug | 12:59 |
rinigus | I haven' | 12:59 |
rinigus | I haven't deleted any files, so can check if needed | 13:00 |
*** trigpoin1 is now known as trigpoint | 13:08 | |
mal | rinigus: check the settings files mentioned yesterday | 13:11 |
mal | how does offline mode show in those | 13:11 |
rinigus | will do. going through last night log | 13:12 |
mal | so /home/.system/var/lib/connman/settings and /home/defaultuser/.local/share/system/privileged/connman/settings | 13:13 |
rinigus | mal: https://paste.opensuse.org/pastes/1401c64852d6 | 13:17 |
rinigus | looks like /home/.system/var/lib/connman/settings global | 13:17 |
mal | so mismatch | 13:17 |
rinigus | yes, indeed | 13:19 |
mal | stop connman, change the mode in to false in .system one and reboot | 13:20 |
rinigus | mal: /home/.system/var/lib/connman/settings hasn't been changed since aug 4 | 13:20 |
mal | when did the issue start? | 13:20 |
rinigus | I don't think I need even to stop connman. as file was not updated | 13:21 |
rinigus | re start: I noticed and logged it on aug 10 https://github.com/sailfishos-sony-nagara/main/issues/46 | 13:21 |
rinigus | so, do I edit and reboot? or something else to check? | 13:22 |
mal | try that first | 13:23 |
rinigus | testing... | 13:24 |
rinigus | mal: "fixed" by editing /home/.system/var/lib/connman/settings global.OfflineMode to false | 13:26 |
rinigus | on reboot, icons as they should be | 13:26 |
rinigus | and flight mode toggle on pulldown menu works | 13:26 |
mal | ok, good to know, that helps finding the root cause | 13:38 |
nephros_ | piggz[m]: does it make sense to patch KF6 apps to prefer Kirigami over Widgets? | 18:58 |
piggz[m] | nephros_: if the app support that, yeah | 18:59 |
nephros_ | it seems (at least with KTrip and Itinerary), the Android build uses QGuiApplication and Kiri, while other OSes use QApplication and Widgets (plus KIO and friends). | 18:59 |
piggz[m] | yeah, id do that, kirigami is more mobile friendly | 19:01 |
nephros_ | ok, I'll try. We should then probably '#define Q_OS_SAILFISH' and 'cmake -DSAILFISHOS:BOOL=ON' somewhere globally, to save a lot of similar patches. | 19:13 |
nephros_ | will cmake eat such a definition even if it's not in the CMakeLists? | 19:14 |
nephros_ | patches would look something like https://build.sailfishos.org/package/view_file/home:nephros:devel:qt6:devel/kde-itinerary/_service:tar_git:0000-build-for-sailfishos.patch?expand=1 | 19:28 |
piggz[m] | i was adding | 19:31 |
piggz[m] | option(SAILFISHOS OFF) in cmalelists, followed by..... | 19:31 |
piggz[m] | nephros_: https://build.sailfishos.org/package/view_file/home:piggz:qt6apps/kasts/_service:tar_git:0002-add-sailfishos.patch?expand=1 | 19:32 |
piggz[m] | yeah, similar idea | 19:33 |
nephros_ | yes- but could it be added somehow to e.g. ECM so it's not necessary to do it per-package/app? | 19:37 |
piggz[m] | nephros_: perhaps we should be good citizens, and push upstream :) | 19:42 |
nephros_ | hehehe a SailfishOS support patchset for Qt6 of all things! | 19:55 |
nephros_ | well maybe something like '#define Q_OS_MOBILE', so others can use it as well. | 19:57 |
piggz[m] | well, i was thinking more for the kde apps, that might be an easier barrier | 19:58 |
nephros_ | oh hey, Itinerary actually works. Nice! | 20:14 |
nephros_ | So, lets redo much of the same thing for KTrip! | 20:16 |
mal | rinigus: can you give link to your droid-config repo | 20:17 |
mal | found it | 20:20 |
rinigus | mal: https://github.com/sailfishos-sony-nagara/droid-config-sony-nagara | 20:21 |
rinigus | As I already had it selected | 20:21 |
mal | rinigus: possibly an issue, are you missing this https://github.com/mlehtima/droid-config-fp5/blob/master/sparse/var/lib/environment/connman/override-main-config.conf | 20:24 |
mal | rinigus: have you had issues with usb / developer mode | 20:25 |
piggz[m] | nephros_: can you submit working apps to home:piggz:qt6apps ? | 20:51 |
piggz[m] | elisa and kde-itinerary ? .. any more deps? | 20:51 |
nephros_ | piggz[m]: yes will do - once cleaned up and tagged. | 21:04 |
nephros_ | itinerary is underway but its deps are WIP at the moment. | 21:04 |
pherjung[m] | piggz: I'm trying to build kwordquiz, what did you mean exactly with: | 21:06 |
pherjung[m] | but, if you are happy to experiment, you can add home:piggz:qt6sb2 and home:piggz:qt6apps and install from there | 21:06 |
pherjung[m] | ? | 21:06 |
pherjung[m] | Do I need to do something on OBS->Meta? | 21:06 |
nephros_ | also i must say I don't test intensively - if it runs and I can interact with it I ship! ;) | 21:06 |
piggz[m] | i at least use the apps i package, kasts and tokodon :) | 21:07 |
piggz[m] | kde-itenerary is probably a good app too | 21:07 |
piggz[m] | pherjung: i just meant you could add those repos to your device and try out the packages | 21:08 |
nephros_ | pherjung[m]: to try apps, add the two piggz repos with "ssu addrepo" | 21:08 |
pherjung[m] | ah ok | 21:08 |
pherjung[m] | ok, wasn't sure | 21:08 |
piggz[m] | be careful to downgrade wayland to 1.22 after instlling | 21:08 |
pherjung[m] | I'm trying to build with obs before, perhaps less dangerous | 21:08 |
nephros_ | pherjung[m]: if you want to build qt6/kf6 apps, you need to do some OBS meta, yes. | 21:08 |
pherjung[m] | ok, will try to find the right values :) | 21:10 |
nephros_ | pherjung[m]: you can copy the meta from home:nephros:devel:qt6:devel | 21:10 |
pherjung[m] | thanks | 21:10 |
pherjung[m] | looks way better :) | 21:18 |
pherjung[m] | but there are still some missing packages | 21:18 |
nephros_ | pherjung[m]: which ones? | 21:22 |
pherjung[m] | libappstream-glib... (full message at <https://matrix.org/oftc/media/v1/media/download/ARHe6erTyMWf8_qLWQyzR8oHuJN5xgCZVglFr1HX3uD4LqiHjXfRaJ36Sc07W-Y-4lw7Cv6g61QXd4AsofTEhm5CeaQU8Q2gAG1hdHJpeC5vcmcveUdVb0taTlR5WkF2cnpna1ZTR211aFNZ>) | 21:24 |
pherjung[m] | libkeduvocdocument-devel >= %{majmin_ver_kf6} | 21:25 |
piggz[m] | you need to change the names of them to our package names | 21:26 |
pherjung[m] | Should they be listed here: https://repo.sailfishos.org/obs/home:piggz:qt6sb2/sailfish_latest_aarch64/aarch64/ ? | 21:29 |
nephros_ | yea and I think the {majmin_ver_kf6} macro is broken | 21:34 |
nephros_ | what the hell is libkeduvocdocument? | 21:35 |
nephros_ | ah ok, a lib very specific to that app | 21:37 |
nephros_ | also, Qt7QuickControls2 looks futurisric - a typo probably? | 21:38 |
pherjung[m] | nephros_: indeed | 21:40 |
nephros_ | pherjung[m]: some qt and all kf related build deps using pkgconfig() will not work. you need to substitute the corresponding foo-devel packages | 21:40 |
nephros_ | same for BuildRequires: cmake(foo) | 21:41 |
pherjung[m] | did you these changes on one of your maintened packages? | 21:42 |
nephros_ | KCrash you need to patch out - but that is usually easy, just remove it from any CMakelists, and then usually there is one include and one call to KCrash::initialize in main.cpp | 21:42 |
pherjung[m] | <nephros_> "pherjung: some qt and all kf..." <- like I did with Qt6Core to qt6-qtbase-devel? | 21:56 |
nephros_ | yes, exactly. I'd recommend commenting out all that OBS complains about for now, just to get it to build, and then look which ones the build log actually complains about. | 22:05 |
nephros_ | yea, like that. this libkeduvocdocument we definitely have not packaged atm. | 22:11 |
nephros_ | qttools is 'qt6-qttools-devel' | 22:11 |
pherjung[m] | mmh, I find no qttools | 22:13 |
nephros_ | kirigami is 'kf6-kirigami-devel' | 22:14 |
nephros_ | https://build.sailfishos.org/package/show/home:piggz:qt6sb2/qt6-qttools | 22:15 |
nephros_ | it's there. | 22:15 |
pherjung[m] | seems that the patch is not applied | 22:18 |
pherjung[m] | ok, found it. I think | 22:20 |
nephros_ | you need to mention the patch in the .spec, e.g. Patch1: foo.patch | 22:20 |
pherjung[m] | make sense :D | 22:21 |
nephros_ | but you will have to make a package for that keduvocdocument library. | 22:22 |
nephros_ | also, it could turn out the 25.08 release is too new. I have had that with one of the other kde packages. in that case try v25.04.3 | 22:25 |
nephros_ | i'm off for tonight, good luck meanwhile! | 22:26 |
pherjung[m] | thank you for help! | 22:26 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!