summaryrefslogtreecommitdiff
path: root/cogl-pango
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2011-05-12 17:06:32 +0800
committerNeil Roberts <neil@linux.intel.com>2011-11-25 13:12:45 +0000
commit2055f6ba91d192073eaa0dbacf43bbdc160baec8 (patch)
tree3052574b72464686a340fec0b279367818112ec2 /cogl-pango
parentcc18d64331945d95b3347311ff3979a14023d8b0 (diff)
downloadcogl-2055f6ba91d192073eaa0dbacf43bbdc160baec8.tar.gz
VS 2008/2010 project files to build Cogl
These are the VS 2008/2010 project files to build Cogl, with a README.txt to explain the process involved. Note that the Cogl and Cogl-Pango projects (and filters for VS2010) are expanded with the correct source file listings during "make dist", which is done to simplify maintenance of these project files. -added preconfigured config.h(.win32.in), which is expanded with the correct versioining info during autogen -added preconfigued cogl/cogl-defines.h.win32 -added symbols files for cogl and cogl-pango -Have configure.ac expand the config.h.win32.in into config.h.win32 with the correct versioning info, etc, and to include the Visual C++ project files for distribution -Added rules in cogl/Makefile.am to expand the cogl VS 2008/2010 projects and filters from the templates with up-to-date source file listings, to distribute cogl-enum-types.c, cogl-enum-types.h to ease compilation and to avoid depending on PERL on Windows installations. -Added rules in cogl-pango/Makefile.am to expand the cogl-pango VS2008/ 2010 projects and filters from the templates with up-to-date source file listings. -Added/edited various Makefile.am's in build to distribute the VS2008/2010 project files and associated items required for the build. -Update .gitignore. There needs to be a pre-configured config.h(.win32) and its template, config.h.win32.in for Visual C++ builds https://bugzilla.gnome.org/show_bug.cgi?id=650020 Reviewed-by: Neil Roberts <neil@linux.intel.com>
Diffstat (limited to 'cogl-pango')
-rw-r--r--cogl-pango/Makefile.am36
-rw-r--r--cogl-pango/cogl-pango.symbols12
2 files changed, 48 insertions, 0 deletions
diff --git a/cogl-pango/Makefile.am b/cogl-pango/Makefile.am
index 5ee1fabb..d8cf3737 100644
--- a/cogl-pango/Makefile.am
+++ b/cogl-pango/Makefile.am
@@ -57,6 +57,42 @@ pkgconfig_DATA = $(pc_files)
EXTRA_DIST += cogl-pango.pc.in
DISTCLEANFILES += $(pc_files)
+dist-hook: ../build/win32/vs9/cogl-pango.vcproj ../build/win32/vs10/cogl-pango.vcxproj ../build/win32/vs10/cogl-pango.vcxproj.filters
+
+../build/win32/vs9/cogl-pango.vcproj: $(top_srcdir)/build/win32/vs9/cogl-pango.vcprojin
+ for F in $(source_c); do \
+ case $$F in \
+ *.c) echo ' <File RelativePath="..\..\..\cogl-pango\'$$F'" />' \
+ ;; \
+ esac; \
+ done >coglpango.sourcefiles
+ $(CPP) -P - <$(top_srcdir)/build/win32/vs9/cogl-pango.vcprojin >$@
+ rm coglpango.sourcefiles
+
+../build/win32/vs10/cogl-pango.vcxproj: $(top_srcdir)/build/win32/vs10/cogl-pango.vcxprojin
+ for F in $(source_c); do \
+ case $$F in \
+ *.c) echo ' <ClCompile Include="..\..\..\cogl-pango\'$$F'" />' \
+ ;; \
+ esac; \
+ done >coglpango.vs10.sourcefiles
+ $(CPP) -P - <$(top_srcdir)/build/win32/vs10/cogl-pango.vcxprojin >$@
+ rm coglpango.vs10.sourcefiles
+
+../build/win32/vs10/cogl-pango.vcxproj.filters: $(top_srcdir)/build/win32/vs10/cogl-pango.vcxproj.filtersin
+ for F in $(source_c); do \
+ case $$F in \
+ *.c) echo ' <ClCompile Include="..\..\..\cogl-pango\'$$F'"><Filter>Sources</Filter></ClCompile>' \
+ ;; \
+ esac; \
+ done >coglpango.vs10.sourcefiles.filters
+ $(CPP) -P - <$(top_srcdir)/build/win32/vs10/cogl-pango.vcxproj.filtersin >$@
+ rm coglpango.vs10.sourcefiles.filters
+
+EXTRA_DIST += cogl-pango.symbols
+
+DISTCLEANFILES += ../build/win32/vs9/cogl-pango.vcproj ../build/win32/vs10/cogl-pango.vcxproj ../build/win32/vs10/cogl-pango.vcxproj.filters
+
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS =
diff --git a/cogl-pango/cogl-pango.symbols b/cogl-pango/cogl-pango.symbols
new file mode 100644
index 00000000..b86c9560
--- /dev/null
+++ b/cogl-pango/cogl-pango.symbols
@@ -0,0 +1,12 @@
+cogl_pango_ensure_glyph_cache_for_layout
+cogl_pango_font_map_clear_glyph_cache
+cogl_pango_font_map_create_context
+cogl_pango_font_map_get_renderer
+cogl_pango_font_map_get_use_mipmapping
+cogl_pango_font_map_new
+cogl_pango_font_map_set_resolution
+cogl_pango_font_map_set_use_mipmapping
+cogl_pango_renderer_get_type
+cogl_pango_render_layout
+cogl_pango_render_layout_line
+cogl_pango_render_layout_subpixel