mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Seamonkey 2.9 and NSS 3.13.4
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9987 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
2d7d257e9a
commit
a45062d508
@ -3,13 +3,13 @@ $LastChangedBy$
|
||||
$Date$
|
||||
-->
|
||||
|
||||
<!ENTITY day "23"> <!-- Always 2 digits -->
|
||||
<!ENTITY day "24"> <!-- Always 2 digits -->
|
||||
<!ENTITY month "04"> <!-- Always 2 digits -->
|
||||
<!ENTITY year "2012">
|
||||
<!ENTITY copyrightdate "2001-&year;">
|
||||
<!ENTITY copyholder "The BLFS Development Team">
|
||||
<!ENTITY version "&year;-&month;-&day;">
|
||||
<!ENTITY releasedate "April 23rd, &year;">
|
||||
<!ENTITY releasedate "April 24th, &year;">
|
||||
<!-- <!ENTITY releasedate "November &day;st, &year;"> -->
|
||||
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
||||
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
||||
@ -125,7 +125,7 @@ $Date$
|
||||
<!ENTITY liboauth-version "0.9.5">
|
||||
<!ENTITY mitkrb-version "1.10.1">
|
||||
<!ENTITY nettle-version "2.4">
|
||||
<!ENTITY nss-version "3.13.3">
|
||||
<!ENTITY nss-version "3.13.4">
|
||||
<!ENTITY openssh-version "5.9p1">
|
||||
<!ENTITY openssl-version "1.0.1a">
|
||||
<!-- version no longer used, we take whatever mozilla is offering
|
||||
@ -906,7 +906,7 @@ program you invoke. Development restarted Feb 12, so commented until a new rele
|
||||
<!ENTITY openoffice-version "3.2.1"> -->
|
||||
|
||||
<!-- Chapter 36 -->
|
||||
<!ENTITY seamonkey-version "2.8">
|
||||
<!ENTITY seamonkey-version "2.9">
|
||||
<!-- Don't forget xulrunner -->
|
||||
<!ENTITY firefox-version "12.0">
|
||||
|
||||
|
@ -41,6 +41,18 @@
|
||||
</listitem>
|
||||
|
||||
-->
|
||||
<listitem>
|
||||
<para>April 24th, 2012</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[abenton] - Seamonkey 2.9.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[abenton] - NSS 3.13.4.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>April 23rd, 2012</para>
|
||||
<itemizedlist>
|
||||
|
@ -8,7 +8,7 @@
|
||||
"http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_13_3_RTM/src/nss-&nss-version;.tar.gz">
|
||||
<!ENTITY nss-download-ftp
|
||||
"ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_13_3_RTM/src/nss-&nss-version;.tar.gz">
|
||||
<!ENTITY nss-md5sum "006cb82fa900e9e664b4b14a9b7810ca">
|
||||
<!ENTITY nss-md5sum "2510d41ade236584cc0096954ea449c0">
|
||||
<!ENTITY nss-size "5.8 MB">
|
||||
<!ENTITY nss-buildsize "70 MB (more than double this to run the test suite)">
|
||||
<!ENTITY nss-time "1.0 SBU (at least an additional 3.5 SBU to run the test suite)">
|
||||
@ -114,10 +114,13 @@
|
||||
</para>
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../nss-&nss-version;-standalone-1.patch &&
|
||||
cd mozilla/security/nss &&
|
||||
make nss_build_all $([ $(uname -m) = x86_64 ] && echo USE_64=1) BUILD_OPT=1 \
|
||||
NSPR_INCLUDE_DIR=/usr/include/nspr USE_SYSTEM_ZLIB=1 ZLIB_LIBS=-lz \
|
||||
$(cat /usr/include/sqlite3.h &> /dev/null && echo NSS_USE_SYSTEM_SQLITE=1)</userinput></screen>
|
||||
cd mozilla/security/nss &&
|
||||
make nss_build_all BUILD_OPT=1 \
|
||||
NSPR_INCLUDE_DIR=/usr/include/nspr \
|
||||
USE_SYSTEM_ZLIB=1 \
|
||||
ZLIB_LIBS=-lz \
|
||||
$([ $(uname -m) = x86_64 ] && echo USE_64=1) \
|
||||
$([ -f /usr/include/sqlite3.h ] && echo NSS_USE_SYSTEM_SQLITE=1)</userinput></screen>
|
||||
|
||||
<para>This package does not come with a test suite.</para>
|
||||
<!--
|
||||
@ -172,23 +175,6 @@ install -v -m644 Linux*/lib/pkgconfig/nss.pc /usr/lib/pkgconfig</userinput></scr
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<parameter>[ $(uname -m) = x86_64 ] && echo USE_64=1</parameter>:
|
||||
This option is <emphasis>required on x86_64</emphasis>, otherwise the
|
||||
<command>make</command> will attempt to create 32-bit objects and in a
|
||||
non-multilib system it will fail. The [ $(arch) = x86_64 ] test ensures it
|
||||
has no effect on a 32 bit system.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<command>cat /usr/include/sqlite3.h ... </command>: This tests if
|
||||
<application>sqlite</application> is installed and if so it
|
||||
<command>echo</command>s the option NSS_USE_SYSTEM_SQLITE=1 to
|
||||
<command>make</command> so that
|
||||
<filename class="libraryfile">libsoftokn3.so</filename> will link against
|
||||
the system version of sqlite.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<parameter>BUILD_OPT=1</parameter>: This option is passed to
|
||||
<command>make</command> so that the build is performed with no debugging
|
||||
@ -213,6 +199,24 @@ install -v -m644 Linux*/lib/pkgconfig/nss.pc /usr/lib/pkgconfig</userinput></scr
|
||||
<parameter>ZLIB_LIBS=-lz</parameter>: This option provides the
|
||||
linker flags needed to link to the system <application>zlib</application>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<command>$([ $(uname -m) = x86_64 ] && echo USE_64=1)</command>:
|
||||
The <parameter>USE_64=1</parameter> option is <emphasis>required on
|
||||
x86_64</emphasis>, otherwise <command>make</command> will try (and fail)
|
||||
to create 32-bit objects. The [ $(uname -m) = x86_64 ] test ensures it
|
||||
has no effect on a 32 bit system.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<command>([ -f /usr/include/sqlite3.h ] && echo
|
||||
NSS_USE_SYSTEM_SQLITE=1)</command>: This tests if
|
||||
<application>sqlite</application> is installed and if so it
|
||||
<command>echo</command>s the option NSS_USE_SYSTEM_SQLITE=1 to
|
||||
<command>make</command> so that
|
||||
<filename class="libraryfile">libsoftokn3.so</filename> will link against
|
||||
the system version of sqlite.
|
||||
</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
|
@ -8,9 +8,9 @@
|
||||
"http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">
|
||||
<!ENTITY seamonkey-download-ftp
|
||||
"ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">
|
||||
<!ENTITY seamonkey-md5sum "a7128f6bcd16bebed4a7c3487b69c38f">
|
||||
<!ENTITY seamonkey-size "97 MB">
|
||||
<!ENTITY seamonkey-buildsize "3 GB (46 MB installed)">
|
||||
<!ENTITY seamonkey-md5sum "4af38acf517a8ab850e6aa7a6b085325">
|
||||
<!ENTITY seamonkey-size "98 MB">
|
||||
<!ENTITY seamonkey-buildsize "3.1 GB (46 MB installed)">
|
||||
<!ENTITY seamonkey-time "26.6 SBU">
|
||||
]>
|
||||
|
||||
@ -129,7 +129,7 @@
|
||||
<ulink url="http://libevent.org/">Libevent</ulink>,
|
||||
<xref linkend="doxygen"/>,
|
||||
<xref linkend="gnome-vfs"/> and <xref linkend="libgnomeui"/>
|
||||
(for integration with the old version of <application>Gnome</application>),
|
||||
(for integration with <application>Gnome 2</application>),
|
||||
<xref linkend="libnotify"/>,
|
||||
<xref linkend="nspr"/>,
|
||||
<xref linkend="nss"/>,
|
||||
@ -176,30 +176,30 @@ ac_add_options --disable-necko-wifi
|
||||
ac_add_options --disable-libnotify
|
||||
|
||||
# Uncomment these if you have installed them:
|
||||
# ac_add_options --with-system-nspr
|
||||
# ac_add_options --with-system-nss
|
||||
# ac_add_options --enable-system-sqlite
|
||||
# ac_add_options --with-system-libvpx
|
||||
# ac_add_options --enable-startup-notification
|
||||
# ac_add_options --enable-system-hunspell
|
||||
# ac_add_options --enable-system-sqlite
|
||||
# ac_add_options --with-system-libevent
|
||||
# ac_add_options --with-system-libvpx
|
||||
# ac_add_options --with-system-nspr
|
||||
# ac_add_options --with-system-nss
|
||||
|
||||
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir
|
||||
ac_add_options --disable-crashreporter
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --disable-installer
|
||||
ac_add_options --disable-static
|
||||
ac_add_options --disable-tests
|
||||
ac_add_options --disable-updater
|
||||
ac_add_options --enable-application=suite
|
||||
ac_add_options --enable-shared
|
||||
ac_add_options --enable-system-cairo
|
||||
ac_add_options --enable-system-ffi
|
||||
ac_add_options --prefix=/usr
|
||||
ac_add_options --with-pthreads
|
||||
ac_add_options --enable-system-ffi
|
||||
ac_add_options --with-system-jpeg
|
||||
ac_add_options --with-system-png
|
||||
ac_add_options --enable-system-cairo
|
||||
ac_add_options --with-system-zlib
|
||||
ac_add_options --enable-shared
|
||||
ac_add_options --disable-static
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --disable-crashreporter
|
||||
ac_add_options --disable-installer
|
||||
ac_add_options --disable-updater
|
||||
ac_add_options --disable-tests
|
||||
EOF</userinput></screen>
|
||||
|
||||
<para>
|
||||
@ -208,8 +208,6 @@ EOF</userinput></screen>
|
||||
</para>
|
||||
|
||||
<screen><userinput>patch -p1 < ../seamonkey-&seamonkey-version;_gcc-4.7-1.patch &&
|
||||
sed -i 's#VPX_CODEC_USE_INPUT_PARTITION#VPX_CODEC_USE_INPUT_FRAGMENTS#' \
|
||||
mozilla/configure &&
|
||||
make -f client.mk</userinput></screen>
|
||||
|
||||
<para>
|
||||
@ -234,11 +232,10 @@ cp -v moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1</useri
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para>
|
||||
<command>sed -i 's#VPX_CODEC_USE_INPUT_PARTITION ...</command>: This fixes
|
||||
mozilla's <command>configure</command> script to properly detect
|
||||
<xref linkend="libvpx"/>. This sed is not needed if you have libvpx-v0.9.7
|
||||
or earlier installed or if you've not installed
|
||||
<application>Libvpx</application>.
|
||||
<command>patch -p1 <
|
||||
../seamonkey-&seamonkey-version;_gcc-4.7-1.patch</command>: This patch
|
||||
fixes various files to ensure that <application>Seamonkey</application>
|
||||
compiles with <application>GCC 4.7</application>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
Loading…
Reference in New Issue
Block a user