Merge lp:~ken-vandine/account-plugins/hardcoded_path into lp:~mardy/account-plugins/qml

Proposed by Ken VanDine
Status: Merged
Approved by: Alberto Mardegan
Approved revision: 118
Merged at revision: 118
Proposed branch: lp:~ken-vandine/account-plugins/hardcoded_path
Merge into: lp:~mardy/account-plugins/qml
Diff against target: 27 lines (+5/-1)
2 files modified
configure.ac (+5/-0)
debian/control (+0/-1)
To merge this branch: bzr merge lp:~ken-vandine/account-plugins/hardcoded_path
Reviewer Review Type Date Requested Status
Alberto Mardegan Approve
Review via email: mp+168799@code.launchpad.net

Commit message

  Added a hard-coded path for qmlpluginsdir if pkgconfig failed to get it, this
  way we don't have to build depend on ubuntu-system-settings-online-accounts, which
  isn't in main yet.

Description of the change

  Added a hard-coded path for qmlpluginsdir if pkgconfig failed to get it, this
  way we don't have to build depend on ubuntu-system-settings-online-accounts, which
  isn't in main yet.

To post a comment you must log in.
Revision history for this message
Alberto Mardegan (mardy) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'configure.ac'
--- configure.ac 2013-06-07 07:35:08 +0000
+++ configure.ac 2013-06-11 20:00:37 +0000
@@ -75,6 +75,11 @@
75# QML plugins installation path75# QML plugins installation path
76AC_SUBST([qmlpluginsdir],76AC_SUBST([qmlpluginsdir],
77 [`$PKG_CONFIG --variable plugin_qml_dir --define-variable=prefix=$real_prefix OnlineAccountsPlugin`])77 [`$PKG_CONFIG --variable plugin_qml_dir --define-variable=prefix=$real_prefix OnlineAccountsPlugin`])
78AC_MSG_CHECKING(for qmlplugins directory)
79if test "x$qmlpluginsdir" = "x" ; then
80 # fallback if the previous failed
81 qmlpluginsdir="$real_prefix/share/accounts/qml-plugins"
82fi
7883
79# libaccounts providers and service files84# libaccounts providers and service files
80AC_SUBST([providersdir],85AC_SUBST([providersdir],
8186
=== modified file 'debian/control'
--- debian/control 2013-06-07 11:56:25 +0000
+++ debian/control 2013-06-11 20:00:37 +0000
@@ -12,7 +12,6 @@
12 libaccount-plugin-1.0-dev (>= 0.1.3),12 libaccount-plugin-1.0-dev (>= 0.1.3),
13 valac-0.16,13 valac-0.16,
14 gnome-common,14 gnome-common,
15 ubuntu-system-settings-online-accounts,
16 dh-autoreconf,15 dh-autoreconf,
17 libxml2-utils,16 libxml2-utils,
18Standards-Version: 3.9.417Standards-Version: 3.9.4

Subscribers

People subscribed via source and target branches

to all changes: