Re: NEW: Tcl/Tk 8.6.0

2013-02-03 Thread Stuart Cassoff
On 01/14/13 07:12, Stuart Cassoff wrote:
 Plus the patches for tcl.port.mk and tk.port.mk.
 Tested mostly on i386 and somewhat on amd64.


Use the core dist instead of the bundled one.



Index: Makefile
===
RCS file: /cvs/ports/lang/tcl/8.6/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile2 Feb 2013 11:15:01 -   1.1.1.1
+++ Makefile3 Feb 2013 16:00:21 -
@@ -4,6 +4,7 @@ COMMENT =   Tool Command Language

 DISTNAME = tcl8.6.0
 PKGNAME =  tcl-8.6.0
+REVISION = 0
 SHARED_LIBS =  tcl86 0.0
 CATEGORIES =   lang lang/tcl
 HOMEPAGE = http://www.tcl.tk/
@@ -18,7 +19,7 @@ PERMIT_DISTFILES_FTP =Yes
 WANTLIB =  c m pthread z

 MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=tcl/}
-DISTFILES =${DISTNAME}-src.tar.gz
+DISTFILES =tcl-core8.6.0-src.tar.gz

 MAKE_FLAGS +=  TCL_PACKAGE_PATH='$$(prefix)/lib/tcl' \
TCL_LIBRARY='$$(prefix)/lib/tcl/tcl$$(VERSION)'
Index: distinfo
===
RCS file: /cvs/ports/lang/tcl/8.6/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo2 Feb 2013 11:15:01 -   1.1.1.1
+++ distinfo3 Feb 2013 16:00:21 -
@@ -1,2 +1,2 @@
-SHA256 (tcl8.6.0-src.tar.gz) = NUQiucR5FoVJkSOy3+Afqpi1VcCJBsAQy0RJ3cddyt4=
-SIZE (tcl8.6.0-src.tar.gz) = 8636908
+SHA256 (tcl-core8.6.0-src.tar.gz) = 
xTkVmWuz3doF12X4SLvVURHUS3RAaptnoCBwB4pkWWQ=
+SIZE (tcl-core8.6.0-src.tar.gz) = 5719946




NEW: Tcl/Tk 8.6.0

2013-01-14 Thread Stuart Cassoff
Plus the patches for tcl.port.mk and tk.port.mk.
Tested mostly on i386 and somewhat on amd64.

Stu


Index: tcl.port.mk
===
RCS file: /cvs/ports/lang/tcl/tcl.port.mk,v
retrieving revision 1.13
diff -u -p -r1.13 tcl.port.mk
--- tcl.port.mk 13 Aug 2012 21:06:43 -  1.13
+++ tcl.port.mk 14 Jan 2013 12:06:50 -
@@ -10,6 +10,9 @@ MODTCL_LIB ?= tcl84
 .elif ${MODTCL_VERSION} == 8.5
 _MODTCL_SPEC = tcl-=${MODTCL_VERSION},8.6
 MODTCL_LIB ?=  tcl85
+.elif ${MODTCL_VERSION} == 8.6
+_MODTCL_SPEC = tcl-=${MODTCL_VERSION},8.7
+MODTCL_LIB ?=  tcl86
 .endif

 MODTCL_BIN ?=  ${LOCALBASE}/bin/tclsh${MODTCL_VERSION}



Index: tk.port.mk
===
RCS file: /cvs/ports/x11/tk/tk.port.mk,v
retrieving revision 1.11
diff -u -p -r1.11 tk.port.mk
--- tk.port.mk  5 Jan 2011 16:04:14 -   1.11
+++ tk.port.mk  14 Jan 2013 12:07:03 -
@@ -11,6 +11,9 @@ MODTK_LIB ?=  tk84
 .elif ${MODTK_VERSION} == 8.5
 _MODTK_SPEC =  tk-=${MODTK_VERSION},8.6
 MODTK_LIB ?=   tk85
+.elif ${MODTK_VERSION} == 8.6
+_MODTK_SPEC =  tk-=${MODTK_VERSION},8.7
+MODTK_LIB ?=   tk86
 .endif

 MODTK_BIN ?=   ${LOCALBASE}/bin/wish${MODTK_VERSION}




tcl-8.6.0-port.tar.gz
Description: application/gzip


tk-8.6.0-port.tar.gz
Description: application/gzip


Re: NEW: Tcl/Tk 8.6.0

2013-01-14 Thread Stuart Henderson
On 2013/01/14 07:12, Stuart Cassoff wrote:
 Plus the patches for tcl.port.mk and tk.port.mk.
 Tested mostly on i386 and somewhat on amd64.

I think it may be wise to install the pkg-config files under alternative
names e.g. tcl86.pc, tk86.pc, otherwise this looks good to me.



Re: NEW: Tcl/Tk 8.6.0

2013-01-14 Thread Brad Smith
On Mon, Jan 14, 2013 at 07:12:38AM -0500, Stuart Cassoff wrote:
 Plus the patches for tcl.port.mk and tk.port.mk.
 Tested mostly on i386 and somewhat on amd64.
 
 Stu

And the time frame for removing 8.4 once this goes in?

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: NEW: Tcl/Tk 8.6.0

2013-01-14 Thread Stuart Henderson
On 2013/01/14 08:19, Brad Smith wrote:
 On Mon, Jan 14, 2013 at 07:12:38AM -0500, Stuart Cassoff wrote:
  Plus the patches for tcl.port.mk and tk.port.mk.
  Tested mostly on i386 and somewhat on amd64.
  
  Stu
 
 And the time frame for removing 8.4 once this goes in?
 
 -- 
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 

8.5 breaks fonts and I believe possibly also debug logging in exmh.
Otherwise there's not much standing in the way, I have sent diffs out
for most things that still use 8.4, just one or two more to do.




Re: NEW: Tcl/Tk 8.6.0

2013-01-14 Thread James Turner
On Mon, Jan 14, 2013 at 07:12:38AM -0500, Stuart Cassoff wrote:
 Plus the patches for tcl.port.mk and tk.port.mk.
 Tested mostly on i386 and somewhat on amd64.
 
 Stu
 

I built and packaged tcl and tk 8.6 on loongson without a problem. Below
is the output from tcl's make regress:

Tests ended at Mon Jan 14 20:29:31 EST 2013
all.tcl:Total   29026   Passed  27509   Skipped 1514Failed  3
Sourced 146 Test Files.
Files with failing tests: binary.test event.test interp.test

I also used fossil's make regress as a way to test tcl and fossil's diff
--tk feature to test tk. Both ran as intended.

-- 
James Turner