mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 07:17:15 +08:00
add option to install firefox and thunderbird with system cairo
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11779 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
931f38f47f
commit
fcd66369cd
@ -72,12 +72,16 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<bridgehead renderas="sect3">Additional Download (if linking against xulrunner)</bridgehead>
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||||
<itemizedlist spacing='compact'>
|
<itemizedlist spacing='compact'>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Recommended patch: <ulink
|
<para>Recommended patch: <ulink
|
||||||
url="&patch-root;/firefox-&firefox-version;-search_box_fix-1.patch"/></para>
|
url="&patch-root;/firefox-&firefox-version;-search_box_fix-1.patch"/></para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>Optional patch: <ulink
|
||||||
|
url="&patch-root;/firefox-&firefox-version;-system_cairo-1.patch"/></para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<bridgehead renderas="sect3">Firefox Dependencies</bridgehead>
|
<bridgehead renderas="sect3">Firefox Dependencies</bridgehead>
|
||||||
@ -171,11 +175,15 @@ ac_add_options --disable-necko-wifi
|
|||||||
ac_add_options --disable-libnotify
|
ac_add_options --disable-libnotify
|
||||||
|
|
||||||
# Uncomment these lines if you have installed optional dependencies:
|
# Uncomment these lines if you have installed optional dependencies:
|
||||||
# GStreamer is necesary for H.264 video playback in HTML5 Video Player
|
# GStreamer is necessary for H.264 video playback in HTML5 Video Player
|
||||||
#ac_add_options --enable-gstreamer
|
#ac_add_options --enable-gstreamer
|
||||||
#ac_add_options --enable-system-hunspell
|
#ac_add_options --enable-system-hunspell
|
||||||
#ac_add_options --enable-startup-notification
|
#ac_add_options --enable-startup-notification
|
||||||
|
|
||||||
|
# Uncomment this line if you compiled Cairo with --enable-tee switch and want
|
||||||
|
# to use it instead of the bundled one:
|
||||||
|
#ac_add_options --enable-system-cairo
|
||||||
|
|
||||||
# If you have not installed Yasm then uncomment this line:
|
# If you have not installed Yasm then uncomment this line:
|
||||||
#ac_add_options --disable-webm
|
#ac_add_options --disable-webm
|
||||||
|
|
||||||
@ -231,6 +239,14 @@ EOF</userinput></screen>
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen><userinput>patch -Np1 -i ../firefox-&firefox-version;-search_box_fix-1.patch
|
<screen><userinput>patch -Np1 -i ../firefox-&firefox-version;-search_box_fix-1.patch
|
||||||
|
</userinput></screen>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
If you are building against a system-installed <application>Cairo</application>
|
||||||
|
apply the patch:
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<screen><userinput>patch -Np1 -i ../firefox-&firefox-version;-system_cairo-1.patch
|
||||||
</userinput></screen>
|
</userinput></screen>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -395,7 +411,7 @@ cp -v dom/plugins/base/*.h /usr/include/npapi</userinput></screen>
|
|||||||
mkdir -pv /usr/share/pixmaps &&
|
mkdir -pv /usr/share/pixmaps &&
|
||||||
|
|
||||||
cat > /usr/share/applications/firefox.desktop << "EOF" &&
|
cat > /usr/share/applications/firefox.desktop << "EOF" &&
|
||||||
[Desktop Entry]
|
<literal>[Desktop Entry]
|
||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
Name=Firefox Web Browser
|
Name=Firefox Web Browser
|
||||||
Comment=Browse the World Wide Web
|
Comment=Browse the World Wide Web
|
||||||
@ -406,7 +422,7 @@ Type=Application
|
|||||||
Icon=firefox
|
Icon=firefox
|
||||||
Categories=GNOME;GTK;Network;WebBrowser;
|
Categories=GNOME;GTK;Network;WebBrowser;
|
||||||
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
|
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
|
||||||
StartupNotify=true
|
StartupNotify=true</literal>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
ln -sfv /usr/lib/firefox-&firefox-version;/browser/icons/mozicon128.png \
|
ln -sfv /usr/lib/firefox-&firefox-version;/browser/icons/mozicon128.png \
|
||||||
|
@ -73,6 +73,14 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||||
|
<itemizedlist spacing='compact'>
|
||||||
|
<listitem>
|
||||||
|
<para>Optional patch: <ulink
|
||||||
|
url="&patch-root;/thunderbird-&thunderbird-version;-system_cairo-1.patch"/></para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
|
||||||
<bridgehead renderas="sect3">Thunderbird Dependencies</bridgehead>
|
<bridgehead renderas="sect3">Thunderbird Dependencies</bridgehead>
|
||||||
|
|
||||||
<bridgehead renderas="sect4">Required</bridgehead>
|
<bridgehead renderas="sect4">Required</bridgehead>
|
||||||
@ -153,6 +161,10 @@ ac_add_options --disable-libnotify
|
|||||||
#ac_add_options --enable-system-hunspell
|
#ac_add_options --enable-system-hunspell
|
||||||
#ac_add_options --enable-startup-notification
|
#ac_add_options --enable-startup-notification
|
||||||
|
|
||||||
|
# Uncomment this line if you compiled Cairo with --enable-tee switch and want
|
||||||
|
# to use it instead of the bundled one:
|
||||||
|
#ac_add_options --enable-system-cairo
|
||||||
|
|
||||||
# If you have not installed Yasm then uncomment this line:
|
# If you have not installed Yasm then uncomment this line:
|
||||||
#ac_add_options --disable-webm
|
#ac_add_options --disable-webm
|
||||||
|
|
||||||
@ -198,6 +210,14 @@ ac_add_options --with-system-zlib
|
|||||||
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/thunderbuild
|
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/thunderbuild
|
||||||
EOF</userinput></screen>
|
EOF</userinput></screen>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
If you are building against a system-installed <application>Cairo</application>
|
||||||
|
apply the patch:
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<screen><userinput>patch -Np1 -i ../thunderbird-&thunderbird-version;-system_cairo-1.patch
|
||||||
|
</userinput></screen>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Compile <application>Thunderbird</application> by issuing the following
|
Compile <application>Thunderbird</application> by issuing the following
|
||||||
commands:
|
commands:
|
||||||
@ -322,7 +342,7 @@ ln -sfv ../lib/thunderbird-&thunderbird-version;/thunderbird /usr/bin</userinput
|
|||||||
mkdir -pv /usr/share/pixmaps &&
|
mkdir -pv /usr/share/pixmaps &&
|
||||||
|
|
||||||
cat > /usr/share/applications/thunderbird.desktop << "EOF" &&
|
cat > /usr/share/applications/thunderbird.desktop << "EOF" &&
|
||||||
[Desktop Entry]
|
<literal>[Desktop Entry]
|
||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
Name=Thunderbird Mail
|
Name=Thunderbird Mail
|
||||||
Comment=Send and receive mail with Thunderbird
|
Comment=Send and receive mail with Thunderbird
|
||||||
@ -333,7 +353,7 @@ Type=Application
|
|||||||
Icon=thunderbird
|
Icon=thunderbird
|
||||||
Categories=Application;Network;Email;
|
Categories=Application;Network;Email;
|
||||||
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;x-scheme-handler/mailto;
|
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;x-scheme-handler/mailto;
|
||||||
StartupNotify=true
|
StartupNotify=true</literal>
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
ln -sfv /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default256.png \
|
ln -sfv /usr/lib/thunderbird-&thunderbird-version;/chrome/icons/default/default256.png \
|
||||||
|
Loading…
Reference in New Issue
Block a user