Send commitlog mailing list submissions to
        [EMAIL PROTECTED]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:

   1. r1767 - in trunk/oe/packages: . gtkterm tasks
      ([EMAIL PROTECTED])
   2. r1768 -
      trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src
      ([EMAIL PROTECTED])
   3. r1769 -
      trunk/src/target/OM-2007/panel-plugins/openmoko-panel-gsm/src
      ([EMAIL PROTECTED])
   4. r1770 - in trunk/src/target/OM-2007/openmoko-libs: .
      libmokogsmd ([EMAIL PROTECTED])
   5. r1771 -
      trunk/src/target/OM-2007/examples/openmoko-gsmd-demo/src
      ([EMAIL PROTECTED])
   6. r1772 - in trunk/oe/packages: . pango pango/pango-1.16.2
      ([EMAIL PROTECTED])
   7. r1773 - trunk/oe/conf/distro/include ([EMAIL PROTECTED])
   8. r1774 - trunk/src/target/OM-2007/openmoko-libs/libmokogsmd
      ([EMAIL PROTECTED])
--- Begin Message ---
Author: mickey
Date: 2007-04-15 17:45:18 +0200 (Sun, 15 Apr 2007)
New Revision: 1767

Added:
   trunk/oe/packages/gtkterm/
   trunk/oe/packages/gtkterm/gtkterm2_0.2.3.bb
Modified:
   trunk/oe/packages/tasks/task-openmoko.bb
Log:
oe: add gtkterm2, the "official" openmoko terminal application :)


Added: trunk/oe/packages/gtkterm/gtkterm2_0.2.3.bb
===================================================================
--- trunk/oe/packages/gtkterm/gtkterm2_0.2.3.bb 2007-04-15 09:57:12 UTC (rev 
1766)
+++ trunk/oe/packages/gtkterm/gtkterm2_0.2.3.bb 2007-04-15 15:45:18 UTC (rev 
1767)
@@ -0,0 +1,9 @@
+DESCRIPTION = "A lightweight terminal emulator based on VTE and Gtk+"
+HOMEPAGE = "http://gtkterm.feige.net/";
+AUTHOR = "Oliver Feige"
+SECTION = "x11/terminals"
+DEPENDS = "gtk+ vte"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/gtkterm/gtkterm2-${PV}.tar.gz"
+
+inherit autotools

Modified: trunk/oe/packages/tasks/task-openmoko.bb
===================================================================
--- trunk/oe/packages/tasks/task-openmoko.bb    2007-04-15 09:57:12 UTC (rev 
1766)
+++ trunk/oe/packages/tasks/task-openmoko.bb    2007-04-15 15:45:18 UTC (rev 
1767)
@@ -4,7 +4,7 @@
 PACKAGE_ARCH = "all"
 LICENSE = "MIT"
 PROVIDES = "task-openmoko-everything"
-PR = "r36"
+PR = "r37"
 
 PACKAGES = "\
   task-openmoko-linux \
@@ -87,6 +87,7 @@
 #
 DESCRIPTION_task-openmoko-base = "OpenMoko: Main-Menu Launcher, Top Panel, and 
Footer"
 RDEPENDS_task-openmoko-base = "\
+  gtkterm2 \
   openmoko-mainmenu \
   matchbox-panel-2 \
   matchbox-panel-2-applets \
@@ -156,7 +157,6 @@
   matchbox-config-gtk \
   xcursor-transparent-theme \
   web \
-  rxvt-unicode \
   mtpaint \
 "
 




--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-04-15 18:43:35 +0200 (Sun, 15 Apr 2007)
New Revision: 1768

Modified:
   
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/buttonactions.c
   
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/mokodesktop.h
Log:
openmoko-panel-mainmenu: don't use apm -s while it's broken, use echo 
/sys/power/state in the meantime


Modified: 
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/buttonactions.c
===================================================================
--- 
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/buttonactions.c
  2007-04-15 15:45:18 UTC (rev 1767)
+++ 
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/buttonactions.c
  2007-04-15 16:43:35 UTC (rev 1768)
