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

Bug #1444174 reported by Daniel van Vugt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)
Fix Released
Medium
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

Revision history for this message
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)
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

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
Revision history for this message
Lars Karlitski (larsu) wrote :

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

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.