libera/#maemo-leste/ Friday, 2025-05-23

dsc_I think regarding abook, someone really needs to assist with getting the correct information out of it00:03
dsc_I need 3 things: avatar, presence, display_name00:03
dsc_those are (preferably) 3 functions calls instead of 500 lines of C00:04
dsc_they can be added to libosso-abook/osso-abook.h00:05
dsc_and we can agree on some identifiable ID00:08
Wizzuparno11: looks like it doesn't have the swap line00:11
Wizzuparno11: but maybe dpkg-reconfigure doesn't set this? not sure.00:11
Wizzupthe reconfigure runs after the file is copied for sure00:11
Wizzuparno11: ha, doh, the leste-config postinst doesn't check /etc/fstab is /swap exists00:12
WizzupI'll fix that00:12
Wizzupbuilding a new image01:36
LeePenMy venerable N900 has developed a screen fault.11:20
LeePenWhat is the best supported hardware for leste? D4?11:21
LeePenAre there things to watch out for on used ones?11:21
freemangordondsc_: what do you need from abook? like, what API?11:39
Wizzup@leepen if you want something with a keyboard then the droid 4, but the pinephone also works ... okay ish, just battery life is not great11:45
siceloLeePen: and if you are able to do some work yourself, you could port some other device (that already supports postmarketOS with a mainline kernel or Mobian)11:55
arno11Wizzup: fstab is fine in last img :)14:24
arno11dsc_: in 0.7.44, it returns segfault when i click on a tg chat window14:26
Wizzuparno11: great14:26
arno11dsc_: [W] [::0] could not find associated active tp account by local_uid "haze/telegram_tdlib/14:26
arno11Wizzup: yeah :)14:27
dsc_arno11: hmm ok14:28
dsc_will look14:28
arno11ok14:28
arno11dsc_: and if i click on a sms chat, it works randomly14:29
arno11sometimes ok, sometimes it returns wrong stacking (with raster), and sometimes not working at all14:31
arno11Wizzup: btw, do we still need iphbd and iphb-dkms ?14:34
Wizzupyes we need it14:35
arno11because they were not installed on my fresh daedalus / or removed during last kernel update idk, and it doesn't make any diff, excepting more network disconnections with them maybe14:36
dsc_arno11: did you run the script?14:36
arno11nope, i forgot14:37
Wizzupit makes a different in pm14:37
Wizzupmaybe I didn't build them yet for daedalus14:37
dsc_arno11: please do, because it removes the faulty entries14:37
arno11dsc_: will do14:37
arno11ty14:37
arno11Wizzup: ok, but i absolutely noticed no pm diff without them btw14:37
arno11brb14:38
arno11dsc_: still same bugs, will reboot14:49
Wizzuparno11: that depends on your use case and whether all the sw you use supports iphbd14:52
arno11Wizzup: ok i see15:04
arno11dsc_: seems ok now, the problem is that existing chats are somehow corrupted15:05
dsc_arno11: i sent you a Tg message, from conversations, via addressbook, and it worked15:05
dsc_yeah15:05
dsc_some are15:05
arno11yep but anyway, that's fine now15:05
arno11dsc_: argh...i can't delete them since it crashes when clicking on them15:06
arno11any idea ? tips ?15:06
dsc_can safely remove ~/.config/conversations/state.json15:07
dsc_then, there still maybe faulty chats, but they then come from rtcom15:08
dsc_(el-v1.db)15:08
arno11yeah so they come from rtcom15:10
arno11i'll check if i have important stuff, otherwise will delete db :P15:11
dsc_yeah sorry, this is an issue since last 2 weeks or so15:13
dsc_but now it works (c)(tm)15:13
dsc_:/15:13
dsc_the good news is that the Telegram integration works better now15:14
dsc_it adopts the correct display name15:15
dsc_it now works via addressbook15:15
dsc_and also less CPU usage15:15
arno11cool15:16
arno11and yeah now display names are ok15:19
arno11tyvm15:19
dsc_arno11: joinchannel also had a redesign15:19
arno11ah ok15:20
dsc_"join chat room" *15:20
arno11online status works now in conversations btw15:21
arno11and now it doesn't open a new chat window when i send a msg from an existing chat, cool :)15:24
arno11will close related open issues15:26
dsc_:)15:29
arno11dsc_: after reboot, existing chats are crashing again.16:21
arno11no issue from addressbook16:21
arno11but it opens a new chat16:22
dsc_arno11: I will try16:23
arno11ok16:24
dsc_arno11: you had a clear database, with only a few Tg chats, right?16:24
arno11yep16:24
dsc_arno11: so with existing chats, you mean Tg chats?16:25
dsc_these are 1:1 chats?16:25
arno11i mean, the new clean tg chats crash after reboot16:25
dsc_and you open them from the overview16:25
arno11yep 1:1 chats16:25
arno11yes from the overview16:25
dsc_i sent you a message just now, I rebooted16:26
dsc_arno11: sent another16:26
dsc_to me16:26
arno11already done16:26
dsc_again16:26
dsc_:D16:26
dsc_arno11: settings -> about shows 0.7.44 ?16:27
arno11yes ofc16:28
dsc_i think it just crashed for me16:29
arno11ok16:29
dsc_but I dont know how to reproduce it16:29
dsc_send a message again?16:29
arno11i think you can't reproduce now16:31
dsc_still no crash16:31
dsc_but I have a debugger attached16:32
dsc_so just waiting a bit16:32
arno11as you are using a 'clean' chat window16:32
arno11it also currently doesn't crash for me16:32
dsc_hmm16:32
arno11it crashes only from an old chat window16:33
arno11so you need to reboot again and click on the previous chat16:33
dsc_ok, will reboot, then click on our chat16:33
arno11ok16:34
dsc_no crash16:36
arno11for me it crashes 100% of time16:37
dsc_gdb traceback? :D16:37
dsc_sudo gdb -p $(pidof conversations-slim)16:37
arno11ok will do, but a bit later, sorry16:37
arno11have to go in a bit16:38
dsc_alright16:38
dsc_still no crash :P ill await the traceback16:45
Jackhiii17:08
JackCan i ask a quick question? how usable is maemo? like i found an n900 for insanely cheap and idk if i should buy it or not :D17:08
siceloit's an old device, and for the 'average' person, it's not going to be a good experence, e.g. you cannot really browse the internet on it.17:19
sicelohowever, it's a really fun device.17:19
Jackthat's not too much of a downside17:19
Jacki mean17:19
sicelomaybe consider a PinePhone (with they keyboard contraption if possible). another gret/perfect option is Motorola Droid 4, but that may be difficult to find17:19
Jacki use my nokia 6650d and E72 religiously lol they are fun AND they have java so i can use discord on them, and they have music and we still have 2G here17:19
Jacki don't suppose maemo has java support though, does it?17:20
Jackif it does then i'm sold lol, i love me a qwerty device17:20
Jackunfortunately the pinephone is WAY more expensive than the n900 i found17:21
sicelois the N900 in good condition?17:23
siceloSIM is working, USB port fully functional? do check those. a too cheap N900 might have those problems17:23
Jackaw man i can't send images, but yeah, it only has a few small scuffs and marks, but otherwise it's nearly pristine, and it costs €49.67 (which is even cheaper than ebay)17:24
JackUhhh i gotta ask, also the guy is kinda funny about the battery, all he said was "idk, it seems good"17:25
siceloUSB can be a big deal breaker ... broken modem might not matter if you don't intend to use 2G/3G17:26
Jacki probably would, soooo i guess i gotta ask about that too17:28
siceloyes, just ask if SIM works and the device can connect to the mobile network17:28
sicelootherwise, N900 is an absolutely fun device and I can't put mine down17:29
Jackare any of the other available (and updated) devices possibly cheaper though? this is literally ALL THE MONEY I HAVE17:29
Jackooh how come? what can you actually do with it lol17:29
sicelowhat does the pinephone cost, used?17:29
Jackthis country does not have any used pinephones sadly :(17:30
Jacki'm surprised i even found ONE n90017:30
sixwheeledbeastUSB or modem could be flaky you wouldn't know for a little while17:32
sicelowhat does Samsung A3 or A5, the 2015 model, cost?17:32
Jackwait i can put maemo on those or something?17:33
Jackalso idk how different the virtual machine build is but the one time i tried it, i didn't get too far with it lol idek what i can do with maemo17:34
sicelowe haven't done the necessary work yet (Samsung)17:34
Jacki did find a galaxy A3 for way cheaper17:36
Jackit's basically half the price17:36
siceloso yes, someone must put in the work to support the device17:43
siceloAnyway it's your money, your needs  ... the N900 is a fine choice17:45
Jacki only have 2 questions, 1. is there any way i can put discord on it? (either modern browser, java support or natively bc supposedly this runs debian) and what else can i do with it besides looking sick as fuck?17:46
Wizzupwe do/did have a discord plugin for conversations17:54
Wizzupthe only annoying that is what every time your IP changed you had to identify yourself again17:55
Jackand what else can i do with the thing? i mean all i've heard is "ooh it's linux you can tinker with it" but with what, exactly?17:57
Jackit's just, i recently bought a different phone hoping i'd be able to mess around with it but there is literally not much i can do with it besides letting it sit on myself looking pretty, and listening to music17:57
Jacki don't mind the IP thing i'd probably exclusively use it on mobile data, but i do need most of the basic features to work, like DM-s / servers and sending images17:59
Jackidk how i can make my own apps for it but i do know how to code and like to learn new stuff so i could even make a new client for it :318:02
dsc_Jack: I can help you with GUI apps18:06
Jackis it difficult?18:06
Jackalso wow i didn't know you can mention people in here lol18:07
Jackdsc_ omg it work18:07
Jacks18:07
dsc_you already made an app?18:07
dsc_that was fast :)18:07
Jacknah i meant the mentioning works lol18:07
Jacki wanna know if it's hard to make stuff for this little guy18:07
dsc_well.........18:07
Jackbecause i do like making apps, i've only made android apps before tho18:07
Jackand a few java midlets lol18:08
Jackhow bad could it be? :318:08
dsc_because it is Linux, you are free to choice any tech stack for your GUI app, java, gtk, qt, whatever18:08
dsc_choose*18:08
dsc_so how hard it is, will depend on what you pick18:08
Jackoh i thought there was like a nokia specific UI thing for it, so it can match with the stock app UI-s18:09
Jacklike how nokia had it's own j2me library18:09
dsc_maemo leste will style your app automatically if you use GTK/Qt18:09
dsc_i dont know about java18:09
Jacki'd probably use GTK18:10
dsc_that's fine, but then you'd have to get help from someone else :D18:11
dsc_(I do the Qt stuff)18:11
Jackoh i know neither, i just saw on the internet that gtk was simpler lol-18:11
dsc_Linux desktop world is divided in 2 (in my opinion), those largely made with GTK, those largely made with Qt18:13
dsc_we use both a lot18:13
dsc_anyway, whatever you pick, someone will help if you have questions18:14
Jackoh wait the n900 has a weird architecture, i don't think i'll be able to find stuff for it18:16
Jackarmhf, whatever that is, never heard of it lol18:16
Jacki guess that's a gentle no then? because it probably doesn't have that good of software support with this architecture does it?18:17
gnarfacearmhf is fully supported, if you only have a regular x86 pc, you can cross-compile or run a armhf install in qemu or a chroot or something like that18:17
Jackoh i thought only arm64 had good support lol18:18
gnarfacewell, i guess that somewhat naively assumes you'd be willing to put linux on your desktop...18:18
Jackgnarface i mean it's not like i'm typing this on a debian 12 laptop teehee18:19
Jacki love linux, but i don't like how finnicky it can be when something doesn't work lol and i'm scared that the stuff i *want* to work won't work18:20
gnarfacelist of supported architectures in debian: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x18:20
Jackoh i know i meant like the apps i wanna download might only have arm64 builds18:21
gnarfaceusually they'll probably have source, i would assume...18:21
gnarfaceso you could in theory build it for anything18:21
gnarfacesome caveats...18:21
Jackgnarfacea as much as i like linux and stuff, i am not very good at the whole "compiling from source" thing i don't even know where i'd get started18:22
gnarfaceyou can probably run it in some VM on windows too if you have a relatively recent version18:22
gnarfacesaver recovery from mistakes that way18:22
Jacki already tried maemo in a VM and that's why i'm asking all these questions, because so far, it wasn't that fun / interesting...18:22
Jacki liked the UI for sure, but i literally didn't know what i could do with it lol18:23
gnarfacepersonally first i think you should just see what you can do with bash and console utils like netcat, ssh and such18:23
Jacki do use those from time to time18:23
JackOH WAIT GOLANG HAS ARMHF SUPPORT18:24
Jackand i use go A LOT18:24
Jacki guess i do kinda want the n900 after all18:24
Jacksicelo how difficult is it to port maemo to an android device btw?18:31
Jacki do have a spare phone and it has a LOT of support, a crapton of custom roms and has the device tree and such up on the internet18:32
Jacky'all know what? i might just get a pinephone lol18:40
Jackhow's the on-screen keyboard for maemo though? i hope it's good18:41
Jacki had a rooted phone and almost managed to run maemo on that but it never worked sadly18:42
dsc_there are some users here using the pinephone, and yeah virtual keyboad works18:43
Jacknvm turns out they don't sell the cheap one in the EU :(18:44
Jacki don't know if the OS is worth this much money to spend on for a device18:44
dsc_you dont have to buy hardware ofc., can always first check out maemo inside the VM18:45
Jackyeah but idek what to do with maemo in the VM version, do i just try to use it or something? but maemo was meant for mobile devices, and the store barely has any apps (if any) for it lol18:46
dsc_oh yeah, but you can just go on safari inside the VM, press some buttons, see if you like it18:46
Jackwhat's the difference between the release without and with "-chimaera" at the end?18:48
dsc_-chimaera was the previous version, currently people are trying to get "daedalus" to stable - If you download the one without the -chimaera suffix, you'll get this "daedalus" - I would suggest getting this one18:51
dsc_here: https://maedevu.maemo.org/images/virtual-machines/20250518/18:52
dsc_additional info: https://leste.maemo.org/Virtual_Machine18:54
arno11dsc_: back21:59
arno11https://paste.debian.net/hidden/d1342ab2/21:59
arno11i tried again from a clean db22:01
arno11as soon as i reboot, no way to open an existing tg chat22:02
arno11i suppose i need other dbgsym's22:03
dsc_thats uhm22:05
dsc_yes no clue, but thanks for traceback :)22:07
dsc_missing some symbols22:08
arno11yes but which ones ?22:08
dsc_arno11: conversations22:12
arno11lol22:14
dsc_hmm22:14
dsc_the traceback goes through QFrame22:14
dsc_but am not using that one IIRC22:14
arno11because of slim perhaps ?22:16
dsc_hmm no unlikely22:17
arno11argh conversations-dbgsym wants to downgrade conversations...22:17
dsc_yeah sorry, I dont think we generate debug symbols22:17
dsc_or a debug package22:17
arno11ok22:17
dsc_anyway, will look tomorrow22:19
dsc_cmake -Bbuild -DCMAKE_BUILD_TYPE=Debug . && make -Cbuild -j2 && ./build/bin/conversations_slim22:19
dsc_but22:20
dsc_maybe we should have our -devel repo do that by default22:20
dsc_will provide debug bins tomorrow!22:21
arno11ok cool22:22
arno11dsc_: hmm, weird, i just notice now that title names are incorrect again.23:07
arno11anyway, let's see tomorrow23:07
dsc_probably a problem with interfacing with abook then23:15
dsc_not sure, bit hard to tell from a distance23:16
arno11yeah23:17
arno11well, need to disconnect, conv makes my device buggy23:20
arno11btw i get [W] [::0] could not find associated active tp account by local_uid "haze/telegram_tdlib/xxxxx23:21
arno11again23:21
dsc_perhaps someone else needs to work on the abook integration, so I can focus on the Qt stuff23:23

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