glib2 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (578) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -2
  3. data/ext/glib2/extconf.rb +0 -1
  4. data/ext/glib2/rbglib-variant-type.c +5 -1
  5. data/ext/glib2/rbglib-variant.c +21 -7
  6. data/ext/glib2/rbglib.c +0 -38
  7. data/ext/glib2/rbglib.h +2 -2
  8. data/ext/glib2/rbglib_convert.c +3 -9
  9. data/ext/glib2/rbglib_matchinfo.c +4 -0
  10. data/ext/glib2/rbglib_regex.c +12 -1
  11. data/ext/glib2/rbgobj_object.c +112 -10
  12. data/ext/glib2/rbgobj_signal.c +12 -1
  13. data/ext/glib2/rbgobj_type.c +7 -1
  14. data/ext/glib2/rbgobject.c +0 -6
  15. data/ext/glib2/rbgprivate.h +0 -4
  16. data/ext/glib2/rbgutil.c +0 -2
  17. data/ext/glib2/rbgutil.h +1 -3
  18. data/lib/2.2/glib2.so +0 -0
  19. data/lib/2.3/glib2.so +0 -0
  20. data/lib/glib2.rb +7 -0
  21. data/lib/gnome2/rake/external-package.rb +119 -2
  22. data/lib/gnome2/rake/package-task.rb +63 -3
  23. data/lib/gnome2/rake/windows-binary-build-task.rb +343 -337
  24. data/lib/gnome2/rake/windows-binary-download-task.rb +151 -148
  25. data/lib/mkmf-gnome2.rb +11 -30
  26. data/test/test-binding.rb +157 -66
  27. data/test/test_glib2.rb +21 -6
  28. data/vendor/local/bin/asn1Coding.exe +0 -0
  29. data/vendor/local/bin/gdbus.exe +0 -0
  30. data/vendor/local/bin/gio-querymodules.exe +0 -0
  31. data/vendor/local/bin/glib-compile-resources.exe +0 -0
  32. data/vendor/local/bin/glib-compile-schemas.exe +0 -0
  33. data/vendor/local/bin/glib-genmarshal.exe +0 -0
  34. data/vendor/local/bin/glib-gettextize +1 -1
  35. data/vendor/local/bin/glib-mkenums +1 -1
  36. data/vendor/local/bin/gobject-query.exe +0 -0
  37. data/vendor/local/bin/gresource.exe +0 -0
  38. data/vendor/local/bin/gsettings.exe +0 -0
  39. data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
  40. data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
  41. data/vendor/local/bin/idn.exe +0 -0
  42. data/vendor/local/bin/libasprintf-0.dll +0 -0
  43. data/vendor/local/bin/libgio-2.0-0.dll +0 -0
  44. data/vendor/local/bin/libglib-2.0-0.dll +0 -0
  45. data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
  46. data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
  47. data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
  48. data/vendor/local/bin/libnettle-6-2.dll +0 -0
  49. data/vendor/local/bin/libpcreposix-0.dll +0 -0
  50. data/vendor/local/bin/nettle-hash.exe +0 -0
  51. data/vendor/local/bin/p11-kit.exe +0 -0
  52. data/vendor/local/bin/pcregrep.exe +0 -0
  53. data/vendor/local/bin/pkcs1-conv.exe +0 -0
  54. data/vendor/local/bin/sexp-conv.exe +0 -0
  55. data/vendor/local/include/glib-2.0/gio/gioenums.h +1 -1
  56. data/vendor/local/include/glib-2.0/glib/gmacros.h +21 -6
  57. data/vendor/local/include/glib-2.0/glib/gregex.h +1 -1
  58. data/vendor/local/lib/gio/modules/libgiognutls.a +0 -0
  59. data/vendor/local/lib/gio/modules/libgiognutls.dll +0 -0
  60. data/vendor/local/lib/gio/modules/libgiognutls.dll.a +0 -0
  61. data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
  62. data/vendor/local/lib/libasprintf.dll.a +0 -0
  63. data/vendor/local/lib/libcharset.dll.a +0 -0
  64. data/vendor/local/lib/libffi.dll.a +0 -0
  65. data/vendor/local/lib/libgio-2.0.dll.a +0 -0
  66. data/vendor/local/lib/libgio-2.0.la +1 -1
  67. data/vendor/local/lib/libglib-2.0.dll.a +0 -0
  68. data/vendor/local/lib/libglib-2.0.la +1 -1
  69. data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
  70. data/vendor/local/lib/libgmodule-2.0.la +1 -1
  71. data/vendor/local/lib/libgmp.dll.a +0 -0
  72. data/vendor/local/lib/libgnutls.dll.a +0 -0
  73. data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
  74. data/vendor/local/lib/libgobject-2.0.la +1 -1
  75. data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
  76. data/vendor/local/lib/libgthread-2.0.la +1 -1
  77. data/vendor/local/lib/libhogweed.dll.a +0 -0
  78. data/vendor/local/lib/libiconv.dll.a +0 -0
  79. data/vendor/local/lib/libidn.dll.a +0 -0
  80. data/vendor/local/lib/libintl.dll.a +0 -0
  81. data/vendor/local/lib/libnettle.dll.a +0 -0
  82. data/vendor/local/lib/libp11-kit.dll.a +0 -0
  83. data/vendor/local/lib/libpcre.dll.a +0 -0
  84. data/vendor/local/lib/libpcrecpp.dll.a +0 -0
  85. data/vendor/local/lib/libpcreposix.dll.a +0 -0
  86. data/vendor/local/lib/libtasn1.dll.a +0 -0
  87. data/vendor/local/lib/pkcs11/p11-kit-trust.dll.a +0 -0
  88. data/vendor/local/lib/pkgconfig/gio-2.0.pc +1 -1
  89. data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
  90. data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
  91. data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
  92. data/vendor/local/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  93. data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  94. data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
  95. data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
  96. data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/{libglib-2.0.so.0.4800.0-gdb.py → libglib-2.0.so.0.4800.1-gdb.py} +0 -0
  97. data/vendor/local/share/gdb/auto-load/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib/{libgobject-2.0.so.0.4800.0-gdb.py → libgobject-2.0.so.0.4800.1-gdb.py} +0 -0
  98. data/vendor/local/share/glib-2.0/codegen/__init__.pyc +0 -0
  99. data/vendor/local/share/glib-2.0/codegen/__init__.pyo +0 -0
  100. data/vendor/local/share/glib-2.0/codegen/codegen.pyc +0 -0
  101. data/vendor/local/share/glib-2.0/codegen/codegen.pyo +0 -0
  102. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyc +0 -0
  103. data/vendor/local/share/glib-2.0/codegen/codegen_docbook.pyo +0 -0
  104. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyc +0 -0
  105. data/vendor/local/share/glib-2.0/codegen/codegen_main.pyo +0 -0
  106. data/vendor/local/share/glib-2.0/codegen/config.py +1 -1
  107. data/vendor/local/share/glib-2.0/codegen/config.pyc +0 -0
  108. data/vendor/local/share/glib-2.0/codegen/config.pyo +0 -0
  109. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyc +0 -0
  110. data/vendor/local/share/glib-2.0/codegen/dbustypes.pyo +0 -0
  111. data/vendor/local/share/glib-2.0/codegen/parser.pyc +0 -0
  112. data/vendor/local/share/glib-2.0/codegen/parser.pyo +0 -0
  113. data/vendor/local/share/glib-2.0/codegen/utils.pyc +0 -0
  114. data/vendor/local/share/glib-2.0/codegen/utils.pyo +0 -0
  115. data/vendor/local/share/gtk-doc/html/gio/GAction.html +98 -104
  116. data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +116 -121
  117. data/vendor/local/share/gtk-doc/html/gio/GActionMap.html +28 -33
  118. data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +206 -211
  119. data/vendor/local/share/gtk-doc/html/gio/GAppInfoMonitor.html +9 -9
  120. data/vendor/local/share/gtk-doc/html/gio/GApplication.html +219 -221
  121. data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +87 -87
  122. data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +63 -68
  123. data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +36 -41
  124. data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +62 -62
  125. data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +29 -29
  126. data/vendor/local/share/gtk-doc/html/gio/GBytesIcon.html +18 -18
  127. data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +81 -81
  128. data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +28 -28
  129. data/vendor/local/share/gtk-doc/html/gio/GConverter.html +16 -21
  130. data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +43 -43
  131. data/vendor/local/share/gtk-doc/html/gio/GDBusActionGroup.html +7 -7
  132. data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +38 -38
  133. data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +526 -526
  134. data/vendor/local/share/gtk-doc/html/gio/GDBusInterface.html +17 -17
  135. data/vendor/local/share/gtk-doc/html/gio/GDBusInterfaceSkeleton.html +66 -71
  136. data/vendor/local/share/gtk-doc/html/gio/GDBusMenuModel.html +8 -8
  137. data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +202 -202
  138. data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +76 -76
  139. data/vendor/local/share/gtk-doc/html/gio/GDBusObject.html +29 -29
  140. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManager.html +43 -43
  141. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerClient.html +141 -146
  142. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectManagerServer.html +32 -36
  143. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectProxy.html +12 -16
  144. data/vendor/local/share/gtk-doc/html/gio/GDBusObjectSkeleton.html +28 -35
  145. data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +229 -229
  146. data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +51 -51
  147. data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +160 -160
  148. data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +86 -86
  149. data/vendor/local/share/gtk-doc/html/gio/GDatagramBased.html +73 -78
  150. data/vendor/local/share/gtk-doc/html/gio/GDrive.html +181 -186
  151. data/vendor/local/share/gtk-doc/html/gio/GDtlsClientConnection.html +29 -33
  152. data/vendor/local/share/gtk-doc/html/gio/GDtlsConnection.html +122 -122
  153. data/vendor/local/share/gtk-doc/html/gio/GDtlsServerConnection.html +12 -16
  154. data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +14 -14
  155. data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +17 -17
  156. data/vendor/local/share/gtk-doc/html/gio/GFile.html +890 -895
  157. data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +9 -16
  158. data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +78 -78
  159. data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +21 -21
  160. data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +9 -9
  161. data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +239 -239
  162. data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +18 -18
  163. data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +29 -29
  164. data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +21 -21
  165. data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +19 -19
  166. data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +15 -15
  167. data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +15 -15
  168. data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +39 -39
  169. data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +60 -60
  170. data/vendor/local/share/gtk-doc/html/gio/GIcon.html +48 -53
  171. data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +110 -110
  172. data/vendor/local/share/gtk-doc/html/gio/GInetAddressMask.html +37 -37
  173. data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +31 -31
  174. data/vendor/local/share/gtk-doc/html/gio/GInitable.html +68 -75
  175. data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +142 -142
  176. data/vendor/local/share/gtk-doc/html/gio/GListModel.html +44 -49
  177. data/vendor/local/share/gtk-doc/html/gio/GListStore.html +35 -35
  178. data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +19 -24
  179. data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +19 -19
  180. data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +57 -57
  181. data/vendor/local/share/gtk-doc/html/gio/GMenu.html +143 -143
  182. data/vendor/local/share/gtk-doc/html/gio/GMenuModel.html +107 -107
  183. data/vendor/local/share/gtk-doc/html/gio/GMount.html +161 -166
  184. data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +83 -83
  185. data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +45 -45
  186. data/vendor/local/share/gtk-doc/html/gio/GNetworkMonitor.html +54 -59
  187. data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +34 -34
  188. data/vendor/local/share/gtk-doc/html/gio/GNotification.html +51 -51
  189. data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +186 -186
  190. data/vendor/local/share/gtk-doc/html/gio/GPermission.html +71 -71
  191. data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +40 -45
  192. data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +40 -45
  193. data/vendor/local/share/gtk-doc/html/gio/GPropertyAction.html +36 -36
  194. data/vendor/local/share/gtk-doc/html/gio/GProxy.html +25 -30
  195. data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +59 -59
  196. data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +32 -37
  197. data/vendor/local/share/gtk-doc/html/gio/GRemoteActionGroup.html +18 -23
  198. data/vendor/local/share/gtk-doc/html/gio/GResolver.html +147 -147
  199. data/vendor/local/share/gtk-doc/html/gio/GResource.html +114 -114
  200. data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +46 -51
  201. data/vendor/local/share/gtk-doc/html/gio/GSettings.html +354 -354
  202. data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +47 -52
  203. data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +46 -46
  204. data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +15 -15
  205. data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +146 -146
  206. data/vendor/local/share/gtk-doc/html/gio/GSimpleIOStream.html +5 -5
  207. data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +7 -7
  208. data/vendor/local/share/gtk-doc/html/gio/GSimpleProxyResolver.html +19 -19
  209. data/vendor/local/share/gtk-doc/html/gio/GSocket.html +454 -454
  210. data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +26 -26
  211. data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +138 -138
  212. data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +37 -42
  213. data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +54 -54
  214. data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +20 -20
  215. data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +91 -91
  216. data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +22 -22
  217. data/vendor/local/share/gtk-doc/html/gio/GSrvTarget.html +38 -38
  218. data/vendor/local/share/gtk-doc/html/gio/GSubprocess.html +139 -139
  219. data/vendor/local/share/gtk-doc/html/gio/GSubprocessLauncher.html +63 -63
  220. data/vendor/local/share/gtk-doc/html/gio/GTask.html +219 -219
  221. data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +12 -12
  222. data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +7 -7
  223. data/vendor/local/share/gtk-doc/html/gio/GTestDBus.html +21 -21
  224. data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +24 -24
  225. data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +16 -16
  226. data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +53 -58
  227. data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +57 -57
  228. data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +40 -47
  229. data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +84 -84
  230. data/vendor/local/share/gtk-doc/html/gio/GTlsDatabase.html +79 -84
  231. data/vendor/local/share/gtk-doc/html/gio/GTlsFileDatabase.html +13 -17
  232. data/vendor/local/share/gtk-doc/html/gio/GTlsInteraction.html +32 -32
  233. data/vendor/local/share/gtk-doc/html/gio/GTlsPassword.html +41 -46
  234. data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +11 -15
  235. data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +52 -52
  236. data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +12 -12
  237. data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +43 -43
  238. data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +25 -25
  239. data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +25 -25
  240. data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +25 -25
  241. data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +38 -38
  242. data/vendor/local/share/gtk-doc/html/gio/GVfs.html +24 -24
  243. data/vendor/local/share/gtk-doc/html/gio/GVolume.html +117 -122
  244. data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +87 -87
  245. data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +14 -14
  246. data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +10 -10
  247. data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +4 -2
  248. data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +2 -2
  249. data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +2 -2
  250. data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +2 -2
  251. data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +2 -2
  252. data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +2 -2
  253. data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +2 -2
  254. data/vendor/local/share/gtk-doc/html/gio/api-index-2-30.html +2 -2
  255. data/vendor/local/share/gtk-doc/html/gio/api-index-2-32.html +2 -2
  256. data/vendor/local/share/gtk-doc/html/gio/api-index-2-34.html +2 -2
  257. data/vendor/local/share/gtk-doc/html/gio/api-index-2-36.html +2 -2
  258. data/vendor/local/share/gtk-doc/html/gio/api-index-2-38.html +2 -2
  259. data/vendor/local/share/gtk-doc/html/gio/api-index-2-40.html +2 -2
  260. data/vendor/local/share/gtk-doc/html/gio/api-index-2-42.html +2 -2
  261. data/vendor/local/share/gtk-doc/html/gio/api-index-2-44.html +2 -2
  262. data/vendor/local/share/gtk-doc/html/gio/api-index-2-46.html +2 -2
  263. data/vendor/local/share/gtk-doc/html/gio/api-index-2-48.html +2 -2
  264. data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +2 -2
  265. data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +2 -2
  266. data/vendor/local/share/gtk-doc/html/gio/application.html +2 -2
  267. data/vendor/local/share/gtk-doc/html/gio/async.html +2 -2
  268. data/vendor/local/share/gtk-doc/html/gio/ch01.html +2 -2
  269. data/vendor/local/share/gtk-doc/html/gio/ch02.html +3 -3
  270. data/vendor/local/share/gtk-doc/html/gio/ch03.html +2 -2
  271. data/vendor/local/share/gtk-doc/html/gio/ch32.html +2 -2
  272. data/vendor/local/share/gtk-doc/html/gio/ch33.html +7 -7
  273. data/vendor/local/share/gtk-doc/html/gio/ch33s02.html +3 -3
  274. data/vendor/local/share/gtk-doc/html/gio/ch33s03.html +4 -4
  275. data/vendor/local/share/gtk-doc/html/gio/ch34.html +2 -2
  276. data/vendor/local/share/gtk-doc/html/gio/ch34s02.html +2 -2
  277. data/vendor/local/share/gtk-doc/html/gio/ch34s03.html +4 -4
  278. data/vendor/local/share/gtk-doc/html/gio/ch34s04.html +2 -2
  279. data/vendor/local/share/gtk-doc/html/gio/ch34s05.html +2 -2
  280. data/vendor/local/share/gtk-doc/html/gio/ch34s06.html +6 -6
  281. data/vendor/local/share/gtk-doc/html/gio/ch34s07.html +2 -2
  282. data/vendor/local/share/gtk-doc/html/gio/ch35.html +4 -4
  283. data/vendor/local/share/gtk-doc/html/gio/ch35s02.html +3 -3
  284. data/vendor/local/share/gtk-doc/html/gio/ch35s03.html +10 -10
  285. data/vendor/local/share/gtk-doc/html/gio/ch35s04.html +3 -3
  286. data/vendor/local/share/gtk-doc/html/gio/conversion.html +2 -2
  287. data/vendor/local/share/gtk-doc/html/gio/data-models.html +2 -2
  288. data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +2 -2
  289. data/vendor/local/share/gtk-doc/html/gio/extending.html +2 -2
  290. data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +2 -2
  291. data/vendor/local/share/gtk-doc/html/gio/file_mon.html +2 -2
  292. data/vendor/local/share/gtk-doc/html/gio/file_ops.html +2 -2
  293. data/vendor/local/share/gtk-doc/html/gio/gapplication-tool.html +2 -2
  294. data/vendor/local/share/gtk-doc/html/gio/gdbus-codegen.html +55 -55
  295. data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +2 -2
  296. data/vendor/local/share/gtk-doc/html/gio/gdbus-example-gdbus-codegen.html +4 -4
  297. data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +2 -2
  298. data/vendor/local/share/gtk-doc/html/gio/gdbus.html +5 -5
  299. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +51 -51
  300. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +188 -188
  301. data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +72 -72
  302. data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +110 -117
  303. data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +48 -48
  304. data/vendor/local/share/gtk-doc/html/gio/gio-GActionGroup-exporter.html +11 -11
  305. data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +86 -86
  306. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +7 -7
  307. data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +7 -7
  308. data/vendor/local/share/gtk-doc/html/gio/gio-GDBusError.html +103 -103
  309. data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +22 -22
  310. data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +15 -15
  311. data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +41 -41
  312. data/vendor/local/share/gtk-doc/html/gio/gio-GMenuModel-exporter.html +11 -11
  313. data/vendor/local/share/gtk-doc/html/gio/gio-GSettingsSchema-GSettingsSchemaSource.html +108 -108
  314. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32InputStream.html +17 -17
  315. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32OutputStream.html +17 -17
  316. data/vendor/local/share/gtk-doc/html/gio/gio-GWin32RegistryKey.html +221 -221
  317. data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +63 -63
  318. data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +16 -23
  319. data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +128 -128
  320. data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +57 -57
  321. data/vendor/local/share/gtk-doc/html/gio/gio-gnetworking.h.html +2 -2
  322. data/vendor/local/share/gtk-doc/html/gio/gio-gpollableutils.html +71 -71
  323. data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +6 -6
  324. data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +2 -2
  325. data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +450 -10
  326. data/vendor/local/share/gtk-doc/html/gio/glib-compile-resources.html +3 -3
  327. data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +2 -2
  328. data/vendor/local/share/gtk-doc/html/gio/gresource-tool.html +2 -2
  329. data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +5 -5
  330. data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +2 -2
  331. data/vendor/local/share/gtk-doc/html/gio/icons.html +2 -2
  332. data/vendor/local/share/gtk-doc/html/gio/index.html +3 -3
  333. data/vendor/local/share/gtk-doc/html/gio/migrating.html +2 -2
  334. data/vendor/local/share/gtk-doc/html/gio/networking.html +2 -2
  335. data/vendor/local/share/gtk-doc/html/gio/permissions.html +2 -2
  336. data/vendor/local/share/gtk-doc/html/gio/pt01.html +2 -2
  337. data/vendor/local/share/gtk-doc/html/gio/pt02.html +2 -2
  338. data/vendor/local/share/gtk-doc/html/gio/registry.html +2 -2
  339. data/vendor/local/share/gtk-doc/html/gio/resolver.html +2 -2
  340. data/vendor/local/share/gtk-doc/html/gio/resources.html +2 -2
  341. data/vendor/local/share/gtk-doc/html/gio/running-gio-apps.html +2 -2
  342. data/vendor/local/share/gtk-doc/html/gio/settings.html +2 -2
  343. data/vendor/local/share/gtk-doc/html/gio/streaming.html +2 -2
  344. data/vendor/local/share/gtk-doc/html/gio/subprocesses.html +2 -2
  345. data/vendor/local/share/gtk-doc/html/gio/testing.html +2 -2
  346. data/vendor/local/share/gtk-doc/html/gio/tls.html +2 -2
  347. data/vendor/local/share/gtk-doc/html/gio/tools.html +2 -2
  348. data/vendor/local/share/gtk-doc/html/gio/types.html +2 -2
  349. data/vendor/local/share/gtk-doc/html/gio/utils.html +2 -2
  350. data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +2 -2
  351. data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +4 -2
  352. data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +2 -2
  353. data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +2 -2
  354. data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +2 -2
  355. data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +2 -2
  356. data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +2 -2
  357. data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +2 -2
  358. data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +2 -2
  359. data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +2 -2
  360. data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +2 -2
  361. data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +2 -2
  362. data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +2 -2
  363. data/vendor/local/share/gtk-doc/html/glib/api-index-2-30.html +2 -2
  364. data/vendor/local/share/gtk-doc/html/glib/api-index-2-32.html +2 -2
  365. data/vendor/local/share/gtk-doc/html/glib/api-index-2-34.html +2 -2
  366. data/vendor/local/share/gtk-doc/html/glib/api-index-2-36.html +2 -2
  367. data/vendor/local/share/gtk-doc/html/glib/api-index-2-38.html +2 -2
  368. data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +3 -10
  369. data/vendor/local/share/gtk-doc/html/glib/api-index-2-40.html +2 -2
  370. data/vendor/local/share/gtk-doc/html/glib/api-index-2-42.html +2 -2
  371. data/vendor/local/share/gtk-doc/html/glib/api-index-2-44.html +2 -2
  372. data/vendor/local/share/gtk-doc/html/glib/api-index-2-46.html +2 -2
  373. data/vendor/local/share/gtk-doc/html/glib/api-index-2-48.html +2 -2
  374. data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +2 -2
  375. data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +2 -2
  376. data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +2 -2
  377. data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +3 -10
  378. data/vendor/local/share/gtk-doc/html/glib/deprecated.html +2 -2
  379. data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +42 -42
  380. data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +44 -44
  381. data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +40 -40
  382. data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +18 -18
  383. data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +32 -32
  384. data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +14 -14
  385. data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +5 -5
  386. data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +68 -68
  387. data/vendor/local/share/gtk-doc/html/glib/glib-Bounds-checked-integer-arithmetic.html +14 -14
  388. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +56 -56
  389. data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +120 -120
  390. data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +15 -15
  391. data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +35 -35
  392. data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +72 -72
  393. data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +21 -21
  394. data/vendor/local/share/gtk-doc/html/glib/glib-Data-HMACs.html +17 -17
  395. data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +24 -24
  396. data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +93 -93
  397. data/vendor/local/share/gtk-doc/html/glib/glib-Deprecated-Thread-APIs.html +50 -50
  398. data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +64 -64
  399. data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +69 -69
  400. data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +19 -19
  401. data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +21 -21
  402. data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +80 -80
  403. data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +157 -157
  404. data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +20 -20
  405. data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +292 -266
  406. data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +423 -421
  407. data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +13 -13
  408. data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +92 -92
  409. data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +62 -62
  410. data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +12 -12
  411. data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +27 -56
  412. data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +84 -84
  413. data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +81 -81
  414. data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +31 -31
  415. data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +45 -45
  416. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +55 -55
  417. data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +22 -22
  418. data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +80 -78
  419. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +36 -36
  420. data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +83 -83
  421. data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +81 -81
  422. data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +4 -4
  423. data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +84 -84
  424. data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +34 -34
  425. data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +15 -15
  426. data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +30 -30
  427. data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +20 -20
  428. data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +67 -67
  429. data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +9 -9
  430. data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +34 -34
  431. data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +58 -58
  432. data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +19 -19
  433. data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +30 -30
  434. data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +12 -12
  435. data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +195 -189
  436. data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +65 -65
  437. data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +91 -91
  438. data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +166 -166
  439. data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +24 -24
  440. data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +86 -86
  441. data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +10 -10
  442. data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +11 -11
  443. data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +8 -8
  444. data/vendor/local/share/gtk-doc/html/glib/glib-UNIX-specific-utilities-and-integration.html +46 -38
  445. data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +16 -16
  446. data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +134 -134
  447. data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +128 -128
  448. data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +19 -19
  449. data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +20 -20
  450. data/vendor/local/share/gtk-doc/html/glib/glib-building.html +2 -2
  451. data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +2 -2
  452. data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +2 -2
  453. data/vendor/local/share/gtk-doc/html/glib/glib-core.html +2 -2
  454. data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +2 -2
  455. data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +2 -2
  456. data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +2 -2
  457. data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +2 -2
  458. data/vendor/local/share/gtk-doc/html/glib/glib-programming.html +2 -2
  459. data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +2 -2
  460. data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +2 -2
  461. data/vendor/local/share/gtk-doc/html/glib/glib-running.html +2 -2
  462. data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +2 -2
  463. data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +189 -51
  464. data/vendor/local/share/gtk-doc/html/glib/glib.html +2 -2
  465. data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +2 -2
  466. data/vendor/local/share/gtk-doc/html/glib/gtester.html +2 -2
  467. data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +15 -15
  468. data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +17 -17
  469. data/vendor/local/share/gtk-doc/html/glib/index.html +3 -3
  470. data/vendor/local/share/gtk-doc/html/glib/tools.html +2 -2
  471. data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +55 -55
  472. data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +28 -33
  473. data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +12 -12
  474. data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +4 -2
  475. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +2 -2
  476. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +2 -2
  477. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +2 -2
  478. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +2 -2
  479. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +2 -2
  480. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +2 -2
  481. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +2 -2
  482. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +2 -2
  483. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +2 -2
  484. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-30.html +2 -2
  485. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-32.html +2 -2
  486. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-34.html +2 -2
  487. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-36.html +2 -2
  488. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-38.html +2 -2
  489. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +2 -2
  490. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-40.html +2 -2
  491. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-42.html +2 -2
  492. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-44.html +2 -2
  493. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-46.html +2 -2
  494. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +2 -2
  495. data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +2 -2
  496. data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +2 -2
  497. data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +2 -2
  498. data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +2 -2
  499. data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +2 -2
  500. data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +4 -4
  501. data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +2 -2
  502. data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +3 -3
  503. data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +2 -2
  504. data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +2 -2
  505. data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +72 -62
  506. data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +301 -301
  507. data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +71 -71
  508. data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +139 -139
  509. data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +92 -92
  510. data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +304 -304
  511. data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +570 -682
  512. data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +276 -276
  513. data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +349 -349
  514. data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +54 -54
  515. data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +15 -15
  516. data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +2 -2
  517. data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +5 -5
  518. data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +2 -2
  519. data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +153 -8
  520. data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +3 -3
  521. data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +2 -2
  522. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +9 -9
  523. data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +2 -2
  524. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +2 -2
  525. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +2 -2
  526. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +4 -4
  527. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
  528. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +15 -15
  529. data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +2 -2
  530. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +5 -5
  531. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-override.html +4 -4
  532. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-prerequisite.html +6 -6
  533. data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +2 -2
  534. data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +9 -9
  535. data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +4 -4
  536. data/vendor/local/share/gtk-doc/html/gobject/index.html +3 -3
  537. data/vendor/local/share/gtk-doc/html/gobject/pr01.html +2 -2
  538. data/vendor/local/share/gtk-doc/html/gobject/pt01.html +2 -2
  539. data/vendor/local/share/gtk-doc/html/gobject/pt02.html +2 -2
  540. data/vendor/local/share/gtk-doc/html/gobject/pt03.html +2 -2
  541. data/vendor/local/share/gtk-doc/html/gobject/rn01.html +2 -2
  542. data/vendor/local/share/gtk-doc/html/gobject/rn02.html +2 -2
  543. data/vendor/local/share/gtk-doc/html/gobject/signal.html +5 -5
  544. data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +2 -2
  545. data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +2 -2
  546. data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +3 -3
  547. data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +2 -2
  548. data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +2 -2
  549. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Future.html +4 -4
  550. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Modules.html +12 -12
  551. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-PIN-Callbacks.html +15 -15
  552. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-URIs.html +2 -2
  553. data/vendor/local/share/gtk-doc/html/p11-kit/p11-kit-Utilities.html +2 -2
  554. data/vendor/local/share/locale/ca/LC_MESSAGES/glib20.mo +0 -0
  555. data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
  556. data/vendor/local/share/locale/fur/LC_MESSAGES/glib-networking.mo +0 -0
  557. data/vendor/local/share/locale/gd/LC_MESSAGES/glib-networking.mo +0 -0
  558. data/vendor/local/share/locale/oc/LC_MESSAGES/glib-networking.mo +0 -0
  559. data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
  560. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
  561. data/vendor/local/share/man/man1/gapplication.1 +1 -1
  562. data/vendor/local/share/man/man1/gdbus-codegen.1 +1 -1
  563. data/vendor/local/share/man/man1/gdbus.1 +1 -1
  564. data/vendor/local/share/man/man1/gio-querymodules.1 +1 -1
  565. data/vendor/local/share/man/man1/glib-compile-resources.1 +1 -1
  566. data/vendor/local/share/man/man1/glib-compile-schemas.1 +1 -1
  567. data/vendor/local/share/man/man1/glib-genmarshal.1 +1 -1
  568. data/vendor/local/share/man/man1/glib-gettextize.1 +1 -1
  569. data/vendor/local/share/man/man1/glib-mkenums.1 +1 -1
  570. data/vendor/local/share/man/man1/gobject-query.1 +1 -1
  571. data/vendor/local/share/man/man1/gresource.1 +1 -1
  572. data/vendor/local/share/man/man1/gsettings.1 +1 -1
  573. data/vendor/local/share/man/man1/gtester-report.1 +1 -1
  574. data/vendor/local/share/man/man1/gtester.1 +1 -1
  575. metadata +6 -8
  576. data/vendor/local/share/gtk-doc/html/gio/index.sgml +0 -4612
  577. data/vendor/local/share/gtk-doc/html/glib/index.sgml +0 -3447
  578. data/vendor/local/share/gtk-doc/html/gobject/index.sgml +0 -924
@@ -309,7 +309,18 @@ gobj_sig_connect_impl(gboolean after, int argc, VALUE *argv, VALUE self)
309
309
  if (!g_signal_parse_name(sig_name, CLASS2GTYPE(CLASS_OF(self)), &signal_id, &detail, TRUE))
310
310
  rb_raise(eNoSignalError, "no such signal: %s", sig_name);
311
311
 
312
- func = rb_block_proc();
312
+ {
313
+ ID id_create_signal_handler;
314
+ const char *normalized_signal_name;
315
+
316
+ CONST_ID(id_create_signal_handler, "create_signal_handler");
317
+ normalized_signal_name = g_signal_name(signal_id);
318
+ func = rb_funcall(self,
319
+ rb_intern("create_signal_handler"),
320
+ 2,
321
+ rb_str_new_cstr(normalized_signal_name),
322
+ rb_block_proc());
323
+ }
313
324
  rclosure = g_rclosure_new(func, rest,
314
325
  rbgobj_get_signal_func(signal_id));
315
326
  g_rclosure_attach((GClosure *)rclosure, self);
@@ -399,8 +399,9 @@ init_typemap(void)
399
399
  gtype_to_cinfo = g_hash_table_new(g_direct_hash, g_direct_equal);
400
400
  rb_global_variable(&klass_to_cinfo);
