Merge lp:~phablet-team/mediaplayer-app/snap-it-up into lp:mediaplayer-app
| Status: | Merged |
|---|---|
| Approved by: | Arthur Mello on 2016-09-09 |
| Approved revision: | 424 |
| Merged at revision: | 421 |
| Proposed branch: | lp:~phablet-team/mediaplayer-app/snap-it-up |
| Merge into: | lp:mediaplayer-app |
| Diff against target: |
102 lines (+93/-0) 2 files modified
mediaplayer-app.wrapper (+23/-0) snapcraft.yaml (+70/-0) |
| To merge this branch: | bzr merge lp:~phablet-team/mediaplayer-app/snap-it-up |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Arthur Mello (community) | Approve on 2016-09-09 | ||
| Scott Sweeny (community) | 2016-09-06 | Approve on 2016-09-08 | |
|
Review via email:
|
|||
Commit Message
Initial snapping up of mediaplayer-app.
Description of the Change
Initial snapping up of mediaplayer-app.
- 420. By Jim Hodapp on 2016-09-07
-
Add Snappy package revision number
| Jim Hodapp (jhodapp) wrote : | # |
I haven't explicitly yet but I plan on doing that this afternoon on the media-hub one and this one.
| Scott Sweeny (ssweeny) wrote : | # |
`snapcraft cleanbuild` fails with:
cmake /root/parts/
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:1 (project):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:1 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/root/
See also "/root/
Command '['/bin/sh', '/tmp/tmp0xjubywb', 'cmake', '/root/
Command '['lxc', 'exec', 'snapcraft-
I've solved this in my snaps by adding `build-essential` to `build-packages` but you could probably get away with just explicitly adding g++ or equivalent.
- 421. By Jim Hodapp on 2016-09-07
-
Make sure to pass snapcraft cleanbuild
| Jim Hodapp (jhodapp) wrote : | # |
Ok fixed this and it cleanly builds on Launchpad now.
| Scott Sweeny (ssweeny) wrote : | # |
This builds cleanly for me now too.
The resulting snap is 60MB on amd64 and a quick poke inside shows plenty of potential for cleanup :)
- 422. By Jim Hodapp on 2016-09-08
-
Shrink the size of the resulting snap package
- 423. By Jim Hodapp on 2016-09-08
-
Make sure the copyright file gets put in place
- 424. By Jim Hodapp on 2016-09-08
-
Shrink down the package even further
- 425. By Jim Hodapp on 2016-09-22
-
Merge with upstream

Have you looked at what the snap contains and whether you can pare it down at all?