Re: [sugar] datastore and custom attributes

2008-07-10 Thread Tomeu Vizoso
Not sure how tricky, depends on how smart is who looks at it ;)

Added an explanation to https://dev.laptop.org/ticket/4662 in the hope it helps.

Regards,

Tomeu

On Wed, Jul 9, 2008 at 2:56 PM, Pascal Scheffers <[EMAIL PROTECTED]> wrote:
>
> How tricky is it?
>
> Seeing how I know I really need it... give me some pointers.
>
> - Pascal.
>
> On 9 jul 2008, at 14:53, Tomeu Vizoso wrote:
>
>> On Wed, Jul 9, 2008 at 2:47 PM, Pascal Scheffers <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> Hi everyone,
>>>
>>> I've been out of it for a while now, one of the things pending was Read
>>> Activity's ability to remember its settings across reboots, this failed
>>> because custom attributes could not be saved. Release Candidate-708 still
>>> doesn't. What the status of that? Tomeu?
>>>
>>> I look forward to doing some interesting things with read activity, but
>>> everything will depend on meta data being kept.
>>
>> No work has gone into that :/
>>
>> If anyone wanted to give it a try, it may get into the current
>> release. I can give some pointers if needed.
>>
>> Regards,
>>
>> Tomeu
>
>
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar



[sugar] Graphical Sugar Control Panel

2008-07-10 Thread Greg Smith
Hi All,

Can I get a link to any documentation on what the new Graphical Sugar 
Control panel will support in XO release 8.2.0?

I tried searching the sugar wiki and OLPC wiki but didn't see it after 
1/2 hour of trying :-(

FYI I did find this on the current sugar control panel: 
http://wiki.laptop.org/go/Sugar_Control_Panel
we should plan to update that when the new release is out.

I'm looking for a list of what can be set in it and any screen shots or 
other background on what it provides for end users.

I can scrub through Trac bugs or technical documentation if that is all 
we have at this stage.

I'm going to summarize what we have for the 8.2.0 release notes. If you 
have a long lived link which will be the "official" documentation I can 
include that too.

Thanks,

Greg S
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] Graphical Sugar Control Panel

2008-07-10 Thread Chris Ball
Hi Greg,

   > I'm looking for a list of what can be set in it and any screen
   > shots or other background on what it provides for end users.

Have you considered running it?  It's been in Joyride for a few weeks.
That's no good if you want formal documentation, of course, but it
would answer your questions about what's there.

- Chris.
-- 
Chris Ball   <[EMAIL PROTECTED]>
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] Graphical Sugar Control Panel

2008-07-10 Thread Eben Eliason
There's also this:

http://wiki.laptop.org/go/Sugar_Control_Panel

And more specifically this:

http://wiki.laptop.org/go/Sugar_Control_Panel#GUI_for_the_command_line_tool_.28work_in_progress.29

I'm not sure how up-to-date it is, and I'd suggest taking a screenshot
of the actual XO rather than relying on those out-of-date mockups.

- Eben



On Thu, Jul 10, 2008 at 12:01 PM, Chris Ball <[EMAIL PROTECTED]> wrote:
> Hi Greg,
>
>   > I'm looking for a list of what can be set in it and any screen
>   > shots or other background on what it provides for end users.
>
> Have you considered running it?  It's been in Joyride for a few weeks.
> That's no good if you want formal documentation, of course, but it
> would answer your questions about what's there.
>
> - Chris.
> --
> Chris Ball   <[EMAIL PROTECTED]>
> ___
> Sugar mailing list
> Sugar@lists.laptop.org
> http://lists.laptop.org/listinfo/sugar
>
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] Graphical Sugar Control Panel

2008-07-10 Thread Simon Schampijer
Chris Ball wrote:
> Hi Greg,
> 
>> I'm looking for a list of what can be set in it and any screen
>> shots or other background on what it provides for end users.
> 
> Have you considered running it?  It's been in Joyride for a few weeks.
> That's no good if you want formal documentation, of course, but it
> would answer your questions about what's there.
> 
> - Chris.

I put on my todo list to extend the wiki pages.

Best,
Simon

___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] Graphical Sugar Control Panel

2008-07-10 Thread Greg Smith
Hi Chris,

Good idea, will do.

I'm trying to write the documentation about what it does for people who 
are trying to decide if they want to try this release (in release 
notes). So they wont have the release itself to try out and we'll need a 
written explanation of it at some point.  I'll try it out and write up 
my notes ASAP to get you started.

I'll out what I find in here: 
http://wiki.laptop.org/go/Release_Notes/8.2.0#Graphical_Sugar_Control_Panel

then link to Simon's page as well when its ready.

Thanks,

Greg S


Chris Ball wrote:
> Hi Greg,
> 
>> I'm looking for a list of what can be set in it and any screen
>> shots or other background on what it provides for end users.
> 
> Have you considered running it?  It's been in Joyride for a few weeks.
> That's no good if you want formal documentation, of course, but it
> would answer your questions about what's there.
> 
> - Chris.
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] Problem with Activity Development

2008-07-10 Thread Ankuj Gupta
I had edited the activity.info as
~~~
name =EducationalToolkit
bundle_id = org.laptop.EducationalToolkitActivity
service_name = org.laptop.EducationalToolkitActivity
exec=./startup.sh
icon = sweet-icon
activity_version = 2
mime_types = text/plain
show_launcher = yes


The startup.sh had the following code

#!/bin/sh

cd src
sugar-activity EducationalToolkitActivity.STARTUPCLASS -s [EMAIL PROTECTED]

1)Does one still require setup.py
2)Even after doing this the log showed the following error

File "/usr/bin/sugar-activity" line 112 in
   module=__import__(module_name)
Import Error :No module EducationalToolkitActivity

On 7/9/08, Bobby Powers <[EMAIL PROTECTED]> wrote:
> How about this:
>
>  for activity.info have it exec a shell script:
>  ~~~
>  [Activity]
>  name = YourSweetApp
>  bundle_id = org.laptop.Sweet
>  service_name = org.laptop.Sweet
>  exec = ./sweet_startup.sh   ***
>  icon = sweet-icon
>  activity_version = 7
>  mime_types = text/plain
>  show_launcher = yes  ***
>  ~~~
>  don't print the ***, they are to note the relevant lines!  Also you
>  need to remove the 'class...' line.
>
>
>  Then, in the root folder of your app put a shell script (with the
>  right permissions to let it execute) with the following:
>  ~~~
>  #!/bin/sh
>
>  cd src
>  sugar-activity EducationalToolkitActivity.STARTUPCLASS -s $@
>
>  ~~~
>
>  I don't know if this will work, but its worth a shot.
>
>  Bobby
>
>
>  On Mon, Jul 7, 2008 at 11:47 PM, Asheesh Laroia <[EMAIL PROTECTED]> wrote:
>  > On Mon, 7 Jul 2008, Ankuj Gupta wrote:
>  >
>  >> Hi
>  >>
>  >> Due to the git repository structure I have to keep a different directory
>  >> structure than the default directory as recommended by the wiki.The
>  >> contents of the manifest file are mentioned here
>  >
>  > Okay.
>  >
>  >> EducationalToolkitActivity.py imports parse and model .py But tle log
>  >> shows module missing.I have also edited the activity-info file.But
>  >> still it shows "No module named as parse"
>  >
>  > Can you:
>  >
>  > (a) provide the full source?, and
>  > (b) provide the exact error message?
>  >
>  > -- Asheesh.
>  >
>  > --
>  > The easiest way to get the root password is to become system admin.
>  >-- Unknown source
>
> > ___
>  > Sugar mailing list
>  > Sugar@lists.laptop.org
>  > http://lists.laptop.org/listinfo/sugar
>  >
>


-- 
Ankuj Gupta
Computer Engineering
NSIT
New Delhi , India
Mob : +91-9911428503
email:[EMAIL PROTECTED]
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


[sugar] Sugar Almanac Recent Updates - UI, Logging and More

2008-07-10 Thread Faisal Anwar
Hello All,

Below are some updates that have been made to the sugar almanac. Please keep
feedback coming as well as any requests for areas that need more
documentation.


   - 1 Class: Alert
  - 1.1 How do I create a simple alert
message?
  - 1.2 How do I create an alert message with a button that allows a
  user response to the
alert?
   - 2 Class: 
ConfirmationAlert
  - 2.1 What is special about a confirmation alert and how do I use it
  in my 
activity?
   - 3 Class: 
TimeoutAlert
  - 3.1 What is special about a TimeoutAlert and how do I use it in my
  
activity?
   - 4 Class: 
