summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/tcltk/tk
diff options
context:
space:
mode:
authorLi xin <lixin.fnst@cn.fujitsu.com>2015-08-03 12:14:33 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-08-18 11:38:45 +0200
commitbb0bb692d320866980fd0f22147655b1d3d52451 (patch)
treeaedd211c72f0b17b4cc20186840e54fde00c045d /meta-oe/recipes-devtools/tcltk/tk
parenteaf6a6bc51bdc1d5c6f0c8c4fa22f943533be78c (diff)
downloadmeta-openembedded-bb0bb692d320866980fd0f22147655b1d3d52451.tar.gz
tk: upgrade 8.6.0 -> 8.6.4
update content of non-linux.diff Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/tcltk/tk')
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk/configure.use.fontconfig.with.xft.patch13
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk/confsearch.diff32
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff16
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk/non-linux.diff27
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk/tklibrary.diff22
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk/tkprivate.diff41
6 files changed, 151 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/tcltk/tk/configure.use.fontconfig.with.xft.patch b/meta-oe/recipes-devtools/tcltk/tk/configure.use.fontconfig.with.xft.patch
new file mode 100644
index 000000000..a0c157f5a
--- /dev/null
+++ b/meta-oe/recipes-devtools/tcltk/tk/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/confsearch.diff b/meta-oe/recipes-devtools/tcltk/tk/confsearch.diff
new file mode 100644
index 000000000..c51e47542
--- /dev/null
+++ b/meta-oe/recipes-devtools/tcltk/tk/confsearch.diff
@@ -0,0 +1,32 @@
1Patch by Sergei Golovan allows to find tclConfig.sh in /usr/share/tcltk/tcl8.5
2and tkConfig.sh in /usr/share/tcltk/tk8.5 where they are located in Debian
3installation.
4
5--- tk8.5-8.5.8.orig/unix/configure
6+++ tk8.5-8.5.8/unix/configure
7@@ -1431,6 +1431,7 @@
8 `ls -d ${prefix}/lib 2>/dev/null` \
9 `ls -d /usr/local/lib 2>/dev/null` \
10 `ls -d /usr/contrib/lib 2>/dev/null` \
11+ `ls -d /usr/share/tcltk/tcl8.5 2>/dev/null` \
12 `ls -d /usr/lib 2>/dev/null` \
13 ; do
14 if test -f "$i/tclConfig.sh" ; then
15--- tk8.5-8.5.8.orig/unix/tcl.m4
16+++ tk8.5-8.5.8/unix/tcl.m4
17@@ -93,6 +93,7 @@
18 `ls -d ${prefix}/lib 2>/dev/null` \
19 `ls -d /usr/local/lib 2>/dev/null` \
20 `ls -d /usr/contrib/lib 2>/dev/null` \
21+ `ls -d /usr/share/tcltk/tcl8.5 2>/dev/null` \
22 `ls -d /usr/lib 2>/dev/null` \
23 ; do
24 if test -f "$i/tclConfig.sh" ; then
25@@ -223,6 +224,7 @@
26 `ls -d ${prefix}/lib 2>/dev/null` \
27 `ls -d /usr/local/lib 2>/dev/null` \
28 `ls -d /usr/contrib/lib 2>/dev/null` \
29+ `ls -d /usr/share/tcltk/tk8.5 2>/dev/null` \
30 `ls -d /usr/lib 2>/dev/null` \
31 ; do
32 if test -f "$i/tkConfig.sh" ; then
diff --git a/meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff b/meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff
new file mode 100644
index 000000000..d1bb7105c
--- /dev/null
+++ b/meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff
@@ -0,0 +1,16 @@
1--- /tmp/configure.in 2010-05-19 13:29:03.000000000 +0200
2+++ unix/configure.in 2010-05-19 13:42:05.000000000 +0200
3@@ -526,13 +526,9 @@
4 found_xft="yes"
5 dnl make sure package configurator (xft-config or pkg-config
6 dnl says that xft is present.
7- XFT_CFLAGS=`xft-config --cflags 2>/dev/null` || found_xft="no"
8- XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no"
9- if test "$found_xft" = "no" ; then
10 found_xft=yes
11 XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no"
12 XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no"
13- fi
14 AC_MSG_RESULT([$found_xft])
15 dnl make sure that compiling against Xft header file doesn't bomb
16 if test "$found_xft" = "yes" ; then
diff --git a/meta-oe/recipes-devtools/tcltk/tk/non-linux.diff b/meta-oe/recipes-devtools/tcltk/tk/non-linux.diff
new file mode 100644
index 000000000..7d31f9fdc
--- /dev/null
+++ b/meta-oe/recipes-devtools/tcltk/tk/non-linux.diff
@@ -0,0 +1,27 @@
1Patch by Sergei Golovan (originally by Mike Markley and Chris Waters) fixes
2building on non-linux Debian architectures.
3
4--- tk8.5-8.5.8.orig/unix/configure
5+++ tk8.5-8.5.8/unix/configure
6@@ -4447,6 +4447,9 @@
7 if test "`uname -s`" = "AIX" ; then
8 tcl_cv_sys_version=AIX-`uname -v`.`uname -r`
9 fi
10+ if test "`uname -s`" = "NetBSD" -a -f /etc/debian_version ; then
11+ tcl_cv_sys_version=NetBSD-Debian
12+ fi
13 fi
14 fi
15
16--- tk8.5-8.5.8.orig/unix/tcl.m4
17+++ tk8.5-8.5.8/unix/tcl.m4
18@@ -962,6 +962,9 @@
19 if test "`uname -s`" = "AIX" ; then
20 tcl_cv_sys_version=AIX-`uname -v`.`uname -r`
21 fi
22+ if test "`uname -s`" = "NetBSD" -a -f /etc/debian_version ; then
23+ tcl_cv_sys_version=NetBSD-Debian
24+ fi
25 fi
26 fi
27 ])
diff --git a/meta-oe/recipes-devtools/tcltk/tk/tklibrary.diff b/meta-oe/recipes-devtools/tcltk/tk/tklibrary.diff
new file mode 100644
index 000000000..ee38c2a1a
--- /dev/null
+++ b/meta-oe/recipes-devtools/tcltk/tk/tklibrary.diff
@@ -0,0 +1,22 @@
1--- tk8.5-8.5.8.orig/unix/configure
2+++ tk8.5-8.5.8/unix/configure
3@@ -11070,7 +11070,7 @@
4 TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
5 fi
6
7-TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
8+test -z "$TK_LIBRARY" && TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
9 PRIVATE_INCLUDE_DIR='$(includedir)'
10 HTML_DIR='$(DISTDIR)/html'
11 TK_PKG_DIR='tk$(VERSION)'
12--- tk8.5-8.5.8.orig/unix/configure.in
13+++ tk8.5-8.5.8/unix/configure.in
14@@ -607,7 +607,7 @@
15 TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
16 fi
17
18-TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
19+test -z "$TK_LIBRARY" && TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
20 PRIVATE_INCLUDE_DIR='$(includedir)'
21 HTML_DIR='$(DISTDIR)/html'
22 TK_PKG_DIR='tk$(VERSION)'
diff --git a/meta-oe/recipes-devtools/tcltk/tk/tkprivate.diff b/meta-oe/recipes-devtools/tcltk/tk/tkprivate.diff
new file mode 100644
index 000000000..4e1546973
--- /dev/null
+++ b/meta-oe/recipes-devtools/tcltk/tk/tkprivate.diff
@@ -0,0 +1,41 @@
1Patch by Chris Waters sets path which are normally point to a directory
2with Tk sources to a subdirectory of /usr/include/tcl8.4 (debian/rules
3puts private Tk headers there).
4
5--- tk8.5-8.5.8.orig/unix/tkConfig.sh.in
6+++ tk8.5-8.5.8/unix/tkConfig.sh.in
7@@ -55,7 +55,7 @@
8
9 # String to pass to linker to pick up the Tk library from its
10 # build directory.
11-TK_BUILD_LIB_SPEC='@TK_BUILD_LIB_SPEC@'
12+TK_BUILD_LIB_SPEC='@TK_LIB_SPEC@'
13
14 # String to pass to linker to pick up the Tk library from its
15 # installed directory.
16@@ -71,7 +71,7 @@
17 # different place than the directory containing the source files, this
18 # points to the location of the sources, not the location where Tk was
19 # compiled.
20-TK_SRC_DIR='@TK_SRC_DIR@'
21+TK_SRC_DIR='@includedir@/tk-private'
22
23 # Needed if you want to make a 'fat' shared library library
24 # containing tk objects or link a different wish.
25@@ -86,14 +86,14 @@
26
27 # String to pass to linker to pick up the Tk stub library from its
28 # build directory.
29-TK_BUILD_STUB_LIB_SPEC='@TK_BUILD_STUB_LIB_SPEC@'
30+TK_BUILD_STUB_LIB_SPEC='@TK_STUB_LIB_SPEC@'
31
32 # String to pass to linker to pick up the Tk stub library from its
33 # installed directory.
34 TK_STUB_LIB_SPEC='@TK_STUB_LIB_SPEC@'
35
36 # Path to the Tk stub library in the build directory.
37-TK_BUILD_STUB_LIB_PATH='@TK_BUILD_STUB_LIB_PATH@'
38+TK_BUILD_STUB_LIB_PATH='@TK_STUB_LIB_PATH@'
39
40 # Path to the Tk stub library in the install directory.
41 TK_STUB_LIB_PATH='@TK_STUB_LIB_PATH@'