Send commitlog mailing list submissions to
        commitlog@lists.openmoko.org

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. Locations: Changes to 'master' ([EMAIL PROTECTED])
   2. Locations: Changes to 'master' ([EMAIL PROTECTED])
   3. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.dev'
      ([EMAIL PROTECTED])
   4. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.dev'
      ([EMAIL PROTECTED])
   5. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.dev'
      ([EMAIL PROTECTED])
   6. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.dev'
      ([EMAIL PROTECTED])
   7. Holger's qtopia repo: Changes to 'master' ([EMAIL PROTECTED])
   8. r4613 - trunk/src/target/opkg/libopkg ([EMAIL PROTECTED])
   9. r4614 - trunk/src/target/opkg/libopkg ([EMAIL PROTECTED])
  10. r4615 - trunk/src/target/opkg/libbb ([EMAIL PROTECTED])
  11. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.asu.dev'
      ([EMAIL PROTECTED])
--- Begin Message ---
 data/themes/diversity_nav.edc |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)

New commits:
commit a4cd01f46f7389254a4842d691bad4778a35eefe
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date:   Wed Aug 27 18:06:52 2008 +0800

    Fine tuning the layouts of e_nav_list and e_nav_entry.




--- End Message ---
--- Begin Message ---
 data/themes/diversity_nav.edc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 91a5996634a595a9920f8e34e6b343c75c045365
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date:   Wed Aug 27 18:35:41 2008 +0800

    Raised the swallow in e_nav_entry.
    
    It was lowered in last commit.  Reverted.




--- End Message ---
--- Begin Message ---
 conf/distro/include/preferred-om-2008-versions.inc |    2 +-
 packages/python/python-pygame-1.8.1/Setup          |    1 -
 packages/python/python-pygame_1.8.1.bb             |    4 ++--
 3 files changed, 3 insertions(+), 4 deletions(-)

New commits:
commit fe2f30fe03662c3cdc38db3c197873516e79e898
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 12:00:02 2008 +0100

    [python-pygame] fix the building with SDL

commit 710961d27759e612396e93723f9c69e3fd4e9bc0
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 11:59:40 2008 +0100

    [preferred-om-versions] increase libSDL version




--- End Message ---
--- Begin Message ---
 conf/distro/include/preferred-om-2008-versions.inc |    2 +-
 packages/python/python-pygame-1.8.1/Setup          |    1 -
 packages/python/python-pygame_1.8.1.bb             |    4 ++--
 3 files changed, 3 insertions(+), 4 deletions(-)

New commits:
commit fe2f30fe03662c3cdc38db3c197873516e79e898
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 12:00:02 2008 +0100

    [python-pygame] fix the building with SDL

commit 710961d27759e612396e93723f9c69e3fd4e9bc0
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 11:59:40 2008 +0100

    [preferred-om-versions] increase libSDL version




--- End Message ---
--- Begin Message ---
 packages/alsa/alsa-scenario_git.bb                 |    3 +-
 packages/connman/connman_git.bb                    |    3 +-
 packages/images/openmoko-asu-image.bb              |    1 +
 packages/images/openmoko-qtopia-x11-image.bb       |    1 +
 packages/openmoko-projects/diversity-daemon_svn.bb |    5 +-
 packages/openmoko-projects/enlazar_svn.bb          |    4 +-
 packages/openmoko-projects/illume-config_svn.bb    |   10 ++--
 packages/openmoko-projects/illume-theme-asu_svn.bb |   20 +++++++-
 packages/openmoko-projects/om-settings_svn.bb      |    1 +
 packages/openmoko-tools/app-restarter_svn.bb       |    4 +-
 .../openmoko-tools/openmoko-set-root-password.bb   |    3 +-
 packages/tasks/task-openmoko-asu-feed.bb           |   18 +++++++
 packages/tasks/task-openmoko-asu.bb                |   48 ++++++++++++++++++++
 packages/tasks/task-openmoko-qtopia-x11.bb         |   18 +-------
 14 files changed, 105 insertions(+), 34 deletions(-)

