Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462686 - media-gfx/inkscape-0.48.4: uses pangoft2 but does not explicitly link it in
Summary: media-gfx/inkscape-0.48.4: uses pangoft2 but does not explicitly link it in
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-22 14:09 UTC by Michael Weiser
Modified: 2014-07-22 13:44 UTC (History)
1 user (show)

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


Attachments
make inkscape's configure look for pangoft2 (inkscape-0.48.4-pangoft2.patch,829 bytes, patch)
2013-03-22 14:10 UTC, Michael Weiser
Details | Diff
adjust ebuild (inkscape-0.48.4.ebuild-pangoft2.patch,487 bytes, patch)
2013-03-22 14:11 UTC, Michael Weiser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weiser 2013-03-22 14:09:25 UTC
upstream bug: https://bugs.launchpad.net/inkscape/+bug/1158787

If gtk+ is compiled with USE="quartz", it does not link against libpangoft2-1.0. This causes link errors with inkscape:

Undefined symbols for architecture x86_64:
  "_pango_fc_font_get_type", referenced from:
      Inkscape::Extension::Internal::CairoRenderContext::renderGlyphtext(_PangoFont*, Geom::Matrix const*, std::vector<Inkscape::Extension::Internal::CairoGlyphInfo, std::allocator<Inkscape::Extension::Internal::CairoGlyphInfo> > const&, SPStyle const*)in libinkscape.a(cairo-render-context.o)
  "_FcPatternGetDouble", referenced from:
      Inkscape::Extension::Internal::CairoRenderContext::renderGlyphtext(_PangoFont*, Geom::Matrix const*, std::vector<Inkscape::Extension::Internal::CairoGlyphInfo, std::allocator<Inkscape::Extension::Internal::CairoGlyphInfo> > const&, SPStyle const*)in libinkscape.a(cairo-render-context.o)
  "_FcPatternAddBool", referenced from:
      FactorySubstituteFunc(_FcPattern*, void*) in libinkscape.a(FontFactory.o)
  "_pango_ft2_font_map_new", referenced from:
      font_factory::font_factory()in libinkscape.a(FontFactory.o)
  "_pango_ft2_font_map_set_resolution", referenced from:
      font_factory::font_factory()in libinkscape.a(FontFactory.o)
  "_pango_ft2_font_map_create_context", referenced from:
      font_factory::font_factory()in libinkscape.a(FontFactory.o)
  "_pango_ft2_font_map_set_default_substitute", referenced from:
      font_factory::font_factory()in libinkscape.a(FontFactory.o)
  "_pango_ft2_font_get_face", referenced from:
      font_instance::MapUnicodeChar(unsigned int)in libinkscape.a(FontInstance.o)
      font_instance::InitTheFace() in libinkscape.a(FontInstance.o)
ld: symbol(s) not found for architecture x86_64

The attached patches fix this for me by explicitly pulling in the pangoft2 libs via pkg-config --libs in inkscape's configure.

Reproducible: Always
Comment 1 Michael Weiser 2013-03-22 14:10:12 UTC
Created attachment 342904 [details, diff]
make inkscape's configure look for pangoft2
Comment 2 Michael Weiser 2013-03-22 14:11:28 UTC
Created attachment 342906 [details, diff]
adjust ebuild
Comment 3 Michael Weiser 2013-03-22 21:46:40 UTC
Fixed upstream. Will be in 0.48.5 and 0.49.
Comment 4 Nikoli 2014-07-20 20:12:57 UTC
inkscape-0.48.5 is in portage now, so may be this bug is fixed?
Comment 5 Michael Weiser 2014-07-22 13:44:14 UTC
(In reply to Nikoli from comment #4)
> inkscape-0.48.5 is in portage now, so may be this bug is fixed?

Indeed, the upstream fix works as advertised. This bug can be closed.

Thanks,
Michael