NotifyAler
  - 4.1 What is special about a NotifyAlert and how do I use it in my
  
activity?


   - sugar.graphics.icon 
   - sugar.graphics.notebook


   - sugar.logger 
   - Notes on using Python Standard Logging in
Sugar


   - 1 Helper Functions
  - 1.1 How are mime types represented in sugar and how do I get a list
  of the basic generic mime
types?
  - 1.2 Given a specific file, how do I figure out what its mime type
  
is?
  - 1.3 How do I access the description of a specific mime
type?
  - 1.4 How do I get the primary extension that is standard for a given
  mime 
type?
   - 2 Class: ObjectType


Faisal
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


[sugar] [PATCH] #7205: bundlebuilder to work for Pippy

2008-07-10 Thread Jameson "Chema" Quinn
For review. Marcopg didn't like this patch when is_dir was hackier in the
packed case (which never gets exercised), so I've fixed that part.
From 8ed4af6b7197625026945c75e0296bba5c5cf961 Mon Sep 17 00:00:00 2001
From: chema <[EMAIL PROTECTED](none)>
Date: Thu, 10 Jul 2008 13:58:12 -0600
Subject: [PATCH] 7205: bundlebuilder accepts old "dist" cmd, checks for po dir

---
 src/sugar/activity/bundlebuilder.py |8 
 src/sugar/bundle/bundle.py  |   13 -
 2 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/src/sugar/activity/bundlebuilder.py b/src/sugar/activity/bundlebuilder.py
index 5afd78f..abe91b6 100644
--- a/src/sugar/activity/bundlebuilder.py
+++ b/src/sugar/activity/bundlebuilder.py
@@ -81,6 +81,10 @@ class Builder(object):
 def build_locale(self):
 po_dir = os.path.join(self.config.source_dir, 'po')
 
+if not self.config.bundle.is_dir(po_dir):
+logging.warn("Missing po/ dir, cannot build_locale")
+return
+
 for f in os.listdir(po_dir):
 if not f.endswith('.po'):
 continue
@@ -214,6 +218,10 @@ def cmd_dist_xo(config, options, args):
 packager = XOPackager(config)
 packager.package()
 
+def cmd_dist(config, options, args):
+logging.warn("dist deprecated, use dist_xo.")
+cmd_dist_xo(config, options, args)
+
 def cmd_dist_source(config, options, args):
 packager = SourcePackager(config)
 packager.package()
diff --git a/src/sugar/bundle/bundle.py b/src/sugar/bundle/bundle.py
index 9e876c2..eccbe9a 100644
--- a/src/sugar/bundle/bundle.py
+++ b/src/sugar/bundle/bundle.py
@@ -132,7 +132,18 @@ class Bundle:
 zip_file.close()
 
 return True
-
+
+def is_dir(self, filename):
+if self._unpacked:
+path = os.path.join(self._path, filename)
+return os.path.isdir(path)
+else:
+zip_file = zipfile.ZipFile(self._path)
+path = os.path.join(self._zip_root_dir, filename, "")
+for subfile in zip_file.namelist():
+if subfile.startswith(path):
+return True
+return False
 
 def get_path(self):
 """Get the bundle path."""
-- 
1.5.2.5

___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


[sugar] Physics -- Newtonian mechanics.. for kids!

2008-07-10 Thread Brian Jordan
Hi friends!

Physics is a physics playground for the XO currently being written by
myself and Alex Levenson. We hope it will be a fun tool for playing
with and learning physical concepts, and that the work of the
Physics/Elements teams can be used as a backend for making all
activities fun and interactive.

Get it at:
http://dev.laptop.org/~bjordan/Physics-0.2.xo (click in Browse to install)

Join the fight against everything other than Physics!

Wiki: http://wiki.laptop.org/go/Physics
IRC: irc.freenode.net #olpc-physics
 We are having a meeting at 6:30pm EST today on #sugar
(irc.freenode.net) with key XO-physicists. Join us!
Git: http://dev.laptop.org/git?p=activities/physics

Physics currently supports:
- Creating: triangles, boxes, circles
- Drawing: polygons, "magic pen" shapes
- Grabbing objects
- Connecting objects with joints
- Destroying objects with a fun to use red path of destruction

