73 Commits

Author SHA1 Message Date
Hongxu Jia de9ac14a6f gpsd: split one dpg package
Multiple -dbg packages per recipe is not encouraged, and only one is
recommended and the code only works properly in some cases for one.

Add RPROVIDES_${PN}-dbg to be compatiable with previous dbg packages
requiring.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-17 22:23:29 -07:00
Nicolas Dechesne 8dc649bf05 gpsd: upgrade to 3.17
This is based on out of tree recipe in meta-medusa-dist, from Tristan
Ramseyer. Tested on Dragonboard 410c.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:15:44 -07:00
Martin Kelly 3fcf819224 gpsd: add gpsdctl@.service for USB autoplug
This service allows gpsd to automatically recognize USB devices but is
currently missing from our packaging. Without this service and the
matching udev rules from upstream, gpsd will fail to recognize USB
devices when they are plugged in.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-30 09:13:32 -08:00
Martin Kelly c8913de265 gpsd: use upstream config instead of our own
We have our own versions of the udev, hotplug, and systemd scripts,
but at this point they are several years old and were added to fix bugs
at the time. As far as I can tell, the relevant bugs are now fixed
upstream, so we can move back to the upstream versions.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-30 09:13:32 -08:00
Martin Kelly 194f855b44 gpsd: fix /etc/default/gpsd ALTERNATIVES logic
The ALTERNATIVES logic for the /etc/default/gpsd file is broken,
specifying ALTERNATIVE_LINK without brackets. In addition, it refers to
ALTERNATIVE_PATH, which update-alternatives.bbclass doesn't use.

With this patch, /etc/default/gpsd correctly gets a default link
pointing to /etc/default/gpsd.default. Currently, no such link gets
created, and gpsd starts off disabled by default since it's missing this
config file.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-19 13:41:58 -08:00
Martin Kelly d6c40bcaef gpsd: add missing python-pygps RDEPENDS
Several runtime dependencies are missing from python-pygps. You can
verify this by adding gps-utils to an image and running gpsfake, which
will fail with python import errors. With this patch, gpsfake works
correctly.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:34:05 -08:00
Dan Walkes 0b62032e02 gpsd: Fix gpsd Yocto pyro build for read only rootfs
Attempting to include gpsd on Yocto pyro with IMAGE_FEATURES including
read-only-rootfs results in an error:
"The following packages could not be configured offline and rootfs is
read-only"

This stems from a failure during the do_rootfs steps where the /etc/init.d/gpsd
file is missing during the call to update-rc.d.

This happens because the /etc/init.d/gpsd file is installed during
package install for gpsd-conf instead of gpsd, and the default value for
INITSCRIPT_PACKAGES is PN.  To resolve, specify INITSCRIPT_PACKAGES as
gpsd-conf instead.

Also, as suggested on the Yocto mailing list, refactor to inherit
update-alternatives and use this to replace the postinst and postrm
steps.

Signed-off-by: Dan Walkes <danwalkes@trellis-logic.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-15 17:29:40 +00:00
Max Krummenacher 43ad9918d8 gpsd: update to 3.16
3.16 can be linked with gold, so drop forcing to bfd.

Patches:
Do not apply and SConstruct dropped these constructs
    0001-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch
    0002-SConstruct-remove-rpath.patch

Fixed upstream (or plain backports)
    0001-Check-for-__STDC_NO_ATOMICS__-before-using-stdatomic.patch
    0002-Add-a-test-for-C11-and-check-we-have-C11-before-usin.patch
    0003-Whoops-check-for-C11-not-for-not-C11-in-stdatomic.h-.patch
    0001-Include-stdatomic.h-only-in-C-mode.patch
    0001-libgpsd-core-Fix-issue-with-ACTIVATE-hook-not-being-.patch

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-12 06:56:23 +02:00
Max Krummenacher 0be5688fa0 gpsd: don't compile with gold
When linking with gold libgps and libgpsd error out with:
 | ./libgpsd.so: error: undefined reference to 'atan2'
 | ./libgpsd.so: error: undefined reference to 'pow'
 | ./libgpsd.so: error: undefined reference to 'sqrt'
 | ./libgpsd.so: error: undefined reference to 'sin'
 | ./libgpsd.so: error: undefined reference to 'cos'
 | collect2: error: ld returned 1 exit status

