Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
meta-nemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
meta-nemo
Commits
8ea0f702
Commit
8ea0f702
authored
Oct 11, 2017
by
Florent Revest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds a recipe for geoclue-provider-hybris
parent
06dd06d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
0 deletions
+53
-0
0001-DeviceControl-Power-the-device-on-by-default-tempora.patch
...eviceControl-Power-the-device-on-by-default-tempora.patch
+25
-0
location.conf
...e/geoclue-providers/geoclue-provider-hybris/location.conf
+4
-0
geoclue-provider-hybris_git.bb
...momobile/geoclue-providers/geoclue-provider-hybris_git.bb
+24
-0
No files found.
recipes-nemomobile/geoclue-providers/geoclue-provider-hybris/0001-DeviceControl-Power-the-device-on-by-default-tempora.patch
0 → 100644
View file @
8ea0f702
From f512355db376657ff16976803971ef411b45c259 Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Tue, 3 Oct 2017 21:39:45 +0200
Subject: [PATCH 1/2] DeviceControl: Power the device on by default (temporary)
---
devicecontrol.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devicecontrol.cpp b/devicecontrol.cpp
index fe03d27..ce3d578 100644
--- a/devicecontrol.cpp
+++ b/devicecontrol.cpp
@@ -17,7 +17,7 @@
#include <QtDBus/QDBusVariant>
DeviceControl::DeviceControl(QObject *parent)
-: QObject(parent), m_powered(false)
+: QObject(parent), m_powered(true)
{
new DeviceAdaptor(this);
}
--
2.7.4
recipes-nemomobile/geoclue-providers/geoclue-provider-hybris/location.conf
0 → 100644
View file @
8ea0f702
[
location
]
enabled
=
true
gps
\
enabled
=
true
agps_providers
=
""
\ No newline at end of file
recipes-nemomobile/geoclue-providers/geoclue-provider-hybris_git.bb
0 → 100644
View file @
8ea0f702
SUMMARY = "Libhybris backend for GeoClue"
HOMEPAGE = "https://github.com/mer-hybris/geoclue-providers-hybris"
LICENSE = "LGPL-2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SRC_URI = "git://github.com/mer-hybris/geoclue-providers-hybris.git;protocol=https \
file://0001-DeviceControl-Power-the-device-on-by-default-tempora.patch \
file://location.conf"
SRCREV = "29ec9933d09beefcc7ef24b83ef046f0150ec31e"
PR = "r1"
PV = "+git${SRCPV}"
S = "${WORKDIR}/git"
DEPENDS += "geoclue libhybris libconnman-qt5 libqofono qofonoext"
inherit qmake5
do_install_append() {
chmod 04755 ${D}/usr/libexec/geoclue-hybris
mkdir ${D}/etc/location/
cp ${WORKDIR}/location.conf ${D}/etc/location/
}
FILES_${PN} += "/usr/share/dbus-1 /usr/share/geoclue-providers"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment