When using glfw via mono/tao you need a glfw.so, but there is no dynamic library build for x11 at all. This patch adds a target in the Makefile.in to build it. Furthermore glfw apps don't start on xfree > 4.3 due a bug in glfw. There is a bad window error message. I found a quick hack on their mailing list, but although it resolves the problem the patch didn't go into the latest version. The second patch contains the quick hack. Reproducible: Always Steps to Reproduce:
Created attachment 69380 [details, diff] dynamic library patch
Created attachment 69381 [details, diff] removes some lines to prevent Bad Window error
Created attachment 69382 [details, diff] patch to the ebuild
Created attachment 69383 [details] the complete ebuild
Have these patches been sent upstream?
I think both are known, but not included 'till now: http://sourceforge.net/forum/message.php?msg_id=3174010 http://sourceforge.net/tracker/index.php?func=detail&aid=1170806&group_id=72569&atid=534938
Created attachment 69390 [details, diff] new dynamic library patch (with -fPIC) add -fPIC compile option and disable assembler usage in x11_time.c
Created attachment 98796 [details] Revised version of "the complete ebuild" Updated ebuild for shared library to match most recent glfw ebuild in portage. Removed line that applies the "Bad Window error" fix because the problem doesn't seem to affect modular x. It's been a long time - can these changes be added to portage or is there a reason they haven't been.
When I build it, I get: QA Notice: the following shared libraries lack a SONAME /var/tmp/portage/glfw-2.5.0/image/usr/lib/libglfw.so
This patch fixed problems with compiling Io that were really starting to tic me off... Is there any reason why it's not in Portage yet?
yeah, fix what I mentioned in comment #9
Created attachment 109406 [details] glfw-2.5.0.ebuild Please, next time, attach as text/plain
Missing soname fixed (hopefully) and new ebuild is in portage. Thanks