DFP has quit [Quit: Leaving]
<joerg> freemangordon: sorry, been afk
<joerg> freemangordon: drive dead on blade-a
<joerg> yes, ssh works
<joerg> wow, there are a 5 dozen stale qemu instances on blade-a now, for vm "stage"
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
System_Error has quit [Remote host closed the connection]
System_Error has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
joerg has quit [Ping timeout: 260 seconds]
joerg has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
ceene has joined #maemo-leste
System_Error has quit [Remote host closed the connection]
System_Error has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Livio has joined #maemo-leste
pere has quit [Ping timeout: 252 seconds]
pere has joined #maemo-leste
Livio has quit [Ping timeout: 260 seconds]
vectis_ has joined #maemo-leste
Livio has joined #maemo-leste
Juest has joined #maemo-leste
joerg is now known as Guest8835
joerg has joined #maemo-leste
Guest8835 has quit [Ping timeout: 246 seconds]
Anasko has quit [Ping timeout: 255 seconds]
Livio has quit [Ping timeout: 260 seconds]
pere has quit [Ping timeout: 252 seconds]
duuude has joined #maemo-leste
duuude has quit [Client Quit]
antranigv has quit [Ping timeout: 252 seconds]
antranigv has joined #maemo-leste
duuude has joined #maemo-leste
ceene has quit [Ping timeout: 248 seconds]
duuude has quit [Ping timeout: 256 seconds]
Livio has joined #maemo-leste
xmn has joined #maemo-leste
<freemangordon> Wizzup: ping
pere has joined #maemo-leste
Twig has joined #maemo-leste
<dsc_> freemangordon: ping
<dsc_> iterating contacts in the roster via abook
<dsc_> so I create this aggregator
<dsc_> then use it to call `osso_abook_aggregator_list_roster_contacts` for example
<dsc_> what is an `EBook` ?
<dsc_> for (l = osso_abook_aggregator_list_roster_contacts(OSSO_ABOOK_AGGREGATOR(aggregator)); l; l = g_list_delete_link(l, l)) {
<dsc_> E_CONTACT contact = E_CONTACT(l->data);
<dsc_> something like this for looping?
<dsc_> (idk what E_CONTACT is, probably some macro)
<dsc_> somehow transfer this E_CONTACT into `OssoABookContact`
<dsc_> then get the vcard_attribute for OSSO_ABOOK_VCA_TELEPATHY_SUBSCRIBED (and others)
<dsc_> e_vcard_get_attribute(E_VCARD(contact), OSSO_ABOOK_VCA_TELEPATHY_SUBSCRIBED);
<dsc_> (as well as PUBLISHED)
pere has quit [Ping timeout: 252 seconds]
antranigv_ has joined #maemo-leste
antranigv has quit [Ping timeout: 265 seconds]
akossh has joined #maemo-leste
<freemangordon> dsc_: you can create roster by using account
<freemangordon> also, most-probably need osso_abook_aggregator_get_default()
<freemangordon> but, please, explain what you want to achieve, that I will just give you the code
<freemangordon> s/that/then
<dsc_> yes, nice
<dsc_> I would like a list of contacts with their properties so I can see if there are pending presence subscription requests
<dsc_> I would also like to subscribe to signals related to presence subscription/publication requests
<dsc_> I also need functions for accept/deny/block/remove presence subscription requests
<dsc_> incoming presence subscription request = remote party wants to see our status (known as 'add buddy')
<dsc_> it is commonly answered with a 'publication request' where we give the counter party access to our own presence
<dsc_> And... also sending such presence subscription requests on our own, to arbitrary contact addresses
<freemangordon> dsc_: so, you need a list of all roster contacts, right?
<freemangordon> i.e. contacts that come from telepathy accounts
<freemangordon> for that all you need is osso_abook_aggregator_list_roster_contacts()
<freemangordon> this returns a list of OssoABookContact *
<freemangordon> doing osso_abook_aggregator_list_roster_contacts(NULL) is ok, it will use default aggregator that uses system addressbook (EBook) and ba sically that's what we want
<freemangordon> ok, lemme write some code
<dsc_> is there a reference somewhere in contact to the account?
<dsc_> maybe `osso_abook_contact_find_roster_contacts_for_account`
kiva has joined #maemo-leste
<freemangordon> yes, there is
<freemangordon> no, another one
<freemangordon> sec
<freemangordon> dsc_: osso_abook_contact_get_account()
<freemangordon> is this what you are looking for?
<freemangordon> or, you can do osso_abook_contact_get_roster() if you need it
<dsc_> ah, ok
<freemangordon> unfortunately wiki is down, not sure how to find it on archive.org
<freemangordon> (for abook documentation)
<freemangordon> xes: ping
<kiva> Could MMS come to Leste with this: https://packages.debian.org/sid/mmsd-tng ?
<freemangordon> this use modem-mnager
kiva90 has joined #maemo-leste
<kiva90> So too hard to modified to Leste?
kiva has quit [Ping timeout: 256 seconds]
Livio_ has joined #maemo-leste
<dsc_> freemangordon: trying with https://plak.infrapuin.nl/selif/4f2btrnt.txt
<dsc_> apparently we already had a aggregator laying around
Livio has quit [Ping timeout: 260 seconds]
<freemangordon> dsc_: looks pretty much ok
<freemangordon> doe sit work?
pere has joined #maemo-leste
<dsc_> not sure, my codebase now is a battlefield with the other, old Tp stuff
<dsc_> will need some time
<freemangordon> ok
<freemangordon> dsc_: one note:
<freemangordon> do not do g_list_free_full(contacts, g_object_unref);
<freemangordon> g_list_free(contacts) is what you have to do
<freemangordon> see what osso_abook_aggregator_list_roster_contacts is doing https://github.com/maemo-leste/osso-abook/blob/master/lib/osso-abook-aggregator.c#L2489
<dsc_> ok
<dsc_> and also perhaps EVCardAttribute* needs cleaning up
<dsc_> need to look into this
<sicelo> kiva90: mms can definitely be made to work. note that even the modem-manager implementation was basically ripped off ofono
<sicelo> it's just that that dev worked on mms while ofono was at l
<sicelo> at its lowest point...
<sicelo> Anyway, no mms anymore in my part of the world, otherwise I would look into supporting it
<kiva90> sicelo: But you at least try, thanks..nobody sends MMS messages to you anymore?
<sicelo> operatorsno longer support it
<sicelo> you're in America I can guess? seems that's one place mms is still popular, at least based on what I get from postmarketos
kiva90 has quit [Quit: Client closed]
kiva has joined #maemo-leste
<kiva> In Nordic countries also, because iPhone send message in MMS if people but emoji in normal text message.
<kiva> not emoji, I mean emoticon.
<kiva> emojis comes with those 3 byte codes.
<sicelo> I can ask kop316 (mmsd-tng author) if he could support ofono now. I actually think it shouldn't be too hard to add support
<kiva> thanks.
<sicelo> he did have a bad experience with ofono though, so no surprise if he isn't interested
<kiva> It would be nice if ofono and mmsd-tng and old fMMS devs sit together to make support for Maemo...
arno11 has joined #maemo-leste
<sicelo> that mmsd, with some love, could probably work with our ofono
<sicelo> and yes, sounds like kop316 would merge an ofono patch, if someone submitted it and was committed to maintaining it
<sicelo> if you know a little bit of C, maybe I could also help/guide where I can
kiva94 has joined #maemo-leste
<sicelo> kiva: what Leste phone are you using BTW?
<kiva94> I have to first learn how to make Hello World in Linux..I have made little C code in DOS years ago. I use Pinephone Keyboard.
kiva has quit [Ping timeout: 256 seconds]
<kiva94> So I am not the best guy to be maintainer for it.
akossh has quit [Ping timeout: 272 seconds]
<sicelo> I've contributed code to a couple of C projects, and to this day still don't know when to use &, *, ->, or . when pointers and structs are involved. :-D
<sicelo> so I think you actually can maintain it perfectly well. copy-paste, and the compiler will help you by throwing errors :-p
<kiva94> :)
<freemangordon> sicelo: come on
<freemangordon> ping me when you have 5 minutes (not now) and I'll explain that to you once and for all
akossh has joined #maemo-leste
<kiva94> In time to time have tried compile something old code (just using make) and compiler always throwing so many errors that I gave up...but I try now first relearn C in Linux enviroment then I remember contact you...actually I am not bad coder, I have even helped pro coders to think how to solve problems optimal way, but unix and C is not my cub of
<kiva94> tea.
<sicelo> freemangordon: I'll take you up on that offer
<freemangordon> sure
kiva94 has quit [Quit: Client closed]
Anasko has joined #maemo-leste
Livio_ has quit [Ping timeout: 260 seconds]
akossh has quit [Ping timeout: 244 seconds]
Twig has quit [Ping timeout: 244 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #maemo-leste
arno11 has left #maemo-leste [#maemo-leste]
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
System_Error has quit [Remote host closed the connection]
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
System_Error has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste
Anasko has quit [Remote host closed the connection]
Anasko has joined #maemo-leste