- Timestamp:
- 04/03/2010 01:19:44 PM (14 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:
- 054599c
- Parents:
- 2c06b85
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/lib/xulrunner.xml
r2c06b85 raf689bc3 35 35 codebase. In particular, it provides the gecko engine together with pkgconfig 36 36 files so that applications such as <application>Epiphany</application> and 37 <application>Yelp</application> can use it.</para>37 <application>Yelp</application> can find and use it.</para> 38 38 39 39 <bridgehead renderas="sect3">Package Information</bridgehead> … … 44 44 <listitem> 45 45 <para>Download (FTP): <ulink url="&xulrunner-download-ftp;"/></para> 46 <tip><para>When a new version of <application> firefox</application> is46 <tip><para>When a new version of <application>Firefox</application> is 47 47 released, sometimes a corresponding new version of 48 <application> xulrunner</application> appears at the same time. At other48 <application>Xulrunner</application> appears at the same time. At other 49 49 times it appears several days later or not at all. So far in the 50 <application> firefox-3.x</application> series, every new release has50 <application>Firefox-3.x</application> series, every new release has 51 51 created xulrunner libraries with a corresponding new version. Whenever 52 a separate xulrunner tarball has been released, it has been bitwise53 identical to the corresponding firefox tarball. So, we will use the54 <application> firefox</application> tarball to save downloading this52 a separate Xulrunner tarball has been released, it has been bitwise 53 identical to the corresponding Firefox tarball. Use the 54 <application>Firefox</application> tarball to save downloading this 55 55 large package twice.</para></tip> 56 56 </listitem> … … 109 109 <xref linkend="lcms"/>, 110 110 <xref linkend="libpng"/> (patched for apng support), 111 <!-- Redundant as NSS requires this 111 112 <xref linkend="nspr"/> (recommended if you build any other Mozilla.org 112 packages), 113 packages), --> 113 114 <xref linkend="nss"/> (recommended if you build any other Mozilla.org 114 115 packages), 115 <xref linkend="startup-notification"/> .116 <xref linkend="startup-notification"/>, 116 117 <xref linkend="unzip"/>, 117 118 <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing the … … 137 138 can find it at 138 139 <ulink url="&files-anduin;/xulrunner-&xulrunner-version;-mozconfig"/> 139 (the file must be installed in the root of the source tree 140 <filename class='directory'>mozilla</filename> directory, and named 141 <filename>.mozconfig</filename>).</para> 140 (the file must be installed in the root of the source tree, 141 <!-- directory name changes depending on version of Xulrunner 142 <filename class='directory'>mozilla</filename> directory,--> and named 143 <filename>.mozconfig</filename> or <filename>mozconfig</filename>).</para> 142 144 143 145 <screen><?dbfo keep-together="auto"?><userinput>cat > .mozconfig << "EOF" … … 151 153 # options, such as '--with-system-bz2', do not affect the build. 152 154 153 # specify that we want to build xulrunner155 # specify that Xulrunner should be built. 154 156 ac_add_options --enable-application=xulrunner 155 157 156 # Create an object directory and specify to build the package in that157 # directory.If desired, modify the location of the object directory158 # Build the package in an object directory as recommended by the developers. 159 # If desired, modify the location of the object directory 158 160 # to a directory inside the source tree by removing '../' from the 159 161 # line below. … … 165 167 ac_add_options --prefix=/usr 166 168 167 # apply a minimal level of optimization(-O)169 # apply the default optimizations recommended by the developers (-O) 168 170 ac_add_options --enable-optimize 169 171 … … 180 182 181 183 # Comment this only if you want to use whatever patched version of cairo 182 # is in the shipped mozilla tree, together with the system headers.184 # is in the shipped Mozilla tree, together with the system headers. 183 185 ac_add_options --enable-system-cairo 184 186 … … 211 213 ac_add_options --disable-accessibility 212 214 213 # Uncomment this if you did not build c url.215 # Uncomment this if you did not build cURL. 214 216 #ac_add_options --disable-crashreporter 215 217 216 # Comment this if you have built dbus-glib.218 # Comment this if you have built D-Bus-GLib. 217 219 ac_add_options --disable-dbus 218 220 219 # Comment this if you have gnome-vfsand libgnomeui, and wish to220 # integrate xulrunner into your gnome desktop221 # Comment this if you have Gnome-VFS and libgnomeui, and wish to 222 # integrate Xulrunner into your Gnome desktop. 221 223 ac_add_options --disable-gnomevfs 222 224 … … 233 235 ac_add_options --disable-javaxpcom 234 236 235 # This option is added so that test libraries and programs are not236 # built. These would only be required for debugging purposes.237 # This option is added so that test libraries and programs used for debugging 238 # are not built. 237 239 ac_add_options --disable-tests 238 240 239 241 # Disable the updater, which is not appropriate if you build from source 240 242 ac_add_options --disable-updater 241 242 # (options to add extra parts of the package)243 # Use the anti-phishing measures (a blacklist of sites).244 ac_add_options --enable-safe-browsing245 243 246 244 # This option is used so that the debugging symbols are removed from … … 251 249 ac_add_options --enable-strip 252 250 251 # (Options to add extra parts of the package) 252 # Use the anti-phishing measures (a blacklist of sites). 253 ac_add_options --enable-safe-browsing 254 253 255 # Uncomment this option if you desire support for dual-monitor 254 256 # display using the X-Window Xinerama libraries. … … 257 259 # This option identifies the default binary directory of the Xulrunner 258 260 # installation and is used to locate Xulrunner's installed files. This 259 # option is isonly used for development purposes.261 # option is only used for development purposes. 260 262 #ac_add_options --with-default-mozilla-five-home=/usr/lib/xulrunner-&xulrunner-version;</literal> 261 263 … … 268 270 <screen><userinput>patch -Np1 -i ../firefox-&firefox-version;-provide_system_nss_nspr-1.patch</userinput></screen> 269 271 270 <para> Compile<application>Xulrunner</application> by issuing the272 <para>Install <application>Xulrunner</application> by issuing the 271 273 following commands:</para> 272 274 … … 278 280 <para>This package does not come with a test suite.</para> 279 281 280 <para>Now, as the <systemitem class="username">root</systemitem> user, 281 install the package:</para> 282 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 282 283 283 284 <screen role="root"><userinput>make -f client.mk install && 284 mkdir /usr/lib/mozilla && 285 ln -sv /usr/lib/xulrunner-&xulrunner-version;/plugins \ 286 /usr/lib/mozilla/plugins && 287 chown -R root:root /usr/lib/xulrunner-* /usr/bin/xulrunner && 288 ln -sfv xulrunner-devel-&xulrunner-version;/lib/lib{xul,xpcom,mozjs}.so /usr/lib</userinput></screen> 285 install -v -m644 /usr/lib/mozilla && 286 ln -sv /usr/lib/xulrunner-&xulrunner-version;/plugins \ 287 /usr/lib/mozilla && 288 chown -Rv root:root /usr/lib/xulrunner-* \ 289 /usr/bin/xulrunner && 290 ln -sfv xulrunner-devel-&xulrunner-version;/lib/lib{xul,xpcom,mozjs}.so \ 291 /usr/lib</userinput></screen> 289 292 290 293 <para>If you've elected to use the included NSPR and NSS, while still the … … 296 299 libplds4.so libplc4.so libnspr4.so 297 300 do 298 ln -sv xulrunner-&xulrunner-version;/$DL /usr/lib /$DL301 ln -sv xulrunner-&xulrunner-version;/$DL /usr/lib 299 302 done</userinput></screen> 300 303 … … 304 307 <title>Command Explanations</title> 305 308 306 <para><command>echo "Requires: nspr" >>xulrunner/installer/libxul-embedding.pc.in</command> 307 : If you try to build <application>Yelp</application> without this, the 308 prtypes header from nspr will not be found. It is arguable whose error this 309 <para><command>echo "Requires: nspr" 310 >>xulrunner/installer/libxul-embedding.pc.in</command>: If you try to build 311 <application>Yelp</application> without this, the 312 prtypes header from NSPR will not be found. It is arguable whose error this 309 313 is (the code presumably works on earlier geckos), but this fix is unlikely 310 314 to cause any damage in other packages.</para> … … 320 324 the package.</para> 321 325 322 <para><command>for DL in ...</command>: The nspr and nss libraries shipped 323 with this package are installed into /usr/lib/xulrunner-&xulrunner-version; 326 <para><command>for DL in ...</command>: The NSPR and NSS libraries shipped 327 with this package are installed into 328 <filename class='directory'>/usr/lib/xulrunner-&xulrunner-version;</filename> 324 329 which means they will not be found at runtime. By using symbolic links from 325 <filename class="directory">/usr/lib</filename> they will be found and we can 326 easily change the links to point to a newer version when we upgrade.</para> 330 <filename class="directory">/usr/lib</filename> the libraries will be found 331 and the links can be easily changed to point to a newer version during an 332 upgrade.</para> 327 333 328 334 <para><command>ln -sv /usr/lib/xulrunner-&xulrunner-version;/plugins 329 /usr/lib/mozilla/plugins</command>: Some packages will install browser plugins 330 into /usr/lib/mozilla/plugins. By creating this as a symlink to the basic 331 plugins we keep them all together.</para> 332 333 <tip> 334 <para>When you upgrade xulrunner, remember to update the symlinks and to 335 copy any additional plugins compiled agaisnt this series of xulrunner to the 336 new plugin directory.</para> 337 </tip> 335 /usr/lib/mozilla</command>: Some packages will install browser plugins 336 into <filename class='directory'>/usr/lib/mozilla/plugins</filename>. 337 Creating this as a symlink to the <application>Xulrunner</application> 338 plugins keeps additional plugins in a common directory.</para> 339 340 <note> 341 <para>When you upgrade Xulrunner, remember to update the symlinks and to 342 copy any additional plugins compiled against this series of Xulrunner to the 343 new plugin directory.</para> 344 </note> 338 345 339 346 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.