401
401
  klass_to_cinfo = rb_hash_new();
402
-
402
+ #ifndef RUBY_INTEGER_UNIFICATION
403
403
  _register_fundamental_klass_to_gtype(rb_cFixnum, G_TYPE_LONG);
404
+ #endif
404
405
  _register_fundamental_klass_to_gtype(rb_cFloat, G_TYPE_DOUBLE);
405
406
  _register_fundamental_klass_to_gtype(rb_cInteger, G_TYPE_LONG);
406
407
  _register_fundamental_klass_to_gtype(rb_cString, G_TYPE_STRING);
@@ -420,8 +421,13 @@ init_typemap(void)
420
421
  _register_fundamental_gtype_to_klass(G_TYPE_UINT64, rb_cInteger);
421
422
  _register_fundamental_gtype_to_klass(G_TYPE_INT, rb_cInteger);
422
423
  _register_fundamental_gtype_to_klass(G_TYPE_LONG, rb_cInteger);
424
+ #ifdef RUBY_INTEGER_UNIFICATION
425
+ _register_fundamental_gtype_to_klass(G_TYPE_CHAR, rb_cInteger);
426
+ _register_fundamental_gtype_to_klass(G_TYPE_UCHAR, rb_cInteger);
427
+ #else
423
428
  _register_fundamental_gtype_to_klass(G_TYPE_CHAR, rb_cFixnum);
