From owner-freebsd-ports Fri Sep 14 0:19:24 2001 Delivered-To: freebsd-ports@freebsd.org Received: from embelia.wanadoo.fr (smtp-rt-7.wanadoo.fr [193.252.19.161]) by hub.freebsd.org (Postfix) with ESMTP id E1CAB37B413; Fri, 14 Sep 2001 00:19:01 -0700 (PDT) Received: from amyris.wanadoo.fr (193.252.19.150) by embelia.wanadoo.fr; 14 Sep 2001 09:19:00 +0200 Received: from florent (193.252.194.130) by amyris.wanadoo.fr; 14 Sep 2001 09:18:55 +0200 Message-ID: <006301c13ced$83b3f810$0300a8c0@florent> From: "Florent CHANTRET" To: Cc: Subject: Fw: FreeBSD Port: php4-4.0.6_1 Date: Fri, 14 Sep 2001 09:18:16 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_005C_01C13CFE.2FA448E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Disposition-Notification-To: "Florent CHANTRET" X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org C'est un message de format MIME en plusieurs parties. ------=_NextPart_000_005C_01C13CFE.2FA448E0 Content-Type: multipart/related; type="multipart/alternative"; boundary="----=_NextPart_001_005D_01C13CFE.2FA448E0" ------=_NextPart_001_005D_01C13CFE.2FA448E0 Content-Type: multipart/alternative; boundary="----=_NextPart_002_005E_01C13CFE.2FA448E0" ------=_NextPart_002_005E_01C13CFE.2FA448E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks to accuse the good reception of this e-mail, cause there is no = change in the ports collection since the first send of my e-mail. Do you plan to update the PHP with my patch ? The bug is a real fuc*in' = bug that made me sick for days so I think it's a good idea to include it = in the ports cause even if I've now found how to activate the True Type = functions in PHP, I don't think that all users will find how to do. Thanks & respect for your works on BSD. Regards, Florent CHANTRET ----- Original Message -----=20 From: Florent CHANTRET=20 To: dirk@FreeBSD.org=20 Cc: ports@FreeBSD.org=20 Sent: Monday, September 10, 2001 1:27 PM Subject: Fw: FreeBSD Port: php4-4.0.6_1 Hi, I've seen that the patch is not still available on the ports library of = FreeBSD, so here it is cause now, I know how to make a patch. Good idea to include it on the ports library cause actually, PHP doesn't = recognize the function ImageStringTTF to use the true type fonts. The patch must be placed in /usr/ports/www/mod_php4/files Regards, Florent CHANTRET ----- Original Message -----=20 From: Florent CHANTRET=20 To: dirk@FreeBSD.org=20 Cc: ports@FreeBSD.org=20 Sent: Tuesday, September 04, 2001 2:37 PM Subject: FreeBSD Port: php4-4.0.6_1 Hi, I've noticed a bug for PHP 4.0.6 (both in CGI style and in apache = mod) with GD 1.8.4 and Freetype 2.0.4 When you build PHP with GD, GD is correctly build with freetype to write = True Type Fonts. I can verify this with the bundled binary program = gdtestft=20 But PHP doesn't recognized freetype. For it, GD is build without = freetype. So PHP works with GD for creating jpeg and png, but you can't = use the TTF functions. I've seen how to resolve the problem and I have done it manually but I = don't know how to make a patch file to include in the ports of FreeBSD. = So here is the thing to do : In the decompressed archive for php, we must change in ext/gd/gd.c the = following line : # if HAVE_LIBGD20 & HAVE_LIBFREETYPE to # if HAVE_LIBFREETYPE And then it should work. If you want, you can see the complete thread concerning this bug here : = http://www.php.net/bugs.php?id=3D12065&edit=3D1 Regards, Florent CHANTRET ------=_NextPart_002_005E_01C13CFE.2FA448E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Thanks to accuse the good reception of = this e-mail,=20 cause there is no change in the ports collection since the first send of = my=20 e-mail.
 
Do you plan to update the PHP with my = patch ? The=20 bug is a real fuc*in' bug that made me sick for days so I think it's a = good idea=20 to include it in the ports cause even if I've now found how to activate = the True=20 Type functions in PHP, I don't think that all users will find how to=20 do.
 
Thanks & respect for your works on=20 BSD.
 
Regards,
Florent CHANTRET
 
3D""
----- Original Message -----=20
From: Florent = CHANTRET=20
Sent: Monday, September 10, 2001 1:27 PM
Subject: Fw: FreeBSD Port: php4-4.0.6_1

Hi,
 
I've seen that the patch is not still = available on=20 the ports library of FreeBSD, so here it is cause now, I know how to = make a=20 patch.
 
Good idea to include it on the ports = library cause=20 actually, PHP doesn't recognize the function ImageStringTTF to use the = true type=20 fonts.
 
The patch must be placed in=20 /usr/ports/www/mod_php4/files
 
Regards,
Florent CHANTRET
 
 
----- Original Message -----=20
From: Florent = CHANTRET=20
Sent: Tuesday, September 04, 2001 2:37 PM
Subject: FreeBSD Port: php4-4.0.6_1

Hi, I've noticed a bug for PHP 4.0.6 = (both in CGI=20 style and in apache mod) with GD 1.8.4 and Freetype 2.0.4
 
When you build PHP with GD, GD is = correctly build=20 with freetype to write True Type Fonts. I can verify this with the = bundled=20 binary program gdtestft
 
But PHP doesn't recognized freetype. = For it, GD is=20 build without freetype. So PHP works with GD for creating jpeg and png, = but you=20 can't use the TTF functions.
 
I've seen how to resolve the problem = and I have=20 done it manually but I don't know how to make a patch file to include in = the=20 ports of FreeBSD. So here is the thing to do :
 
In the decompressed archive for php, we = must change=20 in ext/gd/gd.c the following line :
 
# if HAVE_LIBGD20 & HAVE_LIBFREETYPE
 
to
 
# if HAVE_LIBFREETYPE
And then it should work.
 
If you want, you can see the complete = thread=20 concerning this bug here : http://www.p= hp.net/bugs.php?id=3D12065&edit=3D1
 
 
Regards,
Florent = CHANTRET
------=_NextPart_002_005E_01C13CFE.2FA448E0-- ------=_NextPart_001_005D_01C13CFE.2FA448E0 Content-Type: application/octet-stream; name="BSDok.php" Content-Transfer-Encoding: base64 Content-Location: http://www.affilgood.com/BSDok.php R0lGODlhAQABAPcAAP////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////yH5BAEAAAAALAAAAAABAAEA AAgEAAEEBAA7 ------=_NextPart_001_005D_01C13CFE.2FA448E0-- ------=_NextPart_000_005C_01C13CFE.2FA448E0 Content-Type: application/octet-stream; name="patch-ab.dat" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="patch-ab.dat" --- ext/gd/gdbsd.c Sun Sep 9 13:04:53 2001=0A= +++ ext/gd/gd.c Sun Sep 9 13:05:21 2001=0A= @@ -2665,7 +2665,7 @@=0A= fontname =3D (unsigned char *) Z_STRVAL_PP(FONTNAME);=0A= =0A= #ifdef USE_GD_IMGSTRTTF=0A= -# if HAVE_LIBGD20 & HAVE_LIBFREETYPE=0A= +# if HAVE_LIBFREETYPE=0A= error =3D gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, = y, str);=0A= # else=0A= error =3D gdImageStringTTF(im, brect, col, fontname, ptsize, angle, x, = y, str);=0A= ------=_NextPart_000_005C_01C13CFE.2FA448E0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message