Thanks, Michael, this has been the first viable method for getting Sugar
0.88 working on an XO-1.5 ... I'd been needing that for some time; to
check new bugs we find in 0.84 against 0.88, and to develop changes
against 0.88 after I've done them on 0.84.
Double-apologies then for all the rough edges; since I never expected the work
to be useful to anyone but me, I spent rather less time polishing it than is
usual for me.
The missing package was python-decorator. It's not in the build
dependencies in the Makefile. See attached patch.
Merged; thanks for the patch!
The next stop was more interesting ... assuming that I would no longer
need any of the existing Sugar packages, I had removed them prior to
"make install", using this command:
rpm -e \
sugar-datastore-0.84.1-1.fc11.i586 \
sugar-toolkit-0.84.9-2.fc11.i586 \
sugar-artwork-0.84.1-3.fc11.i586 \
sugar-presence-service-0.84.0-2.fc11.noarch \
sugar-0.84.15-1.fc11.i586 \
sugar-base-0.84.1-1.fc11.i586 \
sugar-update-control-0.23-1.fc11.noarch \
olpc-library-2.0.3-1.fc11.noarch \
ds-backup-client-0.11.1.g71d2f16-1.olpc3.noarch \
olpc-switch-desktop-0.7-1.fc11.noarch
I only removed the sugar-* packages (via rpm -e --nodeps). I haven't done any
work to replace the others yet.
The result was failure to render the home window; because the
computer-xo icon could not be found. Log from /tmp/olpc-dm-client.log
placed here:
http://dev.laptop.org/~quozl/2010-04-29-olpc-dm-client.log
I'm not sure why this has happened, but my guess is that there is a file
used that isn't installed by "make install", but left over from the
RPMs. When I reinstalled the removed RPMs, it all began to work again.
I took a quick look at this traceback and at my Makefile and I think that it
might be a simple "order of operations" bug in the Makefile.
Does the attached patch fix the problem for you?
Regards,
Michael
>From b3d094c5d63383fd32a267aebb62b6f98abbca51 Mon Sep 17 00:00:00 2001
From: Michael Stone <mich...@laptop.org>
Date: Thu, 29 Apr 2010 01:56:47 -0400
Subject: [PATCH] Update the gtk icon cache after all icons are installed.
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 581f1dc..91d886f 100644
--- a/Makefile
+++ b/Makefile
@@ -240,7 +240,6 @@ install-slow: all
(export GCONF_CONFIG_SOURCE=`$(GCONFTOOL2) --get-default-source`;\
$(GCONFTOOL2) --makefile-install-rule $(SCHEMADIR)/sugar.schemas);
$(UPDATE_MIME_DATABASE) $(DATADIR)/mime;
- gtk-update-icon-cache -f $(ICONDIR)
for d in $(shell ls artwork/icons/scalable); do \
install -d $(ICONDIR)/scalable/$$d; \
for f in artwork/icons/scalable/$$d/*; do \
@@ -248,6 +247,7 @@ install-slow: all
done; \
(cd $(ICONDIR)/scalable && $(ICONMAP) -c $$d) \
done
+ gtk-update-icon-cache -f $(ICONDIR)
install: install-fast install-slow
--
1.7.0
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel