New Cog builds available: included Freetype plugin on macs by default

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
25 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: New Cog builds available: included Freetype plugin on macs by default

EstebanLM

damn! there is something with my mind today. I will call myself to silence until tomorrow :P


El 06/07/2011, a las 11:42a.m., Igor Stasenko escribió:

>
> On 6 July 2011 16:39, Esteban Lorenzano <[hidden email]> wrote:
>>
>> btw... ConfigurationOfCog should load latest version of FT2Plugin, and it is not doing it...
>> how your builds are working?
>>
> huh? it loads them. Have you updated to latest ConfigurationOfCog?
>
> version23: spec
> <version: '2.3' imports: #('1.6-baseline' )>
>
> spec for: #'common' do: [
> spec blessing: #'development'.
> spec description: 'Added freetype plugin'.
> spec author: 'IgorStasenko'.
> spec timestamp: '4/07/2011 11:15'.
> spec
> package: 'FFI-Pools' with: 'FFI-Pools-eem.3';
> package: 'SharedPool-Speech' with: 'SharedPool-Speech-dtl.2';
> package: 'Balloon-Engine-Pools' with: 'Balloon-Engine-Pools-JB.2';
> package: 'Alien-Core' with: 'Alien-Core-IgorStasenko.68';
> package: 'Sound' with: 'Sound-StephaneDucasse.62';
> package: 'VMConstruction-Plugins-OSProcessPlugin' with:
> 'VMConstruction-Plugins-OSProcessPlugin-dtl.27';
>>>> package: 'Freetype-Plugin' with: 'Freetype-Plugin-IgorStasenko.61';
> package: 'Cog' with: 'Cog-eem.44';
> package: 'VMMaker-oscog' with: 'VMMaker-oscog-IgorStasenko.92';
> package: 'Qwaq-VMProfiling-Plugins' with: 'Qwaq-VMProfiling-Plugins-JB.5';
> package: 'CMakeVMMaker' with: 'CMakeVMMaker-IgorStasenko.115'. ].
>
>> El 06/07/2011, a las 10:08a.m., Igor Stasenko escribió:
>>
>>>
>>> On 6 July 2011 15:06, Esteban Lorenzano <[hidden email]> wrote:
>>>>
>>>> hi,
>>>> yes... this is another case of "premature questioning" :)
>>>> now... a stupid one: I don't have "configure" tool installed on my system. Do you know what I need to install to have it?
>>>> is a port?
>>>>
>>> yes, please read the http://code.google.com/p/cog/wiki/FT2Plugin
>>> (looks like you asked another premature question ;)
>>>
>>>> cheers,
>>>> Esteban
>>>>
>>>> El 06/07/2011, a las 9:59a.m., Igor Stasenko escribió:
>>>>
>>>>>
>>>>> On 6 July 2011 14:56, Esteban Lorenzano <[hidden email]> wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> El 05/07/2011, a las 12:04p.m., Igor Stasenko escribió:
>>>>>>
>>>>>>> Freetype library are built from scratch by downloading library sources
>>>>>>> directly from git repository (maybe its a bit too much, but it works).
>>>>>>> See /unixbuild/FT2Plugin/makeFreetype.sh
>>>>>>>
>>>>>>> this script is then used by cmake config to build libfreetype.a which
>>>>>>> is statically linked with freetype plugin.
>>>>>>>
>>>>>>
>>>>>> sorry, this is very unclear for me
>>>>>> how do I execute makeFreetype.sh? what are expecting as a parameter? any further instruction?
>>>>>>
>>>>>
>>>>> The argument is where to copy the resulting libfreetype.a file.
>>>>>
>>>>> But see
>>>>>
>>>>> MacOSConfig>>configureFT2Plugin: maker
>>>>>
>>>>> it is used there.
>>>>> It should work with cocoa builds without any changes.
>>>>> So, just try to build it and see what happens :)
>>>>>
>>>>>> cheers,
>>>>>> Esteban
>>>>>
>>>>> --
>>>>> Best regards,
>>>>> Igor Stasenko AKA sig.
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko AKA sig.
>>
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.

Reply | Threaded
Open this post in threaded view
|

Re: New Cog builds available: included Freetype plugin on macs by default

Stefan Marr
In reply to this post by Igor Stasenko


On 06 Jul 2011, at 16:23, Igor Stasenko wrote:
>> Igor: if I understand correctly, there is something extra we should do now while building the VM (this stuff about FT2Plugin). Since Pharo does not use FT2Plugin by default since Pharo 1.0 what abut letting the default plugins as easier as possible for people trying to build VMs?  for those that want FT2Plugin then they can easily do it. Even Hudson can be configured to do:
>>
> you don't want freetype plugin to be there by default in configs?
> Okay, i will change that.

The FT2Plugin is the one necessary for using monospaced fonts from my system, right?
I need mono-spaced fonts to not get even more crazy, so please consider my vote for making it a default plugin.

Thanks
Stefan


--
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax:   +32 2 629 3525

Reply | Threaded
Open this post in threaded view
|

Re: New Cog builds available: included Freetype plugin on macs by default

Igor Stasenko

On 6 July 2011 18:11, Stefan Marr <[hidden email]> wrote:

