Merge lp:~ted/ubuntu-app-launch/json-glib-version into lp:ubuntu-app-launch

Proposed by Ted Gould
Status: Merged
Approved by: Charles Kerr
Approved revision: 266
Merged at revision: 267
Proposed branch: lp:~ted/ubuntu-app-launch/json-glib-version
Merge into: lp:ubuntu-app-launch
Diff against target: 55 lines (+2/-14)
3 files modified
CMakeLists.txt (+1/-1)
debian/control (+1/-1)
libubuntu-app-launch/registry-impl.cpp (+0/-12)
To merge this branch: bzr merge lp:~ted/ubuntu-app-launch/json-glib-version
Reviewer Review Type Date Requested Status
Charles Kerr (community) Approve
unity-api-1-bot continuous-integration Needs Fixing
Review via email: mp+310498@code.launchpad.net

Commit message

Removing JSON-GLib version cruft

Description of the change

Remove some cruft after splitting off Vivid

To post a comment you must log in.
Revision history for this message
unity-api-1-bot (unity-api-1-bot) wrote :

FAILED: Continuous integration, rev:266
https://jenkins.canonical.com/unity-api-1/job/lp-ubuntu-app-launch-ci/117/
Executed test runs:
    FAILURE: https://jenkins.canonical.com/unity-api-1/job/build/1037/console
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-0-fetch/1044
    FAILURE: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=vivid+overlay/835/console
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=xenial+overlay/835
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=xenial+overlay/835/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=yakkety/835
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=amd64,release=yakkety/835/artifact/output/*zip*/output.zip
    FAILURE: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=vivid+overlay/835/console
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=xenial+overlay/835
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=xenial+overlay/835/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=yakkety/835
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=armhf,release=yakkety/835/artifact/output/*zip*/output.zip
    FAILURE: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=vivid+overlay/835/console
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=xenial+overlay/835
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=xenial+overlay/835/artifact/output/*zip*/output.zip
    SUCCESS: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=yakkety/835
        deb: https://jenkins.canonical.com/unity-api-1/job/build-2-binpkg/arch=i386,release=yakkety/835/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://jenkins.canonical.com/unity-api-1/job/lp-ubuntu-app-launch-ci/117/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Charles Kerr (charlesk) :
review: Approve

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 2016-09-14 21:58:39 +0000
3+++ CMakeLists.txt 2016-11-10 00:48:09 +0000
4@@ -70,7 +70,7 @@
5 pkg_check_modules(GIO2 REQUIRED gio-2.0 gio-unix-2.0)
6 include_directories(${GIO2_INCLUDE_DIRS})
7
8-pkg_check_modules(JSONGLIB REQUIRED json-glib-1.0)
9+pkg_check_modules(JSONGLIB REQUIRED json-glib-1.0>=1.1.2)
10 include_directories(${JSONGLIB_INCLUDE_DIRS})
11
12 pkg_check_modules(ZEITGEIST REQUIRED zeitgeist-2.0)
13
14=== modified file 'debian/control'
15--- debian/control 2016-08-23 15:04:08 +0000
16+++ debian/control 2016-11-10 00:48:09 +0000
17@@ -17,7 +17,7 @@
18 libgirepository1.0-dev,
19 libglib2.0-dev,
20 libgtest-dev,
21- libjson-glib-dev,
22+ libjson-glib-dev (>= 1.1.2),
23 liblibertine-dev,
24 liblttng-ust-dev,
25 libmirclient-dev (>= 0.5),
26
27=== modified file 'libubuntu-app-launch/registry-impl.cpp'
28--- libubuntu-app-launch/registry-impl.cpp 2016-09-23 22:30:51 +0000
29+++ libubuntu-app-launch/registry-impl.cpp 2016-11-10 00:48:09 +0000
30@@ -97,7 +97,6 @@
31 }
32 }
33
34-#if JSON_CHECK_VERSION(1, 1, 2)
35 /** Helper function for printing JSON objects to debug output */
36 std::string Registry::Impl::printJson(std::shared_ptr<JsonObject> jsonobj)
37 {
38@@ -122,17 +121,6 @@
39
40 return retval;
41 }
42-#else
43-std::string Registry::Impl::printJson(std::shared_ptr<JsonObject> jsonobj)
44-{
45- return "Your JSON-GLib is too old to print the JSON here, please talk to your vendor about upgrading";
46-}
47-
48-std::string Registry::Impl::printJson(std::shared_ptr<JsonNode> jsonnode)
49-{
50- return "Your JSON-GLib is too old to print the JSON here, please talk to your vendor about upgrading";
51-}
52-#endif
53
54 std::shared_ptr<JsonObject> Registry::Impl::getClickManifest(const std::string& package)
55 {

Subscribers

People subscribed via source and target branches