(05-24-2020, 11:43 AM)visiblink Wrote:(05-24-2020, 11:12 AM)--- Wrote: "I'm a persistent bastard..." Who controlled their origin?
lol ... it took me a minute to get that one.
Here's the output when I try to build lisgd. Whatever is going on, it's not working. Any ideas?
lisgd build options:
CDFLAGS =
LDFLAGS = -linput
CC = cc
cc -c lisgd.c
lisgd.c: In function 'die':
lisgd.c:40:2: warning: format not a format arguments [-Wformat-security]
40 | fprint(stderr, msg);
| ^~~~~~~
cc -g -o lisgd lisgd.o -linput
mkdir -p /bin
cp -f lisgd /bin
chmod 755 /bin/lisgd
-------------------------------------------------------------------------
Edit: it turns out that lisgd IS building. If I kill lisgd after building it, and then run /bin/lisgd, it runs with the new commands. However, if I reboot, the changes are lost.
So here's the oddity, changes to sxmo-dwm are getting written to the sdcard. They're permanent.
But changes to lisgd appear to be written to RAM only. They don't persist.
Any ideas as to how to write the changes to the card?
Glad that you got sxmo-dwm building. Regarding lisgd - I think it's being installed to the wrong path - you need to do `make install PREFIX=/usr/`.
The original binary is installed to /usr/bin/lisgd so that would take precedence over /bin/lisgd.
Do note if you do a global package update `apk upgrade` and if anything changes in those packages then any changes you make would be overwritten.
Using the APKBUILDs rather than manual builds via:
https://git.sr.ht/~mil/sxmo-alpine/
https://wiki.alpinelinux.org/wiki/Creati...ne_package
is likely the better way to do things - but whatever works for you
Let me know if there's anything you come up with that might be worth putting in the official builds. I wouldn't want to do single finger up/down swipe in lisgd because that would conflict with scrolling in surf / other browsers. But I am generally open to contributions / patches to make the things better out of the box.