Building VM (Was: Re: [Pharo-project] Re: Hello everyone!)
As always, things not working out of the box. - VM builds from unzipped VM sources OK - but for building with VMMaker generated sources, had to fix 'gnuify' file to make a clean build i dreaming to build vm straight from squeak, without horrid makefiles. I heard that Keith did a 'Bob' tool which can be used as a kind of make utility. But i think, to fully replace makefiles, it needs an OSProcessPlugin to be able to interact with OS/shell. 2008/9/12 Igor Stasenko <siguctua@gmail.com>:
2008/9/12 Andrew Tween <amtween@hotmail.com>:
Hi, "Igor Stasenko" <siguctua@gmail.com> wrote in message news:4a5f5f320809111213v2eec6200te2dcab47f03f6a58@mail.gmail.com...
2008/9/11 Stéphane Ducasse <stephane.ducasse@inria.fr>:
I'm confused you do not use VMMaker for Hydra?
yes keep it there we have too much mailing-lists
So can you do a unix/windows VM with the freeType pluging?
Sure i can, just give me details which/where i should take VMMaker & platform sources & plugin.
I thought that all this information was in the VM repository.
Can you point me to that VM repository?
VMMaker are available on: - squeakmap, - http://www.squeaksource.com/VMMaker.html - http://source.squeakfoundation.org (now is empty ,strange)
The VM sources, are available on squeakvm.org SVN. Is this places correct?
For windows, you can use the source release from Squeak.org... http://www.squeakvm.org/win32/release/SqueakVM-Win32-3.10.7-src.zip
Not sure about Linux.
Also, where i can get freetype plugin and its platform sources?
http://source.impara.de/freetype/Freetype-Plugin-JMM.53.mcz is the latest, but you might have to use an earlier version from the same repository - e.g. http://source.impara.de/freetype/Freetype-Plugin-tween.51.mcz
For a long time, I have used the FT2Plugins that ship with Sophie. I think that we will need to get platform sources, makefiles etc. from the Sophie developers.
The Windows ft2plugin.dll dynamically links to freetype6.dll . Once again we may need the Sophie developers help if we want to rebuild freetype6.dll (to move to a later version of Freetype, for example).
You can find the freetype6.dll in http://dev.sophieproject.org/downloads/releases/Sophie1.0.3.zip , or alternatively in my plugins installer sar (zip) file http://map.squeak.org/accountbyid/46dcf6af-067d-43e3-9fc9-d7010e067153/files...
The source for FreeType itself is on sourceforge - http://sourceforge.net/project/showfiles.php?group_id=3157&package_id=3121 The freetype6.dll was built from version 2.2.1 of FreeType.
The Linux FT2Plugin dynamically links to the libfreetype.so.6 library that ships with most (all?) linux distributions.
The bitblt modifications are currently in a changeset that should be installed after installing vmmaker - you can get it here... http://www.zen61439.zen.co.uk/bak/bitBlt_plugin_enhancements/FreeTypeBitBltS... (In a few days time this url will no longer work as I am changing ISP - so I have also attached it to this post)
I know that this is all quite complicated and confusing, and it may take some time to get all the pieces of the puzzle in place. Thank you for your interest and help.
No, it is not complicated. You described the picture quite understandable. So, we have everything, except F2P plugin platform sources. Any idea, who i should contact with, to get them?
-- Best regards, Igor Stasenko AKA sig.
-- Best regards, Igor Stasenko AKA sig.
2008/9/12 Igor Stasenko <siguctua@gmail.com>:
As always, things not working out of the box.
- VM builds from unzipped VM sources OK - but for building with VMMaker generated sources, had to fix 'gnuify' file to make a clean build
i dreaming to build vm straight from squeak, without horrid makefiles. I heard that Keith did a 'Bob' tool which can be used as a kind of make utility. But i think, to fully replace makefiles, it needs an OSProcessPlugin to be able to interact with OS/shell.
Next step, tried to load freetype plugin.... http://source.impara.de/freetype/Freetype-Plugin-JMM.53.mcz http://source.impara.de/freetype/Freetype-Plugin-tween.51.mcz and guess what? YES! It can't be loaded! :) MC complains about following: This package depends on the following classes: FT2Constants The FT2Constants is the pool dictionary used by plugin. But not defined within package. -- Best regards, Igor Stasenko AKA sig.
"Igor Stasenko" <siguctua@gmail.com> wrote in message news:4a5f5f320809120530j75fde46m173d7cd4297caef1@mail.gmail.com...
2008/9/12 Igor Stasenko <siguctua@gmail.com>:
As always, things not working out of the box.
- VM builds from unzipped VM sources OK - but for building with VMMaker generated sources, had to fix 'gnuify' file to make a clean build
i dreaming to build vm straight from squeak, without horrid makefiles. I heard that Keith did a 'Bob' tool which can be used as a kind of make utility. But i think, to fully replace makefiles, it needs an OSProcessPlugin to be able to interact with OS/shell.
Next step, tried to load freetype plugin.... http://source.impara.de/freetype/Freetype-Plugin-JMM.53.mcz http://source.impara.de/freetype/Freetype-Plugin-tween.51.mcz
and guess what? YES! It can't be loaded! :)
MC complains about following:
This package depends on the following classes: FT2Constants
The FT2Constants is the pool dictionary used by plugin. But not defined within package.
Sorry. I forgot about that. The FT2Constants are in the main FreeTypePlus package - http://www.squeaksource.com/FreeTypePlus/FreeType-tween.435.mcz You should install that before installing Freetype-Plugin Cheers, Andy
-- Best regards, Igor Stasenko AKA sig.
I done with it. The resulting VM will not start without freetype.dll. Should i link it statically? But then you should hone their license stuff... Also, building freetype on windoze impossible using gnutools which used for building VM. It's make simply can't understand some things, which i assume appear in later make versions. So, i building freetype using my msys/mingw environment, and then simply producing - freetype.lib (imports library) - freetype.dll or maybe, i wrong, maybe it can be built using gnutools, but this would require too much voodoo dancing. it would be cool to make it cleanly build w/o manual work, but i'm not high expert in makefiles black voodoo. Okay, who wants the VM? And where i can put the stuff + instructions + blablabla? 2008/9/12 Igor Stasenko <siguctua@gmail.com>:
2008/9/12 Igor Stasenko <siguctua@gmail.com>:
As always, things not working out of the box.
- VM builds from unzipped VM sources OK - but for building with VMMaker generated sources, had to fix 'gnuify' file to make a clean build
i dreaming to build vm straight from squeak, without horrid makefiles. I heard that Keith did a 'Bob' tool which can be used as a kind of make utility. But i think, to fully replace makefiles, it needs an OSProcessPlugin to be able to interact with OS/shell.
Next step, tried to load freetype plugin.... http://source.impara.de/freetype/Freetype-Plugin-JMM.53.mcz http://source.impara.de/freetype/Freetype-Plugin-tween.51.mcz
and guess what? YES! It can't be loaded! :)
MC complains about following:
This package depends on the following classes: FT2Constants
The FT2Constants is the pool dictionary used by plugin. But not defined within package.
-- Best regards, Igor Stasenko AKA sig.
-- Best regards, Igor Stasenko AKA sig.
btw, after changing the title font of system window, corner grips AGAIN positioned badly. I thought it was fixed long ago... 2008/9/13 Igor Stasenko <siguctua@gmail.com>:
I done with it. The resulting VM will not start without freetype.dll. Should i link it statically? But then you should hone their license stuff...
Also, building freetype on windoze impossible using gnutools which used for building VM. It's make simply can't understand some things, which i assume appear in later make versions. So, i building freetype using my msys/mingw environment, and then simply producing - freetype.lib (imports library) - freetype.dll
or maybe, i wrong, maybe it can be built using gnutools, but this would require too much voodoo dancing. it would be cool to make it cleanly build w/o manual work, but i'm not high expert in makefiles black voodoo.
Okay, who wants the VM? And where i can put the stuff + instructions + blablabla?
2008/9/12 Igor Stasenko <siguctua@gmail.com>:
2008/9/12 Igor Stasenko <siguctua@gmail.com>:
As always, things not working out of the box.
- VM builds from unzipped VM sources OK - but for building with VMMaker generated sources, had to fix 'gnuify' file to make a clean build
i dreaming to build vm straight from squeak, without horrid makefiles. I heard that Keith did a 'Bob' tool which can be used as a kind of make utility. But i think, to fully replace makefiles, it needs an OSProcessPlugin to be able to interact with OS/shell.
Next step, tried to load freetype plugin.... http://source.impara.de/freetype/Freetype-Plugin-JMM.53.mcz http://source.impara.de/freetype/Freetype-Plugin-tween.51.mcz
and guess what? YES! It can't be loaded! :)
MC complains about following:
This package depends on the following classes: FT2Constants
The FT2Constants is the pool dictionary used by plugin. But not defined within package.
-- Best regards, Igor Stasenko AKA sig.
-- Best regards, Igor Stasenko AKA sig.
-- Best regards, Igor Stasenko AKA sig.
in original message i attached the screenshot, showing fonts rendered by squeak.. but image is a bit too big for mailing list (150k) ------ I done with it. The resulting VM will not start without freetype.dll. Should i link it statically? But then you should hone their license stuff... Also, building freetype on windoze impossible using gnutools which used for building VM. It's make simply can't understand some things, which i assume appear in later make versions. So, i building freetype using my msys/mingw environment, and then simply producing - freetype.lib (imports library) - freetype.dll or maybe, i wrong, maybe it can be built using gnutools, but this would require too much voodoo dancing. it would be cool to make it cleanly build w/o manual work, but i'm not high expert in makefiles black voodoo. Okay, who wants the VM? And where i can put the stuff + instructions + blablabla? 2008/9/12 Igor Stasenko <siguctua@gmail.com>:
2008/9/12 Igor Stasenko <siguctua@gmail.com>:
As always, things not working out of the box.
- VM builds from unzipped VM sources OK - but for building with VMMaker generated sources, had to fix 'gnuify' file to make a clean build
i dreaming to build vm straight from squeak, without horrid makefiles. I heard that Keith did a 'Bob' tool which can be used as a kind of make utility. But i think, to fully replace makefiles, it needs an OSProcessPlugin to be able to interact with OS/shell.
Next step, tried to load freetype plugin.... http://source.impara.de/freetype/Freetype-Plugin-JMM.53.mcz http://source.impara.de/freetype/Freetype-Plugin-tween.51.mcz
and guess what? YES! It can't be loaded! :)
MC complains about following:
This package depends on the following classes: FT2Constants
The FT2Constants is the pool dictionary used by plugin. But not defined within package.
-- Best regards, Igor Stasenko AKA sig.
-- Best regards, Igor Stasenko AKA sig.
I hope other will answer but I thought that we could have a pluggin and bundle in the deployed packages. The idea for pharo is to have a similar setup than seaside a one click app so the vm and its plugin would be there (but may be the plugin should not be in the image). Mike or john? On sophie how did you manage that the freetype bundle could not be present? If I remember correctly some people on squeak have been recompiling it for 64 bits
I done with it. The resulting VM will not start without freetype.dll. Should i link it statically? But then you should hone their license stuff...
Also, building freetype on windoze impossible using gnutools which used for building VM. It's make simply can't understand some things, which i assume appear in later make versions. So, i building freetype using my msys/mingw environment, and then simply producing - freetype.lib (imports library) - freetype.dll
or maybe, i wrong, maybe it can be built using gnutools, but this would require too much voodoo dancing. it would be cool to make it cleanly build w/o manual work, but i'm not high expert in makefiles black voodoo.
Okay, who wants the VM? And where i can put the stuff + instructions + blablabla?
You can use the code google page for that. Stef
2008/9/12 Igor Stasenko <siguctua@gmail.com>:
2008/9/12 Igor Stasenko <siguctua@gmail.com>:
As always, things not working out of the box.
- VM builds from unzipped VM sources OK - but for building with VMMaker generated sources, had to fix 'gnuify' file to make a clean build
i dreaming to build vm straight from squeak, without horrid makefiles. I heard that Keith did a 'Bob' tool which can be used as a kind of make utility. But i think, to fully replace makefiles, it needs an OSProcessPlugin to be able to interact with OS/shell.
Next step, tried to load freetype plugin.... http://source.impara.de/freetype/Freetype-Plugin-JMM.53.mcz http://source.impara.de/freetype/Freetype-Plugin-tween.51.mcz
and guess what? YES! It can't be loaded! :)
MC complains about following:
This package depends on the following classes: FT2Constants
The FT2Constants is the pool dictionary used by plugin. But not defined within package.
-- Best regards, Igor Stasenko AKA sig.
-- Best regards, Igor Stasenko AKA sig. <fonts.jpg>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2008/9/13 Stéphane Ducasse <stephane.ducasse@inria.fr>:
I hope other will answer but I thought that we could have a pluggin and bundle in the deployed packages. The idea for pharo is to have a similar setup than seaside a one click app so the vm and its plugin would be there (but may be the plugin should not be in the image).
Plugin is built-in in the VM. But freetype library is coming as separate dynamic library. Is this ok? There can be another option, but it would require to change the plugin code - to not link VM with import lib, but to load freetype.dll on demand. The plugin can simply check if this .dll available and start using it, or if not - fail to initialize, telling the system that plugin functionality is not available.
Mike or john? On sophie how did you manage that the freetype bundle could not be present?
Actually, to build a plugin, you need just headers + freetype.def file which then can be used to create the imports library from it. Building a freetype.dll can be completely separate process. I can remove dependency from freetype.lib, and leave only a freetype.def and create import lib by own, when making VM. But this is not safe, because now you must guarantee that you using correct .dll. (well, you need to guarantee it in either case).
If I remember correctly some people on squeak have been recompiling it for 64 bits
I done with it. The resulting VM will not start without freetype.dll. Should i link it statically? But then you should hone their license stuff...
Also, building freetype on windoze impossible using gnutools which used for building VM. It's make simply can't understand some things, which i assume appear in later make versions. So, i building freetype using my msys/mingw environment, and then simply producing - freetype.lib (imports library) - freetype.dll
or maybe, i wrong, maybe it can be built using gnutools, but this would require too much voodoo dancing. it would be cool to make it cleanly build w/o manual work, but i'm not high expert in makefiles black voodoo.
Okay, who wants the VM? And where i can put the stuff + instructions + blablabla?
You can use the code google page for that.
Stef
2008/9/12 Igor Stasenko <siguctua@gmail.com>:
2008/9/12 Igor Stasenko <siguctua@gmail.com>:
As always, things not working out of the box.
- VM builds from unzipped VM sources OK - but for building with VMMaker generated sources, had to fix 'gnuify' file to make a clean build
i dreaming to build vm straight from squeak, without horrid makefiles. I heard that Keith did a 'Bob' tool which can be used as a kind of make utility. But i think, to fully replace makefiles, it needs an OSProcessPlugin to be able to interact with OS/shell.
Next step, tried to load freetype plugin.... http://source.impara.de/freetype/Freetype-Plugin-JMM.53.mcz http://source.impara.de/freetype/Freetype-Plugin-tween.51.mcz
and guess what? YES! It can't be loaded! :)
MC complains about following:
This package depends on the following classes: FT2Constants
The FT2Constants is the pool dictionary used by plugin. But not defined within package.
-- Best regards, Igor Stasenko AKA sig.
-- Best regards, Igor Stasenko AKA sig. <fonts.jpg>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
2008/9/13 Stéphane Ducasse <stephane.ducasse@inria.fr>:
Okay, who wants the VM? And where i can put the stuff + instructions + blablabla?
You can use the code google page for that.
Can you be more specific? After reading through http://code.google.com/p/pharo/ can't find any directions, where i can put a pre-built VM, or do any upload. I doubt that pharo inbox at squeaksource is appropriate place for VM binaries.
Stef
-- Best regards, Igor Stasenko AKA sig.
Sorry that you refer to just instruction. Then I would suggest that you register to the fgorge.inria.fr use team ADAM when creating yur account once you have done that I will add you to the pharo project then we will be able to use the svn and the uploads Stef On Sep 13, 2008, at 8:36 AM, Igor Stasenko wrote:
2008/9/13 Stéphane Ducasse <stephane.ducasse@inria.fr>:
Okay, who wants the VM? And where i can put the stuff + instructions + blablabla?
You can use the code google page for that.
Can you be more specific? After reading through http://code.google.com/p/pharo/ can't find any directions, where i can put a pre-built VM, or do any upload. I doubt that pharo inbox at squeaksource is appropriate place for VM binaries.
Stef
-- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Sep 13, 2008, at 8:24 AM, Igor Stasenko wrote:
2008/9/13 Stéphane Ducasse <stephane.ducasse@inria.fr>:
I hope other will answer but I thought that we could have a pluggin and bundle in the deployed packages. The idea for pharo is to have a similar setup than seaside a one click app so the vm and its plugin would be there (but may be the plugin should not be in the image).
Plugin is built-in in the VM. But freetype library is coming as separate dynamic library. Is this ok?
There can be another option, but it would require to change the plugin code - to not link VM with import lib, but to load freetype.dll on demand. The plugin can simply check if this .dll available and start using it, or if not - fail to initialize, telling the system that plugin functionality is not available.
I'm convinced that I'm not an expert here. I have the impression that the second option is better, May be we should wait for other feedback on the idea. Stef
Mike or john? On sophie how did you manage that the freetype bundle could not be present?
Actually, to build a plugin, you need just headers + freetype.def file which then can be used to create the imports library from it. Building a freetype.dll can be completely separate process.
I can remove dependency from freetype.lib, and leave only a freetype.def and create import lib by own, when making VM. But this is not safe, because now you must guarantee that you using correct .dll. (well, you need to guarantee it in either case).
If I remember correctly some people on squeak have been recompiling it for 64 bits
I done with it. The resulting VM will not start without freetype.dll. Should i link it statically? But then you should hone their license stuff...
Also, building freetype on windoze impossible using gnutools which used for building VM. It's make simply can't understand some things, which i assume appear in later make versions. So, i building freetype using my msys/mingw environment, and then simply producing - freetype.lib (imports library) - freetype.dll
or maybe, i wrong, maybe it can be built using gnutools, but this would require too much voodoo dancing. it would be cool to make it cleanly build w/o manual work, but i'm not high expert in makefiles black voodoo.
Okay, who wants the VM? And where i can put the stuff + instructions + blablabla?
You can use the code google page for that.
Stef
2008/9/12 Igor Stasenko <siguctua@gmail.com>:
2008/9/12 Igor Stasenko <siguctua@gmail.com>:
As always, things not working out of the box.
- VM builds from unzipped VM sources OK - but for building with VMMaker generated sources, had to fix 'gnuify' file to make a clean build
i dreaming to build vm straight from squeak, without horrid makefiles. I heard that Keith did a 'Bob' tool which can be used as a kind of make utility. But i think, to fully replace makefiles, it needs an OSProcessPlugin to be able to interact with OS/shell.
Next step, tried to load freetype plugin.... http://source.impara.de/freetype/Freetype-Plugin-JMM.53.mcz http://source.impara.de/freetype/Freetype-Plugin-tween.51.mcz
and guess what? YES! It can't be loaded! :)
MC complains about following:
This package depends on the following classes: FT2Constants
The FT2Constants is the pool dictionary used by plugin. But not defined within package.
-- Best regards, Igor Stasenko AKA sig.
-- Best regards, Igor Stasenko AKA sig. <fonts.jpg>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2008/9/13 Stéphane Ducasse <stephane.ducasse@inria.fr>:
Sorry that you refer to just instruction. Then I would suggest that you register to the fgorge.inria.fr use team ADAM when creating yur account once you have done that I will add you to the pharo project then we will be able to use the svn and the uploads
done. login: sig
Stef
On Sep 13, 2008, at 8:36 AM, Igor Stasenko wrote:
2008/9/13 Stéphane Ducasse <stephane.ducasse@inria.fr>:
Okay, who wants the VM? And where i can put the stuff + instructions + blablabla?
You can use the code google page for that.
Can you be more specific? After reading through http://code.google.com/p/pharo/ can't find any directions, where i can put a pre-built VM, or do any upload. I doubt that pharo inbox at squeaksource is appropriate place for VM binaries.
Stef
-- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
done I added you as admin. You will see that the interface is crap but... Stef On Sep 13, 2008, at 9:06 AM, Igor Stasenko wrote:
2008/9/13 Stéphane Ducasse <stephane.ducasse@inria.fr>:
Sorry that you refer to just instruction. Then I would suggest that you register to the fgorge.inria.fr use team ADAM when creating yur account once you have done that I will add you to the pharo project then we will be able to use the svn and the uploads
done. login: sig
Stef
On Sep 13, 2008, at 8:36 AM, Igor Stasenko wrote:
2008/9/13 Stéphane Ducasse <stephane.ducasse@inria.fr>:
Okay, who wants the VM? And where i can put the stuff + instructions + blablabla?
You can use the code google page for that.
Can you be more specific? After reading through http://code.google.com/p/pharo/ can't find any directions, where i can put a pre-built VM, or do any upload. I doubt that pharo inbox at squeaksource is appropriate place for VM binaries.
Stef
-- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Plugin is built-in in the VM. But freetype library is coming as separate dynamic library. Is this ok?
There can be another option, but it would require to change the plugin code - to not link VM with import lib, but to load freetype.dll on demand. The plugin can simply check if this .dll available and start using it, or if not - fail to initialize, telling the system that plugin functionality is not available.
I'm convinced that I'm not an expert here. I have the impression that the second option is better, May be we should wait for other feedback on the idea.
I do not think Pharo's users will mind to use a different VM or add a .dll beside their VM. Feel free to chose the simplest way for you, and do not hesitate to ask for feedback. Cheers, Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
I uploaded the binaries + freetype plugin platform sources under "squeak VM + freetype" cat: https://gforge.inria.fr/frs/?group_id=1299 -- Best regards, Igor Stasenko AKA sig.
Hi, "Igor Stasenko" <siguctua@gmail.com> wrote in message news:4a5f5f320809130455h6403bc01ne6f8c7638c02cbde@mail.gmail.com...
I uploaded the binaries + freetype plugin platform sources under "squeak VM + freetype" cat: https://gforge.inria.fr/frs/?group_id=1299
Cool. The FreeType plugin seems to work great. I notice that you have used FreeType 2.3.7 - that's good, the previous plugin used 2.2.1 which is quite old now. However, the sub-pixel anti-aliasing isn't working. This can be tested by evaluating ... FreeTypeSettings current clearBitBltSubPixelAvailable; bitBltSubPixelAvailable It answers true if the new BitBlt combination rule 41 is present and working; false otherwise. Did you install FreeTypeBitBltSimulation.1.cs (http://www.zen61439.zen.co.uk/bak/bitBlt_plugin_enhancements/FreeTypeBitBltS...) into your VMMaker image? If you did, then it is possible that the changeset isn't compatible with the latest VMMaker, and I'll look into it. Cheers, Andy
-- Best regards, Igor Stasenko AKA sig.
2008/9/13 Andrew Tween <amtween@hotmail.com>:
Hi, "Igor Stasenko" <siguctua@gmail.com> wrote in message news:4a5f5f320809130455h6403bc01ne6f8c7638c02cbde@mail.gmail.com...
I uploaded the binaries + freetype plugin platform sources under "squeak VM + freetype" cat: https://gforge.inria.fr/frs/?group_id=1299
Cool. The FreeType plugin seems to work great. I notice that you have used FreeType 2.3.7 - that's good, the previous plugin used 2.2.1 which is quite old now.
However, the sub-pixel anti-aliasing isn't working. This can be tested by evaluating ...
FreeTypeSettings current clearBitBltSubPixelAvailable; bitBltSubPixelAvailable
It answers true if the new BitBlt combination rule 41 is present and working; false otherwise.
Did you install FreeTypeBitBltSimulation.1.cs (http://www.zen61439.zen.co.uk/bak/bitBlt_plugin_enhancements/FreeTypeBitBltS...) into your VMMaker image? If you did, then it is possible that the changeset isn't compatible with the latest VMMaker, and I'll look into it.
oh..sorry, i forgot to load the changeset for BitBlt.
Cheers, Andy
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
Tx On Sep 13, 2008, at 1:55 PM, Igor Stasenko wrote:
I uploaded the binaries + freetype plugin platform sources under "squeak VM + freetype" cat: https://gforge.inria.fr/frs/?group_id=1299
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
I rebuilt VM with changeset & uploaded it replacing old .zip. FreeTypeSettings current clearBitBltSubPixelAvailable; bitBltSubPixelAvailable prints: true 2008/9/13 Igor Stasenko <siguctua@gmail.com>:
2008/9/13 Andrew Tween <amtween@hotmail.com>:
Hi, "Igor Stasenko" <siguctua@gmail.com> wrote in message news:4a5f5f320809130455h6403bc01ne6f8c7638c02cbde@mail.gmail.com...
I uploaded the binaries + freetype plugin platform sources under "squeak VM + freetype" cat: https://gforge.inria.fr/frs/?group_id=1299
Cool. The FreeType plugin seems to work great. I notice that you have used FreeType 2.3.7 - that's good, the previous plugin used 2.2.1 which is quite old now.
However, the sub-pixel anti-aliasing isn't working. This can be tested by evaluating ...
FreeTypeSettings current clearBitBltSubPixelAvailable; bitBltSubPixelAvailable
It answers true if the new BitBlt combination rule 41 is present and working; false otherwise.
Did you install FreeTypeBitBltSimulation.1.cs (http://www.zen61439.zen.co.uk/bak/bitBlt_plugin_enhancements/FreeTypeBitBltS...) into your VMMaker image? If you did, then it is possible that the changeset isn't compatible with the latest VMMaker, and I'll look into it.
oh..sorry, i forgot to load the changeset for BitBlt.
Cheers, Andy
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
-- Best regards, Igor Stasenko AKA sig.
"Igor Stasenko" <siguctua@gmail.com> wrote in message news:4a5f5f320809130714u60fe4d6at851dddf92cea4ffd@mail.gmail.com...
I rebuilt VM with changeset & uploaded it replacing old .zip.
FreeTypeSettings current clearBitBltSubPixelAvailable; bitBltSubPixelAvailable
prints: true
Thanks. Everything is working now Andy
2008/9/13 Igor Stasenko <siguctua@gmail.com>:
2008/9/13 Andrew Tween <amtween@hotmail.com>:
Hi, "Igor Stasenko" <siguctua@gmail.com> wrote in message news:4a5f5f320809130455h6403bc01ne6f8c7638c02cbde@mail.gmail.com...
I uploaded the binaries + freetype plugin platform sources under "squeak VM + freetype" cat: https://gforge.inria.fr/frs/?group_id=1299
Cool. The FreeType plugin seems to work great. I notice that you have used FreeType 2.3.7 - that's good, the previous plugin used 2.2.1 which is quite old now.
However, the sub-pixel anti-aliasing isn't working. This can be tested by evaluating ...
FreeTypeSettings current clearBitBltSubPixelAvailable; bitBltSubPixelAvailable
It answers true if the new BitBlt combination rule 41 is present and working; false otherwise.
Did you install FreeTypeBitBltSimulation.1.cs (http://www.zen61439.zen.co.uk/bak/bitBlt_plugin_enhancements/FreeTypeBitBltS...) into your VMMaker image? If you did, then it is possible that the changeset isn't compatible with the latest VMMaker, and I'll look into it.
oh..sorry, i forgot to load the changeset for BitBlt.
Cheers, Andy
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
-- Best regards, Igor Stasenko AKA sig.
I managed to build squeak + freetype plugin on my ubuntu box. Not sure, however how to package resulting binary. I put the config files needed to build VM with freetype on downloads page. However it not links it with main module, so i had to manually patch makefile by adding -lGL -lfreetype to make it happy. I will put this into SVN repository (http://squeakvm.org/svn/) in the main squeak trunk (as soon as Ian will update my password, since i forgot old one, and can't commit now :). -- Best regards, Igor Stasenko AKA sig.
oh, i forgot. You need to fix freetype plugin (see attachment). There was a header included directly instead using library-defined macro, which makes compiler complain that this header not found. The fix should work fine on all platforms. Please update the freetype plugin in repository . 2008/9/15 Igor Stasenko <siguctua@gmail.com>:
I managed to build squeak + freetype plugin on my ubuntu box. Not sure, however how to package resulting binary.
I put the config files needed to build VM with freetype on downloads page. However it not links it with main module, so i had to manually patch makefile by adding -lGL -lfreetype to make it happy.
I will put this into SVN repository (http://squeakvm.org/svn/) in the main squeak trunk (as soon as Ian will update my password, since i forgot old one, and can't commit now :).
-- Best regards, Igor Stasenko AKA sig.
-- Best regards, Igor Stasenko AKA sig.
On Mon, 2008-09-15 at 03:36 +0300, Igor Stasenko wrote:
I managed to build squeak + freetype plugin on my ubuntu box. Not sure, however how to package resulting binary.
I took a look at the svn repo and there is indeed no other option than installing the binary in the system. I wonder how the vm is usually packed. The links on squeakvm.org for the redhat and debian packages are disabled, too. I can help building debian packages. Maybe it would be good the check in the debian files into svn for easy package creation. Norbert
2008/9/15 Norbert Hartl <norbert@hartl.name>:
On Mon, 2008-09-15 at 03:36 +0300, Igor Stasenko wrote:
I managed to build squeak + freetype plugin on my ubuntu box. Not sure, however how to package resulting binary.
I took a look at the svn repo and there is indeed no other option than installing the binary in the system. I wonder how the vm is usually packed. The links on squeakvm.org for the redhat and debian packages are disabled, too.
I can help building debian packages. Maybe it would be good the check in the debian files into svn for easy package creation.
yes, something like 'make bin-package' would be cool Btw, Ubuntu having a squeak in its binary packages collection, so i think its better to contact with people who actually did it instead of repeating doing same. But i can't remember who actually made it.
Norbert
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
On Mon, 2008-09-15 at 09:53 +0300, Igor Stasenko wrote:
2008/9/15 Norbert Hartl <norbert@hartl.name>:
On Mon, 2008-09-15 at 03:36 +0300, Igor Stasenko wrote:
I managed to build squeak + freetype plugin on my ubuntu box. Not sure, however how to package resulting binary.
I took a look at the svn repo and there is indeed no other option than installing the binary in the system. I wonder how the vm is usually packed. The links on squeakvm.org for the redhat and debian packages are disabled, too.
I can help building debian packages. Maybe it would be good the check in the debian files into svn for easy package creation.
yes, something like 'make bin-package' would be cool
Btw, Ubuntu having a squeak in its binary packages collection, so i think its better to contact with people who actually did it instead of repeating doing same. But i can't remember who actually made it.
The last one I talked about was Matej Kosik. I'll contact him as I don't remember what we talked about last time :) Norbert
On Mon, 2008-09-15 at 09:53 +0300, Igor Stasenko wrote:
2008/9/15 Norbert Hartl <norbert@hartl.name>:
On Mon, 2008-09-15 at 03:36 +0300, Igor Stasenko wrote:
I managed to build squeak + freetype plugin on my ubuntu box. Not sure, however how to package resulting binary.
I took a look at the svn repo and there is indeed no other option than installing the binary in the system. I wonder how the vm is usually packed. The links on squeakvm.org for the redhat and debian packages are disabled, too.
I can help building debian packages. Maybe it would be good the check in the debian files into svn for easy package creation.
yes, something like 'make bin-package' would be cool
Btw, Ubuntu having a squeak in its binary packages collection, so i think its better to contact with people who actually did it instead of repeating doing same. But i can't remember who actually made it.
Ah btw. do you know apt-src??? Try to do apt-src install squeak-vm In the squeak-vm directory you can invoke dpkg-buildpackage -nc -uc -rfakeroot to build the debian package. Sources are under platforms/ directory. I'll ask Matej were these files are checked in. Norbert
2008/9/15 Norbert Hartl <norbert@hartl.name>:
On Mon, 2008-09-15 at 09:53 +0300, Igor Stasenko wrote:
2008/9/15 Norbert Hartl <norbert@hartl.name>:
On Mon, 2008-09-15 at 03:36 +0300, Igor Stasenko wrote:
I managed to build squeak + freetype plugin on my ubuntu box. Not sure, however how to package resulting binary.
I took a look at the svn repo and there is indeed no other option than installing the binary in the system. I wonder how the vm is usually packed. The links on squeakvm.org for the redhat and debian packages are disabled, too.
I can help building debian packages. Maybe it would be good the check in the debian files into svn for easy package creation.
yes, something like 'make bin-package' would be cool
Btw, Ubuntu having a squeak in its binary packages collection, so i think its better to contact with people who actually did it instead of repeating doing same. But i can't remember who actually made it.
Ah btw. do you know apt-src??? Try to do
apt-src install squeak-vm
well, it deals with source packages, not binary. People who care to build squeak from sources should really get it from squeakvm.org not from other sources. IMO.
In the squeak-vm directory you can invoke
dpkg-buildpackage -nc -uc -rfakeroot
to build the debian package. Sources are under platforms/ directory.
I'll ask Matej were these files are checked in.
Norbert
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
On Mon, 2008-09-15 at 14:44 +0300, Igor Stasenko wrote:
2008/9/15 Norbert Hartl <norbert@hartl.name>:
On Mon, 2008-09-15 at 09:53 +0300, Igor Stasenko wrote:
2008/9/15 Norbert Hartl <norbert@hartl.name>:
On Mon, 2008-09-15 at 03:36 +0300, Igor Stasenko wrote:
I managed to build squeak + freetype plugin on my ubuntu box. Not sure, however how to package resulting binary.
I took a look at the svn repo and there is indeed no other option than installing the binary in the system. I wonder how the vm is usually packed. The links on squeakvm.org for the redhat and debian packages are disabled, too.
I can help building debian packages. Maybe it would be good the check in the debian files into svn for easy package creation.
yes, something like 'make bin-package' would be cool
Btw, Ubuntu having a squeak in its binary packages collection, so i think its better to contact with people who actually did it instead of repeating doing same. But i can't remember who actually made it.
Ah btw. do you know apt-src??? Try to do
apt-src install squeak-vm
well, it deals with source packages, not binary. People who care to build squeak from sources should really get it from squeakvm.org not from other sources. IMO.
I'm sure the sources are taken from squeakvm.org. It's just that a system like debian has source snapshots. So to build a certain version of a package you export those sources into the debian skeleton and build the binary from there. This way maintainer and others are able to build the same package from the same sources. If sources are updated you need to create a new version. It just differs in the way you do it. Using a tag from svn to get sources is not the way debian handles it. Please have a look at the debian/changelog file. That is the file where the builder takes the version number from. A comment what has changed comes along with it. The easiest way to deal with this is to integrate the debian skeleton in the squeakvm repository. Than you can checkout svn and create a package from it. And someone needs to update the debian repository so the new vm is integrated in the next release. Norbert
In the squeak-vm directory you can invoke
dpkg-buildpackage -nc -uc -rfakeroot
to build the debian package. Sources are under platforms/ directory.
I'll ask Matej were these files are checked in.
Norbert
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2008/9/15 Norbert Hartl <norbert@hartl.name>:
On Mon, 2008-09-15 at 14:44 +0300, Igor Stasenko wrote:
2008/9/15 Norbert Hartl <norbert@hartl.name>:
On Mon, 2008-09-15 at 09:53 +0300, Igor Stasenko wrote:
2008/9/15 Norbert Hartl <norbert@hartl.name>:
On Mon, 2008-09-15 at 03:36 +0300, Igor Stasenko wrote:
I managed to build squeak + freetype plugin on my ubuntu box. Not sure, however how to package resulting binary.
I took a look at the svn repo and there is indeed no other option than installing the binary in the system. I wonder how the vm is usually packed. The links on squeakvm.org for the redhat and debian packages are disabled, too.
I can help building debian packages. Maybe it would be good the check in the debian files into svn for easy package creation.
yes, something like 'make bin-package' would be cool
Btw, Ubuntu having a squeak in its binary packages collection, so i think its better to contact with people who actually did it instead of repeating doing same. But i can't remember who actually made it.
Ah btw. do you know apt-src??? Try to do
apt-src install squeak-vm
well, it deals with source packages, not binary. People who care to build squeak from sources should really get it from squeakvm.org not from other sources. IMO.
I'm sure the sources are taken from squeakvm.org. It's just that a system like debian has source snapshots. So to build a certain version of a package you export those sources into the debian skeleton and build the binary from there. This way maintainer and others are able to build the same package from the same sources. If sources are updated you need to create a new version. It just differs in the way you do it. Using a tag from svn to get sources is not the way debian handles it.
Yeah, but how would you deal with sources generated by VMMaker? We having two sources participating in final result: - VMMaker - platforms source. unlike from C world, where everything in single package. Should such distribution include a VMMaker sources, and then , in some way build everything from scratch (which requires to having some version of squeak installed already)? Otherwise you need to carry the snapshot of generated sources in this package, which i really don't like. That's why i'm thinking that best would to distribute binary, not sources. And people who like to build everything from scratch should be pointed to squeakvm.org (or any other site, where such binary came from). We're getting back to discussion on squeak-dev, that debian people don't want to include squeak in their main repository (or how do they call it). Because squeak don't have a process which can recreate image purely from source files, and because it is complete stupidity :)
Please have a look at the debian/changelog file. That is the file where the builder takes the version number from. A comment what has changed comes along with it.
The easiest way to deal with this is to integrate the debian skeleton in the squeakvm repository. Than you can checkout svn and create a package from it. And someone needs to update the debian repository so the new vm is integrated in the next release.
Norbert
-- Best regards, Igor Stasenko AKA sig.
On Mon, 2008-09-15 at 16:26 +0300, Igor Stasenko wrote:
2008/9/15 Norbert Hartl <norbert@hartl.name>:
On Mon, 2008-09-15 at 14:44 +0300, Igor Stasenko wrote:
2008/9/15 Norbert Hartl <norbert@hartl.name>:
On Mon, 2008-09-15 at 09:53 +0300, Igor Stasenko wrote:
2008/9/15 Norbert Hartl <norbert@hartl.name>:
On Mon, 2008-09-15 at 03:36 +0300, Igor Stasenko wrote:
I managed to build squeak + freetype plugin on my ubuntu box. Not sure, however how to package resulting binary.
I took a look at the svn repo and there is indeed no other option than installing the binary in the system. I wonder how the vm is usually packed. The links on squeakvm.org for the redhat and debian packages are disabled, too.
I can help building debian packages. Maybe it would be good the check in the debian files into svn for easy package creation.
yes, something like 'make bin-package' would be cool
Btw, Ubuntu having a squeak in its binary packages collection, so i think its better to contact with people who actually did it instead of repeating doing same. But i can't remember who actually made it.
Ah btw. do you know apt-src??? Try to do
apt-src install squeak-vm
well, it deals with source packages, not binary. People who care to build squeak from sources should really get it from squeakvm.org not from other sources. IMO.
I'm sure the sources are taken from squeakvm.org. It's just that a system like debian has source snapshots. So to build a certain version of a package you export those sources into the debian skeleton and build the binary from there. This way maintainer and others are able to build the same package from the same sources. If sources are updated you need to create a new version. It just differs in the way you do it. Using a tag from svn to get sources is not the way debian handles it.
Yeah, but how would you deal with sources generated by VMMaker? We having two sources participating in final result: - VMMaker - platforms source.
unlike from C world, where everything in single package.
Should such distribution include a VMMaker sources, and then , in some way build everything from scratch (which requires to having some version of squeak installed already)? Otherwise you need to carry the snapshot of generated sources in this package, which i really don't like.
I don't think there are much alternatives. Somehow you have to freeze the state of the sources. No need to recreate a fixed state with a tool like VMMaker. After VMMaker has finished it is just a bunch of C files. Creating a copy/snapshot of it isn't that bad even if includes svn and vmmaker sources. The rationale behind the deb-src is that there is e.g. a security team in debian that can patch the whole thing if they find a security problem in the sources. That means a debian package is the binary compiled from sources (snapshot) plus patches from the one maintaining the package plus patches from the debian team plus patches from the security team... :) The average user isn't using deb-src. The open source just enables you to do so if you have the need to. Including a plugin in the vm is good use case for that. You take the deb-src and adjust it to your need. If you find the sources being outdated you can email the maintainer. If you want to include stuff do the same. If it is all to tedious or slow you might try _being_ the maintainer ;) Norbert
That's why i'm thinking that best would to distribute binary, not sources. And people who like to build everything from scratch should be pointed to squeakvm.org (or any other site, where such binary came from).
We're getting back to discussion on squeak-dev, that debian people don't want to include squeak in their main repository (or how do they call it). Because squeak don't have a process which can recreate image purely from source files, and because it is complete stupidity :)
Please have a look at the debian/changelog file. That is the file where the builder takes the version number from. A comment what has changed comes along with it.
The easiest way to deal with this is to integrate the debian skeleton in the squeakvm repository. Than you can checkout svn and create a package from it. And someone needs to update the debian repository so the new vm is integrated in the next release.
Norbert
participants (5)
-
Alexandre Bergel -
Andrew Tween -
Igor Stasenko -
Norbert Hartl -
Stéphane Ducasse