1. 30 Jan, 2019 1 commit
    • Seungha Yang's avatar
      meson: Add support orc fallback · 57aba895
      Seungha Yang authored
      Allow fallback to orc subproject if any.
      Additionally 'dependencies' keyword is removed from find_library,
      because it's invalid keyword for find_library.
      57aba895
  2. 17 Jan, 2019 1 commit
  3. 18 Dec, 2018 2 commits
  4. 08 Oct, 2018 1 commit
  5. 24 Sep, 2018 1 commit
    • Tim-Philipp Müller's avatar
      libs: fix API export/import and 'inconsistent linkage' on MSVC · dc29bc4e
      Tim-Philipp Müller authored
      For each lib we build export its own API in headers when we're
      building it, otherwise import the API from the headers.
      
      This fixes linker warnings on Windows when building with MSVC.
      
      The problem was that we had defined all GST_*_API decorators
      unconditionally to GST_EXPORT. This was intentional and only
      supposed to be temporary, but caused linker warnings because
      we tell the linker that we want to export all symbols even
      those from externall DLLs, and when the linker notices that
      they were in external DLLS and not present locally it warns.
      
      What we need to do when building each library is: export
      the library's own symbols and import all other symbols. To
      this end we define e.g. BUILDING_GST_FOO and then we define
      the GST_FOO_API decorator either to export or to import
      symbols depending on whether BUILDING_GST_FOO is set or not.
      That way external users of each library API automatically
      get the import.
      
      While we're at it, add new GST_API_EXPORT in config.h and use
      that for GST_*_API decorators instead of GST_EXPORT.
      
      The right export define depends on the toolchain and whether
      we're using -fvisibility=hidden or not, so it's better to set it
      to the right thing directly than hard-coding a compiler whitelist
      in the public header.
      
      We put the export define into config.h instead of passing it via the
      command line to the compiler because it might contain spaces and brackets
      and in the autotools scenario we'd have to pass that through multiple
      layers of plumbing and Makefile/shell escaping and we're just not going
      to be *that* lucky.
      
      The export define is only used if we're compiling our lib, not by external
      users of the lib headers, so it's not a problem to put it into config.h
      
      Also, this means all .c files of libs need to include config.h
      to get the export marker defined, so fix up a few that didn't
      include config.h.
      
      This commit depends on a common submodule commit that makes gst-glib-gen.mak
      add an #include "config.h" to generated enum/marshal .c files for the
      autotools build.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=797185
      dc29bc4e
  6. 21 Sep, 2018 1 commit
  7. 19 Sep, 2018 1 commit
  8. 31 Aug, 2018 1 commit
  9. 16 Aug, 2018 1 commit
  10. 12 Aug, 2018 1 commit
  11. 11 Aug, 2018 1 commit
  12. 03 Aug, 2018 1 commit
  13. 31 Jul, 2018 1 commit
  14. 27 Jul, 2018 1 commit
  15. 21 May, 2018 2 commits
  16. 20 May, 2018 2 commits
  17. 05 May, 2018 1 commit
  18. 25 Apr, 2018 2 commits
  19. 18 Apr, 2018 1 commit
  20. 22 Mar, 2018 1 commit
  21. 21 Mar, 2018 1 commit
  22. 20 Mar, 2018 1 commit
  23. 19 Mar, 2018 1 commit
  24. 13 Mar, 2018 1 commit
  25. 03 Mar, 2018 1 commit
  26. 01 Mar, 2018 1 commit
  27. 15 Feb, 2018 2 commits
  28. 08 Feb, 2018 1 commit
  29. 30 Jan, 2018 2 commits
  30. 26 Dec, 2017 1 commit
  31. 05 Oct, 2017 1 commit
  32. 10 Aug, 2017 1 commit
  33. 15 Jul, 2017 1 commit
  34. 07 Jul, 2017 1 commit