Changeset 07c39524 for xsoft/graphweb
- Timestamp:
- 10/29/2014 06:58:34 PM (10 years ago)
- Branches:
- krejzi/svn
- Children:
- ea4381c
- Parents:
- 18fa498
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xsoft/graphweb/firefox.xml
r18fa498 r07c39524 5 5 %general-entities; 6 6 7 <!-- <!ENTITY firefox-download-http8 "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">-->9 7 <!ENTITY firefox-download-http 10 8 "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2"> 11 9 <!ENTITY firefox-download-ftp 12 10 "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2"> 13 <!ENTITY firefox-md5sum " 5a1c4b0b2349e3db94b45bd3f03f9288">11 <!ENTITY firefox-md5sum "385ad037451f141b68515c73cad01704"> 14 12 <!ENTITY firefox-size "148 MB"> 15 <!ENTITY firefox-buildsize "4. 1 GB (100MB installed)">16 <!ENTITY firefox-time " 12 SBU (using parallelism=8)">13 <!ENTITY firefox-buildsize "4.9 GB (66 MB installed)"> 14 <!ENTITY firefox-time "60 SBU"> 17 15 ]> 18 16 … … 81 79 <xref linkend="alsa-lib"/>, 82 80 <xref linkend="gtk2"/>, 83 <xref linkend=" zip"/>,and84 <xref linkend=" unzip"/>81 <xref linkend="unzip"/> and 82 <xref linkend="zip"/> 85 83 </para> 86 84 … … 98 96 <note> 99 97 <para> 100 If you don't install recommended dependencies, then internal copies of 101 those packages will be used. They might be tested to work, but they can 102 be out of date or contain security holes. 98 If you don't install recommended dependencies, 99 then internal copies of those packages will 100 be used. They might be tested to work, but 101 they can be out of date or contain security 102 holes. 103 103 </para> 104 104 </note> … … 107 107 <para> 108 108 With <application>Firefox-31.0</application> and later versions, you 109 must have installed <application>Open ssl</application> before110 <application>Python 2</application> or the build system will quickly109 must have installed <application>OpenSSL</application> before 110 <application>Python 2</application>, or the build system will quickly 111 111 fail with output including "ImportError: cannot import name 112 112 HTTPSHandler". If you are in any doubt about this (e.g. upgrading … … 114 114 <filename>/usr/lib/python2.7/lib-dynload/_ssl.so</filename> exists. 115 115 If it does not, reinstall <xref linkend="python2"/> (after 116 installing <xref linkend="openssl"/> . The latest version of any116 installing <xref linkend="openssl"/> - the latest version of any 117 117 <emphasis>currently maintained</emphasis> version of Openssl should 118 be satisfactory if already installed. 118 be satisfactory if already installed - if that package has not already 119 been installed). 119 120 </para> 120 121 </note> … … 136 137 <xref linkend="startup-notification"/>, 137 138 <xref linkend="wget"/>, 138 <xref linkend="wireless_tools"/> ,and139 <xref linkend="wireless_tools"/> and 139 140 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink> 140 141 </para> … … 149 150 150 151 <para> 151 The configuration of <application>Firefox</application> is accomplished 152 bycreating a <filename>mozconfig</filename> file containing the desired153 configuration options. A default <filename>mozconfig</filename> is 154 created below. To see the entire list of available configuration options155 (and anabbreviated description of each one), issue <command>./configure152 The configuration of <application>Firefox</application> is accomplished by 153 creating a <filename>mozconfig</filename> file containing the desired 154 configuration options. A default <filename>mozconfig</filename> is created 155 below. To see the entire list of available configuration options (and an 156 abbreviated description of each one), issue <command>./configure 156 157 --help</command>. You may also wish to review the entire file and 157 uncomment any other desired options. Create the file by issuing the158 following command:158 uncomment any other desired options. 159 Create the file by issuing the following command: 159 160 </para> 160 161 … … 210 211 ac_add_options --disable-tests 211 212 212 ac_add_options --enable-optimize213 213 ac_add_options --enable-strip 214 214 ac_add_options --enable-install-strip … … 238 238 </para> 239 239 240 <note><para> 241 If you are compiling <application>Firefox</application> in chroot, make 242 sure you have <envar>$SHELL</envar> environment variable set or prepend 243 <envar>SHELL=/bin/sh</envar> to the first make command below. 244 </para></note> 245 246 <screen><userinput>test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozconfig || true && 247 make -f client.mk</userinput></screen> 240 <screen><userinput>make -f client.mk</userinput></screen> 248 241 249 242 <para> … … 252 245 253 246 <para> 254 Now, as the <systemitem class="username">root</systemitem> user: 247 Install <application>Firefox</application> by running the following 248 commands as the <systemitem class="username">root</systemitem> user: 255 249 </para> 256 250 … … 258 252 259 253 mkdir -pv /usr/lib/mozilla/plugins && 260 ln -sfv ../../mozilla/plugins /usr/lib/firefox-&firefox-version;/browser</userinput></screen> 254 ln -sfv ../mozilla/plugins /usr/lib/firefox-&firefox-version;</userinput></screen> 255 256 <para> 257 The above instruction just installs the parts you need to run 258 <application>Firefox</application>. Alternatively, if you want to 259 install the full <application>Firefox</application> development 260 environment, run the following command as the 261 <systemitem class="username">root</systemitem> user: 262 </para> 263 264 <screen role="root"><userinput>make -C firefox-build-dir install</userinput></screen> 261 265 262 266 </sect2> … … 264 268 <sect2 role="commands"> 265 269 <title>Command Explanations</title> 266 267 <para>268 <command>test $(uname -m) = "i686" && sed ...</command>:269 On this version of firefox, an old bug has reappeared in 32-bit builds.270 With optimization, the install fails with a Python error. This271 command will fix i686 builds and preserve the optimization on x86_64.272 </para>273 270 274 271 <para> … … 280 277 </para> 281 278 282 <para> 283 <command>make -C firefox-build-dir install</command>: This runs 284 <command>make install</command> in firefox-build-dir. 285 </para> 286 287 <para> 288 <command>ln -sfv ... /usr/bin/firefox</command>: This puts a symbolic link 289 to the <command>firefox</command> executable in your <envar>PATH</envar> 290 variable. 291 </para> 292 293 <para> 294 <command>mkdir -p /usr/lib/mozilla/plugins</command>: This checks 295 that <filename class="directory">/usr/lib/mozilla/plugins</filename> 296 exists. 297 </para> 298 299 <para> 300 <command>ln -sv ... /usr/lib/firefox-&firefox-version;/browser</command>: 279 <para> 280 <command>ln -sfv ... /usr/lib/firefox-&firefox-version;/browser</command>: 301 281 This command creates a symbolic link to <filename 302 282 class="directory">/usr/lib/mozilla/plugins</filename>. It's not really … … 330 310 331 311 <screen role="root"><userinput>mkdir -pv /usr/share/applications && 332 mkdir -pv /usr/share/pixmaps &&333 312 334 313 cat > /usr/share/applications/firefox.desktop << "EOF" && … … 347 326 EOF 348 327 349 ln -sfv /usr/lib/firefox-&firefox-version;/browser/icons/mozicon128.png \ 350 /usr/share/pixmaps/firefox.png</userinput></screen> 328 for s in 16 32 48 329 do 330 install -v -Dm644 /usr/lib/firefox-&firefox-version;/browser/chrome/icons/default/default${s}.png \ 331 /usr/share/icons/hicolor/${s}x${s}/apps/firefox.png 332 done && 333 install -v -Dm644 /usr/lib/firefox-&firefox-version;/browser/icons/mozicon128.png \ 334 /usr/share/icons/hicolor/128x128/apps/firefox.png && 335 gtk-update-icon-cache -qf /usr/share/icons/hicolor && 336 unset s</userinput></screen> 351 337 352 338 </sect2> … … 358 344 <segtitle>Installed Programs</segtitle> 359 345 <segtitle>Installed Libraries</segtitle> 360 <segtitle>Installed Director y</segtitle>346 <segtitle>Installed Directories</segtitle> 361 347 362 348 <seglistitem> … … 365 351 </seg> 366 352 <seg> 367 Numerous libraries, browser components, plugins, extensions, and 368 helper modules installed in 369 <filename class="directory">/usr/lib/firefox-&firefox-version;</filename> 353 None 370 354 </seg> 371 355 <seg> 372 /usr/lib/firefox-&firefox-version; 356 /usr/lib/firefox-&firefox-version; and 357 /usr/lib/mozilla/plugins 373 358 </seg> 374 359 </seglistitem>
Note:
See TracChangeset
for help on using the changeset viewer.