rsvg2 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (370) hide show
  1. checksums.yaml +7 -0
  2. data/Rakefile +63 -7
  3. data/ext/rsvg2/extconf.rb +4 -1
  4. data/lib/1.9/rsvg2.so +0 -0
  5. data/lib/2.0/rsvg2.so +0 -0
  6. data/vendor/local/bin/croco-0.6-config +87 -0
  7. data/vendor/local/bin/csslint-0.6.exe +0 -0
  8. data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
  9. data/vendor/local/bin/librsvg-2-2.dll +0 -0
  10. data/vendor/local/bin/rsvg-convert.exe +0 -0
  11. data/vendor/local/include/libcroco-0.6/libcroco/cr-cascade.h +1 -1
  12. data/vendor/local/include/libcroco-0.6/libcroco/cr-enc-handler.h +1 -1
  13. data/vendor/local/include/libcroco-0.6/libcroco/cr-om-parser.h +1 -1
  14. data/vendor/local/include/libcroco-0.6/libcroco/cr-sel-eng.h +1 -5
  15. data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +4 -5
  16. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-enum-types.h +4 -0
  17. data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +13 -10
  18. data/vendor/local/include/librsvg-2.0/librsvg/rsvg-cairo.h +4 -0
  19. data/vendor/local/include/librsvg-2.0/librsvg/rsvg.h +64 -34
  20. data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
  21. data/vendor/local/lib/libcroco-0.6.a +0 -0
  22. data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
  23. data/vendor/local/lib/libcroco-0.6.la +41 -0
  24. data/vendor/local/lib/librsvg-2.a +0 -0
  25. data/vendor/local/lib/librsvg-2.dll.a +0 -0
  26. data/vendor/local/lib/librsvg-2.la +41 -0
  27. data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +3 -4
  28. data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +1 -1
  29. data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +693 -0
  30. data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +113 -0
  31. data/vendor/local/share/{doc/libxml2-2.9.0/html/html → gtk-doc/html/libcroco}/home.png +0 -0
  32. data/vendor/local/share/gtk-doc/html/libcroco/index.html +109 -0
  33. data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +582 -0
  34. data/vendor/local/share/{doc/libxml2-2.9.0/html/html → gtk-doc/html/libcroco}/left.png +0 -0
  35. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +337 -0
  36. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +203 -0
  37. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +240 -0
  38. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +642 -0
  39. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +517 -0
  40. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +164 -0
  41. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +670 -0
  42. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1102 -0
  43. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +265 -0
  44. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +380 -0
  45. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -0
  46. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +205 -0
  47. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +421 -0
  48. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +141 -0
  49. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +503 -0
  50. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +346 -0
  51. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +246 -0
  52. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +240 -0
  53. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1408 -0
  54. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +137 -0
  55. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +384 -0
  56. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +158 -0
  57. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +304 -0
  58. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +312 -0
  59. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +428 -0
  60. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +334 -0
  61. data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +80 -0
  62. data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +511 -0
  63. data/vendor/local/share/{doc/libxml2-2.9.0/html/html → gtk-doc/html/libcroco}/right.png +0 -0
  64. data/vendor/local/share/gtk-doc/html/libcroco/style.css +266 -0
  65. data/vendor/local/share/{doc/libxml2-2.9.0/html/html → gtk-doc/html/libcroco}/up.png +0 -0
  66. data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1073 -0
  67. data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +55 -0
  68. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +58 -0
  69. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +46 -0
  70. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +50 -0
  71. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +51 -0
  72. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +42 -0
  73. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +59 -0
  74. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +58 -0
  75. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +105 -0
  76. data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +328 -0
  77. data/vendor/local/share/gtk-doc/html/{libxml2 → rsvg-2.0}/home.png +0 -0
  78. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +88 -0
  79. data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +101 -0
  80. data/vendor/local/share/gtk-doc/html/{libxml2 → rsvg-2.0}/left.png +0 -0
  81. data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +57 -0
  82. data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +38 -0
  83. data/vendor/local/share/gtk-doc/html/{libxml2 → rsvg-2.0}/right.png +0 -0
  84. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +96 -0
  85. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +283 -0
  86. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +386 -0
  87. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +126 -0
  88. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +109 -0
  89. data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +57 -0
  90. data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +266 -0
  91. data/vendor/local/share/gtk-doc/html/{libxml2 → rsvg-2.0}/up.png +0 -0
  92. data/vendor/local/share/license/libcroco/AUTHORS +13 -0
  93. data/vendor/local/share/license/libcroco/COPYING +481 -0
  94. data/vendor/local/share/license/libcroco/COPYING.LIB +481 -0
  95. data/vendor/local/share/license/librsvg/AUTHORS +1 -0
  96. data/vendor/local/share/license/librsvg/COPYING +340 -0
  97. data/vendor/local/share/license/librsvg/COPYING.LIB +482 -0
  98. data/vendor/local/share/man/man1/rsvg-convert.1 +55 -0
  99. metadata +90 -299
  100. data/vendor/local/bin/libxml2-2.dll +0 -0
  101. data/vendor/local/bin/rsvg-view.exe +0 -0
  102. data/vendor/local/bin/xmlcatalog.exe +0 -0
  103. data/vendor/local/bin/xmllint.exe +0 -0
  104. data/vendor/local/include/libxml2/libxml/DOCBparser.h +0 -96
  105. data/vendor/local/include/libxml2/libxml/HTMLparser.h +0 -306
  106. data/vendor/local/include/libxml2/libxml/HTMLtree.h +0 -147
  107. data/vendor/local/include/libxml2/libxml/SAX.h +0 -173
  108. data/vendor/local/include/libxml2/libxml/SAX2.h +0 -176
  109. data/vendor/local/include/libxml2/libxml/c14n.h +0 -126
  110. data/vendor/local/include/libxml2/libxml/catalog.h +0 -182
  111. data/vendor/local/include/libxml2/libxml/chvalid.h +0 -230
  112. data/vendor/local/include/libxml2/libxml/debugXML.h +0 -217
  113. data/vendor/local/include/libxml2/libxml/dict.h +0 -80
  114. data/vendor/local/include/libxml2/libxml/encoding.h +0 -240
  115. data/vendor/local/include/libxml2/libxml/entities.h +0 -150
  116. data/vendor/local/include/libxml2/libxml/globals.h +0 -502
  117. data/vendor/local/include/libxml2/libxml/hash.h +0 -233
  118. data/vendor/local/include/libxml2/libxml/list.h +0 -137
  119. data/vendor/local/include/libxml2/libxml/nanoftp.h +0 -163
  120. data/vendor/local/include/libxml2/libxml/nanohttp.h +0 -81
  121. data/vendor/local/include/libxml2/libxml/parser.h +0 -1240
  122. data/vendor/local/include/libxml2/libxml/parserInternals.h +0 -644
  123. data/vendor/local/include/libxml2/libxml/pattern.h +0 -100
  124. data/vendor/local/include/libxml2/libxml/relaxng.h +0 -213
  125. data/vendor/local/include/libxml2/libxml/schemasInternals.h +0 -958
  126. data/vendor/local/include/libxml2/libxml/schematron.h +0 -142
  127. data/vendor/local/include/libxml2/libxml/threads.h +0 -84
  128. data/vendor/local/include/libxml2/libxml/tree.h +0 -1303
  129. data/vendor/local/include/libxml2/libxml/uri.h +0 -94
  130. data/vendor/local/include/libxml2/libxml/valid.h +0 -458
  131. data/vendor/local/include/libxml2/libxml/xinclude.h +0 -129
  132. data/vendor/local/include/libxml2/libxml/xlink.h +0 -189
  133. data/vendor/local/include/libxml2/libxml/xmlIO.h +0 -366
  134. data/vendor/local/include/libxml2/libxml/xmlautomata.h +0 -146
  135. data/vendor/local/include/libxml2/libxml/xmlerror.h +0 -944
  136. data/vendor/local/include/libxml2/libxml/xmlexports.h +0 -162
  137. data/vendor/local/include/libxml2/libxml/xmlmemory.h +0 -224
  138. data/vendor/local/include/libxml2/libxml/xmlmodule.h +0 -57
  139. data/vendor/local/include/libxml2/libxml/xmlreader.h +0 -428
  140. data/vendor/local/include/libxml2/libxml/xmlregexp.h +0 -222
  141. data/vendor/local/include/libxml2/libxml/xmlsave.h +0 -88
  142. data/vendor/local/include/libxml2/libxml/xmlschemas.h +0 -246
  143. data/vendor/local/include/libxml2/libxml/xmlschemastypes.h +0 -151
  144. data/vendor/local/include/libxml2/libxml/xmlstring.h +0 -140
  145. data/vendor/local/include/libxml2/libxml/xmlunicode.h +0 -202
  146. data/vendor/local/include/libxml2/libxml/xmlversion.h +0 -480
  147. data/vendor/local/include/libxml2/libxml/xmlwriter.h +0 -488
  148. data/vendor/local/include/libxml2/libxml/xpath.h +0 -550
  149. data/vendor/local/include/libxml2/libxml/xpathInternals.h +0 -632
  150. data/vendor/local/include/libxml2/libxml/xpointer.h +0 -114
  151. data/vendor/local/lib/libxml2.def +0 -1659
  152. data/vendor/local/lib/libxml2.dll.a +0 -0
  153. data/vendor/local/lib/libxml2.lib +0 -0
  154. data/vendor/local/lib/pkgconfig/libxml-2.0.pc +0 -13
  155. data/vendor/local/manifest/libcroco-dev_0.6.2-1_win32.mft +0 -36
  156. data/vendor/local/manifest/libcroco_0.6.2-1_win32.mft +0 -2
  157. data/vendor/local/manifest/librsvg-dev_2.32.1-1_win32.mft +0 -11
  158. data/vendor/local/manifest/librsvg_2.32.1-1_win32.mft +0 -2
  159. data/vendor/local/manifest/libxml2-dev_2.9.0-1_win32.mft +0 -268
  160. data/vendor/local/manifest/libxml2_2.9.0-1_win32.mft +0 -2
  161. data/vendor/local/share/aclocal/libxml.m4 +0 -188
  162. data/vendor/local/share/doc/libxml2-2.9.0/Copyright +0 -27
  163. data/vendor/local/share/doc/libxml2-2.9.0/examples/testHTML.c +0 -880
  164. data/vendor/local/share/doc/libxml2-2.9.0/examples/testSAX.c +0 -1198
  165. data/vendor/local/share/doc/libxml2-2.9.0/examples/testXPath.c +0 -229
  166. data/vendor/local/share/doc/libxml2-2.9.0/examples/xmllint.c +0 -3770
  167. data/vendor/local/share/doc/libxml2-2.9.0/html/DOM.gif +0 -0
  168. data/vendor/local/share/doc/libxml2-2.9.0/html/FAQ.html +0 -282
  169. data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-180x168.gif +0 -0
  170. data/vendor/local/share/doc/libxml2-2.9.0/html/Libxml2-Logo-90x34.gif +0 -0
  171. data/vendor/local/share/doc/libxml2-2.9.0/html/encoding.html +0 -207
  172. data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xml +0 -751
  173. data/vendor/local/share/doc/libxml2-2.9.0/html/examples.xsl +0 -174
  174. data/vendor/local/share/doc/libxml2-2.9.0/html/html/book1.html +0 -13
  175. data/vendor/local/share/doc/libxml2-2.9.0/html/html/index.html +0 -13
  176. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-DOCBparser.html +0 -51
  177. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLparser.html +0 -184
  178. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-HTMLtree.html +0 -73
  179. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX.html +0 -125
  180. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-SAX2.html +0 -128
  181. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-c14n.html +0 -38
  182. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-catalog.html +0 -142
  183. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-chvalid.html +0 -72
  184. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-debugXML.html +0 -120
  185. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-dict.html +0 -58
  186. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-encoding.html +0 -124
  187. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-entities.html +0 -79
  188. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-globals.html +0 -152
  189. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-hash.html +0 -116
  190. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-lib.html +0 -13
  191. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-list.html +0 -120
  192. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanoftp.html +0 -94
  193. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-nanohttp.html +0 -65
  194. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parser.html +0 -559
  195. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-parserInternals.html +0 -322
  196. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-pattern.html +0 -76
  197. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-relaxng.html +0 -162
  198. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schemasInternals.html +0 -373
  199. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-schematron.html +0 -81
  200. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-threads.html +0 -72
  201. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-tree.html +0 -989
  202. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-uri.html +0 -73
  203. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-valid.html +0 -289
  204. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xinclude.html +0 -59
  205. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xlink.html +0 -82
  206. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlIO.html +0 -212
  207. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlautomata.html +0 -85
  208. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlerror.html +0 -864
  209. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlexports.html +0 -20
  210. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmemory.html +0 -107
  211. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlmodule.html +0 -38
  212. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlreader.html +0 -330
  213. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlregexp.html +0 -143
  214. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlsave.html +0 -60
  215. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemas.html +0 -185
  216. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlschemastypes.html +0 -123
  217. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlstring.html +0 -108
  218. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlunicode.html +0 -512
  219. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlversion.html +0 -62
  220. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xmlwriter.html +0 -261
  221. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpath.html +0 -310
  222. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpathInternals.html +0 -394
  223. data/vendor/local/share/doc/libxml2-2.9.0/html/html/libxml-xpointer.html +0 -83
  224. data/vendor/local/share/doc/libxml2-2.9.0/html/index.html +0 -14
  225. data/vendor/local/share/doc/libxml2-2.9.0/html/io1.c +0 -166
  226. data/vendor/local/share/doc/libxml2-2.9.0/html/io1.res +0 -5
  227. data/vendor/local/share/doc/libxml2-2.9.0/html/io2.c +0 -58
  228. data/vendor/local/share/doc/libxml2-2.9.0/html/io2.res +0 -2
  229. data/vendor/local/share/doc/libxml2-2.9.0/html/libxml.gif +0 -0
  230. data/vendor/local/share/doc/libxml2-2.9.0/html/parse1.c +0 -56
  231. data/vendor/local/share/doc/libxml2-2.9.0/html/parse2.c +0 -72
  232. data/vendor/local/share/doc/libxml2-2.9.0/html/parse3.c +0 -60
  233. data/vendor/local/share/doc/libxml2-2.9.0/html/parse4.c +0 -143
  234. data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.c +0 -107
  235. data/vendor/local/share/doc/libxml2-2.9.0/html/reader1.res +0 -14
  236. data/vendor/local/share/doc/libxml2-2.9.0/html/reader2.c +0 -122
  237. data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.c +0 -120
  238. data/vendor/local/share/doc/libxml2-2.9.0/html/reader3.res +0 -13
  239. data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.c +0 -122
  240. data/vendor/local/share/doc/libxml2-2.9.0/html/reader4.res +0 -3
  241. data/vendor/local/share/doc/libxml2-2.9.0/html/redhat.gif +0 -0
  242. data/vendor/local/share/doc/libxml2-2.9.0/html/smallfootonly.gif +0 -0
  243. data/vendor/local/share/doc/libxml2-2.9.0/html/structure.gif +0 -0
  244. data/vendor/local/share/doc/libxml2-2.9.0/html/test1.xml +0 -1
  245. data/vendor/local/share/doc/libxml2-2.9.0/html/test2.xml +0 -13
  246. data/vendor/local/share/doc/libxml2-2.9.0/html/test3.xml +0 -39
  247. data/vendor/local/share/doc/libxml2-2.9.0/html/testWriter.c +0 -1198
  248. data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.c +0 -94
  249. data/vendor/local/share/doc/libxml2-2.9.0/html/tree1.res +0 -4
  250. data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.c +0 -118
  251. data/vendor/local/share/doc/libxml2-2.9.0/html/tree2.res +0 -18
  252. data/vendor/local/share/doc/libxml2-2.9.0/html/tst.xml +0 -7
  253. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apa.html +0 -8
  254. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apb.html +0 -14
  255. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apc.html +0 -82
  256. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apd.html +0 -76
  257. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ape.html +0 -78
  258. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apf.html +0 -67
  259. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/apg.html +0 -75
  260. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/aph.html +0 -76
  261. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/api.html +0 -4
  262. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s02.html +0 -14
  263. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s03.html +0 -47
  264. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s04.html +0 -54
  265. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s05.html +0 -55
  266. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s06.html +0 -35
  267. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s07.html +0 -30
  268. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s08.html +0 -38
  269. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ar01s09.html +0 -63
  270. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/blank.png +0 -0
  271. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/1.png +0 -0
  272. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/10.png +0 -0
  273. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/2.png +0 -0
  274. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/3.png +0 -0
  275. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/4.png +0 -0
  276. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/5.png +0 -0
  277. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/6.png +0 -0
  278. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/7.png +0 -0
  279. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/8.png +0 -0
  280. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/callouts/9.png +0 -0
  281. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/caution.png +0 -0
  282. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/draft.png +0 -0
  283. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/home.png +0 -0
  284. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/important.png +0 -0
  285. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/next.png +0 -0
  286. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/note.png +0 -0
  287. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/prev.png +0 -0
  288. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/tip.png +0 -0
  289. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-blank.png +0 -0
  290. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-minus.png +0 -0
  291. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/toc-plus.png +0 -0
  292. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/up.png +0 -0
  293. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/images/warning.png +0 -0
  294. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddattribute.c +0 -64
  295. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeaddkeyword.c +0 -75
  296. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includeconvert.c +0 -73
  297. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includegetattribute.c +0 -72
  298. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includekeyword.c +0 -79
  299. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/includexpath.c +0 -74
  300. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/index.html +0 -14
  301. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/ix01.html +0 -1
  302. data/vendor/local/share/doc/libxml2-2.9.0/html/tutorial/xmltutorial.pdf +0 -1336
  303. data/vendor/local/share/doc/libxml2-2.9.0/html/w3c.png +0 -0
  304. data/vendor/local/share/doc/libxml2-2.9.0/html/writer.xml +0 -2
  305. data/vendor/local/share/doc/libxml2-2.9.0/html/xml.html +0 -5715
  306. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.c +0 -250
  307. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath1.res +0 -5
  308. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.c +0 -190
  309. data/vendor/local/share/doc/libxml2-2.9.0/html/xpath2.res +0 -30
  310. data/vendor/local/share/gtk-doc/html/libxml2/general.html +0 -38
  311. data/vendor/local/share/gtk-doc/html/libxml2/index.html +0 -67
  312. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html +0 -138
  313. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html +0 -373
  314. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html +0 -172
  315. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX.html +0 -243
  316. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html +0 -247
  317. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-c14n.html +0 -91
  318. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-catalog.html +0 -278
  319. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html +0 -241
  320. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html +0 -225
  321. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-dict.html +0 -134
  322. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-encoding.html +0 -218
  323. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-entities.html +0 -166
  324. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-globals.html +0 -383
  325. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-hash.html +0 -214
  326. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-list.html +0 -226
  327. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html +0 -187
  328. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html +0 -142
  329. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parser.html +0 -766
  330. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html +0 -688
  331. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-pattern.html +0 -166
  332. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html +0 -278
  333. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html +0 -860
  334. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-schematron.html +0 -166
  335. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-threads.html +0 -161
  336. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-tree.html +0 -1596
  337. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-uri.html +0 -154
  338. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-valid.html +0 -528
  339. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html +0 -169
  340. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xlink.html +0 -160
  341. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html +0 -347
  342. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html +0 -176
  343. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html +0 -952
  344. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html +0 -87
  345. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html +0 -186
  346. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html +0 -97
  347. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html +0 -565
  348. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html +0 -280
  349. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html +0 -133
  350. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html +0 -314
  351. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html +0 -237
  352. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html +0 -217
  353. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html +0 -887
  354. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html +0 -287
  355. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html +0 -479
  356. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpath.html +0 -532
  357. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html +0 -787
  358. data/vendor/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html +0 -171
  359. data/vendor/local/share/gtk-doc/html/libxml2/libxml2.devhelp +0 -3569
  360. data/vendor/local/share/gtk-doc/html/libxml2/style.css +0 -66
  361. data/vendor/local/share/man/man1/xml2-config.1 +0 -30
  362. data/vendor/local/share/man/man1/xmlcatalog.1 +0 -340
  363. data/vendor/local/share/man/man1/xmllint.1 +0 -427
  364. data/vendor/local/share/man/man3/libxml.3 +0 -71
  365. data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.log +0 -867
  366. data/vendor/local/src/dieterv/packaging/libxml2_2.9.0-1_win32.sh +0 -68
  367. data/vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.log +0 -471
  368. data/vendor/local/src/tml/packaging/libcroco_0.6.2-1_win32.sh +0 -61
  369. data/vendor/local/src/tml/packaging/librsvg_2.32.1-1_win32.log +0 -535
  370. data/vendor/local/src/tml/packaging/librsvg_2.32.1-1_win32.sh +0 -125
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c10aa16f2413a855d90af952656155c5a9e6d6e8
4
+ data.tar.gz: 99dcd17ac1471772f4f2f062d71991c9402118a2
5
+ SHA512:
6
+ metadata.gz: f36bf529f932d3bcc922003f2be8a1b0b5d90b22f37767f53d81951b0c3c64452cb02cdc8a8e769335950ac64d91c3c61742c763aa52c89b753efb70b763d768
7
+ data.tar.gz: c6a0bbd67d688d1d87c74a9a5ff0d7ce32158d29518787df5f9fdbe0c75410e68865e42d3d90cba996df033f36312f7f532db126f4b1ea88f3538d223c8eac7b
data/Rakefile CHANGED
@@ -1,14 +1,70 @@
1
1
  # -*- ruby -*-
