gtk fails to build if mir backend enabled with x11 backend disabled
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | gtk+3.0 (Ubuntu) |
Medium
|
Lars Karlitski | ||
Bug Description
gtk fails to build if mir backend enabled with x11 backend disabled.
./configure --enable-
...
gtkdbusgenerate
# include <gio/gunixfdlist.h>
Related branches
- Iain Lane: Needs Information on 2015-05-07
-
Diff: 52 lines (+32/-0)3 files modifieddebian/changelog (+7/-0)
debian/patches/git_configure-specify-that-mir-backend-needs-gio-unix.patch (+24/-0)
debian/patches/series (+1/-0)
| Daniel van Vugt (vanvugt) wrote : | #1 |
| 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 : | #3 |
Thanks! Pushed the patch to upstream master and put up a MR to backport it to our package.
| Lars Karlitski (larsu) wrote : | #4 |
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 |


Here's a patch to fix it. We can now build for Mir without X11.
Except other peoples' libraries still link to X :P