Skip to contentSkip to conversation

tk: Upgrade to 8.6.0

PATCH New Khem Raj 1 participant 1 message Jun 14, 2013

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 tk: Upgrade to 8.6.0

This also fixes the build since tcl is moved to 8.6.0 in OE-Core The licence has been updated a little

This software is copyrighted by the Regents of the University of
-California, Sun Microsystems, Inc., and other parties. The following -terms apply to all files associated with the software unless explicitly -disclaimed in individual files.
+California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState +Corporation, Apple Inc. and other parties. The following terms apply to
+all files associated with the software unless explicitly disclaimed in +individual files.

The authors hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose,
provided
@@ -28,12 +29,12 @@

GOVERNMENT USE: If you are acquiring this software on behalf of the U.S. government, the Government shall have only "Restricted Rights"
-in the software and related documentation as defined in the Federal +in the software and related documentation as defined in the Federal
Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you are acquiring the software on behalf of the Department of Defense, the software shall be classified as "Commercial Computer Software" and the Government shall have only "Restricted Rights" as defined in Clause
-252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the +252.227-7013 (b) (3) of DFARs. Notwithstanding the foregoing, the
authors grant the U.S. Government and others acting in its behalf permission to use and distribute the software in accordance with the terms specified in this license.

---
 .../tcltk/tk-8.5.8/confsearch.diff                 |   32 --------------
 .../recipes-devtools/tcltk/tk-8.5.8/fix-xft.diff   |   16 -------
 .../recipes-devtools/tcltk/tk-8.5.8/manpages.diff  |   23 ----------
 .../recipes-devtools/tcltk/tk-8.5.8/non-linux.diff |   45 --------------------
 meta-oe/recipes-devtools/tcltk/tk-8.5.8/rpath.diff |   40 -----------------
 .../recipes-devtools/tcltk/tk-8.5.8/tklibrary.diff |   22 ----------
 .../recipes-devtools/tcltk/tk-8.5.8/tkprivate.diff |   41 ------------------
 .../tcltk/tk-8.6.0/confsearch.diff                 |   32 ++++++++++++++
 .../recipes-devtools/tcltk/tk-8.6.0/fix-xft.diff   |   16 +++++++
 .../recipes-devtools/tcltk/tk-8.6.0/non-linux.diff |   45 ++++++++++++++++++++
 .../recipes-devtools/tcltk/tk-8.6.0/tklibrary.diff |   22 ++++++++++
 .../recipes-devtools/tcltk/tk-8.6.0/tkprivate.diff |   41 ++++++++++++++++++
 meta-oe/recipes-devtools/tcltk/tk_8.5.8.bb         |   44 -------------------
 meta-oe/recipes-devtools/tcltk/tk_8.6.0.bb         |   41 ++++++++++++++++++
 14 files changed, 197 insertions(+), 263 deletions(-)
 delete mode 100644 meta-oe/recipes-devtools/tcltk/tk-8.5.8/confsearch.diff
 delete mode 100644 meta-oe/recipes-devtools/tcltk/tk-8.5.8/fix-xft.diff
 delete mode 100644 meta-oe/recipes-devtools/tcltk/tk-8.5.8/manpages.diff
 delete mode 100644 meta-oe/recipes-devtools/tcltk/tk-8.5.8/non-linux.diff
 delete mode 100644 meta-oe/recipes-devtools/tcltk/tk-8.5.8/rpath.diff
 delete mode 100644 meta-oe/recipes-devtools/tcltk/tk-8.5.8/tklibrary.diff
 delete mode 100644 meta-oe/recipes-devtools/tcltk/tk-8.5.8/tkprivate.diff
 create mode 100644 meta-oe/recipes-devtools/tcltk/tk-8.6.0/confsearch.diff
 create mode 100644 meta-oe/recipes-devtools/tcltk/tk-8.6.0/fix-xft.diff
 create mode 100644 meta-oe/recipes-devtools/tcltk/tk-8.6.0/non-linux.diff
 create mode 100644 meta-oe/recipes-devtools/tcltk/tk-8.6.0/tklibrary.diff
 create mode 100644 meta-oe/recipes-devtools/tcltk/tk-8.6.0/tkprivate.diff
 delete mode 100644 meta-oe/recipes-devtools/tcltk/tk_8.5.8.bb
 create mode 100644 meta-oe/recipes-devtools/tcltk/tk_8.6.0.bb