424
429
  _register_fundamental_gtype_to_klass(G_TYPE_UCHAR, rb_cFixnum);
430
+ #endif
425
431
  _register_fundamental_gtype_to_klass(G_TYPE_STRING, rb_cString);
426
432
  _register_fundamental_gtype_to_klass(G_TYPE_ULONG, rb_cInteger);
427
433
  _register_fundamental_gtype_to_klass(G_TYPE_NONE, rb_cNilClass);
@@ -321,14 +321,8 @@ rbgobj_define_property_accessors(VALUE klass)
321
321
  g_string_append_printf(source,
322
322
  "def set_%s(val); set_property('%s', val); end\n",
323
323
  prop_name, pspec->name);
324
- #ifdef HAVE_NODE_ATTRASGN
325
324
  g_string_append_printf(source, "alias %s= set_%s\n",
326
325
  prop_name, prop_name);
327
- #else
328
- g_string_append_printf(source,
329
- "def %s=(val); set_property('%s', val); val; end\n",
330
- prop_name, pspec->name);
331
- #endif
332
326
  }
333
327
 
334
328
  g_free(buf);
@@ -27,10 +27,6 @@
27
27
  # define rb_errinfo() (ruby_errinfo)
28
28
  #endif
29
29
 
30
- #ifndef HAVE_RB_STR_NEW_CSTR
31
- # define rb_str_new_cstr(c_string) rb_str_new2(c_string)
32
- #endif
33
-
34
30
  #ifndef HAVE_RB_EXC_NEW_STR
35
31
  # define rb_exc_new_str(klass, message) rb_exc_new3(klass, message)
