Re: [ft-devel] OS X Framework support for CMake
Simple patch to CMake files that adds support of building OS X framework. Applied, thanks, with minor formatting. Please check whether everything's allright. Can be pulled from here: https://github.com/stopiccot/freetype2/commits/cmake_framework The next time, please attach the result of `git format-patch', which I much prefer to cloning the whole repository – apparently it is not possible at github to directly get a commit formatted as a patch file... But maybe I'm just too dumb :-) Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] Freetype support C++/CLI
Some time ago I built FreeType as managed code for .NET and used it in a project that used a C++/CLI wrapper, so it is definitely possible. I had to make some internal changes, though. FreeType used the identifier 'generic', which conflicts with a keyword in C++/CLI, s I replaced it with '_generic' throughout; and (from memory - it was some years ago), I think I had to replace all uses of setjmp and longjmp with the use of error codes propagated up the call stack. And the system then worked perfectly. I give this information merely to show that it's possible. I no longer have the code changes I made, and cannot give any support or further information. But knowing that something is possible can be encouraging. - Graham Asher On 16/05/2014 06:44, Werner LEMBERG wrote: I'll use freetype support C++/CLI as .net wrapper and in C# project reference it, but not depend on native dll. (I want to get a wrapper through the freetype, and build a dll, but this operation can't depend on the native dll) Sorry, I neither use .net nor C#, so I can't help. Any takers? Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel -- Graham Asher founder and CTO CartoType Ltd graham.as...@cartotype.com +44 (0) 7718 895191 ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] OS X Framework support for CMake
On Fri, May 16, 2014 at 08:13:22AM +0200, Werner LEMBERG wrote: Simple patch to CMake files that adds support of building OS X framework. Applied, thanks, with minor formatting. Please check whether everything's allright. Can be pulled from here: https://github.com/stopiccot/freetype2/commits/cmake_framework The next time, please attach the result of `git format-patch', which I much prefer to cloning the whole repository – apparently it is not possible at github to directly get a commit formatted as a patch file... But maybe I'm just too dumb :-) https://github.com/stopiccot/freetype2/commit/bbf1dbf6c2929dee768bea1edbd8340d909ee2ee.patch But git pull g...@github.com:github.com/stopiccot/freetype2, should have worked as well. Regards, Khaled ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] OS X Framework support for CMake
apparently it is not possible at github to directly get a commit formatted as a patch file... https://github.com/stopiccot/freetype2/commit/bbf1dbf6c2929dee768bea1edbd8340d909ee2ee.patch Aah, thanks. But where can I find this on the github web interface? But git pull g...@github.com:github.com/stopiccot/freetype2 should have worked as well. Ok. Will try the next time. However, I still think that for small to medium sized patches `git format-patch' is *the* choice for communication within mailing lists – in particular, it gets archived. Werner ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel
Re: [ft-devel] OS X Framework support for CMake
On Fri, May 16, 2014 at 03:52:24PM +0200, Werner LEMBERG wrote: apparently it is not possible at github to directly get a commit formatted as a patch file... https://github.com/stopiccot/freetype2/commit/bbf1dbf6c2929dee768bea1edbd8340d909ee2ee.patch Aah, thanks. But where can I find this on the github web interface? No idea, I always just append .patch (or .diff) to the commit URL, I don't even remember where I learnt about this. But git pull g...@github.com:github.com/stopiccot/freetype2 should have worked as well. Ok. Will try the next time. However, I still think that for small to medium sized patches `git format-patch' is *the* choice for communication within mailing lists – in particular, it gets archived. Sure, it was just in case you didn't know about this one as well :) Regards, Khaled ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel
[ft-devel] Question about CMakeLists.txt
Hi, there is one thing in CMakeLists.txt that I don't get actually. There is an include/config/ftconfig.h file. When generating build files with cmake it creates one more file: include/freetype2/ftconfig.h Can someone explain to why we need two ftconfig.h files that are both installed to /usr/include? ___ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel