All of lore.kernel.org
 help / color / mirror / Atom feed
* Updates for the palmpre machine
@ 2010-08-31  6:31 Simon Busch
  2010-08-31  6:31 ` [PATCH 1/5] msmcomm: split msmcommd recipe into three parts as upstream layout has changed Simon Busch
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Simon Busch @ 2010-08-31  6:31 UTC (permalink / raw)
  To: openembedded-devel

Heyho,

the following patches improves the support for the palmpre machine. They updates the
recipes for the msmcomm daemon to the latest version and fix the dependencies on
libfsotransport and fsogsmd. If nobody has any complaints about these patches I will 
commit them in the next days.

regards,
morphis




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/5] msmcomm: split msmcommd recipe into three parts as upstream layout has changed
  2010-08-31  6:31 Updates for the palmpre machine Simon Busch
@ 2010-08-31  6:31 ` Simon Busch
  2010-08-31  6:31 ` [PATCH 2/5] palmpre-system-deps-native: add initial recipe Simon Busch
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Simon Busch @ 2010-08-31  6:31 UTC (permalink / raw)
  To: openembedded-devel

We have now three parts for the msmcomm daemon:
 * libmsmcomm: the actual protocol implementation of the msmcomm protocol
 * msmcommd: the daemon which manages the link layer + takes command from the clients and
   submits them to the modem
 * msmcommd-specs: provides the dbus API definition for the msmcomm daemon which lets the
   client talk to the daemon

Signed-off-by: Simon Busch <morphis@gravedo.de>
---
 recipes/freesmartphone/libmsmcomm_git.bb     |    9 +++++++
 recipes/freesmartphone/msmcomm.inc           |   11 +++++++++
 recipes/freesmartphone/msmcommd-specs_git.bb |   17 ++++++++++++++
 recipes/freesmartphone/msmcommd_git.bb       |   31 +++++++++++++------------
 4 files changed, 53 insertions(+), 15 deletions(-)
 create mode 100644 recipes/freesmartphone/libmsmcomm_git.bb
 create mode 100644 recipes/freesmartphone/msmcomm.inc
 create mode 100644 recipes/freesmartphone/msmcommd-specs_git.bb

diff --git a/recipes/freesmartphone/libmsmcomm_git.bb b/recipes/freesmartphone/libmsmcomm_git.bb
new file mode 100644
index 0000000..5df9e41
--- /dev/null
+++ b/recipes/freesmartphone/libmsmcomm_git.bb
@@ -0,0 +1,9 @@
+require msmcomm.inc
+
+PR = "${INC_PR}.0"
+PV = "0.5.0+gitr${SRCPV}"
+PE = "1"
+
+S = "${WORKDIR}/git/libmsmcomm"
+
+inherit autotools
diff --git a/recipes/freesmartphone/msmcomm.inc b/recipes/freesmartphone/msmcomm.inc
new file mode 100644
index 0000000..bf01a12
--- /dev/null
+++ b/recipes/freesmartphone/msmcomm.inc
@@ -0,0 +1,11 @@
+DESCRIPTION = "Low level protocol implementation for binary protocol spoken by some Qualcomm modems"
+HOMEPAGE = "http://www.freesmartphone.org"
+AUTHOR = "Simon Busch <morphis@gravedo.de>"
+SECTION = "console/network"
+LICENSE = "GPL"
+INC_PR = "r4"
+PV = "Please override!"
+
+SRC_REV = "d631d009c791085faf0ebaac4601da905bc5c0ed"
+SRC_URI = "${FREESMARTPHONE_GIT}/msmcomm.git;protocol=git;branch=master"
+
diff --git a/recipes/freesmartphone/msmcommd-specs_git.bb b/recipes/freesmartphone/msmcommd-specs_git.bb
new file mode 100644
index 0000000..f756312
--- /dev/null
+++ b/recipes/freesmartphone/msmcommd-specs_git.bb
@@ -0,0 +1,17 @@
+require msmcomm.inc
+
+PR = "${INC_PR}.0"
+PV = "0.5.0+gitr${SRCPV}"
+PE = "1"
+
+DEPENDS = " \
+ vala-native \
+ glib-2.0 \
+ dbus \
+ dbus-glib \
+"
+
+S = "${WORKDIR}/git/msmcommd-specs"
+
+inherit autotools vala
+
diff --git a/recipes/freesmartphone/msmcommd_git.bb b/recipes/freesmartphone/msmcommd_git.bb
index bd74dc0..d123501 100644
--- a/recipes/freesmartphone/msmcommd_git.bb
+++ b/recipes/freesmartphone/msmcommd_git.bb
@@ -1,20 +1,21 @@
-DESCRIPTION = "Low level protocol implementation for binary protocol spoken by some Qualcomm modems"
-HOMEPAGE = "http://www.freesmartphone.org"
-AUTHOR = "Simon Busch <morphis@gravedo.de>"
-SECTION = "console/network"
-LICENSE = "GPL"
-DEPENDS = "libgee libfsotransport gtk+"
-SRCREV = "91ea329fd3be68d031c61a587c6c0036b94cf2cd"
-PV = "0.1.0+gitr${SRCPV}"
-PR = "r2"
+require msmcomm.inc
+
+PR = "${INC_PR}.0"
+PV = "0.5.0+gitr${SRCPV}"
 PE = "1"
 
-SRC_URI = "${FREESMARTPHONE_GIT}/msmcomm.git;protocol=git;branch=master"
-S = "${WORKDIR}/git"
+DEPENDS = " \
+ vala-native \
+ glib-2.0 \
+ dbus \
+ dbus-glib \
+ libfso-glib \
+ libgee \
+ libmsmcomm \
+ msmcommd-specs \
+"
 
-inherit autotools vala
+S = "${WORKDIR}/git/msmcommd"
 
-PACKAGES =+ "${PN}-lib ${PN}-term"
-FILES_${PN}-lib = "${libdir}/lib*.so.*"
-FILES_${PN}-term = "${sbindir}/msmvterm"
+inherit autotools vala
 
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/5] palmpre-system-deps-native: add initial recipe
  2010-08-31  6:31 Updates for the palmpre machine Simon Busch
  2010-08-31  6:31 ` [PATCH 1/5] msmcomm: split msmcommd recipe into three parts as upstream layout has changed Simon Busch