2
+ #
3
+ # Copyright (C) 2010-2013 Ruby-GNOME2 Project Team
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2
18
 
3
19
  $LOAD_PATH.unshift("./../glib2/lib")
4
20
  require 'gnome2-raketask'
5
21
 
6
- package = GNOME2Package.new do |_package|
7
- _package.summary = "Ruby/RSVG is a Ruby binding of librsvg-2.x."
8
- _package.description = "Ruby/RSVG is a Ruby binding of librsvg-2.x."
9
- _package.dependency.gem.runtime = [["cairo", ">= 1.10.0"], "gdk_pixbuf2"]
10
- _package.win32.packages = ["librsvg", "libcroco"]
11
- _package.win32.dependencies = ["libxml2"]
22
+ package_task = GNOME2::Rake::PackageTask.new do |package|
23
+ package.summary = "Ruby/RSVG is a Ruby binding of librsvg-2.x."
24
+ package.description = "Ruby/RSVG is a Ruby binding of librsvg-2.x."
25
+ package.dependency.gem.runtime = [["cairo", ">= 1.12.8"], "gdk_pixbuf2"]
26
+ package.windows.packages = []
27
+ package.windows.dependencies = []
28
+ package.windows.build_dependencies = [
29
+ "glib2",
30
+ "gobject-introspection",
31
+ "pango",
32
+ "gdk_pixbuf2",
33
+ ]
34
+ package.windows.gobject_introspection_dependencies = [
35
+ "gdk_pixbuf2",
36
+ ]
37
+ package.external_packages = [
38
+ {
39
+ :name => "libcroco",
40
+ :download_site => :gnome,
41
+ :label => "libcroco",
42
+ :version => "0.6.8",
43
+ :compression_method => "xz",
44
+ :windows => {
45
+ :configure_args => [
46
+ "--enable-introspection",
47
+ ],
48
+ :built_file => "bin/libcroco-0.6-3.dll",
49
+ },
50
+ },
51
+ {
52
+ :name => "librsvg",
53
+ :download_site => :gnome,
54
+ :label => "librsvg",
55
+ :version => "2.40.1",
56
+ :compression_method => "xz",
57
+ :windows => {
58
+ :configure_args => [
59
+ "--enable-introspection",
60
+ ],
61
+ :patches => [
62
+ "librsvg-2.40.1-replace-canonicalize-file-name.diff",
63
+ ],
64
+ :built_file => "bin/librsvg-2-2.dll",
65
+ },
66
+ },
67
+ ]
12
68
  end
