All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-oe][PATCH 03/16] gpsd-3.4: minor style issues
Date: Mon, 30 Apr 2012 08:33:00 +0200	[thread overview]
Message-ID: <054be7129a1fb427cde94be2c3044f25e359f6bc.1335767139.git.Martin.Jansa@gmail.com> (raw)
In-Reply-To: <cover.1335767139.git.Martin.Jansa@gmail.com>
In-Reply-To: <cover.1335767139.git.Martin.Jansa@gmail.com>

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-navigation/gpsd/gpsd_3.4.bb |   29 ++++++++++++--------------
 1 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.4.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.4.bb
index 972871a..0e67555 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.4.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.4.bb
@@ -5,16 +5,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d217a23f408e91c94359447735bc1800"
 DEPENDS = "dbus dbus-glib ncurses python libusb1"
 PROVIDES = "virtual/gpsd"
 
-PR = "r0"
-
-SRC_URI = "http://download.savannah.gnu.org/releases/gpsd/gpsd-${PV}.tar.gz;name=gpsd \
-           file://gpsd-default \
-           file://gpsd \
-           file://gpsd.socket \
-           file://gpsd.service \
-           file://60-gpsd.rules"
-SRC_URI[gpsd.md5sum] = "c01353459faa68834309109d4e868460"
-SRC_URI[gpsd.sha256sum] = "79f7de9ead63c7f5d2c9a92e85b5f82e53323c4d451ef8e27ea265ac3ef9a70f"
+SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \
+  file://gpsd-default \
+  file://gpsd \
+  file://gpsd.socket \
+  file://gpsd.service \
+  file://60-gpsd.rules \
+"
+SRC_URI[md5sum] = "c01353459faa68834309109d4e868460"
+SRC_URI[sha256sum] = "79f7de9ead63c7f5d2c9a92e85b5f82e53323c4d451ef8e27ea265ac3ef9a70f"
 
 inherit scons update-rc.d python-dir systemd
 
@@ -24,7 +23,6 @@ INITSCRIPT_PARAMS = "defaults 35"
 SYSTEMD_PACKAGES = "${PN}-systemd"
 SYSTEMD_SERVICE = "${PN}.socket"
 
-
 LDFLAGS += "-L${STAGING_LIBDIR} -lm"
 export STAGING_INCDIR
 export STAGING_LIBDIR
@@ -66,13 +64,10 @@ do_install_append() {
     install -m 0644 ${WORKDIR}/60-gpsd.rules ${D}/${sysconfdir}/udev/rules.d
     install -d ${D}${base_libdir}/udev/
     install -m 0755 ${S}/gpsd.hotplug ${D}${base_libdir}/udev/
-    install -d ${D}${base_libdir}/udev/
 
     #support for python
     install -d ${D}/${PYTHON_SITEPACKAGES_DIR}/gps
-    for f in ${S}/gps/* ;do
-        install $f ${D}/${PYTHON_SITEPACKAGES_DIR}/gps
-    done
+    install -m 755 ${S}/gps/*.py ${D}/${PYTHON_SITEPACKAGES_DIR}/gps
 }
 
 pkg_postinst_${PN}-conf() {
@@ -80,11 +75,13 @@ pkg_postinst_${PN}-conf() {
 }
 
 pkg_postrm_${PN}-conf() {
-	update-alternatives --remove gpsd-defaults ${sysconfdir}/default/gpsd.default	
+	update-alternatives --remove gpsd-defaults ${sysconfdir}/default/gpsd.default
 }
 
 PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils"
 
+FILES_gpsd-dev += "${libdir}/pkgconfdir/libgpsd.pc ${libdir}/pkgconfdir/libgps.pc"
+
 FILES_python-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug"
 
 RDEPENDS_${PN} = "gpsd-gpsctl"
-- 
1.7.8.6




  parent reply	other threads:[~2012-04-30  6:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-30  6:32 [meta-oe][PATCH 00/16] gpsd upgrade Martin Jansa
2012-04-30  6:32 ` [meta-oe][PATCH 01/16] gpsd: update to 3.4 Martin Jansa
2012-04-30  6:32 ` [meta-oe][PATCH 02/16] gpsd: move files to gpsd dir as they are not version specific Martin Jansa
2012-04-30  6:33 ` Martin Jansa [this message]
2012-04-30  6:33 ` [meta-oe][PATCH 04/16] gpsd-3.4: drop pkgconfig='' Martin Jansa
2012-04-30  6:33 ` [meta-oe][PATCH 05/16] gpsd-3.4: fix DSO build correctly Martin Jansa
2012-04-30  6:33 ` [meta-oe][PATCH 06/16] gpsd: pass sysroot param to scons and fix SConstruct to respect that Martin Jansa
2012-04-30  6:33 ` [meta-oe][PATCH 07/16] gpsd: export PKG_CONFIG with PKG_CONFIG_SYSROOT_DIR Martin Jansa
2012-04-30  6:33 ` [meta-oe][PATCH 08/16] gpsd: use gpsd.service and gpsd.socket from source tree, drop local files Martin Jansa
2012-04-30  6:33 ` [meta-oe][PATCH 09/16] gpsd: replace whole do_install from scons.bbclass Martin Jansa
2012-04-30  6:33 ` [meta-oe][PATCH 10/16] gpsd: remove RPATH from binaries instead of replacing it with redundant /usr/lib Martin Jansa
2012-04-30  6:33 ` [meta-oe][PATCH 11/16] gpsd: add recipe for 3.5 with negative D_P for testing Martin Jansa
2012-04-30  6:33 ` [meta-oe][PATCH 12/16] gpsd: add git recipe with negative D_P for tests Martin Jansa
2012-04-30  6:33 ` [meta-oe][PATCH 13/16] gpsd-3.4: fix python paths and RPATHs Martin Jansa
2012-04-30  6:33 ` [meta-oe][PATCH 14/16] gpsd: " Martin Jansa
2012-04-30  6:33 ` [meta-oe][PATCH 15/16] gpsd: add chrpath-native to depends Martin Jansa
2012-04-30  6:33 ` [meta-oe][PATCH 16/16] gpsd: disable docs generation Martin Jansa

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=054be7129a1fb427cde94be2c3044f25e359f6bc.1335767139.git.Martin.Jansa@gmail.com \
    --to=martin.jansa@gmail.com \
    --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.