Mir

Merge lp:~raof/mir/reinstate-old-pc-file into lp:mir/0.17

Proposed by Chris Halse Rogers
Status: Merged
Merged at revision: 3010
Proposed branch: lp:~raof/mir/reinstate-old-pc-file
Merge into: lp:mir/0.17
Diff against target: 59 lines (+19/-2)
4 files modified
debian/mir-client-platform-mesa-dev.install (+1/-0)
src/platforms/mesa/CMakeLists.txt (+10/-1)
src/platforms/mesa/mir-client-platform-mesa-dev.pc.in (+1/-1)
src/platforms/mesa/mir-client-platform-mesa.pc.in (+7/-0)
To merge this branch: bzr merge lp:~raof/mir/reinstate-old-pc-file
Reviewer Review Type Date Requested Status
Daniel van Vugt Approve
Kevin DuBois (community) Approve
Alan Griffiths Abstain
Review via email: mp+275487@code.launchpad.net

Commit message

Un-rename mir-client-platform-mesa-dev.

This reverts the merge in r2965; this landed post-feature-freeze and results in Mesa (among others) being unbuildable.

This rename still applies on trunk; mesa, xserver and others need updating for Xenial.

Fixes: https://bugs.launchpad.net/ubuntu/+source/mir/+bug/1509005

To post a comment you must log in.
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Unfortunately we now have projects in the wild that expect mir-client-platform-mesa.pc

So if you change anything then both files need to exist side-by-side.

review: Needs Fixing
Revision history for this message
Chris Halse Rogers (raof) wrote :

What projects in the wild expect mir-client-platform-mesa? Nothing that's in Wily, clearly.

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

Oh good point. It's possible only Xmir is affected. And even then only upstream (not wily) Xmir is affected..

"projects" perhaps is only "project" and not technically "in the wild" yet. Although it's hard to tell because the regression has been released "in the wild" as 0.17.0 for 8 days now.

review: Abstain
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Looking at wily distro, both mesa and xorg still use the old syntax: mir-client-platform-mesa-dev

So let's go with that then. A full revert is OK too.

review: Approve
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Although alf has just pointed out that at most we probably only need to update xorg-server and mesa packages with the new name. And the new name is nicer....

Revision history for this message
Chris Halse Rogers (raof) wrote :

This is only reverted on the 0.17 branch; once we land a release from
trunk in Xenial only the new name will remain.

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

I'd prefer to update the (two?) downstreams to the improved name.

As a "quick fix" I'd prefer "ln mir-client-platform-mesa-dev mir-client-platform-mesa"

review: Abstain
Revision history for this message
Kevin DuBois (kdub) wrote :

alright by me

review: Approve
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Oh I failed to notice the target branch was lp:mir/0.17 and not trunk. Even better.

review: Approve
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

/me wonders if this branch really builds, come to think of it.

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

CMake fails and the build never even starts. The problem is you have two target .pc files but only one source .pc.in file exists now...

CMake Error: File src/platforms/mesa/mir-client-platform-mesa.pc.in does not exist.

review: Needs Fixing
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Still doesn't build. Still the same issue...

CMake Error: File /home/dan/bzr/mir/tmp.raof/src/platforms/mesa/mir-client-platform-mesa.pc.in does not exist.
CMake Error at src/platforms/mesa/CMakeLists.txt:9 (configure_file):
  configure_file Problem configuring file

review: Needs Fixing
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Internal name and file name mismatch:

51 +++ src/platforms/mesa/mir-client-platform-mesa.pc.in 2015-10-27 04:18:26 +0000
52 @@ -0,0 +1,7 @@
53 +includedir=@INCLUDEDIR@/mirplatform
54 +
55 +Name: mir-client-platform-mesa-dev

review: Needs Fixing
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Okee

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/mir-client-platform-mesa-dev.install'
--- debian/mir-client-platform-mesa-dev.install 2015-09-24 22:30:09 +0000
+++ debian/mir-client-platform-mesa-dev.install 2015-10-27 04:35:25 +0000
@@ -1,2 +1,3 @@
1usr/include/mirplatform/mir_toolkit/mesa1usr/include/mirplatform/mir_toolkit/mesa
2usr/lib/*/pkgconfig/mir-client-platform-mesa-dev.pc
2usr/lib/*/pkgconfig/mir-client-platform-mesa.pc3usr/lib/*/pkgconfig/mir-client-platform-mesa.pc
34
=== modified file 'src/platforms/mesa/CMakeLists.txt'
--- src/platforms/mesa/CMakeLists.txt 2015-09-24 22:30:09 +0000
+++ src/platforms/mesa/CMakeLists.txt 2015-10-27 04:35:25 +0000
@@ -1,6 +1,12 @@
1set(INCLUDEDIR "${CMAKE_INSTALL_PREFIX}/include")1set(INCLUDEDIR "${CMAKE_INSTALL_PREFIX}/include")
22
3configure_file(3configure_file(
4 ${CMAKE_CURRENT_SOURCE_DIR}/mir-client-platform-mesa-dev.pc.in
5 ${CMAKE_CURRENT_BINARY_DIR}/mir-client-platform-mesa-dev.pc
6 @ONLY
7)
8
9configure_file(
4 ${CMAKE_CURRENT_SOURCE_DIR}/mir-client-platform-mesa.pc.in10 ${CMAKE_CURRENT_SOURCE_DIR}/mir-client-platform-mesa.pc.in
5 ${CMAKE_CURRENT_BINARY_DIR}/mir-client-platform-mesa.pc11 ${CMAKE_CURRENT_BINARY_DIR}/mir-client-platform-mesa.pc
6 @ONLY12 @ONLY
@@ -20,6 +26,9 @@
20)26)
2127
22install(28install(
23 FILES ${CMAKE_CURRENT_BINARY_DIR}/mir-client-platform-mesa.pc29 FILES
30 ${CMAKE_CURRENT_BINARY_DIR}/mir-client-platform-mesa-dev.pc
31 ${CMAKE_CURRENT_BINARY_DIR}/mir-client-platform-mesa.pc
32
24 DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig33 DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
25)34)
2635
=== renamed file 'src/platforms/mesa/mir-client-platform-mesa.pc.in' => 'src/platforms/mesa/mir-client-platform-mesa-dev.pc.in'
--- src/platforms/mesa/mir-client-platform-mesa.pc.in 2015-10-07 12:53:33 +0000
+++ src/platforms/mesa/mir-client-platform-mesa-dev.pc.in 2015-10-27 04:35:25 +0000
@@ -1,6 +1,6 @@
1includedir=@INCLUDEDIR@/mirplatform1includedir=@INCLUDEDIR@/mirplatform
22
3Name: mir-client-platform-mesa3Name: mir-client-platform-mesa-dev
4Description: Mir Mesa client platform development files4Description: Mir Mesa client platform development files
5Version: @MIR_VERSION@5Version: @MIR_VERSION@
6Requires.private: mirclient6Requires.private: mirclient
77
=== added file 'src/platforms/mesa/mir-client-platform-mesa.pc.in'
--- src/platforms/mesa/mir-client-platform-mesa.pc.in 1970-01-01 00:00:00 +0000
+++ src/platforms/mesa/mir-client-platform-mesa.pc.in 2015-10-27 04:35:25 +0000
@@ -0,0 +1,7 @@
1includedir=@INCLUDEDIR@/mirplatform
2
3Name: mir-client-platform-mesa
4Description: Mir Mesa client platform development files
5Version: @MIR_VERSION@
6Requires.private: mirclient
7Cflags: -I${includedir}

Subscribers

People subscribed via source and target branches