http://forums.gentoo.org/viewtop ... der=asc&start=0
让你的phoenix启动更快和字体效果更pp:),而且永远使用最新的代码。
它得ebuild文件在这儿:
[code:1]Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# needed by src_compile() and src_install()
export MOZ_PHOENIX=1
export MOZ_CALENDAR=0
export MOZ_ENABLE_XFT=1
# somebody says this is good but it's your choice
if [ -n "`use svg`" ] ; then
export MOZ_INTERNAL_LIBART_LGPL=1
fi
src_unpack() {
unpack ${A}
cd ${S}/../
echo
einfo
einfo "*****************************************************************"
einfo "* This will log you in to the mozilla cvs, just *"
einfo "* press enter to proceed *"
einfo "*****************************************************************"
einfo
if [ -n "`use gtk2`" ] ; then
myconf="${myconf} --enable-toolkit-gtk2 \
--enable-default-toolkit=gtk2 \
--disable-toolkit-qt \
--disable-toolkit-xlib \
--disable-toolkit-gtk"
else
myconf="${myconf} --enable-toolkit-gtk \
--enable-default-toolkit=gtk \
--disable-toolkit-qt \
--disable-toolkit-xlib \
--disable-toolkit-gtk2"
fi
if [ -n "`use ipv6`" ] ; then
myconf="${myconf} --enable-ipv6"
fi
if [ "${ARCH}" = "x86" ] ; then
myconf="${myconf} --enable-old-abi-compat-wrappers"
fi
if [ "${ARCH}" = "sparc" ] ; then
myconf="${myconf} --enable-js-ultrasparc"
fi
if [ -n "`use svg`" ] ; then
myconf="${myconf} --enable-svg"
fi
export MAKE="emake"
# Crashes on start when compiled with -fomit-frame-pointer
CFLAGS="${CFLAGS/-fomit-frame-pointer}"
CXXFLAGS="${CXXFLAGS/-fomit-frame-pointer} -Wno-deprecated"
./configure --prefix=/usr/lib/phoenix \
${myconf} || die
edit_makefiles
emake MOZ_PHOENIX=1 || die
}
src_install() {
make DESTDIR=${D} install || die
pkg_postinst() {
echo
einfo
einfo "*****************************************************************"
einfo "something need to do with java plugin"
einfo "*****************************************************************"
einfo
} [/code:1]
如果编译和启动出错,请先看完上面那个链接里的所有贴子。