Merge lp:~vanvugt/unity/fix-1024179 into lp:unity

Proposed by Daniel van Vugt
Status: Rejected
Rejected by: Daniel van Vugt
Proposed branch: lp:~vanvugt/unity/fix-1024179
Merge into: lp:unity
Diff against target: 22 lines (+12/-0)
1 file modified
CMakeLists.txt (+12/-0)
To merge this branch: bzr merge lp:~vanvugt/unity/fix-1024179
Reviewer Review Type Date Requested Status
Daniel van Vugt Disapprove
Łukasz Zemczak Approve
jenkins (community) continuous-integration Needs Fixing
Review via email: mp+114770@code.launchpad.net

Commit message

Make sure org.compiz.unity*.gschema.xml actually get installed on
'make install'. (LP: #1024179)

Description of the change

Make sure org.compiz.unity*.gschema.xml actually get installed on
'make install'. (LP: #1024179)

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

This is a quick fix that works. I think the compiz cmake library is meant to do this for us, but right now I cannot figure it out.

Revision history for this message
Sam Spilsbury (smspillaz) wrote :

It might be better to try and figure out why the schema files are not being installed by the compiz macro - this code does not invoke the compiler so they won't appear to be installed to gsettings anyways. Maybe try checking to see if the schemas are actually being compiled after being installed as well (I hate how GSettings does this ...).

Revision history for this message
jenkins (martin-mrazik+qa) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

I tested it - and it works like a charm, otherwise the gsettings migration is not possible. Approved.

review: Approve
Revision history for this message
Unity Merger (unity-merger) wrote :

The Jenkins job https://jenkins.qa.ubuntu.com/job/automerge-unity/957/console reported an error when processing this lp:~vanvugt/unity/fix-1024179 branch.
Not merging it.

Revision history for this message
Unity Merger (unity-merger) wrote :

The Jenkins job https://jenkins.qa.ubuntu.com/job/automerge-unity/958/console reported an error when processing this lp:~vanvugt/unity/fix-1024179 branch.
Not merging it.

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

This is on hold, now Sam has proposed a fix to compiz.

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

Rejected. The generalized fix in compiz works.

review: Disapprove

Unmerged revisions

2489. By Daniel van Vugt

Make sure org.compiz.unity*.gschema.xml actually get installed on
'make install'. (LP: #1024179)

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 2012-07-09 07:51:54 +0000
3+++ CMakeLists.txt 2012-07-13 03:17:19 +0000
4@@ -209,6 +209,18 @@
5 configure_file (${CMAKE_SOURCE_DIR}/${UNITY_SCHEMAS} ${CMAKE_BINARY_DIR}/settings/${UNITY_SCHEMAS})
6 execute_process (COMMAND ${_glib_comple_schemas} ${CMAKE_BINARY_DIR}/settings)
7
8+set (PLUGIN_NAMES
9+ networkarearegion
10+ unitymtgrabhandles
11+ unityshell
12+ unitydialog
13+)
14+set (_gschema_gen_dir "${CMAKE_BINARY_DIR}/generated/glib-2.0/schemas/")
15+foreach (_plugin ${PLUGIN_NAMES})
16+ set (_plugin_src "${_gschema_gen_dir}/org.compiz.${_plugin}.gschema.xml")
17+ install (FILES ${_plugin_src} DESTINATION ${GSETTINGS_DIR})
18+endforeach ()
19+
20 #
21 # docs
22 #