Changeset 5a13c45
- Timestamp:
- 12/24/2005 05:34:04 PM (18 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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:
- 4dffff6
- Parents:
- b2febe4e
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
rb2febe4e r5a13c45 1 <!ENTITY day "2 3">1 <!ENTITY day "24"> 2 2 <!ENTITY month "12"> 3 3 <!ENTITY year "2005"> 4 4 <!ENTITY version "svn-&year;&month;&day;"> 5 <!ENTITY releasedate "December &day; st, &year;">5 <!ENTITY releasedate "December &day;th, &year;"> 6 6 <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP --> 7 7 <!ENTITY blfs-version "svn"> <!-- svn|[release #] --> … … 475 475 <!-- Chapter 35 --> 476 476 <!ENTITY mozilla-version "1.7.11"> 477 <!ENTITY firefox-version "1. 0.7">477 <!ENTITY firefox-version "1.5"> 478 478 <!ENTITY galeon-version "1.3.21"> 479 479 <!ENTITY dillo-version "0.8.5"> -
introduction/welcome/changelog.xml
rb2febe4e r5a13c45 41 41 42 42 --> 43 <listitem> 44 <para>December 23nd, 2005</para> 43 44 <listitem> 45 <para>December 24th, 2005</para> 46 <itemizedlist> 47 <listitem> 48 <para>[randy] - Updated to Firefox-1.5 and modified the method used 49 to build the package.</para> 50 </listitem> 51 </itemizedlist> 52 </listitem> 53 54 <listitem> 55 <para>December 23rd, 2005</para> 45 56 <itemizedlist> 46 57 <listitem> -
xsoft/graphweb/firefox.xml
rb2febe4e r5a13c45 6 6 7 7 <!ENTITY firefox-download-http "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;-source.tar.bz2"> 8 <!ENTITY firefox-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;-source.tar.bz2">9 <!ENTITY firefox-md5sum " 5704a8c36de84b408e069afb0c5bc1df">10 <!ENTITY firefox-size "3 2.0MB">11 <!ENTITY firefox-buildsize "5 45MB">12 <!ENTITY firefox-time "1 0.3SBU">8 <!ENTITY firefox-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;-source.tar.bz2"> 9 <!ENTITY firefox-md5sum "fa915ddcadecda30ed3e13694f26a779"> 10 <!ENTITY firefox-size "34.4 MB"> 11 <!ENTITY firefox-buildsize "568 MB"> 12 <!ENTITY firefox-time "15.8 SBU"> 13 13 ]> 14 15 <!--16 17 Devs:18 19 Always check the browser/config/mozconfig file in the source tree for20 any changes to the options passed to configure. This file shows the21 default build used by Mozilla. BLFS adds to this, but the values here22 should be in our setup.23 24 -->25 14 26 15 <sect1 id="firefox" xreflabel="Firefox-&firefox-version;"> … … 70 59 </itemizedlist> 71 60 72 <bridgehead renderas="sect3">Additional Downloads</bridgehead>73 <itemizedlist spacing="compact">74 <listitem>75 <para>Required patch: <ulink76 url="&patch-root;/firefox-&firefox-version;-gcc4-2.patch"/></para>77 </listitem>78 </itemizedlist>79 80 61 <bridgehead renderas="sect3">Firefox Dependencies</bridgehead> 81 62 … … 85 66 <xref linkend="zip"/></para> 86 67 68 <para>Note: <application>libjpeg</application> should have been installed 69 before <application>GTK+</application> and should exist on your system. If 70 for some reason you haven't installed <application>libjpeg</application>, 71 you should remove the <option>--with-system-jpeg</option> option from the 72 <filename>.mozconfig</filename> file created below.</para> 73 87 74 <bridgehead renderas="sect4">Optional</bridgehead> 88 <para role="optional"><xref linkend="libjpeg"/>, 89 <xref linkend="unzip"/>, 90 <xref linkend="gnome-vfs"/> and 91 <xref linkend="libgnome"/> (to build the gnomevfs extension), 92 <xref linkend="mitkrb"/> or <xref linkend="heimdal"/> 93 (for the GSSAPI libraries to build the negotiateauth extension), 94 <xref linkend="doxygen"/>, 95 <ulink url="http://xprint.mozdev.org/">Xprint</ulink>, 96 <ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink></para> 75 <para role="optional"><xref linkend="unzip"/> and 76 <xref linkend="libgnomeui"/> (to build the gnomevfs extension)</para> 97 77 98 78 </sect2> … … 101 81 <title>Installation of Firefox</title> 102 82 103 <para>The configuration of <application>Firefox</application> is very 104 similar to <xref linkend="mozilla"/> and hence the options are not 105 discussed. Refer to the <xref linkend="mozilla"/> instructions for 106 explanations and additional configuration information.</para> 83 <!-- This is now obsolete (I'm almost certain). During the next update 84 of Firefox, please remove everything contained in this comment if 85 there's been no mention to reactivate this. -Randy 107 86 108 87 <para><application>Firefox</application> default behavior when invoked … … 112 91 113 92 <screen><userinput>sed -i 's|openURL(${_optLast}|&, new-tab|' browser/app/mozilla.in</userinput></screen> 114 115 <para>Compile and install <application>Firefox</application> by 116 running the following commands:</para> 117 118 <screen><userinput>export MOZILLA_OFFICIAL="1" && 119 export BUILD_OFFICIAL="1" && 120 export MOZ_PHOENIX="1" && 121 122 sed -i 's| dist_bin="$moz_libdir"|\ 123 &\n run_moz="$dist_bin/run-mozilla.sh"|' browser/app/mozilla.in && 124 125 patch -Np1 -i ../firefox-&firefox-version;-gcc4-2.patch && 126 ./configure --prefix=/usr \ 127 --with-default-mozilla-five-home=/usr/lib/firefox-&firefox-version; \ 128 --with-user-appdir=.firefox \ 129 --with-system-zlib \ 130 --with-system-png \ 131 --enable-application=browser \ 132 --enable-default-toolkit=gtk2 \ 133 --enable-extensions=cookie,xml-rpc,xmlextras,pref,\ 134 transformiix,universalchardet,webservices,inspector,\ 135 gnomevfs,negotiateauth \ 136 --enable-crypto \ 137 --enable-xft \ 138 --enable-xinerama \ 139 --enable-optimize \ 140 --enable-reorder \ 141 --enable-strip \ 142 --enable-cpp-rtti \ 143 --enable-single-profile \ 144 --disable-freetype2 \ 145 --disable-accessibility \ 146 --disable-debug \ 147 --disable-tests \ 148 --disable-logging \ 149 --disable-pedantic \ 150 --disable-installer \ 151 --disable-mailnews \ 152 --disable-ldap \ 153 --disable-composer \ 154 --disable-profilesharing && 155 make</userinput></screen> 156 157 <para>You should add the <option>--with-system-jpeg</option> switch 158 to the <command>configure</command> script if you have 159 <application>libjpeg</application> installed.</para> 93 --> 94 95 <para>The configuration of <application>Firefox</application> is 96 accomplished by creating a <filename>.mozconfig</filename> file containing 97 the desired configuration options. A default <filename>.mozconfig</filename> 98 is created below. To see the entire list of available configuration options 99 (and an abbreviated description of each one), issue 100 <command>./configure --help</command>. If you are going to build the 101 <application>OpenOffice</application> package and you want to use this 102 <application>Firefox</application> installation as the default 103 <application>Mozilla</application> source, ensure you uncomment the 104 <option>--enable-ldap</option> option from the default file created below. 105 You may also wish to review the entire file and uncomment any other desired 106 options. If you would prefer to download the file instead of creating it by 107 typing or cut-and-pasting, here is the URL: <ulink 108 url="http://anduin.linuxfromscratch.org/files/BLFS/firefox-&firefox-version;-mozconfig"/> 109 (the file must be installed in the 110 <filename class='directory'>mozilla</filename> directory and named 111 <filename>.mozconfig</filename>). Create the file by issuing the following 112 command:</para> 113 114 <screen><userinput>cat > .mozconfig << "EOF" 115 <literal># This file contains the options used in the Firefox build. You may 116 # need to specify additional options for your specific build needs. 117 # Use the information provided by running './configure --help' to 118 # help you determine if you need to add any additional options. 119 # Some additional options can be added by uncommenting the examples 120 # in this file or adding options by inserting a line containing 121 # 'ac_add_options --some-option-you-need'. 122 123 124 # Use the default settings specified in the source tree 125 . $topsrcdir/browser/config/mozconfig 126 127 # Create an object directory and specify to build the package in that 128 # directory. If desired, modify the location of the object directory 129 # to a directory inside the source tree by removing '../' from the 130 # line below. 131 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../firefox-build 132 133 # Specify the installation prefix. If you would prefer Firefox 134 # installed in a different prefix, modify the line below to fit 135 # your needs. You'll also need to modify some of the instructions in 136 # the BLFS book to point to your desired prefix. 137 ac_add_options --prefix=/usr 138 139 # These options are used so that the Firefox binaries are linked to 140 # the system-installed copies of the specified libraries instead of 141 # the source tree code which may not be the most recent versions. 142 ac_add_options --with-system-zlib 143 ac_add_options --with-system-png 144 ac_add_options --with-system-jpeg 145 ac_add_options --enable-system-cairo 146 147 # This option causes the installed binaries to have the official 148 # Firefox name embedded in them. Due to license restrictions, you 149 # may not distribute binaries created using this option. 150 ac_add_options --enable-official-branding 151 152 # This option specifies to include support for rendering the HTML 153 # <canvas></canvas> tag in the Firefox browser. 154 ac_add_options --enable-canvas 155 156 # This option is used so that the debugging symbols are removed from 157 # the installed binaries during the installation process. Comment out 158 # this option if you may have a need to retain the debugging symbols 159 # in the installed binaries. Note that this can substantially 160 # increase the size of the installed binaries. 161 ac_add_options --enable-strip 162 163 # This option is added so that test libraries and programs are not 164 # built. These would only be required for debugging purposes. 165 ac_add_options --disable-tests 166 167 # This option is added so that the Mozilla Installer program is not 168 # built or installed. The program is not required for a BLFS 169 # installation of Firefox. 170 ac_add_options --disable-installer 171 172 # This option is used to disable the a11y support in the Firefox 173 # binaries. Comment out this option if you require a11y support. 174 ac_add_options --disable-accessibility 175 176 # This option is used to enable source tree included LDAP support in 177 # the Firefox binaries. 178 ################################################################### 179 # 180 # NOTE: You must uncomment this option if there is any chance of 181 # compiling the OpenOffice package from source code using this copy 182 # of Firefox for your Mozilla support. 183 # 184 ################################################################### 185 #ac_add_options --enable-ldap 186 187 # This option is used to enable support for rendering SVG files in the 188 # Firefox browser. Uncomment the line below to enable the option. 189 #ac_add_options --enable-svg 190 191 # Uncomment this option if you desire support for dual-monitor 192 # display of Firefox using the X-Window Xinerama libraries. 193 #ac_add_options --enable-xinerama 194 195 # This option identifies the default binary directory of the Firefox 196 # installation and is used to locate Firefox's installed files. This 197 # option is not required for end-user browsing, and is only used for 198 # development purposes. 199 #ac_add_options --with-default-mozilla-five-home=/usr/lib/firefox-&firefox-version;</literal> 200 201 EOF</userinput></screen> 202 203 <para>Compile <application>Firefox</application> by issuing the 204 following command:</para> 205 206 <screen><userinput>make -f client.mk build</userinput></screen> 160 207 161 208 <para>This package does not come with a test suite.</para> 162 209 163 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 164 165 <screen role="root"><userinput>make install && 210 <para>Now, as the <systemitem class="username">root</systemitem> user, 211 install the package:</para> 212 213 <screen role="root"><userinput>make -f client.mk install && 214 215 install -v -m755 -d /usr/lib/firefox-&firefox-version;/chrome/icons/default && 216 ln -v -s ../../../icons/default.xpm \ 217 /usr/lib/firefox-&firefox-version;/chrome/icons/default && 218 166 219 install -v -m755 -d /usr/include/firefox-&firefox-version;/nss && 167 cp -v -Lf dist/private/nss/*.h dist/public/nss/*.h \ 168 /usr/include/firefox-&firefox-version;/nss</userinput></screen> 220 cp -v -Lf ../firefox-build/dist/{private,public}/nss/*.h \ 221 /usr/include/firefox-&firefox-version;/nss && 222 223 chown -v -R root:root \ 224 /usr/lib/firefox-&firefox-version;/extensions/inspector@mozilla.org/*</userinput></screen> 225 226 <para>If you enabled LDAP support in the <application>Firefox</application> 227 build, install some additional interface headers as the 228 <systemitem class="username">root</systemitem> user:</para> 229 230 <screen role="root"><userinput>install -v -m644 ../firefox-build/dist/public/ldap-private/* \ 231 /usr/include/firefox-&firefox-version;/ldap</userinput></screen> 232 233 <!-- This appears to not be required any longer. The regchrome program 234 is not built any longer, and multi-user access to Firefox appears 235 to work fine without running regxpcom and touching the files. -Randy 169 236 170 237 <para>To enable multi-user operation, execute the following as the … … 178 245 touch `find . -name *.rdf`</userinput></screen> 179 246 247 --> 248 180 249 <note> 181 250 <para>You should run <command>/usr/bin/firefox</command> once as the … … 185 254 </note> 186 255 187 <para>Lastly, unset the build variables from the unprivileged user's188 environment:</para>189 190 <screen><userinput>unset MOZILLA_OFFICIAL &&191 unset BUILD_OFFICIAL &&192 unset MOZ_PHOENIX</userinput></screen>193 194 256 </sect2> 195 257 … … 197 259 <title>Command Explanations</title> 198 260 199 <para><command>sed -i '...' browser/app/mozilla.in</command>: This command 200 fixes an issue where <application>Firefox</application> wants to call the 201 profile manager instead of just invoking another copy of itself.</para> 261 <para><command>install -v -m755 -d .../chrome/icons/default</command> and 262 <command>ln -v -s ../../../icons/default.xpm ...</command>: These two 263 commands are used to create a symlink in the required directory so that 264 the proper icon is displayed in the taskbar and when 265 <application>Firefox</application> windows are minimized.</para> 266 267 <para><command>install -v -m755 -d /usr/include/firefox-&firefox-version;/nss</command> 268 and <command>cp -v -Lf ../firefox-build/dist/{private,public}/nss/*.h ...</command>: 269 These commands are used to install the Mozilla Network Security Services 270 (NSS) interface headers to a system-wide location.</para> 271 272 <para><command>chown -v -R root:root ...</command>: This command changes 273 the ownership of some installed files to more appropriate user:group 274 names.</para> 202 275 203 276 </sect2> … … 209 282 <command>firefox</command> script is in the user's path. If 210 283 <application>Firefox</application> is installed in a non-standard location, 211 then make a symlink to the <command>firefox</command> script from212 <filename class="directory">/usr/bin</filename> .</para>284 then make a symlink to the <command>firefox</command> script in the 285 <filename class="directory">/usr/bin</filename> directory.</para> 213 286 214 287 <para>Many applications look for <command>netscape</command> when they … … 222 295 PluginDoc Project</ulink>. If you have <xref linkend="jdk"/> already 223 296 installed, create the following link as the 224 <systemitem class="username">root</systemitem> user to utilize the 225 <application>J AVA</application> plugin: </para>297 <systemitem class="username">root</systemitem> user to utilize the installed 298 <application>Java</application> plugin: </para> 226 299 227 300 <screen role="root"><userinput>ln -v -s $JAVA_HOME/jre/plugin/i386/ns7/libjavaplugin_oji.so \ 228 301 /usr/lib/firefox-&firefox-version;/plugins</userinput></screen> 302 303 <para>Some packages install Mozilla plugins into the default system-wide 304 directory <filename class='directory'>/usr/lib/mozilla/plugins</filename>. 305 If desired, issue the following commands as the 306 <systemitem class="username">root</systemitem> user to link any plugins 307 you may have installed to the <application>Firefox</application> plugin 308 directory.</para> 309 310 <screen role="root"><userinput>if [ -f /usr/lib/mozilla/plugins/* ]; then 311 for PLUGIN_FILE in $(ls /usr/lib/mozilla/plugins/*) 312 do 313 ln -v -s ../../mozilla/plugins/$(basename $PLUGIN_FILE) \ 314 /usr/lib/firefox-&firefox-version;/plugins 315 done 316 fi</userinput></screen> 229 317 230 318 </sect2> … … 243 331 helper modules installed in <filename 244 332 class='directory'>/usr/lib/firefox-&firefox-version;</filename></seg> 245 <seg>/usr/ bin/defaults, /usr/include/firefox-&firefox-version;,333 <seg>/usr/include/firefox-&firefox-version;, 246 334 /usr/lib/firefox-&firefox-version;, and 247 335 /usr/share/idl/firefox-&firefox-version;</seg> … … 257 345 <term><command>firefox</command></term> 258 346 <listitem> 259 <para>is the next-generation browser from Mozilla.</para> 347 <para>is a shell script that sets up the environment and 348 calls the <filename>firefox-bin</filename> binary.</para> 260 349 <indexterm zone="firefox firefox-prog"> 261 350 <primary sortas="b-firefox">firefox</primary>
Note:
See TracChangeset
for help on using the changeset viewer.