libera/#maemo-leste/ Sunday, 2024-08-11

freemangordonWizzup: https://github.com/maemo-leste-extras/rtcom-accounts-plugin-matrix/pull/109:25
freemangordonWizzup: play with https://github.com/maemo-leste-extras/rtcom-accounts-plugin-matrix/blob/username/src/matrix-plugin.c#L33 to see which one you would like more09:26
Wizzupfreemangordon: oh if you were testing in the vm, you need to (temporarily) disable apparmor for tp-tank to work (like haze with telegram)09:28
Wizzupthis might be why sign in didn't work09:28
Wizzup'sudo aa-teardown'09:28
Wizzupand yes, we need to fix tp apparmor profiles09:28
freemangordonlemme try09:28
freemangordonno change09:32
Wizzupok09:32
freemangordonWizzup: btw, force-pushed some changes, in case you pulled in the meanwhile09:32
Wizzupdidn't pull yet09:41
freemangordonWizzup: please, when adding   accounts_fi_device_name to translations, consider adding   accounts_fi_facebook_sync_interval, accounts_fi_facebook_mark_read, accounts_fi_facebook_mark_read_available, accounts_fi_nickname, accounts_fi_server and accounts_fi_real_name as well10:26
freemangordonor give me hints on how to do it10:27
freemangordonugh, scratch that10:28
freemangordonseems I already did it10:28
freemangordonshall I add accounts_fi_device_name to translations?10:44
Wizzupsounds good10:46
freemangordonok, but I have no idea how to release it10:46
freemangordontranslations are on weblate and that's it10:46
freemangordonmaybe you can translate a bit, ^^^ strings have only en and bg, perhaps you can add nl and dunno what10:47
Wizzupweblate is good yes10:52
Wizzupplease do it on weblate10:52
WizzupI go through it some of the time to make new releases10:52
freemangordonok, I added it, how to make a release?10:56
WizzupLet me look11:06
Wizzupfreemangordon: which did you work on11:07
Wizzuphttps://github.com/maemo-leste-translations/osso-applet-accounts-l10n ?11:08
Wizzupthere are also open pull requests there11:09
Wizzuphttps://github.com/maemo-leste-translations/hildon-control-panel-l10n/commits/master/11:10
Wizzuphere you can see what I do11:10
Wizzup1. merge any pull requests11:10
Wizzup2. make release11:10
Wizzupthat's it11:10
Wizzupbasically11:10
Wizzuphttps://github.com/pulls?q=is%3Aopen+is%3Apr+user%3Amaemo-leste-translations+archived%3Afalse+ these are all the pulls open for translations11:11
WizzupI should probably go through them today11:11
Wizzupah just https://github.com/pulls?user=maemo-leste-translations11:11
freemangordonWizzup: oh, I see11:19
WizzupI don't have a way to auto make a debian/changelog entry so it's tiresome :) \11:25
freemangordonI'll make a new release for accounts translations11:27
freemangordonbut have to run after that, please go through other pull requests11:27
Wizzupit will take a few hours but yeah11:29
freemangordonyeah, but better start doing it11:29
freemangordonno need to finish at once11:29
freemangordonI will help once I am back11:30
freemangordonugh, does not build11:32
Wizzupall this work for a few words changed :D11:36
freemangordonyeah :)11:40
Wizzupdown from 46 to 3011:43
Wizzupgoing to take a break11:43
Wizzupcalendar-l10n failed11:43
Wizzupfreemangordon: sent you an email11:44
Wizzupsome weblate warning11:44
freemangordonyeah, just hit that when trying to build11:45
freemangordonfixed it on github, lets see if weblate will know about that fix11:45
Wizzupthere's some new armenian translations though11:46
Wizzupif we switched translations to date as version it would be easier to automate11:47
freemangordonyeah, why not11:47
Wizzupok11:49
freemangordondid you test matrix accounts plugin?11:54
Wizzupno, I am doing translations first12:01
WizzupI made some script now12:01
freemangordoncool12:01
freemangordonWizzup: "gbp:error: 2024-08 is not a valid treeish"12:02
freemangordonyou have to tag as well12:03
freemangordonafk, ttyl12:03
WizzupI do tag12:05
WizzupI will check.12:05
WizzupI have to go12:05
Wizzupback later12:05
Wizzupok, I think the problem is just in the version12:43
Wizzupwill fix12:43
Wizzupfreemangordon: most are done now, a few stragglers but I'm building it all now13:00
arno11freemangordon: almost 24h with shader changes, no issue so far13:49
arno11changing HD, xorg, mce and systemui priorities seem to cause no issue as well13:54
arno11(and it makes 250 freq ok with no more lags with ondemand governor)13:56
arno11schedutil gov should be better but it is not activated in kernel config13:58
arno11i wonder why13:59
Wizzuparno11: we can enable it in kernel if you want, what would it do?14:31
Wizzupwouldn't tha tjust let userspace decide?14:31
arno11maybe just enabling it could be useful for testing purpose (supposed to works better than ondemand, but not on all devices apparently)14:34
arno11if we keep ondemand as default, no trouble and we can test schedutil14:34
arno11*from userspace14:35
arno11actually ondemand only switch from 250 when doing nothing to 600 when doing anything, that's it lol. so not really optimised14:45
arno11schedutil is supposed to predict what to do with freqs and switching them in a clever way but not sure it works fine with arm14:47
arno11so maybe creating and tweaking our own gov is better, i don't know14:48
arno11anyway, all actual default govs seem obsolete for phones14:54
WizzupI don't know if we need to go super crazy with this, but we can enable some others if you want to toy with it14:55
arno11oh, ofc lot of other things are far more important, sorry. but indeed, i'd like to toy a bit with govs14:58
freemangordonI don;t think we need more schedulers14:58
freemangordoncgroups/nice is what we have to implement14:58
freemangordonbecause all we want is responsive UI, this is not some server we shall optimize14:58
arno11sure for responsive UI, but the way ondemand gov (and others) works actually can't help for cpu life, temp and current draw imo15:01
Wizzupyes, ondemand is not ideal for phones, also pm draw wise15:02
arno11yes and conservative gov is...well..to conservative using too much the lower freq. Performance gov only use max freq and powersave only use the min freq.15:05
arno11all of this is not really 'well balanced'15:06
Wizzupfreemangordon: all translations went through apart from calendar-l10n and maybe yours15:07
freemangordon'mine' went few hours ago15:07
Wizzupok15:20
Wizzupso just calendar-l10n then15:20
Wizzupfreemangordon: we probably also need to (later) upgrade the debian/control entries when new languages are added16:58
freemangordonyeah17:57
Wizzupfreemangordon: ok, going to look at plugin now19:56
Wizzupfreemangordon: username branch, yeah?20:00
Wizzupfreemangordon: https://github.com/libcgroup/libcgroup/blob/main/README is this is for v2 we might have something20:01
Wizzuphttps://github.com/libcgroup/libcgroup/blob/main/README_daemon20:01
Wizzuphttps://forum.artixlinux.org/index.php/topic,1156.0.html20:03
Wizzupfreemangordon: what is this sign in stuff and does it require some special tp interface?20:08
Wizzuplike this is not necessary for irc right?20:21
Wizzuphmm looks like it is20:21
Wizzupfreemangordon: libquotient (and thus tp-tank) requires the user field to also contain the server20:30
Wizzupoh, it seems to use QUrl.isValid20:31
Wizzupfreemangordon: ok, with some minor tweak the 'sign in' worked20:43
Wizzupnot a good change but just to test:20:43
Wizzup-      rtcom_account_item_store_param_string(item, "user", arr[0]);20:43
Wizzup+      rtcom_account_item_store_param_string(item, "user", g_value_get_string(account));20:43
Wizzupif we just make this change now then I think we're good20:47
Wizzupfreemangordon: now is the last change to tell me to change the 'make it work' commit msg21:15
Wizzupotherwise I will build, and also push your accounts change to stable when you're ok with it21:15
freemangordonWizzup: can't parse21:19
freemangordonmost of it :)21:19
freemangordonbut, how is 'user' differenet to 'account' then?21:19
freemangordonand if 'user' contains domain, what is 'server' then21:20
freemangordon?21:20
freemangordonWizzup: also, did you test both ways of entering account?21:20
freemangordonplease undefine https://github.com/maemo-leste-extras/rtcom-accounts-plugin-matrix/blob/master/src/matrix-plugin.c#L33 and check it21:22
freemangordonI think with this undefined it looks better21:23
freemangordonbut I left it to you to decide21:23
Wizzupfreemangordon: I tested both ways21:28
WizzupI liked with it defined, but that's mostly because it just said "username"21:29
Wizzup21:19 < freemangordon> but, how is 'user' differenet to 'account' then?21:29
Wizzupit's not currently in tp-tank/libquotient21:29
freemangordonheh21:29
Wizzupbut libquotient does something dumb here21:29
freemangordonor we use it in a dumb way?21:29
freemangordonbut anyway, not so important21:29
Wizzupno21:29
WizzupnoI checked21:29
Wizzupwe just pass it the server url and it says it's not a valid server url21:30
Wizzupanyway, you also currently need to enter an '@' in front of the username in the split screen21:30
Wizzupwhich is not ideal IMO21:30
freemangordonsure, why not?21:30
Wizzupotherwise it doesn't work21:30
Wizzupthe @ is not really part of the username21:30
freemangordonwasn't that the whole point of you having issues entering  username?21:31
freemangordonI am lost, officially :21:31
freemangordonMatrix user IDs (MXID) are unique user IDs. They are in the format @username:homeserver. tld.21:31
Wizzupno, the problem was rtcom-accounts-ui rejecting an account formed as '@uesrname:server.tld'21:31
Wizzupso either:21:31
Wizzupuserfield: wizzup21:31
Wizzupserver: server.tld21:31
WizzupOR21:31
Wizzupuser: @wizzup:server.tld21:32
freemangordonoh, I see21:32
Wizzupbut userfield: @wizzup and server: server.tld is weird21:32
Wizzupcan we push the rtcom lib fix to stable?21:33
freemangordonso, just prepend '@' to 'account' or 'user' or whatever in https://github.com/maemo-leste-extras/rtcom-accounts-plugin-matrix/blob/master/src/matrix-plugin.c#L8921:33
Wizzupyeah21:33
Wizzupso I pushed to master on the plugin21:34
freemangordonWizzup: if rtcom lib == rtcom accounts ui, then yes21:34
Wizzupplease let me know if you want to force push to change your commit msg21:34
Wizzupfreemangordon: yes that is what I meant @ stable21:34
freemangordonI am fine21:34
Wizzupok21:34
freemangordonlike, I just put some commit message for the POC21:34
freemangordondo you want me to push it to stable?21:35
freemangordon( rtcom accounts ui)21:35
WizzupI am doing it now but you can do it too21:35
freemangordonI will21:35
Wizzupok21:35
freemangordonbuilding21:37
Wizzupcool21:37
Wizzupfreemangordon: also please see my above cgroups msgs21:37
WizzupI think I found what we can use21:38
freemangordonI saw it21:38
freemangordonbut not sure I can grok now21:38
freemangordonlike, I think what we have in chimaera does not support v221:39
freemangordonbut, might be wrong21:39
Wizzupyes it does21:41
Wizzupwell, let me double check21:41
Wizzupjust set rc_cgroup_mode="unified"21:42
freemangordonheh:21:51
freemangordonMakefile.am: error: required file './AUTHORS' not found21:51
Wizzuplol21:55
Wizzupfreemangordon: don't set the above key in rc.conf, this currently results in unbootable vm21:56
WizzupI will debug later, but our openrc def. does v2 as well21:56
freemangordonfor sure I will not21:59
freemangordon(rc.conf)21:59
Wizzupin any case, the right tool exists21:59
Wizzupand it does the right job :)21:59
freemangordongreat21:59
Wizzupv2 is mounted at /sys/fs/cgroups/unified21:59
Wizzupchecking for libglade-2.0... no22:02
Wizzupconfigure: error: Package requirements (libglade-2.0) were not met:22:02
WizzupNo package 'libglade-2.0' found22:02
Wizzupheh22:02
Wizzupyou removed that I bet22:02
freemangordonyes, as it is not needed22:03
freemangordonbut forgot to remove it from configure.ac22:03
freemangordonsorry22:03
freemangordondo you want me to fix it?22:06
Wizzupno it is ok22:07
WizzupI guess I still need to fix the maemo ham icon22:18
freemangordonalso the matrix icon (in accounts ui) looks ugly22:19
Wizzupit does, but this is the icon that came with tp-tank22:20
Wizzupwe can replace it of course22:20
freemangordonthe problem is that is black/white22:20
Wizzupok it works on my d422:21
freemangordoncool22:21
WizzupI forgot to write code to append '@' sign though22:21
Wizzupmaybe we just undef and go with that?22:21
freemangordonI think so22:21
freemangordonthere you also has placeholder22:22
freemangordon*have22:22
Wizzupplaceholder for?22:25
freemangordonmatrix id22:25
freemangordonBTW, consider https://printerval.com/uk/the-matrix-code-circle-sticker-3-p17716 for icon22:26
freemangordonor something like22:26
Wizzupif you can find it at 48x48, let me know22:27
WizzupI don't think they intended the logo to be like this btw22:27
Wizzuphttps://en.m.wikipedia.org/wiki/File:Matrix_logo.svg22:27
freemangordonyes, I saw that, but IMO it is useless22:28
freemangordonas icon that is22:28
freemangordondidn;t we have some artist/designer here?22:30
freemangordongoing to have some sleep, night!22:34
Wizzupfreemangordon: well we should use their logo I think23:05
Wizzupgn23:06
uvossquare logo for matrix is usualy [m]23:06
Wizzupyeah it's pretty ugly23:15

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