Skip to content

Preparation for input portal

Simon McVittie requested to merge wip/input-portal-prep into master
  • build: Compile using gcc-4.8 on scout

    scout defaults to gcc 4.6, but that version produces spurious warnings for g_set_object().

  • input-device test: Don't assert we can open devices that appear briefly

    The portal device monitor won't be able to do this, because it loses its record of which object path corresponds to which object as soon as the device is removed.

  • launcher: Move generic D-Bus constants to a common header

  • launcher: Add skeleton PvPortalListener object

    Any portal-like service is going to need some common setup and teardown code, so let's move it into this object.

  • PvPortalListener: Store original environment and working directory

  • PvPortalListener: Take over responsibility for info fd and stdout

    Any service that has a similar protocol for signalling when it is ready to receive requests is going to need something quite similar to this.

  • PvPortalListener: Take responsibility for checking socket arguments

  • PvPortalListener: Take responsibility for actually listening on a socket


/cc @denittis

Merge request reports