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
=== modified file 'plugins/system-update/CMakeLists.txt'
--- plugins/system-update/CMakeLists.txt 2015-08-26 16:35:05 +0000
+++ plugins/system-update/CMakeLists.txt 2016-07-20 16:40:26 +0000
@@ -7,16 +7,10 @@
7qt5_use_modules(UbuntuUpdatePanel Qml Quick Network DBus)7qt5_use_modules(UbuntuUpdatePanel Qml Quick Network DBus)
8include_directories(/usr/include/apt-pkg/)8include_directories(/usr/include/apt-pkg/)
99
10pkg_check_modules(UBUNTU_DOWNLOAD_MANAGER_CLIENT REQUIRED ubuntu-download-manager-client)
11pkg_check_modules(UBUNTU_DOWNLOAD_MANAGER_COMMON REQUIRED ubuntu-download-manager-common)
12pkg_check_modules(UBUNTUONEAUTH REQUIRED ubuntuoneauth-2.0)
13add_definitions(${UBUNTUONEAUTH_CFLAGS} ${UBUNTUONEAUTH_CFLAGS_OTHER})10add_definitions(${UBUNTUONEAUTH_CFLAGS} ${UBUNTUONEAUTH_CFLAGS_OTHER})
14target_link_libraries(UbuntuUpdatePanel11target_link_libraries(UbuntuUpdatePanel
15 apt-pkg12 apt-pkg
16 update-plugin13 update-plugin
17 ${UBUNTUONEAUTH_LDFLAGS}
18 ${UBUNTU_DOWNLOAD_MANAGER_CLIENT_LDFLAGS}
19 ${UBUNTU_DOWNLOAD_MANAGER_COMMON_LDFLAGS}
20)14)
2115
22set(PLUG_DIR ${PLUGIN_PRIVATE_MODULE_DIR}/Ubuntu/SystemSettings/Update)16set(PLUG_DIR ${PLUGIN_PRIVATE_MODULE_DIR}/Ubuntu/SystemSettings/Update)
2317
=== modified file 'plugins/system-update/plugin/CMakeLists.txt'
--- plugins/system-update/plugin/CMakeLists.txt 2015-08-27 09:40:29 +0000
+++ plugins/system-update/plugin/CMakeLists.txt 2016-07-20 16:40:26 +0000
@@ -8,7 +8,15 @@
8qt5_use_modules(update-plugin Core Qml Quick Network DBus)8qt5_use_modules(update-plugin Core Qml Quick Network DBus)
9include_directories(/usr/include/apt-pkg/)9include_directories(/usr/include/apt-pkg/)
10pkg_check_modules(UBUNTUONEAUTH REQUIRED ubuntuoneauth-2.0)10pkg_check_modules(UBUNTUONEAUTH REQUIRED ubuntuoneauth-2.0)
11pkg_check_modules(UBUNTU_DOWNLOAD_MANAGER_CLIENT REQUIRED ubuntu-download-manager-client)
12pkg_check_modules(UBUNTU_DOWNLOAD_MANAGER_COMMON REQUIRED ubuntu-download-manager-common)
11add_definitions(${UBUNTUONEAUTH_CFLAGS} ${UBUNTUONEAUTH_CFLAGS_OTHER})13add_definitions(${UBUNTUONEAUTH_CFLAGS} ${UBUNTUONEAUTH_CFLAGS_OTHER})
1214
13target_link_libraries(update-plugin SystemSettings apt-pkg ${UBUNTUONEAUTH_LDFLAGS})15target_link_libraries(update-plugin
16 SystemSettings
17 apt-pkg
18 ${UBUNTUONEAUTH_LDFLAGS}
19 ${UBUNTU_DOWNLOAD_MANAGER_CLIENT_LDFLAGS}
20 ${UBUNTU_DOWNLOAD_MANAGER_COMMON_LDFLAGS}
21)
14install(TARGETS update-plugin DESTINATION ${PLUGIN_MODULE_DIR})22install(TARGETS update-plugin DESTINATION ${PLUGIN_MODULE_DIR})

Subscribers

People subscribed via source and target branches