Advertisement
Guest User

Untitled

a guest
Feb 5th, 2010
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.77 KB | None | 0 0
  1. commit 39b229f7ab64b52f23ba0b11f583349951acca09
  2. Author: Tor Lillqvist <tml@iki.fi>
  3. Date: Fri Feb 5 23:22:27 2010 +0200
  4.  
  5. Add VS9 solution and project files
  6. ---
  7. build/win32/vs9/pango.sln | 79 +++++++++++
  8. build/win32/vs9/pango.vcproj | 256 +++++++++++++++++++++++++++++++++++
  9. build/win32/vs9/pango.vsprops | 137 +++++++++++++++++++
  10. build/win32/vs9/pangocairo.vcproj | 189 ++++++++++++++++++++++++++
  11. build/win32/vs9/pangoft2.vcproj | 269 +++++++++++++++++++++++++++++++++++++
  12. build/win32/vs9/pangowin32.vcproj | 179 ++++++++++++++++++++++++
  13. build/win32/vs9/stdint.h | 36 +++++
  14. build/win32/vs9/unistd.h | 1 +
  15. 8 files changed, 1146 insertions(+), 0 deletions(-)
  16.  
  17. diff --git a/build/win32/vs9/pango.sln b/build/win32/vs9/pango.sln
  18. new file mode 100644
  19. index 0000000..f1209ab
  20. --- /dev/null
  21. +++ b/build/win32/vs9/pango.sln
  22. @@ -0,0 +1,79 @@
  23. +Microsoft Visual Studio Solution File, Format Version 10.00
  24.  
  25. +# Visual Studio 2008
  26.  
  27. +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pango", "pango.vcproj", "{68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72}"
  28.  
  29. +EndProject
  30.  
  31. +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pangoft2", "pangoft2.vcproj", "{68CC80B9-7225-4FB5-B9AB-9C1DF50B6C73}"
  32.  
  33. + ProjectSection(ProjectDependencies) = postProject
  34.  
  35. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72} = {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72}
  36.  
  37. + EndProjectSection
  38.  
  39. +EndProject
  40.  
  41. +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pangowin32", "pangowin32.vcproj", "{68CC80B9-7225-4FB5-B9AB-9C1DF50B6C74}"
  42.  
  43. + ProjectSection(ProjectDependencies) = postProject
  44.  
  45. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72} = {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72}
  46.  
  47. + EndProjectSection
  48.  
  49. +EndProject
  50.  
  51. +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pangocairo", "pangocairo.vcproj", "{68CC80B9-7225-4FB5-B9AB-9C1DF50B6C76}"
  52.  
  53. + ProjectSection(ProjectDependencies) = postProject
  54.  
  55. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72} = {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72}
  56.  
  57. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C73} = {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C73}
  58.  
  59. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C74} = {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C74}
  60.  
  61. + EndProjectSection
  62.  
  63. +EndProject
  64.  
  65. +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "install", "install.vcproj", "{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}"
  66.  
  67. + ProjectSection(ProjectDependencies) = postProject
  68.  
  69. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72} = {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72}
  70.  
  71. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C73} = {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C73}
  72.  
  73. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C74} = {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C74}
  74.  
  75. + EndProjectSection
  76.  
  77. +EndProject
  78.  
  79. +Global
  80.  
  81. + GlobalSection(SolutionConfigurationPlatforms) = preSolution
  82.  
  83. + Debug|Win32 = Debug|Win32
  84.  
  85. + Debug|x64 = Debug|x64
  86.  
  87. + Release|Win32 = Release|Win32
  88.  
  89. + Release|x64 = Release|x64
  90.  
  91. + EndGlobalSection
  92.  
  93. + GlobalSection(ProjectConfigurationPlatforms) = postSolution
  94.  
  95. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72}.Debug|Win32.ActiveCfg = Debug|Win32
  96.  
  97. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72}.Debug|Win32.Build.0 = Debug|Win32
  98.  
  99. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72}.Debug|x64.ActiveCfg = Debug|x64
  100.  
  101. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72}.Debug|x64.Build.0 = Debug|x64
  102.  
  103. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72}.Release|Win32.ActiveCfg = Release|Win32
  104.  
  105. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72}.Release|Win32.Build.0 = Release|Win32
  106.  
  107. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72}.Release|x64.ActiveCfg = Release|x64
  108.  
  109. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72}.Release|x64.Build.0 = Release|x64
  110.  
  111. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C73}.Debug|Win32.ActiveCfg = Debug|Win32
  112.  
  113. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C73}.Debug|Win32.Build.0 = Debug|Win32
  114.  
  115. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C73}.Debug|x64.ActiveCfg = Debug|x64
  116.  
  117. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C73}.Debug|x64.Build.0 = Debug|x64
  118.  
  119. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C73}.Release|Win32.ActiveCfg = Release|Win32
  120.  
  121. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C73}.Release|Win32.Build.0 = Release|Win32
  122.  
  123. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C73}.Release|x64.ActiveCfg = Release|x64
  124.  
  125. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C73}.Release|x64.Build.0 = Release|x64
  126.  
  127. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C74}.Debug|Win32.ActiveCfg = Debug|Win32
  128.  
  129. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C74}.Debug|Win32.Build.0 = Debug|Win32
  130.  
  131. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C74}.Debug|x64.ActiveCfg = Debug|x64
  132.  
  133. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C74}.Debug|x64.Build.0 = Debug|x64
  134.  
  135. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C74}.Release|Win32.ActiveCfg = Release|Win32
  136.  
  137. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C74}.Release|Win32.Build.0 = Release|Win32
  138.  
  139. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C74}.Release|x64.ActiveCfg = Release|x64
  140.  
  141. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C74}.Release|x64.Build.0 = Release|x64
  142.  
  143. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C76}.Debug|Win32.ActiveCfg = Debug|Win32
  144.  
  145. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C76}.Debug|x64.ActiveCfg = Debug|x64
  146.  
  147. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C76}.Debug|x64.Build.0 = Debug|x64
  148.  
  149. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C76}.Release|Win32.ActiveCfg = Release|x64
  150.  
  151. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C76}.Release|x64.ActiveCfg = Release|x64
  152.  
  153. + {68CC80B9-7225-4FB5-B9AB-9C1DF50B6C76}.Release|x64.Build.0 = Release|x64
  154.  
  155. + {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Debug|Win32.ActiveCfg = Debug|Win32
  156.  
  157. + {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Debug|Win32.Build.0 = Debug|Win32
  158.  
  159. + {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Debug|x64.ActiveCfg = Debug|x64
  160.  
  161. + {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Debug|x64.Build.0 = Debug|x64
  162.  
  163. + {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Release|Win32.ActiveCfg = Release|Win32
  164.  
  165. + {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Release|Win32.Build.0 = Release|Win32
  166.  
  167. + {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Release|x64.ActiveCfg = Release|x64
  168.  
  169. + {FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}.Release|x64.Build.0 = Release|x64
  170.  
  171. + EndGlobalSection
  172.  
  173. + GlobalSection(SolutionProperties) = preSolution
  174.  
  175. + HideSolutionNode = FALSE
  176.  
  177. + EndGlobalSection
  178.  
  179. +EndGlobal
  180.  
  181. diff --git a/build/win32/vs9/pango.vcproj b/build/win32/vs9/pango.vcproj
  182. new file mode 100644
  183. index 0000000..a90a0f8
  184. --- /dev/null
  185. +++ b/build/win32/vs9/pango.vcproj
  186. @@ -0,0 +1,256 @@
  187. +<?xml version="1.0" encoding="us-ascii"?>
  188. +<VisualStudioProject
  189. + ProjectType="Visual C++"
  190. + Version="9.00"
  191. + Name="pango"
  192. + ProjectGUID="{68CC80B9-7225-4FB5-B9AB-9C1DF50B6C72}"
  193. + RootNamespace="pango"
  194. + Keyword="Win32Proj"
  195. + TargetFrameworkVersion="0"
  196. + >
  197. + <Platforms>
  198. + <Platform
  199. + Name="Win32"
  200. + />
  201. + <Platform
  202. + Name="x64"
  203. + />
  204. + </Platforms>
  205. + <Configurations>
  206. + <Configuration
  207. + Name="Debug|Win32"
  208. + InheritedPropertySheets=".\pango.vsprops"
  209. + ConfigurationType="2"
  210. + CharacterSet="2"
  211. + >
  212. + <Tool
  213. + Name="VCCLCompilerTool"
  214. + Optimization="0"
  215. + PreprocessorDefinitions="_DEBUG;$(PangoDefines)"
  216. + MinimalRebuild="true"
  217. + BasicRuntimeChecks="3"
  218. + RuntimeLibrary="2"
  219. + UsePrecompiledHeader="0"
  220. + WarningLevel="3"
  221. + DebugInformationFormat="4"
  222. + />
  223. + <Tool
  224. + Name="VCLinkerTool"
  225. + OutputFile="$(OutDir)\$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll"
  226. + LinkIncremental="2"
  227. + ModuleDefinitionFile="..\..\..\pango\pango.def"
  228. + GenerateDebugInformation="true"
  229. + SubSystem="2"
  230. + ImportLibrary="$(TargetDir)$(ProjectName)-$(PangoApiVersion).lib"
  231. + TargetMachine="1"
  232. + />
  233. + </Configuration>
  234. + <Configuration
  235. + Name="Release|Win32"
  236. + InheritedPropertySheets=".\pango.vsprops"
  237. + ConfigurationType="2"
  238. + CharacterSet="2"
  239. + >
  240. + <Tool
  241. + Name="VCCLCompilerTool"
  242. + PreprocessorDefinitions="$(PangoDefines)"
  243. + RuntimeLibrary="2"
  244. + UsePrecompiledHeader="0"
  245. + WarningLevel="3"
  246. + DebugInformationFormat="3"
  247. + />
  248. + <Tool
  249. + Name="VCLinkerTool"
  250. + OutputFile="$(OutDir)\$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll"
  251. + LinkIncremental="2"
  252. + ModuleDefinitionFile="..\..\..\pango\pango.def"
  253. + GenerateDebugInformation="true"
  254. + SubSystem="2"
  255. + OptimizeReferences="2"
  256. + EnableCOMDATFolding="2"
  257. + ImportLibrary="$(TargetDir)$(ProjectName)-$(PangoApiVersion).lib"
  258. + TargetMachine="1"
  259. + />
  260. + </Configuration>
  261. + <Configuration
  262. + Name="Debug|x64"
  263. + InheritedPropertySheets=".\pango.vsprops"
  264. + ConfigurationType="2"
  265. + CharacterSet="2"
  266. + >
  267. + <Tool
  268. + Name="VCCLCompilerTool"
  269. + Optimization="0"
  270. + PreprocessorDefinitions="_DEBUG;$(PangoDefines)"
  271. + MinimalRebuild="true"
  272. + BasicRuntimeChecks="3"
  273. + RuntimeLibrary="3"
  274. + UsePrecompiledHeader="0"
  275. + WarningLevel="3"
  276. + DebugInformationFormat="3"
  277. + />
  278. + <Tool
  279. + Name="VCLinkerTool"
  280. + OutputFile="$(OutDir)\$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll"
  281. + LinkIncremental="2"
  282. + ModuleDefinitionFile="..\..\..\pango\pango.def"
  283. + GenerateDebugInformation="true"
  284. + SubSystem="2"
  285. + ImportLibrary="$(TargetDir)$(ProjectName)-$(PangoApiVersion).lib"
  286. + TargetMachine="17"
  287. + />
  288. + </Configuration>
  289. + <Configuration
  290. + Name="Release|x64"
  291. + InheritedPropertySheets=".\pango.vsprops"
  292. + ConfigurationType="2"
  293. + CharacterSet="2"
  294. + >
  295. + <Tool
  296. + Name="VCCLCompilerTool"
  297. + PreprocessorDefinitions="$(PangoDefines)"
  298. + RuntimeLibrary="2"
  299. + UsePrecompiledHeader="0"
  300. + WarningLevel="3"
  301. + DebugInformationFormat="3"
  302. + />
  303. + <Tool
  304. + Name="VCLinkerTool"
  305. + OutputFile="$(OutDir)\$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll"
  306. + LinkIncremental="2"
  307. + ModuleDefinitionFile="..\..\..\pango\pango.def"
  308. + GenerateDebugInformation="true"
  309. + SubSystem="2"
  310. + OptimizeReferences="2"
  311. + EnableCOMDATFolding="2"
  312. + ImportLibrary="$(TargetDir)$(ProjectName)-$(PangoApiVersion).lib"
  313. + TargetMachine="17"
  314. + />
  315. + </Configuration>
  316. + </Configurations>
  317. + <References>
  318. + </References>
  319. + <Files>
  320. + <Filter
  321. + Name="Header Files"
  322. + Filter="h;hpp;hxx;hm;inl;inc;xsd"
  323. + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
  324. + >
  325. + </Filter>
  326. + <Filter
  327. + Name="Resource Files"
  328. + Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
  329. + UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
  330. + >
  331. + <File
  332. + RelativePath="..\..\..\pango\pango.rc"
  333. + >
  334. + </File>
  335. + </Filter>
  336. + <Filter
  337. + Name="Source Files"
  338. + Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
  339. + UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
  340. + >
  341. + <File
  342. + RelativePath="..\..\..\pango\break.c"
  343. + />
  344. + <File
  345. + RelativePath="..\..\..\pango\ellipsize.c"
  346. + />
  347. + <File
  348. + RelativePath="..\..\..\pango\fonts.c"
  349. + />
  350. + <File
  351. + RelativePath="..\..\..\pango\glyphstring.c"
  352. + />
  353. + <File
  354. + RelativePath="..\..\..\pango\mini-fribidi\fribidi.c"
  355. + />
  356. + <File
  357. + RelativePath="..\..\..\pango\mini-fribidi\fribidi_char_type.c"
  358. + />
  359. + <File
  360. + RelativePath="..\..\..\pango\mini-fribidi\fribidi_types.c"
  361. + />
  362. + <File
  363. + RelativePath="..\..\..\pango\module-defs-lang.c"
  364. + />
  365. + <File
  366. + RelativePath="..\..\..\modules\arabic\arabic-lang.c"
  367. + />
  368. + <File
  369. + RelativePath="..\..\..\modules\indic\indic-lang.c"
  370. + />
  371. + <File
  372. + RelativePath="..\..\..\pango\modules.c"
  373. + />
  374. + <File
  375. + RelativePath="..\..\..\pango\pango-attributes.c"
  376. + />
  377. + <File
  378. + RelativePath="..\..\..\pango\pango-bidi-type.c"
  379. + />
  380. + <File
  381. + RelativePath="..\..\..\pango\pango-color.c"
  382. + />
  383. + <File
  384. + RelativePath="..\..\..\pango\pango-context.c"
  385. + />
  386. + <File
  387. + RelativePath="..\..\..\pango\pango-coverage.c"
  388. + />
  389. + <File
  390. + RelativePath="..\..\..\pango\pango-engine.c"
  391. + />
  392. + <File
  393. + RelativePath="..\..\..\pango\pango-enum-types.c"
  394. + />
  395. + <File
  396. + RelativePath="..\..\..\pango\pango-fontmap.c"
  397. + />
  398. + <File
  399. + RelativePath="..\..\..\pango\pango-fontset.c"
  400. + />
  401. + <File
  402. + RelativePath="..\..\..\pango\pango-glyph-item.c"
  403. + />
  404. + <File
  405. + RelativePath="..\..\..\pango\pango-gravity.c"
  406. + />
  407. + <File
  408. + RelativePath="..\..\..\pango\pango-item.c"
  409. + />
  410. + <File
  411. + RelativePath="..\..\..\pango\pango-language.c"
  412. + />
  413. + <File
  414. + RelativePath="..\..\..\pango\pango-layout.c"
  415. + />
  416. + <File
  417. + RelativePath="..\..\..\pango\pango-markup.c"
  418. + />
  419. + <File
  420. + RelativePath="..\..\..\pango\pango-matrix.c"
  421. + />
  422. + <File
  423. + RelativePath="..\..\..\pango\pango-renderer.c"
  424. + />
  425. + <File
  426. + RelativePath="..\..\..\pango\pango-script.c"
  427. + />
  428. + <File
  429. + RelativePath="..\..\..\pango\pango-tabs.c"
  430. + />
  431. + <File
  432. + RelativePath="..\..\..\pango\pango-utils.c"
  433. + />
  434. + <File
  435. + RelativePath="..\..\..\pango\reorder-items.c"
  436. + />
  437. + <File
  438. + RelativePath="..\..\..\pango\shape.c"
  439. + />
  440. + </Filter>
  441. + </Files>
  442. +</VisualStudioProject>
  443. diff --git a/build/win32/vs9/pango.vsprops b/build/win32/vs9/pango.vsprops
  444. new file mode 100644
  445. index 0000000..f235006
  446. --- /dev/null
  447. +++ b/build/win32/vs9/pango.vsprops
  448. @@ -0,0 +1,137 @@
  449. +<?xml version="1.0" encoding="Windows-1252"?>
  450. +<VisualStudioPropertySheet
  451. + ProjectType="Visual C++"
  452. + Version="8.00"
  453. + Name="pangoprops"
  454. + OutputDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin"
  455. + IntermediateDirectory="$(SolutionDir)$(ConfigurationName)\$(PlatformName)\obj"
  456. + >
  457. + <Tool
  458. + Name="VCCLCompilerTool"
  459. + AdditionalIncludeDirectories="..\..\..;..\..\..\pango;$(GlibEtcInstallRoot)\lib\glib-2.0\include;$(GlibEtcInstallRoot)\include\glib-2.0;$(GlibEtcInstallRoot)\include;$(GlibEtcInstallRoot)\include\cairo;$(GlibEtcInstallRoot)\include\fontconfig;$(GlibEtcInstallRoot)\include\freetype2"
  460. + PreprocessorDefinitions="HAVE_CONFIG_H;G_DISABLE_DEPRECATED;G_DISABLE_SINGLE_INCLUDES"
  461. + ForcedIncludeFiles="msvc_recommended_pragmas.h"
  462. + />
  463. + <Tool
  464. + Name="VCLinkerTool"
  465. + AdditionalDependencies="gio-2.0.lib gmodule-2.0.lib gobject-2.0.lib glib-2.0.lib intl.lib"
  466. + AdditionalLibraryDirectories="$(GlibEtcInstallRoot)\lib"
  467. + />
  468. + <Tool
  469. + Name="VCPreBuildEventTool"
  470. + CommandLine="
  471. +if exist ..\..\..\config.h goto DONE_CONFIG_H&#x0D;&#x0A;
  472. +copy ..\..\..\config.h.win32 ..\..\..\config.h&#x0D;&#x0A;
  473. +:DONE_CONFIG_H&#x0D;&#x0A;
  474. +
  475. +if exist ..\..\..\pango\DONE_MODULE_DEFS_H goto DONE_MODULE_DEFS_H&#x0D;&#x0A;
  476. +copy /y ..\..\..\pango\module-defs.h.win32 ..\..\..\pango\module-defs.h&#x0D;&#x0A;
  477. +copy ..\..\..\pango\module-defs.h.win32 ..\..\..\pango\DONE_MODULE_DEFS_H&#x0D;&#x0A;
  478. +:DONE_MODULE_DEFS_H&#x0D;&#x0A;
  479. +
  480. +if exist ..\..\..\pango\module-defs-lang.c goto DONE_MODULE_DEFS_LANG_C&#x0D;&#x0A;
  481. +copy ..\..\..\pango\module-defs-lang.c.win32 ..\..\..\pango\module-defs-lang.c&#x0D;&#x0A;
  482. +:DONE_MODULE_DEFS_LANG_C&#x0D;&#x0A;
  483. +
  484. +if exist ..\..\..\pango\module-defs-fc.c goto DONE_MODULE_DEFS_FC_C&#x0D;&#x0A;
  485. +copy ..\..\..\pango\module-defs-fc.c.win32 ..\..\..\pango\module-defs-fc.c&#x0D;&#x0A;
  486. +:DONE_MODULE_DEFS_FC_C&#x0D;&#x0A;
  487. +
  488. +if exist ..\..\..\pango\module-defs-win32.c goto DONE_MODULE_DEFS_WIN32_C&#x0D;&#x0A;
  489. +copy ..\..\..\pango\module-defs-win32.c.win32 ..\..\..\pango\module-defs-win32.c&#x0D;&#x0A;
  490. +:DONE_MODULE_DEFS_WIN32_C&#x0D;&#x0A;
  491. +"
  492. + />
  493. + <UserMacro
  494. + Name="PangoApiVersion"
  495. + Value="1.0"
  496. + />
  497. + <UserMacro
  498. + Name="PangoBinaryVersion"
  499. + Value="1.6.0"
  500. + />
  501. + <UserMacro
  502. + Name="PangoDummyPrefix"
  503. + Value="/dummy"
  504. + />
  505. + <UserMacro
  506. + Name="PangoDefines"
  507. + Value="G_LOG_DOMAIN=\&quot;Pango\&quot;;PANGO_ENABLE_BACKEND;PANGO_ENABLE_ENGINE;SYSCONFDIR=\&quot;$(PangoDummyPrefix)/etc\&quot;;LIBDIR=\&quot;$(PangoDummyPrefix)/lib\&quot;"
  508. + />
  509. + <UserMacro
  510. + Name="PangoDoInstall"
  511. + Value="
  512. +echo on&#x0D;&#x0A;
  513. +mkdir $(OutDir)\bin&#x0D;&#x0A;
  514. +copy $(ConfigurationName)\$(PlatformName)\bin\*.dll $(OutDir)\bin&#x0D;&#x0A;
  515. +copy $(ConfigurationName)\$(PlatformName)\bin\*.exe $(OutDir)\bin&#x0D;&#x0A;
  516. +
  517. +mkdir $(OutDir)\lib&#x0D;&#x0A;
  518. +copy $(ConfigurationName)\$(PlatformName)\bin\*-$(PangoApiVersion).lib $(OutDir)\lib&#x0D;&#x0A;
  519. +
  520. +mkdir $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  521. +copy ..\..\..\pango\pango.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  522. +copy ..\..\..\pango\pango-attributes.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  523. +copy ..\..\..\pango\pango-bidi-type.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  524. +copy ..\..\..\pango\pango-break.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  525. +copy ..\..\..\pango\pango-context.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  526. +copy ..\..\..\pango\pango-coverage.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  527. +copy ..\..\..\pango\pango-engine.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  528. +copy ..\..\..\pango\pango-enum-types.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  529. +copy ..\..\..\pango\pango-features.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  530. +copy ..\..\..\pango\pango-font.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  531. +copy ..\..\..\pango\pango-fontmap.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  532. +copy ..\..\..\pango\pango-fontset.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  533. +copy ..\..\..\pango\pango-glyph-item.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  534. +copy ..\..\..\pango\pango-glyph.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  535. +copy ..\..\..\pango\pango-gravity.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  536. +copy ..\..\..\pango\pango-item.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  537. +copy ..\..\..\pango\pango-language.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  538. +copy ..\..\..\pango\pango-layout.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  539. +copy ..\..\..\pango\pango-matrix.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  540. +copy ..\..\..\pango\pango-modules.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  541. +copy ..\..\..\pango\pango-ot.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  542. +copy ..\..\..\pango\pango-renderer.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  543. +copy ..\..\..\pango\pango-script.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  544. +copy ..\..\..\pango\pango-tabs.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  545. +copy ..\..\..\pango\pango-types.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  546. +copy ..\..\..\pango\pango-utils.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  547. +copy ..\..\..\pango\pangocairo.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  548. +copy ..\..\..\pango\pangofc-decoder.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  549. +copy ..\..\..\pango\pangofc-font.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  550. +copy ..\..\..\pango\pangofc-fontmap.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  551. +copy ..\..\..\pango\pangoft2.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  552. +copy ..\..\..\pango\pangowin32.h $(OutDir)\include\pango-$(PangoApiVersion)\pango&#x0D;&#x0A;
  553. +"
  554. + />
  555. + <UserMacro
  556. + Name="PangoLibtoolCompatibleDllPrefix"
  557. + Value="lib"
  558. + />
  559. + <UserMacro
  560. + Name="PangoLibtoolCompatibleDllSuffix"
  561. + Value="-$(PangoApiVersion)-0"
  562. + />
  563. + <UserMacro
  564. + Name="PangoSeparateVS9DllPrefix"
  565. + Value=""
  566. + />
  567. + <UserMacro
  568. + Name="PangoSeparateVS9DllSuffix"
  569. + Value="-1-vs9"
  570. + />
  571. + <!-- Change these two to PangoLibtoolCompatibleDllPrefix and
  572. + PangoLibtoolCompatibleDllSuffix if that is what you want -->
  573. + <UserMacro
  574. + Name="PangoDllPrefix"
  575. + Value="$(PangoSeparateVS9DllPrefix)"
  576. + />
  577. + <UserMacro
  578. + Name="PangoDllSuffix"
  579. + Value="$(PangoSeparateVS9DllSuffix)"
  580. + />
  581. + <UserMacro
  582. + Name="GlibEtcInstallRoot"
  583. + Value="..\..\..\..\..\vs9\$(PlatformName)"
  584. + />
  585. +</VisualStudioPropertySheet>
  586. diff --git a/build/win32/vs9/pangocairo.vcproj b/build/win32/vs9/pangocairo.vcproj
  587. new file mode 100644
  588. index 0000000..18c0341
  589. --- /dev/null
  590. +++ b/build/win32/vs9/pangocairo.vcproj
  591. @@ -0,0 +1,189 @@
  592. +<?xml version="1.0" encoding="us-ascii"?>
  593. +<VisualStudioProject
  594. + ProjectType="Visual C++"
  595. + Version="9.00"
  596. + Name="pangocairo"
  597. + ProjectGUID="{68CC80B9-7225-4FB5-B9AB-9C1DF50B6C76}"
  598. + RootNamespace="pangocairo"
  599. + Keyword="Win32Proj"
  600. + TargetFrameworkVersion="0"
  601. + >
  602. + <Platforms>
  603. + <Platform
  604. + Name="Win32"
  605. + />
  606. + <Platform
  607. + Name="x64"
  608. + />
  609. + </Platforms>
  610. + <Configurations>
  611. + <Configuration
  612. + Name="Debug|Win32"
  613. + InheritedPropertySheets=".\pango.vsprops"
  614. + ConfigurationType="2"
  615. + CharacterSet="2"
  616. + >
  617. + <Tool
  618. + Name="VCCLCompilerTool"
  619. + Optimization="0"
  620. + AdditionalIncludeDirectories="."
  621. + PreprocessorDefinitions="_DEBUG;$(PangoDefines)"
  622. + MinimalRebuild="true"
  623. + BasicRuntimeChecks="3"
  624. + RuntimeLibrary="2"
  625. + UsePrecompiledHeader="0"
  626. + WarningLevel="3"
  627. + DebugInformationFormat="4"
  628. + />
  629. + <Tool
  630. + Name="VCLinkerTool"
  631. + AdditionalDependencies="cairo.lib fontconfig.lib freetype.lib"
  632. + OutputFile="$(OutDir)\$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll"
  633. + LinkIncremental="2"
  634. + ModuleDefinitionFile="..\..\..\pango\pangocairo.def"
  635. + GenerateDebugInformation="true"
  636. + SubSystem="2"
  637. + ImportLibrary="$(TargetDir)$(ProjectName)-$(PangoApiVersion).lib"
  638. + TargetMachine="1"
  639. + />
  640. + </Configuration>
  641. + <Configuration
  642. + Name="Release|Win32"
  643. + InheritedPropertySheets=".\pango.vsprops"
  644. + ConfigurationType="2"
  645. + CharacterSet="2"
  646. + >
  647. + <Tool
  648. + Name="VCCLCompilerTool"
  649. + AdditionalIncludeDirectories="."
  650. + PreprocessorDefinitions="$(PangoDefines)"
  651. + RuntimeLibrary="2"
  652. + UsePrecompiledHeader="0"
  653. + WarningLevel="3"
  654. + DebugInformationFormat="3"
  655. + />
  656. + <Tool
  657. + Name="VCLinkerTool"
  658. + AdditionalDependencies="cairo.lib fontconfig.lib freetype.lib"
  659. + OutputFile="$(OutDir)\$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll"
  660. + LinkIncremental="2"
  661. + ModuleDefinitionFile="..\..\..\pango\pangocairo.def"
  662. + GenerateDebugInformation="true"
  663. + SubSystem="2"
  664. + OptimizeReferences="2"
  665. + EnableCOMDATFolding="2"
  666. + ImportLibrary="$(TargetDir)$(ProjectName)-$(PangoApiVersion).lib"
  667. + TargetMachine="1"
  668. + />
  669. + </Configuration>
  670. + <Configuration
  671. + Name="Debug|x64"
  672. + InheritedPropertySheets=".\pango.vsprops"
  673. + ConfigurationType="2"
  674. + CharacterSet="2"
  675. + >
  676. + <Tool
  677. + Name="VCCLCompilerTool"
  678. + Optimization="0"
  679. + AdditionalIncludeDirectories="."
  680. + PreprocessorDefinitions="_DEBUG;$(PangoDefines)"
  681. + MinimalRebuild="true"
  682. + BasicRuntimeChecks="3"
  683. + RuntimeLibrary="2"
  684. + UsePrecompiledHeader="0"
  685. + WarningLevel="3"
  686. + DebugInformationFormat="3"
  687. + />
  688. + <Tool
  689. + Name="VCLinkerTool"
  690. + AdditionalDependencies="cairo.lib fontconfig.lib freetype.lib"
  691. + OutputFile="$(OutDir)\$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll"
  692. + LinkIncremental="2"
  693. + ModuleDefinitionFile="..\..\..\pango\pangocairo.def"
  694. + GenerateDebugInformation="true"
  695. + SubSystem="2"
  696. + ImportLibrary="$(TargetDir)$(ProjectName)-$(PangoApiVersion).lib"
  697. + TargetMachine="17"
  698. + />
  699. + </Configuration>
  700. + <Configuration
  701. + Name="Release|x64"
  702. + InheritedPropertySheets=".\pango.vsprops"
  703. + ConfigurationType="2"
  704. + CharacterSet="2"
  705. + >
  706. + <Tool
  707. + Name="VCCLCompilerTool"
  708. + AdditionalIncludeDirectories="."
  709. + PreprocessorDefinitions="$(PangoDefines)"
  710. + RuntimeLibrary="2"
  711. + UsePrecompiledHeader="0"
  712. + WarningLevel="3"
  713. + DebugInformationFormat="3"
  714. + />
  715. + <Tool
  716. + Name="VCLinkerTool"
  717. + AdditionalDependencies="cairo.lib fontconfig.lib freetype.lib"
  718. + OutputFile="$(OutDir)\$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll"
  719. + LinkIncremental="2"
  720. + ModuleDefinitionFile="..\..\..\pango\pangocairo.def"
  721. + GenerateDebugInformation="true"
  722. + SubSystem="2"
  723. + OptimizeReferences="2"
  724. + EnableCOMDATFolding="2"
  725. + ImportLibrary="$(TargetDir)$(ProjectName)-$(PangoApiVersion).lib"
  726. + TargetMachine="17"
  727. + />
  728. + </Configuration>
  729. + </Configurations>
  730. + <References>
  731. + </References>
  732. + <Files>
  733. + <Filter
  734. + Name="Header Files"
  735. + Filter="h;hpp;hxx;hm;inl;inc;xsd"
  736. + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
  737. + >
  738. + </Filter>
  739. + <Filter
  740. + Name="Resource Files"
  741. + Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
  742. + UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
  743. + >
  744. + <File
  745. + RelativePath="..\..\..\pango\pangocairo.rc"
  746. + >
  747. + </File>
  748. + </Filter>
  749. + <Filter
  750. + Name="Source Files"
  751. + Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
  752. + UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
  753. + >
  754. + <File
  755. + RelativePath="..\..\..\pango\pangocairo-context.c"
  756. + />
  757. + <File
  758. + RelativePath="..\..\..\pango\pangocairo-font.c"
  759. + />
  760. + <File
  761. + RelativePath="..\..\..\pango\pangocairo-fontmap.c"
  762. + />
  763. + <File
  764. + RelativePath="..\..\..\pango\pangocairo-render.c"
  765. + />
  766. + <File
  767. + RelativePath="..\..\..\pango\pangocairo-fcfont.c"
  768. + />
  769. + <File
  770. + RelativePath="..\..\..\pango\pangocairo-fcfontmap.c"
  771. + />
  772. + <File
  773. + RelativePath="..\..\..\pango\pangocairo-win32font.c"
  774. + />
  775. + <File
  776. + RelativePath="..\..\..\pango\pangocairo-win32fontmap.c"
  777. + />
  778. + </Filter>
  779. + </Files>
  780. +</VisualStudioProject>
  781. diff --git a/build/win32/vs9/pangoft2.vcproj b/build/win32/vs9/pangoft2.vcproj
  782. new file mode 100644
  783. index 0000000..ad80058
  784. --- /dev/null
  785. +++ b/build/win32/vs9/pangoft2.vcproj
  786. @@ -0,0 +1,269 @@
  787. +<?xml version="1.0" encoding="us-ascii"?>
  788. +<VisualStudioProject
  789. + ProjectType="Visual C++"
  790. + Version="9.00"
  791. + Name="pangoft2"
  792. + ProjectGUID="{68CC80B9-7225-4FB5-B9AB-9C1DF50B6C73}"
  793. + RootNamespace="pangoft2"
  794. + Keyword="Win32Proj"
  795. + TargetFrameworkVersion="0"
  796. + >
  797. + <Platforms>
  798. + <Platform
  799. + Name="Win32"
  800. + />
  801. + <Platform
  802. + Name="x64"
  803. + />
  804. + </Platforms>
  805. + <ToolFiles>
  806. + </ToolFiles>
  807. + <Configurations>
  808. + <Configuration
  809. + Name="Debug|Win32"
  810. + InheritedPropertySheets=".\pango.vsprops"
  811. + ConfigurationType="2"
  812. + CharacterSet="2"
  813. + >
  814. + <Tool
  815. + Name="VCCLCompilerTool"
  816. + Optimization="0"
  817. + AdditionalIncludeDirectories="."
  818. + PreprocessorDefinitions="_DEBUG;$(PangoDefines);HAVE_GLIB"
  819. + MinimalRebuild="true"
  820. + BasicRuntimeChecks="3"
  821. + RuntimeLibrary="2"
  822. + UsePrecompiledHeader="0"
  823. + WarningLevel="3"
  824. + DebugInformationFormat="4"
  825. + />
  826. + <Tool
  827. + Name="VCLinkerTool"
  828. + AdditionalDependencies="fontconfig.lib freetype.lib"
  829. + OutputFile="$(OutDir)\$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll"
  830. + LinkIncremental="2"
  831. + ModuleDefinitionFile="..\..\..\pango\pangoft2.def"
  832. + GenerateDebugInformation="true"
  833. + SubSystem="2"
  834. + ImportLibrary="$(TargetDir)$(ProjectName)-$(PangoApiVersion).lib"
  835. + TargetMachine="1"
  836. + />
  837. + </Configuration>
  838. + <Configuration
  839. + Name="Release|Win32"
  840. + InheritedPropertySheets=".\pango.vsprops"
  841. + ConfigurationType="2"
  842. + CharacterSet="2"
  843. + >
  844. + <Tool
  845. + Name="VCCLCompilerTool"
  846. + PreprocessorDefinitions="$(PangoDefines)"
  847. + RuntimeLibrary="2"
  848. + UsePrecompiledHeader="0"
  849. + WarningLevel="3"
  850. + DebugInformationFormat="3"
  851. + />
  852. + <Tool
  853. + Name="VCLinkerTool"
  854. + AdditionalDependencies="fontconfig.lib freetype.lib"
  855. + OutputFile="$(OutDir)\$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll"
  856. + LinkIncremental="2"
  857. + ModuleDefinitionFile="..\..\..\pango\pangoft2.def"
  858. + GenerateDebugInformation="true"
  859. + SubSystem="2"
  860. + OptimizeReferences="2"
  861. + EnableCOMDATFolding="2"
  862. + ImportLibrary="$(TargetDir)$(ProjectName)-$(PangoApiVersion).lib"
  863. + TargetMachine="1"
  864. + />
  865. + </Configuration>
  866. + <Configuration
  867. + Name="Debug|x64"
  868. + InheritedPropertySheets=".\pango.vsprops"
  869. + ConfigurationType="2"
  870. + CharacterSet="2"
  871. + >
  872. + <Tool
  873. + Name="VCCLCompilerTool"
  874. + Optimization="0"
  875. + PreprocessorDefinitions="_DEBUG;$(PangoDefines)"
  876. + MinimalRebuild="true"
  877. + BasicRuntimeChecks="3"
  878. + RuntimeLibrary="3"
  879. + UsePrecompiledHeader="0"
  880. + WarningLevel="3"
  881. + DebugInformationFormat="3"
  882. + />
  883. + <Tool
  884. + Name="VCLinkerTool"
  885. + AdditionalDependencies="fontconfig.lib freetype.lib"
  886. + OutputFile="$(OutDir)\$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll"
  887. + LinkIncremental="2"
  888. + ModuleDefinitionFile="..\..\..\pango\pangoft2.def"
  889. + GenerateDebugInformation="true"
  890. + SubSystem="2"
  891. + ImportLibrary="$(TargetDir)$(ProjectName)-$(PangoApiVersion).lib"
  892. + TargetMachine="17"
  893. + />
  894. + </Configuration>
  895. + <Configuration
  896. + Name="Release|x64"
  897. + InheritedPropertySheets=".\pango.vsprops"
  898. + ConfigurationType="2"
  899. + CharacterSet="2"
  900. + >
  901. + <Tool
  902. + Name="VCCLCompilerTool"
  903. + PreprocessorDefinitions="$(PangoDefines)"
  904. + RuntimeLibrary="2"
  905. + UsePrecompiledHeader="0"
  906. + WarningLevel="3"
  907. + DebugInformationFormat="3"
  908. + />
  909. + <Tool
  910. + Name="VCLinkerTool"
  911. + AdditionalDependencies="fontconfig.lib freetype.lib"
  912. + OutputFile="$(OutDir)\$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll"
  913. + LinkIncremental="2"
  914. + ModuleDefinitionFile="..\..\..\pango\pangoft2.def"
  915. + GenerateDebugInformation="true"
  916. + SubSystem="2"
  917. + OptimizeReferences="2"
  918. + EnableCOMDATFolding="2"
  919. + ImportLibrary="$(TargetDir)$(ProjectName)-$(PangoApiVersion).lib"
  920. + TargetMachine="17"
  921. + />
  922. + </Configuration>
  923. + </Configurations>
  924. + <References>
  925. + </References>
  926. + <Files>
  927. + <Filter
  928. + Name="Header Files"
  929. + Filter="h;hpp;hxx;hm;inl;inc;xsd"
  930. + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
  931. + >
  932. + </Filter>
  933. + <Filter
  934. + Name="Resource Files"
  935. + Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
  936. + UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
  937. + >
  938. + <File
  939. + RelativePath="..\..\..\pango\pangoft2.rc"
  940. + >
  941. + </File>
  942. + </Filter>
  943. + <Filter
  944. + Name="Source Files"
  945. + Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
  946. + UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
  947. + >
  948. + <File
  949. + RelativePath="..\..\..\pango\pangofc-font.c"
  950. + />
  951. + <File
  952. + RelativePath="..\..\..\pango\pangofc-fontmap.c"
  953. + />
  954. + <File
  955. + RelativePath="..\..\..\pango\pangofc-decoder.c"
  956. + />
  957. + <File
  958. + RelativePath="..\..\..\pango\pangoft2.c"
  959. + />
  960. + <File
  961. + RelativePath="..\..\..\pango\module-defs-fc.c"
  962. + />
  963. + <File
  964. + RelativePath="..\..\..\modules\arabic\arabic-fc.c"
  965. + />
  966. + <File
  967. + RelativePath="..\..\..\modules\arabic\arabic-ot.c"
  968. + />
  969. + <File
  970. + RelativePath="..\..\..\modules\basic\basic-fc.c"
  971. + />
  972. + <File
  973. + RelativePath="..\..\..\modules\hangul\hangul-fc.c"
  974. + />
  975. + <File
  976. + RelativePath="..\..\..\modules\hebrew\hebrew-fc.c"
  977. + />
  978. + <File
  979. + RelativePath="..\..\..\modules\hebrew\hebrew-shaper.c"
  980. + />
  981. + <File
  982. + RelativePath="..\..\..\modules\indic\indic-fc.c"
  983. + />
  984. + <File
  985. + RelativePath="..\..\..\modules\indic\indic-ot.c"
  986. + />
  987. + <File
  988. + RelativePath="..\..\..\modules\indic\indic-ot-class-tables.c"
  989. + />
  990. + <File
  991. + RelativePath="..\..\..\modules\indic\mprefixups.c"
  992. + />
  993. + <File
  994. + RelativePath="..\..\..\modules\khmer\khmer-fc.c"
  995. + />
  996. + <File
  997. + RelativePath="..\..\..\modules\syriac\syriac-fc.c"
  998. + />
  999. + <File
  1000. + RelativePath="..\..\..\modules\syriac\syriac-ot.c"
  1001. + />
  1002. + <File
  1003. + RelativePath="..\..\..\modules\thai\thai-charprop.c"
  1004. + />
  1005. + <File
  1006. + RelativePath="..\..\..\modules\thai\thai-fc.c"
  1007. + />
  1008. + <File
  1009. + RelativePath="..\..\..\modules\thai\thai-shaper.c"
  1010. + />
  1011. + <File
  1012. + RelativePath="..\..\..\modules\tibetan\tibetan-fc.c"
  1013. + />
  1014. + <File
  1015. + RelativePath="..\..\..\pango\pangoft2-fontmap.c"
  1016. + />
  1017. + <File
  1018. + RelativePath="..\..\..\pango\pangoft2-render.c"
  1019. + />
  1020. + <File
  1021. + RelativePath="..\..\..\pango\pango-ot-buffer.c"
  1022. + />
  1023. + <File
  1024. + RelativePath="..\..\..\pango\pango-ot-info.c"
  1025. + />
  1026. + <File
  1027. + RelativePath="..\..\..\pango\pango-ot-ruleset.c"
  1028. + />
  1029. + <File
  1030. + RelativePath="..\..\..\pango\pango-ot-tag.c"
  1031. + />
  1032. + <File
  1033. + RelativePath="..\..\..\pango\opentype\hb-blob.c"
  1034. + />
  1035. + <File
  1036. + RelativePath="..\..\..\pango\opentype\hb-buffer.c"
  1037. + />
  1038. + <File
  1039. + RelativePath="..\..\..\pango\opentype\hb-font.cc"
  1040. + />
  1041. + <File
  1042. + RelativePath="..\..\..\pango\opentype\hb-glib.c"
  1043. + />
  1044. + <File
  1045. + RelativePath="..\..\..\pango\opentype\hb-shape.c"
  1046. + />
  1047. + <File
  1048. + RelativePath="..\..\..\pango\opentype\hb-unicode.c"
  1049. + />
  1050. + <File
  1051. + RelativePath="..\..\..\pango\opentype\hb-ot-layout.cc"
  1052. + />
  1053. + </Filter>
  1054. + </Files>
  1055. +</VisualStudioProject>
  1056. diff --git a/build/win32/vs9/pangowin32.vcproj b/build/win32/vs9/pangowin32.vcproj
  1057. new file mode 100644
  1058. index 0000000..2c961d1
  1059. --- /dev/null
  1060. +++ b/build/win32/vs9/pangowin32.vcproj
  1061. @@ -0,0 +1,179 @@
  1062. +<?xml version="1.0" encoding="us-ascii"?>
  1063. +<VisualStudioProject
  1064. + ProjectType="Visual C++"
  1065. + Version="9.00"
  1066. + Name="pangowin32"
  1067. + ProjectGUID="{68CC80B9-7225-4FB5-B9AB-9C1DF50B6C74}"
  1068. + RootNamespace="pangowin32"
  1069. + Keyword="Win32Proj"
  1070. + TargetFrameworkVersion="0"
  1071. + >
  1072. + <Platforms>
  1073. + <Platform
  1074. + Name="Win32"
  1075. + />
  1076. + <Platform
  1077. + Name="x64"
  1078. + />
  1079. + </Platforms>
  1080. + <ToolFiles>
  1081. + </ToolFiles>
  1082. + <Configurations>
  1083. + <Configuration
  1084. + Name="Debug|Win32"
  1085. + InheritedPropertySheets=".\pango.vsprops"
  1086. + ConfigurationType="2"
  1087. + CharacterSet="2"
  1088. + >
  1089. + <Tool
  1090. + Name="VCCLCompilerTool"
  1091. + Optimization="0"
  1092. + AdditionalIncludeDirectories="."
  1093. + PreprocessorDefinitions="_DEBUG;$(PangoDefines)"
  1094. + MinimalRebuild="true"
  1095. + BasicRuntimeChecks="3"
  1096. + RuntimeLibrary="2"
  1097. + UsePrecompiledHeader="0"
  1098. + WarningLevel="3"
  1099. + DebugInformationFormat="4"
  1100. + />
  1101. + <Tool
  1102. + Name="VCLinkerTool"
  1103. + AdditionalDependencies="fontconfig.lib freetype.lib"
  1104. + OutputFile="$(OutDir)\$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll"
  1105. + LinkIncremental="2"
  1106. + ModuleDefinitionFile="..\..\..\pango\pangowin32.def"
  1107. + GenerateDebugInformation="true"
  1108. + SubSystem="2"
  1109. + ImportLibrary="$(TargetDir)$(ProjectName)-$(PangoApiVersion).lib"
  1110. + TargetMachine="1"
  1111. + />
  1112. + </Configuration>
  1113. + <Configuration
  1114. + Name="Release|Win32"
  1115. + InheritedPropertySheets=".\pango.vsprops"
  1116. + ConfigurationType="2"
  1117. + CharacterSet="2"
  1118. + >
  1119. + <Tool
  1120. + Name="VCCLCompilerTool"
  1121. + PreprocessorDefinitions="$(PangoDefines)"
  1122. + RuntimeLibrary="2"
  1123. + UsePrecompiledHeader="0"
  1124. + WarningLevel="3"
  1125. + DebugInformationFormat="3"
  1126. + />
  1127. + <Tool
  1128. + Name="VCLinkerTool"
  1129. + AdditionalDependencies="fontconfig.lib freetype.lib"
  1130. + OutputFile="$(OutDir)\$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll"
  1131. + LinkIncremental="2"
  1132. + ModuleDefinitionFile="..\..\..\pango\pangowin32.def"
  1133. + GenerateDebugInformation="true"
  1134. + SubSystem="2"
  1135. + OptimizeReferences="2"
  1136. + EnableCOMDATFolding="2"
  1137. + ImportLibrary="$(TargetDir)$(ProjectName)-$(PangoApiVersion).lib"
  1138. + TargetMachine="1"
  1139. + />
  1140. + </Configuration>
  1141. + <Configuration
  1142. + Name="Debug|x64"
  1143. + InheritedPropertySheets=".\pango.vsprops"
  1144. + ConfigurationType="2"
  1145. + CharacterSet="2"
  1146. + >
  1147. + <Tool
  1148. + Name="VCCLCompilerTool"
  1149. + Optimization="0"
  1150. + PreprocessorDefinitions="_DEBUG;$(PangoDefines)"
  1151. + MinimalRebuild="true"
  1152. + BasicRuntimeChecks="3"
  1153. + RuntimeLibrary="3"
  1154. + UsePrecompiledHeader="0"
  1155. + WarningLevel="3"
  1156. + DebugInformationFormat="3"
  1157. + />
  1158. + <Tool
  1159. + Name="VCLinkerTool"
  1160. + AdditionalDependencies="fontconfig.lib freetype.lib"
  1161. + OutputFile="$(OutDir)\$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll"
  1162. + LinkIncremental="2"
  1163. + ModuleDefinitionFile="..\..\..\pango\pangowin32.def"
  1164. + GenerateDebugInformation="true"
  1165. + SubSystem="2"
  1166. + ImportLibrary="$(TargetDir)$(ProjectName)-$(PangoApiVersion).lib"
  1167. + TargetMachine="17"
  1168. + />
  1169. + </Configuration>
  1170. + <Configuration
  1171. + Name="Release|x64"
  1172. + InheritedPropertySheets=".\pango.vsprops"
  1173. + ConfigurationType="2"
  1174. + CharacterSet="2"
  1175. + >
  1176. + <Tool
  1177. + Name="VCCLCompilerTool"
  1178. + PreprocessorDefinitions="$(PangoDefines)"
  1179. + RuntimeLibrary="2"
  1180. + UsePrecompiledHeader="0"
  1181. + WarningLevel="3"
  1182. + DebugInformationFormat="3"
  1183. + />
  1184. + <Tool
  1185. + Name="VCLinkerTool"
  1186. + AdditionalDependencies="fontconfig.lib freetype.lib"
  1187. + OutputFile="$(OutDir)\$(PangoDllPrefix)$(ProjectName)$(PangoDllSuffix).dll"
  1188. + LinkIncremental="2"
  1189. + ModuleDefinitionFile="..\..\..\pango\pangowin32.def"
  1190. + GenerateDebugInformation="true"
  1191. + SubSystem="2"
  1192. + OptimizeReferences="2"
  1193. + EnableCOMDATFolding="2"
  1194. + ImportLibrary="$(TargetDir)$(ProjectName)-$(PangoApiVersion).lib"
  1195. + TargetMachine="17"
  1196. + />
  1197. + </Configuration>
  1198. + </Configurations>
  1199. + <References>
  1200. + </References>
  1201. + <Files>
  1202. + <Filter
  1203. + Name="Header Files"
  1204. + Filter="h;hpp;hxx;hm;inl;inc;xsd"
  1205. + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
  1206. + >
  1207. + </Filter>
  1208. + <Filter
  1209. + Name="Resource Files"
  1210. + Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
  1211. + UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
  1212. + >
  1213. + <File
  1214. + RelativePath="..\..\..\pango\pangowin32.rc"
  1215. + >
  1216. + </File>
  1217. + </Filter>
  1218. + <Filter
  1219. + Name="Source Files"
  1220. + Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
  1221. + UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
  1222. + >
  1223. + <File
  1224. + RelativePath="..\..\..\modules\basic\basic-win32.c"
  1225. + />
  1226. + <File
  1227. + RelativePath="..\..\..\pango\module-defs-win32.c"
  1228. + />
  1229. + <File
  1230. + RelativePath="..\..\..\pango\pangowin32.c"
  1231. + />
  1232. + <File
  1233. + RelativePath="..\..\..\pango\pangowin32-fontcache.c"
  1234. + />
  1235. + <File
  1236. + RelativePath="..\..\..\pango\pangowin32-fontmap.c"
  1237. + />
  1238. + </Filter>
  1239. + </Files>
  1240. +</VisualStudioProject>
  1241. diff --git a/build/win32/vs9/stdint.h b/build/win32/vs9/stdint.h
  1242. new file mode 100644
  1243. index 0000000..fcab43a
  1244. --- /dev/null
  1245. +++ b/build/win32/vs9/stdint.h
  1246. @@ -0,0 +1,36 @@
  1247. +typedef signed char int8_t;
  1248. +typedef unsigned char uint8_t;
  1249. +typedef short int16_t;
  1250. +typedef unsigned short uint16_t;
  1251. +typedef int int32_t;
  1252. +typedef unsigned uint32_t;
  1253. +typedef long long int64_t;
  1254. +typedef unsigned long long uint64_t;
  1255. +typedef signed char int_least8_t;
  1256. +typedef unsigned char uint_least8_t;
  1257. +typedef short int_least16_t;
  1258. +typedef unsigned short uint_least16_t;
  1259. +typedef int int_least32_t;
  1260. +typedef unsigned uint_least32_t;
  1261. +typedef long long int_least64_t;
  1262. +typedef unsigned long long uint_least64_t;
  1263. +typedef char int_fast8_t;
  1264. +typedef unsigned char uint_fast8_t;
  1265. +typedef short int_fast16_t;
  1266. +typedef unsigned short uint_fast16_t;
  1267. +typedef int int_fast32_t;
  1268. +typedef unsigned int uint_fast32_t;
  1269. +typedef long long int_fast64_t;
  1270. +typedef unsigned long long uint_fast64_t;
  1271. +#ifdef _WIN64
  1272. +typedef __int64 intptr_t;
  1273. +#else
  1274. +typedef int intptr_t;
  1275. +#endif
  1276. +#ifdef _WIN64
  1277. +typedef unsigned __int64 uintptr_t;
  1278. +#else
  1279. +typedef unsigned int uintptr_t;
  1280. +#endif
  1281. +typedef __int64 intmax_t;
  1282. +typedef unsigned __int64 uintmax_t;
  1283. diff --git a/build/win32/vs9/unistd.h b/build/win32/vs9/unistd.h
  1284. new file mode 100644
  1285. index 0000000..8655b1d
  1286. --- /dev/null
  1287. +++ b/build/win32/vs9/unistd.h
  1288. @@ -0,0 +1 @@
  1289. +#include <io.h>
  1290.  
  1291. commit 68b2b07874f975cc6e5dea253a14aa64eb28d21e
  1292. Author: Tor Lillqvist <tml@iki.fi>
  1293. Date: Fri Feb 5 23:40:46 2010 +0200
  1294.  
  1295. Windows build improvements
  1296.  
  1297. Update README.win32.
  1298.  
  1299. Construct and provide in the tarball a pregenerated config.h.win32
  1300. which can be used as config.h when building with VIsual C without
  1301. running any configure script.
  1302.  
  1303. Provide a rc file for the pangocairo DLL, too.
  1304.  
  1305. Provide pregenerarated module-defs.h.win32, module-defs-lang.c.win32 files.
  1306.  
  1307. Define PANGO_MODULE_PREFIX appropriately in the relevant module source
  1308. files if not available from the compilation command line.
  1309.  
  1310. Update module-defs-fc.c.win32 and module-defs-win32.c.win32 to match
  1311. what configure provides.
  1312. ---
  1313. Makefile.am | 2 +
  1314. README.win32 | 28 ++------
  1315. config.h.win32.in | 151 +++++++++++++++++++++++++++++++++++++++
  1316. configure.in | 6 +-
  1317. modules/arabic/arabic-fc.c | 4 +
  1318. modules/arabic/arabic-lang.c | 4 +
  1319. modules/basic/basic-fc.c | 5 ++
  1320. modules/basic/basic-win32.c | 5 ++
  1321. modules/hangul/hangul-fc.c | 4 +
  1322. modules/hebrew/hebrew-fc.c | 5 ++
  1323. modules/indic/indic-fc.c | 4 +
  1324. modules/indic/indic-lang.c | 4 +
  1325. modules/khmer/khmer-fc.c | 4 +
  1326. modules/syriac/syriac-fc.c | 4 +
  1327. modules/thai/thai-fc.c | 5 ++
  1328. modules/tibetan/tibetan-fc.c | 4 +
  1329. pango/Makefile.am | 11 +++-
  1330. pango/module-defs-fc.c.win32 | 40 ++++-------
  1331. pango/module-defs-lang.c.win32 | 11 +++
  1332. pango/module-defs-win32.c.win32 | 26 ++------
  1333. pango/module-defs.h.win32 | 74 +++++++++++++++++++
  1334. pango/pangocairo.rc.in | 30 ++++++++
  1335. 22 files changed, 357 insertions(+), 74 deletions(-)
  1336.  
  1337. diff --git a/Makefile.am b/Makefile.am
  1338. index 01aa688..77a639b 100644
  1339. --- a/Makefile.am
  1340. +++ b/Makefile.am
  1341. @@ -31,9 +31,11 @@ EXTRA_DIST = \
  1342. MAINTAINERS \
  1343. HACKING \
  1344. README.win32 \
  1345. + config.h.win32 \
  1346. pango-zip.sh.in \
  1347. sanitize-la.sh \
  1348. pango.doap
  1349. +
  1350. MAINTAINERCLEANFILES = \
  1351. $(srcdir)/INSTALL \
  1352. $(srcdir)/aclocal.m4 \
  1353. diff --git a/README.win32 b/README.win32
  1354. index 68fcd8a..283b6cb 100644
  1355. --- a/README.win32
  1356. +++ b/README.win32
  1357. @@ -6,11 +6,11 @@ pangowin32). Much of the GDI font API calls are in cairo.
  1358. The pangoft2 backend was originally written with Win32 in mind, but
  1359. its main use nowadays is on other platforms than Win32.
  1360.  
  1361. -There are two ways to build Pango for Win32:
  1362. +There are three ways to build Pango for Win32:
  1363.  
  1364. 1) Use gcc (mingw), libtool, make, like on Unix.
  1365.  
  1366. -If building from CVS, run the autogen.sh script that runs aclocal,
  1367. +If building from git, run the autogen.sh script that runs aclocal,
  1368. automake, autoconf and configure to build makefiles etc. This is what
  1369. tml@novell.com uses. Pass the same switches to autogen.sh that you
  1370. would pass to the configure script.
  1371. @@ -20,31 +20,15 @@ make should be enough. But, as always, you need to understand what is
  1372. happening and follow the progress in case manual intervention is
  1373. needed.
  1374.  
  1375. -If you want to support complex scripts (which you should!), you need
  1376. -the usp10.h header from the Platform SDK. Otherwise the basic-win32
  1377. -shaper module won' use Uniscribe and for instance Arabic and Indic
  1378. -scripts will look like crap. (Yes, complex script support *is*
  1379. -important. It is one of the main selling points of GTK+ and Pango.)
  1380. -Pass the --with-usp10 flag to the configure script to tell it where
  1381. -you have the Platform SDK (or other source of an "usp10.h" or
  1382. -"include/usp10.h" file).
  1383. -
  1384. tml ran the configure script like this when building binaries for
  1385. Pango 1.10.0:
  1386.  
  1387. -PATH=/devel/dist/glib-2.8.0/bin:$PATH ACLOCAL_FLAGS="-I /devel/dist/glib-2.8.0/share/aclocal" PKG_CONFIG_PATH=/devel/dist/glib-2.8.0/lib/pkgconfig:$PKG_CONFIG_PATH CC='gcc -mtune=pentium3' CPPFLAGS='-I/opt/gnu/include' LDFLAGS='-L/opt/gnu/lib' CFLAGS=-O ./configure --disable-gtk-doc --with-usp10=/opt/psdk --without-x --prefix=c:/devel/target/pango-1.10.0
  1388. -
  1389. -The pango.modules file tends not to get automatically set up correctly
  1390. -on Win32. Check that. Also make sure you set up a pango.aliases file
  1391. -if you want to support non-Latin scripts. pango.aliases file used by
  1392. -tml looks like this:
  1393. +PATH=/devel/dist/glib-2.8.0/bin:$PATH ACLOCAL_FLAGS="-I /devel/dist/glib-2.8.0/share/aclocal" PKG_CONFIG_PATH=/devel/dist/glib-2.8.0/lib/pkgconfig:$PKG_CONFIG_PATH CC='gcc -mtune=pentium3' CPPFLAGS='-I/opt/gnu/include' LDFLAGS='-L/opt/gnu/lib' CFLAGS=-O ./configure --disable-gtk-doc --without-x --prefix=c:/devel/target/pango-1.10.0
  1394.  
  1395. -tahoma = "tahoma,browallia new,mingliu,simhei,gulimche,ms gothic,latha,mangal"
  1396. -sans = "arial,browallia new,mingliu,simhei,gulimche,ms gothic,latha,mangal"
  1397. -serif = "times new roman,angsana new,mingliu,simsun,gulimche,ms gothic,latha,mangal"
  1398. -monospace = "courier new,courier monothai,mingliu,simsun,gulimche,ms gothic,latha,mangal"
  1399. +2) Use Visual Studio 2008. Use the solution file in
  1400. +build/win32/vs9. See the README.txt there for more information.
  1401.  
  1402. -2) Use MSVC and nmake. Use the makefile.msc makefiles. These makefiles
  1403. +3) Use MSVC and nmake. Use the makefile.msc makefiles. These makefiles
  1404. are supported by Hans Breuer. They requires manual editing. You need
  1405. to have the source code to some suitable version of glib in a sibling
  1406. directory. Ask Hans for advice.
  1407. diff --git a/config.h.win32.in b/config.h.win32.in
  1408. new file mode 100644
  1409. index 0000000..1864ad0
  1410. --- /dev/null
  1411. +++ b/config.h.win32.in
  1412. @@ -0,0 +1,151 @@
  1413. +/* config.h. Generated from config.h.in by configure. */
  1414. +/* config.h.in. Generated from configure.in by autoheader. */
  1415. +/* Actually, this version of config.h is manually edited from the above */
  1416. +
  1417. +/* Have usable Cairo library and font backend */
  1418. +#define HAVE_CAIRO 1
  1419. +
  1420. +/* Whether Cairo can use ATSUI for fonts */
  1421. +/* #undef HAVE_CAIRO_ATSUI */
  1422. +
  1423. +/* Whether Cairo can use FreeType for fonts */
  1424. +#define HAVE_CAIRO_FREETYPE 1
  1425. +
  1426. +/* Whether Cairo has PDF support */
  1427. +#define HAVE_CAIRO_PDF 1
  1428. +
  1429. +/* Whether Cairo has PNG support */
  1430. +#define HAVE_CAIRO_PNG 1
  1431. +
  1432. +/* Whether Cairo has PS support */
  1433. +#define HAVE_CAIRO_PS 1
  1434. +
  1435. +/* Whether Cairo can use the Win32 GDI for fonts */
  1436. +#define HAVE_CAIRO_WIN32 1
  1437. +
  1438. +/* Whether Cairo has Xlib support */
  1439. +/* #undef HAVE_CAIRO_XLIB */
  1440. +
  1441. +/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
  1442. + */
  1443. +/* #undef HAVE_DIRENT_H */
  1444. +
  1445. +/* Define to 1 if you have the <dlfcn.h> header file. */
  1446. +/* #undef HAVE_DLFCN_H */
  1447. +
  1448. +/* Define to 1 if you have the `flockfile' function. */
  1449. +/* #undef HAVE_FLOCKFILE */
  1450. +
  1451. +/* Have FreeType 2 library */
  1452. +#define HAVE_FREETYPE 1
  1453. +
  1454. +/* Define to 1 if you have the `getpagesize' function. */
  1455. +/* #undef HAVE_GETPAGESIZE */
  1456. +
  1457. +/* Define to 1 if you have the <inttypes.h> header file. */
  1458. +/*#undef HAVE_INTTYPES_H */
  1459. +
  1460. +/* Define to 1 if you have the <memory.h> header file. */
  1461. +/* #undef HAVE_MEMORY_H */
  1462. +
  1463. +/* Define to 1 if you have the `mprotect' function. */
  1464. +/* #undef HAVE_MPROTECT */
  1465. +
  1466. +/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
  1467. +/* #undef HAVE_NDIR_H */
  1468. +
  1469. +/* Define to 1 if you have the <stdint.h> header file. */
  1470. +/* #undef HAVE_STDINT_H */
  1471. +
  1472. +/* Define to 1 if you have the <stdlib.h> header file. */
  1473. +#define HAVE_STDLIB_H 1
  1474. +
  1475. +/* Define to 1 if you have the <strings.h> header file. */
  1476. +/* #undef HAVE_STRINGS_H */
  1477. +
  1478. +/* Define to 1 if you have the <string.h> header file. */
  1479. +#define HAVE_STRING_H 1
  1480. +
  1481. +/* Define to 1 if you have the `strtok_r' function. */
  1482. +/* #undef HAVE_STRTOK_R */
  1483. +
  1484. +/* Define to 1 if you have the `sysconf' function. */
  1485. +/* #undef HAVE_SYSCONF */
  1486. +
  1487. +/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
  1488. + */
  1489. +/* #undef HAVE_SYS_DIR_H */
  1490. +
  1491. +/* Define to 1 if you have the <sys/mman.h> header file. */
  1492. +/* #undef HAVE_SYS_MMAN_H */
  1493. +
  1494. +/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
  1495. + */
  1496. +/* #undef HAVE_SYS_NDIR_H */
  1497. +
  1498. +/* Define to 1 if you have the <sys/stat.h> header file. */
  1499. +#define HAVE_SYS_STAT_H 1
  1500. +
  1501. +/* Define to 1 if you have the <sys/types.h> header file. */
  1502. +#define HAVE_SYS_TYPES_H 1
  1503. +
  1504. +/* Define to 1 if you have the <unistd.h> header file. */
  1505. +/* #undef HAVE_UNISTD_H */
  1506. +
  1507. +/* Have X libraries */
  1508. +/* #undef HAVE_X */
  1509. +
  1510. +/* Have Xft library */
  1511. +/* #undef HAVE_XFT */
  1512. +
  1513. +/* Define to the sub-directory in which libtool stores uninstalled libraries.
  1514. + */
  1515. +#define LT_OBJDIR ".libs/"
  1516. +
  1517. +/* Module interface version */
  1518. +#define MODULE_VERSION "1.6.0"
  1519. +
  1520. +/* Name of package */
  1521. +#define PACKAGE "pango"
  1522. +
  1523. +/* Define to the address where bug reports for this package should be sent. */
  1524. +#define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=pango"
  1525. +
  1526. +/* Define to the full name of this package. */
  1527. +#define PACKAGE_NAME "pango"
  1528. +
  1529. +/* Define to the full name and version of this package. */
  1530. +#define PACKAGE_STRING "pango @PANGO_VERSION"
  1531. +
  1532. +/* Define to the one symbol short name of this package. */
  1533. +#define PACKAGE_TARNAME "pango"
  1534. +
  1535. +/* Define to the version of this package. */
  1536. +#define PACKAGE_VERSION "@PANGO_VERSION@"
  1537. +
  1538. +/* PANGO binary age */
  1539. +#define PANGO_BINARY_AGE @PANGO_BINARY_AGE@
  1540. +
  1541. +/* PANGO interface age */
  1542. +#define PANGO_INTERFACE_AGE @PANGO_INTERFACE_AGE@
  1543. +
  1544. +/* PANGO major version */
  1545. +#define PANGO_VERSION_MAJOR @PANEG_VERSION_MAJOR@
  1546. +
  1547. +/* PANGO micro version */
  1548. +#define PANGO_VERSION_MICRO @PANGO_VERSION_MICRO@
  1549. +
  1550. +/* PANGO minor version */
  1551. +#define PANGO_VERSION_MINOR @PANGO_VERSION_MINOR@
  1552. +
  1553. +/* Define to 1 if you have the ANSI C header files. */
  1554. +#define STDC_HEADERS 1
  1555. +
  1556. +/* Whether to load modules via .la files rather than directly */
  1557. +/* #undef USE_LA_MODULES */
  1558. +
  1559. +/* Version number of package */
  1560. +#define VERSION "@PANGO_VERSION@"
  1561. +
  1562. +/* Define to 1 if the X Window System is missing or not being used. */
  1563. +/* #undef X_DISPLAY_MISSING */
  1564. diff --git a/configure.in b/configure.in
  1565. index 7eca527..53cfa39 100644
  1566. --- a/configure.in
  1567. +++ b/configure.in
  1568. @@ -758,9 +758,9 @@ for module in $included_modules; do
  1569. module_c=`echo $module | sed s/-/_/`
  1570. cat >> pango/module-defs.h <<EOTEXT
  1571. extern void _pango_${module_c}_script_engine_list (PangoEngineInfo **engines, int *n_engines);
  1572. -extern PangoEngine *_pango_${module_c}_script_engine_init (GTypeModule *module);
  1573. +extern void _pango_${module_c}_script_engine_init (GTypeModule *module);
  1574. extern void _pango_${module_c}_script_engine_exit (void);
  1575. -extern void _pango_${module_c}_script_engine_create (const char *id);
  1576. +extern PangoEngine *_pango_${module_c}_script_engine_create (const char *id);
  1577.  
  1578. EOTEXT
  1579. done
  1580. @@ -963,6 +963,7 @@ pango/opentype/Makefile
  1581. pango/pango.rc
  1582. pango/pangoft2.rc
  1583. pango/pangowin32.rc
  1584. +pango/pangocairo.rc
  1585. pango/pangox.rc
  1586. pango/pangoxft.rc
  1587. pango-view/Makefile
  1588. @@ -994,6 +995,7 @@ pangoft2-uninstalled.pc
  1589. pangoxft-uninstalled.pc
  1590. pangocairo-uninstalled.pc
  1591. pango-zip.sh
  1592. +config.h.win32
  1593. ])
  1594.  
  1595. AC_CONFIG_FILES([tests/runtests.sh],
  1596. diff --git a/modules/arabic/arabic-fc.c b/modules/arabic/arabic-fc.c
  1597. index 4b024e1..ff1ef0a 100644
  1598. --- a/modules/arabic/arabic-fc.c
  1599. +++ b/modules/arabic/arabic-fc.c
  1600. @@ -27,6 +27,10 @@
  1601.  
  1602. #include "arabic-ot.h"
  1603.  
  1604. +#ifndef PANGO_MODULE_PREFIX
  1605. +#define PANGO_MODULE_PREFIX _pango_arabic_fc
  1606. +#endif
  1607. +
  1608. #include "pango-engine.h"
  1609. #include "pango-utils.h"
  1610. #include "pangofc-font.h"
  1611. diff --git a/modules/arabic/arabic-lang.c b/modules/arabic/arabic-lang.c
  1612. index ee23bad..e17486c 100644
  1613. --- a/modules/arabic/arabic-lang.c
  1614. +++ b/modules/arabic/arabic-lang.c
  1615. @@ -25,6 +25,10 @@
  1616. #include "config.h"
  1617. #include <string.h>
  1618.  
  1619. +#ifndef PANGO_MODULE_PREFIX
  1620. +#define PANGO_MODULE_PREFIX _pango_arabic_lang
  1621. +#endif
  1622. +
  1623. #include "pango-engine.h"
  1624. #include "pango-break.h"
  1625.  
  1626. diff --git a/modules/basic/basic-fc.c b/modules/basic/basic-fc.c
  1627. index 6e0d2ef..c390778 100644
  1628. --- a/modules/basic/basic-fc.c
  1629. +++ b/modules/basic/basic-fc.c
  1630. @@ -26,6 +26,11 @@
  1631. #include <string.h>
  1632.  
  1633. #include <glib/gprintf.h>
  1634. +
  1635. +#ifndef PANGO_MODULE_PREFIX
  1636. +#define PANGO_MODULE_PREFIX _pango_basic_fc
  1637. +#endif
  1638. +
  1639. #include "pango-engine.h"
  1640. #include "pango-utils.h"
  1641. #include "pangofc-font.h"
  1642. diff --git a/modules/basic/basic-win32.c b/modules/basic/basic-win32.c
  1643. index ecb139e..1565a7c 100644
  1644. --- a/modules/basic/basic-win32.c
  1645. +++ b/modules/basic/basic-win32.c
  1646. @@ -30,6 +30,11 @@
  1647. #include <glib.h>
  1648.  
  1649. #include "pangowin32.h"
  1650. +
  1651. +#ifndef PANGO_MODULE_PREFIX
  1652. +#define PANGO_MODULE_PREFIX _pango_basic_win32
  1653. +#endif
  1654. +
  1655. #include "pango-engine.h"
  1656. #include "pango-utils.h"
  1657.  
  1658. diff --git a/modules/hangul/hangul-fc.c b/modules/hangul/hangul-fc.c
  1659. index 7692a84..ab542e8 100644
  1660. --- a/modules/hangul/hangul-fc.c
  1661. +++ b/modules/hangul/hangul-fc.c
  1662. @@ -23,6 +23,10 @@
  1663. #include "config.h"
  1664. #include <string.h>
  1665.  
  1666. +#ifndef PANGO_MODULE_PREFIX
  1667. +#define PANGO_MODULE_PREFIX _pango_hangul_fc
  1668. +#endif
  1669. +
  1670. #include "pango-engine.h"
  1671. #include "pango-utils.h"
  1672. #include "pangofc-font.h"
  1673. diff --git a/modules/hebrew/hebrew-fc.c b/modules/hebrew/hebrew-fc.c
  1674. index fcfed2b..056a4ff 100644
  1675. --- a/modules/hebrew/hebrew-fc.c
  1676. +++ b/modules/hebrew/hebrew-fc.c
  1677. @@ -27,6 +27,11 @@
  1678. #include <string.h>
  1679.  
  1680. #include <pango/pango-ot.h>
  1681. +
  1682. +#ifndef PANGO_MODULE_PREFIX
  1683. +#define PANGO_MODULE_PREFIX _pango_hebrew_fc
  1684. +#endif
  1685. +
  1686. #include "pango-engine.h"
  1687. #include "pango-utils.h"
  1688. #include "pangofc-font.h"
  1689. diff --git a/modules/indic/indic-fc.c b/modules/indic/indic-fc.c
  1690. index 3a232be..ef94a4d 100644
  1691. --- a/modules/indic/indic-fc.c
  1692. +++ b/modules/indic/indic-fc.c
  1693. @@ -27,6 +27,10 @@
  1694.  
  1695. #include "indic-ot.h"
  1696.  
  1697. +#ifndef PANGO_MODULE_PREFIX
  1698. +#define PANGO_MODULE_PREFIX _pango_indic_fc
  1699. +#endif
  1700. +
  1701. #include "pango-engine.h"
  1702. #include "pango-ot.h"
  1703. #include "pango-utils.h"
  1704. diff --git a/modules/indic/indic-lang.c b/modules/indic/indic-lang.c
  1705. index a391520..843ee3c 100644
  1706. --- a/modules/indic/indic-lang.c
  1707. +++ b/modules/indic/indic-lang.c
  1708. @@ -23,6 +23,10 @@
  1709. #include "config.h"
  1710. #include <string.h>
  1711.  
  1712. +#ifndef PANGO_MODULE_PREFIX
  1713. +#define PANGO_MODULE_PREFIX _pango_indic_lang
  1714. +#endif
  1715. +
  1716. #include "pango-engine.h"
  1717. #include "pango-break.h"
  1718.  
  1719. diff --git a/modules/khmer/khmer-fc.c b/modules/khmer/khmer-fc.c
  1720. index 14357d7..7fb2172 100644
  1721. --- a/modules/khmer/khmer-fc.c
  1722. +++ b/modules/khmer/khmer-fc.c
  1723. @@ -59,6 +59,10 @@
  1724. #include "config.h"
  1725. #include <string.h>
  1726.  
  1727. +#ifndef PANGO_MODULE_PREFIX
  1728. +#define PANGO_MODULE_PREFIX _pango_khmer_fc
  1729. +#endif
  1730. +
  1731. #include "pango-engine.h"
  1732. #include "pango-ot.h"
  1733. #include "pango-utils.h"
  1734. diff --git a/modules/syriac/syriac-fc.c b/modules/syriac/syriac-fc.c
  1735. index 7ba05fb..6d7ed63 100644
  1736. --- a/modules/syriac/syriac-fc.c
  1737. +++ b/modules/syriac/syriac-fc.c
  1738. @@ -28,6 +28,10 @@
  1739.  
  1740. #include "syriac-ot.h"
  1741.  
  1742. +#ifndef PANGO_MODULE_PREFIX
  1743. +#define PANGO_MODULE_PREFIX _pango_syriac_fc
  1744. +#endif
  1745. +
  1746. #include "pango-engine.h"
  1747. #include "pango-utils.h"
  1748. #include "pangofc-font.h"
  1749. diff --git a/modules/thai/thai-fc.c b/modules/thai/thai-fc.c
  1750. index 837a028..f41135a 100644
  1751. --- a/modules/thai/thai-fc.c
  1752. +++ b/modules/thai/thai-fc.c
  1753. @@ -32,6 +32,11 @@
  1754.  
  1755. #include <glib.h>
  1756. #include "pango-ot.h"
  1757. +
  1758. +#ifndef PANGO_MODULE_PREFIX
  1759. +#define PANGO_MODULE_PREFIX _pango_thai_fc
  1760. +#endif
  1761. +
  1762. #include "pango-engine.h"
  1763. #include "pangofc-font.h"
  1764.  
  1765. diff --git a/modules/tibetan/tibetan-fc.c b/modules/tibetan/tibetan-fc.c
  1766. index 4e89416..c49f400 100644
  1767. --- a/modules/tibetan/tibetan-fc.c
  1768. +++ b/modules/tibetan/tibetan-fc.c
  1769. @@ -67,6 +67,10 @@
  1770. #include "config.h"
  1771. #include <string.h>
  1772.  
  1773. +#ifndef PANGO_MODULE_PREFIX
  1774. +#define PANGO_MODULE_PREFIX _pango_tibetan_fc
  1775. +#endif
  1776. +
  1777. #include "pango-engine.h"
  1778. #include "pango-ot.h"
  1779. #include "pango-utils.h"
  1780. diff --git a/pango/Makefile.am b/pango/Makefile.am
  1781. index cef644f..8d47696 100644
  1782. --- a/pango/Makefile.am
  1783. +++ b/pango/Makefile.am
  1784. @@ -359,9 +359,12 @@ libpangocairo_1_0_la_SOURCES = \
  1785.  
  1786. if HAVE_CAIRO_WIN32
  1787. if PLATFORM_WIN32
  1788. -libpangocairo_1_0_la_LDFLAGS += -export-symbols $(srcdir)/pangocairo.def
  1789. -libpangocairo_1_0_la_DEPENDENCIES += pangocairo.def
  1790. +libpangocairo_1_0_la_LDFLAGS += -export-symbols $(srcdir)/pangocairo.def -Wl,pangocairo-win32-res.o
  1791. +libpangocairo_1_0_la_DEPENDENCIES += pangocairo-win32-res.o pangocairo.def
  1792. endif
  1793. +pangocairo-win32-res.o: pangocairo.rc
  1794. + $(AM_V_GEN) $(WINDRES) $< $@
  1795. +
  1796.  
  1797. libpangocairo_1_0_la_LIBADD += libpangowin32-$(PANGO_API_VERSION).la $(WIN32_LIBS)
  1798. libpangocairo_1_0_la_DEPENDENCIES += libpangowin32-$(PANGO_API_VERSION).la
  1799. @@ -559,6 +562,8 @@ pango_querymodules_LDADD += libpango-$(PANGO_API_VERSION).la $(GLIB_LIBS)
  1800. EXTRA_DIST += \
  1801. pango-enum-types.h \
  1802. module-defs.h \
  1803. + module-defs.h.win32 \
  1804. + module-defs-lang.c.win32 \
  1805. module-defs-fc.c.win32 \
  1806. module-defs-win32.c.win32 \
  1807. pango.def \
  1808. @@ -573,6 +578,8 @@ EXTRA_DIST += \
  1809. pangoft2.rc.in \
  1810. pangowin32.rc \
  1811. pangowin32.rc.in \
  1812. + pangocairo.rc \
  1813. + pangocairo.rc.in \
  1814. pangox.rc \
  1815. pangox.rc.in \
  1816. pangoxft.rc \
  1817. diff --git a/pango/module-defs-fc.c.win32 b/pango/module-defs-fc.c.win32
  1818. index a6ae1cf..7a44537 100644
  1819. --- a/pango/module-defs-fc.c.win32
  1820. +++ b/pango/module-defs-fc.c.win32
  1821. @@ -1,31 +1,17 @@
  1822. -/* Hand-written. Once the GNU configure mechanism is used
  1823. - * on Win32, too, can be generated.
  1824. -*/
  1825. +/* Autogenerated by configure and then saved for use when compiling with
  1826. + Visual C. */
  1827.  
  1828. -#include "modules.h"
  1829. -
  1830. -#ifdef PANGO_MODULE_PREFIX
  1831. -/* by defining PANGO_MODULE_PREFIX the basic module gets include in the
  1832. - * backend library, here ../modules/basic/basic-fc.c
  1833. - * It helps the backend to not fall on its nose even with a screwed module
  1834. - * configuration. There should be at least enough fonts available to show
  1835. - * an error message ...
  1836. - */
  1837. -void _pango_basic_ft2_script_engine_list (PangoEngineInfo **engines,
  1838. - gint *n_engines);
  1839. -void _pango_basic_ft2_script_engine_init (GTypeModule *module);
  1840. -void _pango_basic_ft2_script_engine_exit (void);
  1841. -PangoEngine *_pango_basic_ft2_script_engine_create (const char *id);
  1842. -#endif
  1843. +#include "module-defs.h"
  1844.  
  1845. PangoIncludedModule _pango_included_fc_modules[] = {
  1846. -#ifdef PANGO_MODULE_PREFIX
  1847. - {
  1848. - _pango_basic_ft2_script_engine_list,
  1849. - _pango_basic_ft2_script_engine_init,
  1850. - _pango_basic_ft2_script_engine_exit,
  1851. - _pango_basic_ft2_script_engine_create
  1852. - },
  1853. -#endif
  1854. - { NULL, NULL, NULL },
  1855. + { _pango_arabic_fc_script_engine_list, _pango_arabic_fc_script_engine_init, _pango_arabic_fc_script_engine_exit, _pango_arabic_fc_script_engine_create },
  1856. + { _pango_basic_fc_script_engine_list, _pango_basic_fc_script_engine_init, _pango_basic_fc_script_engine_exit, _pango_basic_fc_script_engine_create },
  1857. + { _pango_hangul_fc_script_engine_list, _pango_hangul_fc_script_engine_init, _pango_hangul_fc_script_engine_exit, _pango_hangul_fc_script_engine_create },
  1858. + { _pango_hebrew_fc_script_engine_list, _pango_hebrew_fc_script_engine_init, _pango_hebrew_fc_script_engine_exit, _pango_hebrew_fc_script_engine_create },
  1859. + { _pango_indic_fc_script_engine_list, _pango_indic_fc_script_engine_init, _pango_indic_fc_script_engine_exit, _pango_indic_fc_script_engine_create },
  1860. + { _pango_khmer_fc_script_engine_list, _pango_khmer_fc_script_engine_init, _pango_khmer_fc_script_engine_exit, _pango_khmer_fc_script_engine_create },
  1861. + { _pango_syriac_fc_script_engine_list, _pango_syriac_fc_script_engine_init, _pango_syriac_fc_script_engine_exit, _pango_syriac_fc_script_engine_create },
  1862. + { _pango_thai_fc_script_engine_list, _pango_thai_fc_script_engine_init, _pango_thai_fc_script_engine_exit, _pango_thai_fc_script_engine_create },
  1863. + { _pango_tibetan_fc_script_engine_list, _pango_tibetan_fc_script_engine_init, _pango_tibetan_fc_script_engine_exit, _pango_tibetan_fc_script_engine_create },
  1864. + { NULL, NULL, NULL, NULL },
  1865. };
  1866. diff --git a/pango/module-defs-lang.c.win32 b/pango/module-defs-lang.c.win32
  1867. new file mode 100644
  1868. index 0000000..d1fe979
  1869. --- /dev/null
  1870. +++ b/pango/module-defs-lang.c.win32
  1871. @@ -0,0 +1,11 @@
  1872. +/* Autogenerated and saved for builds using Microsoft's compiler,
  1873. + * when the configure mechanism isn't used.
  1874. + */
  1875. +
  1876. +#include "module-defs.h"
  1877. +
  1878. +PangoIncludedModule _pango_included_lang_modules[] = {
  1879. + { _pango_arabic_lang_script_engine_list, _pango_arabic_lang_script_engine_init, _pango_arabic_lang_script_engine_exit, _pango_arabic_lang_script_engine_create },
  1880. + { _pango_indic_lang_script_engine_list, _pango_indic_lang_script_engine_init, _pango_indic_lang_script_engine_exit, _pango_indic_lang_script_engine_create },
  1881. + { NULL, NULL, NULL, NULL },
  1882. +};
  1883. diff --git a/pango/module-defs-win32.c.win32 b/pango/module-defs-win32.c.win32
  1884. index 80fc90a..5c1698c 100644
  1885. --- a/pango/module-defs-win32.c.win32
  1886. +++ b/pango/module-defs-win32.c.win32
  1887. @@ -1,25 +1,9 @@
  1888. -/* Hand-written, for builds using Microsoft's compiler and makefile.msc,
  1889. - * where the configure mechanism isn't used.
  1890. - */
  1891. +/* Autogenerated by configure and then saved for use when compiling with
  1892. + Visual C. */
  1893.  
  1894. -#include "modules.h"
  1895. -
  1896. -#ifdef PANGO_MODULE_PREFIX
  1897. -void _pango_basic_win32_script_engine_list (PangoEngineInfo **engines,
  1898. - gint *n_engines);
  1899. -void _pango_basic_win32_script_engine_init (GTypeModule *module);
  1900. -void _pango_basic_win32_script_engine_exit (void);
  1901. -PangoEngine *_pango_basic_win32_script_engine_create (const char *id);
  1902. -#endif
  1903. +#include "module-defs.h"
  1904.  
  1905. PangoIncludedModule _pango_included_win32_modules[] = {
  1906. -#ifdef PANGO_MODULE_PREFIX
  1907. - {
  1908. - _pango_basic_win32_script_engine_list,
  1909. - _pango_basic_win32_script_engine_init,
  1910. - _pango_basic_win32_script_engine_exit,
  1911. - _pango_basic_win32_script_engine_create
  1912. - },
  1913. -#endif
  1914. - { NULL, NULL, NULL },
  1915. + { _pango_basic_win32_script_engine_list, _pango_basic_win32_script_engine_init, _pango_basic_win32_script_engine_exit, _pango_basic_win32_script_engine_create },
  1916. + { NULL, NULL, NULL, NULL },
  1917. };
  1918. diff --git a/pango/module-defs.h.win32 b/pango/module-defs.h.win32
  1919. new file mode 100644
  1920. index 0000000..463935e
  1921. --- /dev/null
  1922. +++ b/pango/module-defs.h.win32
  1923. @@ -0,0 +1,74 @@
  1924. +/* Autogenerated by configure and then saved for use when compiling with
  1925. + Visual C. */
  1926. +
  1927. +#include "modules.h"
  1928. +
  1929. +extern void _pango_arabic_fc_script_engine_list (PangoEngineInfo **engines, int *n_engines);
  1930. +extern void _pango_arabic_fc_script_engine_init (GTypeModule *module);
  1931. +extern void _pango_arabic_fc_script_engine_exit (void);
  1932. +extern PangoEngine *_pango_arabic_fc_script_engine_create (const char *id);
  1933. +
  1934. +extern void _pango_arabic_lang_script_engine_list (PangoEngineInfo **engines, int *n_engines);
  1935. +extern void _pango_arabic_lang_script_engine_init (GTypeModule *module);
  1936. +extern void _pango_arabic_lang_script_engine_exit (void);
  1937. +extern PangoEngine *_pango_arabic_lang_script_engine_create (const char *id);
  1938. +
  1939. +extern void _pango_basic_fc_script_engine_list (PangoEngineInfo **engines, int *n_engines);
  1940. +extern void _pango_basic_fc_script_engine_init (GTypeModule *module);
  1941. +extern void _pango_basic_fc_script_engine_exit (void);
  1942. +extern PangoEngine *_pango_basic_fc_script_engine_create (const char *id);
  1943. +
  1944. +extern void _pango_basic_win32_script_engine_list (PangoEngineInfo **engines, int *n_engines);
  1945. +extern void _pango_basic_win32_script_engine_init (GTypeModule *module);
  1946. +extern void _pango_basic_win32_script_engine_exit (void);
  1947. +extern PangoEngine *_pango_basic_win32_script_engine_create (const char *id);
  1948. +
  1949. +extern void _pango_basic_x_script_engine_list (PangoEngineInfo **engines, int *n_engines);
  1950. +extern void _pango_basic_x_script_engine_init (GTypeModule *module);
  1951. +extern void _pango_basic_x_script_engine_exit (void);
  1952. +extern PangoEngine *_pango_basic_x_script_engine_create (const char *id);
  1953. +
  1954. +extern void _pango_basic_atsui_script_engine_list (PangoEngineInfo **engines, int *n_engines);
  1955. +extern void _pango_basic_atsui_script_engine_init (GTypeModule *module);
  1956. +extern void _pango_basic_atsui_script_engine_exit (void);
  1957. +extern PangoEngine *_pango_basic_atsui_script_engine_create (const char *id);
  1958. +
  1959. +extern void _pango_hangul_fc_script_engine_list (PangoEngineInfo **engines, int *n_engines);
  1960. +extern void _pango_hangul_fc_script_engine_init (GTypeModule *module);
  1961. +extern void _pango_hangul_fc_script_engine_exit (void);
  1962. +extern PangoEngine *_pango_hangul_fc_script_engine_create (const char *id);
  1963. +
  1964. +extern void _pango_hebrew_fc_script_engine_list (PangoEngineInfo **engines, int *n_engines);
  1965. +extern void _pango_hebrew_fc_script_engine_init (GTypeModule *module);
  1966. +extern void _pango_hebrew_fc_script_engine_exit (void);
  1967. +extern PangoEngine *_pango_hebrew_fc_script_engine_create (const char *id);
  1968. +
  1969. +extern void _pango_indic_fc_script_engine_list (PangoEngineInfo **engines, int *n_engines);
  1970. +extern void _pango_indic_fc_script_engine_init (GTypeModule *module);
  1971. +extern void _pango_indic_fc_script_engine_exit (void);
  1972. +extern PangoEngine *_pango_indic_fc_script_engine_create (const char *id);
  1973. +
  1974. +extern void _pango_indic_lang_script_engine_list (PangoEngineInfo **engines, int *n_engines);
  1975. +extern void _pango_indic_lang_script_engine_init (GTypeModule *module);
  1976. +extern void _pango_indic_lang_script_engine_exit (void);
  1977. +extern PangoEngine *_pango_indic_lang_script_engine_create (const char *id);
  1978. +
  1979. +extern void _pango_khmer_fc_script_engine_list (PangoEngineInfo **engines, int *n_engines);
  1980. +extern void _pango_khmer_fc_script_engine_init (GTypeModule *module);
  1981. +extern void _pango_khmer_fc_script_engine_exit (void);
  1982. +extern PangoEngine *_pango_khmer_fc_script_engine_create (const char *id);
  1983. +
  1984. +extern void _pango_syriac_fc_script_engine_list (PangoEngineInfo **engines, int *n_engines);
  1985. +extern void _pango_syriac_fc_script_engine_init (GTypeModule *module);
  1986. +extern void _pango_syriac_fc_script_engine_exit (void);
  1987. +extern PangoEngine *_pango_syriac_fc_script_engine_create (const char *id);
  1988. +
  1989. +extern void _pango_thai_fc_script_engine_list (PangoEngineInfo **engines, int *n_engines);
  1990. +extern void _pango_thai_fc_script_engine_init (GTypeModule *module);
  1991. +extern void _pango_thai_fc_script_engine_exit (void);
  1992. +extern PangoEngine *_pango_thai_fc_script_engine_create (const char *id);
  1993. +
  1994. +extern void _pango_tibetan_fc_script_engine_list (PangoEngineInfo **engines, int *n_engines);
  1995. +extern void _pango_tibetan_fc_script_engine_init (GTypeModule *module);
  1996. +extern void _pango_tibetan_fc_script_engine_exit (void);
  1997. +extern PangoEngine *_pango_tibetan_fc_script_engine_create (const char *id);
  1998. diff --git a/pango/pangocairo.rc.in b/pango/pangocairo.rc.in
  1999. new file mode 100644
  2000. index 0000000..728cce7
  2001. --- /dev/null
  2002. +++ b/pango/pangocairo.rc.in
  2003. @@ -0,0 +1,30 @@
  2004. +#include <winver.h>
  2005. +
  2006. +VS_VERSION_INFO VERSIONINFO
  2007. + FILEVERSION @PANGO_VERSION_MAJOR@,@PANGO_VERSION_MINOR@,@PANGO_VERSION_MICRO@,0
  2008. + PRODUCTVERSION @PANGO_VERSION_MAJOR@,@PANGO_VERSION_MINOR@,@PANGO_VERSION_MICRO@,0
  2009. + FILEFLAGSMASK 0
  2010. + FILEFLAGS 0
  2011. + FILEOS VOS__WINDOWS32
  2012. + FILETYPE VFT_DLL
  2013. + FILESUBTYPE VFT2_UNKNOWN
  2014. + BEGIN
  2015. + BLOCK "StringFileInfo"
  2016. + BEGIN
  2017. + BLOCK "040904B0"
  2018. + BEGIN
  2019. + VALUE "CompanyName", "Red Hat Software"
  2020. + VALUE "FileDescription", "PangoCairo"
  2021. + VALUE "FileVersion", "@PANGO_VERSION_MAJOR@.@PANGO_VERSION_MINOR@.@PANGO_VERSION_MICRO@.0"
  2022. + VALUE "InternalName", "pangocairo-@PANGO_API_VERSION@-@PANGO_CURRENT_MINUS_AGE@"
  2023. + VALUE "LegalCopyright", "Copyright � 2010 Red Hat Software."
  2024. + VALUE "OriginalFilename", "pangocairo-@PANGO_API_VERSION@-@PANGO_CURRENT_MINUS_AGE@.dll"
  2025. + VALUE "ProductName", "PangoCairo"
  2026. + VALUE "ProductVersion", "@PANGO_VERSION_MAJOR@.@PANGO_VERSION_MINOR@.@PANGO_VERSION_MICRO@"
  2027. + END
  2028. + END
  2029. + BLOCK "VarFileInfo"
  2030. + BEGIN
  2031. + VALUE "Translation", 0x409, 1200
  2032. + END
  2033. + END
  2034.  
  2035. commit e64b8788beebddc1742c1bbb725f736ede5d758c
  2036. Author: Tor Lillqvist <tml@iki.fi>
  2037. Date: Fri Feb 5 23:52:47 2010 +0200
  2038.  
  2039. Include the VS9 files in a tarball
  2040. ---
  2041. Makefile.am | 2 +-
  2042. build/Makefile.am | 1 +
  2043. build/win32/Makefile.am | 1 +
  2044. build/win32/vs9/Makefile.am | 8 ++++
  2045. build/win32/vs9/install.vcproj | 78 ++++++++++++++++++++++++++++++++++++++++
  2046. 5 files changed, 89 insertions(+), 1 deletions(-)
  2047.  
  2048. diff --git a/Makefile.am b/Makefile.am
  2049. index 77a639b..bf4a361 100644
  2050. --- a/Makefile.am
  2051. +++ b/Makefile.am
  2052. @@ -1,6 +1,6 @@
  2053. ## Process this file with automake to create Makefile.in.
  2054.  
  2055. -SUBDIRS= pango modules pango-view examples docs tools tests
  2056. +SUBDIRS= pango modules pango-view examples docs tools tests build
  2057.  
  2058. EXTRA_DIST = \
  2059. autogen.sh \
  2060. diff --git a/build/Makefile.am b/build/Makefile.am
  2061. new file mode 100644
  2062. index 0000000..0f81afe
  2063. --- /dev/null
  2064. +++ b/build/Makefile.am
  2065. @@ -0,0 +1 @@
  2066. +SUBDIRS = win32
  2067. diff --git a/build/win32/Makefile.am b/build/win32/Makefile.am
  2068. new file mode 100644
  2069. index 0000000..ea035c2
  2070. --- /dev/null
  2071. +++ b/build/win32/Makefile.am
  2072. @@ -0,0 +1 @@
  2073. +SUBDIRS = vs9
  2074. diff --git a/build/win32/vs9/Makefile.am b/build/win32/vs9/Makefile.am
  2075. new file mode 100644
  2076. index 0000000..b654ba3
  2077. --- /dev/null
  2078. +++ b/build/win32/vs9/Makefile.am
  2079. @@ -0,0 +1,8 @@
  2080. +EXTRA_DIST = \
  2081. + pango.sln \
  2082. + pango.vsprops \
  2083. + pango.vcproj \
  2084. + pangoft2.vcproj \
  2085. + pangowin32.vcproj \
  2086. + pangocairo.vcproj \
  2087. + install.vcproj
  2088. diff --git a/build/win32/vs9/install.vcproj b/build/win32/vs9/install.vcproj
  2089. new file mode 100644
  2090. index 0000000..3b9dad6
  2091. --- /dev/null
  2092. +++ b/build/win32/vs9/install.vcproj
  2093. @@ -0,0 +1,78 @@
  2094. +<?xml version="1.0" encoding="Windows-1252"?>
  2095. +<VisualStudioProject
  2096. + ProjectType="Visual C++"
  2097. + Version="9.00"
  2098. + Name="install"
  2099. + ProjectGUID="{FC5AADB5-95CD-4BF0-BA8B-0C16FE7073FB}"
  2100. + RootNamespace="install"
  2101. + Keyword="Win32Proj"
  2102. + TargetFrameworkVersion="131072"
  2103. + >
  2104. + <Platforms>
  2105. + <Platform
  2106. + Name="Win32"
  2107. + />
  2108. + <Platform
  2109. + Name="x64"
  2110. + />
  2111. + </Platforms>
  2112. + <ToolFiles>
  2113. + </ToolFiles>
  2114. + <Configurations>
  2115. + <Configuration
  2116. + Name="Debug|Win32"
  2117. + InheritedPropertySheets=".\pango.vsprops"
  2118. + OutputDirectory="$(GlibEtcInstallRoot)"
  2119. +
  2120. +ConfigurationType="10"
  2121. + CharacterSet="2"
  2122. + DeleteExtensionsOnClean=""
  2123. + >
  2124. + <Tool
  2125. + Name="VCPreBuildEventTool"
  2126. + CommandLine="$(PangoDoInstall)"
  2127. + />
  2128. + </Configuration>
  2129. + <Configuration
  2130. + Name="Debug|x64"
  2131. + InheritedPropertySheets=".\pango.vsprops"
  2132. + OutputDirectory="$(GlibEtcInstallRoot)"
  2133. + ConfigurationType="10"
  2134. + CharacterSet="2"
  2135. + DeleteExtensionsOnClean=""
  2136. + >
  2137. + <Tool
  2138. + Name="VCPreBuildEventTool"
  2139. + CommandLine="$(PangoDoInstall)"
  2140. + />
  2141. + </Configuration>
  2142. + <Configuration
  2143. + Name="Release|Win32"
  2144. + InheritedPropertySheets=".\pango.vsprops"
  2145. + OutputDirectory="$(GlibEtcInstallRoot)"
  2146. + ConfigurationType="10"
  2147. + CharacterSet="2"
  2148. + WholeProgramOptimization="1"
  2149. + DeleteExtensionsOnClean=""
  2150. + >
  2151. + <Tool
  2152. + Name="VCPreBuildEventTool"
  2153. + CommandLine="$(PangoDoInstall)"
  2154. + />
  2155. + </Configuration>
  2156. + <Configuration
  2157. + Name="Release|x64"
  2158. + InheritedPropertySheets=".\pango.vsprops"
  2159. + OutputDirectory="$(GlibEtcInstallRoot)"
  2160. + ConfigurationType="10"
  2161. + CharacterSet="2"
  2162. + WholeProgramOptimization="1"
  2163. + DeleteExtensionsOnClean=""
  2164. + >
  2165. + <Tool
  2166. + Name="VCPreBuildEventTool"
  2167. + CommandLine="$(PangoDoInstall)"
  2168. + />
  2169. + </Configuration>
  2170. + </Configurations>
  2171. +</VisualStudioProject>
  2172.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement