[PD] pd-gui-rewrite testing

Hans-Christoph Steiner hans at at.or.at
Fri Jan 22 04:08:36 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


The Wish program will look thru its Frameworks search path to find the
frameworks.  It something like:
- - look Contents/Frameworks
- - ~/Library/Frameworks
- - /Library/Frameworks
- - /System/Library/Frameworks

.hc

Rich E wrote:
> Does this wish shell in Contents/MacOS have the Tcl/Tk Frameworks built into
> it (whether Carbon or Cocoa)?
> 
> Its working now, thanks.  Nice method, I have one symlinked to the svn
> repository and one for myself to hack on.
> 
> cheers,
> Rich
> 
> On Sun, Jan 17, 2010 at 9:05 PM, Hans-Christoph Steiner <hans at at.or.at>wrote:
> 
>> On Jan 17, 2010, at 3:01 PM, Rich E wrote:
>>
>>
>>
>> On Sun, Jan 17, 2010 at 8:07 PM, Hans-Christoph Steiner <hans at at.or.at>wrote:
>>
>>> On Jan 17, 2010, at 10:10 AM, Rich E wrote:
>>>
>>>
>>>
>>> On Sun, Jan 10, 2010 at 12:29 AM, Hans-Christoph Steiner <hans at at.or.at>wrote:
>>>
>>>> On Jan 9, 2010, at 5:37 PM, Rich E wrote:
>>>>
>>>>
>>>> Still in OS X 10.6.  I don't have one of these problems with
>>>> Pd-devel-0.43 (dec 15) nightly build, so it must all be because of the
>>>> tk/cocoa version that you mention.  I'm not sure how to report it a tcl
>>>> mailing list, as I don't know where the code is that implements these
>>>> things.
>>>>
>>>> Does it make sense that the arrow keys are detected differently in
>>>> Tk/Cocoa, so they are just sent to pd's gui C code as spaces?
>>>>
>>>>
>>>> Not to me... it should be the same, that's why its worth reporting to
>>>> tcl-mac.  You don't need to know the exact code that's causing the problem.
>>>>  I read that list too, so I can fill in the details.  I just don't have
>>>> access to a 10.6 machine these days.
>>>>
>>>> As for the text color issue in the audio settings, you'll have to point
>>>> me towards what is controlling that.  I'll send you a screenshot after this
>>>> email.
>>>>
>>>>
>>>> Check out dialog_audio.tcl.  Its still mostly the original code, so it
>>>> can be scary. ;)
>>>>
>>>> Do you know how I can force configure to use Tcl/Tk 8.5.7/Carbon?
>>>>
>>>>
>>>> If you put a version of Tcl/Tk 8.5.7/Carbon frameworks into
>>>> /Library/Frameworks, it should use them over the build in ones.  But that
>>>> means using the Makefile in packages/darwin_app and running "make install".
>>>>  For development, I just rename a nighly build as "Pd-devel.app" then inside
>>>> the package, remove some guts and symlink it to my pd-gui-rewrite/0.43
>>>> sources:
>>>>
>>>> hans at palatschinken.at.or.at:src > ls -l
>>>> /Applications/Pd-devel.app/Contents/Resources/
>>>> total 152
>>>> lrwxr-xr-x   1 hans staff     3 2010-01-05 14:27 Scripts -> bin/
>>>> -r--r--r--   1 hans staff 47204 2008-08-14 20:03 VolumeIcon.icns
>>>> -r--r--r--   1 hans staff   545 2008-07-21 13:53 Wish.rsrc
>>>> lrwxr-xr-x   1 root staff    59 2010-01-05 14:32 bin ->
>>>> /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/src/
>>>> dr-xr-xr-x  13 hans staff   442 2009-12-15 08:41 doc/
>>>> dr-xr-xr-x 180 hans staff  6120 2009-12-15 08:52 extra/
>>>> dr-xr-xr-x   6 hans staff   204 2009-12-15 08:41 include/
>>>> -r--r--r--   1 hans staff 42741 2008-02-14 18:14 pd-file.icns
>>>> -r--r--r--   1 hans staff 37100 2008-02-14 18:14 pd.icns
>>>> lrwxr-xr-x   1 root staff    58 2010-01-05 14:31 po ->
>>>> /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/po/
>>>> dr-xr-xr-x   3 hans staff   102 2009-12-15 08:41 share/
>>>> lrwxr-xr-x   1 root staff    63 2010-01-05 14:31 startup ->
>>>> /Users/hans/code/pure-data/branches/pd-gui-rewrite/0.43/startup/
>>>>
>>>>
>>> I like this way of running the newest sources from within the app bundle,
>>> but I can't get it working yet.  I had to replace the executable in
>>> Contents/MacOS, but then it cannot find pd-gui.tcl (I removed the bin folder
>>> in the Resources directory and symlinked it to the pd-gui-rewrite/src/, like
>>> you did).
>>>
>>> rich
>>>
>>>
>>>
>>> Literally all I did was:
>>>
>>> - download nightly Pd-devel build
>>> - cd /path/to/Pd-devel.app/Contents/Resources
>>> - rm -rf bin
>>> - ln -s /path/to/pd-gui-rewrite/0.43/src bin
>>> - ln -s /path/to/pd-gui-rewrite/0.43/po
>>> - ln -s /path/to/pd-gui-rewrite/0.43/startup
>>>
>>> .hc
>>>
>>>
>>>
>> Really.  I do this and the executable in the Contents/MacOS folder is still
>> run and not the one in the symlinked directory.  Oh well.
>>
>>
>> Ah, ok, I understand now.  The exe in Contents/MacOS is not Pd but the Wish
>> Shell, so you want it to run that.  'pd' resides in
>> Contents/Resources/bin/pd.  Pd is two processes: 'pd-gui' (i.e. Wish) and
>> 'pd' (i.e Pd ;)
>>
>> .hc
>>
>>
>> Rich
>>
>>
>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>> .hc
>>>>
>>>>
>>>> I'll use the nightly build in the meantime and let you know what comes
>>>> up.
>>>>
>>>> -rich
>>>>
>>>> On Mon, Jan 4, 2010 at 4:40 AM, Hans-Christoph Steiner <hans at at.or.at>wrote:
>>>>
>>>>> First off, which platform?  Is this still Mac OS X 10.6?  If so, 10.6
>>>>> has a built-in custom version of Tcl/Tk 8.5.7 that uses Cocoa for the back
>>>>> end rather than Carbon.  Tcl/Tk 8.6 will only use this Cocoa backend, but
>>>>> will work on Mac OS X 10.5.  It would be good to flush out these bugs and
>>>>> report them to the tcl-mac list so that they can get fixed.
>>>>>
>>>>> One thing to try is using one of the nightly builds, which include
>>>>> Tcl/Tk 8.5.7/Carbon.  I think they should work on 10.6:
>>>>> http://autobuild.puredata.info/auto-build/latest/
>>>>>
>>>>>  On Nov 16, 2009, at 1:55 PM, Rich E wrote:
>>>>>
>>>>>  Hi List, Hans,
>>>>>> I've been using the pd-gui-rewrite-0.43 svn for a couple days now and
>>>>>> here are some notes I've taken when finding various bugs (is the better sent
>>>>>> to the pd-dev list?):
>>>>>>
>>>>>> • In Audio Settings, the text in the drop down menus is hardly visible
>>>>>> because it is very light grey
>>>>>>
>>>>> Never seen that, screenshot?
>>>>>
>>>>>
>>>>>  • there is a new menu item called 'apple' with "about pd" and
>>>>>> preferences"
>>>>>>
>>>>> Known issue with the Tk/Cocoa, haven't found a workaround yet.
>>>>>
>>>>>
>>>>>  • editing an object name:
>>>>>> ‣ moving with arrows adds a space to the end, but does not move within
>>>>>> the object name
>>>>>>
>>>>> Hmm, can't reproduce, Tk/Cocoa issue?
>>>>>
>>>>>
>>>>>  • opening "about pd" gives an error:
>>>>>> ‣ Error: can't read "pd_myversion": no such variable"
>>>>>> ‣ an't read "pd_myversion": no such variable
>>>>>> can't read "pd_myversion": no such variable
>>>>>>    while executing
>>>>>> "regsub -all PD_VERSION $bigstring2 $pd_myversion bigstring3"
>>>>>>    (procedure "::pd_menucommands::menu_opentext" line 15)
>>>>>>    invoked from within
>>>>>> "::pd_menucommands::menu_opentext "$dirname/$basename""
>>>>>>    (".txt" arm line 1)
>>>>>>    invoked from within
>>>>>> "switch -- [string tolower [file extension $basename]] {
>>>>>>        ".txt"    {::pd_menucommands::menu_opentext "$dirname/$basename"
>>>>>>        } ".c"    {::..."
>>>>>>    (procedure "menu_doc_open" line 4)
>>>>>>    invoked from within
>>>>>> "menu_doc_open doc/1.manual 1.introduction.txt"
>>>>>>    (menu invoke)
>>>>>>
>>>>>  Its not implemented yet...  I was hoping to make "About Pd" a pd patch.
>>>>>
>>>>>
>>>>>  I have some time on my hands now that I finished my Master's, and
>>>>>> frankly I think the pd-vanilla GUI is unpleasant, so I could learn tcl/tk
>>>>>> and help out, if needed.
>>>>>>
>>>>> That would be great!  Your reports have already been helpful.  I'm going
>>>>> to be in pretty deep this month till its finished and merged into Miller's
>>>>> 0.43 version.  He's been relatively scarse on the lists, but we've been
>>>>> working thru this stuff off-list.
>>>>>
>>>>> .hc
>>>>>
>>>>>
>>>>> ----------------------------------------------------------------------------
>>>>>
>>>>> "Making boring techno music is really easy with modern tools, but with
>>>>> live coding, boring techno is much harder." - Chris McCormick
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------------------
>>>>
>>>> "Free software means you control what your computer does. Non-free
>>>> software means someone else controls that, and to some extent controls you."
>>>> - Richard M. Stallman
>>>>
>>>>
>>>>
>>>
>>>
>>> ----------------------------------------------------------------------------
>>>
>>> I hate it when they say, "He gave his life for his country."  Nobody gives
>>> their life for anything.  We steal the lives of these kids.  -Admiral Gene
>>> LeRocque
>>>
>>>
>>
>>
>>
>> ----------------------------------------------------------------------------
>>
>> "We have nothing to fear from love and commitment." - New York
>> Senator Diane Savino, trying to convince the NY Senate to pass a gay
>> marriage bill
>>
>>
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBCAAGBQJLWRaxAAoJEJ8P5Yc3S76BGpcP/1U7JlE4ar4CtnovtxvjvnV4
MX1oR2CSvmuJ4pLBsJRbxYB9xR7oolVwyxnGHB0dfHajwwoo6OB7vRHk7TWHLKEZ
lnKTnk2IK3o0SsLX316b9/28H6IhJfPNqocD0Iy5uPGng+NClphPXLcDKa1LI03m
giNXXx3a/vuFB8XeKhR/GW72bgEw8Je2DbSKW4sCQG9N/fKxZtvVYXlhctrJymw6
iQZXq0IngRiGPyoYcRGj1CT6lyOYLW5fel7XVLgK0+USzLcEzXvulPM/YX5PkopM
pipZsHpZyZXHqiVSx8joVQvNH+EEY/nqB0Wyho1thNSwIGBIEoNUb8jSEBIo2Mxj
MN02jEU9uM+jwffRCeuiZudz4yEO2b/1Hm8WZi1W9e8Hrib5i5w7Ew1l3YIQ5MXw
43TkNAkG3hROe0+YZN3lANII4wclEbmgni908iI2a4WBMmFuL8qBwgVTnIffT5d1
v2iop1Lic9U9xt1B3xC78YOZqEJqD02+dtcWH9Qp7UfoYdgSiGcLDLhRZoBQ5Smt
KNAuhk0Ksy3gARpfXRqRneaSVH1S3dC+Riv14JeJD4mEvwbsaw6ANIIuNnJgIrv6
XFqsH5QZ6Mn0KEhKR1Oh/PHYySqEGnylxE9FHCFjrHdls6utrNyERW4A1BEkhzKn
MQIr1WzYc1q5YSrzXeCn
=pZz/
-----END PGP SIGNATURE-----




More information about the Pd-list mailing list