diff options
Diffstat (limited to 'meta-openmoko/packages/openmoko2')
41 files changed, 746 insertions, 60 deletions
diff --git a/meta-openmoko/packages/openmoko2/libjana/clockpatch.patch b/meta-openmoko/packages/openmoko2/libjana/clockpatch.patch new file mode 100644 index 0000000000..7b20222239 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/libjana/clockpatch.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | Index: jana/libjana-gtk/jana-gtk-clock.c | ||
2 | =================================================================== | ||
3 | --- jana.orig/libjana-gtk/jana-gtk-clock.c | ||
4 | +++ jana/libjana-gtk/jana-gtk-clock.c | ||
5 | @@ -695,7 +695,7 @@ draw_digital_clock (JanaGtkClock *clock, | ||
6 | cairo_fill (cr); | ||
7 | |||
8 | /* Draw dark outline frame */ | ||
9 | - thickness = width/20; | ||
10 | + thickness = width/40; | ||
11 | cairo_new_path (cr); | ||
12 | cairo_rectangle (cr, thickness/2, thickness/2, | ||
13 | width - thickness, height - thickness); | ||
14 | @@ -703,7 +703,7 @@ draw_digital_clock (JanaGtkClock *clock, | ||
15 | cairo_set_source_rgb (cr, base_color[0]/2, | ||
16 | base_color[1]/2, base_color[2]/2); | ||
17 | cairo_stroke (cr); | ||
18 | - | ||
19 | +#if 0 | ||
20 | /* Draw main outline frame */ | ||
21 | cairo_new_path (cr); | ||
22 | cairo_rectangle (cr, thickness, thickness, | ||
23 | @@ -728,7 +728,7 @@ draw_digital_clock (JanaGtkClock *clock, | ||
24 | base_color[1]/1.5, base_color[2]/1.5); | ||
25 | cairo_set_line_width (cr, thickness/2); | ||
26 | cairo_stroke (cr); | ||
27 | - | ||
28 | +#endif | ||
29 | cairo_identity_matrix (cr); | ||
30 | } | ||
31 | |||
diff --git a/meta-openmoko/packages/openmoko2/libjana_svn.bb b/meta-openmoko/packages/openmoko2/libjana_svn.bb index 065f380969..48779e50fe 100644 --- a/meta-openmoko/packages/openmoko2/libjana_svn.bb +++ b/meta-openmoko/packages/openmoko2/libjana_svn.bb | |||
@@ -1,13 +1,15 @@ | |||
1 | DESCRIPTION = "O-Hand Jana Library" | 1 | DESCRIPTION = "O-Hand Jana Library" |
2 | DEPENDS = "libmokojournal2 gtk+ eds-dbus gconf" | 2 | DEPENDS = "libmokojournal2 gtk+ eds-dbus gconf" |
3 | PV = "0.1.0+svnr${SRCREV}" | 3 | PV = "0.1.0+svnr${SRCREV}" |
4 | PR = "r4" | 4 | PR = "r5" |
5 | 5 | ||
6 | inherit autotools pkgconfig lib_package | 6 | inherit autotools pkgconfig lib_package |
7 | 7 | ||
8 | SRC_URI = "svn://svn.o-hand.com/repos/jana/;module=trunk;proto=http" | 8 | SRC_URI = "svn://svn.o-hand.com/repos/jana/;module=trunk;proto=http" |
9 | S = "${WORKDIR}/trunk/" | 9 | S = "${WORKDIR}/trunk/" |
10 | 10 | ||
11 | EXTRA_OECONF = "--enable-examples " | ||
12 | |||
11 | do_configure_prepend() { | 13 | do_configure_prepend() { |
12 | touch gtk-doc.make | 14 | touch gtk-doc.make |
13 | } | 15 | } |
@@ -23,6 +25,7 @@ PACKAGES =+ "libjana-ecal libjana-ecal-dbg \ | |||
23 | LEAD_SONAME = "libjana.so" | 25 | LEAD_SONAME = "libjana.so" |
24 | 26 | ||
25 | FILES_libjana-ecal = "${libdir}/libjana-ecal.so.*" | 27 | FILES_libjana-ecal = "${libdir}/libjana-ecal.so.*" |
26 | FILES_libjana-ecal-dbg = "${libdir}/.debug/libjana-ecal*" | 28 | FILES_libjana-ecal-dbg += "${libdir}/.debug/libjana-ecal*" |
27 | FILES_libjana-gtk = "${libdir}/libjana-gtk.so.* ${datadir}/jana/landwater.vmf" | 29 | FILES_libjana-gtk = "${libdir}/libjana-gtk.so.* ${datadir}/jana/landwater.vmf" |
28 | FILES_libjana-gtk-dbg = "${libdir}/.debug/libjana-gtk.so.*" | 30 | FILES_libjana-gtk-dbg += "${libdir}/.debug/libjana-gtk.so.*" |
31 | FILES_libjana-bin_append = " ${datadir}/jana/flag-uk.png " | ||
diff --git a/meta-openmoko/packages/openmoko2/libmokogsmd2_svn.bb b/meta-openmoko/packages/openmoko2/libmokogsmd2_svn.bb index 8e547b3663..5625bf809d 100644 --- a/meta-openmoko/packages/openmoko2/libmokogsmd2_svn.bb +++ b/meta-openmoko/packages/openmoko2/libmokogsmd2_svn.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | SECTION = "openmoko/libs" | 1 | SECTION = "openmoko/libs" |
2 | DEPENDS = "libgsmd glib-2.0" | 2 | DEPENDS = "libgsmd glib-2.0" |
3 | PV = "0.1.0+svnr${SRCREV}" | 3 | PV = "0.1.0+svnr${SRCREV}" |
4 | PR = "r1" | 4 | PR = "r2" |
5 | 5 | ||
6 | inherit openmoko2 | 6 | inherit openmoko2 |
7 | 7 | ||
diff --git a/meta-openmoko/packages/openmoko2/libmokopanelui2_svn.bb b/meta-openmoko/packages/openmoko2/libmokopanelui2_svn.bb new file mode 100644 index 0000000000..0813111821 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/libmokopanelui2_svn.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | SECTION = "openmoko/libs" | ||
2 | DEPENDS = "gtk+ matchbox-panel-2" | ||
3 | PV = "0.3.0+svnr${SRCREV}" | ||
4 | PR = "r0" | ||
5 | |||
6 | inherit openmoko2 | ||
7 | |||
8 | do_stage() { | ||
9 | autotools_stage_all | ||
10 | } | ||
diff --git a/meta-openmoko/packages/openmoko2/libmokoui2_svn.bb b/meta-openmoko/packages/openmoko2/libmokoui2_svn.bb index 7d22f27a58..3785074a82 100644 --- a/meta-openmoko/packages/openmoko2/libmokoui2_svn.bb +++ b/meta-openmoko/packages/openmoko2/libmokoui2_svn.bb | |||
@@ -12,3 +12,4 @@ do_configure_prepend() { | |||
12 | do_stage() { | 12 | do_stage() { |
13 | autotools_stage_all | 13 | autotools_stage_all |
14 | } | 14 | } |
15 | |||
diff --git a/meta-openmoko/packages/openmoko2/moko-gtk-engine_svn.bb b/meta-openmoko/packages/openmoko2/moko-gtk-engine_svn.bb new file mode 100644 index 0000000000..027b3cb22b --- /dev/null +++ b/meta-openmoko/packages/openmoko2/moko-gtk-engine_svn.bb | |||
@@ -0,0 +1,14 @@ | |||
1 | DESCRIPTION = "Moko GTK+ theme engine" | ||
2 | SECTION = "openmoko/libs" | ||
3 | PV = "0.1.0+svnr${SRCREV}" | ||
4 | PR = "r0" | ||
5 | |||
6 | inherit openmoko2 | ||
7 | |||
8 | PACKAGES += "moko-gtk-theme" | ||
9 | FILES_${PN} = "${libdir}/gtk-2.0/*/engines/*.so " | ||
10 | FILES_${PN}-dev = "${libdir}/gtk-2.0/*/engines/*" | ||
11 | FILES_${PN}-dbg += "${libdir}/gtk-2.0/*/engines/.debug" | ||
12 | FILES_moko-gtk-theme = "${datadir}/themes" | ||
13 | RDEPENDS_${PN} = "moko-gtk-theme" | ||
14 | |||
diff --git a/meta-openmoko/packages/openmoko2/neod/htc.patch b/meta-openmoko/packages/openmoko2/neod/htc.patch new file mode 100644 index 0000000000..0ced894a45 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/neod/htc.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | Index: neod/configure.ac | ||
2 | =================================================================== | ||
3 | --- neod.orig/configure.ac 2007-09-15 23:01:30.000000000 +0200 | ||
4 | +++ neod/configure.ac 2007-09-15 23:02:01.000000000 +0200 | ||
5 | @@ -32,6 +32,10 @@ | ||
6 | NEOD_CFLAGS="$NEOD_CFLAGS -DNEOD_PLATFORM_MOTOROLA_EZX" | ||
7 | fi | ||
8 | |||
9 | +if test x"$neod_platform" = x"htc"; then | ||
10 | + NEOD_CFLAGS="$NEOD_CFLAGS -DNEOD_PLATFORM_HTC" | ||
11 | +fi | ||
12 | + | ||
13 | CFLAGS=$NEOD_CFLAGS | ||
14 | |||
15 | AC_OUTPUT([ | ||
16 | Index: neod/src/buttonactions.c | ||
17 | =================================================================== | ||
18 | --- neod.orig/src/buttonactions.c 2007-09-15 23:02:15.000000000 +0200 | ||
19 | +++ neod/src/buttonactions.c 2007-09-15 23:04:16.000000000 +0200 | ||
20 | @@ -63,6 +63,12 @@ | ||
21 | #define TOUCHSCREEN_BUTTON_KEYCODE 0x14a | ||
22 | #endif | ||
23 | |||
24 | +#ifdef NEOD_PLATFORM_HTC | ||
25 | + #define AUX_BUTTON_KEYCODE 0xd4 /* camera */ | ||
26 | + #define POWER_BUTTON_KEYCODE 0x74 /* power */ | ||
27 | + #define TOUCHSCREEN_BUTTON_KEYCODE 0x14a | ||
28 | +#endif | ||
29 | + | ||
30 | #define HEADPHONE_INSERTION_SWITCHCODE 0x02 | ||
31 | |||
32 | GPollFD input_fd[10]; | ||
diff --git a/meta-openmoko/packages/openmoko2/neod/ipaq.patch b/meta-openmoko/packages/openmoko2/neod/ipaq.patch new file mode 100644 index 0000000000..19b61ab1f5 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/neod/ipaq.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | Index: neod/src/buttonactions.c | ||
2 | =================================================================== | ||
3 | --- neod.orig/src/buttonactions.c 2007-09-29 17:24:43.000000000 +0200 | ||
4 | +++ neod/src/buttonactions.c 2007-09-29 17:24:49.000000000 +0200 | ||
5 | @@ -69,6 +69,12 @@ | ||
6 | #define TOUCHSCREEN_BUTTON_KEYCODE 0x14a | ||
7 | #endif | ||
8 | |||
9 | +#ifdef NEOD_PLATFORM_IPAQ | ||
10 | + #define AUX_BUTTON_KEYCODE 89 /* _KEY_RECORD */ | ||
11 | + #define POWER_BUTTON_KEYCODE 0x74 /* KEY_POWER */ | ||
12 | + #define TOUCHSCREEN_BUTTON_KEYCODE 0x14a | ||
13 | +#endif | ||
14 | + | ||
15 | #define HEADPHONE_INSERTION_SWITCHCODE 0x02 | ||
16 | |||
17 | GPollFD input_fd[10]; | ||
18 | Index: neod/configure.ac | ||
19 | =================================================================== | ||
20 | --- neod.orig/configure.ac 2007-09-29 17:25:12.000000000 +0200 | ||
21 | +++ neod/configure.ac 2007-09-29 17:25:48.000000000 +0200 | ||
22 | @@ -36,6 +36,10 @@ | ||
23 | NEOD_CFLAGS="$NEOD_CFLAGS -DNEOD_PLATFORM_HTC" | ||
24 | fi | ||
25 | |||
26 | +if test x"$neod_platform" = x"ipaq"; then | ||
27 | + NEOD_CFLAGS="$NEOD_CFLAGS -DNEOD_PLATFORM_IPAQ" | ||
28 | +fi | ||
29 | + | ||
30 | CFLAGS=$NEOD_CFLAGS | ||
31 | |||
32 | AC_OUTPUT([ | ||
diff --git a/meta-openmoko/packages/openmoko2/neod_svn.bb b/meta-openmoko/packages/openmoko2/neod_svn.bb deleted file mode 100644 index 4d6115ae93..0000000000 --- a/meta-openmoko/packages/openmoko2/neod_svn.bb +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | DESCRIPTION = "Simple Neo1973 Daemon for Button Handling and Power Management" | ||
2 | SECTION = "openmoko/daemons" | ||
3 | DEPENDS = "gconf gtk+ pulseaudio" | ||
4 | PV = "0.1.0+svn${SVNREV}" | ||
5 | PR = "r0" | ||
6 | |||
7 | inherit openmoko2 gconf | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-alsa-scenarios.bb b/meta-openmoko/packages/openmoko2/openmoko-alsa-scenarios.bb new file mode 100644 index 0000000000..08531e898e --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-alsa-scenarios.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | DESCRIPTION = "Package for the different scenarios used by Openmoko" | ||
2 | SECTION = "openmoko/base" | ||
3 | PV = "1.0+svnr${SRCREV}" | ||
4 | PR = "r1" | ||
5 | |||
6 | COMPATIBLE_MACHINE = "(om-gta01|om-gta02)" | ||
7 | |||
8 | SRC_URI_${MACHINE_ARCH} = "svn://svn.openmoko.org/trunk/src/target/audio/;module=${MACHINE_ARCH};proto=http" | ||
9 | |||
10 | S = "${WORKDIR}/${MACHINE_ARCH}" | ||
11 | |||
12 | do_install() { | ||
13 | install -d ${D}${datadir}/openmoko/scenarios/ | ||
14 | install -m 644 ${S}/*.state ${D}${datadir}/openmoko/scenarios/ | ||
15 | install -d ${D}${sysconfdir}/ | ||
16 | install -m 644 ${S}/stereoout.state ${D}${sysconfdir}/asound.state | ||
17 | } | ||
18 | |||
19 | PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}" | ||
20 | |||
21 | FILES_${PN} += "${datadir}/openmoko" | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-appearance_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-appearance_svn.bb new file mode 100644 index 0000000000..a6f5c11171 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-appearance_svn.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | DESCRIPTION = "The Openmoko Appearance Editor" | ||
2 | SECTION = "openmoko/pim" | ||
3 | DEPENDS = "libmokoui2 gconf gtk+" | ||
4 | RDEPENDS = "libedata-cal openmoko-today2-folders" | ||
5 | PV = "0.1.0+svnr${SRCREV}" | ||
6 | PR = "r0" | ||
7 | |||
8 | inherit openmoko2 gtk-icon-cache | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-browser2/fingerscroll.diff b/meta-openmoko/packages/openmoko2/openmoko-browser2/fingerscroll.diff new file mode 100644 index 0000000000..89f79496a0 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-browser2/fingerscroll.diff | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: src/current-page.c | ||
2 | =================================================================== | ||
3 | --- openmoko-browser2/src/current-page.c (revision 3249) | ||
4 | +++ openmoko-browser2/src/current-page.c (working copy) | ||
5 | @@ -129,7 +129,7 @@ | ||
6 | gtk_toolbar_insert (GTK_TOOLBAR (toolbar), data->currentClose, 8); | ||
7 | |||
8 | |||
9 | - data->currentFingerScroll = gtk_scrolled_window_new (NULL, NULL); //moko_finger_scroll_new (); | ||
10 | + data->currentFingerScroll = moko_finger_scroll_new (); | ||
11 | gtk_box_pack_start (box, data->currentFingerScroll, TRUE, TRUE, 0); | ||
12 | } | ||
13 | |||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-browser2/webkit-update.patch b/meta-openmoko/packages/openmoko2/openmoko-browser2/webkit-update.patch new file mode 100644 index 0000000000..18e8a88e25 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-browser2/webkit-update.patch | |||
@@ -0,0 +1,99 @@ | |||
1 | diff -Nurd openmoko-browser2.orig/configure.ac openmoko-browser2/configure.ac | ||
2 | --- openmoko-browser2.orig/configure.ac 2007-10-02 09:00:38.000000000 +0200 | ||
3 | +++ openmoko-browser2/configure.ac 2008-03-05 12:12:32.954623867 +0100 | ||
4 | @@ -40,7 +40,7 @@ | ||
5 | # base deps | ||
6 | PKG_CHECK_MODULES(OPENMOKO, libmokoui2 >= 0.1.0) | ||
7 | PKG_CHECK_MODULES(GTHREAD, gthread-2.0 ) | ||
8 | -PKG_CHECK_MODULES(WEBKITGTK, WebKitGtk) | ||
9 | +PKG_CHECK_MODULES(WEBKITGTK, webkit-1.0) | ||
10 | |||
11 | # glib-genmarshal | ||
12 | GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0` | ||
13 | diff -Nurd openmoko-browser2.orig/src/browser-data.h openmoko-browser2/src/browser-data.h | ||
14 | --- openmoko-browser2.orig/src/browser-data.h 2007-12-12 20:31:07.000000000 +0100 | ||
15 | +++ openmoko-browser2/src/browser-data.h 2008-03-05 12:12:50.497959252 +0100 | ||
16 | @@ -27,7 +27,7 @@ | ||
17 | #ifndef OPENMOKO_BROWSER_DATA_H | ||
18 | #define OPENMOKO_BROWSER_DATA_H | ||
19 | |||
20 | -#include "webkitwebview.h" | ||
21 | +#include <webkit/webkitwebview.h> | ||
22 | |||
23 | #include <glib.h> | ||
24 | #include <gtk/gtk.h> | ||
25 | diff -Nurd openmoko-browser2.orig/src/current-page.c openmoko-browser2/src/current-page.c | ||
26 | --- openmoko-browser2.orig/src/current-page.c 2007-12-12 20:31:07.000000000 +0100 | ||
27 | +++ openmoko-browser2/src/current-page.c 2008-03-05 12:13:56.032884030 +0100 | ||
28 | @@ -28,8 +28,8 @@ | ||
29 | #include "current-page.h" | ||
30 | |||
31 | #include <moko-finger-scroll.h> | ||
32 | -#include <webkitwebframe.h> | ||
33 | -#include <webkitwebview.h> | ||
34 | +#include <webkit/webkitwebframe.h> | ||
35 | +#include <webkit/webkitwebview.h> | ||
36 | |||
37 | /* | ||
38 | * From a list of BrowserPage's in BrowserData::currentPage show | ||
39 | @@ -42,7 +42,7 @@ | ||
40 | static void current_back_clicked_closure(GtkWidget* button, struct BrowserData* data) | ||
41 | { | ||
42 | g_return_if_fail (data->currentPage); | ||
43 | - webkit_web_view_go_backward(data->currentPage->webKitPage); | ||
44 | + webkit_web_view_go_back(data->currentPage->webKitPage); | ||
45 | } | ||
46 | |||
47 | static void current_forward_clicked_closure(GtkWidget* button, struct BrowserData* data) | ||
48 | @@ -66,7 +66,7 @@ | ||
49 | g_assert (page == data->currentPage->webKitPage); | ||
50 | |||
51 | if (prog == 100) { | ||
52 | - gtk_widget_set_sensitive (GTK_WIDGET (data->currentBack), webkit_web_view_can_go_backward (page)); | ||
53 | + gtk_widget_set_sensitive (GTK_WIDGET (data->currentBack), webkit_web_view_can_go_back (page)); | ||
54 | gtk_widget_set_sensitive (GTK_WIDGET (data->currentForward), webkit_web_view_can_go_forward (page)); | ||
55 | gtk_widget_set_sensitive (GTK_WIDGET (data->currentAdd), webkit_web_frame_get_title (webkit_web_view_get_main_frame (page)) != NULL); | ||
56 | } | ||
57 | @@ -176,7 +176,7 @@ | ||
58 | * Update the GtkToolItems | ||
59 | */ | ||
60 | /* XXX ### FIXME TODO check if we should show stop/reload */ | ||
61 | - gtk_widget_set_sensitive (GTK_WIDGET (data->currentBack), webkit_web_view_can_go_backward (data->currentPage->webKitPage)); | ||
62 | + gtk_widget_set_sensitive (GTK_WIDGET (data->currentBack), webkit_web_view_can_go_back (data->currentPage->webKitPage)); | ||
63 | gtk_widget_set_sensitive (GTK_WIDGET (data->currentForward), webkit_web_view_can_go_forward (data->currentPage->webKitPage)); | ||
64 | gtk_widget_set_sensitive (GTK_WIDGET (data->currentAdd), webkit_web_frame_get_title (webkit_web_view_get_main_frame (data->currentPage->webKitPage)) != NULL); | ||
65 | gtk_widget_set_sensitive (GTK_WIDGET (data->currentClose), TRUE); | ||
66 | diff -Nurd openmoko-browser2.orig/src/main.c openmoko-browser2/src/main.c | ||
67 | --- openmoko-browser2.orig/src/main.c 2007-12-12 20:31:07.000000000 +0100 | ||
68 | +++ openmoko-browser2/src/main.c 2008-03-05 12:14:46.337942098 +0100 | ||
69 | @@ -33,7 +33,7 @@ | ||
70 | #include <gtk/gtk.h> | ||
71 | #include <glib/gi18n.h> | ||
72 | |||
73 | -#include <webkit.h> | ||
74 | +#include <webkit/webkit.h> | ||
75 | |||
76 | #include <moko-finger-scroll.h> | ||
77 | #include <moko-stock.h> | ||
78 | @@ -55,7 +55,6 @@ | ||
79 | gdk_threads_init (); | ||
80 | gdk_threads_enter (); | ||
81 | gtk_init (&argc, &argv); | ||
82 | - webkit_init (); | ||
83 | moko_stock_register (); | ||
84 | g_set_application_name (_("Browser")); | ||
85 | |||
86 | diff -Nurd openmoko-browser2.orig/src/open-pages-page.c openmoko-browser2/src/open-pages-page.c | ||
87 | --- openmoko-browser2.orig/src/open-pages-page.c 2007-12-12 20:31:07.000000000 +0100 | ||
88 | +++ openmoko-browser2/src/open-pages-page.c 2008-03-05 12:13:37.671282983 +0100 | ||
89 | @@ -28,8 +28,8 @@ | ||
90 | #include "open-pages-page.h" | ||
91 | #include "current-page.h" | ||
92 | |||
93 | -#include <webkitwebframe.h> | ||
94 | -#include <webkitwebview.h> | ||
95 | +#include <webkit/webkitwebframe.h> | ||
96 | +#include <webkit/webkitwebview.h> | ||
97 | #include <moko-finger-scroll.h> | ||
98 | |||
99 | #include <glib/gi18n.h> | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-browser2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-browser2_svn.bb new file mode 100644 index 0000000000..c7f3066946 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-browser2_svn.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | DESCRIPTION = "The Openmoko Webbrowser" | ||
2 | SECTION = "openmoko/apps" | ||
3 | DEPENDS += "intltool libmokoui2 check webkit-gtk" | ||
4 | PV = "0.0.1+svnr${SRCREV}" | ||
5 | PR = "r2" | ||
6 | |||
7 | inherit openmoko2 | ||
8 | LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib" | ||
9 | |||
10 | SRC_URI += "file://webkit-update.patch;patch=1;minrev=3646;maxrev=4171" | ||
11 | |||
12 | #SRC_URI += "file://fingerscroll.diff;patch=1" | ||
13 | |||
14 | do_compile_prepend() { | ||
15 | find ${S} -name Makefile | xargs sed -i s:'-I/usr/include':"-I${STAGING_INCDIR}":g | ||
16 | } | ||
17 | |||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-calculator2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-calculator2_svn.bb new file mode 100644 index 0000000000..ba202bcec9 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-calculator2_svn.bb | |||
@@ -0,0 +1,7 @@ | |||
1 | DESCRIPTION = "A Calculator for Openmoko" | ||
2 | SECTION = "openmoko/tools" | ||
3 | DEPENDS = "libmokoui2" | ||
4 | PV = "0.1.0+svnr${SRCREV}" | ||
5 | PR = "r0" | ||
6 | |||
7 | inherit openmoko2 | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-common2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-common2_svn.bb index f54a23de18..0ea381437c 100644 --- a/meta-openmoko/packages/openmoko2/openmoko-common2_svn.bb +++ b/meta-openmoko/packages/openmoko2/openmoko-common2_svn.bb | |||
@@ -1,21 +1,25 @@ | |||
1 | DESCRIPTION = "Common files for the OpenMoko distribution" | 1 | DESCRIPTION = "Common files for the Openmoko framework" |
2 | SECTION = "openmoko/base" | 2 | SECTION = "openmoko/base" |
3 | PV = "0.0+svn${SRCDATE}" | 3 | PV = "0.1.0+svnr${SRCREV}" |
4 | PR = "r3" | 4 | PR = "r0" |
5 | 5 | ||
6 | inherit openmoko2 | 6 | inherit openmoko2 |
7 | 7 | ||
8 | SRC_URI = "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE}/artwork;module=pixmaps;proto=http" | 8 | SRC_URI = "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE}/artwork;module=pixmaps;proto=http" |
9 | S = "${WORKDIR}" | 9 | S = "${WORKDIR}" |
10 | 10 | ||
11 | ALLOW_EMPTY = "1" | ||
12 | |||
11 | dirs = "pixmaps" | 13 | dirs = "pixmaps" |
12 | 14 | ||
13 | do_install() { | 15 | do_install() { |
14 | find ${WORKDIR} -name ".svn" | xargs rm -rf | 16 | find . -name .svn | xargs rm -rf |
15 | install -d ${D}${datadir} | 17 | install -d ${D}${datadir} |
16 | for i in ${dirs}; do | 18 | for i in ${dirs}; do |
17 | cp -fpPR ${S}/$i ${D}${datadir} | 19 | cp -fR $i ${D}${datadir}/$i; |
18 | done | 20 | done |
21 | # moved to xserver-kdrive-common | ||
22 | rm -f ${D}${datadir}/pixmaps/xsplash* | ||
19 | } | 23 | } |
20 | 24 | ||
21 | PACKAGE_ARCH = "all" | 25 | PACKAGE_ARCH = "all" |
diff --git a/meta-openmoko/packages/openmoko2/openmoko-contacts2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-contacts2_svn.bb index c63738a912..4d7b1bcd7d 100644 --- a/meta-openmoko/packages/openmoko2/openmoko-contacts2_svn.bb +++ b/meta-openmoko/packages/openmoko2/openmoko-contacts2_svn.bb | |||
@@ -1,9 +1,9 @@ | |||
1 | DESCRIPTION = "The OpenMoko Address Book" | 1 | DESCRIPTION = "The Openmoko Address Book" |
2 | SECTION = "openmoko/pim" | 2 | SECTION = "openmoko/pim" |
3 | DEPENDS = "libmokoui2 libmokojournal2 dbus-glib" | 3 | DEPENDS = "libmokoui2 libmokojournal2 dbus-glib libjana" |
4 | RDEPENDS = "libedata-book" | 4 | RDEPENDS = "libedata-book" |
5 | PV = "0.1.0+svn${SVNREV}" | 5 | PV = "0.1.0+svnr${SRCREV}" |
6 | PR = "r4" | 6 | PR = "r5" |
7 | 7 | ||
8 | inherit openmoko2 | 8 | inherit openmoko2 |
9 | 9 | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-dates2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-dates2_svn.bb index 1fa610020d..ff3bfa62a6 100644 --- a/meta-openmoko/packages/openmoko2/openmoko-dates2_svn.bb +++ b/meta-openmoko/packages/openmoko2/openmoko-dates2_svn.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "The OpenMoko Calendar" | 1 | DESCRIPTION = "The Openmoko Calendar" |
2 | SECTION = "openmoko/pim" | 2 | SECTION = "openmoko/pim" |
3 | DEPENDS = "libmokoui2 libmokojournal2 gtk+ libglade eds-dbus libjana" | 3 | DEPENDS = "libmokoui2 libmokojournal2 gtk+ libglade eds-dbus libjana" |
4 | RDEPENDS = "libedata-cal" | 4 | RDEPENDS = "libedata-cal" |
@@ -15,3 +15,5 @@ EXTRA_OECONF = "--with-frontend=openmoko" | |||
15 | do_configure_prepend() { | 15 | do_configure_prepend() { |
16 | touch gtk-doc.make | 16 | touch gtk-doc.make |
17 | } | 17 | } |
18 | |||
19 | |||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-dialer2/om-gta01/kernel-2.6.24.patch b/meta-openmoko/packages/openmoko2/openmoko-dialer2/om-gta01/kernel-2.6.24.patch new file mode 100644 index 0000000000..c6f34f4131 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-dialer2/om-gta01/kernel-2.6.24.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: openmoko-dialer2/src/phone-kit/moko-notify.c | ||
2 | =================================================================== | ||
3 | --- openmoko-dialer2/src/phone-kit/moko-notify.c.orig 2008-02-14 17:47:23.000000000 +0800 | ||
4 | +++ openmoko-dialer2/src/phone-kit/moko-notify.c 2008-02-14 17:48:19.000000000 +0800 | ||
5 | @@ -38,7 +38,7 @@ | ||
6 | |||
7 | #define DEFAULT_RINGTONE "/default_ringtone.ogg" | ||
8 | #define SYS_BRIGHTNESS "/sys/class/backlight/gta01-bl" | ||
9 | -#define SYS_VIBRATE "/sys/class/leds/gta01:vibrator" | ||
10 | +#define SYS_VIBRATE "/sys/class/leds/neo1973:vibrator" | ||
11 | |||
12 | struct _MokoNotifyPrivate | ||
13 | { | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-dialer2/om-gta02/kernel-2.6.24.patch b/meta-openmoko/packages/openmoko2/openmoko-dialer2/om-gta02/kernel-2.6.24.patch new file mode 100644 index 0000000000..72c516f5d6 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-dialer2/om-gta02/kernel-2.6.24.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Index: openmoko-dialer2/src/phone-kit/moko-notify.c | ||
2 | =================================================================== | ||
3 | --- openmoko-dialer2/src/phone-kit/moko-notify.c (revision 4051) | ||
4 | +++ openmoko-dialer2/src/phone-kit/moko-notify.c (working copy) | ||
5 | @@ -37,8 +37,8 @@ | ||
6 | MOKO_TYPE_NOTIFY, MokoNotifyPrivate)) | ||
7 | |||
8 | #define DEFAULT_RINGTONE "/default_ringtone.ogg" | ||
9 | -#define SYS_BRIGHTNESS "/sys/class/backlight/gta01-bl" | ||
10 | -#define SYS_VIBRATE "/sys/class/leds/gta01:vibrator" | ||
11 | +#define SYS_BRIGHTNESS "/sys/class/backlight/pcf50633-bl" | ||
12 | +#define SYS_VIBRATE "/sys/class/leds/neo1973:vibrator" | ||
13 | |||
14 | struct _MokoNotifyPrivate | ||
15 | { | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-dialer2/openmoko-dialer.patch b/meta-openmoko/packages/openmoko2/openmoko-dialer2/openmoko-dialer.patch new file mode 100644 index 0000000000..5969726857 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-dialer2/openmoko-dialer.patch | |||
@@ -0,0 +1,117 @@ | |||
1 | --- openmoko-dialer2/src/moko-dialer.c~ 2007-08-27 20:02:37.000000000 +0930 | ||
2 | +++ openmoko-dialer2/src/moko-dialer.c 2007-08-27 18:59:37.000000000 +0930 | ||
3 | @@ -69,8 +69,7 @@ | ||
4 | |||
5 | /* Registration variables */ | ||
6 | guint reg_timeout; | ||
7 | - gboolean reg_request; | ||
8 | - gboolean registered; | ||
9 | + MokoGsmdConnectionNetregType registered; | ||
10 | }; | ||
11 | |||
12 | enum | ||
13 | @@ -292,8 +291,7 @@ | ||
14 | |||
15 | moko_keypad_set_pin_mode (MOKO_KEYPAD (priv->keypad), FALSE); | ||
16 | |||
17 | - priv->reg_request = TRUE; | ||
18 | - priv->registered = FALSE; | ||
19 | + priv->registered = MOKO_GSMD_CONNECTION_NETREG_NONE; | ||
20 | priv->reg_timeout = g_timeout_add (GSM_REGISTER_TIMEOUT, | ||
21 | (GSourceFunc)register_network_cb, | ||
22 | dialer); | ||
23 | @@ -424,14 +422,14 @@ | ||
24 | g_return_if_fail (MOKO_IS_DIALER (dialer)); | ||
25 | priv = dialer->priv; | ||
26 | |||
27 | + g_warning ("on_network_registered: type is %d\n", type); | ||
28 | + | ||
29 | switch (type) | ||
30 | { | ||
31 | case MOKO_GSMD_CONNECTION_NETREG_NONE: | ||
32 | case MOKO_GSMD_CONNECTION_NETREG_SEARCHING: | ||
33 | /* Do nothing */ | ||
34 | g_print ("NetReg: Searching for network\n"); | ||
35 | - g_source_remove (priv->reg_timeout); | ||
36 | - priv->registered = TRUE; | ||
37 | break; | ||
38 | case MOKO_GSMD_CONNECTION_NETREG_DENIED: | ||
39 | /* This may be a pin issue*/ | ||
40 | @@ -441,11 +439,12 @@ | ||
41 | g_print ("NetReg: Network registered\n"); | ||
42 | g_print("\tLocationAreaCode = %x\n\tCellID = %x\n", lac, cell); | ||
43 | g_source_remove (priv->reg_timeout); | ||
44 | - priv->registered = TRUE; | ||
45 | break; | ||
46 | default: | ||
47 | g_warning ("Unhandled register event type = %d\n", type); | ||
48 | }; | ||
49 | + | ||
50 | + priv->registered = type; | ||
51 | } | ||
52 | |||
53 | static void | ||
54 | @@ -619,28 +618,32 @@ | ||
55 | g_return_val_if_fail (MOKO_DIALER (dialer), TRUE); | ||
56 | priv = MOKO_DIALER_GET_PRIVATE (dialer); | ||
57 | |||
58 | - if (!priv->reg_request) | ||
59 | + /* We check whether we've been registered yet, otherwise keep poking | ||
60 | + * gsmd | ||
61 | + */ | ||
62 | + switch (priv->registered) | ||
63 | { | ||
64 | - /* We have yet to request registration, so lets do it */ | ||
65 | - /* FIXME: do the pin stuff */ | ||
66 | - g_print ("Requesting registration\n"); | ||
67 | - moko_gsmd_connection_network_register (priv->connection); | ||
68 | - } | ||
69 | - else | ||
70 | - { | ||
71 | - /* We check whether we've been registered yet, otherwise keep poking | ||
72 | - * gsmd | ||
73 | - */ | ||
74 | - if (priv->registered) | ||
75 | - { | ||
76 | - g_print ("Network Registered\n"); | ||
77 | - return FALSE; | ||
78 | - } | ||
79 | - else | ||
80 | - { | ||
81 | + case MOKO_GSMD_CONNECTION_NETREG_NONE: | ||
82 | + /* We have yet to request registration, so lets do it */ | ||
83 | + /* FIXME: do the pin stuff */ | ||
84 | g_print ("Requesting registration\n"); | ||
85 | moko_gsmd_connection_network_register (priv->connection); | ||
86 | - } | ||
87 | + priv->registered = MOKO_GSMD_CONNECTION_NETREG_SEARCHING; | ||
88 | + break; | ||
89 | + case MOKO_GSMD_CONNECTION_NETREG_SEARCHING: | ||
90 | + g_print ("Waiting for registration\n"); | ||
91 | + break; | ||
92 | + case MOKO_GSMD_CONNECTION_NETREG_DENIED: | ||
93 | + g_print ("Registration denied, retrying\n"); | ||
94 | + moko_gsmd_connection_network_register (priv->connection); | ||
95 | + priv->registered = MOKO_GSMD_CONNECTION_NETREG_SEARCHING; | ||
96 | + break; | ||
97 | + case MOKO_GSMD_CONNECTION_NETREG_HOME: | ||
98 | + case MOKO_GSMD_CONNECTION_NETREG_ROAMING: | ||
99 | + g_print ("Network Registered\n"); | ||
100 | + return FALSE; | ||
101 | + default: | ||
102 | + g_warning ("Unhandled register event type = %d\n", priv->registered); | ||
103 | } | ||
104 | |||
105 | return TRUE; | ||
106 | @@ -754,9 +757,8 @@ | ||
107 | |||
108 | /* Handle network registration a few seconds after powering up the | ||
109 | * antenna*/ | ||
110 | - priv->reg_request = TRUE; | ||
111 | - priv->registered = FALSE; | ||
112 | - priv->reg_timeout = g_timeout_add (GSM_REGISTER_TIMEOUT, | ||
113 | + priv->registered = MOKO_GSMD_CONNECTION_NETREG_NONE; | ||
114 | + priv->reg_timeout = g_timeout_add (GSM_REGISTER_TIMEOUT * 2, | ||
115 | (GSourceFunc)register_network_cb, | ||
116 | dialer); | ||
117 | |||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-dialer2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-dialer2_svn.bb index b01d9d3c05..fa76c44a14 100644 --- a/meta-openmoko/packages/openmoko2/openmoko-dialer2_svn.bb +++ b/meta-openmoko/packages/openmoko2/openmoko-dialer2_svn.bb | |||
@@ -1,11 +1,15 @@ | |||
1 | DESCRIPTION = "The OpenMoko Dialer" | 1 | DESCRIPTION = "The Openmoko Dialer" |
2 | SECTION = "openmoko/pim" | 2 | SECTION = "openmoko/pim" |
3 | DEPENDS = "libmokogsmd2 libmokoui2 libmokojournal2 pulseaudio" | 3 | DEPENDS = "libgsmd libjana libmokoui2 libmokojournal2 pulseaudio libnotify" |
4 | PV = "0.1.0+svnr${SRCREV}" | 4 | PV = "0.1.0+svnr${SRCREV}" |
5 | PR = "r5" | 5 | PR = "r8" |
6 | PE = "1" | ||
6 | 7 | ||
7 | inherit openmoko2 | 8 | inherit openmoko2 |
8 | 9 | ||
10 | SRC_URI_append_om-gta01 = " file://kernel-2.6.24.patch;patch=1" | ||
11 | SRC_URI_append_om-gta02 = " file://kernel-2.6.24.patch;patch=1" | ||
12 | |||
9 | EXTRA_OECONF = "--with-dbusbindir=${STAGING_BINDIR_NATIVE}" | 13 | EXTRA_OECONF = "--with-dbusbindir=${STAGING_BINDIR_NATIVE}" |
10 | 14 | ||
11 | FILES_${PN} += "${datadir}/openmoko-dialer/ ${datadir}/dbus-1/services/" | 15 | FILES_${PN} += "${datadir}/openmoko-dialer/ ${datadir}/dbus-1/services/" |
diff --git a/meta-openmoko/packages/openmoko2/openmoko-icon-theme-standard2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-icon-theme-standard2_svn.bb index e443e36075..e145fb2d98 100644 --- a/meta-openmoko/packages/openmoko2/openmoko-icon-theme-standard2_svn.bb +++ b/meta-openmoko/packages/openmoko2/openmoko-icon-theme-standard2_svn.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | DESCRIPTION = "Standard Gtk+ icon theme for the OpenMoko distribution" | 1 | DESCRIPTION = "Standard Gtk+ icon theme for the Openmoko framework" |
2 | SECTION = "openmoko/base" | 2 | SECTION = "openmoko/base" |
3 | PV = "0.1.0+svn${SVNREV}" | 3 | PV = "0.1.0+svnr${SRCREV}" |
4 | PR = "r0" | 4 | PR = "r1" |
5 | 5 | ||
6 | inherit openmoko2 | 6 | inherit openmoko2 |
7 | 7 | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-mediaplayer2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-mediaplayer2_svn.bb new file mode 100644 index 0000000000..79a8163328 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-mediaplayer2_svn.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | DESCRIPTION = "A media player for Openmoko" | ||
2 | SECTION = "openmoko/tools" | ||
3 | DEPENDS = "libmokoui2 expat gstreamer libspiff curl" | ||
4 | RDEPENDS = "gst-meta-audio gconf openmoko-sound-system2" | ||
5 | PV = "0.1.0+svnr${SRCREV}" | ||
6 | PR = "r4" | ||
7 | |||
8 | inherit openmoko2 | ||
9 | |||
10 | FILES_${PN} += "${datadir}/openmoko-mediaplayer" | ||
11 | |||
12 | do_install_append() { | ||
13 | install -d ${D}${sysconfdir}/gconf/schemas | ||
14 | install -m 0644 ${S}/openmoko-mediaplayer.schemas ${D}${sysconfdir}/gconf/schemas/openmoko-mediaplayer.schemas | ||
15 | } | ||
16 | |||
17 | pkg_postinst_openmoko-mediaplayer2 () { | ||
18 | #!/bin/sh -e | ||
19 | if [ "x$D" != "x" ]; then | ||
20 | exit 1 | ||
21 | fi | ||
22 | |||
23 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` | ||
24 | gconftool-2 --makefile-install-rule ${sysconfdir}/gconf/schemas/openmoko-mediaplayer.schemas > /dev/null | ||
25 | } | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-messages2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-messages2_svn.bb new file mode 100644 index 0000000000..f28f7f8e0a --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-messages2_svn.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | DESCRIPTION = "The Openmoko Message application" | ||
2 | SECTION = "openmoko/pim" | ||
3 | DEPENDS = "libmokogsmd2 libmokoui2 libmokojournal2 libjana" | ||
4 | PV = "0.1.0+svnr${SRCREV}" | ||
5 | PR = "r1" | ||
6 | |||
7 | inherit openmoko2 | ||
8 | |||
9 | EXTRA_OECONF = "--with-dbusbindir=${STAGING_BINDIR_NATIVE}" | ||
10 | |||
11 | FILES_${PN} += "${datadir}/openmoko-messages/ ${datadir}/dbus-1/services/" | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-sample2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-sample2_svn.bb new file mode 100644 index 0000000000..b944e79b45 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-sample2_svn.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | DESCRIPTION = "The Openmoko Sample Project" | ||
2 | SECTION = "openmoko/applications" | ||
3 | DEPENDS = "libmokoui2 intltool gconf" | ||
4 | PV = "0.0.1+svnr${SRCREV}" | ||
5 | PR = "r0" | ||
6 | |||
7 | inherit openmoko2 | ||
8 | |||
9 | PACKAGES += "${PN}-src" | ||
10 | # path should match the toolchain path | ||
11 | FILES_${PN}-src = "/usr/local/openmoko" | ||
12 | PACKAGE_ARCH_${PN}-src = "${BUILD_ARCH}-all-sdk" | ||
13 | |||
14 | do_configure_prepend() { | ||
15 | install -d ${WORKDIR}/source | ||
16 | cp -pPR ${S} ${WORKDIR}/source/ | ||
17 | find ${WORKDIR}/source -name ".svn"|xargs rm -rf | ||
18 | } | ||
19 | |||
20 | do_install_append() { | ||
21 | install -d ${D}/usr/local/openmoko/source/ | ||
22 | cp -pPR ${WORKDIR}/source/* ${D}/usr/local/openmoko/source/ | ||
23 | } | ||
24 | |||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-session2.bb b/meta-openmoko/packages/openmoko2/openmoko-session2.bb index 046f59b3d9..d0c3268e0c 100644 --- a/meta-openmoko/packages/openmoko2/openmoko-session2.bb +++ b/meta-openmoko/packages/openmoko2/openmoko-session2.bb | |||
@@ -1,33 +1,53 @@ | |||
1 | DESCRIPTION = "Custom MB session files for OpenMoko" | 1 | DESCRIPTION = "Custom Matchbox session files for Openmoko" |
2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
3 | SECTION = "x11" | 3 | SECTION = "x11" |
4 | RDEPENDS = "matchbox-common matchbox-applet-startup-monitor matchbox-panel-2" | 4 | RDEPENDS_${PN} = "matchbox-panel-2 openmoko-common2 openmoko-today2 openmoko-dialer2" |
5 | RDEPENDS += "openmoko-common2 openmoko-today2 openmoko-dialer2" | 5 | RCONFLICTS_${PN} = "openmoko-session matchbox-common" |
6 | RCONFLICTS = "openmoko-session" | 6 | PR = "r69" |
7 | PR = "r29" | ||
8 | 7 | ||
9 | SRC_URI = "file://etc" | 8 | SRC_URI = "\ |
10 | S = ${WORKDIR} | 9 | file://etc \ |
10 | file://matchbox-session \ | ||
11 | " | ||
12 | |||
13 | S = "${WORKDIR}" | ||
14 | |||
15 | inherit update-alternatives | ||
11 | 16 | ||
12 | do_install() { | 17 | do_install() { |
13 | cp -R ${S}/etc ${D}/etc | 18 | install -d ${D}${bindir} |
14 | rm -fR ${D}/etc/.svn | 19 | install -m 0655 ${WORKDIR}/matchbox-session ${D}${bindir} |
15 | rm -fR ${D}/etc/matchbox/.svn | 20 | install -d ${D}${sysconfdir} |
16 | chmod -R 755 ${D}/etc | 21 | cp -R ${S}/etc/* ${D}${sysconfdir} |
22 | rm -fR ${D}${sysconfdir}/.svn | ||
23 | rm -fR ${D}${sysconfdir}/matchbox/.svn | ||
24 | chmod -R 755 ${D}${sysconfdir}/ | ||
17 | } | 25 | } |
18 | 26 | ||
27 | PACKAGE_ARCH = "all" | ||
28 | |||
19 | pkg_postinst_openmoko-session2 () { | 29 | pkg_postinst_openmoko-session2 () { |
20 | #!/bin/sh -e | 30 | #!/bin/sh -e |
21 | if [ "x$D" != "x" ]; then | 31 | if [ "x$D" != "x" ]; then |
22 | exit 1 | 32 | exit 1 |
23 | fi | 33 | fi |
24 | 34 | ||
25 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/theme openmoko-standard-2 | 35 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/theme Moko |
26 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/icon_theme openmoko-standard | 36 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/icon_theme openmoko-standard |
27 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 5" | 37 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 5" |
38 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/wallpaper ${datadir}/pixmaps/wallpaper.png | ||
39 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type bool --set /desktop/poky/interface/digital_clock 1 | ||
28 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type int --set /desktop/poky/peripherals/mouse/drag_threshold 8 | 40 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type int --set /desktop/poky/peripherals/mouse/drag_threshold 8 |
29 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type int --set /desktop/openmoko/neod/power_management 2 | 41 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type int --set /desktop/openmoko/neod/power_management 2 |
42 | # gstreamer audio settings | ||
43 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct -t string --set /system/gstreamer/0.10/default/audiosink pulsesink | ||
44 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct -t string --set /system/gstreamer/0.10/default/audiosrc pulsesrc | ||
30 | 45 | ||
31 | } | 46 | } |
32 | 47 | ||
33 | PACKAGE_ARCH = "all" | 48 | ALTERNATIVE_NAME = "x-window-manager" |
49 | ALTERNATIVE_PATH = "${bindir}/matchbox-session" | ||
50 | ALTERNATIVE_LINK = "${bindir}/x-window-manager" | ||
51 | ALTERNATIVE_PRIORITY = "11" | ||
52 | |||
53 | CONFFILES_${PN} = "${sysconfdir}/matchbox/session" | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-session2/etc/matchbox/session b/meta-openmoko/packages/openmoko2/openmoko-session2/etc/matchbox/session index 787d9c72ba..732cce9d3f 100755 --- a/meta-openmoko/packages/openmoko2/openmoko-session2/etc/matchbox/session +++ b/meta-openmoko/packages/openmoko2/openmoko-session2/etc/matchbox/session | |||
@@ -1,11 +1,12 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | |||
3 | SHOWCURSOR="no" | 2 | SHOWCURSOR="no" |
4 | 3 | ||
5 | openmoko-today & | 4 | openmoko-today & |
6 | openmoko-dialer & | 5 | phone-kit & |
7 | 6 | ||
8 | matchbox-window-manager -use_titlebar yes -use_desktop_mode decorated -theme openmoko-standard-2 -use_cursor $SHOWCURSOR $@ & | 7 | matchbox-window-manager -use_titlebar yes -use_desktop_mode decorated -theme Moko -use_cursor $SHOWCURSOR $@ & |
9 | 8 | ||
10 | exec matchbox-panel --start-applets showdesktop --end-applets clock,battery,systray,startup --titlebar | 9 | matchbox-panel-2 --start-applets systray,startup \ |
10 | --end-applets openmoko-panel-battery,openmoko-panel-gsm,openmoko-panel-gps,openmoko-panel-usb,openmoko-panel-bt,openmoko-panel-memory,openmoko-panel-wifi --titlebar & | ||
11 | 11 | ||
12 | exec neod | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-session2/matchbox-session b/meta-openmoko/packages/openmoko2/openmoko-session2/matchbox-session index 65f1ce72ca..65f1ce72ca 100644..100755 --- a/meta-openmoko/packages/openmoko2/openmoko-session2/matchbox-session +++ b/meta-openmoko/packages/openmoko2/openmoko-session2/matchbox-session | |||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-sound-system2/pulseaudio b/meta-openmoko/packages/openmoko2/openmoko-sound-system2/pulseaudio new file mode 100755 index 0000000000..964947376e --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-sound-system2/pulseaudio | |||
@@ -0,0 +1,50 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | # pulseaudio This shell script starts and stops pulseaudio. | ||
4 | # | ||
5 | # chkconfig: 345 90 40 | ||
6 | # description: Pulseaudio manages the sound input/output | ||
7 | # processname: pulseaudio | ||
8 | |||
9 | # Source function library. | ||
10 | #. /etc/rc.d/init.d/functions | ||
11 | |||
12 | RETVAL=0 | ||
13 | prog="pulseaudio" | ||
14 | |||
15 | start() { | ||
16 | echo -n "Starting audio server: " | ||
17 | # FIXME once alsa/shm permissions have been fixed, supply --system | ||
18 | start-stop-daemon -S -x /usr/bin/pulseaudio -- --no-cpu-limit --resample-method=trivial -D -nF /etc/pulse/session | ||
19 | |||
20 | if [ $? = 0 ]; then | ||
21 | echo "$prog (warning ignores)." # FIXME remove comment on warning | ||
22 | else | ||
23 | echo "(failed.)" | ||
24 | fi | ||
25 | } | ||
26 | |||
27 | stop() { | ||
28 | echo -n "Stopping audio server: " | ||
29 | start-stop-daemon -K -x /usr/bin/pulseaudio | ||
30 | echo "pulseaudio." | ||
31 | } | ||
32 | |||
33 | # See how we were called. | ||
34 | case "$1" in | ||
35 | start) | ||
36 | start | ||
37 | ;; | ||
38 | stop) | ||
39 | stop | ||
40 | ;; | ||
41 | restart|reload) | ||
42 | stop | ||
43 | start | ||
44 | ;; | ||
45 | *) | ||
46 | echo "Usage: $0 {start|stop|restart}" | ||
47 | exit 1 | ||
48 | esac | ||
49 | |||
50 | exit $RETVAL | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-sound-system2/session b/meta-openmoko/packages/openmoko2/openmoko-sound-system2/session new file mode 100644 index 0000000000..7ba07e9784 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-sound-system2/session | |||
@@ -0,0 +1,28 @@ | |||
1 | #!/usr/bin/pulseaudio -nF | ||
2 | |||
3 | # Create autoload entries for the device drivers | ||
4 | add-autoload-sink output module-alsa-sink sink_name=output | ||
5 | add-autoload-source input module-alsa-source source_name=input | ||
6 | |||
7 | # Load several protocols | ||
8 | load-module module-esound-protocol-unix | ||
9 | load-module module-simple-protocol-tcp | ||
10 | load-module module-native-protocol-unix | ||
11 | load-module module-cli-protocol-unix | ||
12 | |||
13 | # Make some devices default | ||
14 | set-default-sink output | ||
15 | set-default-source input | ||
16 | |||
17 | # Don't fail if the audio files referred to below don't exist | ||
18 | .nofail | ||
19 | |||
20 | # Load an audio to the sample cache for usage with module-x11-bell | ||
21 | load-sample-lazy x11-bell /usr/share/openmoko/sounds/notify_doorbell.wav | ||
22 | load-module module-x11-bell sample=x11-bell | ||
23 | |||
24 | # Load samples | ||
25 | load-sample startup /usr/share/openmoko/sounds/startup_unintrusive.wav | ||
26 | load-sample touchscreen /usr/share/openmoko/sounds/touchscreen_click.wav | ||
27 | load-sample ringtone /usr/share/openmoko/sounds/ringtone_classy.wav | ||
28 | |||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-sound-system2_0.1.0.bb b/meta-openmoko/packages/openmoko2/openmoko-sound-system2_0.1.0.bb new file mode 100644 index 0000000000..33cd5648d4 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-sound-system2_0.1.0.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | DESCRIPTION = "Openmoko Sound System" | ||
2 | SECTION = "openmoko/base" | ||
3 | RDEPENDS = "\ | ||
4 | pulseaudio-server \ | ||
5 | pulseaudio-module-alsa-sink \ | ||
6 | pulseaudio-module-alsa-source \ | ||
7 | pulseaudio-module-cli \ | ||
8 | pulseaudio-module-esound-protocol-unix \ | ||
9 | pulseaudio-module-simple-protocol-tcp \ | ||
10 | pulseaudio-module-native-protocol-unix \ | ||
11 | pulseaudio-module-cli-protocol-unix \ | ||
12 | gst-plugin-pulse \ | ||
13 | " | ||
14 | RREPLACES = "openmoko-sound-system" | ||
15 | RPROVIDES = "openmoko-sound-system" | ||
16 | PR = "r5" | ||
17 | |||
18 | inherit openmoko-base update-rc.d | ||
19 | |||
20 | INITSCRIPT_NAME = "pulseaudio" | ||
21 | INITSCRIPT_PARAMS = "defaults 35" | ||
22 | |||
23 | SRC_URI = "file://pulseaudio \ | ||
24 | file://session" | ||
25 | S = "${WORKDIR}" | ||
26 | |||
27 | do_install() { | ||
28 | install -d ${D}/${sysconfdir}/init.d | ||
29 | install -m 0755 ${WORKDIR}/pulseaudio ${D}/${sysconfdir}/init.d/ | ||
30 | install -d ${D}/${sysconfdir}/pulse | ||
31 | install -m 0755 ${WORKDIR}/session ${D}/${sysconfdir}/pulse/session | ||
32 | } | ||
33 | |||
34 | PACKAGE_ARCH = "all" | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-sound-theme-standard2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-sound-theme-standard2_svn.bb new file mode 100644 index 0000000000..3096da4813 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-sound-theme-standard2_svn.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | DESCRIPTION = "Standard sound theme for the Openmoko framework" | ||
2 | SECTION = "openmoko/base" | ||
3 | RREPLACES = "openmoko-sound-theme-standard" | ||
4 | RPROVIDES = "openmoko-sound-theme-standard" | ||
5 | PV = "0.1+svnr${SRCREV}" | ||
6 | PR = "r3" | ||
7 | |||
8 | inherit openmoko2 autotools | ||
9 | |||
10 | SRC_URI = "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE}/artwork;module=sounds;proto=http" | ||
11 | S = "${WORKDIR}/sounds" | ||
12 | |||
13 | do_install() { | ||
14 | find ${WORKDIR} -name ".svn" | xargs rm -rf | ||
15 | install -d ${D}${datadir}/openmoko/sounds | ||
16 | for i in *.mp3; do | ||
17 | cp -fpPR ${S}/$i ${D}${datadir}/openmoko/sounds/ | ||
18 | done | ||
19 | for i in touchscreen_click.wav ringtone_classy.wav notify_doorbell.wav startup_unintrusive.wav; do | ||
20 | cp -f ${S}/$i ${D}${datadir}/openmoko/sounds/ | ||
21 | done | ||
22 | } | ||
23 | |||
24 | FILES_${PN} = "${datadir}" | ||
25 | |||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-tasks2/openmoko-tasks.desktop b/meta-openmoko/packages/openmoko2/openmoko-tasks2/openmoko-tasks.desktop new file mode 100644 index 0000000000..f9e813a734 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-tasks2/openmoko-tasks.desktop | |||
@@ -0,0 +1,12 @@ | |||
1 | [Desktop Entry] | ||
2 | Encoding=UTF-8 | ||
3 | Name=Tasks | ||
4 | Comment=What you need to do | ||
5 | Exec=tasks | ||
6 | Icon=openmoko-tasks | ||
7 | Terminal=false | ||
8 | Type=Application | ||
9 | Categories=GTK;Application;PIM;Office | ||
10 | MimeType=text/x-vcard; | ||
11 | SingleInstance=true | ||
12 | StartupNotify=true | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-tasks2/openmoko-tasks.png b/meta-openmoko/packages/openmoko2/openmoko-tasks2/openmoko-tasks.png new file mode 100644 index 0000000000..f28d1ade99 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-tasks2/openmoko-tasks.png | |||
Binary files differ | |||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-tasks2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-tasks2_svn.bb index c76ce709bb..b18c269814 100644 --- a/meta-openmoko/packages/openmoko2/openmoko-tasks2_svn.bb +++ b/meta-openmoko/packages/openmoko2/openmoko-tasks2_svn.bb | |||
@@ -1,14 +1,23 @@ | |||
1 | DESCRIPTION = "The OpenMoko Agenda" | 1 | DESCRIPTION = "The Openmoko Agenda" |
2 | SECTION = "openmoko/pim" | 2 | SECTION = "openmoko/pim" |
3 | DEPENDS = "dbus-glib eds-dbus libmokoui2" | 3 | DEPENDS = "dbus-glib eds-dbus libmokoui2" |
4 | RDEPENDS = "libedata-cal" | 4 | RDEPENDS = "libedata-cal" |
5 | RCONFLICTS = "tasks" | 5 | PV = "0.1.0+svnr${SRCREV}" |
6 | PV = "0.1.0+svn${SVNREV}" | ||
7 | PR = "r1" | 6 | PR = "r1" |
8 | 7 | ||
9 | inherit openmoko2 | 8 | inherit openmoko2 |
10 | 9 | ||
11 | SRC_URI = "svn://svn.o-hand.com/repos/tasks/;module=trunk;proto=http" | 10 | SRC_URI = "svn://svn.o-hand.com/repos/tasks/;module=trunk;proto=http \ |
11 | file://openmoko-tasks.desktop \ | ||
12 | file://openmoko-tasks.png" | ||
12 | S = "${WORKDIR}/trunk" | 13 | S = "${WORKDIR}/trunk" |
13 | 14 | ||
14 | EXTRA_OECONF = "--enable-omoko --disable-gtk" | 15 | EXTRA_OECONF = "--enable-omoko --disable-gtk" |
16 | |||
17 | do_install_append() { | ||
18 | install -d ${D}${datadir}/applications | ||
19 | install -m 0644 ${WORKDIR}/openmoko-tasks.desktop ${D}${datadir}/applications/tasks.desktop | ||
20 | install -d ${D}${datadir}/pixmaps | ||
21 | install -m 0644 ${WORKDIR}/openmoko-tasks.png ${D}${datadir}/pixmaps | ||
22 | } | ||
23 | |||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-terminal2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-terminal2_svn.bb new file mode 100644 index 0000000000..3a5ef204ff --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-terminal2_svn.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | DESCRIPTION = "The Openmoko Command Line Terminal" | ||
2 | SECTION = "openmoko/applications" | ||
3 | DEPENDS = "vala-native vte libmokoui2" | ||
4 | RDEPENDS = "ttf-liberation-mono" | ||
5 | PV = "3.0.0+svnr${SRCREV}" | ||
6 | PR = "r1" | ||
7 | |||
8 | inherit openmoko2 | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-theme-standard2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-theme-standard2_svn.bb index bbeba4420f..d4d23d11d6 100644 --- a/meta-openmoko/packages/openmoko2/openmoko-theme-standard2_svn.bb +++ b/meta-openmoko/packages/openmoko2/openmoko-theme-standard2_svn.bb | |||
@@ -1,8 +1,8 @@ | |||
1 | DESCRIPTION = "Standard Gtk+ theme for the OpenMoko distribution" | 1 | DESCRIPTION = "Standard Gtk+ theme for the Openmoko framework" |
2 | SECTION = "openmoko/base" | 2 | SECTION = "openmoko/base" |
3 | RCONFLICTS = "openmoko-theme-standard" | 3 | RCONFLICTS = "openmoko-theme-standard" |
4 | PV = "0.1.0+svnr${SRCDATE}" | 4 | PV = "0.1.1+svnr${SRCREV}" |
5 | PR = "r2" | 5 | PR = "r5" |
6 | 6 | ||
7 | inherit openmoko2 | 7 | inherit openmoko2 |
8 | 8 | ||
@@ -15,11 +15,7 @@ do_install() { | |||
15 | cp -fpPR ${S}/* ${D}${datadir}/themes/openmoko-standard-2/ | 15 | cp -fpPR ${S}/* ${D}${datadir}/themes/openmoko-standard-2/ |
16 | rm -rf ${D}${datadir}/themes/openmoko-standard-2/patches/ | 16 | rm -rf ${D}${datadir}/themes/openmoko-standard-2/patches/ |
17 | 17 | ||
18 | install -d ${D}${sysconfdir}/gtk-2.0 | ||
19 | echo 'include "${datadir}/themes/openmoko-standard-2/gtk-2.0/gtkrc"' >> ${D}${sysconfdir}/gtk-2.0/gtkrc | ||
20 | } | 18 | } |
21 | 19 | ||
22 | CONFFILES_${PN} = "${sysconfdir}/gtk-2.0/gtkrc" | ||
23 | |||
24 | PACKAGE_ARCH = "all" | 20 | PACKAGE_ARCH = "all" |
25 | FILES_${PN} = "${datadir} ${sysconfdir}" | 21 | FILES_${PN} = "${datadir}" |
diff --git a/meta-openmoko/packages/openmoko2/openmoko-today2-folders_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-today2-folders_svn.bb index ecd28d1b68..4b9f245c3c 100644 --- a/meta-openmoko/packages/openmoko2/openmoko-today2-folders_svn.bb +++ b/meta-openmoko/packages/openmoko2/openmoko-today2-folders_svn.bb | |||
@@ -1,7 +1,8 @@ | |||
1 | DESCRIPTION = "The OpenMoko Today2 vfolder files" | 1 | DESCRIPTION = "The Openmoko Today2 vfolder files" |
2 | SECTION = "openmoko/misc" | 2 | SECTION = "openmoko/misc" |
3 | PV = "0.1.0+svnr${SRCREV}" | 3 | PV = "0.1.0+svnr${SRCREV}" |
4 | PR = "r1" | 4 | PR = "r3" |
5 | RCONFLICTS_${PN} = "matchbox-common" | ||
5 | 6 | ||
6 | inherit openmoko2 | 7 | inherit openmoko2 |
7 | 8 | ||
diff --git a/meta-openmoko/packages/openmoko2/openmoko-today2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-today2_svn.bb index 6b2d1b6ec7..efd281a95e 100644 --- a/meta-openmoko/packages/openmoko2/openmoko-today2_svn.bb +++ b/meta-openmoko/packages/openmoko2/openmoko-today2_svn.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | DESCRIPTION = "The OpenMoko Application Launcher" | 1 | DESCRIPTION = "The Openmoko Application Launcher" |
2 | SECTION = "openmoko/pim" | 2 | SECTION = "openmoko/pim" |
3 | DEPENDS = "libmokoui2 libmokojournal2 libjana startup-notification dbus-glib" | 3 | DEPENDS = "libmokoui2 libmokojournal2 libjana startup-notification dbus-glib libice libsm" |
4 | RDEPENDS = "libedata-cal openmoko-today2-folders" | 4 | RDEPENDS = "libedata-cal openmoko-today2-folders" |
5 | PV = "0.1.0+svnr${SRCREV}" | 5 | PV = "0.1.0+svnr${SRCREV}" |
6 | PR = "r2" | 6 | PR = "r2" |
diff --git a/meta-openmoko/packages/openmoko2/openmoko-worldclock2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-worldclock2_svn.bb new file mode 100644 index 0000000000..5b3956ee23 --- /dev/null +++ b/meta-openmoko/packages/openmoko2/openmoko-worldclock2_svn.bb | |||
@@ -0,0 +1,6 @@ | |||
1 | DESCRIPTION = "A World-Clock for Openmoko" | ||
2 | SECTION = "openmoko/tools" | ||
3 | DEPENDS = "libmokoui2 libjana" | ||
4 | PV = "0.1.0+svnr${SRCREV}" | ||
5 | |||
6 | inherit openmoko2 | ||