libera/#maemo-leste/ Saturday, 2021-11-06

mighty17[m]tmlind: regarding https://github.com/tmlind/wlroots/commit/04491889240bbadb693aa37036dc55835118b2cc i tried patching it myself for wlroots0.12 (coz phosh) https://github.com/MightyM17/wlroots/commit/bb54a3f01ee222bcd4425a767e46db83e07826ee but now everything fails xD https://paste.debian.net/1218400/ any ideas?06:52
mighty17[m]nvm fixed it :D07:30
tmlindmighty17[m]: ok08:06
uvosparazyd: Wizzup: can i have a upstream forks repo for gnome-contacts?10:49
Wizzuphi, fine by me, not sure what parazyd thinks10:50
parazydYeah, sure10:50
uvosbtw can you spawn the hildon desktop wating for applcitaion to load animation11:05
uvos(ie the preview/black rectangle)11:05
lelparazyd created a repository: https://github.com/maemo-leste-upstream-forks/gnome-contacts11:09
parazyduvos: Added you11:09
uvosgreat thanks11:09
parazydlmk when you need to actually build it11:11
Wizzupwhat are we forking it for btw11:11
uvosWizzup: backported this https://gitlab.gnome.org/GNOME/gnome-contacts/-/merge_requests/140 to the version that works on beowulf11:12
uvosand im experiamenting with the stack in general11:12
uvossince it supports telephathy for calls and messages11:13
uvosand newer versions have a fully mobile ui11:13
uvossadly getting any newer version to run on beowulf looks like a major pain11:13
uvosanyhow with the patch above it works quite well with sphone as an interem solution until abook is ready11:14
Wizzupok, I think I have a launcher fix11:36
Wizzuplet me test it a bit more11:36
Wizzupuvos: do you know what exactly h-d launches  for ncmpcpp or htop?11:45
WizzupI thought it would be 'x-terminal-emulator /usr/bin/ncmpcpp' or something11:45
uvosWizzup: huh?11:48
uvosits you code11:48
uvoshttps://github.com/maemo-leste/hildon-desktop/blob/0251e76c538d7d4c3b7c0f95d5f3ff60537afc24/src/launcher/hd-launcher-app.c#L25311:48
uvos*your11:48
uvosit launches x-terminal-emulator $WHATEVER_IS_EXEC_IN_.DESKTOP11:48
uvosunless you have $TERMINAL set11:49
WizzupI know it's my code, but I don't understand my code now :)11:49
uvos:D11:49
Wizzupoh it's a different part of launcher for that11:51
Wizzup(I think)11:51
Wizzupas in, I have x-terminal-emulator $(which ncmpcpp) working just fine11:51
Wizzupbut it doesn't work yet from the h-d launcher11:51
Wizzupso I got confused11:51
uvosWizzup: the problem is its an absolut path no?11:58
uvossicne it launches /usr/bin/x-terminal-emulator /usr/bin/ncmpcpp11:59
Wizzupyeah, I just realised that as well with strace11:59
uvosterm = g_find_program_in_path(g_path_get_basename("x-terminal-emulator"));11:59
uvosbtw not sure what is the point of g_path_get_basename("x-terminal-emulator") mr wizzup :P12:00
Wizzupgood point12:01
Wizzupfixing the other bug now12:03
Wizzupthis C style is horrible12:03
Wizzup:D12:03
uvosi dislike the syle used by the gtk2 bits of hildon too12:06
uvosand its usage is also totaly inconsistant12:06
Wizzupuvos: care to test https://github.com/maemo-leste/maemo-launcher/tree/symlink-support ?12:07
Wizzupyou need to change the default terminal emulator to not be osso-xterm.launch but rather osso-xterm though12:08
Wizzupyou can do that like this:12:11
Wizzup(as root)12:11
Wizzupupdate-alternatives \ --remove x-terminal-emulator \ /usr/bin/osso-xterm.launch12:12
Wizzup# Install the new alternative.12:12
Wizzupupdate-alternatives \ --install /usr/bin/x-terminal-emulator x-terminal-emulator \ /usr/bin/osso-xterm 10012:12
WizzupI'll add a max resolve limit for links as well12:12
Wizzup(per dsc)12:12
uvossure sec12:12
dsc_:p12:14
Wizzupforce pushed fix12:14
Wizzuplet me also push osso-xterm fix12:14
Wizzuphttps://github.com/maemo-leste/osso-xterm/tree/alternatives12:15
Wizzupthis should make it all work12:16
* Wizzup wondering if he needs PATH_MAX + 112:23
uvoshmm12:23
uvosbuilding and installing symlink-support branch totaly broke my system12:23
Wizzupheh...12:24
Wizzupwhat broke?12:24
uvosmameo launcher12:24
uvos:P12:24
Wizzuphow to reproduce?12:24
Wizzupdroid, vm?12:24
WizzupI can launch basically anything just fine12:25
Wizzupdid you reboot or something, and did that cause trouble?12:25
uvosi build it installed it and rebooted12:25
Wizzupok, let me reboot then I guess12:25
uvosnothing launches12:25
WizzupI really need to get lunch soon though ;)12:26
Wizzupuvos: ok yeah I see ...12:26
uvosbtw maybe we should not have launcher start hildon home or status-menu12:27
uvossince those are kind of essential and it creates a single point of failuer and the speed at which these launch is not very important....12:28
Wizzupok I think I see the problem12:29
Wizzupuvos: free free to take it up with fmg when he's back12:29
WizzupI assume you managed to revert for now12:30
uvosyeah12:30
uvosxterm works :P12:30
Wizzupyeah I see the problem12:32
Wizzupthe problem is most are linked to /usr/bin/maemo-invoker12:32
Wizzupnot maemo-invoker12:32
WizzupI need to add a basename check12:32
Wizzupwow basename(3) is truly horrendous in usage haha12:36
Wizzupit /might/ point to statically allocated memory and it /might/ modify the string in place12:36
uvosmaemo-launcher isent a glib applicaiton?12:37
Wizzuplet me check12:37
Wizzupit does also use glib12:37
WizzupI suppose I could use g_path_get_basename12:38
Wizzupif that is what you mean12:38
uvoshistoricly you have been extreamly happy calling this function :P12:38
Wizzuphehe12:38
WizzupI force pushed a fix12:39
WizzupI rebooted my vm and it works12:39
WizzupI need to go and feed myself first now :)12:39
lelIMbackK edited a repository: https://github.com/maemo-leste-upstream-forks/gnome-contacts13:14
uvosparazyd: can i have permission to build gnome-contacts?13:15
uvosonce you do pressing the contacts button in sphone will open gnome-contacts13:18
uvosor whatever you have configured in sphone.ini13:18
uvosand clicking a contact for a call or sms will bring up sphones dialer or sms-new13:18
uvosfor gnome-contacts to look ok you will also need https://github.com/maemo-leste/leste-config/pull/26 and https://github.com/maemo-leste/libmatchbox2/pull/813:20
parazyduvos: Done14:09
_uvos_parazyd: please kick it, i wont have the opertunity for a while14:50
parazydok14:58
lelMerlijnWajer closed an issue: https://github.com/maemo-leste/bugtracker/issues/484 (maemo-launcher: support resolving symlinks)17:44
Wizzupuvos: launching is fixed18:46
Wizzupuvos: wrt charge mode if it works OK on n900/pinephone then I suggest we just add it18:47
Wizzupit seems to work for me18:47
Wizzupuvos: disregard something might still be broken?18:48
Wizzupugh18:49
Wizzupwtf18:49
sicelowhat's charge mode, in layman's terms?18:50
Wizzupsomething that runs before h-d and anything else and is just used ot charge battery enough18:51
Wizzupa bit like the fremantle mode where it pretends to be off18:51
Wizzup(I forget the name)18:52
sicelookay18:52
Wizzuphm..18:54
Wizzupsicelo: actdead was the name18:56
Wizzupuvos: yeah don't upgrade atm :)18:57
Wizzupyeah ok readlink doesn't actually null terminate the string - whoops19:07
Wizzupgotta love C :-)19:08
* Wizzup can read messages per contact from rtcom23:43

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