README 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. The purpose of eglib is to be an X11-licensed subset of glib that can
  2. be used with Mono when the Mono runtime is explicitly relicensed under
  3. a different license by Novell.
  4. The implementation is done from the public documentation available here:
  5. http://developer.gnome.org/doc/API/2.0/glib/
  6. Currently this is only being built standalone, use:
  7. ./autogen.sh --prefix=/tmp/test
  8. Currently all the definitions go into a single file: glib.h, there are
  9. no separate files, please try to follow the convetions in the source code
  10. * Tests
  11. Please read the README in tests/
  12. * Features
  13. The source code is designed to allow for different operating
  14. system builds of the eglib code.
  15. Files in src that:
  16. * Have a plain name: are cross platform, and should work on
  17. every operating system.
  18. * That end in -unix.c: These files contain Unix specific code.
  19. * That end in -win32.c: These files contain Win32 specific code.
  20. * That end in -posix.c: Will work on both Windows and Unix,
  21. but should not be included for other operating systems.
  22. * Plans: short and long term.
  23. The short term plans for eglib is to allow Mono to optionally
  24. build with it instead of using glib, gmodule and gthread, but
  25. the default build will continue to be done against glib 2.0.
  26. In the long-term we are considering dropping glib as a
  27. dependency, considering that Mono requires a modern Unix
  28. system to run anyways (for its thread support) it would allow
  29. us to fix some of the glib API limitations we have to live
  30. with (explicit thread support for example), rework the API to
  31. use types from stdint.h and we would be able to drop three
  32. external shared libraries.
  33. This would reduce memory usage for the handful of routines
  34. that we use from glib, dynamic linker overhead for those and
  35. would allow us to tune the implementation to Mono's needs.