About FreeType in Squeak4.5

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

About FreeType in Squeak4.5

Nicolas Cellier
 
Hi Eliot,
seeing these 2 lines in BuildSqueak45Image.st

                "('http://www.squeaksource.com/FreeTypePlus'    5    ('FreeType')) can't load this.  it is toxic to Squeak 4.5"
                ('http://www.squeaksource.com/FreetypePlugin'    8    ('Freetype-Plugin'))

that reminds me i have opened an alternate repository not toxic for Squeak 4.x :

MCHttpRepository
    location: 'http://ss3.gemstone.com/ss/FreeTypePlus'
    user: ''
    password: ''

cheers

Nicolas
Reply | Threaded
Open this post in threaded view
|

Re: About FreeType in Squeak4.5

David T. Lewis
 
On Sun, Apr 27, 2014 at 02:43:59PM +0200, Nicolas Cellier wrote:

>  
> Hi Eliot,
> seeing these 2 lines in BuildSqueak45Image.st
>
>                 "('http://www.squeaksource.com/FreeTypePlus'    5
> ('FreeType')) can't load this.  it is toxic to Squeak 4.5"
>                 ('http://www.squeaksource.com/FreetypePlugin'    8
> ('Freetype-Plugin'))
>
> that reminds me i have opened an alternate repository not toxic for Squeak
> 4.x :
>
> MCHttpRepository
>     location: 'http://ss3.gemstone.com/ss/FreeTypePlus'
>     user: ''
>     password: ''
>


Nicolas,

Just FYI:
Your new repository is used in the update map for VMMaker trunk, and
the Freetype plugin is still loaded from squeaksource.com. I have had
no problems loading FreeType from your new repository.

  repository ('http://ss3.gemstone.com/ss/FreeTypePlus')
  repository ('http://www.squeaksource.com/FreetypePlugin')
  dependency ('FreeType' 'FreeType-nice.442' '9895a884-7d42-4783-9fb8-1a71ef244e16')
  dependency ('Freetype-Plugin' 'Freetype-Plugin-dtl.66' '6d288695-f320-4df4-845d-5335cc7b3cec')

Dave

Reply | Threaded
Open this post in threaded view
|

Re: About FreeType in Squeak4.5

Eliot Miranda-2
In reply to this post by Nicolas Cellier
 
Hi Nicolas,

    great!  No wait, not so great :-(.  I get an error on loading due to an Undeclared FT2Library in updateFromFileSystem or some such.  This looks like mis-ordered initialization to me.  Do I have write permission to that repository?

I have some fixes for the FT2Library.  I'm also hampered by the SmartSyntaxPlugin's insistence that the classes ued in its parameter specs be present in the image.  This makes splitting the FreeTypePlugin from the FreeType package (something that IMO is a very good thing to do) is impossible.  I may try and change SmartSyntaxPlugin to make those classes being present optional.


On Sun, Apr 27, 2014 at 5:43 AM, Nicolas Cellier <[hidden email]> wrote:
 
Hi Eliot,
seeing these 2 lines in BuildSqueak45Image.st

                "('http://www.squeaksource.com/FreeTypePlus'    5    ('FreeType')) can't load this.  it is toxic to Squeak 4.5"
                ('http://www.squeaksource.com/FreetypePlugin'    8    ('Freetype-Plugin'))

that reminds me i have opened an alternate repository not toxic for Squeak 4.x :

MCHttpRepository
    location: 'http://ss3.gemstone.com/ss/FreeTypePlus'
    user: ''
    password: ''

cheers

Nicolas




--
best,
Eliot
Reply | Threaded
Open this post in threaded view
|

Re: About FreeType in Squeak4.5

Nicolas Cellier
 

2014-04-28 23:40 GMT+02:00 Eliot Miranda <[hidden email]>:
 
Hi Nicolas,

    great!  No wait, not so great :-(.  I get an error on loading due to an Undeclared FT2Library in updateFromFileSystem or some such.  This looks like mis-ordered initialization to me.  Do I have write permission to that repository?


Hi Eliot, sure I added you and David as Developers, tell me if you need admin privileges.
 
I have some fixes for the FT2Library.  I'm also hampered by the SmartSyntaxPlugin's insistence that the classes ued in its parameter specs be present in the image.  This makes splitting the FreeTypePlugin from the FreeType package (something that IMO is a very good thing to do) is impossible.  I may try and change SmartSyntaxPlugin to make those classes being present optional.


Yes, I have separated FreeTypeConstants which is a pre-requisite currently of FreeType, but this was vain indeed, the plugin is computing the offset of each and every ivar so requires the exact class layout for each FreeType class...
Does a missing FreeTypeConstants explains the initialization problem, or is it something else?

Nicolas


On Sun, Apr 27, 2014 at 5:43 AM, Nicolas Cellier <[hidden email]> wrote:
 
Hi Eliot,
seeing these 2 lines in BuildSqueak45Image.st

                "('http://www.squeaksource.com/FreeTypePlus'    5    ('FreeType')) can't load this.  it is toxic to Squeak 4.5"
                ('http://www.squeaksource.com/FreetypePlugin'    8    ('Freetype-Plugin'))

that reminds me i have opened an alternate repository not toxic for Squeak 4.x :

MCHttpRepository
    location: 'http://ss3.gemstone.com/ss/FreeTypePlus'
    user: ''
    password: ''

cheers

Nicolas




--
best,
Eliot


Reply | Threaded
Open this post in threaded view
|

Re: About FreeType in Squeak4.5

David T. Lewis
 
On Tue, Apr 29, 2014 at 04:17:05PM +0200, Nicolas Cellier wrote:

>  
> 2014-04-28 23:40 GMT+02:00 Eliot Miranda <[hidden email]>:
>
> >
> > Hi Nicolas,
> >
> >     great!  No wait, not so great :-(.  I get an error on loading due to
> > an Undeclared FT2Library in updateFromFileSystem or some such.  This looks
> > like mis-ordered initialization to me.  Do I have write permission to that
> > repository?
> >
> >
> Hi Eliot, sure I added you and David as Developers, tell me if you need
> admin privileges.
>
>
> > I have some fixes for the FT2Library.  I'm also hampered by the
> > SmartSyntaxPlugin's insistence that the classes ued in its parameter specs
> > be present in the image.  This makes splitting the FreeTypePlugin from the
> > FreeType package (something that IMO is a very good thing to do) is
> > impossible.  I may try and change SmartSyntaxPlugin to make those classes
> > being present optional.
> >
> >
> Yes, I have separated FreeTypeConstants which is a pre-requisite currently
> of FreeType, but this was vain indeed, the plugin is computing the offset
> of each and every ivar so requires the exact class layout for each FreeType
> class*...*

I remember looking at this some time ago and coming to the same conclusion.

There were several classes involved, and presumably they could be packaged
in some way to reduce the dependencies, but to me it did not seem worth the
trouble. But if someone else wants to work on it I will not complain :-)

Dave