libera/#maemo-leste/ Monday, 2023-12-18

Wizzupuvos: great @ sphone commit00:18
uvosnot sure where you will get the functions for random protocolls00:20
uvosmaybe tp has sutch a feature00:20
Wizzupuvos: well right now we mostly know what we support00:49
Wizzupfreemangordon: I went into osso-addressbook and added a sip entry for my a contact, this crashed the addr book and when I now click on the contact again osso-addressbook also crashes01:23
Wizzupfreemangordon: https://pastebin.com/raw/ukf4xBNB01:27
lolcatwhello again03:26
dsc_hi03:26
lolcatwany reason why apt cant install scrot03:27
lolcatwi did update && upgrade03:27
lolcatwon the latest repos as well03:27
lolcatwhmm03:27
gnarfacewhat is the error? apt usually tells you exactly why it can't install something...03:28
lolcatwit just says unable to find scrot03:31
lolcatwas if the package didnt exist03:31
gnarfacemaybe it's named something else, try "apt-cache search scrot"03:31
gnarfacehmm, though... in devuan it looks like it's called scrot...03:32
gnarfacesorry, i'm not running maemo-leste yet, but it didn't look like anyone else is answering you03:32
gnarfaceassuming it's supposed to have all the same packages as devuan, i'd suspect maybe an error in your sources.list03:33
gnarfaceoh, maybe you need to "apt-get dist-upgrade" first to complete a release upgrade? that's another possibility... there's not many03:34
lolcatwdist-upgrade never worked for me03:34
lolcatwjust noticed apt update gave some errors about some mirrors being unreachable03:35
lolcatwwill investigate03:35
gnarfaceah, yea that's probably the issue03:51
gnarfacefix that and run "apt-get update" again until you don't get errors03:51
gnarfacethen the apt-get install actions should work right03:51
lolcatwyeah all is good now03:54
lolcatwi got some good screenshots out of it03:54
lolcatwhttps://deek.chat/storage/files/Dek1736578005656965120.png03:55
lolcatwhttps://deek.chat/storage/files/Dek1736579117994774528.png03:55
lolcatwhttps://deek.chat/storage/files/Dek1736580009418592256.png03:55
lolcatwhttps://deek.chat/storage/files/Dek1736580107091349504.png03:55
dsc_TIL scrot works04:35
freemangordonWizzup: what is the address you've added07:39
freemangordon?07:39
freemangordonWizzup: fixed, please upgrade07:55
Wizzupfreemangordon: ty, will test10:46
Wizzupfreemangordon: yes, works, ty10:48
freemangordon:)10:49
arno11freemangordon: https://github.com/dequis/purple-facebook/tree/v0.9.611:20
arno11this version of the plugin is buildable11:20
arno11but a missing patch is needed11:21
arno11to avoid hacking the .so file11:21
arno11here is the patch: https://github.com/dequis/purple-facebook/blob/master/patches/20-bump-FB_ORCA_AGENT-version.patch11:24
arno11i tried this morning to use fb messenger with my wife through conversations and it works well11:26
arno11with notifications11:26
freemangordonwtym buildable?11:26
WizzupI think we do need to rework how some of the notifications work but it's a good start11:26
Wizzupfreemangordon: as in it's not in debian11:26
WizzupI guess11:27
Wizzupso it needs packaging11:27
Wizzupthis is just the tp fb connection manager11:27
freemangordonah, ok11:27
WizzupI also packaged the slack purple plugin btw, iirc11:27
* freemangordon wonders why it not in debian11:27
freemangordonwhat strange source format :)11:29
arno11yeah we have almost no plugin in debian11:29
freemangordonlike, is everything a patch?11:29
arno11yes kind of11:30
freemangordonah, this is on top of libpurple-facebook?11:30
arno11weird stuff11:30
Wizzupoh11:30
freemangordonhmm, I am not sure we want that11:31
WizzupPurple Facebook implements the Facebook Messenger protocol into pidgin, finch, and libpurple. While the primary implementation is for purple3, this plugin is back-ported for purple2.11:31
Wizzupdo we need that?11:31
freemangordonno :)11:31
freemangordonwe'd rather check why upstream does not work and fix it11:31
freemangordonarno11: did you try upstream libpurple-facebook?11:32
Wizzupwhat is upstream?11:33
freemangordontrying to find11:33
WizzupI think this might be upstream11:33
arno11can't find it and with no hack, impossible to get it work anyway iirc11:33
freemangordonyes, this is the upstream11:34
freemangordon"The purple-facebook plugin is a replacement for the builtin Facebook XMPP plugin."11:34
freemangordonso it seems to patch libpurple11:34
freemangordoninstead of creating a new plugin11:35
arno11yes ofc but that's not enough probably11:35
freemangordonarno11: just thinking out loud11:35
freemangordonand yes, probably not enough11:35
arno11yep11:36
freemangordonWizzup: hmm, seems purple3 is not yet release11:37
freemangordon*released11:38
freemangordonarno11: so, you buld that like, patching with it libpurple?11:38
arno11yes11:38
freemangordonI see11:39
freemangordonWizzup: looking at the patches, does not seem bad11:40
arno11the important patch is the last one (20th)11:40
arno11just fyi11:40
freemangordonok11:41
freemangordonWizzup: so, besides that it brings deprecated/removed code back (IIUC) it does not look bad11:41
freemangordonthough, I wonder why was that never sent for upstreaming in libpurple11:41
arno11good question11:42
freemangordonumm....11:43
freemangordonhttps://pidgin.im/plugins/?publisher=all&query=&type=11:43
freemangordonI don;t get that11:43
freemangordonsee Facebook11:43
freemangordonok, so this is the 'official' plugin11:44
arno11and ?11:44
arno11kind of lol11:44
Wizzupfreemangordon: so we need to pull in the old repo and then put this all in debian/patches ? or ?11:45
freemangordonstill don;t understand :)11:45
freemangordonthat's what I am trying to find11:45
freemangordonah: https://github.com/dequis/purple-facebook/blob/master/update.sh11:46
Wizzupwhy.jpg :)11:46
freemangordonhmm?11:49
freemangordonok, it pulls revision 9ff9acf9fa14 an dapplies patches on top11:49
freemangordonwhich is what we are not going to do :)11:49
freemangordonor, can we?11:50
freemangordonhmm, ok11:51
freemangordonit builds SUBDIRS = pidgin/libpurple/protocols/facebook11:51
freemangordonso ok, looks fine to me11:51
freemangordonWizzup: it already seems to have packaging11:52
freemangordonwe have to add gbp.conf only11:52
Wizzupok, let's put it in upstream-forks then?11:52
Wizzupor do we want it in extras? (or both I guess)11:52
freemangordonI think this belongs to extras11:52
Wizzupok11:52
freemangordonextras11:52
Wizzupfreemangordon: do you have a fb account so you can test it, btw?11:52
freemangordonok, I'll create accounts plugin that will depend on that11:53
freemangordonyes, I have11:53
arno11or you can use a fake one, like me... :P11:53
Wizzuparno11: not sure you managed to do it, I tried it once a few years ago under a fake name and they wanted my passport, and blocked me quickly afterwards11:53
arno11ah really bad lol11:54
freemangordonok, have to run, ttyl11:56
arno11anyway this plugin 'story' is really cool, i'll have a look later and see if i can get working other plugins11:56
freemangordonI wonder why tp does not have mqtt plugin11:59
freemangordonand isn't it a good idea to write one11:59
Wizzupif given unfinite time :)12:00
freemangordon:)12:00
freemangordonok12:00
freemangordonbye12:00
Wizzuplet's first prove that we can actually make something that works ok using tp :P12:00
freemangordonbbl12:00
Wizzupwe still have many challenges ahead like fetching xmpp history (xep 0313) and OMEMO keys12:00
bencohdoes any project still use tp btw? sailfishos maybe?12:01
Wizzupyes12:04
uvos__tp being very big and essentally unmaintained for a long time worries me (and is the reason for me writeing sphone the way i did)12:56
Wizzupit's relatively well documented, albeit complex, but has superior design to say just libpurple13:04
WizzupI'm confident we can work these things out13:04
Wizzuplike, having the chat protocol handlers in the same process is just a nightmare13:06
Wizzupor requiring specific code/abi13:06
WizzupTP really got this right13:06
Wizzupuvos__: btw regarding new stable, I think from my pov when we get conversations/tp working reliably (perhaps with sip/xmpp voice calls) we can start the move to the new stable, from my pov13:12
Wizzupthere is still gconf in current stable13:12
Wizzupjust python2 is lacking13:12
uvos__ok, honestly python2... good ridance13:16
uvos__(i know this means not gtk2 bindings)13:16
uvos__i wonder who is still holding gconf in stable13:16
uvos__considering they marked it depicated manny years ago now13:17
Wizzupyes, with the python2 drop we lose some bindings and as a result a few extras apps13:17
WizzupI think I posted a list last week13:17
Wizzupit's nothing too major but just sad because it means we'll have lost our python bindings13:17
Wizzupwe could of course make new ones with the better tooling that exists now13:18
Wizzupbut in general python/gtk2 is a dead end, so then we need gtk3 first really :)13:18
Wizzupso in practice we have to live with losing a few python apps13:18
Wizzup20:22 < Wizzup> these packages will not work anymore: binaryclock-plugin, quicknote, sojourner, syncevolution-frontend, modrana13:18
Wizzup20:23 < Wizzup> python2-gconf python-conic python-hildon python-hildondesktop python-location python-mafw python-osso13:19
Wizzupsojourner is sad because I still use it every fosdem :P13:20
sicelothere's confclerk13:21
Wizzup?13:21
Wizzupah a different app?13:21
siceloyes13:22
sicelohttps://www.toastfreeware.priv.at/confclerk13:26
sicelowas originally made for maemo devices ;-)13:26
uvos__i mean ok but most of those are not really usefull13:35
uvos__binaryclock-plugin is just a meme and  syncevolution-frontend dosent work at all anyhow13:36
Wizzupyes binaryclock-plugin was a way to test the python bindings for status area13:36
uvos__quicknote is easly replaceable, and sojurner appreantly has an alternative13:36
Wizzupsyncevo frontend works if the backend work13:36
Wizzups13:36
uvos__nah the ui is really broken13:36
uvos__even when the backends worked13:36
bencohmodrana will really make some people sad I think13:36
uvos__yeah modrana is usefull13:37
Wizzupit has a qt5 backen13:37
Wizzupd13:37
bencohoh13:37
Wizzupjust the maemo specific one is gtk213:37
WizzupI think13:37
bencohhmm13:37
Wizzupthis was just me searching debian/control13:37
uvos__porting to everything to gtk3 would be a lot of work (even if some bits exist allready)13:48
uvos__i also worry this could mean the end of n900 support13:48
freemangordonwhy is that?13:48
freemangordonqt5 (for example) works well on it13:49
uvos__gtk3 (and especcaly gtk4) needs more ram, n900 is pretty at the eadge allready13:49
uvos__yeah but if everthing where qt5, i dont think it would do so well13:49
freemangordonwell, we have maemo-launcher for that :)13:49
uvos__that cant possibly help13:49
freemangordonsure it can13:49
uvos__it dose not even save any ram really for gtk213:49
freemangordonall thge static data etc is shared amongst the processes13:49
freemangordonok, lets not go into that13:50
uvos__its like 100kb per process, and it uses some memory itself and needs like 6 apps to even break even13:50
uvos__this wont save you from qt/gtk3+13:50
freemangordonwe shall write qt booster anyway13:50
WizzupI think we'll just see when we get there13:50
freemangordon:nod:13:51
Wizzupwhether or not we can support n900 in a few years from now :)13:51
freemangordonat some point we'll drop support, but I doubt gtk3 will be the reason13:52
arno11the end of 2g and 3g in Europe in 2025 is far more problematic imo, for n900 and d414:00
Wizzupwe'll see if that actually happens (everywhere)14:00
arno11gb, france, spain, belgium, netherlands, germany, most WE countries anyway14:03
freemangordonI doubt it will14:05
freemangordonbut yeah, will see14:05
arno11yeah in fact14:05
Wizzuptmobile keeps 3g on indefinitely in the netherlands fyi14:06
Wizzupalso many smart meters and such need 2g or 3g14:06
Wizzupat least indefinitely for now14:06
arno11indeed14:06
Wizzupin any case let's not worry about the inevitable :)14:07
uvos__in germany 3g is gohne (as it is in most places by now)14:07
uvos__but 2g is staying until 203014:07
Wizzupyeah, but it's going strong in austria still, kind of funny :D14:07
uvos__ montain germans are allways more conservative14:08
arno11lol14:09
freemangordon:D14:09
bencohI'm quite happy to know that they'll keep 2g over 3g tbh14:09
arno11that's kind of common sense14:12
Wizzupuvos__: :D14:12
bencoharno11: some places talked about killing 2g before 3g14:13
Wizzupthe netherlands is it seems14:14
Wizzup3g is supposedly covered by tmobile and 2g by kpn, but kpn is talking about shutting off 2g in 202514:14
bencoh:/14:14
Wizzupwell there's a reason I left the country :P14:14
arno11bencoh: burocratic stuff probably...14:15
arno11Wizzup: following 2g is now a road trip :D14:18
WizzupNot sure if I get it14:19
arno11anyway14:20
arno11btw the end of a working solution for whatsapp was a major concern for lot of maemo users iirc, seems possible again (to get it working)14:50
uvos__they pretty agressively block 3rd party clients14:51
uvos__so i dont think its really possible in a practical sense14:51
arno11yes i know but seems to work through pidgin14:51
uvos__for now14:52
arno11ofc14:52
arno11working for 2 years already14:54
arno11the name is purple-gowhatsapp for who is interested14:55
arno11it uses go language mostly14:57
arno11i'd like to try it but don't wan't to give my phone number to meta...15:00
Wizzuparno11: doesn't that require you to also have an android phone?16:48
arno11Wizzup: you mean for auth ?17:13
Wizzuparno11: well in general, can you use it without having android/ios?17:19
arno11yes apparently17:21
Wizzupthat's cool, we should use that.17:21
Wizzupreading the set-up we will run into some problems :p  https://github.com/hoehermann/purple-gowhatsapp17:22
Wizzup> Using your phone's camera, scan the code within 20 seconds – just like you would do with WhatsApp Web.17:22
arno11yes indeed17:22
Wizzupuhm17:22
arno11tricky17:22
Wizzupdoesn't that mean ios/android phone?17:22
arno11just for authentification apparently17:23
Wizzupwell yes17:23
Wizzupbut you'll have to own one17:23
arno11probably17:23
Wizzup'buy an android phone to use whatsapp on maemo leste' doesn't sound quite the same :(17:23
arno11indeed17:23
Wizzupbut yeah, since whatsapp added whatsapp web and multi-device support, there are some ways to use it17:24
WizzupI used to have a vm running anbox just for wa17:24
Wizzupbut they still banned me iirc17:24
Wizzupmany years ago17:24
arno11ah ok17:24
Wizzupthis might be better17:24
Wizzupoh no, they didn't ban me17:24
Wizzupbuy I bought a one-off sim card for it and lost the number17:24
Wizzupso I was locked out after many years17:24
Wizzup:)17:24
arno11:)17:25
freemangordonarno11: hmm, how did you manage to build that FP plugin?17:25
freemangordondoing ./update.sh does nothing17:26
freemangordonwith no error message whatsoever17:26
arno11ah yes let me check17:26
freemangordonplease, someone that is good at scripting:17:27
freemangordonHASHG=$(_TMP_=$(type hg 2>&1); echo $?)17:27
freemangordonwtf?17:27
arno11i've been able to build v0.9.617:28
arno11master doesn't work17:28
freemangordondoes not work as in?17:28
arno11not able to make17:29
arno11even not able to configure17:30
freemangordonok17:30
arno11but works from v0.9.617:30
arno11but you need to add the 20-something patch to it17:31
freemangordondid you install mercurial17:31
freemangordon?17:31
arno11nope17:31
freemangordonwell...17:32
freemangordonit needs hg to pull pidgin17:32
arno11ah i remember17:32
arno11i used the tarball17:32
freemangordonaha17:33
arno11this way no mercurial needed17:33
freemangordonhttps://github.com/dequis/purple-facebook/compare/v0.9.6...master17:34
freemangordonso I would prefer master17:34
Wizzupwe can depend on hg in our ci17:34
freemangordonmhm17:34
freemangordonbut I want first to see what exactly it pulls17:35
Wizzuppython17:35
Wizzup:)17:35
freemangordonlike, what goes into the source package17:35
Wizzupah17:35
freemangordonbecause I can simply add source files by hand in our repo17:35
freemangordonor, maybe it is smart enough17:35
freemangordonhmm, it seems it is17:36
freemangordonstill, debian packaging is semi-broken17:37
Wizzupas usual, things are a bit broken :)17:38
freemangordonmhm17:38
freemangordonit does not execute autogen.sh17:38
freemangordonso pidgin files will not be pulled17:38
freemangordonI have to fix that it seems17:38
Wizzupwait, doesn't debian do that automatically?17:39
Wizzupare their rules overwriting the default stuff?17:39
freemangordonno17:39
Wizzupit does afaik17:39
freemangordonautogen.sh is just a random file :)17:39
Wizzupwell it will run autoreconf or so17:39
Wizzupah17:39
freemangordonautoreconf yes17:39
Wizzuplol17:39
freemangordonwe have some packages that call autogen from their rules17:40
freemangordonI have to find one to borrow the code17:40
freemangordonok, builds fine17:42
arno11cool17:44
freemangordonugh, that created 200MiB source tarrball17:45
arno11???17:46
freemangordonfor some reason it includes .git .pidgin .travis etc17:47
arno11ah ok17:48
arno11otherwise it is only 500k lol17:48
Wizzuparno11: I think there is some eu law coming in 2024 where these gatekeeper companies need to offer apis to their chat iirc17:56
Wizzuphttps://techcrunch.com/2023/09/11/whatsapp-has-started-work-on-cross-platform-messaging-due-to-eu-regulation/?guccounter=117:56
WizzupIn 2022, the EU said that interoperability for messaging platforms was a key requirement for messaging services from gatekeepers. In other words, people who use Signal, Telegram or Snapchat will be able to send messages to WhatsApp and Messenger users without having to create a WhatsApp or Messenger account.17:57
Wizzupyeah should be live march 202417:57
arno11really interesting17:59
Wizzuplet's hope they just pick xmpp for interop...17:59
Wizzupprobably won't but hey.17:59
arno11who knows18:00
* uvos__ plays the 9th symphony18:00
Wizzuplol18:00
Wizzupthere are also a lot of things I disagree with (like the central digital identity and storage of all eu citizen data), but yeah this might be good18:01
arno11all citizen data @the same 'place' makes me worried about who will manage that...18:05
Wizzupin general it's just a bad idea to centralise any of this18:05
Wizzupbut then again the netherlands did the same thing with all healthcare data18:05
Wizzup(another reason to leave :P)18:05
arno11:)18:05
uvos__consumer protection from large private interest has been mostly good recently18:09
uvos__but yeah protection from state intrest, less good18:09
freemangordonWizzup: do you know how to tel gbp buildpackage to not include some directory in the source tarball?18:30
freemangordon*tell18:30
Wizzupfreemangordon: not really, maybe just remove them?18:40
freemangordonWizzup: could you add https://github.com/maemo-leste-extras/purple-facebook to ci22:32
freemangordonand perhaps build it for extras-testing if possible22:32
freemangordonI don;t dare after the last time it took me 10 attempts to build OMP :)22:33

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