[Debian-olpc-devel] Bug#657075: Bug#657075: Bug#657075: Sugar Browse Activity still fail

Jonas Smedegaard dr at jones.dk
Sat Apr 28 19:22:57 UTC 2012

On 12-04-28 at 07:50pm, Jonas Smedegaard wrote:
> On 12-04-28 at 11:35am, Aurélio A. Heckert wrote:
> > I'm using a debian testing environment, installed minimally, without 
> > any graphical desktop. After the system instalation and reboot i 
> > install education-desktop-sugar and gdm3.
> Please beware that the package

Whoops, I forgot to finish above:

Please beware that the package education-desktop-sugar specifically is 
for use with Debian-edu.

The recommended way to install Sugar is with the package sucrose-0.84 
(or sucrose-0.88 or whatever branch you want).

If you want to try as minimal as possible Sugar environment, then 
install sugar-emulator-0.84 (or sugar-emulator-0.88...).

If you want a minimal setup yet with a proper graphical login (not just 
the emulator) then try replace gdm3 with lightdm and see how much of the 
GNOME environment you can get rid of without hurting your particular 
needs (some will nost likely be pulled in as recommendations but not be 
really needed - eg. use evince-gtk instead of evince and try avoid 
*evolution* packages.

> If you - as a tester - succeed at building a working Hulahop I am 
> quite interested in knowing more about it.  I have failed so far :-(
> ...but thanks to your poking here, I realize that the patch which Luke 
> provided for this bugreport is not identical to the one he gave 
> upstream at https://bugzilla.mozilla.org/show_bug.cgi?id=728055 so I 
> will now try mess some more with it...

Diff between head of our git and the patch at http://lkcl.net/hulahop/ 
turned out to be only this:

--- a/debian/rules
+++ b/debian/rules
@@ -32,7 +32,8 @@
 pkg = python-hulahop
 # Woraround for type punning causing "size of array 'arg' is negative"
-CXXFLAGS += -fno-strict-aliasing
+CXXFLAGS += -std=gnu++0x -fno-strict-aliasing
+CFLAGS += -std=gnu++0x
 # apparently needs current version of python-xpcom at runtime
 #  (dh_xulrunner does not work here as of

...which apparently only silences some warnings but still leads to same 

/tmp/buildd/sugar-hulahop-0.8.2/./src/HulahopDirectoryProvider.cpp:49:1: error: prototype for 'nsresult HulahopDirectoryProvider::GetFile(const char*, PRBool*, nsIFile**)' does not match any in class 'HulahopDirectoryProvider'
/tmp/buildd/sugar-hulahop-0.8.2/./src/HulahopDirectoryProvider.h:29:22: error: candidate is: virtual nsresult HulahopDirectoryProvider::GetFile(const char*, bool*, nsIFile**)
make[2]: *** [HulahopDirectoryProvider.lo] Error 1

Any help resolving this is much appreciated.

Please note that Luke succeeded compiling against an earlier xulrunner 
than is now in Debian.

 - Jonas

 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-olpc-devel/attachments/20120428/6beaaa10/attachment.pgp>

More information about the Debian-olpc-devel mailing list