gd 2.0.33: Explicitly disable support for freetype and fontconfig. There are
authorJamie Lenehan <lenehan@twibble.org>
Thu, 15 Mar 2007 23:39:25 +0000 (23:39 +0000)
committerJamie Lenehan <lenehan@twibble.org>
Thu, 15 Mar 2007 23:39:25 +0000 (23:39 +0000)
two issues if this isn't done:
- If you have these built under OE then support for them will be included,
  otherwise it won't be. Explicitly disabling these ensures support is never
  included.
- If you don't have these built under OE it will attempt to use the host
  versions of these libraries. (Picked up be insane.bbclass).

packages/gd/gd_2.0.33.bb

index 78500bb..7c1f7c3 100644 (file)
@@ -2,7 +2,7 @@ SECTION = "libs"
 LICENSE = "GD"
 DESCRIPTION = "gd is a library used to create PNG, JPEG, or WBMP images."
 DEPENDS = "libpng jpeg zlib"
-PR = "r0"
+PR = "r1"
 
 SRC_URI = "http://www.boutell.com/gd/http/gd-${PV}.tar.gz"
 S = "${WORKDIR}/gd-${PV}"
@@ -12,6 +12,8 @@ inherit autotools binconfig gettext
 EXTRA_OECONF += " --with-zlib=${STAGING_LIBDIR}/.. \
                   --with-png=${STAGING_LIBDIR}/.. \
                   --with-jpeg=${STAGING_LIBDIR}/.. \
+                  --without-freetype \
+                  --without-fontconfig \
                   --without-xpm \
                   --without-x"