diff options
| author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
|---|---|---|
| committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
| commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
| tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/midpath | |
| parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) | |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/midpath')
32 files changed, 1501 insertions, 0 deletions
diff --git a/recipes/midpath/files/configuration_maemo.cfg b/recipes/midpath/files/configuration_maemo.cfg new file mode 100644 index 0000000000..441a9cdfc5 --- /dev/null +++ b/recipes/midpath/files/configuration_maemo.cfg @@ -0,0 +1,123 @@ +##======================================== +## Graphics parameters +##======================================== +javax.microedition.lcdui.screenWidth:600 +javax.microedition.lcdui.screenHeight:400 +# Toolkit configuration (possible values: SDL, virtual) +# The toolkit parameter should be set to "virtual" unless you know what you do. +# (to change the UI backend, see the backend parameter of the virtual toolkit below) +javax.microedition.lcdui.toolkit:virtual + +##====================================== +## Parameters for the Virtual UI Toolkit +##====================================== +# Possible backend values: NULL, SDL, AWT, AWTGRABBER, SWT, X11, GTK, QT, FB +org.thenesis.microbackend.ui.backend:SWT +# SDL backend configuration. +# Possible bitsPerPixels values: 8, 16, 32 +# Possible video mode values: SW, HW (i.e software, hardware) +org.thenesis.microbackend.ui.sdl.bitsPerPixel:32 +org.thenesis.microbackend.ui.sdl.videoMode:SW +# X11 backend configuration. +# Display value examples: :0.0, 192.168.0.1:1.0 +org.thenesis.microbackend.ui.x11.Display::0.0 +# Linux Framebuffer (FB) backend configuration +# (see /proc/bus/input/devices to know which special files are +# associated with your mouse or touchscreen) +org.thenesis.microbackend.ui.fb.framebufferDevice:/dev/fb0 +org.thenesis.microbackend.ui.fb.keyboardDevice:/dev/tty +org.thenesis.microbackend.ui.fb.mouseDevice:/dev/input/event1 +org.thenesis.microbackend.ui.fb.touchscreenDevice:/dev/input/event2 +# Possible fontRenderer values: raw, BDF +org.thenesis.midpath.ui.fontRenderer:raw +org.thenesis.midpath.font.bdf.filename:VeraMono-12-8.bdf + +##========================== +## Parameters for the sound +##========================== +# Sound configuration (possible values: SDL, virtual) +# The "player" parameter should be set to "virtual" unless you know what you do. +# 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:NULL +org.thenesis.midpath.sound.device:default +org.thenesis.midpath.sound.sampleRate:44100 +# Buffer size MUST be a power of two +org.thenesis.midpath.sound.bufferSize:8192 + +##====================================== +## IO parameters +##====================================== +# IO (file, socket) backends (possible values: J2SE, CLDC) +com.sun.midp.io.backend:J2SE +# The RMS root path (if not defined, records are read/written in the current directory) +com.sun.midp.rms.rootPath:/home/user/ + +##====================================== +## Location (JSR179) +##====================================== +# Location mode (possible values: GPS, KML, LMS, NMEA) +org.thenesis.midpath.location.mode:GPS +# Resource file URI (KML and NMEA mode only) +# Examples: +# -Load a KML file in the "res" package from the java classloader: +# org.thenesis.midpath.location.resource.uri:/res/location.kml +# -Load a NMEA file from the file system: +# org.thenesis.midpath.location.resource.uri:file:////absolute/path/to/location.kml +org.thenesis.midpath.location.resource.uri: +# Resource poll interval in milliseconds (KML, LMS, NMEA mode only) +org.thenesis.midpath.location.resource.pollInterval:5000 + +##====================================== +## Messaging (JSR120, JSR205) +##====================================== +# SMS backend (possible values: NULL) +org.thenesis.midpath.messaging.backend:NULL + +##====================================== +## MIDlet Suite Manager (J2SE only) +##====================================== +# The MIDlet repository path (if not defined, MIDlets are searched in the current directory) +org.thenesis.midpath.main.repositoryPath:/usr/share/midpath/repository + +##====================================== +## Event parameters +##====================================== +javax.microedition.lcdui.pointerSupported:true +javax.microedition.lcdui.pointerMotionSupported:true + +##====================================== +## Key mapping +## (AWT codes are used by convention - see java.awt.event.KeyEvent javadocs) +##====================================== +# Cursor left +org.thenesis.midpath.ui.keys.LEFT:37 +# Cursor up +org.thenesis.midpath.ui.keys.UP:38 +# Cursor right +org.thenesis.midpath.ui.keys.RIGHT:39 +# Cursor down +org.thenesis.midpath.ui.keys.DOWN:40 + +# Zoom - +org.thenesis.midpath.ui.keys.GAME_A:119 +# Minimize/Maximize +org.thenesis.midpath.ui.keys.GAME_B:117 +# Zoom + +org.thenesis.midpath.ui.keys.GAME_C:118 +# Cursor button +org.thenesis.midpath.ui.keys.FIRE:10 + +# Back button +org.thenesis.midpath.ui.keys.SOFT_BUTTON1:27 +# Menu button +org.thenesis.midpath.ui.keys.SOFT_BUTTON2:115 + +# unmapped +org.thenesis.midpath.ui.keys.STAR:0 +org.thenesis.midpath.ui.keys.POUND:0 +org.thenesis.midpath.ui.keys.DELETE:8 +org.thenesis.midpath.ui.keys.END:39 +org.thenesis.midpath.ui.keys.POWER:0 +org.thenesis.midpath.ui.keys.GAME_D:0 diff --git a/recipes/midpath/files/configuration_openmoko.cfg b/recipes/midpath/files/configuration_openmoko.cfg new file mode 100644 index 0000000000..bb413e4548 --- /dev/null +++ b/recipes/midpath/files/configuration_openmoko.cfg @@ -0,0 +1,124 @@ +##======================================== +## Graphics parameters +##======================================== +javax.microedition.lcdui.screenWidth:480 +javax.microedition.lcdui.screenHeight:330 +# Toolkit configuration (possible values: SDL, virtual) +# The toolkit parameter should be set to "virtual" unless you know what you do. +# (to change the UI backend, see the backend parameter of the virtual toolkit below) +javax.microedition.lcdui.toolkit:virtual + +##====================================== +## Parameters for the Virtual UI Toolkit +##====================================== +# Possible backend values: NULL, SDL, AWT, AWTGRABBER, SWT, X11, GTK, QT, FB +org.thenesis.microbackend.ui.backend:SWT +# SDL backend configuration. +# Possible bitsPerPixels values: 8, 16, 32 +# Possible video mode values: SW, HW (i.e software, hardware) +org.thenesis.microbackend.ui.sdl.bitsPerPixel:32 +org.thenesis.microbackend.ui.sdl.videoMode:SW +# X11 backend configuration. +# Display value examples: :0.0, 192.168.0.1:1.0 +org.thenesis.microbackend.ui.x11.Display::0.0 +# Linux Framebuffer (FB) backend configuration +# (see /proc/bus/input/devices to know which special files are +# associated with your mouse or touchscreen) +org.thenesis.microbackend.ui.fb.framebufferDevice:/dev/fb0 +org.thenesis.microbackend.ui.fb.keyboardDevice:/dev/tty +org.thenesis.microbackend.ui.fb.mouseDevice:/dev/input/event1 +org.thenesis.microbackend.ui.fb.touchscreenDevice:/dev/input/event2 +# Possible fontRenderer values: raw, BDF +org.thenesis.midpath.ui.fontRenderer:raw +org.thenesis.midpath.font.bdf.filename:VeraMono-12-8.bdf + +##========================== +## Parameters for the sound +##========================== +# Sound configuration (possible values: SDL, virtual) +# The "player" parameter should be set to "virtual" unless you know what you do. +# 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:ALSA +org.thenesis.midpath.sound.device:default +org.thenesis.midpath.sound.sampleRate:44100 +# Buffer size MUST be a power of two +org.thenesis.midpath.sound.bufferSize:8192 + +##====================================== +## IO parameters +##====================================== +# IO (file, socket) backends (possible values: J2SE, CLDC) +com.sun.midp.io.backend:J2SE +# The RMS root path (if not defined, records are read/written in the current directory) +com.sun.midp.rms.rootPath:/home/root/ + +##====================================== +## Location (JSR179) +##====================================== +# Location mode (possible values: GPS, KML, LMS, NMEA) +org.thenesis.midpath.location.mode:GPS +# Resource file URI (KML and NMEA mode only) +# Examples: +# -Load a KML file in the "res" package from the java classloader: +# org.thenesis.midpath.location.resource.uri:/res/location.kml +# -Load a NMEA file from the file system: +# org.thenesis.midpath.location.resource.uri:file:////absolute/path/to/location.kml +org.thenesis.midpath.location.resource.uri: +# Resource poll interval in milliseconds (KML, LMS, NMEA mode only) +org.thenesis.midpath.location.resource.pollInterval:5000 + +##====================================== +## Messaging (JSR120, JSR205) +##====================================== +# SMS backend (possible values: NULL) +org.thenesis.midpath.messaging.backend:NULL + +##====================================== +## MIDlet Suite Manager (J2SE only) +##====================================== +# The MIDlet repository path (if not defined, MIDlets are searched in the current directory) +org.thenesis.midpath.main.repositoryPath:/usr/share/midpath/repository + +##====================================== +## Event parameters +##====================================== +javax.microedition.lcdui.pointerSupported:true +javax.microedition.lcdui.pointerMotionSupported:true + +##====================================== +## Key mapping +## (AWT codes are used by convention - see java.awt.event.KeyEvent javadocs) +##====================================== +# 4 +org.thenesis.midpath.ui.keys.LEFT:52 +# 2 +org.thenesis.midpath.ui.keys.UP:50 +# 6 +org.thenesis.midpath.ui.keys.RIGHT:54 +# 8 +org.thenesis.midpath.ui.keys.DOWN:56 + +# 1 +org.thenesis.midpath.ui.keys.GAME_A:49 +# 3 +org.thenesis.midpath.ui.keys.GAME_B:51 +# 7 +org.thenesis.midpath.ui.keys.GAME_C:55 +# 9 +org.thenesis.midpath.ui.keys.GAME_D:57 +# 5 +org.thenesis.midpath.ui.keys.FIRE:53 + +# 0 +org.thenesis.midpath.ui.keys.SOFT_BUTTON1:48 +# pound/sign/# +org.thenesis.midpath.ui.keys.SOFT_BUTTON2:520 + +# unmapped +org.thenesis.midpath.ui.keys.STAR:0 +org.thenesis.midpath.ui.keys.POUND:0 +org.thenesis.midpath.ui.keys.DELETE:8 +org.thenesis.midpath.ui.keys.END:39 +org.thenesis.midpath.ui.keys.POWER:0 diff --git a/recipes/midpath/files/fix-openfile.patch b/recipes/midpath/files/fix-openfile.patch new file mode 100644 index 0000000000..df677e1011 --- /dev/null +++ b/recipes/midpath/files/fix-openfile.patch @@ -0,0 +1,22 @@ +Index: midpath-0.3rc2/components/core/src/org/thenesis/midpath/io/backend/j2se/FileHandlerImpl.java +=================================================================== +--- midpath-0.3rc2.orig/components/core/src/org/thenesis/midpath/io/backend/j2se/FileHandlerImpl.java 2008-05-19 13:56:18.000000000 +0200 ++++ midpath-0.3rc2/components/core/src/org/thenesis/midpath/io/backend/j2se/FileHandlerImpl.java 2008-12-17 07:08:54.000000000 +0100 +@@ -181,10 +181,14 @@ +
+ public void openForRead() throws IOException {
+ if (randomAccessFile == null) {
+- //stream = new FileRandomAccessStream(file);
+- randomAccessFile = new RandomAccessFile(file, "rws");
++ // Try to get maximum rights to avoid closing the stream if openForWrite is called next
++ if (file.canWrite()) {
++ randomAccessFile = new RandomAccessFile(file, "rws");
++ } else {
++ randomAccessFile = new RandomAccessFile(file, "r");
++ }
+ }
+- }
++ }
+
+ public void openForWrite() throws IOException {
+ if (randomAccessFile == null) {
diff --git a/recipes/midpath/files/midpath-launcher-j2se b/recipes/midpath/files/midpath-launcher-j2se new file mode 100644 index 0000000000..49f074f7ab --- /dev/null +++ b/recipes/midpath/files/midpath-launcher-j2se @@ -0,0 +1,67 @@ +#!/bin/sh + +if [ ! $LAUNCHER_CLASS ]; then + 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 + JAVA=java +fi + +JAR_HOME=/usr/share/java + +MIDPATH_HOME=/usr/share/midpath + +JLP=/usr/lib/jni + +# Set the classpath +CP=$CP:\ +$MIDPATH_HOME/configuration:\ +$MIDPATH_HOME/midpath.jar:\ +$MIDPATH_HOME/microbackend.jar:\ +$MIDPATH_HOME/sdljava-cldc.jar:\ +$MIDPATH_HOME/escher-cldc.jar:\ +$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:\ +$MIDPATH_HOME/jsr184-m3g.jar:\ +$MIDPATH_HOME/jsr205-messaging.jar:\ +$MIDPATH_HOME/jsr179-location.jar:\ +$MIDPATH_HOME/jsr226-svg-core.jar:\ +$MIDPATH_HOME/jsr226-svg-midp2.jar:\ +$JAR_HOME/kxml2.jar:\ +$JAR_HOME/xmlpull.jar:\ +$JAR_HOME/swt.jar + +# Add whatever is mentioned in the CLASSPATH environment variable +if [ $CLASSPATH ] +then + CP=$CP:$CLASSPATH +fi + +$JAVA -cp $CP -Djava.library.path=$JLP $LAUNCHER_CLASS $ARGS + diff --git a/recipes/midpath/files/midpath-suitemanager b/recipes/midpath/files/midpath-suitemanager new file mode 100644 index 0000000000..41ccd5fcb6 --- /dev/null +++ b/recipes/midpath/files/midpath-suitemanager @@ -0,0 +1,2 @@ +#!/bin/sh +LAUNCHER_CLASS=org.thenesis.midpath.main.SuiteManager midpath-launcher-j2se "$@" diff --git a/recipes/midpath/files/midpath-suitemanager.desktop b/recipes/midpath/files/midpath-suitemanager.desktop new file mode 100644 index 0000000000..3d7833e74e --- /dev/null +++ b/recipes/midpath/files/midpath-suitemanager.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Name=MIDPath SuiteManager +Comment=Manage MIDlets +Exec=midpath-suitemanager +Icon=midpath +Terminal=false +Type=Application +Categories=GTK;Office; +X-SingleInstance=true +StartupNotify=true + diff --git a/recipes/midpath/files/midpath.png b/recipes/midpath/files/midpath.png Binary files differnew file mode 100644 index 0000000000..0066fe4f29 --- /dev/null +++ b/recipes/midpath/files/midpath.png diff --git a/recipes/midpath/midpath-backend-alsa_0.2+0.3rc2.bb b/recipes/midpath/midpath-backend-alsa_0.2+0.3rc2.bb new file mode 100644 index 0000000000..32b012b0c6 --- /dev/null +++ b/recipes/midpath/midpath-backend-alsa_0.2+0.3rc2.bb @@ -0,0 +1,43 @@ +require midpath-common.inc + +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz" + +S = "${WORKDIR}/midpath-0.3rc2" + +DEPENDS = "classpath linux-libc-headers" + +do_compile() { + # Only ALSA backend library is enabled + midpath_build \ + --disable-cldc \ + --disable-midpath \ + --disable-sdljava-cldc \ + --disable-escher-cldc \ + --disable-jlayerme-cldc \ + --disable-jorbis-cldc \ + --disable-avetanabt-cldc \ + --disable-jgl-cldc \ + --disable-web_services-api \ + --disable-location-api \ + --disable-messaging-api \ + --disable-svg-api \ + --disable-opengl-api \ + --disable-m3g-api \ + --disable-demos \ + --alsa +} + +do_install() { + oe_libinstall -C dist -so libmidpathalsa ${D}${libdir_jni} +} + +do_stage() { + : +} + +PACKAGES = "${PN} ${PN}-dbg" + +FILES_${PN} = "${libdir_jni}/lib*.so" +FILES_${PN}-dbg = "${libdir_jni}/.debug/lib*.so" diff --git a/recipes/midpath/midpath-backend-escher_0.2+0.3rc2.bb b/recipes/midpath/midpath-backend-escher_0.2+0.3rc2.bb new file mode 100644 index 0000000000..05ca8a078a --- /dev/null +++ b/recipes/midpath/midpath-backend-escher_0.2+0.3rc2.bb @@ -0,0 +1,42 @@ +require midpath-common.inc + +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz" + +S = "${WORKDIR}/midpath-0.3rc2" + +DEPENDS += "midpath-cldc" + +do_compile() { + # Only escher-cldc is enabled + midpath_build \ + --disable-cldc \ + --disable-midpath \ + --disable-sdljava-cldc \ + --disable-jlayerme-cldc \ + --disable-jorbis-cldc \ + --disable-avetanabt-cldc \ + --disable-jgl-cldc \ + --disable-web_services-api \ + --disable-location-api \ + --disable-messaging-api \ + --disable-svg-api \ + --disable-opengl-api \ + --disable-m3g-api \ + --disable-demos \ +} + +do_install() { + install -d ${D}${datadir}/midpath + install -m 0644 dist/escher-cldc.jar ${D}${datadir}/midpath +} + +do_stage() { + install -d ${STAGING_DATADIR}/midpath + install -m 0644 dist/escher-cldc.jar ${STAGING_DATADIR}/midpath +} + +PACKAGES = "${PN}" + +FILES_${PN} = "${datadir}/midpath/escher-cldc.jar" diff --git a/recipes/midpath/midpath-backend-esd_0.2+0.3rc2.bb b/recipes/midpath/midpath-backend-esd_0.2+0.3rc2.bb new file mode 100644 index 0000000000..4e8a5a55a3 --- /dev/null +++ b/recipes/midpath/midpath-backend-esd_0.2+0.3rc2.bb @@ -0,0 +1,44 @@ +require midpath-common.inc + +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz" + +S = "${WORKDIR}/midpath-0.3rc2" + +DEPENDS = "classpath esound" + +do_compile() { + # Only native esd backend library is enabled + midpath_build \ + --disable-cldc \ + --disable-midpath \ + --disable-sdljava-cldc \ + --disable-escher-cldc \ + --disable-jlayerme-cldc \ + --disable-jorbis-cldc \ + --disable-avetanabt-cldc \ + --disable-jgl-cldc \ + --disable-web_services-api \ + --disable-location-api \ + --disable-messaging-api \ + --disable-svg-api \ + --disable-opengl-api \ + --disable-m3g-api \ + --disable-demos \ + --esd +} + +do_install() { + oe_libinstall -C dist -so libmidpathesd ${D}${libdir_jni} +} + +do_stage() { + : +} + +PACKAGES = "${PN} ${PN}-dbg" + +FILES_${PN} = "${libdir_jni}/lib*.so" +FILES_${PN}-dbg = "${libdir_jni}/.debug/lib*.so" + diff --git a/recipes/midpath/midpath-backend-fb_0.2+0.3rc2.bb b/recipes/midpath/midpath-backend-fb_0.2+0.3rc2.bb new file mode 100644 index 0000000000..d7b35f9867 --- /dev/null +++ b/recipes/midpath/midpath-backend-fb_0.2+0.3rc2.bb @@ -0,0 +1,43 @@ +require midpath-common.inc + +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz" + +S = "${WORKDIR}/midpath-0.3rc2" + +DEPENDS = "classpath linux-libc-headers" + +do_compile() { + # Only native framebuffer backend library is enabled + midpath_build \ + --disable-cldc \ + --disable-midpath \ + --disable-sdljava-cldc \ + --disable-escher-cldc \ + --disable-jlayerme-cldc \ + --disable-jorbis-cldc \ + --disable-avetanabt-cldc \ + --disable-jgl-cldc \ + --disable-web_services-api \ + --disable-location-api \ + --disable-messaging-api \ + --disable-svg-api \ + --disable-opengl-api \ + --disable-m3g-api \ + --disable-demos \ + --fb +} + +do_install() { + oe_libinstall -C dist -so libmicrobackendfb ${D}${libdir_jni} +} + +do_stage() { + : +} + +PACKAGES = "${PN} ${PN}-dbg" + +FILES_${PN} = "${libdir_jni}/lib*.so" +FILES_${PN}-dbg = "${libdir_jni}/.debug/lib*.so" diff --git a/recipes/midpath/midpath-backend-gtk-hildon_0.2+0.3rc2.bb b/recipes/midpath/midpath-backend-gtk-hildon_0.2+0.3rc2.bb new file mode 100644 index 0000000000..4da2822a8e --- /dev/null +++ b/recipes/midpath/midpath-backend-gtk-hildon_0.2+0.3rc2.bb @@ -0,0 +1,34 @@ +require midpath-backend-gtk_${PV}.bb + +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz" + +S = "${WORKDIR}/midpath-0.3rc2" + +PROVIDES = "midpath-backend-gtk" + +DEPENDS += "libhildon libhildonfm" + +do_compile() { + # Only native gtk backend library is enabled + midpath_build \ + --disable-cldc \ + --disable-midpath \ + --disable-sdljava-cldc \ + --disable-escher-cldc \ + --disable-jlayerme-cldc \ + --disable-jorbis-cldc \ + --disable-avetanabt-cldc \ + --disable-jgl-cldc \ + --disable-web_services-api \ + --disable-location-api \ + --disable-messaging-api \ + --disable-svg-api \ + --disable-opengl-api \ + --disable-m3g-api \ + --disable-demos \ + --gtk \ + --enable-hildon +} + diff --git a/recipes/midpath/midpath-backend-gtk_0.2+0.3rc2.bb b/recipes/midpath/midpath-backend-gtk_0.2+0.3rc2.bb new file mode 100644 index 0000000000..fa09f77d15 --- /dev/null +++ b/recipes/midpath/midpath-backend-gtk_0.2+0.3rc2.bb @@ -0,0 +1,44 @@ +require midpath-common.inc + +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz" + +S = "${WORKDIR}/midpath-0.3rc2" + +DEPENDS = "classpath gtk+" + +do_compile() { + # Only native gtk backend library is enabled + midpath_build \ + --disable-cldc \ + --disable-midpath \ + --disable-sdljava-cldc \ + --disable-escher-cldc \ + --disable-jlayerme-cldc \ + --disable-jorbis-cldc \ + --disable-avetanabt-cldc \ + --disable-jgl-cldc \ + --disable-web_services-api \ + --disable-location-api \ + --disable-messaging-api \ + --disable-svg-api \ + --disable-opengl-api \ + --disable-m3g-api \ + --disable-demos \ + --gtk +} + +do_install() { + oe_libinstall -C dist -so libmicrobackendgtk ${D}${libdir_jni} +} + +do_stage() { + : +} + +PACKAGES = "${PN} ${PN}-dbg" + +FILES_${PN} = "${libdir_jni}/lib*.so" +FILES_${PN}-dbg = "${libdir_jni}/.debug/lib*.so" + diff --git a/recipes/midpath/midpath-backend-pulseaudio_0.2+0.3rc2.bb b/recipes/midpath/midpath-backend-pulseaudio_0.2+0.3rc2.bb new file mode 100644 index 0000000000..890bcd9152 --- /dev/null +++ b/recipes/midpath/midpath-backend-pulseaudio_0.2+0.3rc2.bb @@ -0,0 +1,44 @@ +require midpath-common.inc + +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz" + +S = "${WORKDIR}/midpath-0.3rc2" + +DEPENDS = "classpath pulseaudio" + +do_compile() { + # Only native pulseaudio backend library is enabled + midpath_build \ + --disable-cldc \ + --disable-midpath \ + --disable-sdljava-cldc \ + --disable-escher-cldc \ + --disable-jlayerme-cldc \ + --disable-jorbis-cldc \ + --disable-avetanabt-cldc \ + --disable-jgl-cldc \ + --disable-web_services-api \ + --disable-location-api \ + --disable-messaging-api \ + --disable-svg-api \ + --disable-opengl-api \ + --disable-m3g-api \ + --disable-demos \ + --pulse +} + +do_install() { + oe_libinstall -C dist -so libmidpathpulse ${D}${libdir_jni} +} + +do_stage() { + : +} + +PACKAGES = "${PN} ${PN}-dbg" + +FILES_${PN} = "${libdir_jni}/lib*.so" +FILES_${PN}-dbg = "${libdir_jni}/.debug/lib*.so" + diff --git a/recipes/midpath/midpath-backend-qt3x11_0.2+0.3rc2.bb b/recipes/midpath/midpath-backend-qt3x11_0.2+0.3rc2.bb new file mode 100644 index 0000000000..88f046708b --- /dev/null +++ b/recipes/midpath/midpath-backend-qt3x11_0.2+0.3rc2.bb @@ -0,0 +1,47 @@ +require midpath-common.inc + +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/midpath/midpath-0.3rc2.tar.gz" + +S = "${WORKDIR}/midpath-0.3rc2" + +DEPENDS = "classpath qte-mt" +RCONFLICTS = "midpath-backend-qte" + +inherit qt3x11 + +do_compile() { + # Only native qt3 backend library is enabled + midpath_build \ + --disable-cldc \ + --disable-midpath \ + --disable-sdljava-cldc \ + --disable-escher-cldc \ + --disable-jlayerme-cldc \ + --disable-jorbis-cldc \ + --disable-avetanabt-cldc \ + --disable-jgl-cldc \ + --disable-web_services-api \ + --disable-location-api \ + --disable-messaging-api \ + --disable-svg-api \ + --disable-opengl-api \ + --disable-m3g-api \ + --disable-demos \ + --qt3 +} + +do_install() { + oe_libinstall -C dist -so libmidpathqt ${D}${libdir_jni} +} + +do_stage() { + : +} + +PACKAGES = "${PN} ${PN}-dbg" + +FILES_${PN} = "${libdir_jni}/lib*.so" +FILES_${PN}-dbg = "${libdir_jni}/.debug/lib*.so" + diff --git a/recipes/midpath/midpath-backend-qt4x11_0.2+0.3rc2.bb b/recipes/midpath/midpath-backend-qt4x11_ |
