Merge lp:~azzar1/unity/gcc5 into lp:unity

Proposed by Andrea Azzarone
Status: Superseded
Proposed branch: lp:~azzar1/unity/gcc5
Merge into: lp:unity
Diff against target: 45 lines (+5/-3)
3 files modified
lockscreen/CMakeLists.txt (+3/-2)
plugins/unityshell/CMakeLists.txt (+0/-1)
unity-shared/DecorationStyle.h (+2/-0)
To merge this branch: bzr merge lp:~azzar1/unity/gcc5
Reviewer Review Type Date Requested Status
Unity Team Pending
Review via email: mp+266574@code.launchpad.net

Commit message

Enable building unity form source with gcc5.

Description of the change

Enable building unity form source with gcc5.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lockscreen/CMakeLists.txt'
2--- lockscreen/CMakeLists.txt 2014-10-21 13:45:43 +0000
3+++ lockscreen/CMakeLists.txt 2015-07-31 14:46:28 +0000
4@@ -9,7 +9,7 @@
5 string (REPLACE ";" " " CFLAGS "${CFLAGS}")
6 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CFLAGS}")
7
8-set (LIBS ${CACHED_UNITY_DEPS_LDFLAGS} ${UNITY_STANDALONE_LADD})
9+set (LIBS ${CACHED_UNITY_DEPS_LDFLAGS} pam)
10
11 include_directories (.. ../services ../UnityCore ${UNITY_SRC} ${CMAKE_BINARY_DIR})
12
13@@ -34,5 +34,6 @@
14 )
15
16 add_library (lockscreen-lib STATIC ${LOCKSCREEN_SOURCES})
17-add_dependencies (lockscreen-lib unity-core-${UNITY_API_VERSION} unity-shared pam)
18+target_link_libraries (lockscreen-lib ${LIBS})
19+add_dependencies (lockscreen-lib unity-core-${UNITY_API_VERSION} unity-shared)
20 add_pch(pch/lockscreen_pch.hh lockscreen-lib)
21
22=== modified file 'plugins/unityshell/CMakeLists.txt'
23--- plugins/unityshell/CMakeLists.txt 2014-01-30 16:00:34 +0000
24+++ plugins/unityshell/CMakeLists.txt 2015-07-31 14:46:28 +0000
25@@ -26,7 +26,6 @@
26 decorations-lib
27 hud-lib
28 launcher-lib
29- pam
30 lockscreen-lib
31 panel-lib
32 shortcuts-lib
33
34=== modified file 'unity-shared/DecorationStyle.h'
35--- unity-shared/DecorationStyle.h 2014-12-19 13:03:44 +0000
36+++ unity-shared/DecorationStyle.h 2015-07-31 14:46:28 +0000
37@@ -24,6 +24,8 @@
38 #include <NuxCore/Rect.h>
39 #include <cairo/cairo.h>
40
41+#include <memory>
42+
43 struct _GtkStyleContext;
44
45 namespace unity