13
- package.define_tasks
69
+ package_task.define
14
70
 
@@ -51,7 +51,10 @@ rcairo_source_dir_names.each do |rcairo_source_dir_name|
51
51
  break
52
52
  end
53
53
  end
54
- check_cairo(rcairo_options)
54
+
55
+ unless check_cairo(rcairo_options)
56
+ exit(false)
57
+ end
55
58
 
56
59
  setup_win32(module_name, base_dir)
57
60
 
Binary file
Binary file
@@ -0,0 +1,87 @@
1
+ #! /bin/sh
2
+
3
+ prefix=/home/kou/work/ruby/ruby-gnome2.win32/rsvg2/vendor/local
4
+ exec_prefix=${prefix}
5
+ exec_prefix_set=no
6
+ includedir=${prefix}/include
7
+ libdir=${exec_prefix}/lib
8
+
9
+ usage()
10
+ {
11
+ cat <<EOF
12
+ Usage: croco-config [OPTION]...
13
+
14
+ Known values for OPTION are:
15
+
16
+ --prefix=DIR change CROCO prefix [default $prefix]
17
+ --exec-prefix=DIR change CROCO executable prefix [default $exec_prefix]
18
+ --libs print library linking information
19
+ --cflags print pre-processor and compiler flags
20
+ --help display this help and exit
21
+ --version output version information
22
+ EOF
23
+
24
+ exit $1
25
+ }
26
+
27
+ if test $# -eq 0; then
28
+ usage 1
29
+ fi
30
+
31
+ cflags=false
32
+ libs=false
33
+
34
+ while test $# -gt 0; do
35
+ case "$1" in
36
+ -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
37
+ *) optarg= ;;
38
+ esac
39
+
40
+ case "$1" in
41
+ --prefix=*)
42
+ prefix=$optarg
43
+ if test $exec_prefix_set = no ; then
44
+ exec_prefix=$optarg
45
+ fi
46
+ ;;
47
+
48
+ --prefix)
49
+ echo $prefix
50
+ ;;
51
+
52
+ --exec-prefix=*)
53
+ exec_prefix=$optarg
54
+ exec_prefix_set=yes
55
+ ;;
56
+
57
+ --exec-prefix)
58
+ echo $exec_prefix
59
+ ;;
60
+
61
+ --version)
62
+ echo 0.6.8
63
+ exit 0
64
+ ;;
65
+
66
+ --help)
67
+ usage 0
68
+ ;;
69
+
70
+ --cflags)
71
+ echo -mms-bitfields -I/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/include/glib-2.0 -I/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/glib-2.0/include -I/home/kou/work/ruby/rcairo.win32/vendor/local/include/libxml2 @GLIB2_CFLAGS@ @LIBXML2_CFLAGS@
72
+ ;;
73
+
74
+ --libs)
75
+ echo -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -lglib-2.0 -lintl -lxml2 @GLIB2_LIBS@ @LIBXML2_LIBS@
76
+ ;;
77
+
78
+ *)
79
+ usage
80
+ exit 1
81
+ ;;
82
+ esac
83
+ shift
84
+ done
85
+
86
+
87
+ exit 0
@@ -22,7 +22,7 @@
22
22
  */
