midpath: Updated all recipes to rc2.
authorRobert Schuster <thebohemian@gmx.net>
Thu, 4 Dec 2008 15:52:51 +0000 (16:52 +0100)
committerRobert Schuster <thebohemian@gmx.net>
Thu, 4 Dec 2008 15:56:49 +0000 (16:56 +0100)
midpath-openmoko: Use alsa backend.

28 files changed:
packages/midpath/files/0.2+0.3rc1-fix-crlf.patch [deleted file]
packages/midpath/files/configuration_openmoko.cfg
packages/midpath/files/midpath-launcher-j2se
packages/midpath/midpath-backend-alsa_0.2+0.3rc2.bb [moved from packages/midpath/midpath-backend-alsa_0.2+0.3rc1.bb with 89% similarity]
packages/midpath/midpath-backend-escher_0.2+0.3rc2.bb [moved from packages/midpath/midpath-backend-escher_0.2+0.3rc1.bb with 89% similarity]
packages/midpath/midpath-backend-esd_0.2+0.3rc2.bb [moved from packages/midpath/midpath-backend-esd_0.2+0.3rc1.bb with 89% similarity]
packages/midpath/midpath-backend-fb_0.2+0.3rc2.bb [moved from packages/midpath/midpath-backend-fb_0.2+0.3rc1.bb with 89% similarity]
packages/midpath/midpath-backend-gtk-hildon_0.2+0.3rc2.bb [moved from packages/midpath/midpath-backend-gtk-hildon_0.2+0.3rc1.bb with 86% similarity]
packages/midpath/midpath-backend-gtk_0.2+0.3rc2.bb [moved from packages/midpath/midpath-backend-gtk_0.2+0.3rc1.bb with 89% similarity]
packages/midpath/midpath-backend-pulseaudio_0.2+0.3rc2.bb [moved from packages/midpath/midpath-backend-pulseaudio_0.2+0.3rc1.bb with 89% similarity]
packages/midpath/midpath-backend-qt3x11_0.2+0.3rc2.bb [moved from packages/midpath/midpath-backend-qt3x11_0.2+0.3rc1.bb with 89% similarity]
packages/midpath/midpath-backend-qt4x11_0.2+0.3rc2.bb [moved from packages/midpath/midpath-backend-qt4x11_0.2+0.3rc1.bb with 89% similarity]
packages/midpath/midpath-backend-qte_0.2+0.3rc2.bb [moved from packages/midpath/midpath-backend-qte_0.2+0.3rc1.bb with 89% similarity]
packages/midpath/midpath-backend-sdl_0.2+0.3rc2.bb [moved from packages/midpath/midpath-backend-sdl_0.2+0.3rc1.bb with 93% similarity]
packages/midpath/midpath-cldc_0.2+0.3rc2.bb [moved from packages/midpath/midpath-cldc_0.2+0.3rc1.bb with 90% similarity]
packages/midpath/midpath-core_0.2+0.3rc2.bb [moved from packages/midpath/midpath-core_0.2+0.3rc1.bb with 96% similarity]
packages/midpath/midpath-demos_0.2+0.3rc2.bb [moved from packages/midpath/midpath-demos_0.2+0.3rc1.bb with 94% similarity]
packages/midpath/midpath-jgl_0.2+0.3rc2.bb [moved from packages/midpath/midpath-jgl_0.2+0.3rc1.bb with 90% similarity]
packages/midpath/midpath-location_0.2+0.3rc2.bb [moved from packages/midpath/midpath-location_0.2+0.3rc1.bb with 90% similarity]
packages/midpath/midpath-m3g_0.2+0.3rc2.bb [moved from packages/midpath/midpath-m3g_0.2+0.3rc1.bb with 91% similarity]
packages/midpath/midpath-maemo_0.2+0.3rc2.bb [moved from packages/midpath/midpath-maemo_0.2+0.3rc1.bb with 67% similarity]
packages/midpath/midpath-messaging_0.2+0.3rc2.bb [moved from packages/midpath/midpath-messaging_0.2+0.3rc1.bb with 90% similarity]
packages/midpath/midpath-opengles_0.2+0.3rc2.bb [moved from packages/midpath/midpath-opengles_0.2+0.3rc1.bb with 93% similarity]
packages/midpath/midpath-openmoko_0.2+0.3rc1.bb [deleted file]
packages/midpath/midpath-openmoko_0.2+0.3rc2.bb [new file with mode: 0644]
packages/midpath/midpath-svg_0.2+0.3rc2.bb [moved from packages/midpath/midpath-svg_0.2+0.3rc1.bb with 93% similarity]
packages/midpath/midpath-webservices_0.2+0.3rc2.bb [moved from packages/midpath/midpath-webservices_0.2+0.3rc1.bb with 92% similarity]
packages/midpath/midpath.inc

