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...
Thanks,
David Van Assche
On Sun, Jul 6, 2008 at 6:21 PM, Ville-Pekka Vainio <vpivaini@xxxxxxxxxxxxxx> wrote:
David Van Assche wrote:Hi,
> 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
<http://vpv.fedorapeople.org/packages/mozvoikko/mozvoikko.spec>.
>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
browser?
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
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list
-- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list