meta-oe/recipes-devtools/tcltk/tk-8.5.8/confsearch.diff deleted +0 -32
deleted file mode 100644
index c51e475..0000000
@@ -1,32 +0,0 @@
-Patch by Sergei Golovan allows to find tclConfig.sh in /usr/share/tcltk/tcl8.5
-and tkConfig.sh in /usr/share/tcltk/tk8.5 where they are located in Debian
-installation.
-
---- tk8.5-8.5.8.orig/unix/configure
-+++ tk8.5-8.5.8/unix/configure
-@@ -1431,6 +1431,7 @@
- 			`ls -d ${prefix}/lib 2>/dev/null` \
- 			`ls -d /usr/local/lib 2>/dev/null` \
- 			`ls -d /usr/contrib/lib 2>/dev/null` \
-+			`ls -d /usr/share/tcltk/tcl8.5 2>/dev/null` \
- 			`ls -d /usr/lib 2>/dev/null` \
- 			; do
- 		    if test -f "$i/tclConfig.sh" ; then
---- tk8.5-8.5.8.orig/unix/tcl.m4
-+++ tk8.5-8.5.8/unix/tcl.m4
-@@ -93,6 +93,7 @@
- 			`ls -d ${prefix}/lib 2>/dev/null` \
- 			`ls -d /usr/local/lib 2>/dev/null` \
- 			`ls -d /usr/contrib/lib 2>/dev/null` \
-+			`ls -d /usr/share/tcltk/tcl8.5 2>/dev/null` \
- 			`ls -d /usr/lib 2>/dev/null` \
- 			; do
- 		    if test -f "$i/tclConfig.sh" ; then
-@@ -223,6 +224,7 @@
- 			`ls -d ${prefix}/lib 2>/dev/null` \
- 			`ls -d /usr/local/lib 2>/dev/null` \
- 			`ls -d /usr/contrib/lib 2>/dev/null` \
-+			`ls -d /usr/share/tcltk/tk8.5 2>/dev/null` \
- 			`ls -d /usr/lib 2>/dev/null` \
- 			; do
- 		    if test -f "$i/tkConfig.sh" ; then
meta-oe/recipes-devtools/tcltk/tk-8.5.8/fix-xft.diff deleted +0 -16
deleted file mode 100644
index d1bb710..0000000
@@ -1,16 +0,0 @@
---- /tmp/configure.in	2010-05-19 13:29:03.000000000 +0200
-+++ unix/configure.in	2010-05-19 13:42:05.000000000 +0200
-@@ -526,13 +526,9 @@
- 	found_xft="yes"
- 	dnl make sure package configurator (xft-config or pkg-config
- 	dnl says that xft is present.
--	XFT_CFLAGS=`xft-config --cflags 2>/dev/null` || found_xft="no"
--	XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no"
--	if test "$found_xft" = "no" ; then
- 	    found_xft=yes
- 	    XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no"
- 	    XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no"
--	fi
- 	AC_MSG_RESULT([$found_xft])
- 	dnl make sure that compiling against Xft header file doesn't bomb
- 	if test "$found_xft" = "yes" ; then
meta-oe/recipes-devtools/tcltk/tk-8.5.8/manpages.diff deleted +0 -23
deleted file mode 100644
index a0620bd..0000000
@@ -1,23 +0,0 @@
-Patch by Chris Waters fixes installing of several manual pages which
-aren't installed by upstream script but are referenced inside other
-manual pages.
-
---- tk8.5-8.5.8.orig/unix/installManPage
-+++ tk8.5-8.5.8/unix/installManPage
-@@ -51,7 +51,16 @@
-     }' $MANPAGE`
- 
- SECTION=`echo $MANPAGE | sed 's/.*\(.\)$/\1/'`
-+NAME=`basename $MANPAGE .$SECTION`
- SRCDIR=`dirname $MANPAGE`
-+
-+SPECIALS="FindPhoto"
-+for n in $SPECIALS; do
-+    if [ "$NAME" = "$n" ] ; then
-+	NAMES="$n $NAMES"
-+    fi
-+done
-+
- FIRST=""
- for f in $NAMES; do
-     f=$f.$SECTION$SUFFIX
meta-oe/recipes-devtools/tcltk/tk-8.5.8/non-linux.diff deleted +0 -45

45 lines not on this page · raw message

