All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Herman van Hazendonk <github.com@herrie.org>
Subject: [meta-oe][PATCH 6/8] Geoclue: Update to 2.5.3
Date: Thu, 23 May 2019 11:55:03 +0000	[thread overview]
Message-ID: <20190523115505.18245-6-Martin.Jansa@gmail.com> (raw)
In-Reply-To: <20190523115505.18245-1-Martin.Jansa@gmail.com>

From: Herman van Hazendonk <github.com@herrie.org>

* Switch to Meson build system.
* Fix a crash.
* Support for GGA messages from more NMEA sources.
* New API to allow automatic server side deletion of client.
* Automatically delete client on server when using GClueSimple.
* Avoid linking to system-installed library.
* Fix library-only build.
* Add manpage for geoclue.conf file.
* Document usage and building of the project.
* Other fixes and improvements.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../geoclue/geoclue_2.4.4.bb                  | 53 ------------------
 .../geoclue/geoclue_2.5.3.bb                  | 54 +++++++++++++++++++
 2 files changed, 54 insertions(+), 53 deletions(-)
 delete mode 100644 meta-oe/recipes-navigation/geoclue/geoclue_2.4.4.bb
 create mode 100644 meta-oe/recipes-navigation/geoclue/geoclue_2.5.3.bb

diff --git a/meta-oe/recipes-navigation/geoclue/geoclue_2.4.4.bb b/meta-oe/recipes-navigation/geoclue/geoclue_2.4.4.bb
deleted file mode 100644
index b31d8eb4ef..0000000000
--- a/meta-oe/recipes-navigation/geoclue/geoclue_2.4.4.bb
+++ /dev/null
@@ -1,53 +0,0 @@
-SUMMARY = "The Geolocation Service"
-DESCRIPTION = "Geoclue is a D-Bus service that provides location information. \
-The primary goal of the Geoclue project is to make creating location-aware applications \
-as simple as possible, while the secondary goal is to ensure that no application \
-can access location information without explicit permission from user."
-LICENSE = "GPLv2.0+"
-SECTION = "console/network"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=8114b83a0435d8136b47bd70111ce5cd"
-
-DEPENDS = "glib-2.0 dbus json-glib libsoup-2.4 intltool-native"
-
-inherit autotools pkgconfig gtk-doc gobject-introspection
-
-SRC_URI = " \
-    http://www.freedesktop.org/software/geoclue/releases/2.4/geoclue-${PV}.tar.xz \
-"
-
-SRC_URI[md5sum] = "d2a5b05f4bad032673fe23afbce27926"
-SRC_URI[sha256sum] = "9c43fb9d0c12067ea64400500abb0640194947d4c2c55e38545afe5d9c5c315c"
-
-export BUILD_SYS
-export HOST_SYS
-export STAGING_INCDIR
-export STAGING_LIBDIR
-
-# Without this line, package is delcared a library and named libgeoclue*
-AUTO_LIBNAME_PKGS = ""
-
-PACKAGECONFIG ??= "3g modem-gps cdma nmea lib"
-PACKAGECONFIG[3g] = "--enable-3g-source,--disable-3g-source,modemmanager"
-PACKAGECONFIG[modem-gps] = "--enable-modem-gps-source,--disable-modem-gps-source,modemmanager"
-PACKAGECONFIG[cdma] = "--enable-cdma-source,--disable-cdma-source,modemmanager"
-PACKAGECONFIG[nmea] = "--enable-nmea-source,--disable-nmea-source,avahi"
-PACKAGECONFIG[lib] = "--enable-libgeoclue,--disable-libgeoclue,gobject-introspection"
-
-EXTRA_OECONF += " \
-    --with-dbus-service-user=root \
-    --with-dbus-sys-dir=${sysconfdir}/dbus-1/system.d \
-    --enable-demo-agent=no \
-"
-
-FILES_${PN} += " \
-    ${datadir}/dbus-1/system-services \
-    ${libdir} \
-    ${systemd_unitdir} \
-    ${prefix}/libexec \
-"
-
-FILES_${PN}-dev += " \
-    ${datadir}/dbus-1/interfaces \
-    ${datadir}/gir-1.0 \
-"
diff --git a/meta-oe/recipes-navigation/geoclue/geoclue_2.5.3.bb b/meta-oe/recipes-navigation/geoclue/geoclue_2.5.3.bb
new file mode 100644
index 0000000000..b46445a2ba
--- /dev/null
+++ b/meta-oe/recipes-navigation/geoclue/geoclue_2.5.3.bb
@@ -0,0 +1,54 @@
+SUMMARY = "The Geolocation Service"
+DESCRIPTION = "Geoclue is a D-Bus service that provides location information. \
+The primary goal of the Geoclue project is to make creating location-aware applications \
+as simple as possible, while the secondary goal is to ensure that no application \
+can access location information without explicit permission from user."
+LICENSE = "GPLv2.0+"
+SECTION = "console/network"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=bdfdd4986a0853eb84eeba85f9d0c4d6"
+
+DEPENDS = "glib-2.0 dbus json-glib libsoup-2.4 intltool-native"
+
+inherit meson pkgconfig gtk-doc gobject-introspection vala
+
+SRC_URI = " \
+    https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/${PV}/geoclue-${PV}.tar \
+"
+
+SRC_URI[md5sum] = "6228301ed62b587ebaa0438b97ce66e4"
+SRC_URI[sha256sum] = "3caa5e10190a34c17a9b3a9d1d8a19797ed197f07f36f6e35ce533a379efe155"
+
+export BUILD_SYS
+export HOST_SYS
+export STAGING_INCDIR
+export STAGING_LIBDIR
+
+# Without this line, package is declared a library and named libgeoclue*
+AUTO_LIBNAME_PKGS = ""
+
+PACKAGECONFIG ??= "3g modem-gps cdma nmea lib"
+PACKAGECONFIG[3g] = "-D3g-source=true,-D3g-source=false,modemmanager"
+PACKAGECONFIG[modem-gps] = "-Dmodem-gps-source=true,-Dmodem-gps-source=false,modemmanager"
+PACKAGECONFIG[cdma] = "-Dcdma-source=true,-Dcdma-source=false,modemmanager"
+PACKAGECONFIG[nmea] = "-Dnmea-source=true,-Dnmea-source=false,avahi"
+PACKAGECONFIG[lib] = "-Dlibgeoclue=true,-Dlibgeoclue=false,gobject-introspection"
+
+GTKDOC_MESON_OPTION = "gtk-doc"
+
+EXTRA_OEMESON += " \
+    -Ddbus-sys-dir=${sysconfdir}/dbus-1/system.d \
+    -Ddemo-agent=false \
+"
+
+FILES_${PN} += " \
+    ${datadir}/dbus-1/system-services \
+    ${libdir} \
+    ${systemd_unitdir} \
+    ${prefix}/libexec \
+"
+
+FILES_${PN}-dev += " \
+    ${datadir}/dbus-1/interfaces \
+    ${datadir}/gir-1.0 \
+"
-- 
2.17.1



  parent reply	other threads:[~2019-05-23 11:55 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-23 11:54 [meta-oe][PATCH 1/8] uriparser: upgrade to 0.9.3 Martin Jansa
2019-05-23 11:54 ` [meta-oe][PATCH 2/8] pidgin: upgrade to 2.13.0 Martin Jansa
2019-05-23 11:55 ` [meta-oe][PATCH 3/8] funyahoo-plusplus, icyque, pidgin-sipe, purple-skypeweb: add couple plugins for pidgin Martin Jansa
2019-06-14 18:10   ` Khem Raj
2019-06-14 21:34     ` Martin Jansa
2019-06-18  7:12       ` Martin Jansa
2019-06-18 10:43         ` Martin Jansa
2019-06-18 13:06           ` Khem Raj
2019-06-18 15:37             ` Martin Jansa
2019-06-18 15:45               ` Khem Raj
2019-06-18 15:54                 ` Martin Jansa
2019-06-18 17:47                   ` Khem Raj
2019-06-19  1:46                     ` Khem Raj
2019-05-23 11:55 ` [meta-oe][PATCH 4/8] hunspell: use git fetcher instead of github archive Martin Jansa
2019-05-23 12:02   ` Andreas Müller
2019-05-23 11:55 ` [meta-oe][PATCH 5/8] hunspell-dictionaries: import from meta-luneos to make hunspell in meta-oe a bit more useful Martin Jansa
2019-05-23 12:27   ` Andreas Müller
2019-05-23 11:55 ` Martin Jansa [this message]
2019-05-23 11:55 ` [meta-oe][PATCH 7/8] ttf-mplus, ttf-vlgothic: add ttf-mplus license Martin Jansa
2019-05-23 11:55 ` [meta-oe][PATCH 8/8] android-tools-conf: import one more improvement for android-gadget-setup from meta-luneos Martin Jansa
2019-05-23 12:02 ` [meta-oe][PATCH 1/8] uriparser: upgrade to 0.9.3 Adrian Bunk
2019-05-24  0:37   ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190523115505.18245-6-Martin.Jansa@gmail.com \
    --to=martin.jansa@gmail.com \
    --cc=github.com@herrie.org \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.