Date: Thu, 7 Apr 2005 03:06:47 -0700 (PDT) From: Ted Mittelstaedt <tedm@toybox.placo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/79619: Firefox port needs to list Freetype 2.1.9 as a dependency Message-ID: <200504071006.j37A6l9c002644@tedsbsddesk.ipinc.net> Resent-Message-ID: <200504071010.j37AA3xP047702@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 79619 >Category: ports >Synopsis: Firefox port needs to list Freetype 2.1.9 as a dependency >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 07 10:10:03 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Ted Mittelstaedt >Release: FreeBSD 4.11-RELEASE i386 >Organization: >Environment: System: FreeBSD tedsbsddesk.ipinc.net 4.11-RELEASE FreeBSD 4.11-RELEASE #0: Wed Mar 30 15:37:56 PST 2005 root@tedsbsddesk.ipinc.net:/usr/src/sys/compile/TEDSDESK i386 >Description: During installation of FreeBSD 4.11-RELEASE if you select to install Xfree it installs Freetype 2.1.7. This version of Freetype is too old for the current port of Firefox. If you install the FreeBSD ports then do a cvsup to get the ports to the current level (which is necessary to build Firefox) then when you install Firefox it will use the existing Freetype and the compilation of Firefox will abort with the error messages: FontMetricsPS.cpp: In method `nsresult nsFontPSFreeType::Init(nsITrueTypeFontCatalogEntry *, nsPSFontGenerator *)': nsFontMetricsPS.cpp:1144: `struct FTC_ImageTypeRec_' has no member named `face_id' nsFontMetricsPS.cpp:1145: `struct FTC_ImageTypeRec_' has no member named `width' nsFontMetricsPS.cpp:1146: `struct FTC_ImageTypeRec_' has no member named `height' nsFontMetricsPS.cpp: In method `struct FT_FaceRec_ * nsFontPSFreeType::getFTFace()': nsFontMetricsPS.cpp:1231: `struct FTC_ImageTypeRec_' has no member named `face_id' nsFontMetricsPS.cpp: In method `void nsFT2Type8Generator::GeneratePSFont(FILE *)': nsFontMetricsPS.cpp:1625: `struct FTC_ImageTypeRec_' has no member named `face_id' nsFontMetricsPS.cpp:1627: `struct FTC_ImageTypeRec_' has no member named `width' nsFontMetricsPS.cpp:1628: `struct FTC_ImageTypeRec_' has no member named `height' nsFontMetricsPS.cpp:1633: `struct FTC_ImageTypeRec_' has no member named `face_id' gmake[4]: *** [nsFontMetricsPS.o] Error 1 gmake[4]: Leaving directory `/usr/ports/www/firefox/work/mozilla/gfx/src/ps' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/usr/ports/www/firefox/work/mozilla/gfx/src' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/gfx' gmake[1]: *** [tier_9] Error 2 gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla' gmake: *** [default] Error 2 *** Error code 2 This was noticed on PR amd64/78913. but nobody checked to see if the newer version of Freetype was installed under FreeBSD 4.11 RELEASE. A dependency on Freetype2 2.1.9 needs to be used to the Firefox port. Here is the current dependency list, as you can see it lists the older version of Freetype: tedsbsddesk# pkg_info -r firefox-1.0.2,1 Information for firefox-1.0.2,1: Depends on: Dependency: jpeg-6b_3 Dependency: expat-1.95.8 Dependency: libiconv-1.9.2_1 Dependency: png-1.2.8 Dependency: pkgconfig-0.15.0_1 Dependency: gettext-0.14.1 Dependency: glib-2.6.3_1 Dependency: tiff-3.7.1_2 Dependency: libxml2-2.6.18 Dependency: freetype2-2.1.7_4 Dependency: fontconfig-2.2.3,1 Dependency: lcms-1.14,1 Dependency: libmng-1.0.8 Dependency: XFree86-libraries-4.4.0_3 Dependency: popt-1.7 Dependency: bitstream-vera-1.10 Dependency: libXft-2.1.6 Dependency: shared-mime-info-0.15_9 Dependency: freetype2-2.1.9 Dependency: hicolor-icon-theme-0.5 Dependency: libIDL-0.8.5_1 Dependency: XFree86-fontEncodings-4.4.0 Dependency: desktop-file-utils-0.10_2 Dependency: gnomehier-2.0_6 Dependency: atk-1.9.1 Dependency: XFree86-fontScalable-4.4.0_1 Dependency: pango-1.8.1 Dependency: gtk-2.6.4_1 >How-To-Repeat: >Fix: Temporary workaround: After cvsupdating ports, cd /usr/ports/print/freetype2 and issue "make "FORCE_PKG_REGISTER=YES" install" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504071006.j37A6l9c002644>