Skip to content

build: Use libadwaita 1.6.beta for accent colors

Jeremy Bicha requested to merge wip/adw16 into main

Trying to compile xdg-desktop-portal-gnome 47.beta with libadwaita 1.5.3 results in errors like:

../src/settings.c: In function ‘get_accent_color’:
../src/settings.c:150:3: error: unknown type name ‘AdwAccentColor’
  150 |   AdwAccentColor color;
      |   ^~~~~~~~~~~~~~
../src/settings.c:156:15: error: ‘ADW_ACCENT_COLOR_BLUE’ undeclared (first use in this function); did you mean ‘G_DESKTOP_ACCENT_COLOR_BLUE’?
  156 |       color = ADW_ACCENT_COLOR_BLUE;
      |               ^~~~~~~~~~~~~~~~~~~~~
      |               G_DESKTOP_ACCENT_COLOR_BLUE

I think we only need libadwaita 1.6.alpha, but since there is a subproject wrap file, I figured we might as well use 1.6.beta instead. (I don't know whether it even makes sense to have a libadwaita subproject since most of GNOME 47 Beta needs a build of libadwaita 1.6).

Edited by Jeremy Bicha

Merge request reports

Loading