Update gs to use newly available Tcl/Tk v8.5

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Update gs to use newly available Tcl/Tk v8.5

Vance Shipley-2
The latest version of Tcl/Tk improves the way gs works on
some environments (notably OS X).  The standard installed
program name is now "wish8.5".  The following patch adds
this name to the search so that the newer version will be
used if installed.

I tried adding support for an environment variable but I
found out how deep that rabbit hole goes ...

        -Vance


--- lib/gs/src/gstk_port_handler.erl    2007-12-23 23:30:08.000000000 -0500
+++ lib/gs/src/gstk_port_handler.erl    2007-11-26 14:03:00.000000000 -0500
@@ -39,7 +39,7 @@
 % FIXME There has to be a better solution....
 % FIXME Add option in app file or environmen  variable.
 
--define(WISHNAMES, ["wish8.5", "wish84","wish8.4",
+-define(WISHNAMES, ["wish84","wish8.4",
                    "wish83","wish8.3",
                    "wish82","wish8.2",
                    "wish"]).



Reply | Threaded
Open this post in threaded view
|

Update gs to use newly available Tcl/Tk v8.5

Dan Gudmundsson-4
Added thanks.
/Dan

Vance Shipley wrote:

> The latest version of Tcl/Tk improves the way gs works on
> some environments (notably OS X).  The standard installed
> program name is now "wish8.5".  The following patch adds
> this name to the search so that the newer version will be
> used if installed.
>
> I tried adding support for an environment variable but I
> found out how deep that rabbit hole goes ...
>
> -Vance
>
>
> --- lib/gs/src/gstk_port_handler.erl    2007-12-23 23:30:08.000000000 -0500
> +++ lib/gs/src/gstk_port_handler.erl    2007-11-26 14:03:00.000000000 -0500
> @@ -39,7 +39,7 @@
>  % FIXME There has to be a better solution....
>  % FIXME Add option in app file or environmen  variable.
>  
> --define(WISHNAMES, ["wish8.5", "wish84","wish8.4",
> +-define(WISHNAMES, ["wish84","wish8.4",
>                     "wish83","wish8.3",
>                     "wish82","wish8.2",
>                     "wish"]).
>
> _______________________________________________
> erlang-patches mailing list
> erlang-patches
> http://www.erlang.org/mailman/listinfo/erlang-patches
>