Using the bfd linker fixes the issue.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-12 06:56:23 +02:00
Nicolas Dechesne 45837e6c56 gpsd: fix multilib build
While testing arm 64/32 multi, the following issue was observed:

WARNING: gpsd-3.14-r0 do_package: QA Issue: gpsd: Files/directories were
installed but not shipped in any package:
  /usr/lib/libgpsd.so.22.0
  /usr/lib/libgps.so.22
  /usr/lib/libgpsd.so.22.0.0
  /usr/lib/libgpsd.so.22
  /usr/lib/libgps.so.22.0.0
  /usr/lib/libgps.so
  /usr/lib/libgps.so.22.0
  /usr/lib/libgpsd.so
  /usr/lib/pkgconfig
  /usr/lib/pkgconfig/libgpsd.pc
  /usr/lib/pkgconfig/libgps.pc
Please set FILES such that these items are packaged. Alternatively if they are
unneeded, avoid installing them or delete them within do_install.
gpsd: 11 installed and not shipped files. [installed-vs-shipped]
WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: /usr/bin/cgps contained in
package gps-utils requires libgps.so.22()(64bit), but no providers found in
RDEPENDS_gps-utils? [file-rdeps]
WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: /usr/sbin/gpsdctl contained in
package gpsd requires libgps.so.22()(64bit), but no providers found in
RDEPENDS_gpsd? [file-rdeps]
WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: /usr/bin/gpsctl contained in
package gpsd-gpsctl requires libgps.so.22()(64bit), but no providers found in
RDEPENDS_gpsd-gpsctl? [file-rdeps]
WARNING: gpsd-3.14-r0 do_package_qa: QA Issue: gpsd-dbg: found library in wrong
location: /usr/lib/.debug/libgpsd.so.22.0.0
gpsd-dbg: found library in wrong location: /usr/lib/.debug/libgps.so.22.0.0 [libdir]

gpsd SConstruct file defaults to using '/lib' suffix, which needs to be
overriden in the recipe.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-02 09:23:43 +01:00
Martin Jansa 8ba31c9ba2 gpsd, mongodb: use PACKAGECONFIG_CONFARGS instead of now empty EXTRA_OECONF
* this will fix mongodb build for x86
  http://errors.yoctoproject.org/Errors/Details/90392/
  which was failing because of missing --wiredtiger=off in qemux86 builds

* also we can drop DISABLE_STATIC, because now it's not leaking through
  EXTRA_OECONF

* it will also resolve again autodetected dependencies on bluez, qt and
  tcmalloc as shown in bitbake -e output:

env.gpsd-before:EXTRA_OESCONS="     sysroot=/OE/build/oe-core/tmp-glibc/sysroots/qemux86     libQgpsmm='false'     debug='true'     strip='false'     chrpath='yes'     systemd='true'      "
env.gpsd-after:EXTRA_OESCONS="     sysroot=/OE/build/oe-core/tmp-glibc/sysroots/qemux86     libQgpsmm='false'     debug='true'     strip='false'     chrpath='yes'     systemd='true'      bluez='true' qt='no' "

env.mongodb-before:EXTRA_OESCONS="--prefix=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0/image/usr                  LIBPATH=/OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/lib                  LINKFLAGS='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed'                  \
  CXXFLAGS='-O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0=/usr/src/debug/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0 -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/sysroots/x86_64-linux= -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/sysroots/qemux86= -fvisibility-inlines-hidden'                  \
  TARGET_ARCH=i586                  --ssl                  --disable-warnings-as-errors                  --use-system-pcre                  --use-system-zlib                  --js-engine=none                  --nostrip                                    mongod mongos"
env.mongodb-after:EXTRA_OESCONS="--prefix=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0/image/usr                  LIBPATH=/OE/build/oe-core/tmp-glibc/sysroots/qemux86/usr/lib                  LINKFLAGS='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed'                  \
  CXXFLAGS='-O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/i586-oe-linux/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0=/usr/src/debug/mongodb/3.3.0+gitAUTOINC+aacd231be0-r0 -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/sysroots/x86_64-linux= -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/sysroots/qemux86= -fvisibility-inlines-hidden'                  \
  TARGET_ARCH=i586                  --ssl                  --disable-warnings-as-errors                  --use-system-pcre                  --use-system-zlib                  --js-engine=none                  --nostrip                   --use-system-tcmalloc --wiredtiger=off                  mongod mongos"

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-21 18:20:45 +02:00
Khem Raj b18ac6dbbd gpsd: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-26 08:29:14 +02:00
Nicolas Dechesne 5641b25276 Revert "gpsd, foxtrotgps: blacklist, fails to build with new binutils-2.27"
This reverts commit 8c29023f1f.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-15 10:22:46 +02:00
Nicolas Dechesne c7137fd871 gpsd: make sure the recipe uses LDFLAGS
since commit fa436aeb3242cbfdbbe16d448d45bce8eb5b74fd in OE core, we are seeing
GNU_HASH QA failure when building gpsd. Since this commit we default to setting
the wrong linker hash style to detect such errors in recipes.

gpsd is using scons which does not take LDFLAGS into account, and LDFLAGS need
to be passed from the environment, using LINKFLAGS variable.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-15 10:22:46 +02:00
Martin Jansa 8c29023f1f gpsd, foxtrotgps: blacklist, fails to build with new binutils-2.27
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-05 13:30:54 +02:00
Martin Jansa dc48e768f5 meta-oe: remove trailing spaces
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:56:29 +02:00
Alexander Kanavin f9ce43cdf6 Remove unnecessary exports of HOST_SYS and BUILD_SYS in python-based recipes
They are no longer required to build python software.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08 14:55:25 +02:00
Ross Burton 21f10c11f3 meta-oe: use bb.utils.contains() instead of base_contains()
base_contains() is a compatibility wrapper and may warn in the future, so
replace all instances with bb.utils.contains().

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28 10:38:38 +02:00
Maxin B. John 5905ff8a0b gpsd: Fix build when static libs disabled
Fix this build error:
SCons Error: no such option: --disable-static

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-02 00:03:18 +01:00
Moritz Fischer 341253bd57 gpsd: Add patch to fix broken ACTIVATE hook.
This patch is already in mainline gpsd. It fixes a
bug where the ACTIVATE hook for a device never gets
called.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-27 12:36:31 +01:00
Martin Jansa 2fe11200fb gspd: disable qt4 support by default
* now with qt4 moved to separate meta-qt4 we shouldn't enable it by default

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-14 11:30:15 +01:00
Christopher Larson c2069a1420 gpsd: also support bluez5
gpsd uses libbluetooth, not the dbus interface, so it can work with bluez5 as
well, as the library is compatible.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:36:56 +01:00
Martin Jansa 8b18ff5c34 gpsd: Fix build with gcc-5.2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-23 15:37:16 +02:00
Philip Balister 738bc2733b gpsd: Update to 3.14.
* _NO_ATOMICS patches are from upstream
 * Update the SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch
 * Fix some QA warnings
 * Add PACKAGECONFIG for qt support

Signed-off-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-13 14:34:18 +02:00
Yi Zhao faa8cd3035 gpsd: fix PN -> BPN for multilib
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2015-05-13 14:32:03 +02:00
Peter Bigot dc55865551 gpsd: select distro preference for bluez provider
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-27 09:35:50 +01:00
Peter Bigot 3b6dd621da gpsd: add deterministic support for KPPS interface
gpsd enables low-precision PPS (pulse-per-second) support by default,
but only includes the high-precision kernel API capabilities if
sys/timepps.h is also detected.  Under Linux the pps-tools package
installs this header.  Remove the feature non-determinism and increase
gpsd capabilities by adding an explicit dependency.

