- Timestamp:
- 09/06/2009 06:18:18 AM (15 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 1b46c878
- Parents:
- 2d007c58
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/lib/xulrunner.xml
r2d007c58 r2082307d 8 8 <!ENTITY xulrunner-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;-source.tar.bz2"> 9 9 <!-- md5sum and size should match firefox, but the buildize and time will differ --> 10 <!ENTITY xulrunner-md5sum " 9875c9237b532009df8e91c3785539a3">11 <!ENTITY xulrunner-size " 35.3MB">12 <!ENTITY xulrunner-buildsize " 663MB">13 <!ENTITY xulrunner-time "1 3.2SBU">10 <!ENTITY xulrunner-md5sum "136867f95c86f3988b7f825e874b85de"> 11 <!ENTITY xulrunner-size "45 MB"> 12 <!ENTITY xulrunner-buildsize "318 MB"> 13 <!ENTITY xulrunner-time "11 SBU"> 14 14 ]> 15 15 … … 37 37 <application>Yelp</application> can use it.</para> 38 38 39 <note>40 <para>If you later build a newer version of <application>xulrunner</application>41 to pick up the latest security fixes, you <emphasis>must</emphasis> update the42 symlinks (including for nss, nspr if you are using the versions in43 <application>xulrunner</application>) and rebuild every application which uses44 gecko, including upgrading <application>firefox</application> if you have installed45 that.</para>46 </note>47 48 39 <bridgehead renderas="sect3">Package Information</bridgehead> 49 40 <itemizedlist spacing="compact"> … … 57 48 <application>xulrunner</application> appears at the same time. At other 58 49 times it appears several days later or not at all. So far in the 59 <application>firefox-3. 0</application> series, every new release has50 <application>firefox-3.x</application> series, every new release has 60 51 created xulrunner libraries with a corresponding new version. Whenever 61 52 a separate xulrunner tarball has been released, it has been bitwise … … 71 62 </listitem> 72 63 <listitem> 73 <para>Estimated disk space required: &xulrunner-buildsize;</para> 74 </listitem> 75 <listitem> 76 <para>Estimated build time: &xulrunner-time;</para> 64 <para>Estimated disk space required: &xulrunner-buildsize; (using 65 recommended dependencies)</para> 66 </listitem> 67 <listitem> 68 <para>Estimated build time: &xulrunner-time; (using recommended 69 dependencies)</para> 77 70 </listitem> 78 71 </itemizedlist> 79 72 73 <bridgehead renderas="sect3">Additional Downloads</bridgehead> 74 <itemizedlist spacing="compact"> 75 <listitem> 76 <para>Optional patch: <ulink 77 url="&patch-root;/firefox-&firefox-version;-provide_system_nspr_nss-1.patch"/> 78 (Required if using the included NSPR and NSS libs as system versions for 79 other packages)</para> 80 </listitem> 81 </itemizedlist> 82 80 83 <bridgehead renderas="sect3">Xulrunner Dependencies</bridgehead> 81 84 82 85 <bridgehead renderas="sect4">Required</bridgehead> 83 <para role="required"><xref linkend="gtk2"/>, 84 <xref linkend="libidl"/> 85 <xref linkend="pango"/> 86 <para role="required"><xref linkend="alsa-lib"/> 87 <xref linkend="gtk2"/>, 88 <xref linkend="libidl"/>, 89 <xref linkend="pango"/>, 86 90 <xref linkend="python"/>, and 87 91 <xref linkend="zip"/></para> … … 92 96 you should remove the <option>--with-system-jpeg</option> option from the 93 97 <filename>.mozconfig</filename> file created below.</para> 98 99 <bridgehead renderas="sect4">Recommended</bridgehead> 100 <para role="recommended"><xref linkend="sqlite"/> (internal sqlite is 101 incompatable with existing or future installations)</para> 94 102 95 103 <bridgehead renderas="sect4">Optional</bridgehead> … … 101 109 <xref linkend="lcms"/>, 102 110 <xref linkend="libpng"/> (patched for apng support), 103 <xref linkend="sqlite"/>, 111 <xref linkend="nspr"/> (recommended if you build any other Mozilla.org 112 packages), 113 <xref linkend="nss"/> (recommended if you build any other Mozilla.org 114 packages), 104 115 <xref linkend="startup-notification"/>. 105 116 <xref linkend="unzip"/>, … … 116 127 <title>Installation of Xulrunner</title> 117 128 118 <!-- FIXME : I assume current OOo can't use xulrunner ?119 lines near the bottom of the file. If you are going to build the120 <application>OpenOffice</application> package and you want to use this121 <application>Xulrunner</application> installation as the default122 <application>Mozilla</application> source, ensure you uncomment the123 + substitutions to stop the comment breaking the syntax124 <option>++enable-ldap+/option+ option in the file created below. -->125 129 <para>The configuration of <application>Xulrunner</application> is 126 130 accomplished by creating a <filename>.mozconfig</filename> file containing … … 128 132 is created below. To see the entire list of available configuration options 129 133 (and an abbreviated description of each one), issue 130 <command>./configure --help</command>. If you are going to use 131 system-installed versions of the <application>NSS</application> and 132 <application>NSPR</application> libraries, ensure you uncomment the two 133 lines near the bottom of the file. 134 You should review the entire file and comment or uncomment options as 135 necessary. If you would prefer to download the file instead of creating 136 it by typing or cut-and-pasting, you can find it at <ulink 137 url="&files-anduin;/xulrunner-&xulrunner-version;-mozconfig"/> 134 <command>./configure --help</command>. You should review the entire file 135 and comment or uncomment options as necessary. If you would prefer to 136 download the file instead of creating it by typing or cut-and-pasting, you 137 can find it at 138 <ulink url="&files-anduin;/xulrunner-&xulrunner-version;-mozconfig"/> 138 139 (the file must be installed in the root of the source tree 139 140 <filename class='directory'>mozilla</filename> directory, and named … … 169 170 # These options are used so that the Xulrunner binaries are linked to 170 171 # the system-installed copies of the specified libraries instead of 171 # the source tree code which may not be the most recent versions (or, 172 # for cairo, may contain additional patches) : with the exception of 173 # libsqlite3, the libraries are statically linked - using the shipped 174 # version of libsqlite3 has been reported to cause problems with other 175 # applications which were using sqlite3. 176 177 # (the --enable-system options) 178 # comment this if you want to use whatever patched version of cairo 172 # the source tree code which may not be the most recent versions. 173 # With the exception of libsqlite3, the libraries are statically linked. 174 175 # (Options to use system installed libraries) 176 # Using the shipped version of libsqlite3 has been reported to cause 177 # problems with other applications which were using sqlite3. 178 # Only comment this line if you know excatly what you are doing! 179 ac_add_options --enable-system-sqlite 180 181 # Comment this only if you want to use whatever patched version of cairo 179 182 # is in the shipped mozilla tree, together with the system headers. 180 183 ac_add_options --enable-system-cairo 181 184 182 # comment this if you have not installed lcms185 # Comment this if you have not installed lcms. 183 186 ac_add_options --enable-system-lcms 184 187 185 # comment this if you have not installed sqlite 186 ac_add_options --enable-system-sqlite 187 188 # (the --with-system options) 189 # comment this if you did not build libjpeg before gtk+-2 188 # Comment this if you did not build libjpeg before GTK+-2. 190 189 ac_add_options --with-system-jpeg 191 190 192 191 # These two options enable support for building Xulrunner with 193 192 # system-installed versions of the Network Security Services (NSS) 194 # and Netscape Portable Runtime (NSPR) libraries. Uncomment both 195 # lines to enable support for system-installed NSS/NSPR instead of 196 # building the versions shipped with xulrunner. 197 #ac_add_options --with-system-nspr 198 #ac_add_options --with-system-nss 199 200 # comment this if you have not built png with the apng patch 193 # and Netscape Portable Runtime (NSPR) libraries. Comment them if 194 # you wish to use the included copies (not recommended). 195 ac_add_options --with-system-nspr 196 ac_add_options --with-system-nss 197 198 # Comment this if you have not built png with the apng patch. 201 199 ac_add_options --with-system-png 202 200 203 201 # The pthreads option is only used when building nspr 204 # so you can comment this if you enable --with-system-nspr205 ac_add_options --with-pthreads206 207 # zlib is in LFS202 # Uncomment this if you build the included nspr. 203 #ac_add_options --with-pthreads 204 205 # zlib is included in LFS. Do not comment this line. 208 206 ac_add_options --with-system-zlib 209 207 210 # ( options to disable parts of the package)208 # (Options to disable parts of the package) 211 209 # This option is used to disable the a11y support in the Xulrunner 212 210 # binaries. Comment out this option if you require a11y support. 213 211 ac_add_options --disable-accessibility 214 212 215 # uncomment this if you did not build curl216 #ac_add_options --disable-crashreporter217 218 # comment this if you have built dbus-glib219 ac_add_options --disable-dbus220 221 # comment this if you have gnome-vfs and libgnomeui, and wish to213 # Uncomment this if you did not build curl. 214 ac_add_options --disable-crashreporter 215 216 # Comment this if you have built dbus-glib. 217 #ac_add_options --disable-dbus 218 219 # Comment this if you have gnome-vfs and libgnomeui, and wish to 222 220 # integrate xulrunner into your gnome desktop 223 221 ac_add_options --disable-gnomevfs … … 249 247 # compiling the OpenOffice package from source code using this copy 250 248 # of Xulrunner for your Mozilla support. 251 # This has NOT been tested, current versions of OpenOffice are 252 # assumed not to compile against this version of xulrunner! 249 # 250 # This has NOT been tested, the current status of OpenOffice 251 # and xulrunner is unknown! (Remove this comment before release) 253 252 # 254 253 ################################################################### 255 254 #ac_add_options --enable-ldap 256 255 257 # Use the anti-phishing measures (a blacklist of sites) 256 # Use the anti-phishing measures (a blacklist of sites). 258 257 ac_add_options --enable-safe-browsing 259 258 … … 269 268 #ac_add_options --enable-xinerama 270 269 271 # ('with' options)272 270 # This option identifies the default binary directory of the Xulrunner 273 271 # installation and is used to locate Xulrunner's installed files. This 274 # option is not required for end-user browsing, and is only used for 275 # development purposes. 272 # option is is only used for development purposes. 276 273 #ac_add_options --with-default-mozilla-five-home=/usr/lib/xulrunner-&xulrunner-version;</literal> 277 274 278 275 EOF</userinput></screen> 276 277 <para>If you did not install <xref linkend="nspr"/> and 278 <xref linkend="nss"/>, then apply the patch with the following 279 command:</para> 280 281 <screen><userinput>patch -Np1 -i ../firefox-&firefox-version;-provide_system_nss_nspr-1.patch</userinput></screen> 279 282 280 283 <para>Compile <application>Xulrunner</application> by issuing the … … 290 293 291 294 <screen role="root"><userinput>make -f client.mk install && 292 for DL in \ 295 mkdir /usr/lib/mozilla && 296 ln -sv /usr/lib/xulrunner-&xulrunner-version;/plugins \ 297 /usr/lib/mozilla/plugins</userinput></screen> 298 299 <para>If you've elected to use the included NSPR and NSS, while still the 300 <systemitem class="username">root</systemitem> user, complete the 301 installation with the following commands:</para> 302 303 <screen role="root"><userinput>for DL in \ 293 304 libnss3.so libnssutil3.so libsmime3.so libssl3.so libsoftokn3.so \ 294 libplds4.so libplc4.so libnspr4.so ; do 295 ln -sv xulrunner-&xulrunner-version;/$DL /usr/lib/$DL 296 done && 297 ln -sv mozilla-nspr.pc /usr/lib/pkgconfig/nspr.pc && 298 mkdir /usr/lib/mozilla && 299 ln -sv /usr/lib/xulrunner-&xulrunner-version;/plugins /usr/lib/mozilla/plugins</userinput></screen> 305 libplds4.so libplc4.so libnspr4.so 306 do 307 ln -sv xulrunner-&xulrunner-version;/$DL /usr/lib/$DL 308 done</userinput></screen> 300 309 301 310 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.