Physics currently uses a default Earth-style (pointing downward)
gravity, friction, size-based masses and a set of colors which are
randomly picked when an object is created. We are working on
simple-to-use contextual menus for modifying and visualizing these
parameters in the activity.

We are planning to add many other tools and toys in Physics, and
encourage suggestions (drawings/diagrams!), bug reports and code
contributions from other developers.

Physics (by way of Elements and pyBox2D) uses the open source 2D C++
physics engine Box2D2 as a back end, which has a lot of functionality
that we haven't implemented yet.

Cheers,
Brian Jordan
3D intern trapped in a 2D world
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


[sugar] gears and greasemonkey to take wikipedia offline

2008-07-10 Thread David Van Assche
Hi there,
   There is an interesting article on google's code site about using Google
Gears and Greasemonkey to take wikipedia and make it work offline... This
sounds really interesting and might be something useful for OLPC.
Considering the code is already there, how about testing this out, once we
have Gears in browse. It would require putting greasemonkey in too, but
considering we've done all the heavylifting for gears, plugging greasemonkey
in should be relatively easy. It was also mentioned that a workaround to
getting popups working browse would be to use greasemonkey to open them in a
frame of the browser... tabs might be a better long term solution, but in
the short term, perhaps that could help too...

Here's the article:
http://code.google.com/support/bin/answer.py?answer=81101&topic=11982

Kind Regards,
David Van Assche

P.S. I like how folks are refering to this kind of stuff as web 3.0...
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] Graphical Sugar Control Panel

2008-07-10 Thread Gary C Martin
On 10 Jul 2008, at 17:39, Simon Schampijer wrote:

> Chris Ball wrote:
>> Hi Greg,
>>
>>> I'm looking for a list of what can be set in it and any screen
>>> shots or other background on what it provides for end users.
>>
>> Have you considered running it?  It's been in Joyride for a few  
>> weeks.
>> That's no good if you want formal documentation, of course, but it
>> would answer your questions about what's there.
>>
>> - Chris.
>
> I put on my todo list to extend the wiki pages.

Just added screen shots of all the current Joyride control panels,  
hope that helps.


http://wiki.laptop.org/go/Release_Notes/8.2.0#Graphical_Sugar_Control_Panel

--Gary

___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] gears and greasemonkey to take wikipedia offline

2008-07-10 Thread Martin Langhoff
On Thu, Jul 10, 2008 at 5:32 PM, David Van Assche <[EMAIL PROTECTED]> wrote:
>There is an interesting article on google's code site about using Google
> Gears and Greasemonkey to take wikipedia and make it work offline... This

I am in general interested in that track, though it is hard to beat
what cjb has done with his wikipedia activity. The whole thing gets
compiled, QAd and compressed in one place, rather than doing it on a
per-client basis.

Let' s look at it after we have Moodle covered :-)




m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] Physics -- Newtonian mechanics.. for kids!

2008-07-10 Thread Yoshiki Ohshima
At Thu, 10 Jul 2008 16:14:05 -0400,
Brian Jordan wrote:
> 
> Hi friends!
> 
> Physics is a physics playground for the XO currently being written by
> myself and Alex Levenson. We hope it will be a fun tool for playing
> with and learning physical concepts, and that the work of the
> Physics/Elements teams can be used as a backend for making all
> activities fun and interactive.

  It is working pretty well.  One thing I'm for sure you're planning
to add is a switch to stop and resume time.  My colleague Takashi, who
did a similar stuff but a scriptable one
(http://languagegame.org:8080/ggame/15), and I were having fun to make
a pendulum in "Physics" with pre-planned scaffoldings and removing
them.  (It can be a fun puzzle, actually.)

  Yes, for longer term, it would be great if there is a scripting
capability so that the user can specify, say, when an object goes to
certain location, that can trigger a script and, say, create a new
object.

-- Yoshiki
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] [OLPC-Games] Physics -- Newtonian mechanics.. for kids!

2008-07-10 Thread Edward Cherlin
On Thu, Jul 10, 2008 at 1:14 PM, Brian Jordan <[EMAIL PROTECTED]> wrote:
> Hi friends!
>
> Physics is a physics playground for the XO currently being written by
> myself and Alex Levenson. We hope it will be a fun tool for playing
> with and learning physical concepts, and that the work of the
> Physics/Elements teams can be used as a backend for making all
> activities fun and interactive.

Excellent. I will join your discussion.