See: http://www.catb.org/gpsd/gpsd-time-service-howto.html#_enabling_pps

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-01 11:37:12 +02:00
Peter Bigot 3bd654324c gpsd: update to 3.10
Patches rebased onto new version with no material changes.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-09-01 11:37:11 +02:00
Robert Yang 05de0ca43d meta-oe: use BPN in SRC_URI
Fixed SRC_URI:
* ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV}
* ${P} -> ${BP}

Otherwise we would meet do_fetch errors when we do the multilib, native
or nativesdk build.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:56:55 +02:00
Changhyeok Bae 04dcd55c9d quagga, fim, gpsd, hddtemp, libunwind, lzip: Change the url to variable for savannah in SRC_URI
* The variables (SAVANNAH_MIRROR)
  are defined in oe-core/meta/conf/bitbake.conf.
* MIRRORS in quagga and libunwind is removed.
  because the MIRRORS of savannah is globally defined
  in oe-core/meta/classes/mirrors.bbclass

Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-15 12:30:17 +02:00
Martin Jansa 3532bd1d86 recipes: bump PRs and remove PRINCs
* resolves following warnings:
  WARNING: Use of PRINC 17 was detected in the recipe meta-openembedded/meta-systemd/recipes-core/systemd/systemd-machine-units_1.0.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe meta-openembedded/meta-gpe/recipes-support/fbreader/fbreader_0.12.10.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe meta-openembedded/meta-gpe/recipes-support/fbreader/fbreader_git.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe meta-openembedded/meta-multimedia/recipes-multimedia/sox/sox_14.4.0.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe meta-openembedded/meta-oe/recipes-multimedia/mplayer/mplayer-common.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe meta-smartphone/meta-android/recipes-bsp/chroot-script/chroot-script_1.0.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-connectivity/avahi/avahi-ui_0.6.31.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-connectivity/bind/bind_9.8.1.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-core/systemd/systemd-serialgetty.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-extended/screen/screen_4.0.3.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-extended/shadow/shadow-securetty_4.1.4.3.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-extended/shadow/shadow_4.1.4.3.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-graphics/packagegroups/packagegroup-core-x11-xserver.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-kernel/modutils-initscripts/modutils-initscripts.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.25.bb (or one of its .bbappends)
  WARNING: Use of PRINC 1 was detected in the recipe openembedded-core/meta/recipes-support/libcap/libcap_2.22.bb (or one of its .bbappends)
  WARNING: Use of PRINC 11 was detected in the recipe openembedded-core/meta/recipes-bsp/keymaps/keymaps_1.0.bb (or one of its .bbappends)
  WARNING: Use of PRINC 11 was detected in the recipe openembedded-core/meta/recipes-core/systemd/systemd-compat-units.bb (or one of its .bbappends)
  WARNING: Use of PRINC 12 was detected in the recipe openembedded-core/meta/recipes-core/initscripts/initscripts_1.0.bb (or one of its .bbappends)
  WARNING: Use of PRINC 13 was detected in the recipe openembedded-core/meta/recipes-core/base-files/base-files_3.0.14.bb (or one of its .bbappends)
  WARNING: Use of PRINC 2 was detected in the recipe meta-openembedded/meta-oe/recipes-navigation/navit/navit_svn.bb (or one of its .bbappends)
  WARNING: Use of PRINC 2 was detected in the recipe meta-openembedded/meta-oe/recipes-support/lvm2/lvm2_2.02.97.bb (or one of its .bbappends)
  WARNING: Use of PRINC 2 was detected in the recipe openembedded-core/meta/recipes-connectivity/portmap/portmap_6.0.bb (or one of its .bbappends)
  WARNING: Use of PRINC 2 was detected in the recipe openembedded-core/meta/recipes-extended/pam/libpam_1.1.6.bb (or one of its .bbappends)
  WARNING: Use of PRINC 2 was detected in the recipe openembedded-core/meta/recipes-graphics/packagegroups/packagegroup-core-x11.bb (or one of its .bbappends)
  WARNING: Use of PRINC 3 was detected in the recipe meta-openembedded/meta-efl/recipes-efl/efl/entrance_svn.bb (or one of its .bbappends)
  WARNING: Use of PRINC 3 was detected in the recipe meta-openembedded/meta-oe/recipes-multimedia/mplayer/mplayer2_git.bb (or one of its .bbappends)
  WARNING: Use of PRINC 3 was detected in the recipe openembedded-core/meta/recipes-bsp/formfactor/formfactor_0.0.bb (or one of its .bbappends)
  WARNING: Use of PRINC 3 was detected in the recipe openembedded-core/meta/recipes-connectivity/avahi/avahi_0.6.31.bb (or one of its .bbappends)
  WARNING: Use of PRINC 3 was detected in the recipe openembedded-core/meta/recipes-connectivity/dhcp/dhcp_4.2.5-P1.bb (or one of its .bbappends)
  WARNING: Use of PRINC 3 was detected in the recipe openembedded-core/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb (or one of its .bbappends)
  WARNING: Use of PRINC 3 was detected in the recipe openembedded-core/meta/recipes-graphics/xinput-calibrator/pointercal-xinput_0.0.bb (or one of its .bbappends)
  WARNING: Use of PRINC 5 was detected in the recipe meta-openembedded/meta-oe/recipes-core/meta/distro-feed-configs.bb (or one of its .bbappends)
  WARNING: Use of PRINC 5 was detected in the recipe openembedded-core/meta/recipes-connectivity/bluez/bluez4_4.101.bb (or one of its .bbappends)
  WARNING: Use of PRINC 6 was detected in the recipe openembedded-core/meta/recipes-core/packagegroups/packagegroup-base.bb (or one of its .bbappends)
  WARNING: Use of PRINC 6 was detected in the recipe openembedded-core/meta/recipes-core/packagegroups/packagegroup-core-boot.bb (or one of its .bbappends)
  WARNING: Use of PRINC 6 was detected in the recipe openembedded-core/meta/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bb (or one of its .bbappends)
  WARNING: Use of PRINC 7 was detected in the recipe meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb (or one of its .bbappends)
  WARNING: Use of PRINC 7 was detected in the recipe openembedded-core/meta/recipes-core/udev/udev-extraconf_1.0.bb (or one of its .bbappends)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-05 18:37:31 +01:00
