Merge lp:~vthompson/ubuntu-filemanager-app/1312879-home-icon into lp:ubuntu-filemanager-app

Proposed by Victor Thompson
Status: Merged
Approved by: David Planella
Approved revision: 166
Merged at revision: 167
Proposed branch: lp:~vthompson/ubuntu-filemanager-app/1312879-home-icon
Merge into: lp:ubuntu-filemanager-app
Diff against target: 14 lines (+1/-1)
1 file modified
CMakeLists.txt (+1/-1)
To merge this branch: bzr merge lp:~vthompson/ubuntu-filemanager-app/1312879-home-icon
Reviewer Review Type Date Requested Status
David Planella Approve
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+217363@code.launchpad.net

Commit message

Install icons directory.

Description of the change

This installs the icons directory in the qml folder in the click package.

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
David Planella (dpm) wrote :

Ah, I see what happened, I might have forgotten to move the icons folder when rearranging the layout.

I think it might be better to:

1. 'bzr mv' the icons folder to be underneath of the src/app/qml file
2. Add *.svg to the list of patterns under the 'file(GLOB SRC_FILES' line in CMakeLists.txt

This will also take care of copying the icons folder to the build directory in order to run the app locally from Qt Creator (the 'if(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")' line in src/app/CMakeLists.txt, which the current approach does not address).

review: Needs Fixing
166. By Victor Thompson

Move icons directory

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

Looks good to me, thanks Victor!

I'll approve for now, but if that's ok with you, I'll wait to top-approve until https://code.launchpad.net/~dpm/ubuntu-filemanager-app/fix-desktop-run/+merge/217239 has landed, which also includes some CMakeLists.txt changes and I'd prefer it to land it first: if any conflicts come up from merges, they should be easier to fix on your branch.

review: Approve
Revision history for this message
Victor Thompson (vthompson) wrote :

Agreed, that sounds good to me.

Revision history for this message
David Planella (dpm) wrote :

The other branch has been merged, top-approving now.

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-04-24 14:12:59 +0000
3+++ CMakeLists.txt 2014-04-28 12:36:28 +0000
4@@ -63,7 +63,7 @@
5
6 file(GLOB SRC_FILES
7 RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
8- *.qml *.js *.png *.js)
9+ *.qml *.js *.png *.svg *.js)
10 install(FILES ${SRC_FILES} DESTINATION ${DATA_DIR})
11
12 configure_file(${DESKTOP_FILE}.in ${CMAKE_CURRENT_BINARY_DIR}/${DESKTOP_FILE})
13
14=== renamed directory 'icons' => 'src/app/qml/icons'

Subscribers

People subscribed via source and target branches