Changeset 0e37869 for xsoft/graphweb/firefox.xml
- Timestamp:
- 01/20/2013 05:26:45 PM (11 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:
- 9301a07
- Parents:
- 595cda07
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xsoft/graphweb/firefox.xml
r595cda07 r0e37869 5 5 %general-entities; 6 6 7 <!ENTITY firefox-download-http " "> 7 <!ENTITY firefox-download-http 8 "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2"> 8 9 <!ENTITY firefox-download-ftp 9 "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2">10 <!ENTITY firefox-md5sum " 78e641c67dc4a40cb3f48fce3e782d41">11 <!ENTITY firefox-size " 85MB">12 <!ENTITY firefox-buildsize " 994 MB (34 MB installed) (or 647 MB and 4.1 MB if using xulrunner)">13 <!ENTITY firefox-time "2 7 SBU (0.4 SBU if using xulrunner)">10 "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;.source.tar.bz2"> 11 <!ENTITY firefox-md5sum "8b400555fc7063163e3b99472d0c92a1"> 12 <!ENTITY firefox-size "93 MB"> 13 <!ENTITY firefox-buildsize "3.5 GB (41 MB installed) (or 695 MB and 4.2 MB if using Xulrunner)"> 14 <!ENTITY firefox-time "29 SBU (0.4 SBU if using Xulrunner)"> 14 15 ]> 15 16 … … 79 80 <xref linkend="gtk2"/>, 80 81 <xref linkend="zip"/>, and 81 <xref linkend="unzip"/> .82 <xref linkend="unzip"/> 82 83 </para> 83 84 84 85 <bridgehead renderas="sect4">Recommended</bridgehead> 85 86 <para role="recommended"> 86 <xref linkend="yasm"/> or <xref linkend="libvpx"/> 87 (to allow <application>Firefox</application> to play webm videos). 88 </para> 87 <xref linkend="libevent"/>, 88 <xref linkend="libvpx"/>, 89 <xref linkend="nspr"/>, 90 <xref linkend="nss"/>, 91 <xref linkend="sqlite"/> and 92 <xref linkend="yasm"/> 93 </para> 94 95 <note> 96 <para> 97 If you don't install recommended dependencies, 98 then internal copies of those packages will 99 be used. They might be tested to work, but 100 they can be out of date or contain security 101 holes. 102 </para> 103 </note> 89 104 90 105 <bridgehead renderas="sect4">Optional</bridgehead> 91 106 <para role="optional"> 92 107 <xref linkend="dbus-glib"/>, 108 <xref linkend="doxygen"/>, 109 <xref linkend="gnome-vfs"/> and <xref linkend="libgnomeui"/> 110 (for integration with the old version of <application>GNOME</application>), 111 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>, 112 <xref linkend="libnotify"/>, 93 113 <xref linkend="startup-notification"/>, 94 <xref linkend="sqlite"/>, 95 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>, 96 <xref linkend="libevent"/>, 97 <xref linkend="doxygen"/>, 98 <xref linkend="gnome-vfs"/> and 99 <xref linkend="libgnomeui"/> (for integration with the old version of 100 <application>Gnome</application>), 101 <xref linkend="libnotify"/>, 102 <xref linkend="nspr"/>, <xref linkend="nss"/>, 103 <xref linkend="wireless_tools"/>, 104 <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing 105 the jemalloc code), 106 <xref linkend="wget"/>, and 114 <xref linkend="wget"/>, 115 <xref linkend="wireless_tools"/> and 107 116 <xref linkend="xulrunner"/> 108 117 </para> … … 142 151 </para> 143 152 144 <screen><userinput>cat > mozconfig << EOF153 <screen><userinput>cat > mozconfig << "EOF" 145 154 # If you have a multicore machine you can speed up the build by running 146 # several jobs at once, but if you have a single core, delete this line: 147 mk_add_options MOZ_MAKE_FLAGS="-j4" 148 149 # If you have not installed Yasm, uncomment this option: 150 # ac_add_options --disable-webm 151 152 # If you have installed DBus-Glib delete this option: 155 # several jobs at once by uncommenting the following line and setting the 156 # value to number of CPU cores: 157 #mk_add_options MOZ_MAKE_FLAGS="-j4" 158 159 # If you have installed DBus-Glib comment out this line: 153 160 ac_add_options --disable-dbus 154 161 155 # If you have installed wireless-tools delete this option:162 # If you have installed wireless-tools comment out this line: 156 163 ac_add_options --disable-necko-wifi 157 164 158 # If you have installed libnotify delete this option:165 # If you have installed libnotify comment out this line: 159 166 ac_add_options --disable-libnotify 160 167 161 # If you have installed xulrunner uncomment these two lines: 162 # ac_add_options --with-system-libxul 163 # ac_add_options --with-libxul-sdk=\$(pkg-config --variable=sdkdir libxul) 164 165 # Note: The backslash above is to facilitate a paste operation. It 166 # should not appear in the mozconfig file. 167 168 # Uncomment these if you have installed them: 169 # ac_add_options --enable-startup-notification 170 # ac_add_options --enable-system-hunspell 171 # ac_add_options --enable-system-sqlite 172 # ac_add_options --with-system-libevent 173 # ac_add_options --with-system-libvpx 174 # ac_add_options --with-system-nspr 175 # ac_add_options --with-system-nss 176 177 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir 168 # Uncomment these lines if you have installed optional dependencies: 169 #ac_add_options --enable-system-hunspell 170 #ac_add_options --enable-startup-notification 171 172 # If you have not installed Yasm then uncomment this line: 173 #ac_add_options --disable-webm 174 175 # If you have installed xulrunner uncomment following two lines: 176 #ac_add_options --with-system-libxul 177 #ac_add_options --with-libxul-sdk=\$(pkg-config --variable=sdkdir libxul) 178 179 # Comment out following options if you have not installed 180 # recommended dependencies: 181 ac_add_options --enable-system-sqlite 182 ac_add_options --with-system-libevent 183 ac_add_options --with-system-libvpx 184 ac_add_options --with-system-nspr 185 ac_add_options --with-system-nss 186 187 # It is recommended not to touch anything below this line 188 ac_add_options --prefix=/usr 189 ac_add_options --enable-application=browser 190 191 ac_add_options --disable-crashreporter 192 ac_add_options --disable-installer 193 ac_add_options --disable-updater 194 ac_add_options --disable-debug 195 ac_add_options --disable-tests 196 197 ac_add_options --enable-optimize 198 ac_add_options --enable-strip 199 ac_add_options --enable-install-strip 200 201 ac_add_options --enable-gio 178 202 ac_add_options --enable-official-branding 179 ac_add_options --prefix=/usr 180 181 # The rest of these options have no effect if you're 182 # building against an already installed xulrunner: 183 ac_add_options --disable-crashreporter 184 ac_add_options --disable-debug 185 ac_add_options --disable-installer 186 ac_add_options --disable-static 187 ac_add_options --disable-tests 188 ac_add_options --disable-updater 189 ac_add_options --enable-shared 203 ac_add_options --enable-safe-browsing 204 ac_add_options --enable-url-classifier 205 190 206 ac_add_options --enable-system-ffi 207 ac_add_options --enable-system-pixman 208 191 209 ac_add_options --with-pthreads 210 211 ac_add_options --with-system-bz2 192 212 ac_add_options --with-system-jpeg 193 213 ac_add_options --with-system-png 194 214 ac_add_options --with-system-zlib 215 216 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir 195 217 EOF</userinput></screen> 196 197 <para>198 If you are building a stand-alone <application>firefox</application> with199 system versions of <application>nspr</application>,200 <application>nss</application>, or <application>sqlite</application>201 issue the following command:202 </para>203 204 <screen><userinput>sed -i 's/\(MOZ_PKG_FATAL_WARNINGS =\).*/\1 0/' \205 browser/installer/Makefile.in &&</userinput></screen>206 218 207 219 <para> … … 213 225 make -f client.mk</userinput></screen> 214 226 215 <para>This package does not come with a test suite.</para> 227 <para> 228 This package does not come with a test suite. 229 </para> 216 230 217 231 <para> … … 234 248 235 249 tar -xvf firefox-build-dir/dist/firefox-&firefox-version;.en-US.linux-$(uname -m).tar.bz2 \ 236 -C /usr/lib/firefox-&firefox-version; --strip-components=1 && 237 238 ln -sfv ../lib/firefox-&firefox-version;/firefox /usr/bin && 239 mkdir -pv /usr/lib/mozilla/plugins && 240 ln -sfv ../mozilla/plugins /usr/lib/firefox-&firefox-version; && 241 chown -R -v root:root /usr/lib/firefox-&firefox-version;</userinput></screen> 250 -C /usr/lib/firefox-&firefox-version; --strip-components=1 && 251 chown -R -v root:root /usr/lib/firefox-&firefox-version; && 252 chmod -v 755 /usr/lib/firefox-&firefox-version;/libxpcom.so && 253 254 ln -sfv ../lib/firefox-&firefox-version;/firefox /usr/bin && 255 256 mkdir -pv /usr/lib/mozilla/plugins && 257 ln -sfv ../mozilla/plugins /usr/lib/firefox-&firefox-version;</userinput></screen> 242 258 243 259 <para> … … 248 264 249 265 <screen role="root"><userinput>make -C firefox-build-dir install && 250 rm /usr/bin/firefox &&251 252 cat > /usr/bin/firefox << " HERE_DOC" &&266 rm -v /usr/bin/firefox && 267 268 cat > /usr/bin/firefox << "EOF" && 253 269 #!/bin/bash 254 270 /usr/lib/xulrunner-&xulrunner-version;/xulrunner /usr/lib/firefox-&firefox-version;/application.ini "${@}" 255 HERE_DOC 256 257 chmod 755 /usr/bin/firefox&&271 EOF 272 273 chmod -v 755 /usr/bin/firefox && 258 274 mkdir -pv /usr/lib/mozilla/plugins && 259 ln -sfv 275 ln -sfv ../mozilla/plugins /usr/lib/firefox-&firefox-version;</userinput></screen> 260 276 261 277 <bridgehead renderas="sect3" id="npapi-firefox" xreflabel="Firefox"> 262 278 NPAPI Headers 263 279 </bridgehead> 280 264 281 <para> 265 282 The above instructions just install the parts you need to run … … 270 287 </para> 271 288 272 <screen role="root"><userinput>rm -rf 289 <screen role="root"><userinput>rm -rf /usr/include/npapi && 273 290 mkdir -v /usr/include/npapi && 274 291 cp -v dom/plugins/base/*.h /usr/include/npapi</userinput></screen> 292 293 <note> 294 <para> 295 You don't need to install the headers if you have built 296 <application>Firefox</application> against 297 <application>Xulrunner</application>. 298 </para> 299 </note> 300 275 301 </sect2> 276 302 … … 329 355 <para> 330 356 <command>ln -sv ... /usr/lib/firefox-&firefox-version;</command>: This 331 makes a symbolic link to357 command creates a symbolic link to 332 358 <filename class="directory">/usr/lib/mozilla/plugins</filename>. It's not 333 359 really needed, as <application>Firefox</application> checks … … 360 386 361 387 <screen role="root"><userinput>mkdir -pv /usr/share/applications && 388 mkdir -pv /usr/share/pixmaps && 362 389 363 390 cat > /usr/share/applications/firefox.desktop << "EOF" && 364 391 [Desktop Entry] 365 392 Encoding=UTF-8 393 Name=Firefox Web Browser 394 Comment=Browse the World Wide Web 395 GenericName=Web Browser 396 Exec=firefox %u 397 Terminal=false 366 398 Type=Application 367 Name=Firefox368 Comment=Browse The Web369 399 Icon=firefox 370 Exec=firefox 371 Categories=Network;GTK;Application;Browser;WebBrowser;400 Categories=GNOME;GTK;Network;WebBrowser; 401 MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https; 372 402 StartupNotify=true 373 Terminal=false374 403 EOF 375 404 376 ln -sfv /usr/lib/firefox-&firefox-version;/icons/mozicon128.png /usr/share/pixmaps/firefox.png</userinput></screen> 405 ln -sfv /usr/lib/firefox-&firefox-version;/icons/mozicon128.png \ 406 /usr/share/pixmaps/firefox.png</userinput></screen> 407 377 408 </sect2> 378 409 … … 386 417 387 418 <seglistitem> 388 <seg>firefox</seg> 419 <seg> 420 firefox 421 </seg> 389 422 <seg> 390 423 Numerous libraries, browser components, plugins, extensions, and 391 424 helper modules installed in 392 <filename class="directory">/usr/lib/firefox-&firefox-version;</filename> .425 <filename class="directory">/usr/lib/firefox-&firefox-version;</filename> 393 426 </seg> 394 427 <seg> 395 428 /usr/include/npapi and 396 /usr/lib/firefox-&firefox-version; .429 /usr/lib/firefox-&firefox-version; 397 430 </seg> 398 431 </seglistitem> … … 408 441 <listitem> 409 442 <para> 410 is a <application>G tk2</application> internet browser that uses the443 is a <application>GTK+ 2</application> internet browser that uses the 411 444 Mozilla Gecko rendering engine. 412 445 </para> … … 416 449 </listitem> 417 450 </varlistentry> 451 418 452 </variablelist> 453 419 454 </sect2> 455 420 456 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.