My favorites | Sign in
Project Logo
             
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?xml version="1.0"?>

<!--
Copyright 2007, Google Inc.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of Google Inc. nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->

<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">

<Description about="urn:mozilla:install-manifest">
<!--
Think very carefully before you change this ID, which uniquely identifies
this extension across versions. If you do change it:
* Come up with some way to remove old versions of the extension, since
Firefox will no longer do it for you. See old versions of bootstrap.js
which had some code for this (look for 'killOldExtension()' and
'killOldRegistryEntry()').
* Keep it all lower-case. We've observed behavior in the field where URLs
coming into Google are forced to lower-case.
* Do not put the name of the product in it. Otherwise we are forced to
change it when the product name changes.
* Change all other occurences of it:
- bootstrap.js
- paths_ff.cc
- win32_msi.wxs.m4
* Consider changing other unique identifiers throughout the code, such as:
- contract IDs
- interface IDs
- class names
- names exposed to the DOM
If you do not change these, but do change this extension ID, Firefox will
have two extensions installed both supporting these unique IDs and will
basically guess which one to use. This probably isn't what you want.
* Reconsider how cool the current GUID is. It starts with three zeros *and*
contains the quad "beef". I mean, what are the chances of that?
-->
<em:id>{000a9d1c-beef-4f90-9363-039d445309b8}</em:id>
<em:version>PRODUCT_VERSION</em:version>

<!--
For Up-To-Date Documentation of this Format Please See:
http://www.mozilla.org/projects/firefox/extensions/packaging/extensions.html
-->
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.5</em:minVersion>
<em:maxVersion>3.5.*</em:maxVersion>
</Description>
</em:targetApplication>

<!-- Prevent this XPI from being installed on the wrong platform. -->
m4_changequote(`^|',`|^')m4_dnl
m4_ifelse(PRODUCT_OS,^|win32|^,^|m4_dnl
<em:targetPlatform>WINNT_x86-msvc</em:targetPlatform>
|^,PRODUCT_OS,^|wince|^,^|m4_dnl
<!-- WE DON'T CURRENTLY BUILD FOR WINCE FIREFOX. -->
|^,PRODUCT_OS,^|linux|^,^|m4_dnl
m4_ifelse(PRODUCT_ARCH,^|x86_64|^,^|m4_dnl
<em:targetPlatform>Linux_x86_64-gcc3</em:targetPlatform>
|^,^|m4_dnl // PRODUCT_ARCH else...
<em:targetPlatform>Linux_x86-gcc3</em:targetPlatform>
<!-- Ubuntu Edgy Eft requires "linux-gnu" for the OS_TARGET prefix. -->
<em:targetPlatform>linux-gnu_x86-gcc3</em:targetPlatform>
|^)m4_dnl // PRODUCT_ARCH end
|^,PRODUCT_OS,^|osx|^,^|m4_dnl
<em:targetPlatform>Darwin</em:targetPlatform>
|^)
<em:name>PRODUCT_FRIENDLY_NAME_UQ</em:name>
<em:description>These are the gears that power the tubes! :-)</em:description>
<em:creator>Google Inc.</em:creator>
<em:homepageURL>http://gears.google.com/</em:homepageURL>
<em:iconURL>chrome://PRODUCT_SHORT_NAME_UQ/content/icon_32x32.png</em:iconURL>
m4_ifelse(PRODUCT_OS,^|win32|^,^|m4_dnl
<!-- On Win32, updates should _only_ be handled by the Google Updater.
To completely guard against Firefox changing the same files, we
remove the updateURL on Win32. -->
|^,^|m4_dnl // PRODUCT_OS else...
<!-- All Google extensions use this "/update?..." suffix for updateURL,
except for "&os=..." which was added for our product. We should
be able to drop the os argument after the migration to the
public autoupdate server is successful (i.e., the user-agent
mechanism on tbhome is confirmed to be working properly).
-->
m4_ifdef(^|OFFICIAL_BUILD|^,^|m4_dnl
<em:updateURL><![CDATA[https://tools.google.com/service/update2/ff?guid=%ITEM_ID%&version=%ITEM_VERSION%&application=%APP_ID%&appversion=%APP_VERSION%&dist=google&os=PRODUCT_OS]]></em:updateURL>
|^,^|m4_dnl // OFFICIAL_BUILD else...
<em:updateURL><![CDATA[https://tools.google.com/service/update2/ff?guid=%ITEM_ID%&version=%ITEM_VERSION%&application=%APP_ID%&appversion=%APP_VERSION%&dist=google&os=PRODUCT_OS&dev=1]]></em:updateURL>
|^)m4_dnl // OFFICIAL_BUILD end

|^)m4_dnl // PRODUCT_OS end

</Description>
</RDF>
Show details Hide details

Change log

r3385 by gears.daemon on Jul 17, 2009   Diff
[Author: aa]

Argh, make Gears compatible with all
flavors of FF 3.5.*

PRESUBMIT=passed
TBR=michaeln
OCL=11958593
SCL=11958602
Go to: 
Project members, sign in to write a code review

Older revisions

r3369 by gears.daemon on Jul 01, 2009   Diff
[Author: zork]

Add support for Firefox 3.5

R=aa
...
r3298 by gears.daemon on Mar 31, 2009   Diff
[Author: nigeltao]

Build fixes for 64-bit Ubuntu Hardy
(GCC 4.2).

...
r2304 by gears.daemon on Jul 10, 2008   Diff
[Author: aa]

Update Firefox extension maxVersion
field to be declare compatibility with
3.0.*.
...
All revisions of this file

File info

Size: 5748 bytes, 117 lines
Hosted by Google Code