gcc -g -O2 -fomit-frame-pointer -DLSB_FIRST=1 -DHAVE_CONFIG_H -I/home/sig/squeak/src/build -I/home/sig/squeak/src/platforms/unix/vm -I/home/sig/squeak/src/platforms/Cross/vm -I/home/sig/squeak/src/src/vm -c /home/sig/squeak/src/src/plugins/FT2Plugin/FT2Plugin.c -fPIC -DPIC -DPIC -o FT2Plugin.o
In file included from /home/sig/squeak/src/src/plugins/FT2Plugin/FT2Plugin.c:30: /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
and ftheader.h contents says:
/* `<prefix>/include/freetype2' must be in your current inclusion path */ #include <freetype/config/ftheader.h>
So, it looks like a gcc flags missing the include option:
-I/use/include/freetype2
On Wed, Apr 28, 2010 at 02:51:58AM +0300, Igor Stasenko wrote:
gcc -g -O2 -fomit-frame-pointer -DLSB_FIRST=1 -DHAVE_CONFIG_H -I/home/sig/squeak/src/build -I/home/sig/squeak/src/platforms/unix/vm -I/home/sig/squeak/src/platforms/Cross/vm -I/home/sig/squeak/src/src/vm -c /home/sig/squeak/src/src/plugins/FT2Plugin/FT2Plugin.c -fPIC -DPIC -DPIC -o FT2Plugin.o
In file included from /home/sig/squeak/src/src/plugins/FT2Plugin/FT2Plugin.c:30: /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
and ftheader.h contents says:
/* `<prefix>/include/freetype2' must be in your current inclusion path */ #include <freetype/config/ftheader.h>
So, it looks like a gcc flags missing the include option:
-I/use/include/freetype2
See platforms/unix/plugins/FT2Plugin/FT2PluginHeaderFix-ikp.1.cs for the patch that Ian used to address this. I cannot say if it works on Windows, if so Ian's patch should be included in the FT2Plugin. Otherwise it presumably should be addressed in CMake to get the include path right.
I'm not sure who is the maintainer of FT2Plugin. I have the VMMaker configuration map pointing at source.impara.de/freetype, but I'm not sure if this is being actively maintained.
Dave
If you mean this fix, which changes cg addHeaderFile: '<tttables.h>'.
to cg addHeaderFile: '<freetype/tttables.h>'.
it is fine and i changed it.
But read carefully please.. For some unknown reason, CMAKE does not adds the include directive with freetype path. So, a compilation fails at including ft2build.h file, because it can't find it!
I manually hacked the Makefile and added the -I/usr/include/freetype2
so, after that i can compile.
Just FYI, this include is just plain broken in FT2Plugin. The correct usage of Freetype is by using the macros, for example FT_FREETYPE_H and FT_OUTLINE_H. The correct macro to use here is:
cg addHeaderFile: 'FT_TRUETYPE_TABLES_H'.
Instead of using either 'tttables.h' OR 'freetype/tttables.h' See the Freetype documentation about using the header files correctly:
http://freetype.sourceforge.net/freetype2/docs/tutorial/step1.html
The reason it works on Windows is that I'm going out of my way to add freetype/ to the include path (which is wrong too but it works).
Cheers, - Andreas
On 4/27/2010 5:59 PM, David T. Lewis wrote:
On Wed, Apr 28, 2010 at 02:51:58AM +0300, Igor Stasenko wrote:
gcc -g -O2 -fomit-frame-pointer -DLSB_FIRST=1 -DHAVE_CONFIG_H -I/home/sig/squeak/src/build -I/home/sig/squeak/src/platforms/unix/vm -I/home/sig/squeak/src/platforms/Cross/vm -I/home/sig/squeak/src/src/vm -c /home/sig/squeak/src/src/plugins/FT2Plugin/FT2Plugin.c -fPIC -DPIC -DPIC -o FT2Plugin.o
In file included from /home/sig/squeak/src/src/plugins/FT2Plugin/FT2Plugin.c:30: /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
and ftheader.h contents says:
/* `<prefix>/include/freetype2' must be in your current inclusion path */ #include<freetype/config/ftheader.h>
So, it looks like a gcc flags missing the include option:
-I/use/include/freetype2
See platforms/unix/plugins/FT2Plugin/FT2PluginHeaderFix-ikp.1.cs for the patch that Ian used to address this. I cannot say if it works on Windows, if so Ian's patch should be included in the FT2Plugin. Otherwise it presumably should be addressed in CMake to get the include path right.
I'm not sure who is the maintainer of FT2Plugin. I have the VMMaker configuration map pointing at source.impara.de/freetype, but I'm not sure if this is being actively maintained.
Dave
I know that, Andreas.
But the problem is not in that. I repeat: Damn CMAKE does not adds a search path to /usr/include/freetype2 , where all these files rooted!
On 28 April 2010 04:15, Andreas Raab andreas.raab@gmx.de wrote:
Just FYI, this include is just plain broken in FT2Plugin. The correct usage of Freetype is by using the macros, for example FT_FREETYPE_H and FT_OUTLINE_H. The correct macro to use here is:
cg addHeaderFile: 'FT_TRUETYPE_TABLES_H'.
Instead of using either 'tttables.h' OR 'freetype/tttables.h' See the Freetype documentation about using the header files correctly:
http://freetype.sourceforge.net/freetype2/docs/tutorial/step1.html
The reason it works on Windows is that I'm going out of my way to add freetype/ to the include path (which is wrong too but it works).
Cheers, - Andreas
On 4/27/2010 5:59 PM, David T. Lewis wrote:
On Wed, Apr 28, 2010 at 02:51:58AM +0300, Igor Stasenko wrote:
gcc -g -O2 -fomit-frame-pointer -DLSB_FIRST=1 -DHAVE_CONFIG_H -I/home/sig/squeak/src/build -I/home/sig/squeak/src/platforms/unix/vm -I/home/sig/squeak/src/platforms/Cross/vm -I/home/sig/squeak/src/src/vm -c /home/sig/squeak/src/src/plugins/FT2Plugin/FT2Plugin.c -fPIC -DPIC -DPIC -o FT2Plugin.o
In file included from /home/sig/squeak/src/src/plugins/FT2Plugin/FT2Plugin.c:30: /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
and ftheader.h contents says:
/* `<prefix>/include/freetype2' must be in your current inclusion path */ #include<freetype/config/ftheader.h>
So, it looks like a gcc flags missing the include option:
-I/use/include/freetype2
See platforms/unix/plugins/FT2Plugin/FT2PluginHeaderFix-ikp.1.cs for the patch that Ian used to address this. I cannot say if it works on Windows, if so Ian's patch should be included in the FT2Plugin. Otherwise it presumably should be addressed in CMake to get the include path right.
I'm not sure who is the maintainer of FT2Plugin. I have the VMMaker configuration map pointing at source.impara.de/freetype, but I'm not sure if this is being actively maintained.
Dave
On 4/27/2010 6:18 PM, Igor Stasenko wrote:
I know that, Andreas.
But the problem is not in that. I repeat: Damn CMAKE does not adds a search path to /usr/include/freetype2 , where all these files rooted!
I understand. I wasn't responding to your post but rather David's and his question about whether Ian's patch "would work" on Windows. The answer is: Yes, it would but for the wrong reasons. The correct usage of Freetype is by using the macro.
Cheers, - Andreas
On 28 April 2010 04:15, Andreas Raabandreas.raab@gmx.de wrote:
Just FYI, this include is just plain broken in FT2Plugin. The correct usage of Freetype is by using the macros, for example FT_FREETYPE_H and FT_OUTLINE_H. The correct macro to use here is:
cg addHeaderFile: 'FT_TRUETYPE_TABLES_H'.
Instead of using either 'tttables.h' OR 'freetype/tttables.h' See the Freetype documentation about using the header files correctly:
http://freetype.sourceforge.net/freetype2/docs/tutorial/step1.html
The reason it works on Windows is that I'm going out of my way to add freetype/ to the include path (which is wrong too but it works).
Cheers,
- Andreas
On 4/27/2010 5:59 PM, David T. Lewis wrote:
On Wed, Apr 28, 2010 at 02:51:58AM +0300, Igor Stasenko wrote:
gcc -g -O2 -fomit-frame-pointer -DLSB_FIRST=1 -DHAVE_CONFIG_H -I/home/sig/squeak/src/build -I/home/sig/squeak/src/platforms/unix/vm -I/home/sig/squeak/src/platforms/Cross/vm -I/home/sig/squeak/src/src/vm -c /home/sig/squeak/src/src/plugins/FT2Plugin/FT2Plugin.c -fPIC -DPIC -DPIC -o FT2Plugin.o
In file included from /home/sig/squeak/src/src/plugins/FT2Plugin/FT2Plugin.c:30: /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
and ftheader.h contents says:
/* `<prefix>/include/freetype2' must be in your current inclusion path */ #include<freetype/config/ftheader.h>
So, it looks like a gcc flags missing the include option:
-I/use/include/freetype2
See platforms/unix/plugins/FT2Plugin/FT2PluginHeaderFix-ikp.1.cs for the patch that Ian used to address this. I cannot say if it works on Windows, if so Ian's patch should be included in the FT2Plugin. Otherwise it presumably should be addressed in CMake to get the include path right.
I'm not sure who is the maintainer of FT2Plugin. I have the VMMaker configuration map pointing at source.impara.de/freetype, but I'm not sure if this is being actively maintained.
Dave
On 28.04.2010, at 02:59, David T. Lewis wrote:
I'm not sure who is the maintainer of FT2Plugin. I have the VMMaker configuration map pointing at source.impara.de/freetype, but I'm not sure if this is being actively maintained.
The impara repo is definitely unmaintained.
Michael probably intended to migrate that to
http://www.squeaksource.com/Freetype.html
but we never got around to it.
I don't see the plugin sources anywhere else (Andy's "Freetype Plus" repo seems to not have it). Might be best to migrate into VMMaker?
- Bert -
FT2Plugin, which stands for freetype plugin is already in VMMaker. As well as platform source files in svn repository.. I haven't used any external sources except official ones.. Man, i just trying to get VM built with my new plugin.. :)
On 28 April 2010 04:31, Bert Freudenberg bert@freudenbergs.de wrote:
On 28.04.2010, at 02:59, David T. Lewis wrote:
I'm not sure who is the maintainer of FT2Plugin. I have the VMMaker configuration map pointing at source.impara.de/freetype, but I'm not sure if this is being actively maintained.
The impara repo is definitely unmaintained.
Michael probably intended to migrate that to
http://www.squeaksource.com/Freetype.html
but we never got around to it.
I don't see the plugin sources anywhere else (Andy's "Freetype Plus" repo seems to not have it). Might be best to migrate into VMMaker?
- Bert -
Just put it into FT2Plugin somehow :)
http://bugs.squeak.org/view.php?id=7521
On Wed, Apr 28, 2010 at 03:31:51AM +0200, Bert Freudenberg wrote:
On 28.04.2010, at 02:59, David T. Lewis wrote:
I'm not sure who is the maintainer of FT2Plugin. I have the VMMaker configuration map pointing at source.impara.de/freetype, but I'm not sure if this is being actively maintained.
The impara repo is definitely unmaintained.
Michael probably intended to migrate that to
http://www.squeaksource.com/Freetype.html
but we never got around to it.
I don't see the plugin sources anywhere else (Andy's "Freetype Plus" repo seems to not have it). Might be best to migrate into VMMaker?
Bert,
Do you know if the rest of the stuff in http://source.impara.de/freetype/ still has value (or has it been superceded by Freetype Plus)? If yes then I would rather move it all to SqS/Freetype and let the plugin be maintained there. Assuming that you can get administrative access to it and add me as a developer, I'll be glad to do the copying.
On the other hand if the plugin is the only issue, I'll go ahead and move it into the VMMaker package. Do you know if it is MIT licensed?
Thanks,
Dave
On 01.05.2010, at 18:31, David T. Lewis wrote:
On Wed, Apr 28, 2010 at 03:31:51AM +0200, Bert Freudenberg wrote:
On 28.04.2010, at 02:59, David T. Lewis wrote:
I'm not sure who is the maintainer of FT2Plugin. I have the VMMaker configuration map pointing at source.impara.de/freetype, but I'm not sure if this is being actively maintained.
The impara repo is definitely unmaintained.
Michael probably intended to migrate that to
http://www.squeaksource.com/Freetype.html
but we never got around to it.
I don't see the plugin sources anywhere else (Andy's "Freetype Plus" repo seems to not have it). Might be best to migrate into VMMaker?
Bert,
Do you know if the rest of the stuff in http://source.impara.de/freetype/ still has value (or has it been superceded by Freetype Plus)?
Honestly I don't remember. The Sophie folks should know better, they were the latest users I think. Or is it used in Pharo now?
If yes then I would rather move it all to SqS/Freetype and let the plugin be maintained there. Assuming that you can get administrative access to it and add me as a developer, I'll be glad to do the copying.
The impara repos are all read-only, not actively used any more. And I'm not admin on
http://www.squeaksource.com/Freetype.html
so if you want to use that, Michael needs to add you. Or ... Mike, how about you just delete that empty repository?
On the other hand if the plugin is the only issue, I'll go ahead and move it into the VMMaker package.
I'd think that any default VM package should have at least a copy in the VM repo.
Do you know if it is MIT licensed?
I can't imagine what else it could be, though let Michael confirm it (cc'ed).
- Bert -
vm-dev@lists.squeakfoundation.org