[PD] libdirs and search-plugin

Hans-Christoph Steiner hans at at.or.at
Wed Mar 21 18:55:30 CET 2012


DOn't use the class DialogWindow, and it shouldn't inherit the font stuff.

.hc

On Mar 21, 2012, at 1:36 PM, Jonathan Wilkes wrote:

> It's already class "DialogWindow"-- the problem is I'm using ttk widgets and those don't automagically 
> inherit the menufont for some reason.
> 
> Is there a way I can tell my toplevel to _not_ inherit any of the font nonsense from pd-gui.tcl?  ttk 
> widgets look perfectly fine by default in wish.
> 
> -Jonathan
> 
> ----- Original Message -----
>> From: Hans-Christoph Steiner <hans at at.or.at>
>> To: Jonathan Wilkes <jancsika at yahoo.com>
>> Cc: "pd-list at iem.at" <pd-list at iem.at>
>> Sent: Tuesday, March 20, 2012 9:25 AM
>> Subject: Re: [PD] libdirs and search-plugin
>> 
>> 
>> You need to use $menufont as the font, otherwise its small.  Checkout  
>> pd-gui.tcl.  One way to do that is to make your menu have one of the existing Tk 
>> classes, like HelpBrowser or DialogWindow.
>> 
>> .hc
>> 
>> On Mar 19, 2012, at 10:31 PM, Jonathan Wilkes wrote:
>> 
>>> Well, I got it working with vanilla.
>>> 
>>> Any idea why button labels and my combobox have such tiny text?  I'm 
>> doing this in the proc 
>>> that creates the dialog box:
>>> toplevel $mytoplevel -class DialogWindow
>>> 
>>> Other than that I'm not setting fonts-- those are just the default 
>> sizes, which are tiny.
>>> 
>>> -Jonathan
>>>   
>>> ----- Original Message -----
>>>> From: Hans-Christoph Steiner <hans at at.or.at>
>>>> To: Jonathan Wilkes <jancsika at yahoo.com>
>>>> Cc: "pd-list at iem.at" <pd-list at iem.at>
>>>> Sent: Monday, March 19, 2012 9:18 PM
>>>> Subject: Re: [PD] libdirs and search-plugin
>>>> 
>>>> 
>>>> I haven't gotten GUI plugins to load from startup yet... only 
>> binaries (i.e. 
>>>> .dll, .pd_linux, .pd_darwin, etc.0
>>>> 
>>>> .hc
>>>> 
>>>> On Mar 19, 2012, at 9:01 PM, Jonathan Wilkes wrote:
>>>> 
>>>>> Oh, ok.  They might be leftovers from a previous install.
>>>>> 
>>>>> Btw-- I cannot get any gui plugins to load in either pd-0.43 beta 
>> or 
>>>> pd-0.43 latest nightly build 
>>>>> under Windows XP.  I put them in the startup folder but I get this 
>> in the 
>>>> console:
>>>>> 
>>>>> C:/Program FIles/pd/startup/whatever-the-plugin-is.tcl: can't 
>> load 
>>>> startup library!
>>>>> 
>>>>>   
>>>>> ----- Original Message -----
>>>>>> From: Hans-Christoph Steiner <hans at at.or.at>
>>>>>> To: Jonathan Wilkes <jancsika at yahoo.com>
>>>>>> Cc: "pd-list at iem.at" <pd-list at iem.at>
>>>>>> Sent: Monday, March 19, 2012 8:52 PM
>>>>>> Subject: Re: [PD] libdirs and search-plugin
>>>>>> 
>>>>>> 
>>>>>> I think both of those are no longer in Pd-extended, at least in 
>> the 
>>>> build on my 
>>>>>> machine.
>>>>>> 
>>>>>> .hc
>>>>>> 
>>>>>> On Mar 19, 2012, at 6:23 PM, Jonathan Wilkes wrote:
>>>>>> 
>>>>>>> Another question: why does doc/manuals/Gem exist?  
>> Isn't it 
>>>> already 
>>>>>> inside extra/Gem?
>>>>>>> 
>>>>>>> 
>>>>>>> -Jonathan
>>>>>>> 
>>>>>>> 
>>>>>>> ----- Original Message -----
>>>>>>>> From: Hans-Christoph Steiner <hans at at.or.at>
>>>>>>>> To: Jonathan Wilkes <jancsika at yahoo.com>
>>>>>>>> Cc: "pd-list at iem.at" <pd-list at iem.at>
>>>>>>>> Sent: Monday, March 19, 2012 4:03 PM
>>>>>>>> Subject: Re: [PD] libdirs and search-plugin
>>>>>>>> 
>>>>>>>> 
>>>>>>>> Yes, in scripts/ in pure-data SVN.  You're best bet 
>> for 
>>>> getting Gem 
>>>>>> to 
>>>>>>>> accept the meta files is to submit them to the pd-gem 
>> tracker.  
>>>> For 
>>>>>> this release 
>>>>>>>> of Pd-extended 0.43, Gem is already imported into the 
>>>> pd-extended/0.43 
>>>>>> branch in 
>>>>>>>> SVN, so you can commit directly there.
>>>>>>>> 
>>>>>>>> .hc
>>>>>>>> 
>>>>>>>> On Mar 19, 2012, at 3:56 PM, Jonathan Wilkes wrote:
>>>>>>>> 
>>>>>>>>> Actually-- is there a script to autogenerate the 
>> *-meta.pd 
>>>> file?
>>>>>>>>> 
>>>>>>>>> -Jonathan
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> ----- Original Message -----
>>>>>>>>>> From: Jonathan Wilkes 
>> <jancsika at yahoo.com>
>>>>>>>>>> To: Hans-Christoph Steiner 
>> <hans at at.or.at>
>>>>>>>>>> Cc: "pd-list at iem.at" 
>> <pd-list at iem.at>
>>>>>>>>>> Sent: Monday, March 19, 2012 3:50 PM
>>>>>>>>>> Subject: Re: [PD] libdirs and search-plugin
>>>>>>>>>> 
>>>>>>>>>> ----- Original Message -----
>>>>>>>>>> 
>>>>>>>>>>> From: Hans-Christoph Steiner 
>> <hans at at.or.at>
>>>>>>>>>>> To: Jonathan Wilkes 
>> <jancsika at yahoo.com>
>>>>>>>>>>> Cc: "pd-list at iem.at" 
>>>> <pd-list at iem.at>
>>>>>>>>>>> Sent: Monday, March 19, 2012 3:30 PM
>>>>>>>>>>> Subject: Re: libdirs and search-plugin
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> This gives me a list of all libs with meta 
>> files:
>>>>>>>>>>> 
>>>>>>>>>>> ls -1 \
>>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>> 
>>>>>> 
>>>> 
>> /Applications/Pd-0.43.1-extended-20120310.app/Contents/Resources/extra/*/*-meta.pd 
>> 
>>>> 
>>>>>> 
>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>>> \
>>>>>>>>>>>     | cut -d / -f 7 | sort -u > 
>> /tmp/meta.txt
>>>>>>>>>>> 
>>>>>>>>>>> This gives me a list of all libs included:
>>>>>>>>>>> 
>>>>>>>>>>> find \
>>>>>>>>>>> 
>>>>>>>> 
>>>> /Applications/Pd-0.43.1-extended-20120310.app/Contents/Resources/extra 
>>>>>>>>>> \
>>>>>>>>>>> -type d | cut -d / -f 7 | sort -u >  
>>>> /tmp/all.txt
>>>>>>>>>>> 
>>>>>>>>>>> And this tells me the different between 
>> those two 
>>>> lists:
>>>>>>>>>>> 
>>>>>>>>>>> hans at dhcp-10 libcore $ diff /tmp/meta.txt 
>>>> /tmp/all.txt 
>>>>>>>>>>> 1c1,2
>>>>>>>>>>> < 
>>>>>>>>>>> ---
>>>>>>>>>>>> 
>>>>>>>>>>>>     Gem
>>>>>>>>>>> 20a22
>>>>>>>>>>>>     hexloader
>>>>>>>>>>> 60a63,67
>>>>>>>>>>>>     pdp
>>>>>>>>>>>>     pix_artoolkit
>>>>>>>>>>>>     pix_drum
>>>>>>>>>>>>     pix_fiducialtrack
>>>>>>>>>>>>     pix_mano
>>>>>>>>>>> 68a76
>>>>>>>>>>>>     tclpd
>>>>>>>>>>> 
>>>>>>>>>>> For hexloader, pdp and tclpd I think you 
>> can commit 
>>>> one 
>>>>>> directly if 
>>>>>>>> you 
>>>>>>>>>> want.  
>>>>>>>>>>> For Gem and pix_* you'll have to go 
>> thru the 
>>>> Gem devs.
>>>>>>>>>> 
>>>>>>>>>> Ok, for hexloader, pdp and tclpd I'll make 
>> those 
>>>> changes 
>>>>>> when I get 
>>>>>>>> a 
>>>>>>>>>> chance.  
>>>>>>>>>> For Gem and pix_*: Dear Gem devs, please make 
>> sure 
>>>> there is a 
>>>>>> *-meta.pd 
>>>>>>>> patch 
>>>>>>>>>> in the libdir directory with the same format as 
>> the 
>>>> extant 
>>>>>> ones.  (This 
>>>>>>>> will 
>>>>>>>>>> make 
>>>>>>>>>> those libs show up in the list of externals 
>> that the 
>>>> user can 
>>>>>> browse, 
>>>>>>>> and show 
>>>>>>>>>> the 
>>>>>>>>>> appropriate author/license/and version info.)
>>>>>>>>>> 
>>>>>>>>>> -Jonathan
>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> .hc
>>>>>>>>>>> 
>>>>>>>>>>> On Mar 19, 2012, at 3:03 PM, Jonathan 
>> Wilkes wrote:
>>>>>>>>>>> 
>>>>>>>>>>>>     Hi Hans,
>>>>>>>>>>>>         Is Gem supposed to have a 
>>>> $libname-meta.pd in 
>>>>>> extra/Gem?  
>>>>>>>> If so, 
>>>>>>>>>> could 
>>>>>>>>>>> you put one there?
>>>>>>>>>>>> 
>>>>>>>>>>>>     I'm almost finished with my 
>> search 
>>>> plugin.  
>>>>>> I'm 
>>>>>>>> building a 
>>>>>>>>>> list of 
>>>>>>>>>>> available external libraries by searching 
>>>>>>>>>>>> 
>>>>>>>>>>>>     directories for a $libname-meta.pd 
>> file.  So 
>>>> the 
>>>>>> question is: 
>>>>>>>> how many 
>>>>>>>>>> 
>>>>>>>>>>> external libraries currently lack a 
>>>>>>>>>>>> 
>>>>>>>>>>>>     *-meta.pd file?
>>>>>>>>>>>> 
>>>>>>>>>>>>     Thanks,
>>>>>>>>>>>>     Jonathan
>>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>> 
>>>>>> 
>>>> 
>> ----------------------------------------------------------------------------
>>>>>>>>>>> 
>>>>>>>>>>>                     ¡El pueblo unido jamás 
>> será 
>>>> vencido!
>>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Pd-list at iem.at mailing list
>>>>>>>>>> UNSUBSCRIBE and account-management -> 
>>>>>>>>>> http://lists.puredata.info/listinfo/pd-list
>>>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>> 
>>>> 
>> ----------------------------------------------------------------------------
>>>>>>>> 
>>>>>>>> 'You people have such restrictive dress for women,’ 
>> she 
>>>> said, 
>>>>>> hobbling away 
>>>>>>>> in three inch heels and panty hose to finish out 
>> another 
>>>> pink-collar 
>>>>>> temp pool 
>>>>>>>> day.  - “Hijab Scene #2", by Mohja Kahf
>>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>> 
>> ----------------------------------------------------------------------------
>>>>>> 
>>>>>> All mankind is of one author, and is one volume; when one man 
>> dies, one 
>>>> chapter 
>>>>>> is not torn out of the book, but translated into a better 
>> language; and 
>>>> every 
>>>>>> chapter must be so translated.... -John Donne 
>>>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>> ----------------------------------------------------------------------------
>>>> 
>>>> Computer science is no more related to the computer than astronomy is 
>> related to 
>>>> the telescope.      -Edsger Dykstra
>>> <screenshot.png>
>> 
>> 
>> 
>> 
>> 
>> ----------------------------------------------------------------------------
>> 
>> "[T]he greatest purveyor of violence in the world today [is] my own 
>> government." - Martin Luther King, Jr.
>> 



----------------------------------------------------------------------------

Mistrust authority - promote decentralization.  - the hacker ethic





More information about the Pd-list mailing list