diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2014-05-10 16:50:36 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-05-12 08:38:30 +0200 |
| commit | b4cfe86deb7d027ebcb402f5a256eb78946a5b1d (patch) | |
| tree | 78ab4591b8e797d7c55614118eab4ef1ae0a9567 /meta-oe/recipes-devtools/tcltk | |
| parent | c0045072917a0973a741bd3196a6b5a36a3d0a04 (diff) | |
| download | meta-openembedded-b4cfe86deb7d027ebcb402f5a256eb78946a5b1d.tar.gz | |
tk: Fix build with xft
* xft requires fontconfig, but pkg-config --libs xft doesn't return it
add it manually
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/tcltk')
| -rw-r--r-- | meta-oe/recipes-devtools/tcltk/tk-8.6.0/configure.use.fontconfig.with.xft.patch | 13 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/tcltk/tk_8.6.0.bb | 3 |
2 files changed, 14 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/tcltk/tk-8.6.0/configure.use.fontconfig.with.xft.patch b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/configure.use.fontconfig.with.xft.patch new file mode 100644 index 0000000000..a0c157f5ad --- /dev/null +++ b/meta-oe/recipes-devtools/tcltk/tk-8.6.0/configure.use.fontconfig.with.xft.patch | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | --- a/configure.in.orig 2014-05-10 14:35:39.859147385 +0000 | ||
| 2 | +++ b/configure.in 2014-05-10 14:36:20.282925184 +0000 | ||
| 3 | @@ -554,8 +554,8 @@ | ||
| 4 | dnl make sure package configurator (xft-config or pkg-config | ||
| 5 | dnl says that xft is present. | ||
| 6 | found_xft=yes | ||
| 7 | - XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no" | ||
| 8 | - XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no" | ||
| 9 | + XFT_CFLAGS=`pkg-config --cflags xft fontconfig 2>/dev/null` || found_xft="no" | ||
| 10 | + XFT_LIBS=`pkg-config --libs xft fontconfig 2>/dev/null` || found_xft="no" | ||
| 11 | AC_MSG_RESULT([$found_xft]) | ||
| 12 | dnl make sure that compiling against Xft header file doesn't bomb | ||
| 13 | if test "$found_xft" = "yes" ; then | ||
diff --git a/meta-oe/recipes-devtools/tcltk/tk_8.6.0.bb b/meta-oe/recipes-devtools/tcltk/tk_8.6.0.bb index a5e76e9963..1177d03688 100644 --- a/meta-oe/recipes-devtools/tcltk/tk_8.6.0.bb +++ b/meta-oe/recipes-devtools/tcltk/tk_8.6.0.bb | |||
| @@ -15,8 +15,6 @@ LIC_FILES_CHKSUM = "file://../license.terms;md5=c88f99decec11afa967ad33d314f87fe | |||
| 15 | file://../xlib/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ | 15 | file://../xlib/license.terms;md5=c88f99decec11afa967ad33d314f87fe \ |
| 16 | " | 16 | " |
| 17 | 17 | ||
| 18 | PNBLACKLIST[tk] = "tk8.6.0/unix/libtk8.6.so: error: undefined reference to 'FcCharSetHasChar'" | ||
| 19 | |||
| 20 | DEPENDS = "tcl virtual/libx11 libxt" | 18 | DEPENDS = "tcl virtual/libx11 libxt" |
| 21 | 19 | ||
| 22 | SRC_URI = "\ | 20 | SRC_URI = "\ |
| @@ -26,6 +24,7 @@ SRC_URI = "\ | |||
| 26 | file://tklibrary.diff;striplevel=2 \ | 24 | file://tklibrary.diff;striplevel=2 \ |
| 27 | file://tkprivate.diff;striplevel=2 \ | 25 | file://tkprivate.diff;striplevel=2 \ |
| 28 | file://fix-xft.diff \ | 26 | file://fix-xft.diff \ |
| 27 | file://configure.use.fontconfig.with.xft.patch \ | ||
| 29 | " | 28 | " |
| 30 | SRC_URI[md5sum] = "b883a1a3c489c17413fb602a94bf54e8" | 29 | SRC_URI[md5sum] = "b883a1a3c489c17413fb602a94bf54e8" |
| 31 | SRC_URI[sha256sum] = "5c708b2b6f658916df59190b27750fa1ea2bc10992108e10f961c0700f058de6" | 30 | SRC_URI[sha256sum] = "5c708b2b6f658916df59190b27750fa1ea2bc10992108e10f961c0700f058de6" |