meta-oe/recipes-devtools/tcltk/tk-8.5.8/rpath.diff deleted +0 -40
deleted file mode 100644
index 81169aa..0000000
@@ -1,40 +0,0 @@
-Patch by Chris Waters removes -rpath from search flags and adds -soname
-to library build options.
-
-Also, it fixes Makefile.in to put correct Tk library filename to pkgIndex.tcl
-
---- tk8.5-8.5.8.orig/unix/configure
-+++ tk8.5-8.5.8/unix/configure
-@@ -5557,6 +5557,9 @@
- 	    # get rid of the warnings.
- 	    #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
- 
-+	    # following line added by CW for Debian GNU/Linux
-+	    TK_SHLIB_LD_EXTRAS="-Wl,-soname,\${TK_LIB_FILE}.0"
-+
- 	    SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
- 	    DL_OBJS="tclLoadDl.o"
- 	    DL_LIBS="-ldl"
---- tk8.5-8.5.8.orig/unix/Makefile.in
-+++ tk8.5-8.5.8/unix/Makefile.in
-@@ -713,7 +713,7 @@
- 	    echo "if {[catch {package present Tcl 8.5.0}]} { return }";\
- 	    relative=`echo | awk '{ORS=" "; split("$(TK_PKG_DIR)",a,"/"); for (f in a) {print ".."}}'`;\
- 	    echo "package ifneeded Tk $(MAJOR_VERSION).$(MINOR_VERSION)$(PATCH_LEVEL)\
--		[list load [file join \$$dir $${relative}$(TK_LIB_FILE)] Tk]";\
-+		[list load [file join $(LIB_RUNTIME_DIR) $(TK_LIB_FILE).0] Tk]";\
- 	    ) > "$(PKG_INDEX)"; \
- 	    fi
- 	@echo "Installing $(LIB_FILE) to $(LIB_INSTALL_DIR)/"
---- tk8.5-8.5.8.orig/unix/tcl.m4
-+++ tk8.5-8.5.8/unix/tcl.m4
-@@ -1433,6 +1433,9 @@
- 	    # get rid of the warnings.
- 	    #CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
- 
-+	    # following line added by CW for Debian GNU/Linux
-+	    TK_SHLIB_LD_EXTRAS="-Wl,-soname,\${TK_LIB_FILE}.0"
-+
- 	    SHLIB_LD='${CC} -shared ${CFLAGS} ${LDFLAGS}'
- 	    DL_OBJS="tclLoadDl.o"
- 	    DL_LIBS="-ldl"
meta-oe/recipes-devtools/tcltk/tk-8.5.8/tklibrary.diff deleted +0 -22
deleted file mode 100644
index ee38c2a..0000000
@@ -1,22 +0,0 @@
---- tk8.5-8.5.8.orig/unix/configure
-+++ tk8.5-8.5.8/unix/configure
-@@ -11070,7 +11070,7 @@
-     TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
- fi
- 
--TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
-+test -z "$TK_LIBRARY" && TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
- PRIVATE_INCLUDE_DIR='$(includedir)'
- HTML_DIR='$(DISTDIR)/html'
- TK_PKG_DIR='tk$(VERSION)'
---- tk8.5-8.5.8.orig/unix/configure.in
-+++ tk8.5-8.5.8/unix/configure.in
-@@ -607,7 +607,7 @@
-     TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
- fi
- 
--TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
-+test -z "$TK_LIBRARY" && TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
- PRIVATE_INCLUDE_DIR='$(includedir)'
- HTML_DIR='$(DISTDIR)/html'
- TK_PKG_DIR='tk$(VERSION)'
meta-oe/recipes-devtools/tcltk/tk-8.5.8/tkprivate.diff deleted +0 -41

41 lines not on this page · raw message

