Skip to content
Snippets Groups Projects
  1. May 28, 2024
    • Gaël Bonithon's avatar
      ci: Make build stage fail on any compiler warning · dee6ec44
      Gaël Bonithon authored
      Including on glib deprecation warnings, which are probably the only ones
      we care about.
      
      This assumes that XDT_FEATURE_DEBUG is used on all projects where
      build_project.yml is included, which is currently the case.
      
      This only applies to the build stage, as other distcheck-specific
      warnings may appear that we don't necessarily want to turn into errors,
      especially on vala projects. Also, this leaves open the possibility of
      applying another debug level to distcheck, and thus compiling other code
      paths.
      dee6ec44
  2. May 27, 2024
  3. Apr 27, 2024
  4. Apr 26, 2024
  5. Apr 07, 2024
  6. Feb 22, 2024
  7. Nov 01, 2023
  8. Oct 31, 2023
  9. Sep 28, 2023
  10. Jun 02, 2023
  11. Apr 20, 2023
  12. Apr 12, 2023
  13. Apr 10, 2023
  14. Mar 05, 2023
  15. Mar 04, 2023
  16. Feb 23, 2023
  17. Feb 22, 2023
  18. Feb 17, 2023
  19. Feb 08, 2023
  20. Jan 03, 2023
  21. Dec 18, 2022
  22. Dec 15, 2022
  23. Dec 05, 2022
  24. Dec 01, 2022
  25. Nov 17, 2022
  26. Nov 14, 2022
  27. Nov 12, 2022
  28. Oct 29, 2022
  29. Sep 29, 2022
    • Jan Ziak's avatar
      Warn about GLib functions newer than the checked GLib version · e17223e0
      Jan Ziak authored and Romain Bouvier's avatar Romain Bouvier committed
      This patch enables GLib deprecation warnings in all XFCE apps and libraries
      containing function calls such as XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.56.0])
      in their configure.ac.in files in the following way:
      
      AC_DEFINE(GLIB_VERSION_MAX_ALLOWED, GLIB_VERSION_2_56, Prevent post 2_56 APIs)
      AC_DEFINE(GLIB_VERSION_MIN_REQUIRED, GLIB_VERSION_2_56, Ignore post 2_56 APIs)
      
      The 3rd argument passed to XDT_CHECK_PACKAGE([GLIB], ...) selects the
      GLib API version. So XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.44.0])
      would add:
      
      AC_DEFINE(GLIB_VERSION_MAX_ALLOWED, GLIB_VERSION_2_44, Prevent post 2_44 APIs)
      AC_DEFINE(GLIB_VERSION_MIN_REQUIRED, GLIB_VERSION_2_44, Ignore post 2_44 APIs)
      
      The enabled warnings can be overridden by the app or library by using
      the two AC_DEFINEs after calling XDT_CHECK_PACKAGE([GLIB], ...).
      
      Something like XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.45.8]) will make
      the XFCE app or library uncompilable because 2.45 isn't a stable GLib release.
      
      See also: apps/xfce4-notifyd#34
      
      
      
      Signed-off-by: default avatarJan Ziak <0xe2.0x9a.0x9b@xfce.org>
      e17223e0
  30. Sep 14, 2022
Loading