Changeset 5e94b6c3 for xsoft/graphweb/firefox.xml
- Timestamp:
- 02/11/2016 07:19:50 AM (8 years ago)
- Branches:
- systemd-13485
- Children:
- 58b6b9b2
- Parents:
- 17fee97b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xsoft/graphweb/firefox.xml
r17fee97b r5e94b6c3 5 5 %general-entities; 6 6 7 <!ENTITY firefox-download-http 8 "&mozilla-http;/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2"> 7 <!ENTITY firefox-download-http "&mozilla-http;/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.xz"> 8 <!-- 550 Permission denied. 9 <!ENTITY firefox-download-ftp "&mozilla-ftp;/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2"> --> 9 10 <!ENTITY firefox-download-ftp " "> 10 <!-- <!ENTITY firefox-download-ftp 11 "&mozilla-ftp;/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2"> --> 12 <!ENTITY firefox-md5sum "f9310f4aa96fd9cc74a0fdc6d14ea259"> 13 <!ENTITY firefox-size "170 MB"> 14 <!ENTITY firefox-buildsize "3 GB (73 MB installed)"> 15 <!ENTITY firefox-time "35 SBU"> 11 <!ENTITY firefox-md5sum "66d4810df0b5a6095e2276256bf17675"> 12 <!ENTITY firefox-size "174 MB"> 13 <!ENTITY firefox-buildsize "4.4 GB (79 MB installed)"> 14 <!ENTITY firefox-time "10 SBU (with parallelism=4)"> 16 15 ]> 17 16 … … 38 37 </para> 39 38 40 &lfs7 7_checked;39 &lfs78_checked; 41 40 42 41 <bridgehead renderas="sect3">Package Information</bridgehead> … … 73 72 </listitem> 74 73 </itemizedlist> 74 75 <note> 76 <para> 77 The tarball <emphasis>firefox-&firefox-version;.source.tar.xz</emphasis> 78 will untar to <emphasis>firefox-&firefox-version;</emphasis> directory. 79 </para> 80 </note> 75 81 76 82 <bridgehead renderas="sect3">Firefox Dependencies</bridgehead> … … 79 85 <para role="required"> 80 86 <xref linkend="alsa-lib"/>, 81 <xref linkend="gtk2"/>, 87 <xref linkend="gtk2"/> 88 (or <xref linkend="gtk3"/> if you change the mozconfig where indicated), 89 <xref linkend="nss"/>, 82 90 <xref linkend="unzip"/>, 83 <xref linkend="yasm"/> and91 <xref linkend="yasm"/>, and 84 92 <xref linkend="zip"/> 85 93 </para> … … 89 97 <xref linkend="icu"/>, 90 98 <xref linkend="libevent"/>, 91 <xref linkend="libvpx"/>, 92 <xref linkend="nspr"/>, 93 <xref linkend="nss"/> and 99 <xref linkend="libvpx"/>, and 94 100 <xref linkend="sqlite"/> 95 101 </para> … … 105 111 <note> 106 112 <para> 107 You must have installed <application>OpenSSL</application> before 108 <application>Python 2</application>, or the build system will quickly 113 With <application>Firefox-31.0</application> and later versions, you 114 must have installed <application>Openssl</application> before 115 <application>Python 2</application> or the build system will quickly 109 116 fail with output including "ImportError: cannot import name 110 117 HTTPSHandler". If you are in any doubt about this (e.g. upgrading from 111 an older version of SeaMonkey), check if118 an older version of Firefox), check if 112 119 <filename>/usr/lib/python&python2-majorver;/lib-dynload/_ssl.so</filename> 113 exists. If it does not, reinstall <xref linkend="python2"/> (after114 installing <xref linkend="openssl"/> .The latest version of any115 <emphasis>currently maintained</emphasis> version of Open SSLshould be120 exists. If it does not, reinstall <xref linkend="python2"/> (after 121 installing <xref linkend="openssl"/>). The latest version of any 122 <emphasis>currently maintained</emphasis> version of Openssl should be 116 123 satisfactory if already installed. 117 124 </para> … … 123 130 <xref linkend="dbus-glib"/>, 124 131 <xref linkend="doxygen"/>, 125 <xref linkend="gst-plugins-base"/> (with 126 <xref linkend="gst-plugins-good"/> and 127 <xref linkend="gst-ffmpeg"/> at runtime), or 132 <xref linkend="GConf"/>, 133 <xref linkend="ffmpeg"/> (runtime) or 128 134 <xref linkend="gst10-plugins-base"/> (with 129 135 <xref linkend="gst10-plugins-good"/> and 130 136 <xref linkend="gst10-libav"/> at runtime), 131 <xref linkend="lib notify"/>,137 <xref linkend="libwebp"/>, 132 138 <xref linkend="openjdk"/>, 133 139 <xref linkend="pulseaudio"/>, 134 140 <xref linkend="startup-notification"/>, 141 <xref linkend="valgrind"/>, 135 142 <xref linkend="wget"/>, 136 143 <xref linkend="wireless_tools"/>, 137 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink> and 138 <ulink url="https://code.google.com/p/libproxy/">libproxy</ulink> 144 <ulink url="https://hunspell.github.io/">Hunspell</ulink>, 145 <ulink url="http://sourceforge.net/projects/liboauth/files/">liboauth</ulink>, and 146 <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>, and 147 <ulink url="https://www.rust-lang.org/">Rust</ulink> 139 148 </para> 140 149 … … 148 157 149 158 <para> 150 The configuration of <application>Firefox</application> is accomplished by151 creating a <filename>mozconfig</filename> file containing the desired152 configuration options. A default <filename>mozconfig</filename> is created153 below. To see the entire list of available configuration options (and an154 abbreviated description of each one), issue <command>./configure159 The configuration of <application>Firefox</application> is accomplished 160 by creating a <filename>mozconfig</filename> file containing the desired 161 configuration options. A default <filename>mozconfig</filename> is 162 created below. To see the entire list of available configuration options 163 (and an abbreviated description of each one), issue <command>./configure 155 164 --help</command>. You may also wish to review the entire file and 156 uncomment any other desired options. 157 Create the file by issuing thefollowing command:165 uncomment any other desired options. Create the file by issuing the 166 following command: 158 167 </para> 159 168 … … 172 181 ac_add_options --disable-necko-wifi 173 182 174 # If you have installed libnotify comment out this line: 175 ac_add_options --disable-libnotify 176 177 # Comment out following option if you have PulseAudio installed 178 ac_add_options --disable-pulseaudio 179 180 # GStreamer is necessary for H.264 video playback in HTML5 Video Player. 181 # To enable it, make sure you also set "media.gstreamer.enabled" to 182 # "true" in about:config. 183 184 # If you don't have GStreamer 0.10.x installed, uncomment this line: 185 #ac_add_options --disable-gstreamer 186 # or uncomment this line if you have GStreamer 1.x.y installed: 183 # GStreamer is necessary for H.264 video playback in HTML5 Video Player if 184 # FFmpeg is not found at runtime; 185 # to be enabled, also remember to set "media.gstreamer.enabled" to "true" 186 # in about:config. If you have GStreamer 1.x.y, comment out this line and 187 # uncomment the following one: 188 ac_add_options --disable-gstreamer 187 189 #ac_add_options --enable-gstreamer=1.0 190 191 # Uncomment this option if you wish to build with gtk+-3 192 #ac_add_options --enable-default-toolkit=cairo-gtk3 188 193 189 194 # Uncomment these lines if you have installed optional dependencies: 190 195 #ac_add_options --enable-system-hunspell 191 196 #ac_add_options --enable-startup-notification 197 198 # Comment out following option if you have PulseAudio installed 199 ac_add_options --disable-pulseaudio 200 201 # If you have installed GConf, comment out this line 202 ac_add_options --disable-gconf 192 203 193 204 # Comment out following options if you have not installed … … 217 228 ac_add_options --enable-url-classifier 218 229 219 ac_add_options --enable-system-cairo 230 # From firefox-40, using system cairo causes firefox to crash 231 # frequently when it is doing background rendering in a tab. 232 #ac_add_options --enable-system-cairo 220 233 ac_add_options --enable-system-ffi 221 234 ac_add_options --enable-system-pixman … … 232 245 233 246 <para> 234 First, fix building with system freetype-2.6 or later:235 </para>236 237 <screen><userinput>sed -i '/^ftglyph.h/ i ftfntfmt.h' config/system-headers</userinput></screen>238 239 <para>240 247 Compile <application>Firefox</application> by issuing the following 241 248 commands: 242 249 </para> 243 250 251 <note><para> 252 If you are compiling <application>Firefox</application> in chroot, make 253 sure you have <envar>$SHELL</envar> environment variable set or prepend 254 <envar>SHELL=/bin/sh</envar>. 255 </para></note> 256 244 257 <screen><userinput>make -f client.mk</userinput></screen> 245 258 … … 249 262 250 263 <para> 251 Install <application>Firefox</application> by running the following 252 commands as the <systemitem class="username">root</systemitem> user: 264 Now, as the <systemitem class="username">root</systemitem> user: 253 265 </para> 254 266 255 267 <screen role="root"><userinput>make -f client.mk install INSTALL_SDK= && 256 257 chown -R root:root /usr/lib/firefox-&firefox-version; && 258 259 mkdir -pv /usr/lib/mozilla/plugins && 260 ln -sfv ../../mozilla/plugins /usr/lib/firefox-&firefox-version;/browser</userinput></screen> 261 262 <para> 263 While still as the <systemitem class="username">root</systemitem> user, 264 install the icon files which will be used in the desktop file below: 265 </para> 266 267 <screen role="root"><userinput>for s in 16 32 48 268 do 269 install -v -Dm644 /usr/lib/firefox-&firefox-version;/browser/chrome/icons/default/default${s}.png \ 270 /usr/share/icons/hicolor/${s}x${s}/apps/firefox.png 271 done && 272 install -v -Dm644 /usr/lib/firefox-&firefox-version;/browser/icons/mozicon128.png \ 273 /usr/share/icons/hicolor/128x128/apps/firefox.png && 274 gtk-update-icon-cache -qf /usr/share/icons/hicolor && 275 unset s</userinput></screen> 268 chown -R 0:0 /usr/lib/firefox-&firefox-version; && 269 270 mkdir -pv /usr/lib/mozilla/plugins && 271 ln -sfv ../../mozilla/plugins /usr/lib/firefox-&firefox-version;/browser</userinput></screen> 276 272 277 273 </sect2> … … 288 284 </para> 289 285 290 <para> 291 <command>ln -sfv ... /usr/lib/firefox-&firefox-version;/browser</command>: 286 <para> 287 <command>make -C firefox-build-dir install</command>: This runs 288 <command>make install</command> in firefox-build-dir. 289 </para> 290 291 <para> 292 <command>ln -sfv ... /usr/bin/firefox</command>: This puts a symbolic link 293 to the <command>firefox</command> executable in your <envar>PATH</envar> 294 variable. 295 </para> 296 297 <para> 298 <command>mkdir -p /usr/lib/mozilla/plugins</command>: This checks 299 that <filename class="directory">/usr/lib/mozilla/plugins</filename> 300 exists. 301 </para> 302 303 <para> 304 <command>ln -sv ... /usr/lib/firefox-&firefox-version;/browser</command>: 292 305 This command creates a symbolic link to <filename 293 306 class="directory">/usr/lib/mozilla/plugins</filename>. It's not really … … 303 316 304 317 <para> 305 If you use a desktop environment such as <application>GNOME</application> 306 or <application>KDE</application>, you may want to create a desktop file 307 in order to be able to launch <application>Firefox</application> from the 308 desktop menus. If you didn't enable 309 <application>Startup Notification</application> support in your mozconfig 310 then change the StartupNotify line to false. Run the following commands 311 as the <systemitem class="username">root</systemitem> user: 318 If you did not add the <option>--disable-webm</option> option to your 319 <filename>mozconfig</filename>, your <application>Firefox</application> 320 can play most YouTube videos without the need for the flash plugin. To 321 enable this, go to <ulink url="http://www.youtube.com/html5"/> and click 322 on 'Join the HTML5 Trial' (needs cookies enabled). 323 </para> 324 325 <para> 326 If you use a desktop environment like <application>Gnome</application> or 327 <application>KDE</application> you may like to create a 328 <filename>firefox.desktop</filename> file so that 329 <application>Firefox</application> appears in the panel's menus. If you 330 didn't enable startup-notification in your mozconfig change the 331 StartupNotify line to false. As the 332 <systemitem class="username">root</systemitem> user: 312 333 </para> 313 334 314 335 <screen role="root"><userinput>mkdir -pv /usr/share/applications && 315 316 cat > /usr/share/applications/firefox.desktop << "EOF" 336 mkdir -pv /usr/share/pixmaps && 337 338 cat > /usr/share/applications/firefox.desktop << "EOF" && 317 339 <literal>[Desktop Entry] 318 340 Encoding=UTF-8 … … 327 349 MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https; 328 350 StartupNotify=true</literal> 329 EOF</userinput></screen> 351 EOF 352 353 ln -sfv /usr/lib/firefox-&firefox-version;/browser/icons/mozicon128.png \ 354 /usr/share/pixmaps/firefox.png</userinput></screen> 330 355 331 356 </sect2> … … 337 362 <segtitle>Installed Programs</segtitle> 338 363 <segtitle>Installed Libraries</segtitle> 339 <segtitle>Installed Director ies</segtitle>364 <segtitle>Installed Directory</segtitle> 340 365 341 366 <seglistitem> … … 344 369 </seg> 345 370 <seg> 346 None 371 Numerous libraries, browser components, plugins, extensions, and 372 helper modules installed in /usr/lib/firefox-&firefox-version; 347 373 </seg> 348 374 <seg> 349 /usr/lib/firefox-&firefox-version; and 350 /usr/lib/mozilla/plugins 375 /usr/lib/firefox-&firefox-version; 351 376 </seg> 352 377 </seglistitem>
Note:
See TracChangeset
for help on using the changeset viewer.