> Get it at:
> http://dev.laptop.org/~bjordan/Physics-0.2.xo (click in Browse to install)
>
> Join the fight against everything other than Physics!
>
> Wiki: http://wiki.laptop.org/go/Physics
> IRC: irc.freenode.net #olpc-physics
> We are having a meeting at 6:30pm EST today on #sugar
> (irc.freenode.net) with key XO-physicists. Join us!
> Git: http://dev.laptop.org/git?p=activities/physics
>
> Physics currently supports:
> - Creating: triangles, boxes, circles
> - Drawing: polygons, "magic pen" shapes
> - Grabbing objects
> - Connecting objects with joints

So we could simulate a pendulum or a Newton's cradle? How do you
handle collisions?

Any idea how many objects you can simulate and render in real time?

> - Destroying objects with a fun to use red path of destruction
>
> Physics currently uses a default Earth-style (pointing downward)
> gravity,

Do you mean a Galilean constant-acceleration field for small spaces on
the ground, or a Newtonian inverse-square central field including
orbital space?

> friction, size-based masses

Can we add uniform density shown by color saturation or something like that?

> and a set of colors which are
> randomly picked when an object is created. We are working on
> simple-to-use contextual menus for modifying and visualizing these
> parameters in the activity.
>
> We are planning to add many other tools and toys in Physics, and
> encourage suggestions (drawings/diagrams!), bug reports and code
> contributions from other developers.

Can you link to Measure?

> Physics (by way of Elements and pyBox2D) uses the open source 2D C++
> physics engine Box2D2 as a back end, which has a lot of functionality
> that we haven't implemented yet.

Any thoughts about using SciPy for visualization?

> Cheers,
> Brian Jordan
> 3D intern trapped in a 2D world
> ___
> Games mailing list
> [EMAIL PROTECTED]
> http://lists.laptop.org/listinfo/games
>



-- 
Edward Cherlin
End Poverty at a Profit by teaching children business
http://www.EarthTreasury.org/
"The best way to predict the future is to invent it."--Alan Kay
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] [OLPC library] Physics -- Newtonian mechanics.. for kids!

2008-07-10 Thread Michael Stone
Please remember that activity version numbers must be integers. Software
does exist which relies on this assumption!

Thanks,

Michael
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] [OLPC library] Physics -- Newtonian mechanics.. for kids!

2008-07-10 Thread Eben Eliason
That's true, however I think it's also been agreed that we need
support for, at a minimum, major and minor version numbers for
activities.  We should probably make some final decisions on that and
make sure that any software that depends on integers is prepared to
consider anything of version X without a minor version specified to be
X.0 for forward compatibility.

- Eben


On Thu, Jul 10, 2008 at 6:41 PM, Michael Stone <[EMAIL PROTECTED]> wrote:
> Please remember that activity version numbers must be integers. Software
> does exist which relies on this assumption!
>
> Thanks,
>
> Michael
> ___
> Sugar mailing list
> Sugar@lists.laptop.org
> http://lists.laptop.org/listinfo/sugar
>
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] [OLPC-Games] Physics -- Newtonian mechanics.. for kids!

2008-07-10 Thread Yoshiki Ohshima
> So we could simulate a pendulum or a Newton's cradle? How do you
> handle collisions?

  A pendulum for sure, but my version of three pendulums putting
together doesn't show the expected behavior.  The elasticity isn't
right for it, it seems.

-- Yoshiki
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] [OLPC-Games] Physics -- Newtonian mechanics.. for kids!

2008-07-10 Thread Edward Cherlin
On Thu, Jul 10, 2008 at 4:20 PM, Yoshiki Ohshima <[EMAIL PROTECTED]> wrote:
>> So we could simulate a pendulum or a Newton's cradle? How do you
>> handle collisions?
>
>  A pendulum for sure, but my version of three pendulums putting
> together doesn't show the expected behavior.  The elasticity isn't
> right for it, it seems.

What does it do? Can you get it to tell you what values of momentum
and energy are passed through from balls 1-->2-->3?

I once used a 5-ball Newton's cradle to do a rough simulation of
particle-mediated forces.

Have you tried two pendula hanging from a horizontal string? Do you
get the expected transfer of energy back and forth?

> -- Yoshiki
> ___
> Games mailing list
> [EMAIL PROTECTED]
> http://lists.laptop.org/listinfo/games
>