New commits:
commit 2267a196391b1e34654458b639b46343fe85c8d7
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:37:43 2008 +0100

    [openmoko-set-root-password] fix versions

commit f14081c51f3d7e30688f66f2ee56b8ce46f9bb3a
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:37:27 2008 +0100

    [app-restarter] fix versions

commit 9ea3713c7e5683ab3dec3bb343eb7ae438e7ace7
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:37:10 2008 +0100

    [om-settings] fix versions

commit ff61a2fc896eb56e329106b33088f4eb1aa3b327
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:34:52 2008 +0100

    [illume] merge in theme and config changes from ASU

commit a6e13261d758509c36e37d4a927010e45b4bad82
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:34:34 2008 +0100

    [enlazar] fix the versions

commit 7adb1308017650742f5e9b1430d172b7ba18b835
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:33:54 2008 +0100

    [diversity-daemon] fix the depends

commit bf5745170349d1273175c2a137ec2214fb1437b1
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:32:53 2008 +0100

    [openmoko-*-image] use the new asu tasks

commit 4418a8d624fc44a7b6ecd846037832d0fcdc96c0
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:31:55 2008 +0100

    [connmann] fix the versions

commit 0c9de992b6a8c69a75aaf2bf335e736858601360
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:31:38 2008 +0100

    [alsa-scenario] fix the versions

