[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sc-devel] [sc-users] about quarks




I committed isCompatible to quarks.

to test it I set it for ddwGUIEnhancementsForSwingOSC.
works fine.  you can now no longer install that quark if you don't have SwingOSC.

and btw. that quarkfile had helpdoc set to "" which is an error.
jh, I hope you don't mind but I committed those changes to the quarkfile.



On Jan 10, 2008 9:50 PM, felix <felix@xxxxxxxxxxxxxxxxxxx> wrote:

right, we talked about this one before

how about:

Quark isCompatible {

 ^info['isCompatible'].value !== false

}



your quarkfile would add:


\isCompatible : 

     { 'SwingOSC'.asClass.notNil }



any quarkfile that didn't defined isCompatible would be assumed to be compatible.


thus we could easily stop the user from installing it.






On Jan 10, 2008 9:16 PM, James Harkins <jamshark70@xxxxxxxxx> wrote:
• ERROR: Class extension for nonexistent class 'JSCContainerView'
    In file:'/Users/eric/Library/Application
Support/SuperCollider/Extensions/quarks/dewdrop_lib/ddwGUIEnhancementsForSwingOSC/SwingOSC-
recursiveResize.sc'

If you looked at the installation instructions for my library, you
would see that ddwGUIEnhancementsForSwingOSC should be installed only
if you have SwingOSC.