[Pixman] Patches to add Visual C++ 2008/2010 project files to compile pixman-master

"Fan, Chun-wei (范君維)" fanc999 at gmail.com
Mon Mar 12 19:40:19 PDT 2012


Hi,

I have managed to come up with some patches to add Visual C++ 2008/2010 
project files to build pixman as a DLL with these compilers under x86 
and x86-64 configurations, with x86-MMX support (on x86 only) and SSE2 
support.

In the first patch:
-Updated pixman.h to have public functions decorated with pixman_public 
(like what is now done in Cairo) to export/import functions when pixman 
is built as a DLL on Visual C++ (this does not affect the build on other 
compilers).

-Did the projects like what is now done in the GLib etc, where the 
source file listing for the source files to compile is completed during 
"make dist" by reading from the source listing from Makefile.sources, 
which will simplify maintenance of the project files as source files 
could be added or removed.

In the second patch:
-Have the .sln files to be in Windows/DOS EOL so that they will work 
correctly.

With blessings, thank you!
-Fan, Chun-wei
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Add-Visual-C-2008-2010-projects.patch
URL: <http://lists.freedesktop.org/archives/pixman/attachments/20120313/e338b39f/attachment-0001.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-Update-EOL-of-Visual-C-.sln-files.patch
URL: <http://lists.freedesktop.org/archives/pixman/attachments/20120313/e338b39f/attachment-0001.txt>


More information about the Pixman mailing list