@ 2010-08-31  6:31 ` Simon Busch
  2010-08-31  6:32 ` [PATCH 3/5] fso-autorev: add msmcommd-specs and libmsmcomm Simon Busch
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Simon Busch @ 2010-08-31  6:31 UTC (permalink / raw)
  To: openembedded-devel

The palmpre-system-deps provides some essential header + vapi files for programs written
for the palm pre machine. For example it includes a vapi file for the hsuart.h kernel
header file which provides different ioctl's parameters for managing the hsuart of the
palm pre device.

Signed-off-by: Simon Busch <morphis@gravedo.de>
---
 recipes/palmpre/palmpre-system-deps-native_git.bb |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 recipes/palmpre/palmpre-system-deps-native_git.bb

diff --git a/recipes/palmpre/palmpre-system-deps-native_git.bb b/recipes/palmpre/palmpre-system-deps-native_git.bb
new file mode 100644
index 0000000..1f907c9
--- /dev/null
+++ b/recipes/palmpre/palmpre-system-deps-native_git.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = "Important header and vapi files for some programs running on the palmpre machine"
+HOMEPAGE = "http://www.freesmartphone.org"
+AUTHOR = "Simon Busch <morphis@gravedo.de>
+SECTION = "console/utils"
+LICENSE = "GPL"
+PR = "r0"
+
+SRCREV = "93a640dafa8ebebdb1a03f051cb1b566629b227c"
+SRC_URI = "${FREESMARTPHONE_GIT}/utilities.git;protocol=git;branch=master"
+S = "${WORKDIR}/git/palmpre/palmpre-system-deps"
+
+inherit autotools native pkgconfig
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/5] fso-autorev: add msmcommd-specs and libmsmcomm
  2010-08-31  6:31 Updates for the palmpre machine Simon Busch
  2010-08-31  6:31 ` [PATCH 1/5] msmcomm: split msmcommd recipe into three parts as upstream layout has changed Simon Busch
  2010-08-31  6:31 ` [PATCH 2/5] palmpre-system-deps-native: add initial recipe Simon Busch
