1. 22 Oct, 2021 2 commits
  2. 20 Oct, 2021 2 commits
  3. 18 Oct, 2021 4 commits
  4. 09 Oct, 2021 4 commits
  5. 05 Oct, 2021 1 commit
  6. 28 Sep, 2021 1 commit
  7. 22 Sep, 2021 3 commits
  8. 21 Sep, 2021 3 commits
  9. 19 Sep, 2021 3 commits
  10. 16 Sep, 2021 1 commit
  11. 15 Sep, 2021 1 commit
  12. 10 Sep, 2021 1 commit
  13. 09 Sep, 2021 1 commit
  14. 05 Sep, 2021 5 commits
  15. 03 Sep, 2021 2 commits
  16. 02 Sep, 2021 5 commits
  17. 01 Sep, 2021 1 commit
    • Simon McVittie's avatar
      build: Target a specific GLib API version · 0ebef223
      Simon McVittie authored and Dominique Dumont's avatar Dominique Dumont committed
      Since GLib 2.32 (2012), setting GLIB_VERSION_MIN_REQUIRED selects the
      minimum required version of GLib for this project. Code that was
      deprecated after that version will not cause deprecation warnings, and
      where header files have changed their compile-time behaviour over time,
      the behaviour that was seen in the selected version will be used where
      possible. pan officially only requires GLib 2.17 if D-Bus is not enabled,
      but 2.26 is required for D-Bus and is also the oldest version for which
      version macros are provided, so behave as though that is the minimum.
      
      In particular, this disables new C++ behaviour introduced in GLib 2.68,
      which caused this project to fail to build.
      
      Similarly, setting GLIB_VERSION_MAX_ALLOWED causes GLib to emit warnings
      if a function introduced after the selected version is used, even inside
      a GLIB_CHECK_VERSION guard. The newest GLIB_CHECK_VERSION in pan seems
      to be for GLib 2.36 (2013), so use that.
      
      Resolves: #128
      
      Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@debian.org>
      0ebef223