Do i have to set the env vars to be able to launch gtk3 apps?
If i do the following:
XDG_RUNTIME_DIR=/tmp LIBRARY_PATH=/boot/home/config/non-packaged/lib:$LIBRARY_PATH PATH=/boot/home/config/non-packaged/bin:$PATH gtk3-demo-application
It woks, but if i run it without that i get:
(<unknown>:6210): Gtk-WARNING **: 16:27:58.820: cannot open display:
Yes. GTK rejects working if XDG_RUNTIME_DIR is not set. It may be better to patch so it will be not required because Haiku is not XDG compatible and are not supposed to define XDG env variables.
The way I build is: meson build --prefix=/boot/home/config/non-packaged/ --includedir=/boot/home/config/non-packaged/develop/headers --libdir=/boot/home/config/non-packaged/lib --datadir=/boot/home/config/non-packaged/data/
Only had to use XDG_RUNTIME_DIR=/tmp to be able to launch the demo (or Geany later)
Yes, that’s what i did too
I’m gonna try to set XDG_RUNTIME_DIR var in the user-environment script and see if that would work as a workaround for now.
BTY why not submit your recipes to haikuports as “unsafe/disabled” so that others can use them, you’ve done all the effort to write them, you might as well submit them.
I found a reason of Webkit GTK IPC problems. The reason is missing Haiku support of SOCK_DGRAM socket type for UNIX Domain Sockets (AF_LOCAL). I added some workaround that allowed to run more web pages.
This message is posted from Webkit GTK with Wayland backend.
It is currently most feature-complete web browser on Haiku. @3dEyes managed to run Youtube videos in high resolution, various music streaming services, Google Docs. It will be not so hard to add WebGL and screen capture support for web conferences.
I’ve already built them successfully, didn’t try on 32 bit though.
Bluefish turned out to be a nice IDE, last time i tried it years ago it was buggy and felt unfinished.