diff --git a/packages/midpath/files/0.2+0.3rc1-fix-crlf.patch b/packages/midpath/files/0.2+0.3rc1-fix-crlf.patch
deleted file mode 100644 (file)
index 7e763bd..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-Index: configuration/com/sun/midp/configuration/system_properties
-===================================================================
---- configuration/com/sun/midp/configuration/system_properties (Revision 290)
-+++ configuration/com/sun/midp/configuration/system_properties (Revision 291)
-@@ -1,47 +1,47 @@
- javax.microedition.io.Connector.protocolpath=com.sun.midp.io
--microedition.profiles=MIDP-2.0 
--microedition.configuration=CLDC-1.1 
--microedition.locale=en-US 
-+microedition.profiles=MIDP-2.0
-+microedition.configuration=CLDC-1.1
-+microedition.locale=en-US
- microedition.platform=j2me
--microedition.encoding=ISO8859_1 
--microedition.hostname=localhost 
-+microedition.encoding=ISO8859_1
-+microedition.hostname=localhost
- microedition.commports= 
--microedition.jtwi.version=1.0 
--microedition.media.version=1.1 
--supports.mixing=true 
--supports.audio.capture=false 
--supports.video.capture=false 
--supports.recording=false 
-+microedition.jtwi.version=1.0
-+microedition.media.version=1.1
-+supports.mixing=true
-+supports.audio.capture=false
-+supports.video.capture=false
-+supports.recording=false
- audio.encodings=encoding=audio/wav encoding=audio/x-wav encoding=pcm encoding=audio/mp3 encoding=audio/ogg
- video.snapshot.encodings=encoding=png encoding=image/png
- video.encodings= 
--streamable.contents=encoding=audio/wav encoding=audio/x-wav encoding=pcm encoding=audio/mp3 encoding=audio/ogg 
--microedition.io.file.FileConnection.version=1.0 
--Bluetooth.api.version=1.1 
--obex.api.version=1.1 
--bluetooth.l2cap.receiveMTU.max=1024 
--bluetooth.master.switch=true 
--bluetooth.connected.devices.max=6 
--bluetooth.sd.trans.max=8 
--bluetooth.sd.attr.retrievable.max=16 
--bluetooth.connected.inquiry=true 
--bluetooth.connected.inquiry.scan=true 
--bluetooth.connected.page=true 
--bluetooth.connected.page.scan=true 
--microedition.m3g.version=1.1 
--microedition.location.version=1.1 
--microedition.m2g.version=1.1 
--microedition.m2g.svg.version=1.1 
--microedition.m2g.svg.baseProfile=tiny 
--xml.jaxp.subset.version=1.0 
--xml.rpc.subset.version=1.0 
--wireless.messaging.version=2.0 
--wireless.messaging.sms.smsc=+17815511212 
--wireless.messaging.mms.mmsc=+17815511212 
-+streamable.contents=encoding=audio/wav encoding=audio/x-wav encoding=pcm encoding=audio/mp3 encoding=audio/ogg
-+microedition.io.file.FileConnection.version=1.0
-+Bluetooth.api.version=1.1
-+obex.api.version=1.1
-+bluetooth.l2cap.receiveMTU.max=1024
-+bluetooth.master.switch=true
-+bluetooth.connected.devices.max=6
-+bluetooth.sd.trans.max=8
-+bluetooth.sd.attr.retrievable.max=16
-+bluetooth.connected.inquiry=true
-+bluetooth.connected.inquiry.scan=true
-+bluetooth.connected.page=true
-+bluetooth.connected.page.scan=true
-+microedition.m3g.version=1.1
-+microedition.location.version=1.1
-+microedition.m2g.version=1.1
-+microedition.m2g.svg.version=1.1
-+microedition.m2g.svg.baseProfile=tiny
-+xml.jaxp.subset.version=1.0
-+xml.rpc.subset.version=1.0
-+wireless.messaging.version=2.0
-+wireless.messaging.sms.smsc=+17815511212
-+wireless.messaging.mms.mmsc=+17815511212
- # microedition.pim.version=
- # microedition.global.version=
--# microedition.sip.version=1.0.1 
-+# microedition.sip.version=1.0.1
- # 
- # com.sun.midp.io.http.proxy=
- # com.sun.midp.io.http.force_non_persistent=
index 0691dca..bb413e4 100644 (file)
@@ -40,7 +40,7 @@ org.thenesis.midpath.font.bdf.filename:VeraMono-12-8.bdf
 # The virtual engine requires this hardware configuration: 16 bits, stereo, little endian
 org.thenesis.midpath.sound.engine:virtual
 # Possible sound backend values: NULL, ALSA, ESD, PulseAudio
