Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/graphics
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28656

Modified Files:
        gd2.info 
Added Files:
        gd2.patch 
Log Message:
new version (with freetype2 support restored)


--- NEW FILE: gd2.patch ---
diff -ruN gd-2.0.23/gdft.c gd-2.0.23-patched/gdft.c
--- gd-2.0.23/gdft.c    Tue Apr 20 09:13:18 2004
+++ gd-2.0.23-patched/gdft.c    Fri May 21 13:54:06 2004
@@ -1070,7 +1070,9 @@
        }
 
 /* EAM DEBUG */
-#if (defined(FREETYPE_MAJOR) && (FREETYPE_MAJOR >=2 ) && (FREETYPE_MINOR >= 1))
+/* TBB: get this exactly right: 2.1.3 *or better*, all possible cases. */
+
+#if ((defined(FREETYPE_MAJOR)) && (((FREETYPE_MAJOR == 2) && (((FREETYPE_MINOR == 1) 
&& (FREETYPE_PATCH >= 3)) || (FREETYPE_MINOR > 1))) || (FREETYPE_MAJOR > 2)))
       if (font->face->charmap->encoding == FT_ENCODING_MS_SYMBOL)
        {
          /* I do not know the significance of the constant 0xf000. */

Index: gd2.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/graphics/gd2.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- gd2.info    14 May 2004 10:49:23 -0000      1.2
+++ gd2.info    22 May 2004 20:06:55 -0000      1.3
@@ -1,17 +1,17 @@
 Package: gd2
 Version: 2.0.23
-Revision: 11
+Revision: 25
 Depends: %N-shlibs (= %v-%r)
 BuildDepends: libpng3, libjpeg (>= 6b-3), fink (>= 0.9.9-1), x11, libiconv-dev, 
x11-dev
 Conflicts: gd
 Replaces: gd, gd209
 Source: http://www.boutell.com/gd/http/gd-%v.tar.gz
 Source-MD5: 3bcd6daef3eb7b31ddc68a7d54b98c15
+Patch: %n.patch
 NoSetCPPFLAGS: True
 SetCPPFLAGS: -fno-common -I%p/include
 SetLDFLAGS: -liconv
-#ConfigureParams: --with-freetype=%p
-ConfigureParams: --without-freetype
+ConfigureParams: --with-freetype=/usr/X11R6
 CompileScript: <<
  ./configure %c
  make CCLD="gcc -L./.libs"
@@ -23,7 +23,7 @@
   Depends: libpng3-shlibs, libjpeg-bin, x11-shlibs, x11
   Replaces: gd209-shlibs
   Files: lib/libgd.2*.dylib
-  Shlibs: %p/lib/libgd.2.dylib 3.0.0 %n (>= 2.0.23-1)
+  Shlibs: %p/lib/libgd.2.dylib 3.0.0 %n (>= 2.0.23-25)
   Description: Shared libraries for gd2 package
   DocFiles: COPYING index.html
 <<
@@ -48,9 +48,9 @@
   invoke it.
  When an older version is installed, the wrong library version may be
   linked against; the CCLD="gcc -L./.libs" is a workaround for this.
-
- Version 2.0.23: we are leaving out freetype2 support for now, since it
-  is hard to get it to link against the correct copy of freetype
+ A small patch is needed in order to allow this to link to the version
+  of the freetype2 library supplied with Panther.  (Patch sent upstream
+  on 21 May 2004.)
 <<
 DescPackaging: <<
  This package is based on previous work by Chris Pepper, Jeremy Higgs



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to