36
32
  #endif
@@ -116,10 +116,8 @@ rbgutil_generic_gtype(VALUE self)
116
116
  VALUE
117
117
  rbgutil_string_set_utf8_encoding(VALUE string)
118
118
  {
119
- #ifdef HAVE_RUBY_ENCODING_H
120
119
  if (!NIL_P(string))
121
120
  rb_enc_associate(string, rb_utf8_encoding());
122
- #endif
123
121
  return string;
124
122
  }
125
123
 
@@ -24,9 +24,7 @@
24
24
 
25
25
  #include <glib-object.h>
26
26
  #include "ruby.h"
27
- #ifdef HAVE_RUBY_ENCODING_H
28
- # include <ruby/encoding.h>
29
- #endif
27
+ #include <ruby/encoding.h>
30
28
  #include "rbglib.h"
31
29
  #include "rbgutil_list.h"
32
30
  #include "rbgutildeprecated.h"
Binary file
Binary file
@@ -126,6 +126,13 @@ module GLib
126
126
  end
127
127
  end
128
128
 
129
+ class Instantiatable
130
+ private
131
+ def create_signal_handler(signal_name, callback)
132
+ callback
133
+ end
134
+ end
135
+
129
136
  class Type
130
137
 
131
138
  def decendants
@@ -16,6 +16,8 @@
16
16
  # License along with this library; if not, write to the Free Software
17
17
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
18
 
19
+ require "open-uri"
20
+
19
21
  module GNOME2
20
22
  module Rake
21
23
  class ExternalPackage < Struct.new(:name,
@@ -97,21 +99,131 @@ module GNOME2
97
99
  super || []
98
100
  end
99
101
 
102
+ def latest_version
103
+ case download_site
104
+ when :gnome
105
+ latest_version_gnome
106
+ when :freedesktop
107
+ latest_version_freedesktop
108
+ when :freedesktop_gstreamer
109
+ latest_version_freedesktop_gstreamer
110
+ else
111
+ nil
112
+ end
113
+ end
114
+
100
115
  private
101
116
  def download_site_base_url
102
117
  case download_site
103
118
  when :gnome
104
- base_url = "http://ftp.gnome.org/pub/gnome/sources"
119
+ base_url = gnome_base_url
105
120
  release_series = version.gsub(/\A(\d+\.\d+)(?:[^\d].*)?\z/, '\1')
106
121
  base_url << "/#{name}/#{release_series}"
122
+ when :freedesktop
123
+ base_url = freedesktop_base_url
124
+ base_url << "/#{name}/release"
125
+ when :freedesktop_gstreamer
126
+ base_url = freedesktop_gstreamer_base_url
127
+ base_url << "/#{name}"
107
128
  when :gnu
108
129
  base_url = "http://ftp.gnu.org/pub/gnu/#{name}"
130
+ base_url = "http://ftp.yz.yamagata-u.ac.jp/pub/GNU/#{name}"
109
131
  else
110
132
  base_url = nil
111
133
  end
112
134
  base_url
113
135
  end
114
136
 
137
+ def gnome_base_url
138
+ "http://ftp.gnome.org/pub/gnome/sources"
139
+ end
140
+
141
+ def freedesktop_base_url
142
+ "https://www.freedesktop.org/software"
143
+ end
144
+
145
+ def freedesktop_gstreamer_base_url
146
+ "https://gstreamer.freedesktop.org/src"
147
+ end
148
+
149
+ def sort_versions(versions)
150
+ versions.sort_by do |version|
151
+ version.split(".").collect(&:to_i)
152
+ end
153
+ end
154
+
155
+ def latest_version_gnome
156
+ base_url = "#{gnome_base_url}/#{name}"
157
+ minor_versions = []
158
+ open(base_url) do |index|
159
+ index.read.scan(/<a (.+?)>/) do |content,|
160
+ case content
161
+ when /href="(\d+(?:\.\d+)*)\/?"/
162
+ minor_version = $1
163
+ next if development_minor_version_gnome?(minor_version)
164
+ minor_versions << minor_version
165
+ end
166
+ end
167
+ end
168
+ return nil if minor_versions.empty?
169
+
170
+ latest_minor_version = sort_versions(minor_versions).last
171
+ versions = []
172
+ open("#{base_url}/#{latest_minor_version}") do |index|
173
+ index.read.scan(/<a (.+?)>/) do |content,|
174
+ case content
175
+ when /href="#{Regexp.escape(name)}-
176
+ (\d+(?:\.\d+)*)
177
+ \.tar\.#{Regexp.escape(compression_method)}"/x
178
+ versions << $1
179
+ end
180
+ end
181
+ end
182
+ sort_versions(versions).last
183
+ end
184
+
185
+ def development_minor_version_gnome?(minor_version)
186
+ minor_version.split(".").last.to_i.odd?
187
+ end
188
+
189
+ def latest_version_freedesktop
190
+ base_url = "#{freedesktop_base_url}/#{name}/release"
191
+ versions = []
192
+ open(base_url) do |index|
193
+ index.read.scan(/<a (.+?)>/) do |content,|
194
+ case content
195
+ when /href="#{Regexp.escape(name)}-
196
+ (\d+(?:\.\d+)*)
197
+ \.tar\.#{Regexp.escape(compression_method)}"/x
198
+ versions << $1
199
+ end
200
+ end
201
+ end
202
+ sort_versions(versions).last
203
+ end
204
+
205
+ def latest_version_freedesktop_gstreamer
206
+ base_url = "#{freedesktop_gstreamer_base_url}/#{name}"
207
+ versions = []
208
+ open(base_url) do |index|
209
+ index.read.scan(/<a (.+?)>/) do |content,|
210
+ case content
211
+ when /href="#{Regexp.escape(name)}-
212
+ (\d+(?:\.\d+)*)
213
+ \.tar\.#{Regexp.escape(compression_method)}"/x
214
+ version = $1
215
+ next if development_version_freedesktop_gstreamer?(version)
216
+ versions << version
217
+ end
218
+ end
219
+ end
220
+ sort_versions(versions).last
221
+ end
222
+
223
+ def development_version_freedesktop_gstreamer?(version)
224
+ version.split(".")[1].to_i.odd?
225
+ end
226
+
115
227
  class WindowsConfiguration < Struct.new(:build,
116
228
  :include_paths,
117
229
  :library_paths,
@@ -124,7 +236,8 @@ module GNOME2
124
236
  :need_autoreconf,
125
237
  :build_concurrently,
126
238
  :use_cc_environment_variable,
127
- :gobject_introspection_compiler_split_args)
239
+ :gobject_introspection_compiler_split_args,
240
+ :use_gobject_introspection)
128
241
  def initialize(properties)
129
242
  super()
130
243
  properties.each do |key, value|
@@ -183,6 +296,10 @@ module GNOME2
183
296
  def gobject_introspection_compiler_split_args?
184
297
  gobject_introspection_compiler_split_args
185
298
  end
299
+
300
+ def use_gobject_introspection?
301
+ use_gobject_introspection.nil? ? true : use_gobject_introspection
302
+ end
186
303
  end
187
304
 
188
305
  class NativeConfiguration < Struct.new(:build,
@@ -93,6 +93,10 @@ module GNOME2
93
93
  @package.external_packages = packages
94
94
  end
95
95
 
96
+ def windows_binary_build_task
97
+ @windows_binary_build_task ||= WindowsBinaryBuildTask.new(@package)
98
+ end
99
+
96
100
  private
97
101
  def initialize_variables
98
102
  @summary = ""
@@ -133,7 +137,7 @@ module GNOME2
133
137
  "{sample,test}/**/*"]
134
138
  files.existing!
135
139
  s.files = files
136
- s.required_ruby_version = @required_ruby_version || ">= 1.9.3"
140
+ s.required_ruby_version = @required_ruby_version || ">= 2.1.0"
137
141
  s.post_install_message = @post_install_message
138
142
  @dependency_configuration.apply(s)
139
143
  end
@@ -161,6 +165,7 @@ module GNOME2
161
165
  define_windows_extension_task
162
166
  define_windows_download_task
163
167
  define_windows_build_task
168
+ define_windows_version_update_task
164
169
  end
165
170
 
166
171
  def so_base_name
@@ -214,11 +219,66 @@ module GNOME2
214
219
  end
215
220
 
216
221
  def define_windows_download_task
217
- GNOME2WindowsBinaryDownloadTask.new(@package)
222
+ task = WindowsBinaryDownloadTask.new(@package)
223
+ task.define
218
224
  end
219
225
 
220
226
  def define_windows_build_task