-org.thenesis.midpath.sound.backend:PulseAudio
+org.thenesis.midpath.sound.backend:ALSA
 org.thenesis.midpath.sound.device:default
 org.thenesis.midpath.sound.sampleRate:44100
 # Buffer size MUST be a power of two
index 22928a0..49f074f 100644 (file)
@@ -1,7 +1,25 @@
 #!/bin/sh
 
 if [ ! $LAUNCHER_CLASS ]; then
-  LAUNCHER_CLASS=org.thenesis.midpath.main.MIDletLauncher
+  if [ $# -lt 2 ]; then
+    echo "Usage :"
+    echo "  $(basename $0) <classpath> <midlet-class> [midlet-name]"
+    echo "  $(basename $0) -jar <jar-file>"
+    exit 1
+  fi
+
+  LAUNCHER_CLASS=org.thenesis.midpath.main.MIDletLauncherSE
+
+  # Add the MIDlet jar to the classpath  (must be loaded by the main classloader)
+  if [ $1 = "-jar" ]; then
+    CP=$2
+    ARGS="$1 $2"
+  else
+    CP=$1
+    ARGS="$2 $3"
+  fi
+else
+  ARGS="$@"
 fi
 
 if [ ! $JAVA ]; then
@@ -15,7 +33,7 @@ MIDPATH_HOME=/usr/share/midpath
 JLP=/usr/lib/jni
 
 # Set the classpath
-CP=\
+CP=$CP:\
 $MIDPATH_HOME/configuration:\
 $MIDPATH_HOME/midpath.jar:\
 $MIDPATH_HOME/microbackend.jar:\
@@ -25,6 +43,8 @@ $MIDPATH_HOME/jlayerme-cldc.jar:\
 $MIDPATH_HOME/jorbis-cldc.jar:\
 $MIDPATH_HOME/avetanabt-cldc.jar:\
 $MIDPATH_HOME/jgl-cldc.jar:\
+$MIDPATH_HOME/jsr172-jaxp.jar:\
+$MIDPATH_HOME/jsr172-jaxrpc.jar:\
 $MIDPATH_HOME/jsr239-opengles-jgl.jar:\
 $MIDPATH_HOME/jsr239-opengles-core.jar:\
 $MIDPATH_HOME/jsr239-opengles-nio.jar:\
@@ -43,8 +63,5 @@ then
   CP=$CP:$CLASSPATH
 fi
 
-# Add the MIDlet jar to the classpath  (must be loaded by the main classloader)
-CP=$CP:$MIDPATH_HOME/repository/midpath-demos.jar
-
-$JAVA -cp $CP -Djava.library.path=$JLP $LAUNCHER_CLASS "$@"
+$JAVA -cp $CP -Djava.library.path=$JLP $LAUNCHER_CLASS $ARGS
 
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS = "classpath linux-libc-headers"
 
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS += "midpath-cldc"
 
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS = "classpath esound"
 
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS = "classpath linux-libc-headers"
 
@@ -2,9 +2,9 @@ require midpath-backend-gtk_${PV}.bb
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 PROVIDES = "midpath-backend-gtk"
 
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS = "classpath gtk+"
 
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS = "classpath pulseaudio"
 
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS = "classpath qte-mt"
 RCONFLICTS = "midpath-backend-qte"
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS = "classpath qte-mt"
 
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS = "classpath qte-mt"
 RCONFLICTS = "midpath-backend-qt3"
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS += "midpath-cldc virtual/libsdl libsdl-mixer libsdl-ttf libsdl-image libsdl-gfx"
 
similarity index 90%
rename from packages/midpath/midpath-cldc_0.2+0.3rc1.bb
rename to packages/midpath/midpath-cldc_0.2+0.3rc2.bb
index f8dd8e6..e93bcbb 100644 (file)
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DESCRIPTION = "Implementation of the CLDC profile for use in the MIDPath library"
 RPROVIDES  = "midpath-cldc java-cldc1.1"
similarity index 96%
rename from packages/midpath/midpath-core_0.2+0.3rc1.bb
rename to packages/midpath/midpath-core_0.2+0.3rc2.bb
index d0ba53b..1a6fee8 100644 (file)
@@ -2,9 +2,9 @@ DESCRIPTION = "MIDPath is a Java library which provides a MIDP2 implementation"
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 require midpath-common.inc
 
similarity index 94%
rename from packages/midpath/midpath-demos_0.2+0.3rc1.bb
rename to packages/midpath/midpath-demos_0.2+0.3rc2.bb
index 1a2f690..ebf260d 100644 (file)
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS = "midpath-core midpath-location midpath-messaging midpath-svg midpath-opengles midpath-m3g"
 RDEPENDS = "midpath midpath-location midpath-messaging midpath-svg-midp midpath-opengles midpath-m3g"
similarity index 90%
rename from packages/midpath/midpath-jgl_0.2+0.3rc1.bb
rename to packages/midpath/midpath-jgl_0.2+0.3rc2.bb
index e003fe9..c969452 100644 (file)
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS += "midpath-core"
 
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DESCRIPTION = "Implementation of the JSR179 Location API for use in the MIDPath library"
 
similarity index 91%
rename from packages/midpath/midpath-m3g_0.2+0.3rc1.bb
rename to packages/midpath/midpath-m3g_0.2+0.3rc2.bb
index a0a1c42..0d61802 100644 (file)
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS += "midpath-core midpath-opengles"
 
similarity index 67%
rename from packages/midpath/midpath-maemo_0.2+0.3rc1.bb
rename to packages/midpath/midpath-maemo_0.2+0.3rc2.bb
index 10fcf66..35a97c7 100644 (file)
@@ -4,11 +4,10 @@ PR = "r0"
 
 # The patch fixes the system_properties file only deployed in this recipe.
 SRC_URI = "\
-  ${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz \
-  file://0.2+0.3rc1-fix-crlf.patch;patch=1;pnum=0 \
+  ${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz \
   "
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 PR = "r0"
 
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS += "midpath-core"
 
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS += "midpath-core midpath-jgl"
 RDEPENDS_${PN} = "midpath-core midpath-jgl ${PN}-core ${PN}-nio"
diff --git a/packages/midpath/midpath-openmoko_0.2+0.3rc1.bb b/packages/midpath/midpath-openmoko_0.2+0.3rc1.bb
deleted file mode 100644 (file)
index edb20af..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-require midpath.inc
-
-PR = "r0"
-
-# The patch fixes the system_properties file only deployed in this recipe.
-SRC_URI = "\
-  ${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz \
-  file://0.2+0.3rc1-fix-crlf.patch;patch=1;pnum=0 \
-  "
-
-S = "${WORKDIR}/midpath-0.3rc1"
-
-PR = "r0"
-
-SRC_URI += "file://configuration_openmoko.cfg"
-
-RDEPENDS += "java2-runtime midpath-backend-pulseaudio libswt3.4-gtk-java midpath-core-bluetooth"
-
-CONFIGURATION = "configuration_openmoko.cfg"
diff --git a/packages/midpath/midpath-openmoko_0.2+0.3rc2.bb b/packages/midpath/midpath-openmoko_0.2+0.3rc2.bb
new file mode 100644 (file)
index 0000000..b64cb45
--- /dev/null
@@ -0,0 +1,18 @@
+require midpath.inc
+
+PR = "r0"
+
+# The patch fixes the system_properties file only deployed in this recipe.
+SRC_URI = "\
+  ${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz \
+  "
+
+S = "${WORKDIR}/midpath-0.3rc2"
+
+PR = "r0"
+
+SRC_URI += "file://configuration_openmoko.cfg"
+
+RDEPENDS += "java2-runtime midpath-backend-alsa libswt3.4-gtk-java midpath-core-bluetooth"
+
+CONFIGURATION = "configuration_openmoko.cfg"
similarity index 93%
rename from packages/midpath/midpath-svg_0.2+0.3rc1.bb
rename to packages/midpath/midpath-svg_0.2+0.3rc2.bb
index d63caa5..7f332ff 100644 (file)
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS += "midpath-core midpath-webservices"
 RDEPENDS_${PN}-midp = "${PN}"
@@ -2,9 +2,9 @@ require midpath-common.inc
 
 PR = "r0"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc1.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz"
 
-S = "${WORKDIR}/midpath-0.3rc1"
+S = "${WORKDIR}/midpath-0.3rc2"
 
 DEPENDS += "midpath-core"
 RSUGGESTS_${PN} = "${PN}-jaxp"
index 703d9bd..19b4179 100644 (file)
@@ -5,7 +5,7 @@
 # RDEPENDS.
 require midpath-common.inc
 
-RDEPENDS = "midpath-core midpath-core-bluetooth midpath-core-ogg midpath-core-mp3"
+RDEPENDS = "midpath-core midpath-core-bluetooth midpath-core-ogg ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'midpath-core-mp3', d)}"
 
 PROVIDES = "midpath"
 RPROVIDES = "midpath"