User:Rlinfati

(Jave SE and Java ME)
Line 16: Line 16:
==Rotate Screen==
==Rotate Screen==
-
: bla bla
+
: TODO: bla bla
==Bootmenu==
==Bootmenu==
-
: bla bla
+
: TODO: bla bla
===bootmenu.conf===
===bootmenu.conf===
  MENU_TIMEOUT=3
  MENU_TIMEOUT=3
Line 101: Line 101:
==clone target==
==clone target==
-
la la la
+
TODO: la la la
----
----

Revision as of 01:32, 4 January 2010

Rodrigo Linfati

Contents

N800 Stuff

n8x0.install

[catalogues]
catalogues = extras; extras-devel

[extras]
name = Maemo.org Extras
uri = http://repository.maemo.org/extras/
components = free non-free

[extras-devel]
name = Maemo.org Extras-Devel
uri = http://repository.maemo.org/extras-devel/
components = free non-free

Rotate Screen

TODO: bla bla

Bootmenu

TODO: bla bla

bootmenu.conf

MENU_TIMEOUT=3
USB_IP=192.168.2.15

MENU_MIN=1

MENU_1_NAME="Internal flash"
MENU_1_ID="flash"

MENU_2_NAME="Internal, p2, MER"
MENU_2_ID="mer"
MENU_2_DEVICE="${INT_CARD}p2"
MENU_2_MODULES="mbcache ext2 jbd ext3"
MENU_2_FSTYPE="ext3"
MENU_2_FSOPTIONS="noatime,ro"
MENU_2_LINUXRC="linuxrc"
[ -d "/sys/block/${INT_CARD}/${MENU_2_DEVICE}" ] || MENU_2_NAME="(${MENU_2_NAME}) N/A"

MENU_3_NAME="Internal, p3, DIABLO"
MENU_3_ID="diablo"
MENU_3_DEVICE="${INT_CARD}p3"
MENU_3_MODULES="mbcache ext2 jbd ext3"
MENU_3_FSTYPE="ext3"
MENU_3_FSOPTIONS="noatime"
[ -d "/sys/block/${INT_CARD}/${MENU_3_DEVICE}" ] || MENU_3_NAME="(${MENU_3_NAME}) N/A"

MENU_4_NAME="Internal, p4, MER TEST"
MENU_4_ID="test"
MENU_4_DEVICE="${INT_CARD}p2"
MENU_4_MODULES="mbcache ext2 jbd ext3"
MENU_4_FSTYPE="ext3"
MENU_4_FSOPTIONS="noatime,ro"
MENU_4_LINUXRC="linuxrc"
[ -d "/sys/block/${INT_CARD}/${MENU_4_DEVICE}" ] || MENU_4_NAME="(${MENU_4_NAME}) N/A"

MENU_5_NAME="Power off (when not on charger)"
MENU_5_ID="off"

MENU_MAX=5

N900 Stuff

n900.install

[catalogues]
catalogues = extras; extras-testing; extras-devel

[extras]
name = Maemo.org Extras
uri = http://repository.maemo.org/extras/
components = free non-free

[extras-testing]
name = Maemo.org Extras-testing
uri = http://repository.maemo.org/extras-testing/
components = free non-free

[extras-devel]
name = Maemo.org Extras-Devel
uri = http://repository.maemo.org/extras-devel/
components = free non-free

tools

location-test-gui


SDK Stuff

sources.list

deb http://repository.maemo.org/ fremantle/sdk free non-free
deb-src http://repository.maemo.org/ fremantle/sdk free non-free
deb http://repository.maemo.org/ fremantle/tools free non-free
deb-src http://repository.maemo.org/ fremantle/tools free non-free
deb http://repository.maemo.org/extras fremantle free non-free
deb-src http://repository.maemo.org/extras fremantle free non-free
deb http://repository.maemo.org/extras-testing fremantle free non-free
deb-src http://repository.maemo.org/extras-testing fremantle free non-free
deb http://repository.maemo.org/extras-devel fremantle free non-free
deb-src http://repository.maemo.org/extras-devel fremantle free non-free
deb http://repository.maemo.org/ fremantle/4bc37c7c77ebe90177c050b805a8dc79 nokia-binaries

clone target

TODO: la la la


Jave SE and Java ME

Download and untar/unzip

  1. microemulator-2.0.3.zip
  2. ejre-1_6_0_10-ea-b39-linux-armv6-vfp-eabi-min-eval-30_jul_2009.tar.gz

Makefile

clean:
	echo cleaning...

install:
	cp -r ejre1.6.0_10 $(DESTDIR)/opt/
	cp -r microemulator-2.0.3 $(DESTDIR)/opt/
	cp microemulator.desktop $(DESTDIR)/usr/share/applications/hildon/
	cp $(DESTDIR)/opt/microemulator-2.0.3/devices/microemu-device-resizable.jar $(DESTDIR)/home/user/.microemulator/
	cp config2.xml $(DESTDIR)/home/user/.microemulator/

microemulator.desktop

[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Name=MicroEmulator
Exec=/opt/ejre1.6.0_10/bin/java -jar /opt/microemulator-2.0.3/microemulator.jar
Icon=microemulator
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

config2.xml

<config>
	<files>
		<recentJadDirectory>/home/user/MyDocs/</recentJadDirectory>
	</files>
	<system-properties>
		<system-property VALUE="MIDP-2.0" NAME="microedition.profiles"/>
		<system-property VALUE="CLDC-1.0" NAME="microedition.configuration"/>
		<system-property VALUE="true" NAME="avetana.forceNativeLibrary"/>
	</system-properties>
	<devices>
		<device DEFAULT="true">
			<name>Resizable device</name>
			<filename>microemu-device-resizable.jar</filename>
			<descriptor>org/microemu/device/resizable/device.xml</descriptor>
			<rectangle>
				<x>0</x>
				<y>0</y>
				<width>800</width>
				<height>378</height>
			</rectangle>
		</device>
	</devices>
	<windows>
		<main ONSTART="true">
			<x>0</x>
			<y>0</y>
			<width>800</width>
			<height>480</height>
		</main>
	</windows>
</config>

debian/javame.postinst

first run as root... to start timebomb (aka trial period)
#!/bin/sh
/opt/ejre1.6.0_10/bin/java -version 2> /dev/null
chown -R user:users /home/user/.microemulator/
exit 0

QT Stuff

foobar.pro

la

debian/rules

la

debian/control

N8x0 - libqt4

la

N900 - libqt4

la

N900 - libqt4-maemo5

la