| 14 Jan 2025 |
K900 ⚡️ | You may want to rebase that branch on latest staging-next | 13:31:42 |
K900 ⚡️ | To pick up the fixes | 13:31:45 |
K900 ⚡️ | I don't generally keep it exactly up to date | 13:32:19 |
eliasp | I still need to streamline my testing/dev setup a bit, since "back in the days" I used to run KDE/Plasma bleeding edge using Gentoo live ebuilds which auto-updated 4 times a day (or on demand) and I was in constant beta-testing/bug-reporting/-triaging mode...
would love to get back in this mode - it was too much fun (albeit quite a bit time-consuming 😆)
might require some scripting to keep the revs/hashes of all relevant components constantly up-to-date etc.
my build-infrastructure is ready to tackle the job! 💪 | 13:43:31 |
eliasp | at least 6.2.90 is build now... let's see how long it'll take | 13:44:05 |
K900 ⚡️ | I'm not sure about ALL the components | 13:44:30 |
K900 ⚡️ | But generally you should be able to slightly fuck up mkKdeDerivation to do a git fetch | 13:44:45 |
eliasp | thanks, will give it a try (once I get around to it) | 14:10:47 |
eliasp | 22 pkgs to go... 😅 | 15:24:23 |
eliasp | …aaaand done! | 15:40:59 |
| 15 Jan 2025 |
qbit | trying to make a python krunner plugin for plasma6 | 14:50:04 |
qbit | i see pkgs/desktops/plasma-5/3rdparty/addons/krunner-ssh.nix | 14:50:08 |
qbit | which does:
install -m 0755 -D ssh-runner.desktop $out/share/kservices5/ssh-runner.desktop
install -m 0755 -D ssh-runner.service $out/share/dbus-1/services/com.selfcoders.ssh-runner.service | 14:50:29 |
qbit | for a plasma6 setup, is it sufficient to s/5/6/ ? | 14:50:51 |
K900 ⚡️ | I believe so | 14:51:37 |
qbit | https://paste.suah.dev/krunner-krha.nix.html here's what I have so far. When I try to run it (result of nix build), I get ImportError: cannot import name GLib, introspection typelib not found | 15:07:09 |
qbit | any cluesticks? | 15:07:14 |
qbit | i started with the nix shell shebang trick and included those dependencies and everything worked as expected | 15:07:43 |
qbit | if I call the python3 interpreter from the shebang in the results I can import requests and dbus.mainloop.glib | 15:32:26 |
qbit | but not gi.repository | 15:32:32 |
qbit | so it's like.. half working | 15:32:39 |
K900 ⚡️ | Yeah that would need some wrapGAppsHook stuff probably | 15:45:58 |
K900 ⚡️ | Don't use the glib stuff | 15:46:27 |
K900 ⚡️ | Either use qtdbus or maybe dbus-fast or jeepney | 15:49:28 |
qbit | oh, i was just using whatever kdevelop spat out for the template | 15:53:46 |
qbit | maybe i should switch it to c++.. not sure I can easily do the configuration stuff with python | 17:05:53 |
qbit | well, got it working with the wrapGAppsHook.. but now I don't think I have the services / desktop stuff set correctly | 18:27:01 |
qbit | is there a.. debug.. thing? i can use? | 18:27:18 |
qbit | like, dbus.. debug i guess? | 18:27:26 |
qbit | Jan 15 11:29:23 europa dbus-daemon[2026]: [session uid=1000 pid=2026] Activating service name='dev.suah.krha' requested by ':1.3070' (uid=1000 pid=763180 comm="/nix/store/m291x73h8k8al3bcmywh5xl1w04j74x5-plasma" label="kernel")
Jan 15 11:29:23 europa dbus-daemon[2026]: [session uid=1000 pid=2026] Activated service 'dev.suah.krha' failed: Failed to execute program dev.suah.krha: No such file or directory
| 18:29:42 |