Matthieu CRAPET c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
Martin Jansa cf46cc88bb gpsd: add PACKAGECONFIG for bluez
* it's autodetected from sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-08-14 13:34:30 +02:00
Holger Hans Peter Freyther cb092cc4ea gpsd: Mark the configuration file as a CONFFILES
Mark the file in /etc/default/gpsd as a CONFFILES of the gpsd-conf
package.

Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-27 18:52:23 +02:00
Martin Jansa a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Martin Jansa e965f6efc0 gpsd: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:22:04 +02:00
Martin Jansa 53e2ae8897 gpsd: fix warning about overwritting keys
* WARNING: Variable key FILES_${PN}-dev (${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig ${datadir}/aclocal ${base_libdir}/*.o ${libdir}/${BPN}/*.la ${base_libdir}/*.la) replaces original key FILES_gpsd-dev ( ${libdir}/pkgconfdir/libgpsd.pc ${libdir}/pkgconfdir/libgps.pc).

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-15 16:16:51 +02:00
Martin Jansa 230e2171d0 gpsd: fix udev rules file
systemd-udevd[41]: unknown key 'SYSFS{idVendor}' in /etc/udev/rules.d/60-gpsd.rules:43
systemd-udevd[41]: invalid rule '/etc/udev/rules.d/60-gpsd.rules:43'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-03-06 06:05:35 +01:00
Martin Jansa f8004aa4a7 gpsd: use chrpath-replacement-native now
* chrpath-native was added to ASSUME_PROVIDED
  http://lists.linuxtogo.org/pipermail/openembedded-core/2012-October/030744.html
* it would be better to not use chrpath at all, but build.txt says:
  If you do not have chrpath available, GPSD binaries will be built
  statically.
  ...
  When you are cross-compiling, you'll need chrpath at version 0.14 or
  later for cross-architecture support.  If it's not yet packaged for
  your environment, see http://alioth.debian.org/projects/chrpath/
  and I prefer to stick to upstream

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-10-05 12:17:41 +02:00
Martin Jansa f9f3477f68 gpsd-machine-conf: add empty recipe for BSP layers to bbappend it
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-08-30 10:42:12 +02:00
Martin Jansa 541bb1970a gpsd: add gpsd-machine-conf to RRECOMMENDS
* it could be something machine specific (config + hoooks) and we don't want gpsd sstate checksum depending on MACHINE var
* gpsd-machine-conf itself is using u-a to select right config

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-08-30 10:42:11 +02:00
Denis 'GNUtoo' Carikli 334b5198e1 gpsd: update to 3.7, drop older 3.5 and git recipe
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-08-20 10:02:09 +02:00
Martin Jansa 038f326406 gpsd: add chrpath-native to DEPENDS otherwise it could autodetect host chrpath
* which doesn't work sometimes:
  chrpath -d "/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.5-r7/image/usr/sbin/gpsd"
  `/var/lib/jenkins/jobs/shr-core/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.5-r7/image/usr/sbin/gpsd'
  probably isn't a 64-bit LSB-first ELF file.
  elf_open: Exec format error

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-30 23:41:53 +02:00
Martin Jansa 7e42a01229 gpsd: drop older version 3.4
* GNUtoo tested 3.5 and it works fine, Thanks

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-28 22:45:47 +02:00
Martin Jansa b67c23022f gpsd: inherit pythonnative
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-07-24 08:52:05 +02:00
Andreas Müller 87526c2f21 gpsd: move systemd support to meta-systemd 2012-07-16 09:39:07 +02:00
Denis 'GNUtoo' Carikli 6ba88f7ad9 gpsd: override gpsd.service to use GPS_DEVICES from /etc/default/gpsd
Without that fix gpsd starts without using the machine specific
  gps serial port.

On some devices like the GTA04, not only that makes GPS not work,
  but that also prevent suspend because GPS has to be off in order
  for suspend to succeed(and the program powering off the GPS
  has to know if the GPS is on or off by using gpsd).

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-21 20:03:54 +02:00
Martin Jansa 21b85f3426 recipes: bump PR to fix -systemd postinsts where SYSTEMD_SERVICE was used without PN* suffix
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-06-05 10:46:52 +02:00
Martin Jansa c688085b4c gpsd: disable docs generation
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-30 08:25:13 +02:00
Martin Jansa a243ddc2af gpsd: add chrpath-native to depends
* on debian wheezy I've seen this
$ tmp-eglibc/sysroots/x86_64-linux/usr/bin/chrpath ../../../shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.4-r2/image/usr/sbin/gpsd
../../../shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.4-r2/image/usr/sbin/gpsd: RPATH=/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.4-r2/gpsd-3.4:/var/lib/jenkins/jobs/shr-core-branches/workspace/shr-core/tmp-eglibc/sysroots/om-gta02/usr/lib
$ chrpath ../../../shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.4-r2/image/usr/sbin/gpsd
`../../../shr-core-branches/workspace/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd-3.4-r2/image/usr/sbin/gpsd' probably isn't a 64-bit LSB-first ELF file.
Usage: chrpath [-v|-d|-c|-r <path>] <program> [<program> ...]
                               with the path given
   -l|--list                   List the current rpath/runpath (default)
   -h|--help                   Show this usage information.

$ chrpath -v
chrpath version 0.13
$ tmp-eglibc/sysroots/x86_64-linux/usr/bin/chrpath -v
chrpath version 0.14

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-30 08:25:13 +02:00