summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.diff14
-rw-r--r--meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff4
-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_8.6.10.bb (renamed from meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb)7
6 files changed, 11 insertions, 76 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
deleted file mode 100644
index a0c157f5ad..0000000000
--- a/meta-oe/recipes-devtools/tcltk/tk/configure.use.fontconfig.with.xft.patch
+++ /dev/null
@@ -1,13 +0,0 @@
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
index 8cc07bcfac..229acf3e7a 100644
--- a/meta-oe/recipes-devtools/tcltk/tk/confsearch.diff
+++ b/meta-oe/recipes-devtools/tcltk/tk/confsearch.diff
@@ -16,31 +16,31 @@ Index: a/unix/configure
16=================================================================== 16===================================================================
17--- a/unix/configure.orig 17--- a/unix/configure.orig
18+++ b/unix/configure 18+++ b/unix/configure
19@@ -1432,6 +1432,7 @@ echo "$as_me: error: ${with_tclconfig} d 19@@ -1431,6 +1431,7 @@ echo "$as_me: error: ${with_tclconfig} d
20 `ls -d /usr/local/lib 2>/dev/null` \ 20 `ls -d /usr/local/lib 2>/dev/null` \
21 `ls -d /usr/contrib/lib 2>/dev/null` \ 21 `ls -d /usr/contrib/lib 2>/dev/null` \
22 `ls -d /usr/pkg/lib 2>/dev/null` \ 22 `ls -d /usr/pkg/lib 2>/dev/null` \
23+ `ls -d /usr/share/tcltk/tcl8.6 2>/dev/null` \ 23+ `ls -d /usr/share/tcltk/tcl8.6 2>/dev/null` \
24 `ls -d /usr/lib/tcl8.6 2>/dev/null` \
24 `ls -d /usr/lib 2>/dev/null` \ 25 `ls -d /usr/lib 2>/dev/null` \
25 `ls -d /usr/lib64 2>/dev/null` \ 26 `ls -d /usr/lib64 2>/dev/null` \
26 `ls -d /usr/local/lib/tcl8.6 2>/dev/null` \
27Index: a/unix/tcl.m4 27Index: a/unix/tcl.m4
28=================================================================== 28===================================================================
29--- a/unix/tcl.m4.orig 29--- a/unix/tcl.m4.orig
30+++ b/unix/tcl.m4 30+++ b/unix/tcl.m4
31@@ -94,6 +94,7 @@ AC_DEFUN([SC_PATH_TCLCONFIG], [ 31@@ -93,6 +93,7 @@ AC_DEFUN([SC_PATH_TCLCONFIG], [
32 `ls -d /usr/local/lib 2>/dev/null` \ 32 `ls -d /usr/local/lib 2>/dev/null` \
33 `ls -d /usr/contrib/lib 2>/dev/null` \ 33 `ls -d /usr/contrib/lib 2>/dev/null` \
34 `ls -d /usr/pkg/lib 2>/dev/null` \ 34 `ls -d /usr/pkg/lib 2>/dev/null` \
35+ `ls -d /usr/share/tcltk/tcl8.6 2>/dev/null` \ 35+ `ls -d /usr/share/tcltk/tcl8.6 2>/dev/null` \
36 `ls -d /usr/lib/tcl8.6 2>/dev/null` \
36 `ls -d /usr/lib 2>/dev/null` \ 37 `ls -d /usr/lib 2>/dev/null` \
37 `ls -d /usr/lib64 2>/dev/null` \ 38 `ls -d /usr/lib64 2>/dev/null` \
38 `ls -d /usr/local/lib/tcl8.6 2>/dev/null` \ 39@@ -226,6 +227,7 @@ AC_DEFUN([SC_PATH_TKCONFIG], [
39@@ -227,6 +228,7 @@ AC_DEFUN([SC_PATH_TKCONFIG], [
40 `ls -d /usr/local/lib 2>/dev/null` \ 40 `ls -d /usr/local/lib 2>/dev/null` \
41 `ls -d /usr/contrib/lib 2>/dev/null` \ 41 `ls -d /usr/contrib/lib 2>/dev/null` \
42 `ls -d /usr/pkg/lib 2>/dev/null` \ 42 `ls -d /usr/pkg/lib 2>/dev/null` \
43+ `ls -d /usr/share/tcltk/tk8.6 2>/dev/null` \ 43+ `ls -d /usr/share/tcltk/tcl8.6 2>/dev/null` \
44 `ls -d /usr/lib/tk8.6 2>/dev/null` \
44 `ls -d /usr/lib 2>/dev/null` \ 45 `ls -d /usr/lib 2>/dev/null` \
45 `ls -d /usr/lib64 2>/dev/null` \ 46 `ls -d /usr/lib64 2>/dev/null` \
46 `ls -d /usr/local/lib/tk8.6 2>/dev/null` \
diff --git a/meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff b/meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff
index d1bb7105c6..4aa5d6b894 100644
--- a/meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff
+++ b/meta-oe/recipes-devtools/tcltk/tk/fix-xft.diff
@@ -8,8 +8,8 @@
8- XFT_LIBS=`xft-config --libs 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 9- if test "$found_xft" = "no" ; then
10 found_xft=yes 10 found_xft=yes
11 XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no" 11 XFT_CFLAGS=`pkg-config --cflags xft fontconfig 2>/dev/null` || found_xft="no"
12 XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no" 12 XFT_LIBS=`pkg-config --libs xft fontconfig 2>/dev/null` || found_xft="no"
13- fi 13- fi
14 AC_MSG_RESULT([$found_xft]) 14 AC_MSG_RESULT([$found_xft])
15 dnl make sure that compiling against Xft header file doesn't bomb 15 dnl make sure that compiling against Xft header file doesn't bomb
diff --git a/meta-oe/recipes-devtools/tcltk/tk/non-linux.diff b/meta-oe/recipes-devtools/tcltk/tk/non-linux.diff
deleted file mode 100644
index 7d31f9fdca..0000000000
--- a/meta-oe/recipes-devtools/tcltk/tk/non-linux.diff
+++ /dev/null
@@ -1,27 +0,0 @@
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
deleted file mode 100644
index ee38c2a1a5..0000000000
--- a/meta-oe/recipes-devtools/tcltk/tk/tklibrary.diff
+++ /dev/null
@@ -1,22 +0,0 @@
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_8.6.9.bb b/meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb
index 3d77670749..b564e12603 100644
--- a/meta-oe/recipes-devtools/tcltk/tk_8.6.9.bb
+++ b/meta-oe/recipes-devtools/tcltk/tk_8.6.10.bb
@@ -20,14 +20,11 @@ DEPENDS = "tcl virtual/libx11 libxt"
20SRC_URI = "\ 20SRC_URI = "\
21 ${SOURCEFORGE_MIRROR}/tcl/${BPN}${PV}-src.tar.gz \ 21 ${SOURCEFORGE_MIRROR}/tcl/${BPN}${PV}-src.tar.gz \
22 file://confsearch.diff;striplevel=2 \ 22 file://confsearch.diff;striplevel=2 \
23 file://non-linux.diff;striplevel=2 \
24 file://tklibrary.diff;striplevel=2 \
25 file://tkprivate.diff;striplevel=2 \ 23 file://tkprivate.diff;striplevel=2 \
26 file://fix-xft.diff \ 24 file://fix-xft.diff \
27 file://configure.use.fontconfig.with.xft.patch \
28" 25"
29SRC_URI[md5sum] = "e3cf6290999ee30651d75864eccfec63" 26SRC_URI[md5sum] = "602a47ad9ecac7bf655ada729d140a94"
30SRC_URI[sha256sum] = "d3f9161e8ba0f107fe8d4df1f6d3a14c30cc3512dfc12a795daa367a27660dac" 27SRC_URI[sha256sum] = "63df418a859d0a463347f95ded5cd88a3dd3aaa1ceecaeee362194bc30f3e386"
31 28
32S = "${WORKDIR}/${BPN}${PV}/unix" 29S = "${WORKDIR}/${BPN}${PV}/unix"
33 30