[Cuis] OSProcess status

Ken Dickey Ken.Dickey at whidbey.com
Sun Dec 29 20:37:50 CST 2013


On Sun, 29 Dec 2013 15:05:45 -0500
"David T. Lewis" <lewis at mail.msen.com> wrote:
 
> I made a package called "OSProcess" and saved the OSProcess.pck.st in a
> new github repository called "Cuis-Smalltalk-OSProcess".
> 
> This is the first time I have used github, so please let me know if this
> works as expected.

Dave,

I must first admit knowing _nothing_ about OSProcess, so following remarks may be less than intelligent.

The Cuis-Smalltalk-OSProcess GIT project cloned just fine.

I made some guesses about what the OSProcess package requires.

=================In Workspace:
"OSProcess"
Feature require: 'FFI'.
Feature require: 'SqueakCompatibility'.
Feature require: 'Network-Kernel'.
Feature require: 'OSProcess'.
============================

There were some test failures.  In particular:

UnixProcessTestCase
	forkSqueak requires XDisplayControlPlugin

AioEcentHandlerTestCase
	aio event forwarding not supported


Note that I am running Puppy Linux (5.6.1 Precise) -- think Ubuntu.


Assuming I got the requirements right, you can edit OSProcess.pck.st to add them.

Change:

======...
!provides: 'OSProcess' 1 0!
!classDefinition: #AioEventHandler category: #'OSProcess-AIO'!
======...

To:

======...
!provides: 'OSProcess' 1 0!
!requires: 'FFI' 1 4 nil!
!requires: 'SqueakCompatibility' 1 4 nil!
!requires: 'Network-Kernel' 1 1 nil!
!classDefinition: #AioEventHandler category: #'OSProcess-AIO'!
======...

That is, just add the !requires:... lines after the !provides:... line.


Hmmm..  We really need a tool for this.  I will try to fit something to the Installed Packages browser to edit requirements when I get time.


Let me know of anything else I can do to help,
-KenD
-- 
Ken [dot] Dickey [at] whidbey [dot] com




More information about the Cuis mailing list