Mir

mir:release/1.8

Last commit made on 2023-11-04
Get this branch:
git clone -b release/1.8 https://git.launchpad.net/mir

Branch merges

Branch information

Name:
release/1.8
Repository:
lp:mir

Recent commits

4da9233... by Alan Griffiths

Set the logind session type

c651528... by Luca Weiss

Regenerate logind-session.* files

Based on latest xml with gdbus-codegen 2.74.5

55e287f... by Alan Griffiths

Update logind-session.xml from latest systemd

49ec6a1... by Luca Weiss

Fix gtest pkg-config detection

For some reason now there's some issue when passing the version string
to pkg_check_modules with spaces inbetween which breaks setting a bunch
of used variables.

  pkg_check_modules(GTEST "gtest >= 1.8.0")

  -- Checking for module 'gtest >= 1.8.0'
  -- Found gtest , version

vs.

  pkg_check_modules(GTEST "gtest>=1.8.0")

  -- Checking for module 'gtest>=1.8.0'
  -- Found gtest, version 1.14.0

c9882e5... by Luca Weiss

Mark operator function as const to fix with C++17

Doesn't appear to be a problem with older C++ standards.

See https://stackoverflow.com/a/55450859

f989f53... by Luca Weiss

Build with C++17 to fix protobuf error

Appears some weird combination of compiler flags from protobuf and
abseil-cpp makes compile fail when using c++ standard lower than c++17

In file included from /usr/include/google/protobuf/stubs/common.h:44,
                 from /home/pmos/build/src/mir-1.8.2/src/protobuf/google_protobuf_guard.cpp:19:
/usr/include/absl/strings/string_view.h:52:26: error: 'string_view' in namespace 'std' does not name a type
   52 | using string_view = std::string_view;
      | ^~~~~~~~~~~
/usr/include/absl/strings/string_view.h:52:21: note: 'std::string_view' is only available from C++17 onwards
   52 | using string_view = std::string_view;
      | ^~~

48e1f01... by Luca Weiss

Add missing headers

With gcc 13 we need to include more headers so that it still compiles.

ff54973... by "bors[bot]" <26634292+bors[bot]@users.noreply.github.com>

Merge #2693

2693: Fix compilation failure with GCC-12 (missing headers) r=RAOF a=gladk

Adding missing headers, needed for compilation with GCC-12.

Co-authored-by: Anton Gladky <email address hidden>

98a8a63... by Anton Gladky

Fix compilation failure with GCC-12 (missing headers)

7ccc9d4... by Luca Weiss

Fix Alpine/edge (by not using internal GTEST macros for trivial stuff) (#2363)

(cherry picked from commit 08671a33714b6dc196d093e962a473730bd8bb5a)

Co-authored-by: Alan Griffiths <email address hidden>