gtk fails to build if mir backend enabled with x11 backend disabled

Bug #1444174 reported by Daniel van Vugt on 2015-04-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)
Lars Karlitski

Bug Description

gtk fails to build if mir backend enabled with x11 backend disabled.

./configure --enable-x11-backend=no --enable-mir-backend=yes


gtkdbusgenerated.c:15:31: fatal error: gio/gunixfdlist.h: No such file or directory
 # include <gio/gunixfdlist.h>

Related branches

Daniel van Vugt (vanvugt) wrote :

Here's a patch to fix it. We can now build for Mir without X11.

Except other peoples' libraries still link to X :P

description: updated
Changed in gtk+3.0 (Ubuntu):
status: New → In Progress
assignee: nobody → Daniel van Vugt (vanvugt)

The attachment "fix-1444174.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Lars Karlitski (larsu) wrote :

Thanks! Pushed the patch to upstream master and put up a MR to backport it to our package.

Lars Karlitski (larsu) wrote :

Note that you still need to disable libcanberra in order for this to work. It's only used in examples, but enabled by default.

Changed in gtk+3.0 (Ubuntu):
assignee: Daniel van Vugt (vanvugt) → Lars Uebernickel (larsu)
tags: added: snappyrdp
tags: added: mir
Changed in gtk+3.0 (Ubuntu):
status: In Progress → Fix Released
Changed in gtk+3.0 (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers