Bug 78385 - [PATCH] Update Freetype to 2.1.9
Summary: [PATCH] Update Freetype to 2.1.9
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-04 02:20 UTC by Dejan Lesjak
Modified: 2005-03-10 00:46 UTC (History)
0 users

See Also:


Attachments
freetype-219-up.diff (45.28 KB, patch)
2005-03-04 02:20 UTC, Dejan Lesjak
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dejan Lesjak 2005-03-04 02:20:12 UTC
	

Update Freetype to 2.1.9 and fix www/firefox and www/mozilla to build with new Freetype.
This supercedes ports/68747.
This also adds a patch to Freetype that fixes problem with added support for vertical phantom points fixed in Freetype CVS in rev. 1.132 of ttgload.c. Furthermore it adds a patch for pkgconfig to add ${prefix}/include to CFLAGS from anholt in ports/68747.
The fix for Firefox and Mozilla is taken from Mozilla Bugzilla #234035 (patch #149334). A different path has been chosen by Mozilla developers for future versions of Firefox and Mozilla (so mozilla-devel port doesn't need patching) but that approach seems to invasive for current versions of ports (discussion is in mentioned bugzilla entry). These patches should therefore be removed when updating to next Mozilla/Firefox major releases.
Another patch is needed for Mozilla - it is taken from NetBSD pkgsrc (named patch-by), but since it patches the same file as extra-patch-nsSVGLibartGlyphMetricsFT.cpp it has been added to that one and another extra patch (extra-patch2-nsSVGLibartGlyphMetricsFT.cpp) is applied in cases the first one is not. extra-patch2-nsSVGLibartGlyphMetricsFT.cpp should be removed upon upgrade to next major Mozilla release and at least the corresponding part of extra-patch-nsSVGLibartGlyphMetricsFT.cpp removed.

Fix: added/removed files:
print/freetype2:
  added files:
    files/patch-builds::unix::freetype2.in
    files/patch-src::truetype::ttgload.c
  removed files:
    files/patch-src::type1::t1load.c

www/mozilla:
  added files:
    files/extra-patch2-nsSVGLibartGlyphMetricsFT.cpp
    files/patch-bugzilla149334
  removed files:
    files/patch-gfx_src_gtk_nsFontMetricsXft.cpp

www/firefox:
  added files:
    files/patch-bugzilla149334
Comment 1 Xin LI freebsd_committer freebsd_triage 2005-03-04 02:40:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer
Comment 2 Joe Marcus Clarke freebsd_committer freebsd_triage 2005-03-05 09:18:06 UTC
State Changed
From-To: open->patched

The patch has been committed to the MarcusCom CVS repo for testing with the 
upcoming GNOME 2.10.  So far, things look very good.  GNOME 2.10 is slated 
for release on March 9, and if everything goes will, this will be merged 
into the ports tree before 5.4-RELEASE.
Comment 3 Joe Marcus Clarke freebsd_committer freebsd_triage 2005-03-10 00:46:02 UTC
State Changed
From-To: patched->closed

Committed, thanks!