23
23
 
24
24
  /*
25
- *$Id: cr-cascade.h 213 2004-01-29 22:05:14Z dodji $
25
+ *$Id$
26
26
  */
27
27
 
28
28
  #ifndef __CR_CASCADE_H__
@@ -21,7 +21,7 @@
21
21
  */
22
22
 
23
23
  /*
24
- *$Id: cr-enc-handler.h 285 2005-05-10 19:48:58Z dodji $
24
+ *$Id$
25
25
  */
26
26
 
27
27
  /**
@@ -22,7 +22,7 @@
22
22
  */
23
23
 
24
24
  /*
25
- *$Id: cr-om-parser.h 213 2004-01-29 22:05:14Z dodji $
25
+ *$Id$
26
26
  */
27
27
 
28
28
  #ifndef __CR_OM_PARSER_H__
@@ -30,11 +30,7 @@
30
30
  #include "cr-style.h"
31
31
  #include "cr-prop-list.h"
32
32
 
33
- #ifdef CROCO_HAVE_LIBXML2
34
- #include <libxml/tree.h>
35
- #endif
36
-
37
-
33
+ #include <libxml/tree.h>
38
34
 
39
35
  /**
40
36
  *@file:
@@ -1,9 +1,9 @@
1
1
  #ifndef LIBCROCO_VERSION_NUMBER
2
- #define LIBCROCO_VERSION_NUMBER 602
2
+ #define LIBCROCO_VERSION_NUMBER 608
3
3
  #endif
4
4
 
5
5
  #ifndef LIBCROCO_VERSION
6
- #define LIBCROCO_VERSION "0.6.2"
6
+ #define LIBCROCO_VERSION "0.6.8"
7
7
  #endif
8
8
 
9
9
  #ifndef G_DISABLE_CHECKS
@@ -12,7 +12,6 @@
12
12
  #endif
13
13
  #endif
14
14
 
15
- #if 1
16
- #define CROCO_HAVE_LIBXML2 1
15
+ #ifndef CROCO_HAVE_LIBXML2
16
+ #define CROCO_HAVE_LIBXML2 (1)
17
17
  #endif
18
-
@@ -1,6 +1,10 @@
1
1
 
2
2
 
3
3
 
4
+ #if !defined (__RSVG_RSVG_H_INSIDE__) && !defined (RSVG_COMPILATION)
5
+ #warning "Including <librsvg/librsvg-enum-types.h> directly is deprecated."
6
+ #endif
7
+
4
8
  #ifndef __LIBRSVG_ENUM_TYPES_H__
5
9
  #define __LIBRSVG_ENUM_TYPES_H__
6
10
 
@@ -1,25 +1,28 @@
1
+ #if !defined (__RSVG_RSVG_H_INSIDE__) && !defined (RSVG_COMPILATION)
2
+ #warning "Including <librsvg/librsvg-features.h> directly is deprecated."
3
+ #endif
4
+
1
5
  #ifndef LIBRSVG_FEATURES_H
2
- #define LIBRSVG_FEATURES_H 1
6
+ #define LIBRSVG_FEATURES_H
3
7
 
4
8
  #define LIBRSVG_MAJOR_VERSION (2)
5
- #define LIBRSVG_MINOR_VERSION (32)
9
+ #define LIBRSVG_MINOR_VERSION (40)
6
10
  #define LIBRSVG_MICRO_VERSION (1)
7
- #define LIBRSVG_VERSION "2.32.1"
11
+ #define LIBRSVG_VERSION "2.40.1"
8
12
 
9
13
  #define LIBRSVG_CHECK_VERSION(major,minor,micro) \
10
14
  (LIBRSVG_MAJOR_VERSION > (major) || \
11
15
  (LIBRSVG_MAJOR_VERSION == (major) && LIBRSVG_MINOR_VERSION > (minor)) || \
12
16
  (LIBRSVG_MAJOR_VERSION == (major) && LIBRSVG_MINOR_VERSION == (minor) && LIBRSVG_MICRO_VERSION >= (micro)))
13
17
 
14
- #define LIBRSVG_HAVE_SVGZ (1)
15
- #define LIBRSVG_HAVE_CSS (1)
18
+ #ifndef __GI_SCANNER__
19
+ #define LIBRSVG_HAVE_SVGZ (TRUE)
20
+ #define LIBRSVG_HAVE_CSS (TRUE)
16
21
 
17
22
  #define LIBRSVG_CHECK_FEATURE(FEATURE) (defined(LIBRSVG_HAVE_##FEATURE) && LIBRSVG_HAVE_##FEATURE)
23
+ #endif
18
24
 
19
- extern const unsigned int librsvg_major_version, librsvg_minor_version, librsvg_micro_version;
20
- extern const char *librsvg_version;
21
-
22
- void librsvg_preinit(void *app, void *modinfo);
23
- void librsvg_postinit(void *app, void *modinfo);
25
+ extern const guint librsvg_major_version, librsvg_minor_version, librsvg_micro_version;
26
+ extern const char librsvg_version[];
24
27
 
25
28
  #endif
@@ -23,6 +23,10 @@
23
23
  Author: Carl Worth <cworth@cworth.org>
24
24
  */