>
>
> On 06 Jul 2011, at 16:23, Igor Stasenko wrote:
>>> Igor: if I understand correctly, there is something extra we should do now while building the VM (this stuff about FT2Plugin). Since Pharo does not use FT2Plugin by default since Pharo 1.0 what abut letting the default plugins as easier as possible for people trying to build VMs?  for those that want FT2Plugin then they can easily do it. Even Hudson can be configured to do:
>>>
>> you don't want freetype plugin to be there by default in configs?
>> Okay, i will change that.
>
> The FT2Plugin is the one necessary for using monospaced fonts from my system, right?
> I need mono-spaced fonts to not get even more crazy, so please consider my vote for making it a default plugin.
>
No need to go crazy :)

I will integrate FT2Plugin for all platforms, so hudson will build VMs
with it by default.
However, in configuration by default it won't be included, only if you
will run a separate command(s) to include it, like:

| config |
 config := CogUnixConfig new.
 config externalPlugins: (config externalPlugins copyWith: #MyHackyFirstPlugin).
 config generateSources; generate.

i changed api a bit, so now its more elegant:

CogUnixConfig new
  addExternalPlugins: #( FT2Plugin);
  generateSources; generate.

(i will include this into hudson builds, once i will make FT2Plugin to
work for windoze as well, and also OSProcessPlugin)

--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: New Cog builds available: included Freetype plugin on macs by default

Mariano Martinez Peck
 


On Wed, Jul 6, 2011 at 6:30 PM, Igor Stasenko <[hidden email]> wrote:

On 6 July 2011 18:11, Stefan Marr <[hidden email]> wrote:
>
>
> On 06 Jul 2011, at 16:23, Igor Stasenko wrote:
>>> Igor: if I understand correctly, there is something extra we should do now while building the VM (this stuff about FT2Plugin). Since Pharo does not use FT2Plugin by default since Pharo 1.0 what abut letting the default plugins as easier as possible for people trying to build VMs?  for those that want FT2Plugin then they can easily do it. Even Hudson can be configured to do:
>>>
>> you don't want freetype plugin to be there by default in configs?
>> Okay, i will change that.
>
> The FT2Plugin is the one necessary for using monospaced fonts from my system, right?
> I need mono-spaced fonts to not get even more crazy, so please consider my vote for making it a default plugin.
>
No need to go crazy :)

I will integrate FT2Plugin for all platforms, so hudson will build VMs
with it by default.
However, in configuration by default it won't be included, only if you
will run a separate command(s) to include it, like:

| config |
 config := CogUnixConfig new.
 config externalPlugins: (config externalPlugins copyWith: #MyHackyFirstPlugin).
 config generateSources; generate.

i changed api a bit, so now its more elegant:

CogUnixConfig new
 addExternalPlugins: #( FT2Plugin);
 generateSources; generate.

(i will include this into hudson builds, once i will make FT2Plugin to
work for windoze as well, and also OSProcessPlugin)


Igor, about about implementing #internalPluginsForHudson and #externalPluginsForHudson?
or maybe even #generateForHudson that does the #addExternalPlugin: #(FT2Plugin) ?

That way you don't need to change Hudson in the future but only those methods ;)

 
--
Best regards,
Igor Stasenko AKA sig.



--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: New Cog builds available: included Freetype plugin on macs by default

Igor Stasenko

On 6 July 2011 19:02, Mariano Martinez Peck <[hidden email]> wrote:

>
>
>
> On Wed, Jul 6, 2011 at 6:30 PM, Igor Stasenko <[hidden email]> wrote:
>>
>> On 6 July 2011 18:11, Stefan Marr <[hidden email]> wrote:
>> >
>> >
>> > On 06 Jul 2011, at 16:23, Igor Stasenko wrote:
>> >>> Igor: if I understand correctly, there is something extra we should do now while building the VM (this stuff about FT2Plugin). Since Pharo does not use FT2Plugin by default since Pharo 1.0 what abut letting the default plugins as easier as possible for people trying to build VMs?  for those that want FT2Plugin then they can easily do it. Even Hudson can be configured to do:
>> >>>
>> >> you don't want freetype plugin to be there by default in configs?
>> >> Okay, i will change that.
>> >
>> > The FT2Plugin is the one necessary for using monospaced fonts from my system, right?
>> > I need mono-spaced fonts to not get even more crazy, so please consider my vote for making it a default plugin.
>> >
>> No need to go crazy :)
>>
>> I will integrate FT2Plugin for all platforms, so hudson will build VMs
>> with it by default.
>> However, in configuration by default it won't be included, only if you
>> will run a separate command(s) to include it, like:
>>
>> | config |
>>  config := CogUnixConfig new.
>>  config externalPlugins: (config externalPlugins copyWith: #MyHackyFirstPlugin).
>>  config generateSources; generate.
>>
>> i changed api a bit, so now its more elegant:
>>
>> CogUnixConfig new
>>  addExternalPlugins: #( FT2Plugin);
>>  generateSources; generate.
>>
>> (i will include this into hudson builds, once i will make FT2Plugin to
>> work for windoze as well, and also OSProcessPlugin)
>>
>
> Igor, about about implementing #internalPluginsForHudson and #externalPluginsForHudson?
> or maybe even #generateForHudson that does the #addExternalPlugin: #(FT2Plugin) ?
>
Nah, i don't like tainting it with hudson-specific stuff.
And its easy to modify jobs to evaluate anything ..

> That way you don't need to change Hudson in the future but only those methods ;)
>



--
Best regards,
Igor Stasenko AKA sig.
12