libera/#maemo-leste/ Thursday, 2021-08-26

lelMerlijnWajer synchronize a pull request: https://github.com/maemo-leste/connui-internet/pull/2 (Add providers tab to advanced iap settings)11:25
bencoh(oh, I just noticed that the opencd repository includes an uncrustify.cfg config file :) )15:13
Wizzupbencoh: sorry, what is that?17:56
Wizzupfreemangordon: ping17:57
freemangordonpong17:57
freemangordonthis is something like indent, but way better :)17:58
Wizzupgreat17:59
Wizzupdo you see a way to get iap_id in src/settings/advanced.c in connui-internet?17:59
WizzupI'm trying to address your last comment in the PR17:59
freemangordonlemme check18:01
freemangordonWizzup: stage?18:03
Wizzupthe name of the stage?18:04
Wizzupah, looks like the stage name18:04
Wizzuphmmm ok18:04
freemangordonhmm, maybe stage dir18:05
WizzupI think adv->stage->name can work18:06
Wizzupor the dir, yeah18:06
freemangordonhttps://github.com/maemo-leste/connui-internet/blob/master/src/settings/stage.c#L29718:06
Wizzupstage_get_string should work18:06
freemangordonmhm18:06
Wizzupthanks18:06
freemangordonyou don;t need the iap_id, but just call the stage functions, no?18:06
Wizzupyes18:07
lelMerlijnWajer synchronize a pull request: https://github.com/maemo-leste/connui-internet/pull/2 (Add providers tab to advanced iap settings)18:17
Wizzupfreemangordon: I tihnk it should be ready for merging now18:17
Wizzupfreemangordon: also, with regards to mce cmake PR, I think we should just merge it now18:18
Wizzupuvos is mostly maintaining it anyway so there's not really a point for us to block merging it18:18
WizzupI don't feel like learning cmake just for it, and it's also just a build system, so it's possible to break stuff, but clearl'y he's using it already18:18
freemangordonWizzup: ok18:25
freemangordonI am not going to learn cmake as well :)18:25
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/mce/pull/50 (Move to new build system: cmake)18:27
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/connui-internet/pull/2 (Add providers tab to advanced iap settings)18:28
uvosneat18:58
uvosi hope i builds ok on ci18:58
uvos*it18:58
Wizzupwe'll find out19:03
WizzupI'm waiting for parazyd to remove the mce-dev stuff first19:03
Wizzupfrom -devel at least19:03
uvosits not in devel19:03
uvosas parazyd has mentioned19:03
uvosshould be fine right now19:03
uvossince you would just build the new mce-dev for devel19:04
Wizzupok, let me do a phone call and set up the branches for ci19:04
Wizzup(tag etc)19:04
uvosthe jenkins job should go non the less ofc19:04
Wizzupthis does not require a mce config change19:04
Wizzupright?19:04
Wizzupin leste-config19:05
uvosno19:05
uvosthe binary is the same19:05
uvos(well uses mutch less ram due to linkage changes)19:05
Wizzup:)19:07
uvosi kinda forget what we wanted to add new module wise after the unfork of leste mce and my sway/debian mce19:11
uvosso mce setting the modem online was one thing right?19:12
uvosi think there was a bit more19:12
Wizzupuvos: for ofono19:13
Wizzuponline modem etc19:14
Wizzupand (re-online) model19:14
uvosright19:20
uvosand i wanted to add a interem audio routing solution for sphone to mce19:21
uvosie have mce switch to call ucm profile when it enters call mode19:21
freemangordonuvos: wait, what is missing in mce phone wise?19:21
uvosfreemangordon: nothing19:21
uvosfreemangordon: i just want a interem audio routing solution until pa works19:21
uvosjust so i can use the phone as sutch for now19:22
WizzupI mean we have ohm...19:22
Wizzupit's literally there and working afaict19:22
uvosoh it works on d4 allready?19:22
Wizzupno, I haven't tried that yet, that's my next step19:22
uvosok19:22
WizzupI don't think switching profile before the phone is picked up makes sense though19:23
Wizzupright?19:23
uvosmce has ringing and in call state19:23
Wizzupok19:23
uvosofc it would switch only in call19:23
Wizzupok19:23
uvosanyhow maybe i should rather add some pa profile switching fallback to sphone instead19:23
uvossince i kinda want to have sphone work on debian and pmos too19:24
Wizzupup to you, no opinion here, I still want to go the telepathy+ohm route and such anyway19:27
uvosok19:28
WizzupI'm finishing up the tor+wireguard stuff for the deadline (10 sept or so), hope to go back to audio after that19:28
Wizzupprobably before that date jftr19:28
Wizzupunfortunately the sailfish guy doesn't really reply19:29
uvoswell i would want to have sphone contiune to work as a standalone thing for any linux system i think its quite usefull in that role (even with regards to a laptop with gsm radio), ofc that dosent preclude adding a tp backend19:29
uvosin addition to the current ofono one19:29
Wizzuphow do you plan to integrate osso-abook that way?19:29
uvosgood question, in reality i would like osso-abook to respond to and also execute xdg mimes for all the actions it needs (really just call this with protocoll x, message this with protocoll y and display contact z)19:31
uvosbut i havent looked at how osso-aboot works yet19:31
uvosatm other address books work with sphone via this method19:31
Wizzupit works on the same backend as evolution19:32
uvosalso the browser (clicking on phone numbers etc)19:32
Wizzupthe point was more that it has various dialogs and other gtk-level integrations I mean19:32
Wizzupit's not just about 'launching sphone' to make a call19:32
Wizzupit's about matching phone numbers to contacts, showing the avatars, etc19:33
uvosso that works via what19:33
Wizzupprobably a shared lib, but fmg would know much better than me19:33
Wizzup(and he timed out just now :p)19:33
uvosok19:33
uvosits not just evelution?19:33
uvosthe data server that is19:33
Wizzupwhat do you mean?19:33
Wizzupno, osso-abook specifically is most of the (gtk) interface19:34
uvosright19:34
Wizzupthere is libosso-abook and also the user interface app that relies heavily on libosso-abook19:34
uvosbut sphone dosent need to care about that  i hope19:34
Wizzupwell, I think it does, if you want to show call history, with contact options, etc19:34
uvosit just needs to have something to look up numbers in19:34
Wizzupmaybe open the phone app in fremantle :)19:34
uvosright you have to have something to lookup numbers to associate with names/avatars19:35
Wizzupand send texts from the context menus19:35
uvosand to launch the contatcs app to edit the contact19:35
uvosit would use the contact: mime19:35
Wizzupor perform a sip call instead of normal call to the same contact19:35
uvos(or vcard: not sure what it is per spec)19:35
Wizzupand need to talk to osso-abook to know what the contact supports19:35
Wizzupand there's also presence in the phone app I think19:35
uvosyeah no i dont want that level of integration really19:36
Wizzupso it will know if the sip or xmpp contact is online19:36
Wizzupwe'll have to fork it then eventually :P19:36
uvosthat sucks19:36
uvosbut ok19:36
Wizzuposso-abook has presence awareness (based on telepathy)19:36
uvosintegration to the point that it dosent work by itself is a hard line for me19:36
Wizzupyeah, there's no sweet spot if the aim is integration19:37
Wizzupit could be some separate files or so19:37
Wizzupbut I'm getting ahead of myself anyway, we're not close to that point now19:37
uvosok19:38
uvosi kinda like how android works here btw19:38
uvosso on android the contacts system and app are totaly seperate from the dialer19:38
Wizzupdoes it integrate with signals/whatsapp/slack contecats?19:38
Wizzupcontacts*19:38
uvosand only comunitace via a few mimes with the dialer19:38
uvosso they can be replaced seperately19:38
uvosso in the contacts a contact can have lots of protolls19:39
uvosand if you click on the contact with a certin protocoll it uses the intent (same concept as xdg mime) to open the right idaler19:39
uvosdepending on the dialer you have installed that might be the same one for all19:39
uvosor maybe different ones depening on protocoll etc19:39
uvosthats handled by the mime system as with any other file / url whatever19:40
Wizzupso how do you get to the contact from the dialer?19:40
uvossame thing there is an intent (also sutch a xdg mime exits)19:40
uvosthat goes like contact:someNumberOrScreenName19:40
uvosthe contacts app gets opend with that contact then19:41
Wizzupso no context menu, but a full application switch19:41
uvosso both the contatcs app and any of the dialers for any of the procolls can be replaced without any of the other components noticing19:41
uvosright19:41
Wizzupthat's too bad19:42
uvosyeah i mean ofc you loose something by haveing the componants have sutch loose coupeling19:42
uvosi think its worth the tade off tho19:42
freemangordonseems my messages disappear19:44
uvosthat one worked19:44
freemangordonyeah, I restarted pidgin19:44
freemangordonuvos: do you plan to hildonize sphone?19:44
freemangordonalso, if you don;t plan to add osso-abook support to sphone, I would say this is basiacally useless as leste dialer19:45
Wizzupmaybe read the logs19:45
uvosfreemangordon: a bit (allready have some) not too mutch that it becomes a ifdef mess19:45
freemangordonI did, thus the statement :)19:45
uvosit needs to contine to work on normal gtk219:45
freemangordonif you integrate with osso-abook, you have no option but hildon19:46
WizzupI think it's useful either way, but we might eventually fork it and add features we think we want19:47
freemangordonsure19:47
uvosright the way the whole stack works is everything or nothing, which i find very unagreeable in general.19:47
freemangordonbut when it works, it does it in a perfect way, unlike the mess android contacts is19:47
uvosi think perfect needs to be observed from several angles19:48
uvosbut ok19:48
uvoswhat is perfect is a matter of taste anyhow19:48
freemangordonuvos: sure, but that means one have tried both19:49
freemangordonwhich is not the case with you19:49
Wizzupto be clear I have not tried android either19:49
freemangordonI have19:49
freemangordonnot much, but still19:49
uvossince the dialer and the contatcs app can be replaced easly at will19:49
uvosit allso needs to be said that there are many soultions for android :P19:49
freemangordonchanging UI is not the same as having a broken backend in the first place19:50
uvosi heavly disagree that the backend is broken sure19:50
uvosits goals are slightly different than the fremantle one sure19:51
freemangordonuvos: and all those phone dialers on android do what exactly in a different way compared one to another?19:51
uvosdiffereing protocoll support, optimized for various form factors and sutch also different tastes in ui ofc.19:53
uvosdiversity in implementation is a good thing imo19:53
freemangordonok, but you still talk about UI, which is not the same as UX/functionality, no?19:54
freemangordonwhat diversity we have in picking up a phone call?!?19:54
* Wizzup zones out19:55
freemangordonwhat me (and I guess Wizzup) mean when we speck about osso-abok, is that it provides the same UX, no matter if we talk about dialer, email client, conversations, etc, etc19:55
freemangordon*speak19:55
freemangordonAnd honestly, I cannot explain that to you, you should feel it by yourself19:56
uvosthis ux thing is mostly bullshit if ask me its a ui that presents certain fetures in certain ways19:56
uvosthe different dialers present different features in different ways19:56
freemangordonmaybe put a card in n900 running fremantle and use it as your primary device for 2-3 weeks19:56
freemangordonthen we can have a discussion on what is bad and what is good about it19:57
freemangordonI agree I am biased, but my bias is based on experience19:57
Wizzupuvos: for the record having some hack in sphone to set the phone audio up properly for calls would be welcomed by me for now19:58
Wizzupjust so that I can test calls once a day and see how often it 'just works'19:59
uvosi dont think a ratiol discussion is to be had with you on this, you are still useing a n900 long after its obsolete almost to the point of being non-functional because you like the way it works very mutch in every detail and quirk it has. thats fine but i excludes every doing things differently19:59
uvos*it excludes ever doing...19:59
WizzupI think the principal thought it simple: tight integration of the frame works19:59
Wizzups/it simple/is simple/20:00
freemangordonuvos: making things work differently doesn't make them work better. Also, the main purpose of android device is to 'present' adds to its "owner"20:00
uvosthats just plain not true regarding android20:01
uvosandroid is not just google or teribble oem implementations /skins20:01
freemangordonre n900 being dated - it is like saying that you're going to make a triangle wheel, because wheel is so old-fashioned20:02
WizzupI see it a bit as what chromebooks are to normal linux devices20:02
Wizzupfreemangordon: uvos: guys, this is not productive :)20:02
uvoschromebooks are very different chomeos is not an open platfrom20:02
freemangordonI know, but I am kind of fed up with bringing android to the table20:02
freemangordon*on the20:02
WizzupIt's not bad to know what it does20:03
freemangordonto my experience, there are couple of places it is better than fremantle (UX wise)20:03
uvosdisregarding android because "i hate this thing" is hardly usefull.20:03
freemangordonbeing able to take a picture right from a chat is one of them20:03
freemangordonuvos: no, this is not the case, you got it wring20:04
uvoshah so the intents system :P20:04
freemangordonI don;t hate android, neither I refuse to admit when it does something better, see ^^^20:04
uvosallso allows you to replace the camera app with anything without the chat app noticeing20:04
freemangordonso does fremantle, there are a couple of camera applications20:05
freemangordonbut that's not the point here20:05
uvossure but you cant have the app ask for "i need one image here"20:05
uvosand then the right camera app is used to take it20:06
uvosthats what the intents system is for20:06
freemangordongood20:06
freemangordonI already admit this is something useful an good20:06
freemangordon*and20:06
uvosright so i want to bring it leste, by starting with how the interaction between contatcs and dialer app(s) works20:07
uvos*brint it to20:07
freemangordonif you can do that without sacrificing fremantle contacts UX, fine20:08
uvosnot enirely see original discussion about it with Wizzup20:08
freemangordonalso, how is that going to work on debian?20:08
uvosit works on debain allready20:08
uvosyou click a link to a phone number in ff20:08
freemangordonthere is "intents system" on debian?20:08
uvosand sphone opens with it20:08
uvosno20:08
uvosbut you can use the xdg mimes to do most of what the intents do20:09
uvos(not everything i admit)20:09
freemangordonwait, wait, this is a very simple usecase20:09
uvossure20:09
freemangordonopening by mime has nothiung to do with contacts with presence20:09
uvossure20:09
uvosbut also no20:09
freemangordonand this is what is provided by osso-abook20:09
uvosread the part with above with Wizzup20:09
Wizzupif I understand it android just doesn't do what we want20:09
freemangordonright20:10
Wizzupthere is no presence integration, obviously, since many apps all do their own thing20:10
freemangordonexactly20:10
Wizzupthere is no integration at all beyond notifications from apps20:10
freemangordonand some security, iirc20:10
Wizzupalthough I guess they might be able to scrape the contact books20:10
uvosyes20:10
Wizzuplike whatsapp automatically finds/adds people20:10
uvoscontacts are centalized20:10
uvosdont have too20:10
Wizzupbut it works the wrong way20:10
uvosthere are contacts providers20:11
uvosthere can be (are) manny20:11
uvosbut its a seperate interface distinct from intents20:11
freemangordonand this is what abook/telepathy provides20:11
freemangordonbut, it also integrates presence20:11
uvoswell it uses evoluition no?20:12
freemangordonyes20:12
uvosso you would just sphone get the contats from there20:12
uvos*have20:12
freemangordonit will be missing the presence20:12
uvosright i dont want that20:12
freemangordonso, you want android :)20:13
uvosno ofc not20:14
freemangordonalso, evolution does not do aggregation20:14
uvosbut i dont want fremantle exactly either (or rather the bad way it forces the implementation to work) :P20:14
freemangordonyou have an addressbook and that's all20:14
freemangordonwhat is the bad about the way?20:15
freemangordonI really don;t understand what you dislike about it20:15
freemangordonelaborate please, in an attempt to have a productive discussion20:15
uvoshonestly what i mostly want is a mobile desktop environment that tries to be like / integrate with exsting  desktop linux as mutch as possible by being very xdg spec'y20:15
WizzupI think he wants it to work outside of maemo20:16
uvosright20:16
freemangordonbut why?20:16
freemangordonno matter what you do, youd desktop env will not turn into mobile20:16
uvoswith any part of this desktop enviroment working as mutch as possible outside of maemo (on kde or whatever you want)20:16
uvoswhy?20:16
uvosok:20:16
uvos1.  ok that every one benefits (want to use you modem as a phone on your xfce laptop - sure do it)20:17
uvos2. avoid framentation hurting linux in the mobile space (leste has a great gps app or whatever - plamo a great pdf viewer - phosh has a great dialer - cant eatch on the other platform)20:19
uvos3. options (what if leste dies) best make it easy to pick stuff from its corpse to make the next thing20:19
uvos4. options for the user (close but not the same as 2.) make it easy for dude hacker to replace this one part of leste he dosent like (maybe the contacts app :P)20:20
freemangordonok, I think I am getting your point20:20
uvosi see the past linux mobile platforms (maemo 5, meego, sfos, firefoxos, whatever ubuntu was doing) as a continous reimplementation of the same stuff that never benefited anyone because the tight integration with these frameworks made all the work peaple did one things amount to nothing when they imploded20:23
uvosi would like to avoid repeating this, in my opinion, mistake20:23
freemangordonit seems your approach is like that - because maemo specific things that work great are maemo-specific, and because they rely on maemo-specific libs, you want to sacrifice them and break the UX, just to stay compatible.20:25
freemangordonwhy not do it like that - bring those libs upstream?20:25
freemangordonwhich brings the next question - who is upstream?20:25
uvosthere is no upstream, that is part of the problem true20:26
freemangordonit's us, no?20:26
uvosno20:26
freemangordonoh...20:26
freemangordonBTW, we are using lots of sailfish code20:26
uvoswe lack a forum the discuss standardization with other linux  mobile projects /uis20:26
uvoslike desktop linux has in xdg20:26
freemangordonok, but code wise we are the upstream for maemo-specific libs20:27
uvossure but thats irrelivant20:27
uvosi want to avoid maemo leste being its own incompatibily little island20:27
freemangordonI understand that20:28
freemangordonand basically agree20:28
freemangordonbut, how many maemo-specific packages do we have? ~200?20:28
uvosway more than 4 people can  credibly improve/ maintain, which also worrys me20:29
WizzupI'm betting on more people showing up once we have all the core bits owrking20:29
freemangordonuvos: sure, but until we can show something that works, I guess that's it20:29
freemangordonWizzup: :nod:20:29
freemangordonabook being one of those code bits20:30
freemangordonand presenting a dialer as a leste dialer that's not integrated with abook, is not a good move PR wise, IMO20:30
freemangordonuvos: I am not saying you should do that integration20:30
uvoswell i wont20:31
uvosthats a given20:31
uvosi use the sway d4 half the time20:31
freemangordonI am talking in general that applications that come preinstalled, must be maemo applications20:31
uvosim not shooting myself in the foot20:31
freemangordondidn;t get that20:32
freemangordonanyway, I think I have now a way better understanding on your approach20:32
uvosmakeing sphone not work anymore on my primary(ish) device would be shooting myself in the foot20:32
freemangordonand appreciate your explanations.20:33
uvosyou are very welcome20:33
freemangordonwe have to think how to tackle that, maybe a fork is the right approach, as Wizzup said20:33
* Wizzup bbl20:33
freemangordonuvos: one thing about abook - back the when we were discussing iw we shall RE it or replace it, we were not able to find a single library or application that is even close to it in terms of functionality. So honestly, I think that bringing abook to the other platforms will only benefit them20:37
freemangordonso far it has dependencies on telepathy and eds20:38
freemangordonand I don;t see that as an issue20:38
uvoswhat dose it need tp for (only presence)20:38
uvosalso it needs the hacked gtk2 i assume20:38
freemangordonno20:38
uvosok what else?20:39
freemangordon(not only presence)20:39
freemangordonthere is eds telepathy addressbook plugin20:39
freemangordonso, basically it creates addressbook for 'roster20:39
uvos(the hacked/ hildonized  gtk2 ui is a huge show stopper i imagine)20:39
freemangordon' ' contacts20:39
freemangordonyes, there a couple of classes that rely on hildon20:40
freemangordonbut, we can do that in the TODO list20:41
freemangordon*put that20:41
freemangordonright, it uses classes like hildon list view etc20:41
freemangordonso maybe those can be replaced by GTK3/4 elements, dunno20:42
freemangordonI don;t know how touch/mobile friendly gtk3/4 are20:42
uvosit gets better with gtk3 true20:42
freemangordonbut, is it on par with hildon?20:43
uvosanyhow ttyl20:43
freemangordonok20:43
uvosi think mostly, but i dont know enough to say for certain.20:44
uvossome very specific stuff ofc no20:44
uvos(like the xatom window flags and sutch)20:44
freemangordonI meant UI elements wise20:44
uvosmostly yes20:45
sicelotmlind_: pvr/ddk1.17 working well with current (or close to current) wlroots? or still using older versions with xc-racer's patches?21:21
tmlind_sicelo: still using old version, but trying to rebase and bisect right now :) might be few more days at this rate of bisect..21:33
sicelo:)21:37
sicelo<uvos> honestly what i mostly want is a mobile desktop environment that tries to be like / integrate with exsting desktop linux as mutch as possible by being very xdg spec'y21:44
sicelo^^^ why not just use phosh? it's almost exactly that21:44

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