summaryrefslogtreecommitdiff
path: root/packages/icewm/icewm-1.2.20
diff options
context:
space:
mode:
authorRaymond Danks <raymond@edanks.com>2006-07-24 16:08:32 +0000
committerRaymond Danks <raymond@edanks.com>2006-07-24 16:08:32 +0000
commit1e6438c6cb5d855c836018d621be963eed44ae11 (patch)
treec4f3db8c2366133c9fffd0bc23d9f1eddd7d99a7 /packages/icewm/icewm-1.2.20
parentcbe58c1e1ca9714d8dd7fcd6391a4dd45ced0936 (diff)
icewm - configure patch for using pkgconfig to find libxft.
- point to correct X includes, libs, and mkfontdir-native. - upgrade to icewm version 1.2.26.
Diffstat (limited to 'packages/icewm/icewm-1.2.20')
-rw-r--r--packages/icewm/icewm-1.2.20/configure.patch68
1 files changed, 68 insertions, 0 deletions
diff --git a/packages/icewm/icewm-1.2.20/configure.patch b/packages/icewm/icewm-1.2.20/configure.patch
new file mode 100644
index 0000000000..d6071bf260
--- /dev/null
+++ b/packages/icewm/icewm-1.2.20/configure.patch
@@ -0,0 +1,68 @@
+--- icewm-1.2.20/configure.in.orig 2006-06-17 18:03:43.000000000 -0600
++++ icewm-1.2.20/configure.in 2006-06-17 18:03:45.000000000 -0600
+@@ -426,32 +426,43 @@
+ AC_MSG_ERROR("xfreetype or core fonts must be enabled")
+ fi
+ if test "$enable_xfreetype" != "no" -o "$enable_xfreetype" = "implied"; then
+- AC_PATH_PROG(XFT_CONFIG, xft-config,, ${with_xft_arg-${PATH}})
+- if test "${XFT_CONFIG}" != ""; then
+- XFT_CFLAGS=`${XFT_CONFIG} --cflags`
+- XFT_LIBS=`${XFT_CONFIG} --libs`
+- AC_DEFINE(CONFIG_XFREETYPE, 2, [Define to enable XFreeType support.])
+- CORE_CFLAGS="${CORE_CFLAGS} $XFT_CFLAGS"
+- CORE_LIBS="${CORE_LIBS} $XFT_LIBS"
+- features="${features} xfreetype"
+- else
+- AC_CHECK_HEADERS(X11/Xft/Xft.h,
+- [ AC_CHECK_LIB(Xft, XftDrawCreate,
+- [ AC_DEFINE(CONFIG_XFREETYPE, 1, [Define to enable XFreeType support.])
+- CORE_LIBS="${CORE_LIBS} -lXft"
+- enable_corefonts=yes
+- features="${features} xfreetype" ],
+- [ if test "$enable_xfreetype" != "implied"; then
+- AC_MSG_ERROR([Xft support has been requested but libraries were not found.
++ AC_PATH_PROG(PKG_CONFIG, pkg-config)
++
++ if test "${PKG_CONFIG}" != ""; then
++ XFT_CFLAGS=`${PKG_CONFIG} xft --cflags`
++ XFT_LIBS=`${PKG_CONFIG} xft --libs`
++ AC_DEFINE(CONFIG_XFREETYPE, 2, [Define to enable XFreeType support.])
++ CORE_CFLAGS="${CORE_CFLAGS} $XFT_CFLAGS"
++ CORE_LIBS="${CORE_LIBS} $XFT_LIBS"
++ features="${features} xfreetype"
++ else
++ AC_PATH_PROG(XFT_CONFIG, xft-config,, ${with_xft_arg-${PATH}})
++ if test "${XFT_CONFIG}" != ""; then
++ XFT_CFLAGS=`${XFT_CONFIG} --cflags`
++ XFT_LIBS=`${XFT_CONFIG} --libs`
++ AC_DEFINE(CONFIG_XFREETYPE, 2, [Define to enable XFreeType support.])
++ CORE_CFLAGS="${CORE_CFLAGS} $XFT_CFLAGS"
++ CORE_LIBS="${CORE_LIBS} $XFT_LIBS"
++ features="${features} xfreetype"
++ else
++ AC_CHECK_HEADERS(X11/Xft/Xft.h,
++ [ AC_CHECK_LIB(Xft, XftDrawCreate,
++ [ AC_DEFINE(CONFIG_XFREETYPE, 1, [Define to enable XFreeType support.])
++ CORE_LIBS="${CORE_LIBS} -lXft"
++ enable_corefonts=yes
++ features="${features} xfreetype" ],
++ [ if test "$enable_xfreetype" != "implied"; then
++ AC_MSG_ERROR([Xft support has been requested but libraries were not found.
+ *** Configure your X server to support XFreeType.
+ *** Information about how to do this can be found in RELNOTES for XFree86.])
+- fi ])],
+- [ if test "$enable_xfreetype" != "implied"; then
+- AC_MSG_ERROR([Xft support has been requested but headers were not found.
++ fi ])],
++ [ if test "$enable_xfreetype" != "implied"; then
++ AC_MSG_ERROR([Xft support has been requested but headers were not found.
+ *** Configure your X server to support XFreeType.
+ *** Information about how to do this can be found in RELNOTES for XFree86.])
+- fi ])
+- fi
++ fi ])
++ fi
++ fi
+ fi
+
+ if test "$enable_corefonts" = "yes"; then