libera/#maemo-leste/ Friday, 2025-04-04

Wizzupmaemo-launcher can also help I think00:02
arno11yeah probably00:02
freemangordonWizzup: you were right, inotify cannot be used on /proc, going to use netlink07:39
Wizzupsounds good07:40
freemangordonWizzup: about name: what about 'pmngd'?07:46
freemangordonor 'procmngd'?07:47
Wizzupwill it just be nice or more?07:47
freemangordoninitially it will be nice only07:48
freemangordonbut I may add cgroups and ionice at some point07:48
freemangordonshouldn't be that hard07:48
Wizzupthen procmngd I tihnk07:50
Wizzupbbl07:50
freemangordonok, thanks07:50
mkfgday09:47
Wizzuphi09:50
mkfis there plan for wayland?10:51
mkfalso, how can i see translated interface?10:53
WizzupI don't understand the question on the translated interface11:00
WizzupAnd there's no plan for wayland at this time, it'll require so much development time and re-engineering we're not remotely ready for it11:01
mkfgood. moar x11.11:03
mkfre: translated: i want to change language of ui to something else11:04
mkfخthere a is device language section, but it doesn't list my language11:06
mkfit indeed is translated, weblate shows it's 50%+11:07
mkf98% actually11:10
mkfhttps://hosted.weblate.org/projects/maemo-leste/-/fa/11:10
Wizzupwe might have to add it to /etc/locale.gen for it to show11:33
mkf�t does get generated in apt updates11:34
Wizzupright, but does it contain your language?11:36
Wizzuplocale-gen just generates locales from /etc/locale.gen11:36
mkflet me see11:36
Wizzupbut you need to actually add it there11:36
Wizzupalso - we might just lack the l10n packages for it currently11:36
mkfit's commented11:37
mkfme enables it11:37
mkfcan i disables ones i dont use?11:37
Wizzupyes11:38
mkfwho did the nokia related translations?11:42
mkfnokia itself or community?11:43
mkfmy nokia and related stuff11:43
Wizzupsome of it came from nokia, some of it from weblate11:44
Wizzupsome of our newer packages probably aren't that great with localisation yet11:44
mkfi see.11:45
mkfis something wrong with fordo?11:58
mkf(git.maemo.org)11:58
Wizzuplet me see11:59
Wizzupit works immediately for me on curl12:00
Wizzupbut not in firefox?12:00
WizzupI restarted forgejo for now12:01
WizzupIt seemed some sql queries were slow12:01
mkfyay12:01
WizzupI have to head out, will be back later12:01
mkfworks. cool12:15
mkfcan we enable it?12:37
mkf(language in maemo)12:37
Wizzupdid you configure it from the control panel?12:45
mkfyes12:46
Wizzupnice12:46
mkfalthough settings program goes mad12:46
Wizzupmad how?12:46
mkflet me take a photo12:47
Wizzupscrot can be used to make screenshots from ssh12:48
mkfstrangely reboot kills sdio wifi12:49
mkffmg: did you had issues on that one?12:49
mkfWizzup: while scrot installs, can i change dpi in leste?12:55
mkfthis q8 has same resolution with n900, but it's 3x bigger12:55
mkfhttps://cloud9p.org/usr/mkf/tmp/leste.settings.png12:57
mkfwizzup: ^12:57
siceloi see a few regressions in daedalus, at least on D416:43
sicelo(1) the keyboard layout seems to be missing some important customizations, e.g. OK+P no longer produces the pipe (|) symbol16:43
sicelo(2) rotation doesn't work anymore16:44
siceloi think both are due to upstream packages ...16:44
sicelofor (1), most likely xkb-data. for (2), i have indeed seen that iio-sensor-proxy does not start automatically since there is only a systemd init script16:45
sicelowonder how Devuan intends for that to get started16:45
siceloi'm thinking that we could ship these things (iio-sp openrc script, xkb layout, etc.) using leste-config or similar. because yes, there are some nice benefits to using upstream packages as much as possible16:47
siceloof course for iio-sp, i do request a fork just so we can get the latest and greatest features16:47
gnarfacesicelo: see if the missing init script is in the orphan-sysvinit-scripts package, and if it's not report it to fsmithred16:48
gnarface(debian has been killing them off one by one, they just add them all to that package)16:49
gnarfacetemporarily you can just probably copy the one from chimaera for a quick fix16:49
gnarfaceit might have already been noticed and put in the orphan-sysvinit-scripts package though16:50
sicelodoesn't seem to be the case, https://packages.debian.org/sid/all/orphan-sysvinit-scripts/filelist16:51
gnarfaceunless it's something that is intended to get started by the session manager or something weird like that now - there's precedent for that, like with pulseaudio16:51
gnarfaceyea, just report it to them16:52
gnarfaceit's a known ongoing issue16:52
siceloanyway, we will fork iio-sp for now, for the reason i mentioned above, so we can ship the init script without issues (we used to in the past as well). maybe by the time we switch versions, Leste will be using systemd ;-)16:53
gnarfacefork the whole distro for all i care, but i think you're being foolish and spiteful16:54
sicelouh ?16:55
Wizzupsicelo: pipe works for me on d416:55
siceloOK+p ?16:56
siceloweird. doesn't work here. maybe you upgraded to daedalus? i used the image16:56
Wizzupyeah, but iirc I did rebase16:57
Wizzupwill look16:57
siceloi think image got mostly upstream packages (which is a good thing in most cases)16:57
siceloso i guess on your D4, autorotation is still working, right?16:57
Wizzupyes16:58
siceloyes. so the previous configs were still there16:58
siceloon new image it isn't working. that said, if you start iio-sp manually, then it does work16:59
siceloso anyway, my main question/aim for discussion was - how to fix these? is shipping the customized stuff via leste-config-* fine, or would that have gotchas?17:00
siceloe.g. the D4 layout ... instead of forking xkb-data like we did in the past, just add it in correct place using leste-config-mapphone or whatever it's called?17:01
sicelognarface: apologies. i want an iio-sp fork because i have worked with upstream iio-sp to add some features with the intention of using them on Leste (supporting N900's proximity sensor; reporting face-down and face-up orientations, which Leste can use to silence alarms, etc.)17:02
gnarfacesicelo: can you confirm the last time the actual init script was seen? it's apparently not showing up in chimaera either. if it ever actually had one they'll want put it in that package regardless of whether you'll use it17:07
siceloas mentioned, we had it in the forked iio-sp. as for Devuan/Debian, i don't know if they ever had it17:08
gnarfacehmmm... well which debian version did you fork that from?17:09
siceloi think the script was manually added by the dev who packaged it for Leste, i.e. it was not from debian17:10
gnarfacemaybe so, it wasn't in bewoulf either apparently17:11
siceloWizzup: i must finish up the upower work this weekend. seems to be working perfectly fine for me so far on N900 & D4. plus the upower maintainer seems to be accepting of my patch .. just needs tests17:12
freemangordonsicelo: is it possible that iio-sensor-proxy starts by dbus activation?17:38
Wizzupsicelo: sounds great @ upower17:55
Wizzupsicelo: I prefer forking even for missing init scripts, but if devuan has a solution that contains it, I am ok with it too17:56
Wizzupprefer either to having it in leste-config17:56
Wizzupwe could put it in hildon-initscripts but meh17:56
arno11indeed iio-sp is deactivated on my daedalus too18:00
gnarfacethe word from devuan is this package never seems to have had an init script, at least not since jessie... and i can't get debian's package search page to talk to me about anything older than beowulf18:00
Wizzupyes, we added it in our fork18:00
Wizzupwe're just trying to not have to fork it18:01
Wizzupso  we can get it added to this devuan pkg that gnarface mentioned, or just fork iio and get the init script upstreamed18:01
gnarfacei assume we can get older versions from the archive, but there's no evidence anything earlier would have it anyway, right?18:01
gnarfaceit does beg the question: how was it supposed to start?18:01
gnarfacebut i don't think it would be the first debian package i've encountered that just never had one18:02
gnarfacethough occasionally you find an example one in /usr/share/doc18:02
gnarfacethat doesn't seem to be the case here18:03
freemangordongnarface: as it is a dbus service, maybe the idea was that dbus starts it18:07
freemangordonunfortunately I have to run now, so maybe somebody else can confirm18:07
freemangordonif not, I can check tomorrow18:07
sicelofreemangordon: no, iio-s-p doesn't start via dbus-activation. if it did, then rotation would work. fwiw, upower has same init script 'problem' but it does support dbus-activation, hence it works18:15
siceloWizzup: I understand @forking18:16
sicelognarface: upstream ships a systemd service. hope that answers your 'how was it supposed to start?' question.18:17
gnarfacehmm, so maybe debian wheezy had it?18:19
gnarfacesystemd hadn't been in the distro the whole time, had it?18:20
gnarfacei thought they only added it in squeeze18:20
gnarfaceor was that just when they made it the default?18:20
gnarfaceto the best of my recollection, most packages didn't just immediately delete the init script way back in jessie, i don't recall noticing init scripts getting assassinated until much more recently18:24
Wizzupgnarface: we have the init script in our fork, so surfacing it is not the problem I think18:24
Wizzupsicelo: we never shipped an init script for upower btw18:24
sicelognarface:  no idea. Anyway, we're definitely forking iio-s-p for the daedalus cycle at least (primarily for the reasons I mentioned). actually I guess adding it in the orphans package wouldn't help us for daedalus anyway ... maybe for excalibur18:25
siceloyes @upower ... that one starts via dbus activation18:26
sicelowith Trixie already in early stages of its freeze cycle, probably too late for iio-s-p orphan script too18:27
gnarfacehmm, package doesn't appear in wheezy or squeeze, so i guess it really never had an init script18:39
gnarfacei really wonder what that means but i guess it's more academic curiosity, sorry to have added unnecessary drama to this18:40
mkføٌWizzup: https://hosted.weblate.org/projects/maemo-leste/osso-uri-l10n/#alerts20:03
Wizzupgnarface: np appreciate the input20:10
Wizzupmkf: hm21:49
WizzupI just clicked unlock21:51
WizzupI didn't see anything off on github21:51
Wizzuplet's see21:51
freemangordonsicelo: yes, I understand it does not, my point was that maybe it was meant to be started by dbus, thus no init script21:57
freemangordonok, it seems it is started by udev rules22:02
freemangordonhttps://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/blob/master/data/80-iio-sensor-proxy.rules?ref_type=heads22:03
Wizzupthese rules only activate a systemd service22:04
sicelono, the udev rules don't start it. they just add tas on the sensor, so when iio-sp eventually starts it just looks for the tags to find the sensor22:04
freemangordonbut, the way those are written (and judging on the git history), it was never meant to activate anything but a systemd service22:04
Wizzupourobouros strikes again22:04
sicelos/tas/tags/22:04
Wizzupsicelo: https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/blob/master/data/80-iio-sensor-proxy.rules?ref_type=heads#L2322:04
freemangordon:nod:22:04
sicelomaking it dbus activatable is actually trivial.22:11
siceloand i think dbus activation is upstreamable vs. an openrc service22:12
freemangordonmhm22:14
siceloh-d gets orientation information from mce?22:18
siceloasking because with iio-sp being dbus-activated, hd doesn't autorotate. dbus shows the service, with "activatable" status. so whatever that h-d is using does not seem to try hard enough to poke at the dbus service22:21
siceloif i do something like `busctl tree net.hadess.SensorProxy` it then gets activated and autorotation works. need to find how to fix whoever informs h-d about orientation22:22
WizzupI think we just listen for signals22:26
Wizzupthat might not activate it22:26
siceloright, yes22:29

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!