[info] mozilla 1.4 stable for x86
Posted: Mon Jul 14, 2003 3:46 am
ChangeLog wrote: 12 Jul 2003; Brad Laue <brad@gentoo.org> mozilla-1.4.ebuild:
Stable on x86
Gentoo Linux Taiwan Forums
https://forums.gentoo.tw/
ChangeLog wrote: 12 Jul 2003; Brad Laue <brad@gentoo.org> mozilla-1.4.ebuild:
Stable on x86

如果都是抓同樣的source tarball,會不會是ebuild做了一些手腳?coollinuxer wrote:Mozilla.org包的sea.tar.gz的字型沒問題
在中英交夾的時候都可以正常顯示...
但是Gentoo的Mozilla就不行了,Bookmatks裡會怪怪的
在中英交夾的時候只能顯示中文,英文部份就空白...
Gentoo的Mozilla中文字型有文鼎的可以用
Mozilla.org的Mozilla有KC-fixed-big-5-0可以用
怪哉...
嗯......pahud wrote:如果都是抓同樣的source tarball,會不會是ebuild做了一些手腳?coollinuxer wrote:Mozilla.org包的sea.tar.gz的字型沒問題
.
不然的話改一下ebuild, 應該也可以打造一個同樣自己compile的環境吧!
Code: Select all
39 # strip-flagsCode: Select all
158 src_compile() {
159
160 moz_setup
161
162 local myconf=
163 # NOTE: QT and XLIB toolkit seems very unstable, leave disabled until
164 # tested ok -- azarah
165 if [ -n "`use gtk2`" ]
166 then
167 myconf="${myconf} --enable-toolkit-gtk2 \
168 --enable-default-toolkit=qtk2 \
169 --enable-toolkit-qt \
170 --enable-toolkit-xlib \
171 --disable-toolkit-gtk"
172
173 # myconf="${myconf} --enable-toolkit-gtk2 \
174 # --enable-default-toolkit=gtk2 \
175 # --disable-toolkit-qt \
176 # --disable-toolkit-xlib \
177 # --disable-toolkit-gtk"
178 else
179 myconf="${myconf} --enable-toolkit-gtk \
180 --enable-default-toolkit=gtk \
181 --enable-toolkit-qt \
182 --enable-toolkit-xlib \
183 --disable-toolkit-gtk2"
184
185 # myconf="${myconf} --enable-toolkit-gtk \Code: Select all
214 # Check if we should enable Xft support ...
215 if [ -z "`use moznoxft`" ]
216 then
217 if [ -n "`use gtk2`" ]
218 then
219 local pango_version=""
220
221 # We need Xft2.0 localy installed
222 if (test -x /usr/bin/pkg-config) && (pkg-config xft)
223 then
224 pango_version="`pkg-config --modversion pango | cut -d. -f1,2`"
225 pango_version="`echo ${pango_version} | sed -e 's:\.::g'`"
226
227 # We also need pango-1.1, else Mozilla links to both
228 # Xft1.1 *and* Xft2.0, and segfault...
229 if [ "${pango_version}" -gt "10" ]
230 then
231 einfo "Building with freetype2 support!"
232 # einfo "Building with Xft2.0 (Gtk+-2.0) support!"
233 myconf="${myconf} --disable-xft --enable-freetype2"
234 # myconf="${myconf} --enable-xft --disable-freetype2"
235 touch ${WORKDIR}/.xft
236 else
237 ewarn "Building without Xft2.0 support!"
238 myconf="${myconf} --disable-xft `use_enable truetype freetype2`"
239 fi
240 else
241 ewarn "Building without Xft2.0 support!"
242 myconf="${myconf} --disable-xft `use_enable truetype freetype2`"
243 fi
244 else
245 einfo "Building with freetype2 support!"
246 # einfo "Building with Xft2.0 (Gtk+-1.0) support!"
247 myconf="${myconf} --disable-xft --enable-freetype2"
248 # myconf="${myconf} --enable-xft --disable-freetype2"
249 # touch ${WORKDIR}/.xft
250 fi
251 else
252 myconf="${myconf} --disable-xft `use_enable truetype freetype2`"
253 fi



Code: Select all
# USE="java crypt ipv6 gtk2 ssl ldap gnome mozsvg mozcalendar mozaccess mozp3p mozxmlterm" emerge mozillaCode: Select all
# emerge info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r2)
=================================================================
System uname: 2.4.20-wolk4.0s-palatis i686 AMD Athlon(tm) XP 1800+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java guile mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla gphoto2 ldap snmp cdr scanner nls cjk"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-Os -mcpu=athlon-xp -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -fexpensive-optimizations"
CXXFLAGS="-Os -mcpu=athlon-xp -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -maccumulate-outgoing-args -fexpensive-optimizations"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"Code: Select all
# emerge search ^gcc$ ^glibc$
Searching...
[ Results for search key : ^gcc$ ]
[ Applications found : 1 ]
* sys-devel/gcc
Latest version available: 3.2.3-r1
Latest version installed: 3.3
Size of downloaded files: 20,716 kB
Homepage: http://www.gnu.org/software/gcc/gcc.html
Description: The GNU Compiler Collection. Includes C/C++ and java compilers
Searching...
[ Results for search key : ^glibc$ ]
[ Applications found : 1 ]
* sys-libs/glibc
Latest version available: 2.3.2-r1
Latest version installed: 2.3.2-r2
Size of downloaded files: 13,417 kB
Homepage: http://www.gnu.org/software/libc/libc.html
Description: GNU libc6 (also called glibc2) C libraryCode: Select all
# uname -a
Linux More 2.4.20-wolk4.0s-palatis #12 Fri May 30 20:50:58 CST 2003 i686 AMD Athlon(tm) XP 1800+ AuthenticAMD GNU/Linux