Merge lp:~sil2100/unity/add_libunity_rpath into lp:unity
| Status: | Merged |
|---|---|
| Approved by: | Michal Hruby on 2012-08-03 |
| Approved revision: | 2534 |
| Merged at revision: | 2537 |
| Proposed branch: | lp:~sil2100/unity/add_libunity_rpath |
| Merge into: | lp:unity |
| Diff against target: |
53 lines (+9/-1) 3 files modified
CMakeLists.txt (+3/-0) UnityCore/CMakeLists.txt (+3/-1) plugins/unityshell/CMakeLists.txt (+3/-0) |
| To merge this branch: | bzr merge lp:~sil2100/unity/add_libunity_rpath |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michal Hruby (community) | 2012-08-02 | Approve on 2012-08-03 | |
| jenkins | continuous-integration | Pending | |
|
Review via email:
|
|||
Commit Message
Add the libunity private directory to unityshell.so and libunity-
Description of the Change
Attempt to fix the problem with libunity-
- Problem:
Currently unityshell.so depends on libunity-
Because of this, unity staging is *broken*.
- Fix:
After some consultation with Didier, we decided to deal with it using RPATH. It's cleaner than using ld.so.conf or other magicks. This is just a proposition of a fix - if anyone has a better idea, please comment.
In this approach we're instructing CMake to add the unity-protocol-
- Tests:
Not applicable.
| Łukasz Zemczak (sil2100) wrote : | # |
Ah, shit - right about that. Will update it in a moment. Thanks for noticing!
- 2531. By Łukasz Zemczak on 2012-08-03
-
Also added the same RPATH for unity-core.
- 2532. By Łukasz Zemczak on 2012-08-03
-
Merge in latest trunk changes
- 2533. By Łukasz Zemczak on 2012-08-03
-
Fixed some build issues to incomplete merges and invalid thought process
| Michal Hruby (mhr3) wrote : | # |
26 pkg_check_modules (CORE_DEPS REQUIRED glib-2.0 gio-2.0 dee-1.0 sigc++-2.0 nux-core-3.0 gdk-pixbuf-2.0 unity-protocol-
The proto lib shouldn't be there I guess?
- 2534. By Łukasz Zemczak on 2012-08-03
-
As proposed by mhr3, we just re-add unity-protocol-
private to the main deps


Shouldn't the same thing be done when linking unity-core?