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. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
([EMAIL PROTECTED])
2. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
([EMAIL PROTECTED])
3. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
([EMAIL PROTECTED])
4. r4824 - in developers/werner: fake-calup myroot
([EMAIL PROTECTED])
5. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
([EMAIL PROTECTED])
6. Holger's qtopia repo: Changes to 'master' ([EMAIL PROTECTED])
7. r4825 - in trunk/src/target/opkg: libbb libopkg
([EMAIL PROTECTED])
--- Begin Message ---
.../xserver-kdrive-glamo_1.3.0.0+git.bb | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 54810d892c71a69ff75d6fdde6d75a18c4f0b69c
Author: John Lee <[EMAIL PROTECTED]>
Date: Tue Nov 25 19:13:29 2008 +0800
xserver-kdrive-glamo_1.3.0.0+git.bb: add override ${PN} to RPROVIDES
... plus RCONFLICTS and RREPLACES
--- End Message ---
--- Begin Message ---
conf/distro/include/sane-srcrevs.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
New commits:
commit 361522fe7ecce213449dd22f7d9a471c6b989808
Merge: 2fd370d1f5a086b99bfa9a64bbff64a391b48a82
54810d892c71a69ff75d6fdde6d75a18c4f0b69c
Author: I-Fan, Chen <[EMAIL PROTECTED]>
Date: Tue Nov 25 19:21:13 2008 +0800
Merge branch 'org.openmoko.dev' of git+ssh://[EMAIL
PROTECTED]/var/cache/git/openmoko into org.openmoko.dev
commit 2fd370d1f5a086b99bfa9a64bbff64a391b48a82
Author: I-Fan, Chen <[EMAIL PROTECTED]>
Date: Tue Nov 25 19:20:26 2008 +0800
mokoko: Bump up mokoko to 127
--- End Message ---
--- Begin Message ---
packages/mokoko/mokoko_svn.bb | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
New commits:
commit 543745437cd4875baee314e266265ab0451c7d38
Author: I-Fan, Chen <[EMAIL PROTECTED]>
Date: Wed Nov 26 12:30:01 2008 +0800
mokoko: adding conf file, tags, and alias
--- End Message ---
--- Begin Message ---
Author: werner
Date: 2008-11-26 07:10:56 +0100 (Wed, 26 Nov 2008)
New Revision: 4824
Modified:
developers/werner/fake-calup/calup.init
developers/werner/fake-calup/calup.myroot
developers/werner/myroot/werner.myroot
Log:
Cleanup, and track myroot/werner.*
- myroot/werner.myroot, fake-calup/calup.myroot: wmiconfig now comes from the
feed, so we don't need $wmiconfig anymore (and calup never needed it anyway)
- fake-calup/calup.init: don't wipe out /etc/fstab
Modified: developers/werner/fake-calup/calup.init
===================================================================
--- developers/werner/fake-calup/calup.init 2008-11-25 08:22:32 UTC (rev
4823)
+++ developers/werner/fake-calup/calup.init 2008-11-26 06:10:56 UTC (rev
4824)
@@ -9,7 +9,6 @@
ldconfig
# mounts
->/etc/fstab
mount -t proc none /proc
mount -t sysfs none /sys
mount -t tmpfs none /tmp
Modified: developers/werner/fake-calup/calup.myroot
===================================================================
--- developers/werner/fake-calup/calup.myroot 2008-11-25 08:22:32 UTC (rev
4823)
+++ developers/werner/fake-calup/calup.myroot 2008-11-26 06:10:56 UTC (rev
4824)
@@ -12,7 +12,6 @@
root
calypso=http://people.openmoko.org/joerg/calypso_moko_FW/
my=$SVN/developers/werner
-wmiconfig=$SVN/trunk/src/target/AR6kSDK.build_sw.18/host/tools/wmiconfig/
# ----- basic setup -----------------------------------------------------------
Modified: developers/werner/myroot/werner.myroot
===================================================================
--- developers/werner/myroot/werner.myroot 2008-11-25 08:22:32 UTC (rev
4823)
+++ developers/werner/myroot/werner.myroot 2008-11-26 06:10:56 UTC (rev
4824)
@@ -13,7 +13,6 @@
root
calypso=http://people.openmoko.org/joerg/calypso_moko_FW/
my=$SVN/developers/werner
-wmiconfig=$SVN/trunk/src/target/AR6kSDK.build_sw.18/host/tools/wmiconfig/
# ----- basic setup -----------------------------------------------------------
--- End Message ---
--- Begin Message ---
packages/opkg/opkg_svn.bb | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 2790a7721d355cc950ddbc8ff3eaa3769faf42ee
Author: John Lee <[EMAIL PROTECTED]>
Date: Wed Nov 26 16:08:34 2008 +0800
opkg_svn.bb: fix a stupid typo that ruined everyone's build...
--- End Message ---
--- Begin Message ---
src/libraries/qtopiapim/qsimcontext.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
New commits:
commit 7290a87162911f3ad57b4881919c53b89c662368
Author: Guillaume <[EMAIL PROTECTED]>
Date: Wed Nov 26 16:42:22 2008 +0800
[phonebook] Show a warning when we modify a contact name when importing to
sim
--- End Message ---
--- Begin Message ---
Author: tick
Date: 2008-11-26 11:01:31 +0100 (Wed, 26 Nov 2008)
New Revision: 4825
Modified:
trunk/src/target/opkg/libbb/unzip.c
trunk/src/target/opkg/libopkg/opkg_install.c
trunk/src/target/opkg/libopkg/pkg.c
trunk/src/target/opkg/libopkg/pkg_depends.c
trunk/src/target/opkg/libopkg/pkg_vec.c
Log:
opkg: trivial, clean up obsolete code, and some typo
Modified: trunk/src/target/opkg/libbb/unzip.c
===================================================================
--- trunk/src/target/opkg/libbb/unzip.c 2008-11-26 06:10:56 UTC (rev 4824)
+++ trunk/src/target/opkg/libbb/unzip.c 2008-11-26 10:01:31 UTC (rev 4825)
@@ -40,26 +40,6 @@
* See the file algorithm.doc for the compression algorithms and file formats.
*/
-#if 0
-static char *license_msg[] = {
- " Copyright (C) 1992-1993 Jean-loup Gailly",
- " This program is free software; you can redistribute it and/or
modify",
- " it under the terms of the GNU General Public License as published
by",
- " the Free Software Foundation; either version 2, or (at your
option)",
- " any later version.",
- "",
- " This program is distributed in the hope that it will be useful,",
- " but WITHOUT ANY WARRANTY; without even the implied warranty of",
- " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the",
- " GNU General Public License for more details.",
- "",
- " You should have received a copy of the GNU General Public License",
- " along with this program; if not, write to the Free Software",
- " Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.",
- 0
-};
-#endif
-
#include <sys/types.h>
#include <sys/wait.h>
#include <signal.h>
Modified: trunk/src/target/opkg/libopkg/opkg_install.c
===================================================================
--- trunk/src/target/opkg/libopkg/opkg_install.c 2008-11-26 06:10:56 UTC
(rev 4824)
+++ trunk/src/target/opkg/libopkg/opkg_install.c 2008-11-26 10:01:31 UTC
(rev 4825)
@@ -312,61 +312,7 @@
return 0;
}
-#if 0
-int name_mark_dependencies_for_installation(opkg_conf_t *conf, const char
*pkg_name, pkg_vec_t *pkgs_needed)
-{
- int cmp;
- pkg_t *old, *new;
- char *old_version, *new_version;
- old = pkg_hash_fetch_installed_by_name(&conf->pkg_hash, pkg_name);
-
- new = pkg_hash_fetch_best_installation_candidate_by_name(conf, pkg_name);
- if (new == NULL) {
- return OPKG_PKG_HAS_NO_CANDIDATE;
- }
- if (old) {
- old_version = pkg_version_str_alloc(old);
- new_version = pkg_version_str_alloc(new);
-
- cmp = pkg_compare_versions(old, new);
- if ( (conf->force_downgrade==1) && (cmp > 0) ){ /* We've been
asked to allow downgrade and version is precedent */
- opkg_message(conf, OPKG_DEBUG, " Forcing downgrade ");
- cmp = -1 ; /* then we force
opkg to downgrade */
- /* We need to
use a value < 0 because in the 0 case we are asking to */
- /* reinstall,
and some check could fail asking the "force-reinstall" option */
- }
- opkg_message(conf, OPKG_DEBUG,
- "comparing visible versions of pkg %s:"
- "\n\t%s is installed "
- "\n\t%s is available "
- "\n\t%d was comparison result\n",
- pkg_name, old_version, new_version, cmp);
- if (cmp == 0 && !conf->force_reinstall) {
- opkg_message(conf, OPKG_NOTICE,
- "Package %s (%s) installed in %s is up to date.\n",
- old->name, old_version, old->dest->name);
- free(old_version);
- free(new_version);
- return 0;
- } else if (cmp > 0) {
- opkg_message(conf, OPKG_NOTICE,
- "Not downgrading package %s on %s from %s to %s.\n",
- old->name, old->dest->name, old_version,
new_version);
- free(old_version);
- free(new_version);
- return 0;
- } else if (cmp < 0) {
- new->dest = old->dest;
- old->state_want = SW_DEINSTALL;
- old->state_flag |= SF_OBSOLETE;
- }
- }
- return pkg_mark_dependencies_for_installation(conf, new, pkgs_needed);
-}
-
-#endif
-
int satisfy_dependencies_for(opkg_conf_t *conf, pkg_t *pkg)
{
int i, err;
Modified: trunk/src/target/opkg/libopkg/pkg.c
===================================================================
--- trunk/src/target/opkg/libopkg/pkg.c 2008-11-26 06:10:56 UTC (rev 4824)
+++ trunk/src/target/opkg/libopkg/pkg.c 2008-11-26 10:01:31 UTC (rev 4825)
@@ -1313,7 +1313,7 @@
return NULL;
}
- /* For uninstalled packages, get the file list firectly from the package.
+ /* For uninstalled packages, get the file list directly from the package.
For installed packages, look at the package.list file in the database.
*/
if (pkg->state_status == SS_NOT_INSTALLED || pkg->dest == NULL) {
Modified: trunk/src/target/opkg/libopkg/pkg_depends.c
===================================================================
--- trunk/src/target/opkg/libopkg/pkg_depends.c 2008-11-26 06:10:56 UTC (rev
4824)
+++ trunk/src/target/opkg/libopkg/pkg_depends.c 2008-11-26 10:01:31 UTC (rev
4825)
@@ -45,18 +45,6 @@
static int pkg_constraint_satisfied(pkg_t *pkg, void *cdata)
{
depend_t *depend = (depend_t *)cdata;
-#if 0
- pkg_t * temp = pkg_new();
- int comparison;
- parseVersion(temp, depend->version);
- comparison = pkg_compare_versions(pkg, temp);
- free(temp);
-
- fprintf(stderr, "%s: pkg=%s pkg->version=%s constraint=%p type=%d
version=%s comparison=%d satisfied=%d\n",
- __FUNCTION__, pkg->name, pkg->version,
- depend, depend->constraint, depend->version,
- comparison, version_constraints_satisfied(depend, pkg));
-#endif
if (version_constraints_satisfied(depend, pkg))
return 1;
else
@@ -705,13 +693,6 @@
conflicts->type = CONFLICTS;
parseDepends(conflicts, hash,
pkg->conflicts_str[i]);
-#if 0
- for (j = 0; j < conflicts->possibility_count; j++) {
- depend_t *possibility = conflicts->possibilities[j];
- abstract_pkg_t *conflicting_apkg = possibility->pkg;
- pkg_add_conflict_pair(ab_pkg, conflicting_apkg);
- }
-#endif
conflicts++;
}
return 0;
@@ -730,9 +711,6 @@
return -1;
}
- // if (strcmp(ab_pkg->name, pkg->name))
- // fprintf(stderr, __FUNCTION__ ": ab_pkg=%s pkg=%s\n", ab_pkg->name,
pkg->name);
-
for(i = 0; i < pkg->replaces_count; i++){
abstract_pkg_t *old_abpkg = ensure_abstract_pkg_by_name(hash,
pkg->replaces_str[i]);
Modified: trunk/src/target/opkg/libopkg/pkg_vec.c
===================================================================
--- trunk/src/target/opkg/libopkg/pkg_vec.c 2008-11-26 06:10:56 UTC (rev
4824)
+++ trunk/src/target/opkg/libopkg/pkg_vec.c 2008-11-26 10:01:31 UTC (rev
4825)
@@ -108,17 +108,6 @@
{
int found = 0;
-#if 0
- /* look for a duplicate pkg by name, version, and architecture */
- for (i = 0; i < vec->len; i++)
- if ((strcmp(pkg->name, vec->pkgs[i]->name) == 0)
- && (pkg_compare_versions(pkg, vec->pkgs[i]) == 0)
- && (strcmp(pkg->architecture, vec->pkgs[i]->name) == 0)) {
- found = 1;
- break;
- }
-#endif
-
/* we didn't find one, add it */
if(!found){
vec->pkgs = (pkg_t **)realloc(vec->pkgs, (vec->len + 1) *
sizeof(pkg_t *));
@@ -197,23 +186,11 @@
void abstract_pkg_vec_insert(abstract_pkg_vec_t *vec, abstract_pkg_t *pkg)
{
-#if 0
- /* look for a duplicate pkg by name */
- for(i = 0; i < vec->len; i++)
- if (strcmp(pkg->name, vec->pkgs[i]->name) == 0)
- break;
-
- /* we didn't find one, add it */
- if(i == vec->len){
-#endif
vec->pkgs =
(abstract_pkg_t **)
realloc(vec->pkgs, (vec->len + 1) * sizeof(abstract_pkg_t *));
vec->pkgs[vec->len] = pkg;
vec->len++;
-#if 0
- }
-#endif
}
abstract_pkg_t * abstract_pkg_vec_get(abstract_pkg_vec_t *vec, int i)
--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog