[PD] tk version weirdness with 0.43test2
Hans-Christoph Steiner
hans at at.or.at
Fri Aug 20 20:25:22 CEST 2010
Which wish to use on GNU/Linux is set at the top of pd-gui.tcl. The
problem is one of deployment. "wish" is guaranteed to be there if Tcl/
Tk is installed. "wish8.5" is not. I would recommend the Debian,
etc. package patching pd-gui.tcl to set that wish to the best option,
and then set the correct dependency.
Or you can use update-alternatives :)
.hc
On Aug 20, 2010, at 1:18 PM, Frank Barknecht wrote:
> Hi,
>
> sorry for a quick self-reply: I "hacked" it by setthing the default
> wish
> to wish8.4 with "update-alternatives --config wish"
>
> I still wonder, why 0.42 would automatically select 8.5 instead of
> 8.4.
> It could be nice for other users if 0.43 would try the latest
> and greatest as well.
>
> Ciao
> --
> Frank
>
> On Fri, Aug 20, 2010 at 07:09:16PM +0200, Frank Barknecht wrote:
>> Hi,
>>
>> and another one: I have both tk8.4 (the default on Squeeze) and tk8.5
>> installed, -deve packages come from 8.5 only:
>>
>> robbi:~# dlocate -l tk8
>> Desired=Unknown/Install/Remove/Purge/Hold
>> Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-
>> installed
>> ||/ Name Version Description
>> +++-================-================-
>> ==================================================
>> ii tk8.4 8.4.19-4 Tk toolkit for Tcl and X11,
>> v8.4 -
>> ii tk8.5 8.5.8-1 Tk toolkit for Tcl and X11,
>> v8.5 -
>> ii tk8.5-dev 8.5.8-1 Tk toolkit for Tcl and X11,
>> v8.5 -
>>
>> configure seems to find 8.5 just fine:
>> # config.log:
>> ac_cv_lib_tcl85_main=no
>> ac_cv_lib_tcl8_5_main=yes
>> ac_cv_lib_tk85_main=no
>> ac_cv_lib_tk8_5_main=yes
>> ...
>> LIBS='-ltk8.5 -ltcl8.5 -lrt -ljack -ljack'
>>
>> However running pd from the "bin" directory, the applications shows
>> me its
>> ugly, non-aliased 8.4 face.
>>
>> If I remove the tk8.4 package with aptitude, Pd starts with its
>> nice and shiny
>> 8.5-face, but that's not an option in the long run, as other
>> packages need 8.4.
>>
>> Pd 0.42 would happily use 8.5 even with 8.4 installed. Can I hack
>> 0.43 somehow to get
>> the nice GUI I've grown to like a bit by now?
>>
>> (I tried something like "package require Tk 8.5" in pd-gui.tcl
>> already, but
>> that won't start at all.)
>>
>> Ciao
>> --
>> Frank
>>
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
----------------------------------------------------------------------------
"[T]he greatest purveyor of violence in the world today [is] my own
government." - Martin Luther King, Jr.
More information about the Pd-list
mailing list