
Code: Select all
i686-pc-linux-gnu-g++ -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -fno-rtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=pentium4 -pipe -Wno-return-type -w -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -fPIC -shared -Wl,-z,defs -Wl,-rpath,'$ORIGIN:$ORIGIN/..' -Wl,-h,libgfxps.so -o libgfxps.so nsDeviceContextPS.o nsFontMetricsPS.o nsEPSObjectPS.o nsRenderingContextPS.o nsPostScriptObj.o nsAFMObject.o nsGfxFactoryPS.o nsTempfilePS.o nsPrintJobPS.o nsPrintJobFactoryPS.o nsType1.o -Wl,-O1 -Wl,-rpath,'$ORIGIN:$ORIGIN/..' -L../../../dist/bin -L../../../dist/lib -lgfxshared_s -lgfxpsshar -lmozutil_s -lgkgfx -L../../../dist/bin -lxpcom -lxpcom_core -L../../../dist/bin -Wl,-R/usr/lib/nspr -L/usr/lib/nspr -lplds4 -lplc4 -lnspr4 -lpthread -ldl ../../../dist/lib/libunicharutil_s.a -lXft -lfreetype -lz -Wl,--version-script -Wl,../../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm
nsFontMetricsPS.o: In function `nsXftEntry::nsXftEntry(_FcPattern*)':
nsFontMetricsPS.cpp:(.text._ZN10nsXftEntryC1EP10_FcPattern+0x90): undefined reference to `FcPatternGetString'
nsFontMetricsPS.cpp:(.text._ZN10nsXftEntryC1EP10_FcPattern+0xb9): undefined reference to `FcPatternGetString'
nsFontMetricsPS.cpp:(.text._ZN10nsXftEntryC1EP10_FcPattern+0xe2): undefined reference to `FcPatternGetString'
nsFontMetricsPS.cpp:(.text._ZN10nsXftEntryC1EP10_FcPattern+0x10a): undefined reference to `FcPatternGetInteger'
nsFontMetricsPS.o: In function `nsXftEntry::nsXftEntry(_FcPattern*)':
nsFontMetricsPS.cpp:(.text._ZN10nsXftEntryC2EP10_FcPattern+0x90): undefined reference to `FcPatternGetString'
nsFontMetricsPS.cpp:(.text._ZN10nsXftEntryC2EP10_FcPattern+0xb9): undefined reference to `FcPatternGetString'
nsFontMetricsPS.cpp:(.text._ZN10nsXftEntryC2EP10_FcPattern+0xe2): undefined reference to `FcPatternGetString'
nsFontMetricsPS.cpp:(.text._ZN10nsXftEntryC2EP10_FcPattern+0x10a): undefined reference to `FcPatternGetInteger'
nsFontMetricsPS.o: In function `nsFontPSXft::FindFont(unsigned short, nsFont const&, nsFontMetricsPS*)':
nsFontMetricsPS.cpp:(.text._ZN11nsFontPSXft8FindFontEtRK6nsFontP15nsFontMetricsPS+0x119): undefined reference to `FcCharSetHasChar'
nsFontMetricsPS.cpp:(.text._ZN11nsFontPSXft8FindFontEtRK6nsFontP15nsFontMetricsPS+0x347): undefined reference to `FcPatternCreate'
nsFontMetricsPS.cpp:(.text._ZN11nsFontPSXft8FindFontEtRK6nsFontP15nsFontMetricsPS+0x418): undefined reference to `FcPatternAddInteger'
nsFontMetricsPS.cpp:(.text._ZN11nsFontPSXft8FindFontEtRK6nsFontP15nsFontMetricsPS+0x443): undefined reference to `FcPatternAddInteger'
nsFontMetricsPS.cpp:(.text._ZN11nsFontPSXft8FindFontEtRK6nsFontP15nsFontMetricsPS+0x461): undefined reference to `FcConfigSubstitute'
nsFontMetricsPS.cpp:(.text._ZN11nsFontPSXft8FindFontEtRK6nsFontP15nsFontMetricsPS+0x46f): undefined reference to `FcDefaultSubstitute'
nsFontMetricsPS.cpp:(.text._ZN11nsFontPSXft8FindFontEtRK6nsFontP15nsFontMetricsPS+0x49c): undefined reference to `FcFontSort'
nsFontMetricsPS.cpp:(.text._ZN11nsFontPSXft8FindFontEtRK6nsFontP15nsFontMetricsPS+0x542): undefined reference to `FcPatternGetBool'
nsFontMetricsPS.cpp:(.text._ZN11nsFontPSXft8FindFontEtRK6nsFontP15nsFontMetricsPS+0x576): undefined reference to `FcPatternGetString'
nsFontMetricsPS.cpp:(.text._ZN11nsFontPSXft8FindFontEtRK6nsFontP15nsFontMetricsPS+0x5af): undefined reference to `FcPatternGetString'
nsFontMetricsPS.cpp:(.text._ZN11nsFontPSXft8FindFontEtRK6nsFontP15nsFontMetricsPS+0x5ec): undefined reference to `FcPatternGetCharSet'
nsFontMetricsPS.cpp:(.text._ZN11nsFontPSXft8FindFontEtRK6nsFontP15nsFontMetricsPS+0x60a): undefined reference to `FcCharSetCopy'
nsFontMetricsPS.cpp:(.text._ZN11nsFontPSXft8FindFontEtRK6nsFontP15nsFontMetricsPS+0x6ab): undefined reference to `FcFontSetDestroy'
nsFontMetricsPS.cpp:(.text._ZN11nsFontPSXft8FindFontEtRK6nsFontP15nsFontMetricsPS+0x6b9): undefined reference to `FcPatternDestroy'
nsFontMetricsPS.o: In function `nsFontMetricsPS::~nsFontMetricsPS()':
nsFontMetricsPS.cpp:(.text._ZN15nsFontMetricsPSD1Ev+0x99): undefined reference to `FcCharSetDestroy'
nsFontMetricsPS.o: In function `nsFontMetricsPS::~nsFontMetricsPS()':
nsFontMetricsPS.cpp:(.text._ZN15nsFontMetricsPSD2Ev+0x99): undefined reference to `FcCharSetDestroy'
nsFontMetricsPS.o: In function `nsFontMetricsPS::~nsFontMetricsPS()':
nsFontMetricsPS.cpp:(.text._ZN15nsFontMetricsPSD0Ev+0x99): undefined reference to `FcCharSetDestroy'
../../../dist/lib/libgfxshared_s.a(nsFontConfigUtils.o): In function `NS_AddFFRE(_FcPattern*, nsCString*, int)':
nsFontConfigUtils.cpp:(.text._Z10NS_AddFFREP10_FcPatternP9nsCStringi+0xae): undefined reference to `FcPatternAdd'
nsFontConfigUtils.cpp:(.text._Z10NS_AddFFREP10_FcPatternP9nsCStringi+0xf4): undefined reference to `FcPatternAddWeak'
../../../dist/lib/libgfxshared_s.a(nsFontConfigUtils.o): In function `NS_AddLangGroup(_FcPattern*, nsIAtom*)':
nsFontConfigUtils.cpp:(.text._Z15NS_AddLangGroupP10_FcPatternP7nsIAtom+0x7a): undefined reference to `FcPatternAddString'
collect2: ld returned 1 exit status
gmake[4]: *** [libgfxps.so] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/www-client/seamonkey-1.1.17/work/mozilla/gfx/src/ps'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/www-client/seamonkey-1.1.17/work/mozilla/gfx/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/www-client/seamonkey-1.1.17/work/mozilla/gfx'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/www-client/seamonkey-1.1.17/work/mozilla'
make: *** [default] Error 2
*
* ERROR: www-client/seamonkey-1.1.17 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3317: Called die
* The specific snippet of code:
* emake || die;
* The die message:
* (no error message)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/www-client:seamonkey-1.1.17:20090820-101957.log'.
* The ebuild environment file is located at '/var/tmp/portage/www-client/seamonkey-1.1.17/temp/environment'.
*
>>> Failed to emerge www-client/seamonkey-1.1.17, Log file:
>>> '/var/log/portage/www-client:seamonkey-1.1.17:20090820-101957.log'


definitely yesPaulBredbury wrote:Do you have fontconfig installed? It's defined in /usr/include/fontconfig/fontconfig.h

I'm having the same problem as you. Any solution?Andy Crook wrote:Seems like I have problems when using devnull's ebulds with USE flags "-cleartype ubuntu"
I'm unable to merge some packages, i.e. mozilla-thunderbird, seamonkey
...
something's wrong with devnull's libXft (fontoconfig/freetype)?
I didn't looked thoroughly through ubuntu patches yet
p.s. when using cairo, libXft, fontconfig and freetype with default USE "+cleartype" I have no problems emerging this packages

The one solution I used is:natros wrote:I'm having the same problem as you. Any solution?Andy Crook wrote:Seems like I have problems when using devnull's ebulds with USE flags "-cleartype ubuntu"
I'm unable to merge some packages, i.e. mozilla-thunderbird, seamonkey
...
http://hg.core.ws/devnull/rev/18b91fd8d11c#l3.108bi3l wrote:Updated fontconfig to 2.7.2 in both devnull and lcd-filtering.
Code: Select all
<edit name="lcd_filter" mode="assign">Code: Select all
<edit name="lcdfilter" mode="assign">Code: Select all
# cat /etc/fonts/local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<include ignore_missing="yes">/home/manwe/.fonts/vistafonts.conf</include>
<match target="font">
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
<match target="font">
<edit name="antialias" mode="assign"><bool>true</bool></edit>
</match>
<match target="font">
<edit name="autohint" mode="assign"><bool>false</bool></edit>
</match>
<match target="font">
<edit name="hinting" mode="assign"><bool>true</bool></edit>
</match>
<match target="font">
<edit name="hintstyle" mode="assign"><const>hintslight</const></edit>
</match>
<match target="font">
<edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
</match>
<selectfont>
<rejectfont><pattern><patelt name="fontformat"><string>Type 1</string></patelt></pattern></rejectfont>
</selectfont>
<match target="pattern">
<test qual="any" name="family"><string>Courier</string></test>
<edit name="family" mode="assign"><string>Consolas</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Courier</string></test>
<edit name="family" mode="assign"><string>Consolas</string></edit>
</match>
<match target="pattern">
<test qual="any" name="family"><string>Helvetica</string></test>
<edit name="family" mode="assign"><string>Helvetica CE</string></edit>
</match>
</fontconfig>
Code: Select all
<edit name="hinting" mode="assign"><bool>false</bool></edit>
Let's not forget about pixman, which cairo depends on, even though we don't need to patch pixman for the improved LCD font rendering.manwe_ wrote:newest versions
Why 0.16.4 i newer than 0.17.2?PaulBredbury wrote:Let's not forget about pixman, which cairo depends on, even though we don't need to patch pixman for the improved LCD font rendering.
I've started messing with my config, but couldn't get look like with cairo 1.8.6. Then tried your config and... it's greatPaulBredbury wrote:See blurry fonts. Add entries to ~/.fonts.conf for specific font renderings that you don't like. This is the hassle that we have to go through, to set up fonts as we like them, on our hardware. Here's my ~/.fonts.conf as an example.

Even numbers are the "stable" branch, odd numbers are the "unstable" branch.manwe_ wrote:Why is 0.16.4 newer than 0.17.2?