summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2010-02-10 15:30:12 +0200
committerTor Lillqvist <tml@iki.fi>2010-03-15 23:25:26 +0200
commitb68d520e9ff526be4301f6db09c0faa077cd864a (patch)
tree2a5d959733f966f72b0b128799fa35b184b0ddf4 /modules
parent6118d5891fee776a087855c335a73c79fdaf036c (diff)
downloadpango-b68d520e9ff526be4301f6db09c0faa077cd864a.tar.gz
Add solution and project files for Visual Studio builds
The VS files are kept in build/win32/vs9, the same relative location as in GLib, mostly for historical reasons. Update README.win32 to reflect the VS possibility. Include the VS solution and project files in the tarball when doing a release. To avoid having to list source files in several locations, generate files listing source files at "make dist" time in the corresponding source directories. Use the C preprocessor to preprocess .vcprojin files that include said list files into the actual .vcproj project files. Provide a rc file for the pangocairo DLL, too. 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 pregenerarated module-defs.h.win32, module-defs-lang.c.win32 files too. 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 the configure script provides.
Diffstat (limited to 'modules')
-rw-r--r--modules/arabic/arabic-fc.c4
-rw-r--r--modules/arabic/arabic-lang.c4
-rw-r--r--modules/basic/basic-fc.c5
-rw-r--r--modules/basic/basic-win32.c5
-rw-r--r--modules/hangul/hangul-fc.c4
-rw-r--r--modules/hebrew/hebrew-fc.c5
-rw-r--r--modules/indic/indic-fc.c4
-rw-r--r--modules/indic/indic-lang.c4
-rw-r--r--modules/khmer/khmer-fc.c4
-rw-r--r--modules/syriac/syriac-fc.c4
-rw-r--r--modules/thai/thai-fc.c5
-rw-r--r--modules/tibetan/tibetan-fc.c4
12 files changed, 52 insertions, 0 deletions
diff --git a/modules/arabic/arabic-fc.c b/modules/arabic/arabic-fc.c
index 4b024e14..ff1ef0ab 100644
--- a/modules/arabic/arabic-fc.c
+++ b/modules/arabic/arabic-fc.c
@@ -27,6 +27,10 @@
#include "arabic-ot.h"
+#ifndef PANGO_MODULE_PREFIX
+#define PANGO_MODULE_PREFIX _pango_arabic_fc
+#endif
+
#include "pango-engine.h"
#include "pango-utils.h"
#include "pangofc-font.h"
diff --git a/modules/arabic/arabic-lang.c b/modules/arabic/arabic-lang.c
index ee23bad1..e17486c9 100644
--- a/modules/arabic/arabic-lang.c
+++ b/modules/arabic/arabic-lang.c
@@ -25,6 +25,10 @@
#include "config.h"
#include <string.h>
+#ifndef PANGO_MODULE_PREFIX
+#define PANGO_MODULE_PREFIX _pango_arabic_lang
+#endif
+
#include "pango-engine.h"
#include "pango-break.h"
diff --git a/modules/basic/basic-fc.c b/modules/basic/basic-fc.c
index 6e0d2ef2..c3907785 100644
--- a/modules/basic/basic-fc.c
+++ b/modules/basic/basic-fc.c
@@ -26,6 +26,11 @@
#include <string.h>
#include <glib/gprintf.h>
+
+#ifndef PANGO_MODULE_PREFIX
+#define PANGO_MODULE_PREFIX _pango_basic_fc
+#endif
+
#include "pango-engine.h"
#include "pango-utils.h"
#include "pangofc-font.h"
diff --git a/modules/basic/basic-win32.c b/modules/basic/basic-win32.c
index ecb139e0..1565a7c7 100644
--- a/modules/basic/basic-win32.c
+++ b/modules/basic/basic-win32.c
@@ -30,6 +30,11 @@
#include <glib.h>
#include "pangowin32.h"
+
+#ifndef PANGO_MODULE_PREFIX
+#define PANGO_MODULE_PREFIX _pango_basic_win32
+#endif
+
#include "pango-engine.h"
#include "pango-utils.h"
diff --git a/modules/hangul/hangul-fc.c b/modules/hangul/hangul-fc.c
index 7692a843..ab542e8f 100644
--- a/modules/hangul/hangul-fc.c
+++ b/modules/hangul/hangul-fc.c
@@ -23,6 +23,10 @@
#include "config.h"
#include <string.h>
+#ifndef PANGO_MODULE_PREFIX
+#define PANGO_MODULE_PREFIX _pango_hangul_fc
+#endif
+
#include "pango-engine.h"
#include "pango-utils.h"
#include "pangofc-font.h"
diff --git a/modules/hebrew/hebrew-fc.c b/modules/hebrew/hebrew-fc.c
index fcfed2b4..056a4ff2 100644
--- a/modules/hebrew/hebrew-fc.c
+++ b/modules/hebrew/hebrew-fc.c
@@ -27,6 +27,11 @@
#include <string.h>
#include <pango/pango-ot.h>
+
+#ifndef PANGO_MODULE_PREFIX
+#define PANGO_MODULE_PREFIX _pango_hebrew_fc
+#endif
+
#include "pango-engine.h"
#include "pango-utils.h"
#include "pangofc-font.h"
diff --git a/modules/indic/indic-fc.c b/modules/indic/indic-fc.c
index 3a232be4..ef94a4d4 100644
--- a/modules/indic/indic-fc.c
+++ b/modules/indic/indic-fc.c
@@ -27,6 +27,10 @@
#include "indic-ot.h"
+#ifndef PANGO_MODULE_PREFIX
+#define PANGO_MODULE_PREFIX _pango_indic_fc
+#endif
+
#include "pango-engine.h"
#include "pango-ot.h"
#include "pango-utils.h"
diff --git a/modules/indic/indic-lang.c b/modules/indic/indic-lang.c
index dc01b6fe..f8b563ed 100644
--- a/modules/indic/indic-lang.c
+++ b/modules/indic/indic-lang.c
@@ -23,6 +23,10 @@
#include "config.h"
#include <string.h>
+#ifndef PANGO_MODULE_PREFIX
+#define PANGO_MODULE_PREFIX _pango_indic_lang
+#endif
+
#include "pango-engine.h"
#include "pango-break.h"
diff --git a/modules/khmer/khmer-fc.c b/modules/khmer/khmer-fc.c
index 14357d78..7fb21723 100644
--- a/modules/khmer/khmer-fc.c
+++ b/modules/khmer/khmer-fc.c
@@ -59,6 +59,10 @@
#include "config.h"
#include <string.h>
+#ifndef PANGO_MODULE_PREFIX
+#define PANGO_MODULE_PREFIX _pango_khmer_fc
+#endif
+
#include "pango-engine.h"
#include "pango-ot.h"
#include "pango-utils.h"
diff --git a/modules/syriac/syriac-fc.c b/modules/syriac/syriac-fc.c
index 7ba05fb4..6d7ed634 100644
--- a/modules/syriac/syriac-fc.c
+++ b/modules/syriac/syriac-fc.c
@@ -28,6 +28,10 @@
#include "syriac-ot.h"
+#ifndef PANGO_MODULE_PREFIX
+#define PANGO_MODULE_PREFIX _pango_syriac_fc
+#endif
+
#include "pango-engine.h"
#include "pango-utils.h"
#include "pangofc-font.h"
diff --git a/modules/thai/thai-fc.c b/modules/thai/thai-fc.c
index 837a0286..f41135a5 100644
--- a/modules/thai/thai-fc.c
+++ b/modules/thai/thai-fc.c
@@ -32,6 +32,11 @@
#include <glib.h>
#include "pango-ot.h"
+
+#ifndef PANGO_MODULE_PREFIX
+#define PANGO_MODULE_PREFIX _pango_thai_fc
+#endif
+
#include "pango-engine.h"
#include "pangofc-font.h"
diff --git a/modules/tibetan/tibetan-fc.c b/modules/tibetan/tibetan-fc.c
index 4e894165..c49f4007 100644
--- a/modules/tibetan/tibetan-fc.c
+++ b/modules/tibetan/tibetan-fc.c
@@ -67,6 +67,10 @@
#include "config.h"
#include <string.h>
+#ifndef PANGO_MODULE_PREFIX
+#define PANGO_MODULE_PREFIX _pango_tibetan_fc
+#endif
+
#include "pango-engine.h"
#include "pango-ot.h"
#include "pango-utils.h"