@ 2010-08-31  6:32 ` Simon Busch
  2010-08-31  6:32 ` [PATCH 4/5] libfsotransport: add dependency on palmpre-systems-deps-native for palmpre machine Simon Busch
  2010-08-31  6:32 ` [PATCH 5/5] fsogsmd: fix dependencies for the " Simon Busch
  4 siblings, 0 replies; 6+ messages in thread
From: Simon Busch @ 2010-08-31  6:32 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Simon Busch <morphis@gravedo.de>
---
 conf/distro/include/fso-autorev.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/conf/distro/include/fso-autorev.inc b/conf/distro/include/fso-autorev.inc
index 33b9c90..2c618ec 100644
--- a/conf/distro/include/fso-autorev.inc
+++ b/conf/distro/include/fso-autorev.inc
@@ -26,6 +26,8 @@ SRCREV_pn-libmsmcomm = "${AUTOREV}"
 SRCREV_pn-libpersistence = "${AUTOREV}"
 SRCREV_pn-misc-vapi = "${AUTOREV}"
 SRCREV_pn-msmcommd = "${AUTOREV}"
+SRCREV_pn-msmcommd-specs = "${AUTOREV}"
+SRCREV_pn-libmsmcomm = "${AUTOREV}"
 SRCREV_pn-vala-dbus-binding-tool-native = "${AUTOREV}"
 SRCREV_pn-vala-dbus-binding-tool = "${AUTOREV}"
 SRCREV_pn-vala = "${AUTOREV}"
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 4/5] libfsotransport: add dependency on palmpre-systems-deps-native for palmpre machine
  2010-08-31  6:31 Updates for the palmpre machine Simon Busch
                   ` (2 preceding siblings ...)
  2010-08-31  6:32 ` [PATCH 3/5] fso-autorev: add msmcommd-specs and libmsmcomm Simon Busch
@ 2010-08-31  6:32 ` Simon Busch
  2010-08-31  6:32 ` [PATCH 5/5] fsogsmd: fix dependencies for the " Simon Busch
  4 siblings, 0 replies; 6+ messages in thread
From: Simon Busch @ 2010-08-31  6:32 UTC (permalink / raw)
  To: openembedded-devel

libfsotransport provides a special hsuart transport which only works and is used on
the palmpre machine. For this the palmpre-systems-deps are needed to provide ioctl
support for the hsuart.

Signed-off-by: Simon Busch <morphis@gravedo.de>
---
 recipes/freesmartphone/libfsotransport_git.bb |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/recipes/freesmartphone/libfsotransport_git.bb b/recipes/freesmartphone/libfsotransport_git.bb
index 7e7e6d6..882fc12 100644
--- a/recipes/freesmartphone/libfsotransport_git.bb
+++ b/recipes/freesmartphone/libfsotransport_git.bb
@@ -4,3 +4,6 @@ SRCREV = "${FSO_CORNUCOPIA_SRCREV}"
 PV = "0.9.6+gitr${SRCPV}"
 PE = "1"
 PR = "${INC_PR}.0"
+
+EXTRA_OECONF_palmpre = "--with-machine=palmpre"
+DEPENDS_palmpre = "palmpre-system-deps-native"
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 5/5] fsogsmd: fix dependencies for the palmpre machine
  2010-08-31  6:31 Updates for the palmpre machine Simon Busch
                   ` (3 preceding siblings ...)
  2010-08-31  6:32 ` [PATCH 4/5] libfsotransport: add dependency on palmpre-systems-deps-native for palmpre machine Simon Busch
@ 2010-08-31  6:32 ` Simon Busch
  4 siblings, 0 replies; 6+ messages in thread
From: Simon Busch @ 2010-08-31  6:32 UTC (permalink / raw)
  To: openembedded-devel

fsogsmd now depends on msmcommd-specs as this provides the DBus API definition how to
speak with the msmcomm daemon. At runtime it needs the msmcomm daemon to talk over the
DBus API to the modem.

Signed-off-by: Simon Busch <morphis@gravedo.de>
---
 recipes/freesmartphone/fsogsmd_git.bb |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/recipes/freesmartphone/fsogsmd_git.bb b/recipes/freesmartphone/fsogsmd_git.bb
index b172611..0c54901 100644
--- a/recipes/freesmartphone/fsogsmd_git.bb
+++ b/recipes/freesmartphone/fsogsmd_git.bb
@@ -1,16 +1,21 @@
 require cornucopia.inc
 inherit fso-plugin
 SRCREV = "${FSO_CORNUCOPIA_SRCREV}"
-PR = "${INC_PR}.3"
+PR = "${INC_PR}.4"
 PV = "0.5.0+gitr${SRCPV}"
 PE = "1"
 
 DEPENDS += "libfsoresource libgsm0710mux ppp"
-# DEPENDS += "msmcommd"
 
 EXTRA_OECONF_append = "\
   --enable-libgsm0710mux \
-#  --enable-modem-qualcomm-palm \
+"
+
+# On the palmpre we need the msmcomm daemon to talk to the modem
+DEPENDS_palmpre += "msmcommd-specs"
+RDEPENDS_palmpre += "msmcommd"
+EXTRA_OECONF_append_palmpre = "\
+  --enable-modem-qualcomm-palm \
 "
 
 CONFFILES_${PN} = "${sysconfdir}/freesmartphone/conf/openmoko_gta/fsogsmd.conf \
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-08-31  6:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-31  6:31 Updates for the palmpre machine Simon Busch
2010-08-31  6:31 ` [PATCH 1/5] msmcomm: split msmcommd recipe into three parts as upstream layout has changed Simon Busch
2010-08-31  6:31 ` [PATCH 2/5] palmpre-system-deps-native: add initial recipe Simon Busch
2010-08-31  6:32 ` [PATCH 3/5] fso-autorev: add msmcommd-specs and libmsmcomm Simon Busch
2010-08-31  6:32 ` [PATCH 4/5] libfsotransport: add dependency on palmpre-systems-deps-native for palmpre machine Simon Busch
2010-08-31  6:32 ` [PATCH 5/5] fsogsmd: fix dependencies for the " Simon Busch

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.