Merge lp:~aacid/unity8/scope-tool-dependencies into lp:unity8

Proposed by Albert Astals Cid on 2015-03-03
Status: Merged
Approved by: Michael Terry on 2015-03-03
Approved revision: 1642
Merged at revision: 1679
Proposed branch: lp:~aacid/unity8/scope-tool-dependencies
Merge into: lp:unity8
Diff against target: 26 lines (+5/-0)
2 files modified
debian/control (+3/-0)
tools/registry-tracker.cpp (+2/-0)
To merge this branch: bzr merge lp:~aacid/unity8/scope-tool-dependencies
Reviewer Review Type Date Requested Status
Michał Sawicz Approve on 2015-03-10
PS Jenkins bot continuous-integration Needs Fixing on 2015-03-03
Paweł Stołowski 2015-03-03 Approve on 2015-03-03
Review via email: mp+251573@code.launchpad.net

Commit Message

Require binaries and .pc files we call from code

unity-scope-tool Depends: +pkg-config, +libunity-scopes-dev

Description of the Change

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

 * Did you perform an exploratory manual test run of your code change and any related functionality?
No, deb changes only

 * Did you make sure that your branch does not contain spurious tags?
Yes

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

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

To post a comment you must log in.
Paweł Stołowski (stolowski) wrote :

LGTM, thanks!

review: Approve
Michał Sawicz (saviq) wrote :

Could we not make those build-time instead?

review: Needs Information
Michał Sawicz (saviq) wrote :

OK, build-time we could get outdated with the paths in case they changed. Until we have a lib to link to, just add a comment in registry-tracker.cpp to explain why we're calling pkg-config.

review: Approve
1643. By Albert Astals Cid on 2015-03-10

Add fixme

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2015-02-16 20:03:45 +0000
3+++ debian/control 2015-03-10 10:45:25 +0000
4@@ -78,6 +78,9 @@
5 unity8-private (= ${binary:Version}),
6 ${misc:Depends},
7 ${shlibs:Depends},
8+# We do call pkg-config libunity-scopes from the code
9+ pkg-config,
10+ libunity-scopes-dev,
11 Description: Development tool for Unity scopes
12 This package contains the development tool for new generation Unity scopes, based
13 on Unity8.
14
15=== modified file 'tools/registry-tracker.cpp'
16--- tools/registry-tracker.cpp 2014-09-04 16:40:26 +0000
17+++ tools/registry-tracker.cpp 2015-03-10 10:45:25 +0000
18@@ -75,6 +75,8 @@
19 return;
20 }
21
22+ // FIXME At the moment we use pkg-config but ideally the library
23+ // would just have a function that returns these values
24 QString scopeInstallDir;
25 QString scopeRegistryBin;
26 QString scopeRunnerBin;

Subscribers

People subscribed via source and target branches