libera/#maemo-leste/ Friday, 2021-08-27

inky_>since its totaly impossible to detemine if something is a mult or a pointer based on just one source file00:29
inky_uvos, can you explain or link to some page? what is mult?00:29
inky_ah, mult is multiplication.00:29
uvosindent cant possibly know if SomeToken is a typedef or a global varaible declared  in some header00:32
inky_Wizzup: tor+wireguard, sailfish guy.00:33
uvossince it parses one file at a time00:33
inky_i believe my friend added gui wireguard config to sailfish, may be you are talking about him? i can ping him.00:33
uvossicelo: good question, i tried phosh on xt1602 it was not so great at the time (buggy incompleat) but that was quite some time ago00:34
uvossicelo: i should try on a mapphone at some point00:34
inky_uvos: ok i understood completely by the following examples. you mean not possible to understand if it is a dereference or pointer.00:34
uvosright00:34
uvossicelo: its beside the point anyhow i dont want some ui to work that way, i want all mobile linux uis to work that way, so that they can share a result in a unified platform, just like desktop linux is one unified platform where you can develop applications for that work with any de and even integrate at least resonably well by following xdg specs00:36
Wizzupinky_: nah, audio02:07
Wizzupuvos: you want to bump mce version to 1.9?12:34
uvosWizzup: yeah13:10
uvosWizzup: i changed enough and should not interfer with sfos13:11
uvossfos incremented the version to 1.100 and started from there as far as i can tell13:11
uvos(its at 1.106.7 rn(13:11
Wizzupok13:12
uvosi would also argue that the major version bump is required because i totaly broke all compatability with fremantle13:13
uvos(esp. its vendor kernel)13:13
Wizzupwhat else besides the vendor kernel?13:14
uvoswell mce dose everything different now so it no longer uses the same interfaces to do things out side of the kernel13:14
uvoseg hal or bme13:14
Wizzupisn't the dbus interface the same? (we rely on that)13:15
uvossure mces dbus interfaces are the same13:15
uvosthe way it perfomes the actions is different13:15
uvosie it uses different interfaces to enact what is told to do via dbus13:16
Wizzupok13:16
uvoslike geting the battery state from upower instead of bme that sort of thing13:17
Wizzuppleas don't write 'totally broke all compatibility with fremantle' in the future as it will give me and fmg heart attacks ;)13:17
uvosheh13:17
uvosim just saying you can drop mce 1.9 into fremantle and expect anything to work :)13:18
uvosso what i mean by that it breaks compataibility13:18
uvosis this13:18
uvos*cant drop mce 1.913:19
WizzupI get that now13:19
Wizzupfor me maemo leste is fremantle, ported to newer sw/interfaces, but with many of the same dbus interfaces, which I also see as 'fremantle'13:19
uvosok i allways use fremantle only in the sense of the particular setup used on n900 by nokia13:20
uvosthe other stuff is maemo and maemo interfaces for me13:20
uvos(to avoid confusion in the future)13:21
Wizzupyeah, makes sense13:21
freemangordon:)15:30
Wizzupfreemangordon: ping15:51
Wizzupfreemangordon: in icd2 gconf there is stuff like this:15:52
Wizzup      network_modules = [libicd_network_wpasupplicant.so,libicd_network_ipv4.so]15:52
Wizzupif we want libicd-network-tor and/or libicd-network-wireguard to work, we will need to add them after _ipv415:52
WizzupThey can be a no-op in most cases15:52
Wizzup(note: this is not about libicd-provider-tor)15:52
Wizzupfreemangordon: I don't see another way to do it, but then we might have to change this in gconf based on what is installed15:53
Wizzupunless we have libicd-network-tor installed by default15:54
Wizzupfreemangordon: I suppose we could have some postinst scripts that add/remove them16:03
freemangordonWizzup: sorry, could you remind me why we need to add them to network_modules?16:11
freemangordonthey are SPs, no?16:11
* freemangordon is afk16:12
Wizzupfreemangordon: yes, we have a service provider mode, but also a non-service provider mode16:13
Wizzupfreemangordon: e.g. no matter which network you pick, it should use tor16:13
Wizzupservice provider is only per iap16:13
freemangordonah, I see16:13
freemangordonmaybe we shall reowork that16:13
freemangordon*rework16:14
Wizzuprework what exactly?16:14
freemangordonto get modules in a different way16:14
freemangordonbecause I don;t see how you can register/unregister a modules from a postinst/postremove scripe16:14
freemangordon*script16:15
Wizzupfreemangordon: using gconftool16:15
freemangordonbut this is a string list, is gconftool capable of adding/removing items?16:16
freemangordonif it is, then fine16:16
Wizzupfreemangordon: with some scripting yeah16:16
freemangordonif it needs scripting, then we shall add that to icd2-dev16:17
Wizzuppostinst to icd2-dev?16:17
WizzupI don't think that makes sense'16:17
freemangordonhmm, no, sorry16:17
freemangordonmy bad16:17
freemangordonhelper script in icd2 that is called by postinst/postrm to edit the list16:17
freemangordonpostinst/postrm of module16:18
freemangordonor, we can create dh_ helper16:18
freemangordonhave to run, ttyl16:19
Wizzupok16:20
Wizzupparazyd: the custom_ui stuff for icons and such for srv_providers are per provider_id, which is really annoying/stupid17:30
Wizzupthis means I think that we have to write the custom_ui stuff for each tor config for example17:31
Wizzupand also clean them out17:31
parazydWhere does that go?17:31
WizzupI wonder if we should make the icons per service_type instead17:31
Wizzupsec17:31
Wizzuphttps://github.com/maemo-leste/libicd-provider-tor/blob/master/etc/libicd-provider-tor.schemas#L2717:31
Wizzupthe 'tor-provider' is the service_id17:32
WizzupI don't really see why we would want that per service_id17:33
parazydSo you mean each config has to have it or?17:33
Wizzupunless a service would offer widely different services but still have the same service_type17:33
Wizzupparazyd: yes17:33
Wizzupand I think that's kind of stupid17:33
parazydSame17:34
parazydEspecially if they're the same type17:34
Wizzupthe custom_ui stuff is read from only a few places, so we could just change that17:34
parazydI mean, there is a usecase, but quite an edge17:34
Wizzupit's connui/iap-common.c17:34
Wizzupconnui-common/connui/iap-common.c17:34
parazydYeah please do17:34
Wizzupfreemangordon: ^^^ ?17:34
Wizzup(do you agree is the question)17:35
Wizzupbbiab17:35
uvosparazyd: have you removed mce-dev from jenkins yet?19:28
parazydI didn't understand what has to be removed. If you build the new package it should just override the old one19:29
parazydAs I wrote in the pull request19:29
uvostrue, but haveing 2 jobs that result in the same pacakge is wierd and someone could accidentaly trigger the old mce-dev in the future causein the version in the repo to get downgraded no?19:30
parazydDone19:31
parazydI thought you were referring to the .debs19:32
uvosno19:32
uvosthose should stay ofc19:32
parazydYeah and they just automatically get replaced when you build the new package so no worries there19:32
uvosright19:32
uvosWizzup: please build mce for devel or give me the rights to do so myself19:33
Wizzupuvos: right I asked this morning when I wanted to tag the new version20:00
uvosWizzup: asked what?20:00
Wizzupabout 1.920:01
Wizzupparazyd: we could also keep the custom_ui per provider_id but make a default gconf entry for provider_type and make connui read it20:01
uvosright ok, yeah please tag out 1.9 and merge into devel branch20:01
parazydWizzup: I'm ok with whatever is simpler20:02
Wizzupparazyd: I could somehow see the use in being able to customise per config20:08
Wizzupjust don't want our code to have to write it20:08
Wizzupso a default per type seems sensible to me20:08
parazyd*nod*20:08
parazydI also wrote above that I see a usecase, but I think it's really an edge-case20:09
parazydACK @ default20:09
Wizzupyeah we at least need a default20:09
Wizzupparazyd: ok, I'll add a default20:12
uvos"Not using system installed systemui dbus names"20:12
uvoshmm20:12
uvosnot a big deal rn but something is wrong there20:12
WizzupI think that is a big deal because then it disables maemo stuff iiuc20:14
Wizzupyou probably lack some debian/control stuff20:14
uvosthat dosent20:15
uvosbut yeah it dose later20:15
uvosSystemUI support disabled20:15
parazydWizzup: Nice, thanks20:15
Wizzupparazyd: looks like it can even add scan results from gconf via services heh20:17
Wizzupuvos: yikes, that'll break some stuff20:17
Wizzupshould we abort the build? or20:17
uvosWizzup: sure cancle it, im on it rn wrt solving it20:18
Wizzupuvos: let's just let it build I think20:19
Wizzupparazyd: I am going afk in a bit, can you help uvos rebuild or merge fixes?20:19
uvosnobody upgrade for a couple min then :P20:20
parazyduvos: Added mce to your packages list20:21
WizzupI think he still can't push20:22
uvosits missing osso-systemui-dev as a dependacy20:24
uvosnot sure how it worked before20:25
parazyduvos: You should be able to push if you accept the invite20:25
uvosgreat should work now20:28
uvoshopefully no one upgraded in the last couple of minutes20:28
Wizzup:D20:29
uvosSystemUI support enabled20:30
uvosok should build all the right modules now20:30
Wizzupuvos: breaking -devel isn't the end of the world fwiw20:31
Wizzupbut yeah20:31
uvosstill would be kinda nice20:31
uvosif you could dry run the build on jenkins20:31
uvosand then download the deb too inspect20:32
uvoswithout it ever going live anywhere20:32
freemangordonuvos: you're missing pkg-config dependencies too it seems20:35
freemangordonyou should not count on debian/control to assure the dependencies20:35
uvosfreemangordon: its totaly modular, it just builds whatever modules it can.20:35
freemangordonah, ok20:36
freemangordonWizzup: not sure I understand the question, and also it was a very long and tiresome week for me, I don't have power for maemo now :(20:36
freemangordonlets discuss on Sunday20:36
freemangordonsorry20:37
uvosrepo mce works fine here20:41
uvosplease upgrade and test at your lesiure20:41
Wizzupparazyd: ok I'll fix that default thing tomorrow, there is something weird but I can't figure out what20:55
Wizzupmaybe we just remove the per service_id stuff, I don't think it makes much sense anyway20:55
parazydWizzup: What does it do at its current state?21:17
Wizzupparazyd: no icons, no nothing22:02
WizzupI'll fix it tomorrow22:03
parazydWizzup: ok, let's just make sure that most of it can be copypasted also for wg and ovpn :)23:07
Wizzup:p23:26

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