@@ -175,8 +175,6 @@
 // this is hardcoded to the Neo1973
 void panel_mainmenu_popup_positioning_cb( GtkMenu* menu, gint* x, gint* y, 
gboolean* push_in, gpointer user_data )
 {
-    g_debug( "aux_menu = %p, power_menu = %p", aux_menu, power_menu );
-    g_debug( "menu = %p", menu );
     GtkRequisition req;
     gtk_widget_size_request( GTK_WIDGET(menu), &req );
     gint screen_width = gdk_screen_width();
@@ -198,11 +196,20 @@
 
 void panel_mainmenu_popup_selected_lock( GtkMenuItem* menu, gpointer user_data 
)
 {
-    system( "apm -s");
+    //FIXME talk to neod
+    int fd = open( "/sys/power/state", O_WRONLY );
+    if ( fd != -1 )
+    {
+        char command[] = "mem\n";
+        write(fd, &command, sizeof(command) );
+        close( fd );
+    }
 }
 
 void panel_mainmenu_popup_selected_poweroff( GtkMenuItem* menu, gpointer 
user_data )
 {
+    //FIXME talk to neod
+    //FIXME notify user
     system( "/bin/sh poweroff");
 }
 

Modified: 
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/mokodesktop.h
===================================================================
--- 
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/mokodesktop.h
    2007-04-15 15:45:18 UTC (rev 1767)
+++ 
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-mainmenu/src/mokodesktop.h
    2007-04-15 16:43:35 UTC (rev 1768)
@@ -20,7 +20,7 @@
 #define VFOLDERDIR             "/usr/share/matchbox"
 #define DD_DIR                         "/usr/share/applications/"
 
-#define PIXMAP_PATH    "/usr/local/share/pixmaps"
+#define PIXMAP_PATH    "/usr/share/pixmaps"
 
 #ifdef DEBUG
 #define DBG(txt, args... ) fprintf(stderr, "DT-DEBUG: " txt , ##args )




--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-04-15 19:03:17 +0200 (Sun, 15 Apr 2007)
New Revision: 1769

Modified:
   
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-gsm/src/openmoko-panel-gsm.c
Log:
openmoko-panel-gsm: add popup menu for mouse tap


Modified: 
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-gsm/src/openmoko-panel-gsm.c
===================================================================
--- 
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-gsm/src/openmoko-panel-gsm.c
  2007-04-15 16:43:35 UTC (rev 1768)
+++ 
trunk/src/target/OM-2007/panel-plugins/openmoko-panel-gsm/src/openmoko-panel-gsm.c
  2007-04-15 17:03:17 UTC (rev 1769)
@@ -25,6 +25,7 @@
 typedef struct {
     GtkImage* image;
     gboolean gprs_mode;
+    MokoGsmdConnection* gsm;
 } GsmApplet;
 
 static void gsm_applet_free(GsmApplet *applet)
@@ -32,7 +33,7 @@
     g_slice_free( GsmApplet, applet );
 }
 
-static void gsm_applet_update_signal_strength(MokoGsmdConnection* connection, 
int strength, GsmApplet *applet)
+static void gsm_applet_update_signal_strength(MokoGsmdConnection* connection, 
int strength, GsmApplet* applet)
 {
     g_debug( "gsm_applet_update_signal_strength: signal strength = %d", 
strength );
     //TODO calibrate
@@ -52,11 +53,28 @@
     gtk_image_set_from_file( GTK_IMAGE(applet->image), imagestring );
 }
 
