[squeak-dev] Building the freetype-plugin for win32

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

[squeak-dev] Building the freetype-plugin for win32

Markus Fritsche
Hello,

I have the sources as supplied at
http://www.squeakvm.org/win32/release/SqueakVM-Win32-3.10.7-src.zip, the
gnutools build environment and the dx7sdk - I can build regular VMs with
my setup.

Does anybody know what additional requirements I have to fulfil to build
the freetype plugin? Are there any libraries, headers etc. that need to
be installed?

Kind regards,
        Markus


Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Building the freetype-plugin for win32

Andreas.Raab
Markus Fritsche wrote:
> Does anybody know what additional requirements I have to fulfil to build
> the freetype plugin? Are there any libraries, headers etc. that need to
> be installed?

There are about five different versions of "the freetype plugin"
floating around. If you can point me to a definitive source, I can give
it a try.

Cheers,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Building the freetype-plugin for win32

Igor Stasenko
2008/10/7 Andreas Raab <[hidden email]>:
> Markus Fritsche wrote:
>>
>> Does anybody know what additional requirements I have to fulfil to build
>> the freetype plugin? Are there any libraries, headers etc. that need to
>> be installed?
>
> There are about five different versions of "the freetype plugin" floating
> around. If you can point me to a definitive source, I can give it a try.
>

I built it with headers of freetype-2.3.7.zip downloaded from sourceforge.

> Cheers,
>  - Andreas
>
>



--
Best regards,
Igor Stasenko AKA sig.

Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Building the freetype-plugin for win32

Andreas.Raab
Igor Stasenko wrote:

> 2008/10/7 Andreas Raab <[hidden email]>:
>> Markus Fritsche wrote:
>>> Does anybody know what additional requirements I have to fulfil to build
>>> the freetype plugin? Are there any libraries, headers etc. that need to
>>> be installed?
>> There are about five different versions of "the freetype plugin" floating
>> around. If you can point me to a definitive source, I can give it a try.
>>
>
> I built it with headers of freetype-2.3.7.zip downloaded from sourceforge.

I don't mean the freetype version, I mean the Squeak plugin version.
Which Monticello package were you using for generating the plugin?

Cheers,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Building the freetype-plugin for win32

Igor Stasenko
2008/10/7 Andreas Raab <[hidden email]>:

> Igor Stasenko wrote:
>>
>> 2008/10/7 Andreas Raab <[hidden email]>:
>>>
>>> Markus Fritsche wrote:
>>>>
>>>> Does anybody know what additional requirements I have to fulfil to build
>>>> the freetype plugin? Are there any libraries, headers etc. that need to
>>>> be installed?
>>>
>>> There are about five different versions of "the freetype plugin" floating
>>> around. If you can point me to a definitive source, I can give it a try.
>>>
>>
>> I built it with headers of freetype-2.3.7.zip downloaded from sourceforge.
>
> I don't mean the freetype version, I mean the Squeak plugin version. Which
> Monticello package were you using for generating the plugin?
>
http://source.impara.de/freetype/Freetype-Plugin-JMM.53.mcz


> Cheers,
>  - Andreas
>
>



--
Best regards,
Igor Stasenko AKA sig.

Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Building the freetype-plugin for win32

Andreas.Raab
In reply to this post by Markus Fritsche
Hi Markus -

There is now an external FT2Plugin available on

   http://squeakvm.org/win32/release/FT2Plugin.zip

Let me know if it works for you - if it does I'll commit the support
code around it.

Cheers,
   - Andreas

Markus Fritsche wrote:

> Hello,
>
> I have the sources as supplied at
> http://www.squeakvm.org/win32/release/SqueakVM-Win32-3.10.7-src.zip, the
> gnutools build environment and the dx7sdk - I can build regular VMs with
> my setup.
>
> Does anybody know what additional requirements I have to fulfil to build
> the freetype plugin? Are there any libraries, headers etc. that need to
> be installed?
>
> Kind regards,
> Markus
>
>
>


Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Building the freetype-plugin for win32

Andreas.Raab
In reply to this post by Igor Stasenko
Igor Stasenko wrote:
>> I don't mean the freetype version, I mean the Squeak plugin version. Which
>> Monticello package were you using for generating the plugin?
>>
> http://source.impara.de/freetype/Freetype-Plugin-JMM.53.mcz

This worked, thanks for the pointer. BTW, there was something odd in the
plugin - it includes <tttables.h> where in my understanding it needs to
include <freetype/tttables.h>. The way it is now I had to stand on my
head to add an include path that shouldn't really be there.

Is anyone maintaining the plugin? The fix is utterly trivial.

Cheers,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Building the freetype-plugin for win32

Bryce Kampjes
Andreas Raab writes:
 > Igor Stasenko wrote:
 > >> I don't mean the freetype version, I mean the Squeak plugin version. Which
 > >> Monticello package were you using for generating the plugin?
 > >>
 > > http://source.impara.de/freetype/Freetype-Plugin-JMM.53.mcz
 >
 > This worked, thanks for the pointer. BTW, there was something odd in the
 > plugin - it includes <tttables.h> where in my understanding it needs to
 > include <freetype/tttables.h>. The way it is now I had to stand on my
 > head to add an include path that shouldn't really be there.
 >
 > Is anyone maintaining the plugin? The fix is utterly trivial.