221
- GNOME2WindowsBinaryBuildTask.new(@package)
227
+ windows_binary_build_task.define
228
+ end
229
+
230
+ def define_windows_version_update_task
231
+ namespace :windows do
232
+ namespace :version do
233
+ task_names = []
234
+ namespace :update do
235
+ @package.external_packages.each do |package|
236
+ task_names << package.name
237
+ task package.name do
238
+ latest_version = package.latest_version || package.version
239
+ if package.version != latest_version
240
+ update_package_version(package, latest_version)
241
+ end
242
+ end
243
+ end
244
+ end
245
+
246
+ full_task_names = task_names.collect do |name|
247
+ "windows:version:update:#{name}"
248
+ end
249
+ desc "Update Windows package versions"
250
+ task :update => full_task_names
251
+ end
252
+ end
253
+ end
254
+
255
+ def update_package_version(package, latest_version)
256
+ rakefile_path = ::Rake.application.rakefile
257
+ rakefile_content = File.read(rakefile_path)
258
+ updated_rakefile_content = ""
259
+ in_package = false
260
+ escaped_name = Regexp.escape(package.name)
261
+ escaped_version = Regexp.escape(package.version)
262
+ rakefile_content.each_line do |line|
263
+ case line
264
+ when /:name => "#{escaped_name}",/
265
+ in_package = true
266
+ updated_rakefile_content << line
267
+ when /:version => "#{escaped_version}",/
268
+ if in_package
269
+ updated_rakefile_content << line.gsub(/#{escaped_version}/,
270
+ latest_version)
271
+ in_package = false
272
+ else
273
+ updated_rakefile_content << line
274
+ end
275
+ else
276
+ updated_rakefile_content << line
277
+ end
278
+ end
279
+ File.open(rakefile_path, "w") do |rakefile|
280
+ rakefile.write(updated_rakefile_content)
281
+ end
222
282
  end
223
283
 
224
284
  def define_package_tasks
@@ -5,340 +5,346 @@
5
5
  require "open-uri"
6
6
  require "pathname"
7
7
 