+static void gsm_applet_power_up_antenna(GtkWidget* menu, GsmApplet* applet)
+{
+    //TODO notify user
+    moko_gsmd_connection_set_antenna_power( applet->gsm, TRUE );
+}
+
+static void gsm_applet_autoregister_network(GtkWidget* menu, GsmApplet* applet)
+{
+    moko_gsmd_connection_network_register( applet->gsm );
+}
+
+static void gsm_applet_power_down_antenna(GtkWidget* menu, GsmApplet* applet)
+{
+    //TODO notify user
+    moko_gsmd_connection_set_antenna_power( applet->gsm, FALSE );
+}
+
 G_MODULE_EXPORT GtkWidget* mb_panel_applet_create(const char* id, 
GtkOrientation orientation)
 {
     MokoPanelApplet* mokoapplet = MOKO_PANEL_APPLET(moko_panel_applet_new());
 
-    GsmApplet *applet;
+    GsmApplet* applet;
     applet = g_slice_new(GsmApplet);
     applet->image = GTK_IMAGE(gtk_image_new_from_file( PKGDATADIR 
"/SignalStrength_NR.png" ) );
     applet->gprs_mode = FALSE;
@@ -65,7 +83,22 @@
     moko_panel_applet_set_widget( mokoapplet, GTK_WIDGET(applet->image) );
     gtk_widget_show_all( GTK_WIDGET(mokoapplet) );
 
-    MokoGsmdConnection* gsm = moko_gsmd_connection_new();
-    g_signal_connect( G_OBJECT(gsm), "signal-strength-changed", 
G_CALLBACK(gsm_applet_update_signal_strength), applet );
+    applet->gsm = moko_gsmd_connection_new();
+    g_signal_connect( G_OBJECT(applet->gsm), "signal-strength-changed", 
G_CALLBACK(gsm_applet_update_signal_strength), applet );
+
+    // tap-with-hold menu (NOTE: temporary: left button atm.)
+    GtkMenu* menu = gtk_menu_new();
+    GtkWidget* item1 = gtk_menu_item_new_with_label( "Power-Up GSM Antenna" );
+    g_signal_connect( G_OBJECT(item1), "activate", 
G_CALLBACK(gsm_applet_power_up_antenna), applet );
+    gtk_menu_shell_append( GTK_MENU_SHELL(menu), item1 );
+    GtkWidget* item2 = gtk_menu_item_new_with_label( "Autoregister with 
Network" );
+    g_signal_connect( G_OBJECT(item1), "activate", 
G_CALLBACK(gsm_applet_autoregister_network), applet );
+    gtk_menu_shell_append( GTK_MENU_SHELL(menu), item2 );
+    GtkWidget* item3 = gtk_menu_item_new_with_label( "Power-Down GSM Antenna" 
);
+    g_signal_connect( G_OBJECT(item1), "activate", 
G_CALLBACK(gsm_applet_power_down_antenna), applet );
+    gtk_menu_shell_append( GTK_MENU_SHELL(menu), item3 );
+    gtk_widget_show_all( GTK_WIDGET(menu) );
+
+    moko_panel_applet_set_popup( mokoapplet, menu, 
MOKO_PANEL_APPLET_CLICK_POPUP );
     return GTK_WIDGET(mokoapplet);
 };




--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-04-15 19:03:49 +0200 (Sun, 15 Apr 2007)
New Revision: 1770

Modified:
   trunk/src/target/OM-2007/openmoko-libs/TODO
   trunk/src/target/OM-2007/openmoko-libs/libmokogsmd/moko-gsmd-connection.c
Log:
libmokogsmd: don't try to register event handlers when connection to gsmd fails


Modified: trunk/src/target/OM-2007/openmoko-libs/TODO
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/TODO 2007-04-15 17:03:17 UTC (rev 
1769)
+++ trunk/src/target/OM-2007/openmoko-libs/TODO 2007-04-15 17:03:49 UTC (rev 
1770)
@@ -1,11 +1,11 @@
 (Ordered by Priority)
 
-- Add MokoBanner (see HildonBanner)
+- MokoPopupMenu:
+  -- moko_popup_menu_add_item( label, callback, userdata, notification );
+  -- after item has been selected, make notification popup via OSD
+- Add MokoBanner (as OSD)
 - Start Footer Application and implement Status Bar Interface
 - Add Status Bar Interface to MokoApplication
-- Start with Panel Plugins
-- Main Menu
-- Add automatic .desktop file generation for OE
 - Add MIME handling
 - Add dbus service interfaces
 - Refactor moko_paned_window_set_application_menu and 
moko_finger_window_set_application_menu

Modified: 
trunk/src/target/OM-2007/openmoko-libs/libmokogsmd/moko-gsmd-connection.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokogsmd/moko-gsmd-connection.c   
2007-04-15 17:03:17 UTC (rev 1769)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokogsmd/moko-gsmd-connection.c   
2007-04-15 17:03:49 UTC (rev 1770)
@@ -268,6 +268,7 @@
     if ( !priv->handle )
     {
         g_warning( "libgsmd: can't connect to gsmd. You won't receive any 
events." );
+        return;
     }
     else
     {




--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-04-15 19:04:45 +0200 (Sun, 15 Apr 2007)
New Revision: 1771

Modified:
   trunk/src/target/OM-2007/examples/openmoko-gsmd-demo/src/demo-main.c
Log:
openmoko-gsmd-demo: relayout buttons


Modified: trunk/src/target/OM-2007/examples/openmoko-gsmd-demo/src/demo-main.c
===================================================================
--- trunk/src/target/OM-2007/examples/openmoko-gsmd-demo/src/demo-main.c        
2007-04-15 17:03:49 UTC (rev 1770)
+++ trunk/src/target/OM-2007/examples/openmoko-gsmd-demo/src/demo-main.c        
2007-04-15 17:04:45 UTC (rev 1771)
@@ -26,7 +26,7 @@
 
 #include <gtk/gtkalignment.h>
 #include <gtk/gtkbutton.h>
-#include <gtk/gtkhbox.h>
+#include <gtk/gtktable.h>
 #include <gtk/gtklabel.h>
 #include <gtk/gtkmain.h>
 #include <gtk/gtkmenu.h>
@@ -42,21 +42,49 @@
 static GtkLabel* signal;
 static GtkLabel* status;
 
-void cb_orange_button_clicked( GtkButton* button, MokoFingerWindow* window )
+void cb_poweron_clicked( GtkButton* button, MokoFingerWindow* window )
 {
-    g_debug( "openmoko-gsmd-demo: orange button clicked" );
+    moko_gsmd_connection_set_antenna_power( gsm, TRUE );
 }
 
-void cb_dialer_button_clicked( GtkButton* button, MokoFingerWindow* window )
+void cb_register_clicked( GtkButton* button, MokoFingerWindow* window )
 {
-    g_debug( "openmoko-gsmd-demo: dialer button clicked" );
+    moko_gsmd_connection_network_register( gsm );
 }
 
-void cb_black_button_clicked( GtkButton* button, MokoFingerWindow* window )
+void cb_poweroff_clicked( GtkButton* button, MokoFingerWindow* window )
 {
-    g_debug( "openmoko-gsmd-demo: black button clicked" );
+    moko_gsmd_connection_set_antenna_power( gsm, FALSE );
 }
 
+void cb_signal_strength_changed( MokoGsmdConnection* connection, int value, 
gpointer user_data )
+{
+    g_debug( "openmoko-gsmd-demo: signal strength changed" );
+    gtk_label_set_text( signal, g_strdup_printf( "Signal Strength: %d", value 
) );
+}
+
+void cb_network_registration( MokoGsmdConnection* connection, int type, int 
lac, int cell )
+{
+    g_debug( "openmoko-gsmd-demo: network registration" );
+    if ( type == 0 )
+        gtk_label_set_text( status, "Not Searching..." );
+    else
+    if ( type == 2 )
+        gtk_label_set_text( status, "Searching..." );
+    else if ( type == 3 )
+        gtk_label_set_text( status, "Denied! :(" );
+    else if ( type == 1 )
+    {
+        gtk_label_set_text( status, "Registered (Home)" );
+        gtk_label_set_text( network, g_strdup_printf( "LocationAreaCode: 
0x%04X\nCellID: 0x%04X", lac, cell ) );
+    }
+    else if ( type == 5 )
+    {
+        gtk_label_set_text( status, "Registered (Roaming)" );
+        gtk_label_set_text( network, g_strdup_printf( "LocationAreaCode: 
0x%04X\nCellID: 0x%04X", lac, cell ) );
+    }
+}
+
 int main( int argc, char** argv )
 {
     g_debug( "openmoko-gsmd-demo starting up" );
@@ -80,46 +108,51 @@
     /* connect close event */
     g_signal_connect( G_OBJECT(window), "delete_event", 
G_CALLBACK(gtk_main_quit), NULL );
 
+    GtkLabel* label0 = gtk_label_new( "<big>A Vanille Media Production</big>" 
);
+    gtk_label_set_use_markup( label0, TRUE );
+
     /* contents */
-    vbox = gtk_vbox_new( TRUE, 0 );
-    network = gtk_label_new( "<not yet registered>" );
+    vbox = gtk_vbox_new( FALSE, 10 );
+    network = gtk_label_new( "<unknown>" );
     signal = gtk_label_new( "<signal strength>" );
-    status = gtk_label_new( "<unnown>" );
-    GtkLabel* label2 = gtk_label_new( "Orange button powers on, \nDialer 
button registeres,\nBlack button powers off\n \n \n" );
-    GtkHBox* hbox = gtk_hbox_new( TRUE, 0 );
+    status = gtk_label_new( "Idle" );
+    GtkLabel* label2 = gtk_label_new( "Press buttons to experiment..." );
 
-    GtkButton* button1 = gtk_button_new();
-    g_signal_connect( G_OBJECT(button1), "clicked", 
G_CALLBACK(cb_orange_button_clicked), window );
-    gtk_widget_set_name( GTK_WIDGET(button1), "mokofingerbutton-orange" );
-    gtk_box_pack_start( GTK_BOX(hbox), GTK_WIDGET(button1), TRUE, TRUE, 5 );
+    GtkTable* table = gtk_table_new( 4, 3, TRUE );
 
-    GtkButton* button2 = gtk_button_new();
-    //FIXME toggle buttons look odd... needs working on styling
-    //gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (button2), TRUE);
-    g_signal_connect( G_OBJECT(button2), "clicked", 
G_CALLBACK(cb_dialer_button_clicked), window );
-    gtk_widget_set_name( GTK_WIDGET(button2), "mokofingerbutton-dialer" );
-    gtk_box_pack_start( GTK_BOX(hbox), GTK_WIDGET(button2), TRUE, TRUE, 5 );
+    GtkButton* button1 = gtk_button_new_with_label( "Power-On" );
+    g_signal_connect( G_OBJECT(button1), "clicked", 
G_CALLBACK(cb_poweron_clicked), window );
+    gtk_table_attach_defaults( GTK_BOX(table), GTK_WIDGET(button1), 0, 1, 0, 1 
);
 
-    GtkButton* button3 = gtk_button_new();
-    g_signal_connect( G_OBJECT(button3), "clicked", 
G_CALLBACK(cb_black_button_clicked), window );
-    gtk_widget_set_name( GTK_WIDGET(button3), "mokofingerbutton-black" );
-    gtk_box_pack_start( GTK_BOX(hbox), GTK_WIDGET(button3), TRUE, TRUE, 5 );
+    GtkButton* button2 = gtk_button_new_with_label( "Register" );
+    g_signal_connect( G_OBJECT(button2), "clicked", 
G_CALLBACK(cb_register_clicked), window );
+    gtk_table_attach_defaults( GTK_BOX(table), GTK_WIDGET(button2), 1, 2, 0, 1 
);
 
+    GtkButton* button3 = gtk_button_new_with_label( "Power-Off" );
+    g_signal_connect( G_OBJECT(button3), "clicked", 
G_CALLBACK(cb_poweroff_clicked), window );
+    gtk_table_attach_defaults( GTK_BOX(table), GTK_WIDGET(button3), 2, 3, 0, 1 
);
+
+    gtk_box_pack_start( vbox, GTK_WIDGET(label0), FALSE, FALSE, 0 );
     gtk_box_pack_start( vbox, GTK_WIDGET(network), FALSE, FALSE, 0 );
     gtk_box_pack_start( vbox, GTK_WIDGET(signal), FALSE, FALSE, 0 );
     gtk_box_pack_start( vbox, GTK_WIDGET(status), FALSE, FALSE, 0 );
-    gtk_box_pack_start( vbox, GTK_WIDGET(hbox), TRUE, TRUE, 0 );
+    gtk_box_pack_start( vbox, GTK_WIDGET(table), TRUE, TRUE, 0 );
     gtk_box_pack_start( vbox, GTK_WIDGET(label2), FALSE, FALSE, 0 );
 
     moko_finger_window_set_contents( window, GTK_WIDGET(vbox) );
 
     gsm = moko_gsmd_connection_new();
 
+    g_signal_connect( G_OBJECT(gsm), "signal-strength-changed", 
G_CALLBACK(cb_signal_strength_changed), NULL );
+    g_signal_connect( G_OBJECT(gsm), "network-registration", 
G_CALLBACK(cb_network_registration), NULL );
+
     /* show everything and run main loop */
     gtk_widget_show_all( GTK_WIDGET(window) );
     g_debug( "openmoko-gsmd-demo entering main loop" );
     gtk_main();
     g_debug( "openmoko-gsmd-demo left main loop" );
 
+    g_object_unref( G_OBJECT(gsm) );
+
     return 0;
 }




--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-04-15 19:19:01 +0200 (Sun, 15 Apr 2007)
New Revision: 1772

Added:
   trunk/oe/packages/pango/
   trunk/oe/packages/pango/pango-1.16.2/
   trunk/oe/packages/pango/pango-1.16.2/no-tests.patch
   trunk/oe/packages/pango/pango.inc
   trunk/oe/packages/pango/pango_1.16.2.bb
Log:
oe: add pango 1.16.2


Added: trunk/oe/packages/pango/pango-1.16.2/no-tests.patch
===================================================================
--- trunk/oe/packages/pango/pango-1.16.2/no-tests.patch 2007-04-15 17:04:45 UTC 
(rev 1771)
+++ trunk/oe/packages/pango/pango-1.16.2/no-tests.patch 2007-04-15 17:19:01 UTC 
(rev 1772)
@@ -0,0 +1,17 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+Index: pango-1.16.2/Makefile.am
+===================================================================
+--- pango-1.16.2.orig/Makefile.am
++++ pango-1.16.2/Makefile.am
+@@ -1,6 +1,6 @@
+ ## Process this file with automake to create Makefile.in.
+ 
+-SUBDIRS= pango modules pango-view examples docs tools tests
++SUBDIRS= pango modules pango-view examples docs tools
+ 
+ EXTRA_DIST =                  \
+       autogen.sh              \

Added: trunk/oe/packages/pango/pango.inc
===================================================================
--- trunk/oe/packages/pango/pango.inc   2007-04-15 17:04:45 UTC (rev 1771)
+++ trunk/oe/packages/pango/pango.inc   2007-04-15 17:19:01 UTC (rev 1772)
@@ -0,0 +1,51 @@
+DESCRIPTION = "The goal of the Pango project is to provide an \
+Open Source framework for the layout and rendering of \
+internationalized text."
+LICENSE = "LGPL"
+
+inherit gnome
+EXTRA_AUTORECONF = ""
+
+SECTION = "x11/libs"
+
+DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libx11 libxft gtk-doc 
cairo"
+
+PACKAGES_DYNAMIC = "pango-module-*"
+
+RRECOMMENDS_${PN} = "pango-module-basic-x pango-module-basic-fc" 
+
+# seems to go wrong with default cflags
+FULL_OPTIMIZATION_arm = "-O2"
+
+SRC_URI += "file://no-tests.patch;patch=1 \
+           "
+
+EXTRA_OECONF = "--disable-glibtest \
+               --enable-explicit-deps=no \
+               --disable-debug"
+
+LEAD_SONAME = "libpango-1.0*"
+LIBV = "1.6.0"
+
+FILES_${PN} = "/etc ${bindir}/* ${libdir}/libpango*.so.*"
+FILES_${PN}-dbg += "${libdir}/pango/${LIBV}/modules/.debug"
+FILES_${PN}-dev += "${libdir}/pango/${LIBV}/modules/*.la"
+
+do_stage () {
+       autotools_stage_all
+}
+
+postinst_prologue() {
+if [ "x$D" != "x" ]; then
+  exit 1
+fi
+
+}
+
+python populate_packages_prepend () {
+       prologue = bb.data.getVar("postinst_prologue", d, 1)
+
+       modules_root = bb.data.expand('${libdir}/pango/${LIBV}/modules', d)
+
+       do_split_packages(d, modules_root, '^pango-(.*)\.so$', 
'pango-module-%s', 'Pango module %s', prologue + 'pango-querymodules > 
/etc/pango/pango.modules')
+}

Added: trunk/oe/packages/pango/pango_1.16.2.bb
===================================================================
--- trunk/oe/packages/pango/pango_1.16.2.bb     2007-04-15 17:04:45 UTC (rev 
1771)
+++ trunk/oe/packages/pango/pango_1.16.2.bb     2007-04-15 17:19:01 UTC (rev 
1772)
@@ -0,0 +1 @@
+require pango.inc




--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-04-15 19:19:22 +0200 (Sun, 15 Apr 2007)
New Revision: 1773

Modified:
   trunk/oe/conf/distro/include/openmoko.inc
   trunk/oe/conf/distro/include/sane-srcdates.inc
Log:
oe/conf: bump matchbox-panel-2 SRCDATE to get the improved error reporting


Modified: trunk/oe/conf/distro/include/openmoko.inc
===================================================================
--- trunk/oe/conf/distro/include/openmoko.inc   2007-04-15 17:19:01 UTC (rev 
1772)
+++ trunk/oe/conf/distro/include/openmoko.inc   2007-04-15 17:19:22 UTC (rev 
1773)
@@ -81,7 +81,7 @@
 PREFERRED_VERSION_dbus-glib-native = "0.71"
 PREFERRED_VERSION_dbus-glib = "0.71"
 PREFERRED_VERSION_atk = "1.9.0"
-PREFERRED_VERSION_pango = "1.8.2"
+PREFERRED_VERSION_pango = "1.16.2"
 PREFERRED_VERSION_glib-2.0 = "2.12.3"
 PREFERRED_VERSION_gtk+ = "2.6.10"
 PREFERRED_VERSION_gtk-engines = "2.6.5"

Modified: trunk/oe/conf/distro/include/sane-srcdates.inc
===================================================================
--- trunk/oe/conf/distro/include/sane-srcdates.inc      2007-04-15 17:19:01 UTC 
(rev 1772)
+++ trunk/oe/conf/distro/include/sane-srcdates.inc      2007-04-15 17:19:22 UTC 
(rev 1773)
@@ -28,7 +28,7 @@
 SRCDATE_matchbox-desktop ?= "20060612"
 SRCDATE_matchbox-keyboard ?= "20060612"
 SRCDATE_matchbox-panel ?= "20060612"
-SRCDATE_matchbox-panel-2 ?= "20070120"
+SRCDATE_matchbox-panel-2 ?= "20070415"
 SRCDATE_matchbox-panel-manager ?= "20060612"
 SRCDATE_matchbox-stroke ?= "20060612"
 SRCDATE_matchbox-themes-extra ?= "20060612"




--- End Message ---
--- Begin Message ---
Author: mickey
Date: 2007-04-15 19:22:45 +0200 (Sun, 15 Apr 2007)
New Revision: 1774

Modified:
   trunk/src/target/OM-2007/openmoko-libs/libmokogsmd/Makefile.am
Log:
libmokogsmd: include new marshalling in library


Modified: trunk/src/target/OM-2007/openmoko-libs/libmokogsmd/Makefile.am
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokogsmd/Makefile.am      
2007-04-15 17:19:22 UTC (rev 1773)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokogsmd/Makefile.am      
2007-04-15 17:22:45 UTC (rev 1774)
@@ -6,7 +6,7 @@
 sources=moko-gsmd-connection.c
 
 $(libmokogsmd_la_OBJECTS): $(built_sources)
-libmokogsmd_la_SOURCES= $(public_headers) $(sources)
+libmokogsmd_la_SOURCES= $(public_headers) $(sources) $(built_sources)
 libmokogsmd_la_LIBADD=
 libmokogsmd_la_LDFLAGS= -version-info 0:0:0
 AM_CFLAGS = -Wall -pedantic -std=c99




--- End Message ---
_______________________________________________
commitlog mailing list
[EMAIL PROTECTED]
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to