[oe] [PATCH 1/5] msmcomm: split msmcommd recipe into three parts as upstream layout has changed

Simon Busch morphis at gravedo.de
Tue Aug 31 06:31:58 UTC 2010


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 at 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 at 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 at 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





More information about the Openembedded-devel mailing list