[Pharo-project] CameraPlugin for VM
Bernat Romagosa wrote:
In Scat we've managed, maybe after lunch i can give you some directions to get it running.
Yes, I managed to make it work last year, just with the *.cs and the Win32 DLL from scratch. However feel free to post a short guide for the recent Pharo image to the list so others can profit from it. My post was more oriented towards the VM developers since AFAIK there was a discussion of integrating the plugin back into Squeak VM sources so it is available in general to Squeak/Etoys/forks. As Bert wrote: "but the Scratch folks are interested in having their plugins in the main Squeak VM, so they do not have to package and maintain them themselves for ever." Would be nice if one would be able to use the cam out of the box with a recent VM (standard and cog) and Pharo. Thx Torsten -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone
Hi Torsten, The plugin works out of the box for me in a Cog machine with no problems, just follow these instructions: * Get Scratch's CameraPlugin (you can get them here http://code.google.com/p/scat/downloads/list) * Depending on your OS, place it in: GNU/Linux and Win32 â The Pharo root directory. That is, where the .sh and .lnk files are. MacOSX â The image path. * FileIn the three .st files I attach (they originally came from the Scratch source, but were modified by us to get them working in Pharo) * DoIt: ScratchCameraDialog new openCamera; openInWorld Of course, you don't need the ScratchCameraDialog class, but it's nice to have it as it's a pretty simple working example. I'm not sure whether you need CameraMedia either, didn't have time to check... Hope it helps! Cheers, 2011/7/29 Torsten Bergmann <astares@gmx.de>
Bernat Romagosa wrote:
In Scat we've managed, maybe after lunch i can give you some directions to get it running.
Yes, I managed to make it work last year, just with the *.cs and the Win32 DLL from scratch.
However feel free to post a short guide for the recent Pharo image to the list so others can profit from it.
My post was more oriented towards the VM developers since AFAIK there was a discussion of integrating the plugin back into Squeak VM sources so it is available in general to Squeak/Etoys/forks.
As Bert wrote:
"but the Scratch folks are interested in having their plugins in the main Squeak VM, so they do not have to package and maintain them themselves for ever."
Would be nice if one would be able to use the cam out of the box with a recent VM (standard and cog) and Pharo.
Thx Torsten -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone
-- Bernat Romagosa.
On Jul 29, 2011, at 11:35 AM, Bernat Romagosa wrote:
Hi Torsten,
The plugin works out of the box for me in a Cog machine with no problems, just follow these instructions:
* Get Scratch's CameraPlugin (you can get them here http://code.google.com/p/scat/downloads/list)
what is the license?
* Depending on your OS, place it in: GNU/Linux and Win32 â The Pharo root directory. That is, where the .sh and .lnk files are. MacOSX â The image path. * FileIn the three .st files I attach (they originally came from the Scratch source, but were modified by us to get them working in Pharo) * DoIt: ScratchCameraDialog new openCamera; openInWorld
Of course, you don't need the ScratchCameraDialog class, but it's nice to have it as it's a pretty simple working example. I'm not sure whether you need CameraMedia either, didn't have time to check...
Hope it helps!
Cheers,
2011/7/29 Torsten Bergmann <astares@gmx.de> Bernat Romagosa wrote:
In Scat we've managed, maybe after lunch i can give you some directions to get it running.
Yes, I managed to make it work last year, just with the *.cs and the Win32 DLL from scratch.
However feel free to post a short guide for the recent Pharo image to the list so others can profit from it.
My post was more oriented towards the VM developers since AFAIK there was a discussion of integrating the plugin back into Squeak VM sources so it is available in general to Squeak/Etoys/forks.
As Bert wrote:
"but the Scratch folks are interested in having their plugins in the main Squeak VM, so they do not have to package and maintain them themselves for ever."
Would be nice if one would be able to use the cam out of the box with a recent VM (standard and cog) and Pharo.
Thx Torsten -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone
-- Bernat Romagosa. <CameraMedia.st><CameraPlugin.st><ScratchCameraDialog.st>
Hi Torsten, The plugin works out of the box for me in a Cog machine with no problems, just follow these instructions: * Get Scratch's CameraPlugin (you can get them here http://code.google.com/p/scat/downloads/list) * Depending on your OS, place it in: GNU/Linux and Win32 â The Pharo root directory. That is, where the .sh and .lnk files are. MacOSX â The image path. * FileIn the three .st files I attach (they originally came from the Scratch source, but were modified by us to get them working in Pharo) * DoIt: ScratchCameraDialog new openCamera; openInWorld Of course, you don't need the ScratchCameraDialog class, but it's nice to have it as it's a pretty simple working example. I'm not sure whether you need CameraMedia either, didn't have time to check... Hope it helps! Cheers, 2011/7/29 Torsten Bergmann <astares@gmx.de>
Bernat Romagosa wrote:
In Scat we've managed, maybe after lunch i can give you some directions to get it running.
Yes, I managed to make it work last year, just with the *.cs and the Win32 DLL from scratch.
However feel free to post a short guide for the recent Pharo image to the list so others can profit from it.
My post was more oriented towards the VM developers since AFAIK there was a discussion of integrating the plugin back into Squeak VM sources so it is available in general to Squeak/Etoys/forks.
As Bert wrote:
"but the Scratch folks are interested in having their plugins in the main Squeak VM, so they do not have to package and maintain them themselves for ever."
Would be nice if one would be able to use the cam out of the box with a recent VM (standard and cog) and Pharo.
Thx Torsten -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone
-- Bernat Romagosa.
Oops sorry, I accidentally sent it twice. The license should be MIT, check out the "The Scratch Source Code License" section: http://info.scratch.mit.edu/Source_Code <http://info.scratch.mit.edu/Source_Code>Although they don't specifically state what's the license for the Camera Plugin, I guess it just applies by extension since it belongs to the project and the whole project is MIT. If we are to include it in Pharo I suppose we should check it thoroughly... Cheers, 2011/7/29 Bernat Romagosa <tibabenfortlapalanca@gmail.com>
Hi Torsten,
The plugin works out of the box for me in a Cog machine with no problems, just follow these instructions:
* Get Scratch's CameraPlugin (you can get them here http://code.google.com/p/scat/downloads/list) * Depending on your OS, place it in: GNU/Linux and Win32 â The Pharo root directory. That is, where the .sh and .lnk files are. MacOSX â The image path. * FileIn the three .st files I attach (they originally came from the Scratch source, but were modified by us to get them working in Pharo) * DoIt: ScratchCameraDialog new openCamera; openInWorld
Of course, you don't need the ScratchCameraDialog class, but it's nice to have it as it's a pretty simple working example. I'm not sure whether you need CameraMedia either, didn't have time to check...
Hope it helps!
Cheers,
2011/7/29 Torsten Bergmann <astares@gmx.de>
Bernat Romagosa wrote:
In Scat we've managed, maybe after lunch i can give you some directions to get it running.
Yes, I managed to make it work last year, just with the *.cs and the Win32 DLL from scratch.
However feel free to post a short guide for the recent Pharo image to the list so others can profit from it.
My post was more oriented towards the VM developers since AFAIK there was a discussion of integrating the plugin back into Squeak VM sources so it is available in general to Squeak/Etoys/forks.
As Bert wrote:
"but the Scratch folks are interested in having their plugins in the main Squeak VM, so they do not have to package and maintain them themselves for ever."
Would be nice if one would be able to use the cam out of the box with a recent VM (standard and cog) and Pharo.
Thx Torsten -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone
-- Bernat Romagosa.
-- Bernat Romagosa.
By the way, you can also test it by doing: CameraPlugin videoTest The code in this method also helps understand how the camera works. Cheers, 2011/7/29 Bernat Romagosa <tibabenfortlapalanca@gmail.com>
Oops sorry, I accidentally sent it twice.
The license should be MIT, check out the "The Scratch Source Code License" section: http://info.scratch.mit.edu/Source_Code
<http://info.scratch.mit.edu/Source_Code>Although they don't specifically state what's the license for the Camera Plugin, I guess it just applies by extension since it belongs to the project and the whole project is MIT.
If we are to include it in Pharo I suppose we should check it thoroughly...
Cheers,
2011/7/29 Bernat Romagosa <tibabenfortlapalanca@gmail.com>
Hi Torsten,
The plugin works out of the box for me in a Cog machine with no problems, just follow these instructions:
* Get Scratch's CameraPlugin (you can get them here http://code.google.com/p/scat/downloads/list) * Depending on your OS, place it in: GNU/Linux and Win32 â The Pharo root directory. That is, where the .sh and .lnk files are. MacOSX â The image path. * FileIn the three .st files I attach (they originally came from the Scratch source, but were modified by us to get them working in Pharo) * DoIt: ScratchCameraDialog new openCamera; openInWorld
Of course, you don't need the ScratchCameraDialog class, but it's nice to have it as it's a pretty simple working example. I'm not sure whether you need CameraMedia either, didn't have time to check...
Hope it helps!
Cheers,
2011/7/29 Torsten Bergmann <astares@gmx.de>
Bernat Romagosa wrote:
In Scat we've managed, maybe after lunch i can give you some directions to get it running.
Yes, I managed to make it work last year, just with the *.cs and the Win32 DLL from scratch.
However feel free to post a short guide for the recent Pharo image to the list so others can profit from it.
My post was more oriented towards the VM developers since AFAIK there was a discussion of integrating the plugin back into Squeak VM sources so it is available in general to Squeak/Etoys/forks.
As Bert wrote:
"but the Scratch folks are interested in having their plugins in the main Squeak VM, so they do not have to package and maintain them themselves for ever."
Would be nice if one would be able to use the cam out of the box with a recent VM (standard and cog) and Pharo.
Thx Torsten -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone
-- Bernat Romagosa.
-- Bernat Romagosa.
-- Bernat Romagosa.
Yet another license syndrom. The Scratch source code license allows you to distribute derivative works based on the Scratch source code for non-commercial uses subject to the following restrictions: ⢠you cannot use the word "Scratch" to refer to derivative works (except in the phrase "Based on Scratch from the MIT Media Laboratory"), ⢠you cannot use the Scratch logo or the official (copyrighted) Scratch cat in derivative works, ⢠you cannot implement the ability to upload projects to any MIT Scratch website (currently, http://scratch.mit.edu), ⢠copies or derivative works must retain the Scratch copyright notice and license, and ⢠you must make the source code for derivative works available. This is just a summary; the full license is in the file "license.txt" included in the source code download package. The purpose of these restrictions is to avoid confusion in the Scratch user community between the official version of Scratch (supported by the Lifelong Kindergarten group) and experimental variations. We are happy the share our source code, but we want to protect the Scratch brand and our user community. We hope you will appreciate the reasons for these restrictions. I do not want to see code from scratch in Pharo. Bernat do you have the license.txt somewhere? Stef On Jul 29, 2011, at 12:12 PM, Bernat Romagosa wrote:
Oops sorry, I accidentally sent it twice.
The license should be MIT, check out the "The Scratch Source Code License" section: http://info.scratch.mit.edu/Source_Code
Although they don't specifically state what's the license for the Camera Plugin, I guess it just applies by extension since it belongs to the project and the whole project is MIT.
If we are to include it in Pharo I suppose we should check it thoroughly...
Cheers,
2011/7/29 Bernat Romagosa <tibabenfortlapalanca@gmail.com> Hi Torsten,
The plugin works out of the box for me in a Cog machine with no problems, just follow these instructions:
* Get Scratch's CameraPlugin (you can get them here http://code.google.com/p/scat/downloads/list) * Depending on your OS, place it in: GNU/Linux and Win32 â The Pharo root directory. That is, where the .sh and .lnk files are. MacOSX â The image path. * FileIn the three .st files I attach (they originally came from the Scratch source, but were modified by us to get them working in Pharo) * DoIt: ScratchCameraDialog new openCamera; openInWorld
Of course, you don't need the ScratchCameraDialog class, but it's nice to have it as it's a pretty simple working example. I'm not sure whether you need CameraMedia either, didn't have time to check...
Hope it helps!
Cheers,
2011/7/29 Torsten Bergmann <astares@gmx.de> Bernat Romagosa wrote:
In Scat we've managed, maybe after lunch i can give you some directions to get it running.
Yes, I managed to make it work last year, just with the *.cs and the Win32 DLL from scratch.
However feel free to post a short guide for the recent Pharo image to the list so others can profit from it.
My post was more oriented towards the VM developers since AFAIK there was a discussion of integrating the plugin back into Squeak VM sources so it is available in general to Squeak/Etoys/forks.
As Bert wrote:
"but the Scratch folks are interested in having their plugins in the main Squeak VM, so they do not have to package and maintain them themselves for ever."
Would be nice if one would be able to use the cam out of the box with a recent VM (standard and cog) and Pharo.
Thx Torsten -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone
-- Bernat Romagosa.
-- Bernat Romagosa.
Sure, I attach it here. It looks like a standard MIT license with just these extra conditions added. 2011/7/29 Stéphane Ducasse <stephane.ducasse@inria.fr>
Yet another license syndrom.
The Scratch source code license allows you to distribute derivative works based on the Scratch source code for non-commercial uses subject to the following restrictions: ⢠you cannot use the word "Scratch" to refer to derivative works (except in the phrase "Based on Scratch from the MIT Media Laboratory"), ⢠you cannot use the Scratch logo or the official (copyrighted) Scratch cat in derivative works, ⢠you cannot implement the ability to upload projects to any MIT Scratch website (currently, http://scratch.mit.edu), ⢠copies or derivative works must retain the Scratch copyright notice and license, and ⢠you must make the source code for derivative works available. This is just a summary; the full license is in the file "license.txt" included in the source code download package. The purpose of these restrictions is to avoid confusion in the Scratch user community between the official version of Scratch (supported by the Lifelong Kindergarten group) and experimental variations. We are happy the share our source code, but we want to protect the Scratch brand and our user community. We hope you will appreciate the reasons for these restrictions.
I do not want to see code from scratch in Pharo. Bernat do you have the license.txt somewhere?
Stef
On Jul 29, 2011, at 12:12 PM, Bernat Romagosa wrote:
Oops sorry, I accidentally sent it twice.
The license should be MIT, check out the "The Scratch Source Code License" section: http://info.scratch.mit.edu/Source_Code
Although they don't specifically state what's the license for the Camera Plugin, I guess it just applies by extension since it belongs to the project and the whole project is MIT.
If we are to include it in Pharo I suppose we should check it thoroughly...
Cheers,
2011/7/29 Bernat Romagosa <tibabenfortlapalanca@gmail.com> Hi Torsten,
The plugin works out of the box for me in a Cog machine with no problems, just follow these instructions:
* Get Scratch's CameraPlugin (you can get them here http://code.google.com/p/scat/downloads/list) * Depending on your OS, place it in: GNU/Linux and Win32 â The Pharo root directory. That is, where the .sh and .lnk files are. MacOSX â The image path. * FileIn the three .st files I attach (they originally came from the Scratch source, but were modified by us to get them working in Pharo) * DoIt: ScratchCameraDialog new openCamera; openInWorld
Of course, you don't need the ScratchCameraDialog class, but it's nice to have it as it's a pretty simple working example. I'm not sure whether you need CameraMedia either, didn't have time to check...
Hope it helps!
Cheers,
2011/7/29 Torsten Bergmann <astares@gmx.de> Bernat Romagosa wrote:
In Scat we've managed, maybe after lunch i can give you some directions to get it running.
Yes, I managed to make it work last year, just with the *.cs and the Win32 DLL from scratch.
However feel free to post a short guide for the recent Pharo image to the list so others can profit from it.
My post was more oriented towards the VM developers since AFAIK there was a discussion of integrating the plugin back into Squeak VM sources so it is available in general to Squeak/Etoys/forks.
As Bert wrote:
"but the Scratch folks are interested in having their plugins in the main Squeak VM, so they do not have to package and maintain them themselves for ever."
Would be nice if one would be able to use the cam out of the box with a recent VM (standard and cog) and Pharo.
Thx Torsten -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone
-- Bernat Romagosa.
-- Bernat Romagosa.
-- Bernat Romagosa.
so this is not MIT so code should not get in Pharo. We do not want a mille-feuilles of pseudo compatible licenses. When we see the mess with the squeak-L license. It should not happen again. Better rewrite the code this is cheaper. Stef
Sure, I attach it here.
It looks like a standard MIT license with just these extra conditions added.
2011/7/29 Stéphane Ducasse <stephane.ducasse@inria.fr> Yet another license syndrom.
The Scratch source code license allows you to distribute derivative works based on the Scratch source code for non-commercial uses subject to the following restrictions: ⢠you cannot use the word "Scratch" to refer to derivative works (except in the phrase "Based on Scratch from the MIT Media Laboratory"), ⢠you cannot use the Scratch logo or the official (copyrighted) Scratch cat in derivative works, ⢠you cannot implement the ability to upload projects to any MIT Scratch website (currently, http://scratch.mit.edu), ⢠copies or derivative works must retain the Scratch copyright notice and license, and ⢠you must make the source code for derivative works available. This is just a summary; the full license is in the file "license.txt" included in the source code download package. The purpose of these restrictions is to avoid confusion in the Scratch user community between the official version of Scratch (supported by the Lifelong Kindergarten group) and experimental variations. We are happy the share our source code, but we want to protect the Scratch brand and our user community. We hope you will appreciate the reasons for these restrictions.
I do not want to see code from scratch in Pharo. Bernat do you have the license.txt somewhere?
Stef
On Jul 29, 2011, at 12:12 PM, Bernat Romagosa wrote:
Oops sorry, I accidentally sent it twice.
The license should be MIT, check out the "The Scratch Source Code License" section: http://info.scratch.mit.edu/Source_Code
Although they don't specifically state what's the license for the Camera Plugin, I guess it just applies by extension since it belongs to the project and the whole project is MIT.
If we are to include it in Pharo I suppose we should check it thoroughly...
Cheers,
2011/7/29 Bernat Romagosa <tibabenfortlapalanca@gmail.com> Hi Torsten,
The plugin works out of the box for me in a Cog machine with no problems, just follow these instructions:
* Get Scratch's CameraPlugin (you can get them here http://code.google.com/p/scat/downloads/list) * Depending on your OS, place it in: GNU/Linux and Win32 â The Pharo root directory. That is, where the .sh and .lnk files are. MacOSX â The image path. * FileIn the three .st files I attach (they originally came from the Scratch source, but were modified by us to get them working in Pharo) * DoIt: ScratchCameraDialog new openCamera; openInWorld
Of course, you don't need the ScratchCameraDialog class, but it's nice to have it as it's a pretty simple working example. I'm not sure whether you need CameraMedia either, didn't have time to check...
Hope it helps!
Cheers,
2011/7/29 Torsten Bergmann <astares@gmx.de> Bernat Romagosa wrote:
In Scat we've managed, maybe after lunch i can give you some directions to get it running.
Yes, I managed to make it work last year, just with the *.cs and the Win32 DLL from scratch.
However feel free to post a short guide for the recent Pharo image to the list so others can profit from it.
My post was more oriented towards the VM developers since AFAIK there was a discussion of integrating the plugin back into Squeak VM sources so it is available in general to Squeak/Etoys/forks.
As Bert wrote:
"but the Scratch folks are interested in having their plugins in the main Squeak VM, so they do not have to package and maintain them themselves for ever."
Would be nice if one would be able to use the cam out of the box with a recent VM (standard and cog) and Pharo.
Thx Torsten -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone
-- Bernat Romagosa.
-- Bernat Romagosa.
-- Bernat Romagosa. <License.txt>
or you should ask a dual licensing. I'm curious to see if this code will flow into squeak. Stef On Jul 29, 2011, at 3:16 PM, Bernat Romagosa wrote:
Sure, I attach it here.
It looks like a standard MIT license with just these extra conditions added.
2011/7/29 Stéphane Ducasse <stephane.ducasse@inria.fr> Yet another license syndrom.
The Scratch source code license allows you to distribute derivative works based on the Scratch source code for non-commercial uses subject to the following restrictions: ⢠you cannot use the word "Scratch" to refer to derivative works (except in the phrase "Based on Scratch from the MIT Media Laboratory"), ⢠you cannot use the Scratch logo or the official (copyrighted) Scratch cat in derivative works, ⢠you cannot implement the ability to upload projects to any MIT Scratch website (currently, http://scratch.mit.edu), ⢠copies or derivative works must retain the Scratch copyright notice and license, and ⢠you must make the source code for derivative works available. This is just a summary; the full license is in the file "license.txt" included in the source code download package. The purpose of these restrictions is to avoid confusion in the Scratch user community between the official version of Scratch (supported by the Lifelong Kindergarten group) and experimental variations. We are happy the share our source code, but we want to protect the Scratch brand and our user community. We hope you will appreciate the reasons for these restrictions.
I do not want to see code from scratch in Pharo. Bernat do you have the license.txt somewhere?
Stef
On Jul 29, 2011, at 12:12 PM, Bernat Romagosa wrote:
Oops sorry, I accidentally sent it twice.
The license should be MIT, check out the "The Scratch Source Code License" section: http://info.scratch.mit.edu/Source_Code
Although they don't specifically state what's the license for the Camera Plugin, I guess it just applies by extension since it belongs to the project and the whole project is MIT.
If we are to include it in Pharo I suppose we should check it thoroughly...
Cheers,
2011/7/29 Bernat Romagosa <tibabenfortlapalanca@gmail.com> Hi Torsten,
The plugin works out of the box for me in a Cog machine with no problems, just follow these instructions:
* Get Scratch's CameraPlugin (you can get them here http://code.google.com/p/scat/downloads/list) * Depending on your OS, place it in: GNU/Linux and Win32 â The Pharo root directory. That is, where the .sh and .lnk files are. MacOSX â The image path. * FileIn the three .st files I attach (they originally came from the Scratch source, but were modified by us to get them working in Pharo) * DoIt: ScratchCameraDialog new openCamera; openInWorld
Of course, you don't need the ScratchCameraDialog class, but it's nice to have it as it's a pretty simple working example. I'm not sure whether you need CameraMedia either, didn't have time to check...
Hope it helps!
Cheers,
2011/7/29 Torsten Bergmann <astares@gmx.de> Bernat Romagosa wrote:
In Scat we've managed, maybe after lunch i can give you some directions to get it running.
Yes, I managed to make it work last year, just with the *.cs and the Win32 DLL from scratch.
However feel free to post a short guide for the recent Pharo image to the list so others can profit from it.
My post was more oriented towards the VM developers since AFAIK there was a discussion of integrating the plugin back into Squeak VM sources so it is available in general to Squeak/Etoys/forks.
As Bert wrote:
"but the Scratch folks are interested in having their plugins in the main Squeak VM, so they do not have to package and maintain them themselves for ever."
Would be nice if one would be able to use the cam out of the box with a recent VM (standard and cog) and Pharo.
Thx Torsten -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone
-- Bernat Romagosa.
-- Bernat Romagosa.
-- Bernat Romagosa. <License.txt>
Couldn't we talk with the Scratch team and see if we can re-license it? 2011/7/29 Stéphane Ducasse <stephane.ducasse@inria.fr>
or you should ask a dual licensing. I'm curious to see if this code will flow into squeak.
Stef
On Jul 29, 2011, at 3:16 PM, Bernat Romagosa wrote:
Sure, I attach it here.
It looks like a standard MIT license with just these extra conditions added.
2011/7/29 Stéphane Ducasse <stephane.ducasse@inria.fr> Yet another license syndrom.
The Scratch source code license allows you to distribute derivative works based on the Scratch source code for non-commercial uses subject to the following restrictions: ⢠you cannot use the word "Scratch" to refer to derivative works (except in the phrase "Based on Scratch from the MIT Media Laboratory"), ⢠you cannot use the Scratch logo or the official (copyrighted) Scratch cat in derivative works, ⢠you cannot implement the ability to upload projects to any MIT Scratch website (currently, http://scratch.mit.edu), ⢠copies or derivative works must retain the Scratch copyright notice and license, and ⢠you must make the source code for derivative works available. This is just a summary; the full license is in the file "license.txt" included in the source code download package. The purpose of these restrictions is to avoid confusion in the Scratch user community between the official version of Scratch (supported by the Lifelong Kindergarten group) and experimental variations. We are happy the share our source code, but we want to protect the Scratch brand and our user community. We hope you will appreciate the reasons for these restrictions.
I do not want to see code from scratch in Pharo. Bernat do you have the license.txt somewhere?
Stef
On Jul 29, 2011, at 12:12 PM, Bernat Romagosa wrote:
Oops sorry, I accidentally sent it twice.
The license should be MIT, check out the "The Scratch Source Code License" section: http://info.scratch.mit.edu/Source_Code
Although they don't specifically state what's the license for the Camera Plugin, I guess it just applies by extension since it belongs to the project and the whole project is MIT.
If we are to include it in Pharo I suppose we should check it thoroughly...
Cheers,
2011/7/29 Bernat Romagosa <tibabenfortlapalanca@gmail.com> Hi Torsten,
The plugin works out of the box for me in a Cog machine with no problems, just follow these instructions:
* Get Scratch's CameraPlugin (you can get them here http://code.google.com/p/scat/downloads/list) * Depending on your OS, place it in: GNU/Linux and Win32 â The Pharo root directory. That is, where the .sh and .lnk files are. MacOSX â The image path. * FileIn the three .st files I attach (they originally came from the Scratch source, but were modified by us to get them working in Pharo) * DoIt: ScratchCameraDialog new openCamera; openInWorld
Of course, you don't need the ScratchCameraDialog class, but it's nice to have it as it's a pretty simple working example. I'm not sure whether you need CameraMedia either, didn't have time to check...
Hope it helps!
Cheers,
2011/7/29 Torsten Bergmann <astares@gmx.de> Bernat Romagosa wrote:
In Scat we've managed, maybe after lunch i can give you some directions to get it running.
Yes, I managed to make it work last year, just with the *.cs and the Win32 DLL from scratch.
However feel free to post a short guide for the recent Pharo image to the list so others can profit from it.
My post was more oriented towards the VM developers since AFAIK there was a discussion of integrating the plugin back into Squeak VM sources so it is available in general to Squeak/Etoys/forks.
As Bert wrote:
"but the Scratch folks are interested in having their plugins in the main Squeak VM, so they do not have to package and maintain them themselves for ever."
Would be nice if one would be able to use the cam out of the box with a recent VM (standard and cog) and Pharo.
Thx Torsten -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone
-- Bernat Romagosa.
-- Bernat Romagosa.
-- Bernat Romagosa. <License.txt>
-- Bernat Romagosa.
Yes ask them. Dual licensing is always possible. Stef On Jul 29, 2011, at 4:48 PM, Bernat Romagosa wrote:
Couldn't we talk with the Scratch team and see if we can re-license it?
2011/7/29 Stéphane Ducasse <stephane.ducasse@inria.fr> or you should ask a dual licensing. I'm curious to see if this code will flow into squeak.
Stef
On Jul 29, 2011, at 3:16 PM, Bernat Romagosa wrote:
Sure, I attach it here.
It looks like a standard MIT license with just these extra conditions added.
2011/7/29 Stéphane Ducasse <stephane.ducasse@inria.fr> Yet another license syndrom.
The Scratch source code license allows you to distribute derivative works based on the Scratch source code for non-commercial uses subject to the following restrictions: ⢠you cannot use the word "Scratch" to refer to derivative works (except in the phrase "Based on Scratch from the MIT Media Laboratory"), ⢠you cannot use the Scratch logo or the official (copyrighted) Scratch cat in derivative works, ⢠you cannot implement the ability to upload projects to any MIT Scratch website (currently, http://scratch.mit.edu), ⢠copies or derivative works must retain the Scratch copyright notice and license, and ⢠you must make the source code for derivative works available. This is just a summary; the full license is in the file "license.txt" included in the source code download package. The purpose of these restrictions is to avoid confusion in the Scratch user community between the official version of Scratch (supported by the Lifelong Kindergarten group) and experimental variations. We are happy the share our source code, but we want to protect the Scratch brand and our user community. We hope you will appreciate the reasons for these restrictions.
I do not want to see code from scratch in Pharo. Bernat do you have the license.txt somewhere?
Stef
On Jul 29, 2011, at 12:12 PM, Bernat Romagosa wrote:
Oops sorry, I accidentally sent it twice.
The license should be MIT, check out the "The Scratch Source Code License" section: http://info.scratch.mit.edu/Source_Code
Although they don't specifically state what's the license for the Camera Plugin, I guess it just applies by extension since it belongs to the project and the whole project is MIT.
If we are to include it in Pharo I suppose we should check it thoroughly...
Cheers,
2011/7/29 Bernat Romagosa <tibabenfortlapalanca@gmail.com> Hi Torsten,
The plugin works out of the box for me in a Cog machine with no problems, just follow these instructions:
* Get Scratch's CameraPlugin (you can get them here http://code.google.com/p/scat/downloads/list) * Depending on your OS, place it in: GNU/Linux and Win32 â The Pharo root directory. That is, where the .sh and .lnk files are. MacOSX â The image path. * FileIn the three .st files I attach (they originally came from the Scratch source, but were modified by us to get them working in Pharo) * DoIt: ScratchCameraDialog new openCamera; openInWorld
Of course, you don't need the ScratchCameraDialog class, but it's nice to have it as it's a pretty simple working example. I'm not sure whether you need CameraMedia either, didn't have time to check...
Hope it helps!
Cheers,
2011/7/29 Torsten Bergmann <astares@gmx.de> Bernat Romagosa wrote:
In Scat we've managed, maybe after lunch i can give you some directions to get it running.
Yes, I managed to make it work last year, just with the *.cs and the Win32 DLL from scratch.
However feel free to post a short guide for the recent Pharo image to the list so others can profit from it.
My post was more oriented towards the VM developers since AFAIK there was a discussion of integrating the plugin back into Squeak VM sources so it is available in general to Squeak/Etoys/forks.
As Bert wrote:
"but the Scratch folks are interested in having their plugins in the main Squeak VM, so they do not have to package and maintain them themselves for ever."
Would be nice if one would be able to use the cam out of the box with a recent VM (standard and cog) and Pharo.
Thx Torsten -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone
-- Bernat Romagosa.
-- Bernat Romagosa.
-- Bernat Romagosa. <License.txt>
-- Bernat Romagosa.
Yes, apparently if Scratch team only concern to not confuse people with experimental forks and not use scratch logo, then they may state that if you using only parts of project which has nothing to do with it, these parts may be covered by just MIT license. (or something like that). On 29 July 2011 15:57, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
or you should ask a dual licensing. I'm curious to see if this code will flow into squeak.
Stef
On Jul 29, 2011, at 3:16 PM, Bernat Romagosa wrote:
Sure, I attach it here.
It looks like a standard MIT license with just these extra conditions added.
2011/7/29 Stéphane Ducasse <stephane.ducasse@inria.fr> Yet another license syndrom.
The Scratch source code license allows you to distribute derivative works based on the Scratch source code for non-commercial uses subject to the following restrictions:     ⢠you cannot use the word "Scratch" to refer to derivative works (except in the phrase "Based on Scratch from the MIT Media Laboratory"),     ⢠you cannot use the Scratch logo or the official (copyrighted) Scratch cat in derivative works,     ⢠you cannot implement the ability to upload projects to any MIT Scratch website (currently, http://scratch.mit.edu),     ⢠copies or derivative works must retain the Scratch copyright notice and license, and     ⢠you must make the source code for derivative works available. This is just a summary; the full license is in the file "license.txt" included in the source code download package. The purpose of these restrictions is to avoid confusion in the Scratch user community between the official version of Scratch (supported by the Lifelong Kindergarten group) and experimental variations. We are happy the share our source code, but we want to protect the Scratch brand and our user community. We hope you will appreciate the reasons for these restrictions.
I do not want to see code from scratch in Pharo. Bernat do you have the license.txt somewhere?
Stef
On Jul 29, 2011, at 12:12 PM, Bernat Romagosa wrote:
Oops sorry, I accidentally sent it twice.
The license should be MIT, check out the "The Scratch Source Code License" section: http://info.scratch.mit.edu/Source_Code
Although they don't specifically state what's the license for the Camera Plugin, I guess it just applies by extension since it belongs to the project and the whole project is MIT.
If we are to include it in Pharo I suppose we should check it thoroughly...
Cheers,
2011/7/29 Bernat Romagosa <tibabenfortlapalanca@gmail.com> Hi Torsten,
The plugin works out of the box for me in a Cog machine with no problems, just follow these instructions:
* Get Scratch's CameraPlugin (you can get them here http://code.google.com/p/scat/downloads/list) * Depending on your OS, place it in: Â Â GNU/Linux and Win32 â The Pharo root directory. That is, where the .sh and .lnk files are. Â Â MacOSX â The image path. * FileIn the three .st files I attach (they originally came from the Scratch source, but were modified by us to get them working in Pharo) * DoIt: ScratchCameraDialog new openCamera; openInWorld
Of course, you don't need the ScratchCameraDialog class, but it's nice to have it as it's a pretty simple working example. I'm not sure whether you need CameraMedia either, didn't have time to check...
Hope it helps!
Cheers,
2011/7/29 Torsten Bergmann <astares@gmx.de> Bernat Romagosa wrote:
In Scat we've managed, maybe after lunch i can give you some directions to get it running.
Yes, I managed to make it work last year, just with the *.cs and the Win32 DLL from scratch.
However feel free to post a short guide for the recent Pharo image to the list so others can profit from it.
My post was more oriented towards the VM developers since AFAIK there was a discussion of integrating the plugin back into Squeak VM sources so it is available in general to Squeak/Etoys/forks.
As Bert wrote:
"but the Scratch folks are interested in having their  plugins in the main Squeak VM, so they do not have to  package and maintain them themselves for ever."
Would be nice if one would be able to use the cam out of the box with a recent VM (standard and cog) and Pharo.
Thx Torsten -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone
-- Bernat Romagosa.
-- Bernat Romagosa.
-- Bernat Romagosa. <License.txt>
-- Best regards, Igor Stasenko AKA sig.
participants (4)
-
Bernat Romagosa -
Igor Stasenko -
Stéphane Ducasse -
Torsten Bergmann