libera/#maemo-leste/ Friday, 2022-06-03

norayrhey00:15
norayrno electricity after thunderstorm00:15
norayrhave a presentation on decentralization at some conference tomorrow00:16
norayrmanaged to finish the presentation while there was laptop charge00:16
norayri have portable wifi access point… using it now00:16
norayrbut to save energy will turn it off now.00:17
missMyN900no problem. Glad you were able to deal with the situation. I am certainly familiar with power outages myself...00:24
missMyN900how do you install openmediaplayer? It is on the extras Github but I have tried multiple combinations of apt search and grep (as well as simply apt install openmediaplayer and omp, of course)05:22
missMyN900and it just does not seem to be in the repos (I have devel enabled as well)05:22
missMyN900I would like to test it, even if it is not completely finished yet05:23
WizzupmissMyN900: openmediaplayer is not ported yet09:20
WizzupmissmyN900: is requires more work09:20
dsc_freemangordon: hi09:47
dsc_so composing a new message from our messaging app (conversations), I would render a contact selection screen - where do I get this info from do you reckon09:48
dsc_this info = a list of contacts09:48
dsc_would conversations be able to include a library that is also used by the address book application?09:49
dsc_(and thus being able to call e.g: `getContacts()`)09:49
dsc_is there a `osso-abook.h` ? :P09:50
Wizzuphttps://github.com/maemo-leste/sphone/blob/master/src/modules/contacts-ui-abook.c maybe this is helpful09:51
Wizzupof course, it's gtk09:51
dsc_sphone is, or osso-abook is? (or both? :P)09:53
dsc_suppose both09:53
Wizzuphttps://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Generic_Platform_Components/Using_Address_Book_API09:53
Wizzupsphone is just our dialer09:54
Wizzuphttp://maemo.org/api_refs/5.0/5.0-final/libosso-abook/09:54
dsc_ah09:54
dsc_libosso-abook09:54
dsc_ofc glib09:55
dsc_*rage*09:55
dsc_:P09:55
Wizzupshouldn't be a problem, other nokia apps also support abook in some ways09:55
dsc_ic09:55
dsc_ok cool09:56
Wizzupuvos: should we add a 3rd profile in the ucm, for ip calls?10:27
Wizzuphttps://portal.registryagency.bg/CR/en/Reports/ActiveConditionTabResult?uic=20696132812:08
uvos__dsc_: if you just need conacts, osso-abook gets those from eds12:24
uvos__sphone also directly uses eds (apart from using this dialog)12:25
uvos__https://github.com/maemo-leste/sphone/blob/master/src/modules/contacts-evolution.c12:25
uvos__sphone allows using qt and gtk in the same app12:26
uvos__this isent hard as the qt main loop uses a glib main loop internaly on linux12:26
uvos__see https://github.com/maemo-leste/sphone/blob/master/src/modules/qtloop.cpp12:26
uvos__you could do the same thing12:26
uvos__Wizzup: maybe, deffinatly also one for alarms12:52
uvos__humpelstilzchen[: so dose this happen outside of leste too (hang on crust resume)12:54
uvos__humpelstilzchen[: how are you waking the devcie?12:54
humpelstilzchen[uvos__: Waking it up with power Button, it is registered as wakeup: /sys/devices/platform/soc/1f03400.rsb/sunxi-rsb-3a3/axp221-pek/wakeup12:56
humpelstilzchen[uvos__: what do you mean with outside of leste? With another Linux Distribution? Have not tested that12:56
uvos__humpelstilzchen[: could you run evtest on the input device with the power button while you suspend and resume?12:56
uvos__humpelstilzchen[: right12:56
humpelstilzchen[so you want "evtest /dev/input/by-path/platform-1f03400.rsb-platform-axp221-pek-event" with suspend & resume?12:59
uvos__yes12:59
humpelstilzchen[uvos__: https://paste.debian.net/1242915/13:01
uvos__aha13:01
uvos__plase go into /etc/mce/mce.ini13:02
uvos__and set PowerKeyLongAction to disabled13:02
uvos__and reboot13:03
uvos__and try to repoduce the hang13:03
humpelstilzchen[ok, but that test will take some time, because the crash did not happen very often.13:05
uvos__yeah sure13:05
uvos__just use it for a while13:05
humpelstilzchen[I would give the test a week or so13:05
buZzi wish contacts would work nicer with the sphone software13:07
buZzso i could add contacts from SMS i received13:08
Wizzupuvos__: right @ alarms16:05
Wizzupuvos__: how would the alarm be different, speaker always?16:05
WizzupbuZz: this will come16:05
WizzupbuZz: but sms won't go through sphone16:05
buZzyeah through telepathy?16:06
uvos__Wizzup: different volume16:07
freemangordondsc_: hi16:07
freemangordonthere should be dbus interface for that already16:07
freemangordonif not, we'll have to implement one16:07
* freemangordon checks how it is done on fremantle16:07
uvos__also speaker allways yeah16:07
Wizzupfreemangordon: dbus interface for abook?16:08
freemangordonyes16:08
freemangordonit already supports some stuff16:08
Wizzuphm, really, I thought we'd just load libosso-abook16:08
freemangordonhttps://github.com/maemo-leste/osso-addressbook/blob/master/src/service.c#L58916:09
freemangordonWizzup: yes, that's another option16:09
freemangordonwe have https://github.com/maemo-leste/osso-addressbook/blob/master/src/service.c#L59916:09
freemangordonbut it seems it is not implemented16:09
freemangordonI think we need "open_group" maybe16:10
WizzupI think we probably don't want it that way either, ideally we'd just re-use some widget and load it on top of our app16:10
WizzupI mean ideally we have qt bindings but yeah :)16:10
freemangordonWizzup: sure there is a widget16:12
Wizzupyeah sphone uses it16:13
freemangordonno, it is different16:13
freemangordonIIUC16:13
freemangordonalso, you need to embed gtk in qt16:13
freemangordonwhich is bad from the architectural POV IMO16:13
Wizzupyeah.16:14
Wizzupwell, we do want to use abook code and not reimplement more of our own IMO16:14
Wizzupwe already had to kind of reimplement the rtcom ui lib16:14
Wizzupwhich is a shame16:14
freemangordonthat's why dbus is better16:14
freemangordonyou just call it and you'll receive the contact to start conversation with16:14
Wizzuphmm16:14
WizzupI don't think it's that simple16:15
freemangordonit is16:15
Wizzupfor all of these things we need abook16:15
freemangordonbut it is already there16:15
Wizzupalso to resolve our message list, match them to abook contacts16:15
Wizzuprender the names of the contacts if they change16:15
Wizzupit looks to me like rtcom, telepathy and abook all need to work together here16:15
freemangordonok, but this in not UI16:15
freemangordon*is not16:15
freemangordonsure16:15
WizzupI mean, so we could have a dialog over dbus for picking a contact16:16
Wizzupbut all the other stuff would still need libosso-abook16:16
freemangordonagree16:16
Wizzupdoesn't it just directly depend on gtk2/glib (the lib)?16:16
freemangordonyes, it does16:16
freemangordonhtk2/hildon16:16
Wizzupyeah...16:16
freemangordonBTW, we can do qt wrapper16:16
freemangordonthe same way it is done for file selection dialog16:17
Wizzupyeah, by dlsym'ing some stuff16:18
Wizzupnot ideal either16:18
freemangordonbut better, is it will be usable by other code as well16:19
buZzoh eh, should i make a issue for the date/time picker in qalendar? it doesnt work as well as the same-looking dialog in 'clock & alarms'16:20
Wizzupsure16:20
WizzupI think it just needs some QScroller's16:20
buZzah, already exists since 2021 ; https://github.com/maemo-leste/bugtracker/issues/57516:20
freemangordonsee https://github.com/maemo-leste/qtstyleplugins/blob/master/src/plugins/styles/maemo5/maemo5/qmaemo5datepickselector.cpp#L5416:20
freemangordonmaybe qalendar does not use QMaemo5DatePickSelector16:21
WizzupI think it does, but our qt5 is not patched with maemo scrolling16:22
Wizzupso you need to ensure everything has qscrollers16:22
Wizzupit's just qt working differently16:22
Wizzupafaik16:22
buZzah, the other one is gtk/htk ?16:22
Wizzupoh, I see16:22
buZzeither way, it works, but its suuuuuch a drag to use it16:23
buZzmakes it easy to pick wrong dates/times too16:23
freemangordonwe can do the same wrapper for adressbook widgets16:23
buZznot sure if i've seen those16:23
freemangordon"those"?16:24
buZzwidgets = rendered on 'homescreen' ?16:24
buZzor just widgets as in toolkit buttons etc16:24
Wizzupfreemangordon: in general I think we need to plan on how we plan to support gtk2 and qt5 both 'properly'16:24
freemangordonyes, "toolkit things"16:24
buZzah, ok16:24
freemangordonWizzup: agree16:24
Wizzuplike if anyone wants to do deal with contacts and they have to dlsym gtk stuff in it, we need some better solutions16:24
freemangordonI think we shall follow what nokia already did16:24
Wizzupand making conversations in gtk2 is not doable because there is no modern webkit for it, so we could do gtk3 but aaaah :)16:24
* buZz having a hard time with 'widgets' 'applet' 'statusmenu' difference in terms in maemo ;)16:25
Wizzupfreemangordon: which is?16:25
freemangordonhttps://github.com/maemo-leste/qtstyleplugins/blob/master/src/plugins/styles/maemo5/maemo5/qmaemo5datepickselector.cpp#L5416:25
WizzupbuZz: status menu is the thing that shows wifi battery etc, and the applets on it when you touch it16:25
WizzupbuZz: widgets can be many things, but they would be on the desktops typically16:25
buZzWizzup: yeah but some stuff that renders to statusmenu is called widget?16:25
WizzupbuZz: applets can be applets in status menu, or applets in control panel16:25
freemangordonWizzup: wrapping gtk in qt as part of maemo5 library16:25
buZzconfusing to me anyway :P16:25
Wizzupfreemangordon: hm, I suppose we can do that if we offer bindings16:25
WizzupbuZz: applet is just a program part of a bigger program16:26
freemangordonwhat do you mean "bindings"?16:26
Wizzupfreemangordon: like QOssoAbook16:26
freemangordonyes, this is the idea16:26
buZzfreemangordon: i think thats how it works now? where you scroll to 'outside' with cursor on the pick-list , and -then- it scrolls16:26
buZzinstead of like clock&alarms , where you can 'fling' the list , and it will scroll on its own16:26
WizzupbuZz: yes, please file the bug16:26
buZzits in, Wizzup16:27
buZzhttps://github.com/maemo-leste/bugtracker/issues/575  <----16:27
WizzupI think one of them has its own implementation of this16:27
freemangordonWizzup: QMaemo5TimePickSelector wraps hildon_time_selector_new_step()16:27
Wizzupok16:27
freemangordonfor example16:27
buZzits 2) from clort81 there16:27
buZzhis 1) is just theme issues, i think , and 3) is eh , i dont know or care16:27
buZz:D16:27
freemangordonso we can implement QOssoAboocContactChooser that wraps osso_abook_contact_chooser stuff16:27
buZzi dont need 5min recurring items in a agenda :D lol16:28
freemangordonso that way qt application won't need to use gtk16:28
Wizzupok16:29
freemangordonwell, at least not directly16:29
Wizzupyes, but there is more as well I think, like resolving objects and stuff16:29
WizzupI'll get with dsc and see what we need, but I think I just want Ui stuff that doesn't do anything so I can work on some of it too )16:29
Wizzup:)16:29
buZz:P16:29
freemangordonOssoAbookContact inheritys E_CONTACT16:29
freemangordon*inherits16:29
Wizzupok, so that's relatively easy16:29
freemangordonand E_VCARD, iirc16:29
* freemangordon checks16:30
buZzWizzup: spoke to some asian today that was -very- interested in hearing about maemo leste and was considering doing some dev work towards it too16:30
buZzhe was gonna investigate and might join channel laterish16:30
freemangordonright, E_CONTACT inherits E_VCARD16:30
WizzupbuZz: great, let him know we have osme devices if he's serious about it16:30
freemangordonhttps://github.com/maemo-leste/osso-abook/blob/master/lib/osso-abook-contact.h#L21916:31
WizzupbuZz: https://wizzup.org/yeah.jpg - waiting to be sent to me16:31
buZzyeah , didnt want to lure with freebies directly ;)16:31
Wizzupagree16:31
buZzbest for true intent to come first16:31
buZzwow, 10? or is that even 2 layers deep?16:31
buZzor even more? :O16:31
Wizzupnot even sure anymore16:31
Wizzupbeen there for 6 months16:31
buZzgee Wizzup , one of these days, -all- existing droid4's might have gone through your hands16:31
freemangordonWizzup: I'll be MIA till Sunday16:32
Wizzupfreemangordon: ok :)16:32
freemangordonso, please have a discussion and if you agree with my plan, I will implement QOssoAbookContactChooser16:33
freemangordonthough now I am looking ath the API, maybe it makes sense to just call the API directly16:37
Wizzupok16:39
freemangordonoh, wait. it need GtkWindow, qt can provide X Window only, afaik16:41
freemangordon*needs16:41
freemangordonhmm...16:41
Wizzupyeah, this needs some thought16:45
Wizzupmeanwhile I will work with dsc to get all the UI stuff sorted out, where we want what buttons, how htings should look16:45
Wizzupthen we can worry about implementing some of it16:45
Wizzupok, 2020 pinetab image boots to display :)17:22
Wizzupquilt is truly a pain17:53
norayrToday whole day i use droid417:59
Wizzupnorayr: nice18:03
norayrXmpp via pidgin and email app and alpine in terminal for another email18:03
norayrBecause of pm it is actually more usable than pp18:04
norayrSo no other device. Plus leafpad helped a lot.18:05
norayrI btw ordered droid318:05
norayrIt looks i guess nicer, simpler than d418:05
norayrSo this is cool. Won't take other deices with me. This is my main device from now on.18:07
missMyN900Wizzup: oh... What does it need? I thought it was a Qt5 app already?20:29
missMyN900Wizzup: by the way, a while ago uvos said I could install hildon-connectivity-mobile to get a cellular applet for PP, at least on devel20:33
missMyN900but when I tried to yesterday I got this: https://paste.debian.net/1242947/20:33
Wizzupwill check tomorrow :)20:37
missMyN900norayr: I see you have a lot of Oberon projects on your GitHub :) Years ago I did a lot of reading about Wirthian languages including Modula-2 and Oberon.21:10
missMyN900norayr: around that time I also read a lot about microkernels such as L3 and L421:10
norayrheh very pleasant to hear21:11
missMyN900I was looking for maemo leste github21:11
missMyN900and found your lagrange repository21:11
missMyN900so I had to check out what other projects you had ;)21:11
norayri'd suggest really use it, especially visdap oberon compiler is ready to use tool21:11
norayrbut i need to drive now21:11
missMyN900yes, I have come across vishap before21:11
missMyN900ok drive safely :)21:11
missMyN900I need to formally file some bug reports21:12
uvosWizzup: lol @https://wizzup.org/yeah.jpg21:21
uvosthat looks like its 3 deep :O21:22
missMyN900Wizzup is preparing to become the first official Droid 4 dealer in Europe ;)21:24
missMyN900uvos: should I file an issue for https://paste.debian.net/1242947/ ?21:25
uvosmissMyN900: could you cat /etc/apt/sources.list for us?21:27
uvosalso try "apt-get -s -o Debug::pkgProblemResolver=yes install sphone"21:29
leljvanwouw opened an issue: https://github.com/maemo-leste/bugtracker/issues/618 (Volume up key no longer triggers Hildon Input Method on Pinephone)21:47

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