25
25
 
26
+ #if !defined (__RSVG_RSVG_H_INSIDE__) && !defined (RSVG_COMPILATION)
27
+ #warning "Including <librsvg/rsvg-cairo.h> directly is deprecated."
28
+ #endif
29
+
26
30
  #ifndef RSVG_CAIRO_H
27
31
  #define RSVG_CAIRO_H
28
32
 
@@ -26,6 +26,8 @@
26
26
  #ifndef RSVG_H
27
27
  #define RSVG_H
28
28
 
29
+ #define __RSVG_RSVG_H_INSIDE__
30
+
29
31
  #include <glib-object.h>
30
32
  #include <gio/gio.h>
31
33
 
@@ -33,6 +35,14 @@
33
35
 
34
36
  G_BEGIN_DECLS
35
37
 
38
+ #if defined(RSVG_DISABLE_DEPRECATION_WARNINGS) || !GLIB_CHECK_VERSION (2, 31, 0)
39
+ #define RSVG_DEPRECATED
40
+ #define RSVG_DEPRECATED_FOR(f)
41
+ #else
42
+ #define RSVG_DEPRECATED G_DEPRECATED
43
+ #define RSVG_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f)
44
+ #endif
45
+
36
46
  #define RSVG_TYPE_HANDLE (rsvg_handle_get_type ())
