Suggested patches to Pango for Visual Studio builds



OK to commit this: http://pastebin.com/m162fba58 ? Three git commits
but they are actually interrelated.

Basically I add Visual Studio project files to build Pango, located in
the same build/win32/vs9 subdirectory as such files are in GLib (and,
soon, in GTK+ hopefully). Some very minor changes to a few source
files were also needed.

It shouldn't affect builds on Unix, or build on Windows using autofoo etc.

git log --stat -3 --reverse:

commit 39b229f7ab64b52f23ba0b11f583349951acca09
Author: Tor Lillqvist <tml iki fi>
Date:   Fri Feb 5 23:22:27 2010 +0200

    Add VS9 solution and project files

 build/win32/vs9/pango.sln         |   79 +++++++++++
 build/win32/vs9/pango.vcproj      |  256 +++++++++++++++++++++++++++++++++++
 build/win32/vs9/pango.vsprops     |  137 +++++++++++++++++++
 build/win32/vs9/pangocairo.vcproj |  189 ++++++++++++++++++++++++++
 build/win32/vs9/pangoft2.vcproj   |  269 +++++++++++++++++++++++++++++++++++++
 build/win32/vs9/pangowin32.vcproj |  179 ++++++++++++++++++++++++
 build/win32/vs9/stdint.h          |   36 +++++
 build/win32/vs9/unistd.h          |    1 +
 8 files changed, 1146 insertions(+), 0 deletions(-)

commit 68b2b07874f975cc6e5dea253a14aa64eb28d21e
Author: Tor Lillqvist <tml iki fi>
Date:   Fri Feb 5 23:40:46 2010 +0200

    Windows build improvements

    Update README.win32.

    Construct and provide in the tarball a pregenerated config.h.win32
    which can be used as config.h when building with VIsual C without
    running any configure script.

    Provide a rc file for the pangocairo DLL, too.

    Provide pregenerarated module-defs.h.win32, module-defs-lang.c.win32 files.

    Define PANGO_MODULE_PREFIX appropriately in the relevant module source
    files if not available from the compilation command line.

    Update module-defs-fc.c.win32 and module-defs-win32.c.win32 to match
    what configure provides.

 Makefile.am                     |    2 +
 README.win32                    |   28 ++------
 config.h.win32.in               |  151 +++++++++++++++++++++++++++++++++++++++
 configure.in                    |    6 +-
 modules/arabic/arabic-fc.c      |    4 +
 modules/arabic/arabic-lang.c    |    4 +
 modules/basic/basic-fc.c        |    5 ++
 modules/basic/basic-win32.c     |    5 ++
 modules/hangul/hangul-fc.c      |    4 +
 modules/hebrew/hebrew-fc.c      |    5 ++
 modules/indic/indic-fc.c        |    4 +
 modules/indic/indic-lang.c      |    4 +
 modules/khmer/khmer-fc.c        |    4 +
 modules/syriac/syriac-fc.c      |    4 +
 modules/thai/thai-fc.c          |    5 ++
 modules/tibetan/tibetan-fc.c    |    4 +
 pango/Makefile.am               |   11 +++-
 pango/module-defs-fc.c.win32    |   40 ++++-------
 pango/module-defs-lang.c.win32  |   11 +++
 pango/module-defs-win32.c.win32 |   26 ++------
 pango/module-defs.h.win32       |   74 +++++++++++++++++++
 pango/pangocairo.rc.in          |   30 ++++++++
 22 files changed, 357 insertions(+), 74 deletions(-)

commit e64b8788beebddc1742c1bbb725f736ede5d758c
Author: Tor Lillqvist <tml iki fi>
Date:   Fri Feb 5 23:52:47 2010 +0200

    Include the VS9 files in a tarball

 Makefile.am                    |    2 +-
 build/Makefile.am              |    1 +
 build/win32/Makefile.am        |    1 +
 build/win32/vs9/Makefile.am    |    8 ++++
 build/win32/vs9/install.vcproj |   78 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 89 insertions(+), 1 deletions(-)

--tml


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]