summaryrefslogtreecommitdiff
path: root/packages/midpath/files
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/midpath/files
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (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 'packages/midpath/files')
-rw-r--r--packages/midpath/files/configuration_maemo.cfg123
-rw-r--r--packages/midpath/files/configuration_openmoko.cfg124
-rw-r--r--packages/midpath/files/fix-openfile.patch22
-rw-r--r--packages/midpath/files/midpath-launcher-j2se67
-rw-r--r--packages/midpath/files/midpath-suitemanager2
-rw-r--r--packages/midpath/files/midpath-suitemanager.desktop11
-rw-r--r--packages/midpath/files/midpath.pngbin9937 -> 0 bytes
7 files changed, 0 insertions, 349 deletions
diff --git a/packages/midpath/files/configuration_maemo.cfg b/packages/midpath/files/configuration_maemo.cfg
deleted file mode 100644
index 441a9cdfc5..0000000000
--- a/packages/midpath/files/configuration_maemo.cfg
+++ /dev/null
@@ -1,123 +0,0 @@
-##========================================
-## 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/packages/midpath/files/configuration_openmoko.cfg b/packages/midpath/files/configuration_openmoko.cfg
deleted file mode 100644
index bb413e4548..0000000000
--- a/packages/midpath/files/configuration_openmoko.cfg
+++ /dev/null
@@ -1,124 +0,0 @@
-##========================================
-## 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/packages/midpath/files/fix-openfile.patch b/packages/midpath/files/fix-openfile.patch
deleted file mode 100644
index df677e1011..0000000000
--- a/packages/midpath/files/fix-openfile.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-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/packages/midpath/files/midpath-launcher-j2se b/packages/midpath/files/midpath-launcher-j2se
deleted file mode 100644
index 49f074f7ab..0000000000
--- a/packages/midpath/files/midpath-launcher-j2se
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/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/packages/midpath/files/midpath-suitemanager b/packages/midpath/files/midpath-suitemanager
deleted file mode 100644
index 41ccd5fcb6..0000000000
--- a/packages/midpath/files/midpath-suitemanager
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-LAUNCHER_CLASS=org.thenesis.midpath.main.SuiteManager midpath-launcher-j2se "$@"
diff --git a/packages/midpath/files/midpath-suitemanager.desktop b/packages/midpath/files/midpath-suitemanager.desktop
deleted file mode 100644
index 3d7833e74e..0000000000
--- a/packages/midpath/files/midpath-suitemanager.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[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/packages/midpath/files/midpath.png b/packages/midpath/files/midpath.png
deleted file mode 100644
index 0066fe4f29..0000000000
--- a/packages/midpath/files/midpath.png
+++ /dev/null
Binary files differ