37
47
  #define RSVG_HANDLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RSVG_TYPE_HANDLE, RsvgHandle))
38
48
  #define RSVG_HANDLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), RSVG_TYPE_HANDLE, RsvgHandleClass))
@@ -43,19 +53,20 @@ G_BEGIN_DECLS
43
53
  GType rsvg_handle_get_type (void);
44
54
 
45
55
  /**
56
+ * RsvgError:
57
+ *
46
58
  * An enumeration representing possible error domains
47
59
  */
48
60
  typedef enum {
49
61
  RSVG_ERROR_FAILED
50
62
  } RsvgError;
51
63
 
52
- /**
53
- *
54
- */
55
64
  #define RSVG_ERROR (rsvg_error_quark ())
56
65
  GQuark rsvg_error_quark (void) G_GNUC_CONST;
57
66
 
58
67
  /**
68
+ * RsvgHandle:
69
+ *
59
70
  * The RsvgHandle is an object representing the parsed form of a SVG
60
71
  */
61
72
  typedef struct _RsvgHandle RsvgHandle;
@@ -73,45 +84,37 @@ struct _RsvgHandleClass {
73
84
  struct _RsvgHandle {
74
85
  GObject parent;
75
86
 
87
+ /*< private >*/
88
+
76
89
  RsvgHandlePrivate *priv;
77
90
 
78
91
  gpointer _abi_padding[15];
79
92
  };
80
93
 
81
- /* RsvgDimensionData
94
+ /**
95
+ * RsvgDimensionData:
96
+ * @width: SVG's width, in pixels
97
+ * @height: SVG's height, in pixels
98
+ * @em: em
99
+ * @ex: ex
82
100
  */
83
101
  struct _RsvgDimensionData {
84
- /**
85
- * SVG's width, in pixels
86
- */
87
102
  int width;
88
-
89
- /**
90
- * SVG's height, in pixels
91
- */
92
103
  int height;
93
-
94
- /**
95
- * em
96
- */
97
104
  gdouble em;
98
-
99
- /**
100
- * ex
101
- */
102
105
  gdouble ex;
103
106
  };
104
107
 
105
108
  /**
109
+ * RsvgPositionData:
106
110
  * Position of an SVG fragment.
107
- **/
111
+ */
108
112
  struct _RsvgPositionData {
109
113
  int x;
110
114
  int y;
111
115
  };
112
116
 
113
- void rsvg_init (void);
114
- void rsvg_term (void);
117
+ void rsvg_cleanup (void);
115
118
 
116
119
  void rsvg_set_default_dpi (double dpi);
117
120
  void rsvg_set_default_dpi_x_y (double dpi_x, double dpi_y);
@@ -126,8 +129,8 @@ gboolean rsvg_handle_close (RsvgHandle * handle, GError ** error);
126
129
  GdkPixbuf *rsvg_handle_get_pixbuf (RsvgHandle * handle);
127
130
  GdkPixbuf *rsvg_handle_get_pixbuf_sub (RsvgHandle * handle, const char *id);
128
131
 
129
- G_CONST_RETURN char *rsvg_handle_get_base_uri (RsvgHandle * handle);
130
- void rsvg_handle_set_base_uri (RsvgHandle * handle, const char *base_uri);
132
+ const char *rsvg_handle_get_base_uri (RsvgHandle * handle);
133
+ void rsvg_handle_set_base_uri (RsvgHandle * handle, const char *base_uri);
131
134
 
132
135
  void rsvg_handle_get_dimensions (RsvgHandle * handle, RsvgDimensionData * dimension_data);
133
136
 
@@ -138,10 +141,13 @@ gboolean rsvg_handle_has_sub (RsvgHandle * handle, const char *id);
138
141
 
139
142
  /* GIO APIs */
140
143
 
141
- typedef enum {
144
+ typedef enum /*< flags >*/
145
+ {
142
146
  RSVG_HANDLE_FLAGS_NONE = 0
143
147
  } RsvgHandleFlags;
144
148
 
149
+ RsvgHandle *rsvg_handle_new_with_flags (RsvgHandleFlags flags);
150
+
145
151
  void rsvg_handle_set_base_gfile (RsvgHandle *handle,
146
152
  GFile *base_file);
147
153
 
@@ -161,17 +167,19 @@ RsvgHandle *rsvg_handle_new_from_stream_sync (GInputStream *input_stream,
161
167
  GCancellable *cancellable,
162
168
  GError **error);
163
169
 
164
- /* Accessibility API */
165
-
166
- G_CONST_RETURN char *rsvg_handle_get_title (RsvgHandle * handle);
167
- G_CONST_RETURN char *rsvg_handle_get_desc (RsvgHandle * handle);
168
- G_CONST_RETURN char *rsvg_handle_get_metadata (RsvgHandle * handle);
169
-
170
170
  RsvgHandle *rsvg_handle_new_from_data (const guint8 * data, gsize data_len, GError ** error);
171
171
  RsvgHandle *rsvg_handle_new_from_file (const gchar * file_name, GError ** error);
172
172
 
173
- #ifndef RSVG_DISABLE_DEPRECATED
173
+ /* BEGIN deprecated APIs. Do not use! */
174
174
 
175
+ #ifndef __GI_SCANNER__
176
+
177
+ RSVG_DEPRECATED_FOR(g_type_init)
178
+ void rsvg_init (void);
179
+ RSVG_DEPRECATED
180
+ void rsvg_term (void);
181
+
182
+ RSVG_DEPRECATED_FOR(g_object_unref)
175
183
  void rsvg_handle_free (RsvgHandle * handle);
176
184
 
177
185
  /**
@@ -187,27 +195,49 @@ void rsvg_handle_free (RsvgHandle * handle);
187
195
  *
188
196
  * Deprecated: Set up a cairo matrix and use rsvg_handle_render_cairo() instead.
189
197
  */
190
- typedef void (*RsvgSizeFunc) (gint * width, gint * height, gpointer user_data);
198
+ typedef /* RSVG_DEPRECATED */ void (*RsvgSizeFunc) (gint * width, gint * height, gpointer user_data);
199
+
200
+ RSVG_DEPRECATED
191
201
  void rsvg_handle_set_size_callback (RsvgHandle * handle,
192
202
  RsvgSizeFunc size_func,
193
203
  gpointer user_data, GDestroyNotify user_data_destroy);
194
204
 
195
205
  /* GdkPixbuf convenience API */
196
206
 
207
+ RSVG_DEPRECATED
197
208
  GdkPixbuf *rsvg_pixbuf_from_file (const gchar * file_name, GError ** error);
209
+ RSVG_DEPRECATED
198
210
  GdkPixbuf *rsvg_pixbuf_from_file_at_zoom (const gchar * file_name,
199
211
  double x_zoom, double y_zoom, GError ** error);
212
+ RSVG_DEPRECATED
200
213
  GdkPixbuf *rsvg_pixbuf_from_file_at_size (const gchar * file_name, gint width, gint height,
201
214
  GError ** error);
215
+ RSVG_DEPRECATED
202
216
  GdkPixbuf *rsvg_pixbuf_from_file_at_max_size (const gchar * file_name,
203
217
  gint max_width, gint max_height, GError ** error);
218
+ RSVG_DEPRECATED
204
219
  GdkPixbuf *rsvg_pixbuf_from_file_at_zoom_with_max (const gchar * file_name,
205
220
  double x_zoom,
206
221
  double y_zoom,
207
222
  gint max_width, gint max_height, GError ** error);
208
223
 
209
- #endif /* RSVG_DISABLE_DEPRECATED */
224
+ RSVG_DEPRECATED
225
+ const char *rsvg_handle_get_title (RsvgHandle * handle);
226
+ RSVG_DEPRECATED
227
+ const char *rsvg_handle_get_desc (RsvgHandle * handle);
228
+ RSVG_DEPRECATED
229
+ const char *rsvg_handle_get_metadata (RsvgHandle * handle);
230
+
231
+ #endif /* !__GI_SCANNER__ */
232
+
233
+ /* END deprecated APIs. */
210
234
 
211
235
  G_END_DECLS
212
236
 
237
+ #include "librsvg-enum-types.h"
238
+ #include "librsvg-features.h"
239
+ #include "rsvg-cairo.h"
240
+
241
+ #undef __RSVG_RSVG_H_INSIDE__
242
+
213
243
  #endif /* RSVG_H */