platform-api fails build against libmirserver12

Bug #1266674 reported by Timo Jyrinki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
platform-api
Fix Released
Critical
Gerry Boland
platform-api (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Mir 0.1.3 will bring libmirserver12, and building platform-api seems to fail:

https://launchpadlibrarian.net/161568360/buildlog_ubuntu-trusty-amd64.platform-api_0.19%2B14.04.20140104-0ubuntu1_FAILEDTOBUILD.txt.gz

---
src/ubuntu/mirserver/window_properties_mirserver_priv.h:25:39: fatal error: mir/geometry/pixel_format.h: No such file or directory
---

Related branches

description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sorry about that. Mir has always had two (redundant) pixel format definitions. Starting in v0.1.3 we refined that to one. So you need to change:
    mir::geometry::PixelFormat
to:
    MirPixelFormat
which you can get from any one of:
   #include "mir_toolkit/common.h"
   #include "mir_toolkit/client_types.h"
   #include "mir_toolkit/mir_client_library.h"

(LP: #1110115)

Gerry Boland (gerboland)
Changed in platform-api:
assignee: nobody → Gerry Boland (gerboland)
Gerry Boland (gerboland)
Changed in platform-api:
status: New → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:platform-api at revision 178, scheduled for release in platform-api, milestone ubuntu-13.05

Changed in platform-api:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package platform-api - 0.19+14.04.20140108.1-0ubuntu1

---------------
platform-api (0.19+14.04.20140108.1-0ubuntu1) trusty; urgency=low

  [ Alexandros Frantzis ]
  * mirclient: Initialize MirSurfaceParameters::output_id field.

  [ Martin Pitt ]
  * Fix all compiler warnings.

  [ Timo Jyrinki ]
  * bump debian version dependency for mir to 0.1.3 to force rebuild

  [ Gerry Boland ]
  * Fix FTBFS with Mir12 change - mir::geometry::PixelFormat was
    removed, using MirPixelFormat instead. (LP: #1266674)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 179
 -- Ubuntu daily release <email address hidden> Wed, 08 Jan 2014 06:17:14 +0000

Changed in platform-api (Ubuntu):
status: New → Fix Released
Gerry Boland (gerboland)
Changed in platform-api:
status: Fix Committed → Fix Released
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.