Merge lp:~3v1n0/ubuntu-system-settings/fix-system-update-linking into lp:ubuntu-system-settings

Proposed by Marco Trevisan (Treviño)
Status: Rejected
Rejected by: Jonas G. Drange
Proposed branch: lp:~3v1n0/ubuntu-system-settings/fix-system-update-linking
Merge into: lp:ubuntu-system-settings
Diff against target: 41 lines (+9/-7)
2 files modified
plugins/system-update/CMakeLists.txt (+0/-6)
plugins/system-update/plugin/CMakeLists.txt (+9/-1)
To merge this branch: bzr merge lp:~3v1n0/ubuntu-system-settings/fix-system-update-linking
Reviewer Review Type Date Requested Status
Ubuntu Touch System Settings Pending
Review via email: mp+300641@code.launchpad.net

Commit message

system-update: properly set the ubuntu-downloader ldflags on plugin

Description of the change

 * Are there any related MPs required for this MP to build/function as expected? Please list.

Nope

 * Did you perform an exploratory manual test run of your code change and any related functionality?

Yes

 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?

No debian change here

 * If you changed the UI, has there been a design review?

N/A

To post a comment you must log in.
1674. By Marco Trevisan (Treviño)

system-update: properly set the ubuntu-downloader ldflags on plugin

Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

Could you sync this with trunk?

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

I think this is not needed anymore as per the refactories that there have been recently, so closing this.

Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

Did you mean to mark it as rejected, Marco? If that's not the case, let me know. But you're right, it seems to not be needed anymore.

Thanks either way.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Yeah, this is fine.
Thanks

Unmerged revisions

1674. By Marco Trevisan (Treviño)

system-update: properly set the ubuntu-downloader ldflags on plugin

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/system-update/CMakeLists.txt'
2--- plugins/system-update/CMakeLists.txt 2015-08-26 16:35:05 +0000
3+++ plugins/system-update/CMakeLists.txt 2016-07-20 16:40:26 +0000
4@@ -7,16 +7,10 @@
5 qt5_use_modules(UbuntuUpdatePanel Qml Quick Network DBus)
6 include_directories(/usr/include/apt-pkg/)
7
8-pkg_check_modules(UBUNTU_DOWNLOAD_MANAGER_CLIENT REQUIRED ubuntu-download-manager-client)
9-pkg_check_modules(UBUNTU_DOWNLOAD_MANAGER_COMMON REQUIRED ubuntu-download-manager-common)
10-pkg_check_modules(UBUNTUONEAUTH REQUIRED ubuntuoneauth-2.0)
11 add_definitions(${UBUNTUONEAUTH_CFLAGS} ${UBUNTUONEAUTH_CFLAGS_OTHER})
12 target_link_libraries(UbuntuUpdatePanel
13 apt-pkg
14 update-plugin
15- ${UBUNTUONEAUTH_LDFLAGS}
16- ${UBUNTU_DOWNLOAD_MANAGER_CLIENT_LDFLAGS}
17- ${UBUNTU_DOWNLOAD_MANAGER_COMMON_LDFLAGS}
18 )
19
20 set(PLUG_DIR ${PLUGIN_PRIVATE_MODULE_DIR}/Ubuntu/SystemSettings/Update)
21
22=== modified file 'plugins/system-update/plugin/CMakeLists.txt'
23--- plugins/system-update/plugin/CMakeLists.txt 2015-08-27 09:40:29 +0000
24+++ plugins/system-update/plugin/CMakeLists.txt 2016-07-20 16:40:26 +0000
25@@ -8,7 +8,15 @@
26 qt5_use_modules(update-plugin Core Qml Quick Network DBus)
27 include_directories(/usr/include/apt-pkg/)
28 pkg_check_modules(UBUNTUONEAUTH REQUIRED ubuntuoneauth-2.0)
29+pkg_check_modules(UBUNTU_DOWNLOAD_MANAGER_CLIENT REQUIRED ubuntu-download-manager-client)
30+pkg_check_modules(UBUNTU_DOWNLOAD_MANAGER_COMMON REQUIRED ubuntu-download-manager-common)
31 add_definitions(${UBUNTUONEAUTH_CFLAGS} ${UBUNTUONEAUTH_CFLAGS_OTHER})
32
33-target_link_libraries(update-plugin SystemSettings apt-pkg ${UBUNTUONEAUTH_LDFLAGS})
34+target_link_libraries(update-plugin
35+ SystemSettings
36+ apt-pkg
37+ ${UBUNTUONEAUTH_LDFLAGS}
38+ ${UBUNTU_DOWNLOAD_MANAGER_CLIENT_LDFLAGS}
39+ ${UBUNTU_DOWNLOAD_MANAGER_COMMON_LDFLAGS}
40+)
41 install(TARGETS update-plugin DESTINATION ${PLUGIN_MODULE_DIR})

Subscribers

People subscribed via source and target branches