Firefox-38.0.5, SeaMonkey-2.33.1 and Thunderbird-38.0.1

fixes to build with FreeType-2.6.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16130 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Fernando de Oliveira 2015-06-15 22:10:24 +00:00
parent 1d5aab8393
commit e67830f1d9
4 changed files with 17 additions and 31 deletions

View File

@ -47,6 +47,11 @@
<listitem>
<para>June 15th, 2015</para>
<itemizedlist>
<listitem>
<para>[fernando] - Firefox-38.0.5, SeaMonkey-2.33.1 and
Thunderbird-38.0.1 fixes to build with FreeType-2.6. Fixes
<ulink url="&blfs-ticket-root;6611">#6611</ulink>.</para>
</listitem>
<listitem>
<para>[fernando] - Update to fontforge-20150612. Fixes
<ulink url="&blfs-ticket-root;6607">#6607</ulink>.</para>

View File

@ -233,19 +233,11 @@ ac_add_options --with-system-zlib
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-build-dir</literal>
EOF</userinput></screen>
<!-- this problem seems to have gone with 36.0
<note><para>
There is a problem on i686 systems when building
<application>Firefox</application> with <application>gcc</application>
versions ranging from 4.8 to 4.9.1 and using the switch
<quote>\-\-enable-optimize</quote>. There are two alternatives. The best
one is to upgrade <application>gcc</application> to version 4.9.2 or later
because it will give better perfomance and smaller binaries. However, if
you do not wish to upgrade gcc, reduce the level of optimization with:
<para>
First, fix building with system freetype-2.6 or later:
</para>
<screen><userinput>test $(uname -m) = "i686" &amp;&amp; sed -i 's/enable-optimize/&amp;=-O2/' mozconfig || true</userinput></screen>
</note>-->
<screen><userinput>sed -i '/^ftglyph.h/ i ftfntfmt.h' config/system-headers</userinput></screen>
<para>
Compile <application>Firefox</application> by issuing the following

View File

@ -241,18 +241,11 @@ ac_add_options --with-system-zlib
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir</literal>
EOF</userinput></screen>
<note><para>
There is a problem on i686 systems when building
<application>SeaMonkey</application> with <application>gcc</application>
versions ranging from 4.8 to 4.9.1 and using the switch
<quote>--enable-optimize</quote>. There are two alternatives. The best
one is to upgrade <application>gcc</application> to version 4.9.2 or later
because it will give better perfomance and smaller binaries. However, if
you do not wish to upgrade gcc, reduce the level of optimization with:
<para>
First, fix building with system freetype-2.6 or later:
</para>
<screen><userinput>test $(uname -m) = "i686" &amp;&amp; sed -i 's/enable-optimize/&amp;=-O2/' mozconfig || true</userinput></screen>
</note>
<screen><userinput>sed -i '/^ftglyph.h/ i ftfntfmt.h' mozilla/config/system-headers</userinput></screen>
<note><para>
If you are compiling <application>SeaMonkey</application> in chroot, make

View File

@ -242,20 +242,16 @@ ac_add_options --with-pthreads
ac_add_options --with-system-bz2
ac_add_options --with-system-jpeg
ac_add_options --with-system-png
ac_add_options --with-system-zlib
# Build broken with system freetype-2.6
ac_add_options --enable-tree-freetype</literal>
ac_add_options --with-system-zlib</literal>
EOF</userinput></screen>
<!--
<para>
First, a bug needs to be fixed. Notice that thunderbuild needs to match
the value used in mozconfig (above) for the object directory (MOZ_OBJDIR):
First, fix building with system freetype-2.6 or later:
</para>
<!-\- might be necessary
test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozconfig || true &&-\->
<screen><userinput>mkdir -vp mozilla/thunderbuild</userinput></screen>-->
<!-- might be necessary
test $(uname -m) = "i686" && sed -i 's/enable-optimize/disable-optimize/' mozconfig || true &&-->
<screen><userinput>sed -i '/^ftglyph.h/ i ftfntfmt.h' mozilla/config/system-headers</userinput></screen>
<para>
Compile <application>Thunderbird</application> by issuing the following