Closed earl-ducaine closed 6 years ago
Allow garnet to compile without having access to a running X11 server. Techniques used to accomplish this:
1) Rationalize startup to avoid unneeded calling into CLX at compile time.
2) Guard some CLX calls in such a way that they're only called when access to a running X11 server has been validated.
3) On the top level only alow the compilation of X11 serverc dependant objects if a valid X11 server has been found.
Some other changes made:
Deteciton of valid X11 server is through the xlib::getenv call. Hardly, an unproblematic mechanism, but highly portable.
Separate opal into post and pre gem ASDF modules to better allow refactoring of gem startaup.
Large amounts of Misc. code cleanup, including a few instances of unnecessary conditional compiles
Create two gem initialization methods, one being entirely independant of a running X11.
Allow garnet to compile without having access to a running X11 server. Techniques used to accomplish this:
1) Rationalize startup to avoid unneeded calling into CLX at compile time.
2) Guard some CLX calls in such a way that they're only called when access to a running X11 server has been validated.
3) On the top level only alow the compilation of X11 serverc dependant objects if a valid X11 server has been found.
Some other changes made:
Deteciton of valid X11 server is through the xlib::getenv call. Hardly, an unproblematic mechanism, but highly portable.
Separate opal into post and pre gem ASDF modules to better allow refactoring of gem startaup.
Large amounts of Misc. code cleanup, including a few instances of unnecessary conditional compiles
Create two gem initialization methods, one being entirely independant of a running X11.