I had to do something horrid with the makefiles on Linux too.  I
assumed it was due to how freetype was set-up on Windows or Mac.

Bryce

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Building the freetype-plugin for win32

Bert Freudenberg

Am 09.10.2008 um 22:21 schrieb <[hidden email]>:

> Andreas Raab writes:
>> Igor Stasenko wrote:
>>>> I don't mean the freetype version, I mean the Squeak plugin  
>>>> version. Which
>>>> Monticello package were you using for generating the plugin?
>>>>
>>> http://source.impara.de/freetype/Freetype-Plugin-JMM.53.mcz
>>
>> This worked, thanks for the pointer. BTW, there was something odd  
>> in the
>> plugin - it includes <tttables.h> where in my understanding it  
>> needs to
>> include <freetype/tttables.h>. The way it is now I had to stand on my
>> head to add an include path that shouldn't really be there.
>>
>> Is anyone maintaining the plugin? The fix is utterly trivial.
>
> I had to do something horrid with the makefiles on Linux too.  I
> assumed it was due to how freetype was set-up on Windows or Mac.


Given the initials on that package I have a hunch what platform is to  
blame ;)

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Building the freetype-plugin for win32

David T. Lewis
In reply to this post by Andreas.Raab
On Wed, Oct 08, 2008 at 08:37:58PM -0700, Andreas Raab wrote:

> Igor Stasenko wrote:
> >>I don't mean the freetype version, I mean the Squeak plugin version. Which
> >>Monticello package were you using for generating the plugin?
> >>
> >http://source.impara.de/freetype/Freetype-Plugin-JMM.53.mcz
>
> This worked, thanks for the pointer. BTW, there was something odd in the
> plugin - it includes <tttables.h> where in my understanding it needs to
> include <freetype/tttables.h>. The way it is now I had to stand on my
> head to add an include path that shouldn't really be there.
>
> Is anyone maintaining the plugin? The fix is utterly trivial.

If it is *not* actively maintained elsewhere and if it is MIT licensed,
would it help to add it to the VMMaker project on SqueakSource? I can
volunteer to harvest small changes if nobody else is doing it.

Dave


Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Building the freetype-plugin for win32

Andreas.Raab
David T. Lewis wrote:
> If it is *not* actively maintained elsewhere and if it is MIT licensed,
> would it help to add it to the VMMaker project on SqueakSource? I can
> volunteer to harvest small changes if nobody else is doing it.

I'm -0 on this proposal, mostly because the freetype plugin
intrinsically depends on the rest of freetype so you can't load or
generate it without having the rest loaded. Given this, having the
plugin in VMMaker probably only increases confusion since now there is
the plugin, but not the rest of freetype. I think it would be better if
there were a canonical repository for freetype (incl. the plugin) that
were accessible to other developers.

Cheers,
   - Andreas


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Building the freetype-plugin for win32

Igor Stasenko
In reply to this post by Andreas.Raab
2008/10/9 Andreas Raab <[hidden email]>:

> Igor Stasenko wrote:
>>>
>>> I don't mean the freetype version, I mean the Squeak plugin version.
>>> Which
>>> Monticello package were you using for generating the plugin?
>>>
>> http://source.impara.de/freetype/Freetype-Plugin-JMM.53.mcz
>
> This worked, thanks for the pointer. BTW, there was something odd in the
> plugin - it includes <tttables.h> where in my understanding it needs to
> include <freetype/tttables.h>. The way it is now I had to stand on my head
> to add an include path that shouldn't really be there.
>
Yes, i noticed that too..
The fix is trivial and
#include <tttables.h>
should be replaced by
#include FT_TRUETYPE_TABLES_H

I fixed it, but since i'm not a maintainer of plugin, i don't know who
to ask to update the package.
You  can find the fixed method in attachment.

> Is anyone maintaining the plugin? The fix is utterly trivial.
>
> Cheers,
>  - Andreas
>
>



--
Best regards,
Igor Stasenko AKA sig.



FT2Plugin-header-fix.1.cs (582 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Building the freetype-plugin for win32

David T. Lewis
In reply to this post by Andreas.Raab
On Thu, Oct 09, 2008 at 05:04:55PM -0700, Andreas Raab wrote:

> David T. Lewis wrote:
> >If it is *not* actively maintained elsewhere and if it is MIT licensed,
> >would it help to add it to the VMMaker project on SqueakSource? I can
> >volunteer to harvest small changes if nobody else is doing it.
>
> I'm -0 on this proposal, mostly because the freetype plugin
> intrinsically depends on the rest of freetype so you can't load or
> generate it without having the rest loaded. Given this, having the
> plugin in VMMaker probably only increases confusion since now there is
> the plugin, but not the rest of freetype. I think it would be better if
> there were a canonical repository for freetype (incl. the plugin) that
> were accessible to other developers.

Agreed.

- Dave