-- 
Edward Cherlin
End Poverty at a Profit by teaching children business
http://www.EarthTreasury.org/
"The best way to predict the future is to invent it."--Alan Kay
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar


Re: [sugar] google gears rpm update

2008-07-10 Thread David Van Assche
Ok... finally fixed the compile problem found above. Turns out the
libgtk-x11-2.0 had been compiled with a Ubuntu 6.06, and when I replaced it
with one compiled on 8.04, the build went through smoothly leaving me with
the desired gears 4.3.0 .xpi... The google gears guys don't really check the
Linux version too much... but for anyone desiring to build this from scratch
the commands for Ubuntu 8.04 are:

sudo svn checkout *http*://gears.googlecode.com/svn/trunk/ gears-read-only
cd gears-read-only/gears
sudo chmod o+x ../third_party/gecko_1.9/linux/gecko_sdk/bin/xpidl
sudo chmod o+x ../third_party/gecko_1.9/linux/gecko_sdk/bin/xpt_link
[should work with other versions and distros too I guess]
sudo cp /usr/lib/libgtk-x11-2.0.so ../third_party/gtk/linux/lib/
libgtk-x11-2.0.so
sudo make BROWSER= CC=gcc-3.4 CXX=g++-3.4 MKSHLIB=g++-3.4 MODE=opt

The compiled .xpi file is then found in gears/bin-opt/installer/
as
gears-linux-opt-0.4.3.0.xpi (or whatever version is presently out)

For Fedora 9, instructions are the same except the make string is:
sudo make BROWSER= CC=gcc34 CXX=g++34 MKSHLIB=g++34 MODE=opt

That means I can now finish the rpm...!


Kind Regards,
David Van Assche

On Wed, Jul 9, 2008 at 3:08 PM, David Van Assche <[EMAIL PROTECTED]>
wrote:

>
>> Good. So you have a build that gets you the right GG for FF3 on F9 -
>> almost there :-) If you are testing with Browse, bear in mind that we
>> may need different tweaks - as I suspect Browse is closer to FF2 than
>> to FF3, but Tomeu will probably know better. Of course, we first need
>> the FF3 targetted RPM - easier to test, and to get into Fedora.
>>
>
> yep, as soon as there is a working svn branch, I'll be able to inject the
> gg code into FF3 quite easily (xulrunner-1.9 --install-app
> /path/to/.xpi_file) does this...
>
>
>>
>> > 2. This leads me to the conclusion that there must be some files being
>> > generated elsewhere that somehow activate the gears libraries...
>>
>> Or that you have an API mismatch (if you are testing with Browse
>> rather than with other FF3 install) or perhaps missing libs?
>>
>
> I've been testing on both FF3 and browse, with tomeu's help...
>
>
>>
>> > 3. Taking out the BROWSER=FF3 and leaving it BROWSER= makes the build
>> crash
>> > with:
>>
>> Ugh! Maybe that is a broken revision?
>>
>
> According to the comments on the svn trunk, they say they fixed this error
> for linux... so I guess it is broken, and the google gears guys know it
> exists, but aren't testing their fixes entirely... because I downloaded the
> latest trunk and the exact one that contains the linux fix comment, and the
> break is in the same place as before...
>
>
>>
>> > 4. Seeing as Gears is currently a beta product for developers only, this
>>
>> Let's try for the right answer :-) The XPI is probably a zipfile, grab
>> it, unzip it and see what's there...
>>
>
> This I have done, and was using in order to create the spec file... but
> there are many files missing in the svn trunk build... so wait for the
> google gears devs we must...
>
>
>>
>> > 1. wait till the gears devs give me an answer/fix the compile so all
>> items
>> > get created
>>
>> Let's try for that :-) we'll hopefullyuse that rpm for many years to
>> come...
>>
>
> wow... this has been quite a journey... I'll make sure I document the
> procedure so hopefully it will help others wanting to create plugins for
> browse and FF3 as rpms...
>
>
>>
>> m
>> --
>>  [EMAIL PROTECTED]
>>  [EMAIL PROTECTED] -- School Server Architect
>>  - ask interesting questions
>>  - don't get distracted with shiny stuff - working code first
>>  - http://wiki.laptop.org/go/User:Martinlanghoff
>>
>
>
___
Sugar mailing list
Sugar@lists.laptop.org
http://lists.laptop.org/listinfo/sugar