8
- class GNOME2WindowsBinaryBuildTask
9
- include Rake::DSL
10
-
11
- def initialize(package)
12
- @package = package
13
- define
14
- end
15
-
16
- private
17
- def define
18
- namespace :windows do
19
- namespace :builder do
20
- task :before
21
- define_build_tasks
22
- build_tasks = build_packages.collect do |package|
23
- "windows:builder:build:#{package.name}"
24
- end
25
- task :build => build_tasks
26
- task :after
27
- end
28
- desc "Build Windows binaries"
29
- task :build => ["windows:builder:before",
30
- "windows:builder:build",
31
- "windows:builder:after"]
32
- end
33
- end
34
-
35
- def define_build_tasks
36
- namespace :build do
37
- prepare_task_names = []
38
- namespace :prepare do
39
- prepare_task_names << "pkg_config"
40
- task :pkg_config do
41
- depended_packages = @package.windows.build_dependencies
42
- use_packages = [@package.name] + depended_packages
43
- pkg_config_path = use_packages.collect do |package|
44
- "../#{package}/#{@package.windows.relative_binary_dir}/lib/pkgconfig"
45
- end
46
- ENV["PKG_CONFIG_PATH"] = pkg_config_path.collect do |path|
47
- File.expand_path(path)
48
- end.join(":")
49
- ENV["PKG_CONFIG_LIBDIR"] = rcairo_windows_pkgconfig_path
50
- end
51
-
52
- prepare_task_names << "pkg_config_for_build"
53
- task :pkg_config_for_build do
54
- # XXX: Is it needless?
55
- # ENV["PKG_CONFIG_FOR_BUILD"] = "env - pkg-config"
56
- end
57
- end
58
-
59
- full_prepare_task_names = prepare_task_names.collect do |name|
60
- "windows:builder:build:prepare:#{name}"
61
- end
62
- task :prepare => full_prepare_task_names
63
-
64
- build_packages.each do |package|
65
- namespace package.name do
66
- task :before
67
- download_task = "source:downloader:download:#{package.name}"
68
- built_file = package.windows.built_file
69
- if built_file
70
- built_file = dist_dir + built_file
71
- file built_file.to_s do
72
- Rake::Task["windows:builder:build:prepare"].invoke
73
- Rake::Task[download_task].invoke
74
- build_package_task_body(package)
75
- end
76
- task :build => built_file.to_s
77
- else
78
- task :build => [:prepare, download_task] do
79
- build_package_task_body(package)
80
- end
81
- end
82
- task :after
83
- end
84
-
85
- prefix = "windows:builder:build:#{package.name}"
86
- desc "Build #{package.label} and install it into #{dist_dir}."
87
- task package.name => [
88
- "#{prefix}:before",
89
- "#{prefix}:build",
90
- "#{prefix}:after",
91
- ]
92
- end
93
- end
94
- end
95
-
96
- def build_package_task_body(package)
97
- package_tmp_dir = @package.tmp_dir + "windows" + package.name
98
- rm_rf(package_tmp_dir)
99
- mkdir_p(package_tmp_dir)
100
-
101
- tar_full_path = @package.download_dir + package.archive_base_name
102
- Dir.chdir(package_tmp_dir.to_s) do
103
- sh("tar", "xf", tar_full_path.to_s)
104
- end
105
-
106
- package_dir_path =
107
- package_tmp_dir + package.base_name + package.base_dir_in_package
108
- Dir.chdir(package_dir_path.to_s) do
109
- package.windows.patches.each do |patch|
110
- sh("patch -p1 < #{@package.patches_dir}/#{patch}")
111
- end
112
- if File.exist?("configure")
113
- configure(package)
114
- else
115
- cmake(package)
116
- end
117
- common_make_args = []
118
- common_make_args << "MAKE=make"
119
- common_make_args << "GLIB_COMPILE_SCHEMAS=glib-compile-schemas"
120
- if package.windows.use_cc_environment_variable?
121
- common_make_args << cc_env(package)
122
- end
123
- add_gobject_introspection_make_args(package, common_make_args)
124
- build_make_args = common_make_args.dup
125
- install_make_args = common_make_args.dup
126
- if package.windows.build_concurrently?
127
- make_n_jobs = ENV["MAKE_N_JOBS"]
128
- build_make_args << "-j#{make_n_jobs}" if make_n_jobs
129
- end
130
- ENV["GREP_OPTIONS"] = "--text"
131
- # ENV["GI_SCANNER_DEBUG"] = "save-temps"
132
- # build_make_args << "--debug"
133
- # build_make_args << "V=1"
134
- sh("nice", "make", *build_make_args) or exit(false)
135
- sh("make", "install", *install_make_args) or exit(false)
136
-
137
- package_license_dir = license_dir + package.name
138
- mkdir_p(package_license_dir)
139
- package_license_files = ["AUTHORS", "COPYING", "COPYING.LIB"]
140
- package_license_files = package_license_files.reject do |file|
141
- not File.exist?(file)
142
- end
143
- cp(package_license_files, package_license_dir)
144
- bundled_packages = package.bundled_packages
145
- bundled_packages.each do |bundled_package|
146
- bundled_package_license_dir = license_dir + bundled_package[:name]
147
- mkdir_p(bundled_package_license_dir)
148
- license_files = bundled_package[:license_files].collect do |file|
149
- File.join(bundled_package[:path], file)
150
- end
151
- cp(license_files, bundled_package_license_dir)
152
- end
153
- end
154
- end
155
-
156
- def configure(package)
157
- sh("./autogen.sh") if package.windows.need_autogen?
158
- sh("autoreconf", "--install", "--force") if package.windows.need_autoreconf?
159
- sh("./configure",
160
- cc_env(package),
161
- dlltool_env,
162
- "CPPFLAGS=#{cppflags(package)}",
163
- "LDFLAGS=#{ldflags(package)}",
164
- "--prefix=#{dist_dir}",
165
- "--host=#{@package.windows.build_host}",
166
- *package.windows.configure_args) or exit(false)
167
- end
168
-
169
- def cmake(package)
170
- sh("cmake",
171
- ".",
172
- "-DCMAKE_INSTALL_PREFIX=#{dist_dir}",
173
- "-DCMAKE_SYSTEM_NAME=Windows",
174
- "-DCMAKE_SYSTEM_PROCESSOR=#{@package.windows.build_architecture}",
175
- "-DCMAKE_C_COMPILER=#{cc(package)}",
176
- "-DCMAKE_CXX_COMPILER=#{cxx(package)}",
177
- *package.windows.cmake_args) or exit(false)
178
- end
179
-
180
- def cc_env(package)
181
- "CC=#{cc(package)}"
182
- end
183
-
184
- def dlltool_env
185
- "DLLTOOL=#{dlltool}"
186
- end
187
-
188
- def build_packages
189
- packages = @package.external_packages.select do |package|
190
- package.windows.build?
191
- end
192
- # For backward compatibility
193
- packages + @package.windows.build_packages
194
- end
195
-
196
- def dist_dir
197
- @package.windows.absolute_binary_dir
198
- end
199
-
200
- def license_dir
201
- dist_dir + "share" + "license"
202
- end
203
-
204
- def glib2_binary_base_dir
205
- @package.glib2_root_dir + "vendor" + "local"
206
- end
207
-
208
- def glib2_include_path
209
- "#{glib2_binary_base_dir}/include"
210
- end
211
-
212
- def glib2_lib_path
213
- "#{glib2_binary_base_dir}/lib"
214
- end
215
-
216
- def rcairo_windows_dir
217
- suffix = @package.windows.build_architecture_suffix
218
- @package.project_root_dir.parent + "rcairo.#{suffix}"
219
- end
220
-
221
- def rcairo_windows_binary_base_dir
222
- rcairo_windows_dir + "vendor" + "local"
223
- end
224
-
225
- def rcairo_windows_pkgconfig_path
226
- "#{rcairo_windows_binary_base_dir}/lib/pkgconfig"
227
- end
228
-
229
- def rcairo_windows_include_path
230
- "#{rcairo_windows_binary_base_dir}/include"
231
- end
232
-
233
- def rcairo_windows_lib_path
234
- "#{rcairo_windows_binary_base_dir}/lib"
235
- end
236
-
237
- def cc(package)
238
- cc_command_line = [
239
- "#{@package.windows.build_host}-gcc",
240
- *package.windows.cc_args,
241
- ]
242
- cc_command_line.compact.join(" ")
243
- end
244
-
245
- def cxx(package)
246
- cxx_command_line = [
247
- "#{@package.windows.build_host}-g++",
248
- ]
249
- cxx_command_line.compact.join(" ")
250
- end
251
-
252
- def dlltool
253
- "#{@package.windows.build_host}-dlltool"
254
- end
255
-
256
- def cppflags(package)
257
- include_paths = package.windows.include_paths
258
- if @package.windows.build_dependencies.include?("glib2")
259
- include_paths += [glib2_include_path]
260
- end
261
- include_paths += [
262
- rcairo_windows_include_path,
263
- dist_dir + 'include',
264
- ]
265
- cppflags = include_paths.collect do |path|
266
- "-I#{path}"
267
- end
268
- cppflags.join(" ")
269
- end
270
-
271
- def ldflags(package)
272
- library_paths = package.windows.library_paths
273
- if @package.windows.build_dependencies.include?("glib2")
274
- library_paths += [glib2_lib_path]
275
- end
276
- library_paths += [
277
- rcairo_windows_lib_path,
278
- dist_dir + 'lib',
279
- ]
280
- ldflags = library_paths.collect do |path|
281
- "-L#{path}"
282
- end
283
- ldflags.join(" ")
284
- end
285
-
286
- def cmake_root_paths
287
- paths = [
288
- "/usr/#{@package.windows.build_host}",
289
- rcairo_windows_binary_base_dir.to_path,
290
- ]
291
- @package.windows.build_dependencies.each do |package|
292
- paths << "#{@package.project_root_dir}/#{package}/vendor/local"
293
- end
294
- paths
295
- end
296
-
297
- def add_gobject_introspection_make_args(package, common_make_args)
298
- unless @package.windows.build_dependencies.include?("gobject-introspection")
299
- return
300
- end
301
-
302
- g_ir_scanner = "#{@package.project_root_dir}/gobject-introspection/"
303
- g_ir_scanner << "#{@package.native.relative_binary_dir}/bin/g-ir-scanner"
304
- introspection_scanner = "INTROSPECTION_SCANNER=#{g_ir_scanner}"
305
- common_make_args << introspection_scanner
306
-
307
-
308
- dependencies = [
309
- "gobject-introspection",
310
- @package.name,
311
- ]
312
- dependencies += @package.windows.gobject_introspection_dependencies
313
-
314
- compute_base_dir = lambda do |dependent_package|
315
- "#{@package.project_root_dir}/#{dependent_package}/vendor/local"
316
- end
317
-
318
- gi_base_dir = compute_base_dir.call("gobject-introspection")
319
- introspection_compiler = "INTROSPECTION_COMPILER="
320
- introspection_compiler << "#{gi_base_dir}/bin/g-ir-compiler.exe"
321
- introspection_compiler_args = ""
322
- dependencies.each do |dependent_package|
323
- gir_dir = "#{compute_base_dir.call(dependent_package)}/share/gir-1.0"
324
- introspection_compiler_args << " --includedir=#{gir_dir}"
325
- end
326
- if package.windows.gobject_introspection_compiler_split_args?
327
- common_make_args << introspection_compiler
328
- common_make_args <<
329
- "INTROSPECTION_COMPILER_ARGS=#{introspection_compiler_args}"
330
- common_make_args <<
331
- "INTROSPECTION_COMPILER_OPTS=#{introspection_compiler_args}"
332
- else
333
- introspection_compiler << " #{introspection_compiler_args}"
334
- common_make_args << introspection_compiler
335
- end
336
-
337
- common_make_args << dlltool_env
338
-
339
- data_dirs = dependencies.collect do |dependent_package|
340
- "#{compute_base_dir.call(dependent_package)}/share"
341
- end
342
- common_make_args << "XDG_DATA_DIRS=#{data_dirs.join(File::PATH_SEPARATOR)}"
343
- end
344
- end
8
+ module GNOME2
9
+ module Rake
10
+ class WindowsBinaryBuildTask
11
+ include ::Rake::DSL
12
+
13
+ def initialize(package)
14
+ @package = package
15
+ end
16
+
17
+ def define
18
+ namespace :windows do
19
+ namespace :builder do
20
+ task :before
21
+ define_build_tasks
22
+ build_tasks = build_packages.collect do |package|
23
+ "windows:builder:build:#{package.name}"
24
+ end
25
+ task :build => build_tasks
26
+ task :after
27
+ end
28
+ desc "Build Windows binaries"
29
+ task :build => ["windows:builder:before",
30
+ "windows:builder:build",
31
+ "windows:builder:after"]
32
+ end
33
+ end
34
+
35
+ def rcairo_windows_binary_base_dir
36
+ rcairo_windows_dir + "vendor" + "local"
37
+ end
38
+
39
+ private
40
+ def define_build_tasks
41
+ namespace :build do
42
+ prepare_task_names = []
43
+ namespace :prepare do
44
+ prepare_task_names << "pkg_config"
45
+ task :pkg_config do
46
+ depended_packages = @package.windows.build_dependencies
47
+ use_packages = [@package.name] + depended_packages
48
+ pkg_config_path = use_packages.collect do |package|
49
+ "../#{package}/#{@package.windows.relative_binary_dir}/lib/pkgconfig"
50
+ end
51
+ ENV["PKG_CONFIG_PATH"] = pkg_config_path.collect do |path|
52
+ File.expand_path(path)
53
+ end.join(":")
54
+ ENV["PKG_CONFIG_LIBDIR"] = rcairo_windows_pkgconfig_path
55
+ end
56
+
57
+ prepare_task_names << "pkg_config_for_build"
58
+ task :pkg_config_for_build do
59
+ # XXX: Is it needless?
60
+ # ENV["PKG_CONFIG_FOR_BUILD"] = "env - pkg-config"
61
+ end
62
+ end
63
+
64
+ full_prepare_task_names = prepare_task_names.collect do |name|
65
+ "windows:builder:build:prepare:#{name}"
66
+ end
67
+ task :prepare => full_prepare_task_names
68
+
69
+ build_packages.each do |package|
70
+ namespace package.name do
71
+ task :before
72
+ download_task = "source:downloader:download:#{package.name}"
73
+ built_file = package.windows.built_file
74
+ if built_file
75
+ built_file = dist_dir + built_file
76
+ file built_file.to_s do
77
+ ::Rake::Task["windows:builder:build:prepare"].invoke
78
+ ::Rake::Task[download_task].invoke
79
+ build_package_task_body(package)
80
+ end
81
+ task :build => built_file.to_s
82
+ else
83
+ task :build => [:prepare, download_task] do
84
+ build_package_task_body(package)
85
+ end
86
+ end
87
+ task :after
88
+ end
89
+
90
+ prefix = "windows:builder:build:#{package.name}"
91
+ desc "Build #{package.label} and install it into #{dist_dir}."
92
+ task package.name => [
93
+ "#{prefix}:before",
94
+ "#{prefix}:build",
95
+ "#{prefix}:after",
96
+ ]
97
+ end
98
+ end
99
+ end
100
+
101
+ def build_package_task_body(package)
102
+ package_tmp_dir = @package.tmp_dir + "windows" + package.name
103
+ rm_rf(package_tmp_dir)
104
+ mkdir_p(package_tmp_dir)
105
+
106
+ tar_full_path = @package.download_dir + package.archive_base_name
107
+ Dir.chdir(package_tmp_dir.to_s) do
108
+ sh("tar", "xf", tar_full_path.to_s)
109
+ end
110
+
111
+ package_dir_path =
112
+ package_tmp_dir + package.base_name + package.base_dir_in_package
113
+ Dir.chdir(package_dir_path.to_s) do
114
+ package.windows.patches.each do |patch|
115
+ sh("patch -p1 < #{@package.patches_dir}/#{patch}")
116
+ end
117
+ if File.exist?("configure")
118
+ configure(package)
119
+ else
120
+ cmake(package)
121
+ end
122
+ common_make_args = []
123
+ common_make_args << "MAKE=make"
124
+ common_make_args << "GLIB_COMPILE_SCHEMAS=glib-compile-schemas"
125
+ if package.windows.use_cc_environment_variable?
126
+ common_make_args << cc_env(package)
127
+ end
128
+ add_gobject_introspection_make_args(package, common_make_args)
129
+ build_make_args = common_make_args.dup
130
+ install_make_args = common_make_args.dup
131
+ if package.windows.build_concurrently?
132
+ make_n_jobs = ENV["MAKE_N_JOBS"]
133
+ build_make_args << "-j#{make_n_jobs}" if make_n_jobs
134
+ end
135
+ ENV["GREP_OPTIONS"] = "--text"
136
+ # ENV["GI_SCANNER_DEBUG"] = "save-temps"
137
+ # build_make_args << "--debug"
138
+ # build_make_args << "V=1"
139
+ sh("nice", "make", *build_make_args) or exit(false)
140
+ sh("make", "install", *install_make_args) or exit(false)
141
+
142
+ package_license_dir = license_dir + package.name
143
+ mkdir_p(package_license_dir)
144
+ package_license_files = ["AUTHORS", "COPYING", "COPYING.LIB"]
145
+ package_license_files = package_license_files.reject do |file|
146
+ not File.exist?(file)
147
+ end
148
+ cp(package_license_files, package_license_dir)
149
+ bundled_packages = package.bundled_packages
150
+ bundled_packages.each do |bundled_package|
151
+ bundled_package_license_dir = license_dir + bundled_package[:name]
152
+ mkdir_p(bundled_package_license_dir)
153
+ license_files = bundled_package[:license_files].collect do |file|
154
+ File.join(bundled_package[:path], file)
155
+ end
156
+ cp(license_files, bundled_package_license_dir)
157
+ end
158
+ end
159
+ end
160
+
161
+ def configure(package)
162
+ sh("./autogen.sh") if package.windows.need_autogen?
163
+ sh("autoreconf", "--install", "--force") if package.windows.need_autoreconf?
164
+ sh("./configure",
165
+ cc_env(package),
166
+ dlltool_env,
167
+ "CPPFLAGS=#{cppflags(package)}",
168
+ "LDFLAGS=#{ldflags(package)}",
169
+ "--prefix=#{dist_dir}",
170
+ "--host=#{@package.windows.build_host}",
171
+ *package.windows.configure_args) or exit(false)
172
+ end
173
+
174
+ def cmake(package)
175
+ sh("cmake",
176
+ ".",
177
+ "-DCMAKE_INSTALL_PREFIX=#{dist_dir}",
178
+ "-DCMAKE_SYSTEM_NAME=Windows",
179
+ "-DCMAKE_SYSTEM_PROCESSOR=#{@package.windows.build_architecture}",
180
+ "-DCMAKE_C_COMPILER=#{cc(package)}",
181
+ "-DCMAKE_CXX_COMPILER=#{cxx(package)}",
182
+ *package.windows.cmake_args) or exit(false)
183
+ end
184
+
185
+ def cc_env(package)
186
+ "CC=#{cc(package)}"
187
+ end
188
+
189
+ def dlltool_env
190
+ "DLLTOOL=#{dlltool}"
191
+ end
192
+
193
+ def build_packages
194
+ packages = @package.external_packages.select do |package|
195
+ package.windows.build?
196
+ end
197
+ # For backward compatibility
198
+ packages + @package.windows.build_packages
199
+ end
200
+
201
+ def dist_dir
202
+ @package.windows.absolute_binary_dir
203
+ end
204
+
205
+ def license_dir
206
+ dist_dir + "share" + "license"
207
+ end
208
+
209
+ def glib2_binary_base_dir
210
+ @package.glib2_root_dir + "vendor" + "local"
211
+ end
212
+
213
+ def glib2_include_path
214
+ "#{glib2_binary_base_dir}/include"
215
+ end
216
+
217
+ def glib2_lib_path
218
+ "#{glib2_binary_base_dir}/lib"
219
+ end
220
+
221
+ def rcairo_windows_dir
222
+ suffix = @package.windows.build_architecture_suffix
223
+ @package.project_root_dir.parent + "rcairo.#{suffix}"
224
+ end
225
+
226
+ def rcairo_windows_pkgconfig_path
227
+ "#{rcairo_windows_binary_base_dir}/lib/pkgconfig"
228
+ end
229
+
230
+ def rcairo_windows_include_path
231
+ "#{rcairo_windows_binary_base_dir}/include"
232
+ end
233
+
234
+ def rcairo_windows_lib_path
235
+ "#{rcairo_windows_binary_base_dir}/lib"
236
+ end
237
+
238
+ def cc(package)
239
+ cc_command_line = [
240
+ "#{@package.windows.build_host}-gcc",
241
+ *package.windows.cc_args,
242
+ ]
243
+ cc_command_line.compact.join(" ")
244
+ end
245
+
246
+ def cxx(package)
247
+ cxx_command_line = [
248
+ "#{@package.windows.build_host}-g++",
249
+ ]
250
+ cxx_command_line.compact.join(" ")
251
+ end
252
+
253
+ def dlltool
254
+ "#{@package.windows.build_host}-dlltool"
255
+ end
256
+
257
+ def cppflags(package)
258
+ include_paths = package.windows.include_paths
259
+ if @package.windows.build_dependencies.include?("glib2")
260
+ include_paths += [glib2_include_path]
261
+ end
262
+ include_paths += [
263
+ rcairo_windows_include_path,
264
+ dist_dir + 'include',
265
+ ]
266
+ cppflags = include_paths.collect do |path|
267
+ "-I#{path}"
268
+ end
269
+ cppflags.join(" ")
270
+ end
271
+
272
+ def ldflags(package)
273
+ library_paths = package.windows.library_paths
274
+ if @package.windows.build_dependencies.include?("glib2")
275
+ library_paths += [glib2_lib_path]
276
+ end
277
+ library_paths += [
278
+ rcairo_windows_lib_path,
279
+ dist_dir + 'lib',
280
+ ]
281
+ ldflags = library_paths.collect do |path|
282
+ "-L#{path}"
283
+ end
284
+ ldflags.join(" ")
285
+ end
286
+
287
+ def cmake_root_paths
288
+ paths = [
289
+ "/usr/#{@package.windows.build_host}",
290
+ rcairo_windows_binary_base_dir.to_path,
291
+ ]
292
+ @package.windows.build_dependencies.each do |package|
293
+ paths << "#{@package.project_root_dir}/#{package}/vendor/local"
294
+ end
295
+ paths
296
+ end
297
+
298
+ def add_gobject_introspection_make_args(package, common_make_args)
299
+ return unless use_gobject_introspection?(package)
300
+
301
+ g_ir_scanner = "#{@package.project_root_dir}/gobject-introspection/"
302
+ g_ir_scanner << "#{@package.native.relative_binary_dir}/bin/g-ir-scanner"
303
+ introspection_scanner = "INTROSPECTION_SCANNER=#{g_ir_scanner}"
304
+ common_make_args << introspection_scanner
305
+
306
+
307
+ dependencies = [
308
+ "gobject-introspection",
309
+ @package.name,
310
+ ]
311
+ dependencies += @package.windows.gobject_introspection_dependencies
312
+
313
+ compute_base_dir = lambda do |dependent_package|
314
+ "#{@package.project_root_dir}/#{dependent_package}/vendor/local"
315
+ end
316
+
317
+ gi_base_dir = compute_base_dir.call("gobject-introspection")
318
+ introspection_compiler = "INTROSPECTION_COMPILER="
319
+ introspection_compiler << "#{gi_base_dir}/bin/g-ir-compiler.exe"
320
+ introspection_compiler_args = ""
321
+ dependencies.each do |dependent_package|
322
+ gir_dir = "#{compute_base_dir.call(dependent_package)}/share/gir-1.0"
323
+ introspection_compiler_args << " --includedir=#{gir_dir}"
324
+ end
325
+ if package.windows.gobject_introspection_compiler_split_args?
326
+ common_make_args << introspection_compiler
327
+ common_make_args <<
328
+ "INTROSPECTION_COMPILER_ARGS=#{introspection_compiler_args}"
329
+ common_make_args <<
330
+ "INTROSPECTION_COMPILER_OPTS=#{introspection_compiler_args}"
331
+ else
332
+ introspection_compiler << " #{introspection_compiler_args}"
333
+ common_make_args << introspection_compiler
334
+ end
335
+
336
+ common_make_args << dlltool_env
337
+
338
+ data_dirs = dependencies.collect do |dependent_package|
339
+ "#{compute_base_dir.call(dependent_package)}/share"
340
+ end
341
+ common_make_args << "XDG_DATA_DIRS=#{data_dirs.join(File::PATH_SEPARATOR)}"
342
+ end
343
+
344
+ def use_gobject_introspection?(package)
345
+ return false unless package.windows.use_gobject_introspection?
346
+ @package.windows.build_dependencies.include?("gobject-introspection")
347
+ end
348
+ end
349
+ end
350
+ end