meta-oe/recipes-devtools/tcltk/tk-8.6.0/confsearch.diff new file +32 -0
new file mode 100644
index 0000000..c51e475
@@ -0,0 +1,32 @@
+Patch by Sergei Golovan allows to find tclConfig.sh in /usr/share/tcltk/tcl8.5
+and tkConfig.sh in /usr/share/tcltk/tk8.5 where they are located in Debian
+installation.
+
+--- tk8.5-8.5.8.orig/unix/configure
++++ tk8.5-8.5.8/unix/configure
+@@ -1431,6 +1431,7 @@
+ 			`ls -d ${prefix}/lib 2>/dev/null` \
+ 			`ls -d /usr/local/lib 2>/dev/null` \
+ 			`ls -d /usr/contrib/lib 2>/dev/null` \
++			`ls -d /usr/share/tcltk/tcl8.5 2>/dev/null` \
+ 			`ls -d /usr/lib 2>/dev/null` \
+ 			; do
+ 		    if test -f "$i/tclConfig.sh" ; then
+--- tk8.5-8.5.8.orig/unix/tcl.m4
++++ tk8.5-8.5.8/unix/tcl.m4
+@@ -93,6 +93,7 @@
+ 			`ls -d ${prefix}/lib 2>/dev/null` \
+ 			`ls -d /usr/local/lib 2>/dev/null` \
+ 			`ls -d /usr/contrib/lib 2>/dev/null` \
++			`ls -d /usr/share/tcltk/tcl8.5 2>/dev/null` \
+ 			`ls -d /usr/lib 2>/dev/null` \
+ 			; do
+ 		    if test -f "$i/tclConfig.sh" ; then
+@@ -223,6 +224,7 @@
+ 			`ls -d ${prefix}/lib 2>/dev/null` \
+ 			`ls -d /usr/local/lib 2>/dev/null` \
+ 			`ls -d /usr/contrib/lib 2>/dev/null` \
++			`ls -d /usr/share/tcltk/tk8.5 2>/dev/null` \
+ 			`ls -d /usr/lib 2>/dev/null` \
+ 			; do
+ 		    if test -f "$i/tkConfig.sh" ; then
meta-oe/recipes-devtools/tcltk/tk-8.6.0/fix-xft.diff new file +16 -0
new file mode 100644
index 0000000..d1bb710
@@ -0,0 +1,16 @@
+--- /tmp/configure.in	2010-05-19 13:29:03.000000000 +0200
++++ unix/configure.in	2010-05-19 13:42:05.000000000 +0200
+@@ -526,13 +526,9 @@
+ 	found_xft="yes"
+ 	dnl make sure package configurator (xft-config or pkg-config
+ 	dnl says that xft is present.
+-	XFT_CFLAGS=`xft-config --cflags 2>/dev/null` || found_xft="no"
+-	XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no"
+-	if test "$found_xft" = "no" ; then
+ 	    found_xft=yes
+ 	    XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no"
+ 	    XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no"
+-	fi
+ 	AC_MSG_RESULT([$found_xft])
+ 	dnl make sure that compiling against Xft header file doesn't bomb
+ 	if test "$found_xft" = "yes" ; then
meta-oe/recipes-devtools/tcltk/tk-8.6.0/non-linux.diff new file +45 -0

45 lines not on this page · raw message

meta-oe/recipes-devtools/tcltk/tk-8.6.0/tklibrary.diff new file +22 -0
new file mode 100644
index 0000000..ee38c2a
@@ -0,0 +1,22 @@
+--- tk8.5-8.5.8.orig/unix/configure
++++ tk8.5-8.5.8/unix/configure
+@@ -11070,7 +11070,7 @@
+     TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
+ fi
+ 
+-TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
++test -z "$TK_LIBRARY" && TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
+ PRIVATE_INCLUDE_DIR='$(includedir)'
+ HTML_DIR='$(DISTDIR)/html'
+ TK_PKG_DIR='tk$(VERSION)'
+--- tk8.5-8.5.8.orig/unix/configure.in
++++ tk8.5-8.5.8/unix/configure.in
+@@ -607,7 +607,7 @@
+     TCL_STUB_FLAGS="-DUSE_TCL_STUBS"
+ fi
+ 
+-TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
++test -z "$TK_LIBRARY" && TK_LIBRARY='$(prefix)/lib/tk$(VERSION)'
+ PRIVATE_INCLUDE_DIR='$(includedir)'
+ HTML_DIR='$(DISTDIR)/html'
+ TK_PKG_DIR='tk$(VERSION)'
meta-oe/recipes-devtools/tcltk/tk-8.6.0/tkprivate.diff new file +41 -0

41 lines not on this page · raw message

meta-oe/recipes-devtools/tcltk/tk_8.5.8.bb deleted +0 -44

44 lines not on this page · raw message

meta-oe/recipes-devtools/tcltk/tk_8.6.0.bb new file +41 -0

41 lines not on this page · raw message

Signature · 1 line
1.7.9.5