sunshavi has quit [Remote host closed the connection]
sunshavi has joined #maemo-leste
yanu has quit [Ping timeout: 272 seconds]
xmn has quit [Remote host closed the connection]
Danct12 has joined #maemo-leste
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #maemo-leste
joerg has quit [Ping timeout: 272 seconds]
joerg has joined #maemo-leste
vgratian has joined #maemo-leste
yanu has joined #maemo-leste
<freemangordon> Wizzup: it seems I am missing the point, all the time I was trying to find a way to *start* group chat, while you look for a way to somehow receive message for chats/rooms/groups the user has not joined to or somesuch
<freemangordon> so, could you please explain the usecase (in terms of IRC, for example)
Pali has joined #maemo-leste
<Wizzup> freemangordon: is not about groups that the user hasn't joined
Livio has joined #maemo-leste
<Wizzup> freemangordon: but like, in xmpp, you are persistently in channels
<Wizzup> as in slack
<Wizzup> and others protocols
<Wizzup> so you need to be able to get the list of channels / rooms you're in
<freemangordon> hmm
<Wizzup> I think telepathy does send some of this info over, like your contacts, buddies, etc
<freemangordon> wait
<freemangordon> see https://pastebin.com/rgWeh4HQ
<freemangordon> this is fremantle MessagingUI.client
<freemangordon> so, it observes handle types 0, 1 and 2
<freemangordon> the same does Empathy.Chat.client
<freemangordon> in leste
<Wizzup> hmm I am not sure if we ever made this file for conversations
<freemangordon> I think we must
<freemangordon> otherwise tp does not know what to call
<Wizzup> what are these numbers?
<freemangordon> this is for TargetHandleType
<freemangordon> not 100%sure though, still trying to find the docs
<Wizzup> I can make this file in a bit
<freemangordon> sure, but maybe it somehow ionteracts with the code
<freemangordon> also, the name must be the dbus iface we expose, IIUC
<Wizzup> maybe I'm just not doing it right in conversations tp wise
<Wizzup> It's so not clear how to do this in any case
<freemangordon> mhm
<freemangordon> lemme try to find how
<Wizzup> we currently expose a handler called "myhandler", but locally I have changed the name already
<Wizzup> please do check src/lib/tp.cpp in conversations
<freemangordon> I did
<Wizzup> I also added Tp::ChannelClassSpec::textChatroom to the handler creation
<freemangordon> but honestly not sure what it is suppose to do
<Wizzup> but that didn't make a difference
<Wizzup> fwiw
<Wizzup> well we need a handler to get anything at all
<Wizzup> but also to approve channel joins, etc
<freemangordon> like, it looks to me like a mix of functionalities
<Wizzup> telepathy-qt or the handler?
<freemangordon> src/lib/tp.cpp
<freemangordon> ok, lemme try to find how are those handlers registered with tp-glib, then will try to map to qt
<Wizzup> ok
<Wizzup> so the tp code in conversations registers a handler and then listens for incoming messages (logs them), and it can send messages back
<Wizzup> that's about it currently
<Wizzup> the logging part I plan to split out later into a separate component
<Wizzup> (process, really)
<freemangordon> "An additional .client file is used by the Channel Dispatcher to look up properties such as what interfaces the client supports and what channels its interested in (see Section 4.1.2 ― .client File below). "
<Wizzup> ah.. damn. ok
<freemangordon> *what channels its interested in*
<freemangordon> :)
<Wizzup> I am not sure if this will do the trick but it's definitely something missing
<Wizzup> I guess we will also need this for sphone later then, for the tp module
<freemangordon> well, at least it worths reading
<Wizzup> yes
<freemangordon> I think you should add 2 more classes here
<freemangordon> like textChatroom() maybe
<Wizzup> yeah, so I had that locally
<Wizzup> and that didn't make a difference
<freemangordon> hmm
<Wizzup> but maybe the .client file is also necessary
<freemangordon> could be
<Wizzup> btw, I have a jabber server for myself that also works with fremantle jabber
<Wizzup> could be useful for testing somehow
<freemangordon> mhm
<freemangordon> btw, you may start telepathy-gabble with traces enabled, it will provide hints why handlers/observers are not called
<freemangordon> GABBLE_PRESIST=1 etc (IIRC)
<Wizzup> ok
<Wizzup> let me take it one step at a time, first the file
<freemangordon> ok
<Wizzup> glad you're back, btw :D
<freemangordon> kinda :)
<Wizzup> sure
<freemangordon> but yeah, will try to fully get back ASAP
<Wizzup> :)
<freemangordon> btw, for the logging part, see empathy Logger
<Wizzup> src link?
<freemangordon> trying to find
<Wizzup> I did see a logger interface for telepathy, but at least telepathy-logger didn't seem like what we wanted
<Wizzup> freemangordon: wait which empathy file did you paste?
<freemangordon> Empathy.Chat.client
<freemangordon> Loger.client comes with telepathy-logger
<freemangordon> but, it may serve as an example I guess
<Wizzup> it contains less on my vm
<freemangordon> like what?
<Wizzup> the whole observerfilter is not there on my vm
<freemangordon> same here, maybe I made a mistake and pasted my ubuntu one
* freemangordon checks
<freemangordon> Wizzup: wait, observers are on fremantle
<freemangordon> MessagingUI.client
<freemangordon> this https://pastebin.com/rgWeh4HQ
<Wizzup> check
<Wizzup> yeah the ui also logs
<Wizzup> ok ty
<freemangordon> Wizzup: BTW, doing "new TelepathyAccount(acc)" for each account seems like an overkill to me
<freemangordon> why is that needed?
<Wizzup> freemangordon: this is needed to send messages
<Wizzup> afaik
<freemangordon> hmm
<freemangordon> I am not sure this is the case, but well, will see when we get to it
<Wizzup> not sure why it is overkill, the accountmanager makes them anyway
<Wizzup> yeah
<freemangordon> going afk, lunch
<Wizzup> *nod*
Danct12 has quit [Quit: Leaving]
Livio has quit [Ping timeout: 255 seconds]
elastic_dog has quit [Ping timeout: 244 seconds]
elastic_dog has joined #maemo-leste
<Wizzup> well, I do have my own jabber server working fine with fremantle, even for calls and history fetching, so that's nice
vgratian has left #maemo-leste [#maemo-leste]
vgratian has joined #maemo-leste
vgratian has left #maemo-leste [#maemo-leste]
vgratian has joined #maemo-leste
<buZz> does jabber also do videocalls?
<buZz> oh, i guess it does
<buZz> nice
<sixwheeledbeast> xmpp can support voice and video
<Wizzup> yeah they work on fremantle
<buZz> very nice
<buZz> fremantle on d4? :D :D :D
<buZz> hehe
<Wizzup> no, n900
vgratian has left #maemo-leste [#maemo-leste]
<buZz> alright
<Wizzup> still struggling with telepathy and channels
vgratian has joined #maemo-leste
<bencoh> IM with Conversation felt like nightmare to me, but ... ymmv
<bencoh> I mean, group chat
<Wizzup> what parts in particular?
<bencoh> mostly the fact that closing a chat window meant leaving the group
<bencoh> (or channel)
<Wizzup> right
<bencoh> (afair at least)
<buZz> i noticed conversation now can even open multiple windows of the same chat, kinda annoying :P
<buZz> also it doesnt give full history, vs sphone's sms history
<Wizzup> buZz: I haven't seen it open multiple windows of the same chat
<Wizzup> where does this happen?
<Wizzup> maybe this is a qt bug where the windows do not stack
<Wizzup> in any case it's not that important if the tp stuff doesn't work the way it should ;)
<buZz> Wizzup: just tap it a bunch of times
<buZz> only 1 window has arrow back, the others have the close X, on topright
<dsc_> conversations is still in development
Livio has joined #maemo-leste
<bencoh> (I was referring to fremantle's Conversations, btw, not leste's one)
<sixwheeledbeast> the leaving groups on close was obvious with the IRC plugin.
<buZz> ah
Livio has quit [Ping timeout: 264 seconds]
_uvos_ has joined #maemo-leste
<_uvos_> Wizzup: log still dosent work
Livio has joined #maemo-leste
<bencoh> sixwheeledbeast: indeed
<Wizzup> _uvos_: ah shit
_uvos_ has quit [Ping timeout: 240 seconds]
lel has joined #maemo-leste
<Wizzup> lel: ping
<Wizzup> test
<sixwheeledbeast> I think it was only the plugins affected tho, SMS or IM isn't a issue to close?
lel has quit [Remote host closed the connection]
lel has joined #maemo-leste
lel has quit [Remote host closed the connection]
lel has joined #maemo-leste
<Wizzup> lel: ping2
<Wizzup> ok
vgratian has left #maemo-leste [#maemo-leste]
_uvos_ has joined #maemo-leste
_uvos_ has quit [Ping timeout: 240 seconds]
_uvos_ has joined #maemo-leste
DavidTalmage has joined #maemo-leste
_uvos_ has quit [Quit: _uvos_]
<DavidTalmage> Is Maemo Leste 20220618 known to work on the N900? When mine tries to boot from it (on an SD card), it thinks for a little while then it presents the U-Boot menu.
<DavidTalmage> Is there a way to turn on the display backlight in U-Boot?
<Wizzup> did you select to boot it from the uboot menu?
<Wizzup> the display backlight should be on, unless you started the n900 by plugging in the usb cable
vgratian has joined #maemo-leste
<DavidTalmage> Yes, I selected the boot from SD option in the uboot menu.
<DavidTalmage> I started the N900 by plugging in the USB cable. Thanks for the clue!
<DavidTalmage> I think maybe I see a problem. On the dim display after first boot, it says "unable to read bootmenu.cf" or something like that.
<Wizzup> latest image you say?
<DavidTalmage> yes. I haven't tried other images.
vgratian has left #maemo-leste [#maemo-leste]
<Wizzup> freemangordon: so even with empathy it (1) doesn't open existing chat rooms (2) doesn't know about existing chat rooms unless I add them
Livio has quit [Quit: I'm gone away.]
vgratian has joined #maemo-leste
<Wizzup> if I join the channel manually through TP then it does work it looks like
<DavidTalmage> @Wizzup I just now tried 20220611. It won't boot, either. The N900 keeps going back to the U-Boo menu
<DavidTalmage> U-Boot
<DavidTalmage> It's as if U-Boot doesn't know where to look for the boot partitiion
<Wizzup> freemangordon: well it worked once in empathy
<Wizzup> DavidTalmage: weird... I can try tomorrow on my n900
<DavidTalmage> Thanks.
<DavidTalmage> Is there a u-boot command I can type to make the N900 boot from the sd card?
<Wizzup> 'run sdboot'
<Wizzup> DavidTalmage: how did you dd the image, btw?
<DavidTalmage> the screen went black for a minute. Then it rebooted. Now I see the u-boot menu again.
<Wizzup> DavidTalmage: how did you copy the image to the sd card?
<DavidTalmage> sudo dd status=progress bs=1M if=maemo-leste-1.0-armhf-n900-20220611.img of=/dev/sdc
<Wizzup> ok, so you did extract the xz part then :)
<Wizzup> as in, you did un-xz'd
<DavidTalmage> Yes. `unxz maemo-leste-1.0-armhf-n900-20220611.img.xz `
<Wizzup> I'll test tomorrow
<Wizzup> bencoh: so I imagine this behaviour (leaving chat upon closing window) is likely related to what I am seeing
<Wizzup> bencoh: I am not even sure if TP supports persistently joining rooms
<Wizzup> which is kind of weird since xmpp definitely does
vgratian has left #maemo-leste [#maemo-leste]
vgratian has joined #maemo-leste
<Wizzup> bencoh: looks like empathy is the same
<Wizzup> close window == lose chat
uvos has joined #maemo-leste
<Wizzup> bencoh: so I suppose we'd have to keep track of channels ourselves
Livio has joined #maemo-leste
<Wizzup> freemangordon:
<Wizzup> 21:12 -!- wizzupvm [~user@78-3-105-124.adsl.net.t-com.hr] has joined ##maemotest
<Wizzup> 21:12 < wizzupvm> Maemo conversations says hi
<Wizzup> that's something :)
<Wizzup> dsc_: ^^
<dsc_> pretty cool
<dsc_> but does it blend
<Wizzup> there's a lot more to do for sure, but it's something
<dsc_> chatgroups imply a whole range of features, incl. keeping channel roster up2date (people leaving, entering), being able to PM specific people inside a groupchat, you yourself can join/leave specific groups, and this is all multi-protocol
<Wizzup> the roster you can also query, but yeah there are signals for it
<Wizzup> join/leave is functional it seems, just doesn't work the way I thought it would
<dsc_> this has implications for the amount of front-end work required
<sicelo> DavidTalmage: tried a different image then?
<DavidTalmage> Yes. Same result.
<DavidTalmage> I wonder if there is something wrong with my u-boot
<sicelo> Weird. I'll see if I can find my spare SD card and test.
<sicelo> I doubt it's u-boot. You can still boot Fremantle with it (u-boot)?
<DavidTalmage> No, I can't.
sice|o has joined #maemo-leste
<sice|o> that's a problem. are you able to find out why you can't boot Fremantle with u-boot?
<sice|o> https://leste.maemo.org/Nokia_N900#Quick .. try steps 1-4 from that link. that *should* get you to a booted Maemo Leste environment, unless there are other issues
vgratian has left #maemo-leste [#maemo-leste]
<DavidTalmage> so far, no.
<DavidTalmage> The n900 keeps rebooting into u-boot.
vgratian has joined #maemo-leste
<sice|o> even using that link, i.e. via 0xFFFF?
<DavidTalmage> yes
<DavidTalmage> dmesg tells me that it found the N900.
<sice|o> then your SD card is suspect. perhaps try a different SD card
<DavidTalmage> I've tried two different sd cards.
<DavidTalmage> What about the battery?
<DavidTalmage> Must the n900 have a working battery?
<DavidTalmage> I don't think the one it has is accepting a charge any more.
<sice|o> yes, you do need it :-)
<sice|o> keep the USB connected ... might be enough to supply power to the device
<DavidTalmage> I'm going to order a new battery right now.
<DavidTalmage> I'll return with the results. It may be a few days.
<Wizzup> maybe leave the battery to charge over night to a wall charger
<DavidTalmage> Thank you @Wizzup and @sice|o for helping me.
DavidTalmage has quit [Quit: It's time to go out into the Big Room.]
vgratian has left #maemo-leste [#maemo-leste]
<bencoh> Wizzup: yeah, although I don't really know what this implies with telepathy
<Wizzup> I think it'll still be manageable
<Wizzup> freemangordon: ok yeah so there's some more handleChannels stuff to be done
<Wizzup> freemangordon: but I made some progress at least
<Wizzup> freemangordon: amongst other things empathy calls tp_channel_join_async
<Wizzup> I can't find that yet in telepathyqt
<Wizzup> hm, it seems to call addmembers on the channel to add itself
sice|o has quit [Ping timeout: 268 seconds]
<Wizzup> yup that calls addMembers
Livio has quit [Ping timeout: 268 seconds]
Pali has quit [Ping timeout: 272 seconds]
uvos has quit [Ping timeout: 260 seconds]
vgratian has joined #maemo-leste
menoo has joined #maemo-leste
<menoo> <DavidTalmage> Is Maemo Leste 20220618 known to work on the N900?
<Wizzup> I think he had other problems
<Wizzup> freemangordon: ok I can join channels and write to them, next up is setting up some signals, but will do that tomorrow
<menoo> This one works .....
<menoo> <Wizzup> OK then ...
<Wizzup> glad to hear, thanks for confirming
<menoo> With my pleasure, must go, thanks all of you ...
menoo has quit [Quit: Leaving]
xmn has joined #maemo-leste