commit 8c0f76acb31510bf18ed68c0dc16113f8d190478
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:29:01 2008 +0100

    [tasks/*asu*] merge in the asu tasks from ASU branch




--- End Message ---
--- Begin Message ---
 packages/alsa/alsa-scenario_git.bb                 |    3 +-
 packages/connman/connman_git.bb                    |    3 +-
 packages/images/openmoko-asu-image.bb              |    1 +
 packages/images/openmoko-qtopia-x11-image.bb       |    1 +
 packages/openmoko-projects/diversity-daemon_svn.bb |    5 +-
 packages/openmoko-projects/enlazar_svn.bb          |    4 +-
 packages/openmoko-projects/illume-config_svn.bb    |   10 ++--
 packages/openmoko-projects/illume-theme-asu_svn.bb |   20 +++++++-
 packages/openmoko-projects/om-settings_svn.bb      |    1 +
 packages/openmoko-tools/app-restarter_svn.bb       |    4 +-
 .../openmoko-tools/openmoko-set-root-password.bb   |    3 +-
 packages/tasks/task-openmoko-asu-feed.bb           |   18 +++++++
 packages/tasks/task-openmoko-asu.bb                |   48 ++++++++++++++++++++
 packages/tasks/task-openmoko-qtopia-x11.bb         |   18 +-------
 14 files changed, 105 insertions(+), 34 deletions(-)

New commits:
commit 2267a196391b1e34654458b639b46343fe85c8d7
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:37:43 2008 +0100

    [openmoko-set-root-password] fix versions

commit f14081c51f3d7e30688f66f2ee56b8ce46f9bb3a
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:37:27 2008 +0100

    [app-restarter] fix versions

commit 9ea3713c7e5683ab3dec3bb343eb7ae438e7ace7
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:37:10 2008 +0100

    [om-settings] fix versions

commit ff61a2fc896eb56e329106b33088f4eb1aa3b327
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:34:52 2008 +0100

    [illume] merge in theme and config changes from ASU

commit a6e13261d758509c36e37d4a927010e45b4bad82
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:34:34 2008 +0100

    [enlazar] fix the versions

commit 7adb1308017650742f5e9b1430d172b7ba18b835
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:33:54 2008 +0100

    [diversity-daemon] fix the depends

commit bf5745170349d1273175c2a137ec2214fb1437b1
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:32:53 2008 +0100

    [openmoko-*-image] use the new asu tasks

commit 4418a8d624fc44a7b6ecd846037832d0fcdc96c0
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:31:55 2008 +0100

    [connmann] fix the versions

commit 0c9de992b6a8c69a75aaf2bf335e736858601360
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:31:38 2008 +0100

    [alsa-scenario] fix the versions

commit 8c0f76acb31510bf18ed68c0dc16113f8d190478
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Wed Aug 27 13:29:01 2008 +0100

    [tasks/*asu*] merge in the asu tasks from ASU branch




--- End Message ---
--- Begin Message ---
 src/general.pri               |    4 +++
 src/tests/pdutest/pdutest.cpp |   59 +++++++++++++++++++++++++++++++++++++++++
 src/tests/pdutest/pdutest.pro |    8 +++++
 3 files changed, 71 insertions(+), 0 deletions(-)

New commits:
commit 980968fa7e7362b5450c6d7b147e287efe3a20d8
Author: Holger Freyther <[EMAIL PROTECTED]>
Date:   Wed Aug 27 16:17:56 2008 +0200

    [SMS] Add test case for the PDU parsing
        Add the PDUs from https://docs.openmoko.org/trac/ticket/1728 and some 
other
        to test that the text and sender can be properly extracted.
    
        Currently we pass, so if Tick's change regressed some other PDU and we 
get
        a bug report we can fix it and make sure the other stuff does not break
    
    ./pdutest
    ********* Start testing of TestPDUParsing *********
    Config: Using QTest library 4.3.4, Qt 4.3.4
    PASS   : TestPDUParsing::initTestCase()
    PASS   : TestPDUParsing::testPDUParsing()
    PASS   : TestPDUParsing::cleanupTestCase()
    Totals: 3 passed, 0 failed, 0 skipped
    ********* Finished testing of TestPDUParsing *********




--- End Message ---
--- Begin Message ---
Author: tick
Date: 2008-08-27 17:32:20 +0200 (Wed, 27 Aug 2008)
New Revision: 4613

Modified:
   trunk/src/target/opkg/libopkg/opkg_cmd.c
Log:
[opkg] fix opkg crashes if PATH is unset

Thanks for chgros



Modified: trunk/src/target/opkg/libopkg/opkg_cmd.c
===================================================================
--- trunk/src/target/opkg/libopkg/opkg_cmd.c    2008-08-26 08:31:26 UTC (rev 
4612)
+++ trunk/src/target/opkg/libopkg/opkg_cmd.c    2008-08-27 15:32:20 UTC (rev 
4613)
@@ -312,12 +312,19 @@
 static opkg_intercept_t opkg_prep_intercepts(opkg_conf_t *conf)
 {
     opkg_intercept_t ctx;
+    char *oldpath;
     char *newpath;
     int gen;
 
     ctx = malloc (sizeof (*ctx));
-    ctx->oldpath = strdup (getenv ("PATH"));
+    oldpath = getenv ("PATH");
+    if (oldpath) {
+        ctx->oldpath = strdup (oldpath);
+    } else {
+        ctx->oldpath = 0;
+    }
 
+
     sprintf_alloc (&newpath, "%s/opkg/intercept:%s", DATADIR, ctx->oldpath);
     setenv ("PATH", newpath, 1);
     free (newpath);
@@ -344,8 +351,12 @@
     DIR *dir;
     int err = 0;
 
-    setenv ("PATH", ctx->oldpath, 1);
-    free (ctx->oldpath);
+    if (ctx->oldpath) {
+        setenv ("PATH", ctx->oldpath, 1);
+        free (ctx->oldpath);
+    } else {
+        unsetenv("PATH"); 
+    }
 
     dir = opendir (ctx->statedir);
     if (dir) {




--- End Message ---
--- Begin Message ---
Author: tick
Date: 2008-08-27 17:39:42 +0200 (Wed, 27 Aug 2008)
New Revision: 4614

Modified:
   trunk/src/target/opkg/libopkg/opkg_install.c
Log:
[opkg] Remove the orphan packages while upgrading 


Modified: trunk/src/target/opkg/libopkg/opkg_install.c
===================================================================
--- trunk/src/target/opkg/libopkg/opkg_install.c        2008-08-27 15:32:20 UTC 
(rev 4613)
+++ trunk/src/target/opkg/libopkg/opkg_install.c        2008-08-27 15:39:42 UTC 
(rev 4614)
@@ -627,6 +627,59 @@
      return 0;
 }
 
+static int pkg_remove_orphan_dependent(opkg_conf_t *conf, pkg_t *pkg, pkg_t 
*old_pkg) 
+{
+    int i, j, found;
+    char *buf, *d_str;
+    pkg_t *p;
+    if (!old_pkg) 
+        return 0;
+    if (!pkg) {
+        fprintf(stderr, "pkg shall not be NULL here.  please send to the 
bugzilla!! [%s %d]\n", __FILE__, __LINE__);
+        return -1;
+    }
+    if (old_pkg->depends_count == 0) 
+        return 0;
+    for (i=0;i<old_pkg->depends_count;i++) {
+        found = 0;
+        for (j=0;j<pkg->depends_count;j++) {
+            if (!strcmp(old_pkg->depends_str[i], pkg->depends_str[j])) {
+                found = 1;
+                break;
+            }
+        }
+        if (found)
+            continue;
+        d_str = old_pkg->depends_str[i];
+        buf = malloc (strlen (d_str) + 1);
+        j=0;
+        while (d_str[j] != '\0' && d_str[j] != ' ') {
+            buf[j]=d_str[j];
+            ++j;
+        }
+        buf[j]='\0';
+        buf = realloc (buf, strlen (buf) + 1);
+        p = pkg_hash_fetch_installed_by_name (&conf->pkg_hash, buf);
+        if (!p) {
+            fprintf(stderr, "The pkg %s had been removed!!\n", buf);
+            free(buf);
+            continue;
+        }
+        if (p->auto_installed) {
+            int deps;
+            abstract_pkg_t **dependents;
+            deps = pkg_has_installed_dependents(conf, NULL, p, &dependents);
+            if (deps == 0) {
+                opkg_message (conf, OPKG_NOTICE,"%s was autoinstalled but is 
now orphaned, remove it.\n", buf);
+                opkg_remove_pkg(conf, p, 0);
+            } else 
+                opkg_message (conf, OPKG_INFO, "%s was autoinstalled and is 
still required by %d installed packages\n", buf, deps);
+        }
+        free(buf);
+    }
+    return 0;
+}
+
 /* returns number of installed replacees */
 int pkg_get_installed_replacees(opkg_conf_t *conf, pkg_t *pkg, pkg_vec_t 
*installed_replacees)
 {
@@ -908,6 +961,8 @@
          opkg_state_changed++;
          pkg->state_flag |= SF_FILELIST_CHANGED;
 
+          pkg_remove_orphan_dependent(conf, pkg, old_pkg);
+
          /* XXX: BUG: we really should treat replacement more like an upgrade
           *      Instead, we're going to remove the replacees 
           */




--- End Message ---
--- Begin Message ---
Author: tick
Date: 2008-08-27 17:46:11 +0200 (Wed, 27 Aug 2008)
New Revision: 4615

Modified:
   trunk/src/target/opkg/libbb/unarchive.c
Log:
[opkg] trivial, remove unused variable res



Modified: trunk/src/target/opkg/libbb/unarchive.c
===================================================================
--- trunk/src/target/opkg/libbb/unarchive.c     2008-08-27 15:39:42 UTC (rev 
4614)
+++ trunk/src/target/opkg/libbb/unarchive.c     2008-08-27 15:46:11 UTC (rev 
4615)
@@ -84,7 +84,6 @@
        char *full_link_name = NULL;
        char *buffer = NULL;
        struct utimbuf t;
-        int res;
 
 
        /* prefix doesnt have to be a proper path it may prepend 




--- End Message ---
--- Begin Message ---
 conf/distro/include/sane-srcrevs.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

New commits:
commit 461865c7bb7f7b72c631714a540645968179fcea
Author: Carsten Haitzler <[EMAIL PROTECTED]>
Date:   Thu Aug 28 00:02:26 2008 +1000

    up illume srcrev




--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to