1. 28 Mar, 2018 1 commit
  2. 04 Jan, 2018 2 commits
  3. 13 Jul, 2017 3 commits
    • Tim-Philipp Müller's avatar
      meson: add -fvisibility=hidden explicitly to selected targets · 2f29ee17
      Tim-Philipp Müller authored
      Don't use it project-wide for building everything. Otherwise
      symbols for shared modules won't be exposed, e.g. in the
      resourceplugin used by the gio resource unit test.
      2f29ee17
    • Nirbheek Chauhan's avatar
      meson: Improve MSVC and MinGW support and fix dependencies everywhere · fe2a9887
      Nirbheek Chauhan authored
      Disable gio tests on Windows, fix .gitignore to not ignore
      config.h.meson, and add more things to it.
      
      Rename the library file naming and versioning to match what Autotools
      outputs, e.g., libglib-2.0.so.0.5000.2 on Linux, libglib-2.0-0.dll  and
      glib-2.0-0.dll on Windows with MSVC.
      
      Several more tiny fixes, more executables built and installed, install
      pkg-config and m4 files, fix building of gobject tests.
      
      Changes to gdbus-codegen to support out-of-tree builds without
      environment variables set (which you can't in Meson). We now add the
      build directory to the Python module search path.
      fe2a9887
    • Tim-Philipp Müller's avatar
      meson: Fix glib, add gobject, gio, gthread, gmodule, etc · 21395797
      Tim-Philipp Müller authored
      Several small fixes to the build files.
      
      Lots of tests have also been added, and glib tests pass now.
      21395797
  4. 10 Jul, 2017 1 commit
  5. 24 May, 2017 1 commit
  6. 15 Feb, 2014 1 commit
    • Allison Karlitskaya's avatar
      win32: fixup lib.exe invocation · 7cbff954
      Allison Karlitskaya authored
      We have a configure.ac check for lib.exe that attempts to enable
      creation of .lib files for our 5 public libraries.  That has been broken
      for a long time for two reasons:
      
       1) the Makefiles hardcode 'lib' instead of 'lib.exe'
      
       2) we dropped generation of .def files quite some time ago (except for
          in gthread where we have the two-symbol file under version control)
      
      Add new rules for creating .def files from dumpbin.exe (which you should
      have if you have lib.exe) and fix the .lib rules to use lib.exe.
      
      Add a bit of $(AM_V_GEN) all around, as well.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=722033
      7cbff954
  7. 31 Jan, 2014 1 commit
  8. 01 Jun, 2013 1 commit
    • Allison Karlitskaya's avatar
      Rework the build system for a new tests approach · f9eb9eed
      Allison Karlitskaya authored
      Perform a substantial cleanup of the build system with respect to
      building and installing testcases.
      
      First, Makefile.decl has been renamed glib.mk and substantially
      expanded.  We intend to add more stuff here in the future, like canned
      rules for mkenums, marshallers, resources, etc.
      
      By default, tests are no longer compiled as part of 'make'.  They will
      be built when 'make check' is run.  The old behaviour can be obtained
      with --enable-always-build-tests.
      
      --disable-modular-tests is gone (because tests are no longer built by
      default).  There is no longer any way to cause 'make check' to be a
      no-op, but that's not very useful anyway.
      
      A new glibtests.m4 file is introduced.  Along with glib.mk, this
      provides for consistent handling of --enable-installed-tests and
      --enable-always-build-tests (mentioned above).
      
      Port our various test-installing Makefiles to the new framework.
      
      This patch substantially improves the situation in the toplevel tests/
      directory.  Things are now somewhat under control there.  There were
      some tests being built that weren't even being run and we run those now.
      The long-running GObject performance tests in this directory have been
      removed from 'make check' because they take too long.
      
      As an experiment, 'make check' now runs the testcases on win32 builds,
      by default.  We can't run them under gtester (since it uses a pipe to
      communicate with the subprocess) so just toss them in TESTS.  Most of
      them are passing on win32.
      
      Things are not quite done here, but this patch is already a substantial
      improvement.  More to come.
      f9eb9eed
  9. 27 Feb, 2013 1 commit
  10. 15 Jan, 2013 1 commit
    • Allison Karlitskaya's avatar
      visibility: Use a separate CFLAGS variable · 5d42fdd0
      Allison Karlitskaya authored
      We only want to control the default visibility for our five main
      installable libraries: libglib, libgthread, libgmodule, libgobject,
      libgio.  We should therefore only set -fvisibility=hidden when building
      those.
      
      Use a separate substitution variable for this purpose.
      
      Using CFLAGS directly leads to some modules built in testcases not
      exporting their symbols (and then the tests fail).  It also affects the
      fam file monitoring module.
      
      Colin had originally done it this way in his visibility patch series but
      I failed to understand why so I didn't copy it.  Now I do.
      
      Also: revert changes made to two testcases in an attempt to work around
      this issue.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=691756
      5d42fdd0
  11. 14 Jan, 2013 1 commit
    • Allison Karlitskaya's avatar
      gthread-impl.c: add missing #include "config.h" · f8756694
      Allison Karlitskaya authored
      One of the features of our new symbol exporting regime is that it forces
      config.h to be included at the top of every .c file.
      
      This was missed in gthread-impl.c.
      
      The only reason this wasn't noticed is because nothing in this file is
      being used anymore.  We need those symbols to continue to be exported
      for reasons of ABI backwards compatibility, however.
      f8756694
  12. 18 Oct, 2011 2 commits
  13. 17 Oct, 2011 1 commit
    • Allison Karlitskaya's avatar
      gthread/: fix up declarations · a6d9cf33
      Allison Karlitskaya authored
      g_thread_init() is now a deprecated API, so drop G_DISABLE_DEPRECATED
      from the CFLAGS for gthread/.  Add the missing declaration for
      g_thread_init_with_errorcheck_mutexes() back to deprecated/gthread.h.
      a6d9cf33
  14. 16 Oct, 2011 2 commits
  15. 13 Oct, 2011 2 commits
  16. 12 Oct, 2011 1 commit
  17. 06 Oct, 2011 1 commit
  18. 04 Oct, 2011 1 commit
  19. 03 Oct, 2011 1 commit
  20. 21 Sep, 2011 2 commits
  21. 09 Sep, 2011 13 commits