Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11559 - pango-1.1.3.ebuild and xfree-4.2.99.3.ebuild
Summary: pango-1.1.3.ebuild and xfree-4.2.99.3.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-03 22:02 UTC by sa
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sa 2002-12-03 22:02:24 UTC
hello,
the pango-1.1.0-slighthint.patch breaks pango 1.1.3 when compiling it with 
the xfree-4.2.99.3.ebuild's xft.


  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPANGO_ENABLE_BACKEND
-DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\"
-DMODULE_VERSION=\"1.1.0\" -DG_DISABLE_DEPRECATED -I/usr/X11R6/include
-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/X11R6/include -I.. -march=athlon-xp -O3 -pipe -g -Wall -D_REENTRANT
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c pangoft2.c  -fPIC -DPIC
-o pangoft2.lo
  pangoft2.c: In function `pango_ft2_font_get_face':
  pangoft2.c:225: `FC_HINT_STYLE' undeclared (first use in this function)
  pangoft2.c:225: (Each undeclared identifier is reported only once
  pangoft2.c:225: for each function it appears in.)
  pangoft2.c:226: `FC_HINT_FULL' undeclared (first use in this function)
  pangoft2.c:228: `FC_HINT_NONE' undeclared (first use in this function)
  pangoft2.c:232: `FC_HINT_SLIGHT' undeclared (first use in this function)
  pangoft2.c:233: `FT_HINT_NO_INTEGER_STEM' undeclared (first use in this function
)
  pangoft2.c:233: `FT_HINT_NO_VSTEM_ALIGN' undeclared (first use in this function)
  pangoft2.c:235: `FC_HINT_MEDIUM' undeclared (first use in this function)
  pangoft2.c:263: warning: implicit declaration of function `FT_Set_Hint_Flags'
  make[3]: *** [pangoft2.lo] Error 1
  make[3]: Leaving directory `/var/tmp/portage/pango-1.1.3/work/pango-1.1.3/pango'
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory `/var/tmp/portage/pango-1.1.3/work/pango-1.1.3/pango'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/var/tmp/portage/pango-1.1.3/work/pango-1.1.3'
  make: *** [all-recursive-am] Error 2

  !!! ERROR: x11-libs/pango-1.1.3 failed.
  !!! Function src_compile, Line 47, Exitcode 2
  !!! serial make failed

pango compiles without errors when I comment out the following line in the ebuild.
#    epatch ${FILESDIR}/pango-1.1.0-slighthint.patch

im not sure if commenting this out is the appropriate fix.

thanks!
sa
Comment 1 Marcus Bradley 2002-12-07 16:30:56 UTC
The new version of xfree-4.2.1 overwrites the Xft.h belonging to xft-2.0.  
Remerging xft will fix the problem.
Comment 2 sa 2002-12-07 19:44:54 UTC
This bug only applies to xfree-4.2.99.3, which uses its own xft2. 
If I try to use the xft2.0 ebuild for xfree-4.2.99.3 it breaks.

I figured out this bug is because gentoo's fonconfig is patched with
/usr/portage/media-libs/fontconfig/files/patch/fontconfig-0.0.1.020811.1151-slighthint.patch,
and xfree-4.2.99.3's fontconfig isnt patched with it. Again xfree-4.2.99.3 has
to use its internal fontconfig or else fonts wont work.

Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-12-24 09:32:24 UTC
dunno if this is still valid with 4.2.99.3?
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-24 13:10:42 UTC
It depends.  If you remerge fontconfig and then the xfree-4.2.99.3-r1 I commited
a few moments ago that again remove the fontconfig stuff after the change to
site.def, it should work fine.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-25 17:59:39 UTC
Like I said, with latest versions of xfree, fontconfig, xft and freetype it
works.