From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 27 Oct 2004 17:59:18 +0400 From: "Dmitry V. Levin" To: ALT Devel discussion list Subject: Re: [devel] I: freetype2-devel-2.1.9-alt1 is broken? Message-ID: <20041027135918.GC24922@basalt.office.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <20041027110252.GA25425@basalt.office.altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7gGkHNMELEOhSGF6" Content-Disposition: inline In-Reply-To: <20041027110252.GA25425@basalt.office.altlinux.org> X-fingerprint: 9658 398D 181B 1200 8FC5 26B8 F6F8 846B C1E2 3429 X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2004 13:59:25 -0000 Archived-At: List-Archive: List-Post: --7gGkHNMELEOhSGF6 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 27, 2004 at 03:02:52PM +0400, Dmitry V. Levin wrote: > =F0=CF=C8=CF=D6=C5, =DE=D4=CF =CE=CF=D7=D9=CA freetype2-devel =D3=CC=CF= =CD=C1=CC =D3=C2=CF=D2=CB=D5 =D2=C5=C1=CC=D8=CE=CF =C9=D3=D0=CF=CC=D8=DA=D5= =C0=DD=C9=C8 =C5=C7=CF > =D0=C1=CB=C5=D4=CF=D7; =D0=C5=D2=C5=D3=D4=C1=CC=C9 =D3=CF=C2=C9=D2=C1=D4= =D8=D3=D1 =CE=C9=D6=C5=D0=C5=D2=C5=DE=C9=D3=CC=C5=CE=CE=D9=C5 =D0=C1=CB=C5= =D4=D9: > avifile-0.738-alt0.6 > bootsplash-3.0.7-alt1 > camlimages-2.11-alt9.1 > clanlib-0.6.5-alt1.3 > gd1-1.8.4-alt7 > gnome-print-0.36-alt6 > python-module-imaging-1.1.4-alt8 > SDL_ttf-2.0.6-alt2.1 > xpdf-3.00-alt2 >=20 > =F7=CF=D4, =CE=C1=D0=D2=C9=CD=C5=D2, =CC=CF=C7 =D3=C2=CF=D2=CB=C9 =D0=C1= =CB=C5=D4=C1 bootsplash: [...] > gcc -Os -Wall -I/usr/include/freetype2 -c -o ttf.o ttf.c > In file included from ttf.c:13: > /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' has= n't been included yet!" > /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always us= e macros to include FreeType header files." > /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" > /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include " > /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FR= EETYPE_H" > make: *** [ttf.o] Error 1 RTFM (/usr/share/doc/freetype2-2.1.9/docs/CHANGES): [...] LATEST CHANGES BETWEEN 2.1.6 and 2.1.5 [...] III. MISCELLANEOUS - There is now a guard in the public header files to protect against inclusion of freetype.h from FreeType 1. - Direct inclusion of freetype.h and other public header files no longer works. You have to use the documented scheme #include #include FT_FREETYPE_H to load freetype.h with a symbolic name. This protects against renaming of public header files (which shouldn't happen but actually has, avoiding two public header files with the same name). P.S. =EB=D4=CF =D4=C1=CB =D3=C9=CC=D8=CE=CF =C8=CF=D4=C5=CC =CE=CF=D7=D9=CA= freetype2? --=20 ldv --7gGkHNMELEOhSGF6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBf6m29viEa8HiNCkRAjUYAJ4otX/Ul1kuJG6ozyGELh61QUbIswCeIXvC ma/CsvzvjMblDM+ycJDqwrI= =gHT4 -----END PGP SIGNATURE----- --7gGkHNMELEOhSGF6--