[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: trying to build rpm for google gears

Hi Ville-Pekka Vainio,
   It does indeed. A thousand thanks...

I've managed to compile the build from an subversion source on both Fedora and Ubuntu now, and looking at the files, there are way more in the build than there are in an unzipped gears.xpi. But I'm sure I've got enough to work on now. The XO browser (called browse) is actually very closely related to Firefox 3 (and uses XULRunner 1.9) so using its id as u mention should work...

David Van Assche

On Sun, Jul 6, 2008 at 6:21 PM, Ville-Pekka Vainio <vpivaini cs helsinki fi> wrote:
David Van Assche wrote:
> It
> was suggested to me that I should post here to see if someone doesn't have
> some suggestions on building an rpm for mozilla (xulrunner 1.9) based
> extensions...
>    I am aware that gears is normally packaed as a .xpi, but that wont work
> for the XO laptops... it must be a rpm that I can install system wide from
> the command line.


I don't know that much about Xulrunner and even less about the OLPC software
stack, but I have packaged one xulrunner-based Firefox extension, which is
currently under review. The spec file is at

>From the website I understood that Google Gears is a Firefox extension on the
client side. Does the OLPC actually use Firefox or some other Mozilla based

The .xpi file is basically "just" a renamed zip file, so you need to extract
it and then install the files to the "correct" location, which depends on the
browser used. In the case of the mozvoikko extension I
use %{_libdir}/mozilla/extensions/%{firefox_app_id}/%{firefox_ext_id},
where %{firefox_app_id} is ec8030f7-c20a-464f-9b0e-13a3a9e97384 (Firefox's
ID) and %{firefox_ext_id} is the ID of the extension (ok, the naming is a bit
misleading here ;). I hope this helps, at least a little.

Ville-Pekka Vainio

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]