Merge lp:~nskaggs/reminders-app/fix-cmake-build into lp:reminders-app

Proposed by Nicholas Skaggs
Status: Superseded
Proposed branch: lp:~nskaggs/reminders-app/fix-cmake-build
Merge into: lp:reminders-app
Diff against target: 12 lines (+2/-0)
1 file modified
CMakeLists.txt (+2/-0)
To merge this branch: bzr merge lp:~nskaggs/reminders-app/fix-cmake-build
Reviewer Review Type Date Requested Status
Michael Zanetti (community) Disapprove
David Planella Needs Information
Ubuntu Phone Apps Jenkins Bot continuous-integration Needs Fixing
Review via email: mp+205837@code.launchpad.net

This proposal has been superseded by a proposal from 2014-02-12.

Commit message

Fix cmake build

Description of the change

Cmake build fails in trunk, this should correct it allowing valid builds again. I believe the failure was introduced during the change to reminders from reminders-app.

To post a comment you must log in.
63. By Nicholas Skaggs

remove unneeded install step in cmake

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
David Planella (dpm) wrote :

Thanks Nick for looking into this.

To be able to review this, could you describe how exactly the build is failing and how to reproduce the build failure?

Running the following to create the package manually seems to work, and I haven't seen any build failures building from Qt Creator. However Jenkins probably does the build differently.

bzr branch lp:reminders-app
mkdir ../build-reminders
cd ../build-reminders
QT_SELECT=qt5 cmake ../reminders-app/ -DCLICK_MODE=1
make -j2
make install DESTDIR=install
click build install

review: Needs Information
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Huh? This actually breaks compilation here as reminders.in is not in the repo any more. Looks like you have a dirty working dir.

We don't want to generate a script for calling qmlscene any more as reminders doesn't support being run by qmlscene. We need our own compiled binary.

review: Disapprove
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

@dpm, I'm not sure why jenkins doesn't like to build it, I'll have to look deeper today. I did use this to build the latest reminders and push to the store.

@mzanetti, it's a 2 line change, nothing to do with qmlscene, etc. It adds back the configure step. If you are seeing more perhaps something is wrong with the branch.

Revision history for this message
Michael Zanetti (mzanetti) wrote :

@Nicholas: The configure change you reintroduced was to generate a script calling qmlscene reminders-app.qml. That's why I pointed out the above qmlscene thing.

Please make sure you don't have the "reminders.in" file around any more as that one is probably able to cause the issue you're seeing.

Unmerged revisions

63. By Nicholas Skaggs

remove unneeded install step in cmake

62. By Nicholas Skaggs

Fix cmake build

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2014-02-05 10:14:57 +0000
3+++ CMakeLists.txt 2014-02-11 19:42:58 +0000
4@@ -37,6 +37,8 @@
5 set(DESKTOP_DIR ${DATA_DIR})
6 else(CLICK_MODE)
7 set(DATA_DIR ${CMAKE_INSTALL_DATADIR}/${APP_HARDCODE})
8+ configure_file(${APP_HARDCODE}.in
9+ ${CMAKE_CURRENT_BINARY_DIR}/${APP_HARDCODE})
10 set(EXEC "reminders")
11 set(ICON "${CMAKE_INSTALL_PREFIX}/${DATA_DIR}/${ICON}")
12 set(DESKTOP_DIR ${CMAKE_INSTALL_DATADIR}/applications)

Subscribers

People subscribed via source and target branches