Skip to contentSkip to conversation

gpsd: Prepare recipe and inc for version bump

PATCH In review Michael Lippautz 5 participants 9 messages Jan 22, 2010 – Jan 24, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gpsd: Prepare recipe and inc for version bump

---
 recipes/gpsd/gpsd.inc     |    9 ++++++---
 recipes/gpsd/gpsd_2.38.bb |    4 +++-
 2 files changed, 9 insertions(+), 4 deletions(-)
recipes/gpsd/gpsd.inc +6 -3
index a917fbe..5efbe2a 100644
@@ -5,12 +5,14 @@ LICENSE = "GPL"
 DEPENDS = "dbus-glib ncurses python"
 PROVIDES = "virtual/gpsd"
 
+INC_PR = "r0"
+
 EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
                 --x-libraries=${STAGING_LIBDIR} \
                 --enable-dbus \
-                --enable-python"
+"
 
-SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \
+SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz;name=gpsd \
            file://gpsd-default \
            file://gps-hardware \
            file://gpsd"
@@ -28,6 +30,8 @@ LDFLAGS += "-L${STAGING_LIBDIR} -lm"
 export STAGING_INCDIR
 export STAGING_LIBDIR
 
+TARGET_CC_ARCH += "${LDFLAGS}"
+
 do_compile_prepend() {
     export BUILD_SYS="${BUILD_SYS}"
     export HOST_SYS="${HOST_SYS}"
@@ -41,7 +45,6 @@ do_install_prepend() {
 
 do_install_append() {
         install -d ${D}/${sysconfdir}/init.d
-        install -d ${D}/dev
         install -m 0755 ${WORKDIR}/gpsd ${D}/${sysconfdir}/init.d/
         install -m 0755 ${WORKDIR}/gps-hardware ${D}/${sysconfdir}/init.d/gps-hardware.default
         install -d ${D}/${sysconfdir}/default
recipes/gpsd/gpsd_2.38.bb +3 -1
index 06a5fe7..7c7a477 100644
@@ -1,5 +1,7 @@
 require gpsd.inc
 
-PR = "r2"
+PR = "${INC_PR}.1"
 # make attempts to link gpspacket.so without waiting for all compiler tasks:
 PARALLEL_MAKE = ""
+
+EXTRA_OECONF += " --enable-python "
Signature · 1 line
1.6.4.4
#1 lore raw
Quoted 12 lines · Michael Lippautz
---
 recipes/gpsd/gpsd.inc     |    9 ++++++---
 recipes/gpsd/gpsd_2.38.bb |    4 +++-
 2 files changed, 9 insertions(+), 4 deletions(-)
recipes/gpsd/gpsd.inc +0 -0
index a917fbe..5efbe2a 100644

recipes/gpsd/gpsd.inc LICENSE = "GPL" · line 9

Quoted 5 lines
recipes/gpsd/gpsd.inc +2 -0
@@ -5,12 +5,14 @@ LICENSE = "GPL"
 DEPENDS = "dbus-glib ncurses python"
 PROVIDES = "virtual/gpsd"
 
+INC_PR = "r0"
+

this should be set to r2 or more because that was already revision where the recipe was at.

Otherwise ok.

Quoted 49 lines
recipes/gpsd/gpsd.inc +4 -3
 EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
                 --x-libraries=${STAGING_LIBDIR} \
                 --enable-dbus \
-                --enable-python"
+"
 
-SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \
+SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz;name=gpsd \
            file://gpsd-default \
            file://gps-hardware \
            file://gpsd"
@@ -28,6 +30,8 @@ LDFLAGS += "-L${STAGING_LIBDIR} -lm"
 export STAGING_INCDIR
 export STAGING_LIBDIR
 
+TARGET_CC_ARCH += "${LDFLAGS}"
+
 do_compile_prepend() {
     export BUILD_SYS="${BUILD_SYS}"
     export HOST_SYS="${HOST_SYS}"
@@ -41,7 +45,6 @@ do_install_prepend() {
 
 do_install_append() {
         install -d ${D}/${sysconfdir}/init.d
-        install -d ${D}/dev
         install -m 0755 ${WORKDIR}/gpsd ${D}/${sysconfdir}/init.d/
         install -m 0755 ${WORKDIR}/gps-hardware ${D}/${sysconfdir}/init.d/gps-hardware.default
         install -d ${D}/${sysconfdir}/default
recipes/gpsd/gpsd_2.38.bb +3 -1
index 06a5fe7..7c7a477 100644
@@ -1,5 +1,7 @@
 require gpsd.inc
 
-PR = "r2"
+PR = "${INC_PR}.1"
 # make attempts to link gpspacket.so without waiting for all compiler tasks:
 PARALLEL_MAKE = ""
+
+EXTRA_OECONF += " --enable-python "
Signature · 7 lines
1.6.4.4


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
#2 lore raw
---
 recipes/gpsd/gpsd.inc     |    9 ++++++---
 recipes/gpsd/gpsd_2.38.bb |    4 +++-
 2 files changed, 9 insertions(+), 4 deletions(-)
recipes/gpsd/gpsd.inc +6 -3
index a917fbe..c3e07ec 100644
@@ -5,12 +5,14 @@ LICENSE = "GPL"
 DEPENDS = "dbus-glib ncurses python"
 PROVIDES = "virtual/gpsd"
 
+INC_PR = "r2"
+
 EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
                 --x-libraries=${STAGING_LIBDIR} \
                 --enable-dbus \
-                --enable-python"
+"
 
-SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \
+SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz;name=gpsd
\
            file://gpsd-default \
            file://gps-hardware \
            file://gpsd"
@@ -28,6 +30,8 @@ LDFLAGS += "-L${STAGING_LIBDIR} -lm"
 export STAGING_INCDIR
 export STAGING_LIBDIR
 
+TARGET_CC_ARCH += "${LDFLAGS}"
+
 do_compile_prepend() {
     export BUILD_SYS="${BUILD_SYS}"
     export HOST_SYS="${HOST_SYS}"
@@ -41,7 +45,6 @@ do_install_prepend() {
 
 do_install_append() {
         install -d ${D}/${sysconfdir}/init.d
-        install -d ${D}/dev
         install -m 0755 ${WORKDIR}/gpsd ${D}/${sysconfdir}/init.d/
         install -m 0755 ${WORKDIR}/gps-hardware

${D}/${sysconfdir}/init.d/gps-hardware.default

         install -d ${D}/${sysconfdir}/default
recipes/gpsd/gpsd_2.38.bb +1 -1
index 06a5fe7..7c7a477 100644
@@ -1,5 +1,7 @@
 require gpsd.inc
 
-PR = "r2"
+PR = "${INC_PR}.1"
 # make attempts to link gpspacket.so without waiting for all compiler

tasks:
PARALLEL_MAKE = ""
+
+EXTRA_OECONF += " --enable-python "

Signature · 3 lines
1.6.4.4

Am Freitag, den 22.01.2010, 14:21 -0800 schrieb Khem Raj:
Quoted 78 lines · Michael Lippautz
Quoted 12 lines
---
 recipes/gpsd/gpsd.inc     |    9 ++++++---
 recipes/gpsd/gpsd_2.38.bb |    4 +++-
 2 files changed, 9 insertions(+), 4 deletions(-)
recipes/gpsd/gpsd.inc +0 -0
index a917fbe..5efbe2a 100644

recipes/gpsd/gpsd.inc LICENSE = "GPL" · line 9

Quoted 5 lines
recipes/gpsd/gpsd.inc +2 -0
@@ -5,12 +5,14 @@ LICENSE = "GPL"
 DEPENDS = "dbus-glib ncurses python"
 PROVIDES = "virtual/gpsd"
 
+INC_PR = "r0"
+

this should be set to r2 or more because that was already revision where the recipe was at.

Otherwise ok.

Quoted 49 lines
recipes/gpsd/gpsd.inc +4 -3
 EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
                 --x-libraries=${STAGING_LIBDIR} \
                 --enable-dbus \
-                --enable-python"
+"
 
-SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \
+SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz;name=gpsd \
            file://gpsd-default \
            file://gps-hardware \
            file://gpsd"
@@ -28,6 +30,8 @@ LDFLAGS += "-L${STAGING_LIBDIR} -lm"
 export STAGING_INCDIR
 export STAGING_LIBDIR
 
+TARGET_CC_ARCH += "${LDFLAGS}"
+
 do_compile_prepend() {
     export BUILD_SYS="${BUILD_SYS}"
     export HOST_SYS="${HOST_SYS}"
@@ -41,7 +45,6 @@ do_install_prepend() {
 
 do_install_append() {
         install -d ${D}/${sysconfdir}/init.d
-        install -d ${D}/dev
         install -m 0755 ${WORKDIR}/gpsd ${D}/${sysconfdir}/init.d/
         install -m 0755 ${WORKDIR}/gps-hardware ${D}/${sysconfdir}/init.d/gps-hardware.default
         install -d ${D}/${sysconfdir}/default
recipes/gpsd/gpsd_2.38.bb +3 -1
index 06a5fe7..7c7a477 100644
@@ -1,5 +1,7 @@
 require gpsd.inc
 
-PR = "r2"
+PR = "${INC_PR}.1"
 # make attempts to link gpspacket.so without waiting for all compiler tasks:
 PARALLEL_MAKE = ""
+
+EXTRA_OECONF += " --enable-python "
Signature · 7 lines
1.6.4.4


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw
Quoted 3 lines · On Saturday 23 January 2010 11:31:21 Michael Lippautz wrote:
recipes/gpsd/gpsd.inc +1 -1
-SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \
+SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz;name=gpsd

\

Hi,
your mailer has wrapped this line making it impossible to to apply the patch. It would be nice if you could send a final patch without line wrapping.

thanks a lot
zecke

#4 lore raw

Am Sonntag, den 24.01.2010, 11:38 +0100 schrieb Holger Hans Peter Freyther:

Quoted 8 lines · On Saturday 23 January 2010 11:31:21 Michael Lippautz wrote:
Quoted 4 lines
recipes/gpsd/gpsd.inc +1 -1
-SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \
+SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz;name=gpsd

\

your mailer has wrapped this line making it impossible to to apply the patch. It would be nice if you could send a final patch without line wrapping.

Michael, you could also shorten that line using »…${P}« [1].

P: The package name and versions separated by a hyphen.

P = "${PN}-${PV}"
For the strace_4.5.14.bb recipe the P variable would be set to "strace-4.5.14".

Thanks,

Paul

[1] http://docs.openembedded.org/usermanual/html/recipes_versioning.html

#5 lore raw
In reply to Michael Lippautz

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Speaking of GPSD, should we make the default config use a control socket instead of hardcoding ttyS3?

regards,

Koen

Quoted 50 lines · Michael Lippautz
---
 recipes/gpsd/gpsd.inc     |    9 ++++++---
 recipes/gpsd/gpsd_2.38.bb |    4 +++-
 2 files changed, 9 insertions(+), 4 deletions(-)
recipes/gpsd/gpsd.inc +6 -3
index a917fbe..5efbe2a 100644
@@ -5,12 +5,14 @@ LICENSE = "GPL"
 DEPENDS = "dbus-glib ncurses python"
 PROVIDES = "virtual/gpsd"
 
+INC_PR = "r0"
+
 EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
                 --x-libraries=${STAGING_LIBDIR} \
                 --enable-dbus \
-                --enable-python"
+"
 
-SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \
+SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz;name=gpsd \
            file://gpsd-default \
            file://gps-hardware \
            file://gpsd"
@@ -28,6 +30,8 @@ LDFLAGS += "-L${STAGING_LIBDIR} -lm"
 export STAGING_INCDIR
 export STAGING_LIBDIR
 
+TARGET_CC_ARCH += "${LDFLAGS}"
+
 do_compile_prepend() {
     export BUILD_SYS="${BUILD_SYS}"
     export HOST_SYS="${HOST_SYS}"
@@ -41,7 +45,6 @@ do_install_prepend() {
 
 do_install_append() {
         install -d ${D}/${sysconfdir}/init.d
-        install -d ${D}/dev
         install -m 0755 ${WORKDIR}/gpsd ${D}/${sysconfdir}/init.d/
         install -m 0755 ${WORKDIR}/gps-hardware ${D}/${sysconfdir}/init.d/gps-hardware.default
         install -d ${D}/${sysconfdir}/default
recipes/gpsd/gpsd_2.38.bb +0 -0
index 06a5fe7..7c7a477 100644

recipes/gpsd/gpsd_2.38.bb line 7

Quoted 8 lines
recipes/gpsd/gpsd_2.38.bb +3 -1
@@ -1,5 +1,7 @@
 require gpsd.inc
 
-PR = "r2"
+PR = "${INC_PR}.1"
 # make attempts to link gpspacket.so without waiting for all compiler tasks:
 PARALLEL_MAKE = ""
+
+EXTRA_OECONF += " --enable-python "

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLWtMyMkyGM64RGpERAtmDAJ9WqnRXPxe1NX6+HWg4hfPxTYd1bACffpoW SG0ttXz5eVQUTE1J7X6vF5Q=
=+Wfg
-----END PGP SIGNATURE-----

#6 lore raw

Since a few parts of the .inc are quite confusing I didn't want to touch it too much.

Ofc we can start gpsd using a control socket.

How should we then solve the problem concerning the different devices? We would still need an init script that adds gps hardware to gpsd via the socket and additional packages for different devices providing a hardware file (containing the path) ?

I am open for suggestions since an I really want to update this. (Future gpsd will remove the current API to provide additional gps devices support)

Regards,
Michael

2010/1/23 Koen Kooi <[email protected]>:

Quoted 84 lines

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Speaking of GPSD, should we make the default config use a control socket instead of hardcoding ttyS3?

regards,

Koen

Quoted 56 lines · Michael Lippautz

---
 recipes/gpsd/gpsd.inc     |    9 ++++++---
 recipes/gpsd/gpsd_2.38.bb |    4 +++-

 2 files changed, 9 insertions(+), 4 deletions(-)
recipes/gpsd/gpsd.inc +0 -0
index a917fbe..5efbe2a 100644
@@ -5,12 +5,14 @@ LICENSE = "GPL"

 DEPENDS = "dbus-glib ncurses python"
 PROVIDES = "virtual/gpsd"

recipes/gpsd/gpsd.inc +2 -0
+INC_PR = "r0"
+

 EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
                 --x-libraries=${STAGING_LIBDIR} \
                 --enable-dbus \
-                --enable-python"
+"

recipes/gpsd/gpsd.inc +1 -1
-SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \
+SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz;name=gpsd \

            file://gpsd-default \
            file://gps-hardware \
            file://gpsd"

recipes/gpsd/gpsd.inc +0 -0
@@ -28,6 +30,8 @@ LDFLAGS += "-L${STAGING_LIBDIR} -lm"

 export STAGING_INCDIR
 export STAGING_LIBDIR

recipes/gpsd/gpsd.inc +2 -0
+TARGET_CC_ARCH += "${LDFLAGS}"
+

 do_compile_prepend() {
     export BUILD_SYS="${BUILD_SYS}"
     export HOST_SYS="${HOST_SYS}"

recipes/gpsd/gpsd.inc +0 -0
@@ -41,7 +45,6 @@ do_install_prepend() {
 
  do_install_append() {

         install -d ${D}/${sysconfdir}/init.d
-        install -d ${D}/dev
         install -m 0755 ${WORKDIR}/gpsd ${D}/${sysconfdir}/init.d/
         install -m 0755 ${WORKDIR}/gps-hardware ${D}/${sysconfdir}/init.d/gps-hardware.default install -d ${D}/${sysconfdir}/default

recipes/gpsd/gpsd_2.38.bb +0 -0
index 06a5fe7..7c7a477 100644
@@ -1,5 +1,7 @@

 require gpsd.inc

recipes/gpsd/gpsd_2.38.bb +1 -1
-PR = "r2"
+PR = "${INC_PR}.1"
 # make attempts to link gpspacket.so without waiting for all compiler tasks:
 PARALLEL_MAKE = ""

recipes/gpsd/gpsd_2.38.bb line 7

Quoted 2 lines
recipes/gpsd/gpsd_2.38.bb +2 -0
+
+EXTRA_OECONF += " --enable-python "

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLWtMyMkyGM64RGpERAtmDAJ9WqnRXPxe1NX6+HWg4hfPxTYd1bACffpoW SG0ttXz5eVQUTE1J7X6vF5Q=
=+Wfg
-----END PGP SIGNATURE-----

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#7 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 9 lines · Michael Lippautz

Since a few parts of the .inc are quite confusing I didn't want to touch it too much.

Ofc we can start gpsd using a control socket.

How should we then solve the problem concerning the different devices? We would still need an init script that adds gps hardware to gpsd via the socket and additional packages for different devices providing a hardware file (containing the path) ?

I have no strong opinion on that, it's just that machine specific initscripts (vs machine specific /etc/default/foo) are just evil :)

Quoted 3 lines

I am open for suggestions since an I really want to update this. (Future gpsd will remove the current API to provide additional gps devices support)

My remarks had nothing to do with your patch (which looks fine, btw), it just triggered a memory about *#(@*(@ gpsd-conf.

regards,

Koen

Quoted 7 lines

Regards,
Michael

2010/1/23 Koen Kooi <[email protected]>:
Speaking of GPSD, should we make the default config use a control socket instead of hardcoding ttyS3?

Quoted 66 lines

regards,

Koen

Quoted 61 lines · Michael Lippautz
Quoted 58 lines
Quoted 58 lines
---
 recipes/gpsd/gpsd.inc     |    9 ++++++---
 recipes/gpsd/gpsd_2.38.bb |    4 +++-
 2 files changed, 9 insertions(+), 4 deletions(-)
recipes/gpsd/gpsd.inc +6 -3
index a917fbe..5efbe2a 100644
@@ -5,12 +5,14 @@ LICENSE = "GPL"
 DEPENDS = "dbus-glib ncurses python"
 PROVIDES = "virtual/gpsd"
 
+INC_PR = "r0"
+
 EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
                 --x-libraries=${STAGING_LIBDIR} \
                 --enable-dbus \
-                --enable-python"
+"
 
-SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \
+SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz;name=gpsd \
            file://gpsd-default \
            file://gps-hardware \
            file://gpsd"
@@ -28,6 +30,8 @@ LDFLAGS += "-L${STAGING_LIBDIR} -lm"
 export STAGING_INCDIR
 export STAGING_LIBDIR
 
+TARGET_CC_ARCH += "${LDFLAGS}"
+
 do_compile_prepend() {
     export BUILD_SYS="${BUILD_SYS}"
     export HOST_SYS="${HOST_SYS}"
@@ -41,7 +45,6 @@ do_install_prepend() {
 
 do_install_append() {
         install -d ${D}/${sysconfdir}/init.d
-        install -d ${D}/dev
         install -m 0755 ${WORKDIR}/gpsd ${D}/${sysconfdir}/init.d/
         install -m 0755 ${WORKDIR}/gps-hardware ${D}/${sysconfdir}/init.d/gps-hardware.default
         install -d ${D}/${sysconfdir}/default
recipes/gpsd/gpsd_2.38.bb +3 -1
index 06a5fe7..7c7a477 100644
@@ -1,5 +1,7 @@
 require gpsd.inc
 
-PR = "r2"
+PR = "${INC_PR}.1"
 # make attempts to link gpspacket.so without waiting for all compiler tasks:
 PARALLEL_MAKE = ""
+
+EXTRA_OECONF += " --enable-python "

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Quoted 1 line
Quoted 1 line

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLWwKZMkyGM64RGpERAi5bAJ9oNZzwy8Jrl03IovVdD4Bqw2tIkQCgsW4+ jq/K97DHKqK4b05yJv+if34=
=33vV
-----END PGP SIGNATURE-----

#8 lore raw

So maybe you should not submit the patch...

I would create the recipe as gpsd started up in init.d using a control socket. But from there on i don't know how machine/gps-device specific options should be integrated. Should they be packed into a new recipe, i.e. gpsd-device-....? And if, how if not thorugh defaults or init.d?

regards,
Michael

2010/1/23 Koen Kooi <[email protected]>:

Quoted 122 lines

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 9 lines · Michael Lippautz

Since a few parts of the .inc are quite confusing I didn't want to touch it too much.

Ofc we can start gpsd using a control socket.

How should we then solve the problem concerning the different devices? We would still need an init script that adds gps hardware to gpsd via the socket and additional packages for different devices providing a hardware file (containing the path) ?

I have no strong opinion on that, it's just that machine specific initscripts (vs machine specific /etc/default/foo) are just evil :)

Quoted 3 lines

I am open for suggestions since an I really want to update this. (Future gpsd will remove the current API to provide additional gps devices support)

My remarks had nothing to do with your patch (which looks fine, btw), it just triggered a memory about *#(@*(@ gpsd-conf.

regards,

Koen

Quoted 7 lines

Regards,
Michael

2010/1/23 Koen Kooi <[email protected]>:
Speaking of GPSD, should we make the default config use a control socket instead of hardcoding ttyS3?

Quoted 66 lines

regards,

Koen

Quoted 61 lines · Michael Lippautz
Quoted 58 lines
Quoted 58 lines

---
 recipes/gpsd/gpsd.inc     |    9 ++++++---
 recipes/gpsd/gpsd_2.38.bb |    4 +++-

 2 files changed, 9 insertions(+), 4 deletions(-)
recipes/gpsd/gpsd.inc +0 -0
index a917fbe..5efbe2a 100644
@@ -5,12 +5,14 @@ LICENSE = "GPL"

 DEPENDS = "dbus-glib ncurses python"
 PROVIDES = "virtual/gpsd"

recipes/gpsd/gpsd.inc +2 -0
+INC_PR = "r0"
+

 EXTRA_OECONF = "--x-includes=${STAGING_INCDIR}/X11 \
                 --x-libraries=${STAGING_LIBDIR} \
                 --enable-dbus \
-                --enable-python"
+"

recipes/gpsd/gpsd.inc +1 -1
-SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz \
+SRC_URI = "http://download.berlios.de/gpsd/gpsd-${PV}.tar.gz;name=gpsd \

            file://gpsd-default \
            file://gps-hardware \
            file://gpsd"

recipes/gpsd/gpsd.inc +0 -0
@@ -28,6 +30,8 @@ LDFLAGS += "-L${STAGING_LIBDIR} -lm"

 export STAGING_INCDIR
 export STAGING_LIBDIR

recipes/gpsd/gpsd.inc +2 -0
+TARGET_CC_ARCH += "${LDFLAGS}"
+

 do_compile_prepend() {
     export BUILD_SYS="${BUILD_SYS}"
     export HOST_SYS="${HOST_SYS}"

recipes/gpsd/gpsd.inc +0 -0
@@ -41,7 +45,6 @@ do_install_prepend() {
 
  do_install_append() {

         install -d ${D}/${sysconfdir}/init.d
-        install -d ${D}/dev
         install -m 0755 ${WORKDIR}/gpsd ${D}/${sysconfdir}/init.d/
         install -m 0755 ${WORKDIR}/gps-hardware ${D}/${sysconfdir}/init.d/gps-hardware.default install -d ${D}/${sysconfdir}/default

recipes/gpsd/gpsd_2.38.bb +0 -0
index 06a5fe7..7c7a477 100644
@@ -1,5 +1,7 @@

 require gpsd.inc

recipes/gpsd/gpsd_2.38.bb +1 -1
-PR = "r2"
+PR = "${INC_PR}.1"
 # make attempts to link gpspacket.so without waiting for all compiler tasks:
 PARALLEL_MAKE = ""
recipes/gpsd/gpsd_2.38.bb +2 -0
+
+EXTRA_OECONF += " --enable-python "

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Quoted 1 line
Quoted 1 line

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLWwKZMkyGM64RGpERAi5bAJ9oNZzwy8Jrl03IovVdD4Bqw2tIkQCgsW4+ jq/K97DHKqK4b05yJv+if34=
=33vV
-----END PGP SIGNATURE-----

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel