rsvg2 0.90.4-x86-mingw32 → 0.90.5-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (242) hide show
  1. data/Rakefile +13 -2
  2. data/ext/rsvg2/extconf.rb +8 -0
  3. data/lib/1.8/rsvg2.so +0 -0
  4. data/lib/1.9/rsvg2.so +0 -0
  5. data/vendor/local/bin/gsf-office-thumbnailer.exe +0 -0
  6. data/vendor/local/bin/gtk-demo.exe +0 -0
  7. data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
  8. data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
  9. data/vendor/local/bin/libcairo-2.dll +0 -0
  10. data/vendor/local/bin/libcairo-gobject-2.dll +0 -0
  11. data/vendor/local/bin/libcairo-script-interpreter-2.dll +0 -0
  12. data/vendor/local/bin/libgailutil-18.dll +0 -0
  13. data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
  14. data/vendor/local/bin/libgsf-1-114.dll +0 -0
  15. data/vendor/local/bin/libgsf-gnome-1-114.dll +0 -0
  16. data/vendor/local/bin/libgsf-win32-1-114.dll +0 -0
  17. data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
  18. data/vendor/local/bin/libpango-1.0-0.dll +0 -0
  19. data/vendor/local/bin/libpangocairo-1.0-0.dll +0 -0
  20. data/vendor/local/bin/libpangoft2-1.0-0.dll +0 -0
  21. data/vendor/local/bin/libpangowin32-1.0-0.dll +0 -0
  22. data/vendor/local/bin/pango-querymodules.exe +0 -0
  23. data/vendor/local/bin/pango-view.exe +0 -0
  24. data/vendor/local/bin/pkg-config.exe +0 -0
  25. data/vendor/local/etc/gconf/schemas/gsf-office-thumbnailer.schemas +4073 -0
  26. data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
  27. data/vendor/local/etc/pango/pango.modules +1 -1
  28. data/vendor/local/gtk+-bundle_2.22.0-20101016_win32.README.txt +29 -0
  29. data/vendor/local/include/libgsf-1/gsf-gnome/gsf-input-bonobo.h +41 -0
  30. data/vendor/local/include/libgsf-1/gsf-gnome/gsf-input-gnomevfs.h +53 -0
  31. data/vendor/local/include/libgsf-1/gsf-gnome/gsf-output-bonobo.h +41 -0
  32. data/vendor/local/include/libgsf-1/gsf-gnome/gsf-output-gnomevfs.h +49 -0
  33. data/vendor/local/include/libgsf-1/gsf-gnome/gsf-shared-bonobo-stream.h +47 -0
  34. data/vendor/local/include/libgsf-1/gsf-win32/gsf-input-win32.h +41 -0
  35. data/vendor/local/include/libgsf-1/gsf-win32/gsf-output-win32.h +41 -0
  36. data/vendor/local/include/libgsf-1/gsf/gsf-blob.h +45 -0
  37. data/vendor/local/include/libgsf-1/gsf/gsf-clip-data.h +66 -0
  38. data/vendor/local/include/libgsf-1/gsf/gsf-doc-meta-data.h +67 -0
  39. data/vendor/local/include/libgsf-1/gsf/gsf-docprop-vector.h +48 -0
  40. data/vendor/local/include/libgsf-1/gsf/gsf-impl-utils.h +156 -0
  41. data/vendor/local/include/libgsf-1/gsf/gsf-infile-impl.h +50 -0
  42. data/vendor/local/include/libgsf-1/gsf/gsf-infile-msole.h +45 -0
  43. data/vendor/local/include/libgsf-1/gsf/gsf-infile-msvba.h +48 -0
  44. data/vendor/local/include/libgsf-1/gsf/gsf-infile-stdio.h +43 -0
  45. data/vendor/local/include/libgsf-1/gsf/gsf-infile-tar.h +40 -0
  46. data/vendor/local/include/libgsf-1/gsf/gsf-infile-zip.h +43 -0
  47. data/vendor/local/include/libgsf-1/gsf/gsf-infile.h +47 -0
  48. data/vendor/local/include/libgsf-1/gsf/gsf-input-bzip.h +34 -0
  49. data/vendor/local/include/libgsf-1/gsf/gsf-input-gio.h +43 -0
  50. data/vendor/local/include/libgsf-1/gsf/gsf-input-gzip.h +42 -0
  51. data/vendor/local/include/libgsf-1/gsf/gsf-input-http.h +44 -0
  52. data/vendor/local/include/libgsf-1/gsf/gsf-input-impl.h +69 -0
  53. data/vendor/local/include/libgsf-1/gsf/gsf-input-iochannel.h +35 -0
  54. data/vendor/local/include/libgsf-1/gsf/gsf-input-memory.h +45 -0
  55. data/vendor/local/include/libgsf-1/gsf/gsf-input-proxy.h +45 -0
  56. data/vendor/local/include/libgsf-1/gsf/gsf-input-stdio.h +46 -0
  57. data/vendor/local/include/libgsf-1/gsf/gsf-input-textline.h +45 -0
  58. data/vendor/local/include/libgsf-1/gsf/gsf-input.h +65 -0
  59. data/vendor/local/include/libgsf-1/gsf/gsf-libxml.h +194 -0
  60. data/vendor/local/include/libgsf-1/gsf/gsf-meta-names.h +482 -0
  61. data/vendor/local/include/libgsf-1/gsf/gsf-msole-utils.h +54 -0
  62. data/vendor/local/include/libgsf-1/gsf/gsf-open-pkg-utils.h +92 -0
  63. data/vendor/local/include/libgsf-1/gsf/gsf-opendoc-utils.h +106 -0
  64. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-impl.h +48 -0
  65. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-msole.h +50 -0
  66. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-stdio.h +48 -0
  67. data/vendor/local/include/libgsf-1/gsf/gsf-outfile-zip.h +61 -0
  68. data/vendor/local/include/libgsf-1/gsf/gsf-outfile.h +50 -0
  69. data/vendor/local/include/libgsf-1/gsf/gsf-output-bzip.h +42 -0
  70. data/vendor/local/include/libgsf-1/gsf/gsf-output-csv.h +74 -0
  71. data/vendor/local/include/libgsf-1/gsf/gsf-output-gio.h +43 -0
  72. data/vendor/local/include/libgsf-1/gsf/gsf-output-gzip.h +42 -0
  73. data/vendor/local/include/libgsf-1/gsf/gsf-output-iconv.h +46 -0
  74. data/vendor/local/include/libgsf-1/gsf/gsf-output-impl.h +38 -0
  75. data/vendor/local/include/libgsf-1/gsf/gsf-output-iochannel.h +42 -0
  76. data/vendor/local/include/libgsf-1/gsf/gsf-output-memory.h +43 -0
  77. data/vendor/local/include/libgsf-1/gsf/gsf-output-stdio.h +51 -0
  78. data/vendor/local/include/libgsf-1/gsf/gsf-output.h +98 -0
  79. data/vendor/local/include/libgsf-1/gsf/gsf-shared-memory.h +52 -0
  80. data/vendor/local/include/libgsf-1/gsf/gsf-structured-blob.h +46 -0
  81. data/vendor/local/include/libgsf-1/gsf/gsf-timestamp.h +64 -0
  82. data/vendor/local/include/libgsf-1/gsf/gsf-utils.h +331 -0
  83. data/vendor/local/include/libgsf-1/gsf/gsf.h +104 -0
  84. data/vendor/local/include/pango-1.0/pango/pango-enum-types.h +2 -2
  85. data/vendor/local/include/pango-1.0/pango/pango-features.h +2 -2
  86. data/vendor/local/include/pixman-1/pixman-version.h +50 -0
  87. data/vendor/local/include/pixman-1/pixman.h +936 -0
  88. data/vendor/local/lib/cairo.lib +0 -0
  89. data/vendor/local/lib/gailutil.lib +0 -0
  90. data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
  91. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
  92. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
  93. data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
  94. data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
  95. data/vendor/local/lib/libcairo-gobject.dll.a +0 -0
  96. data/vendor/local/lib/libcairo-script-interpreter.dll.a +0 -0
  97. data/vendor/local/lib/libcairo.dll.a +0 -0
  98. data/vendor/local/lib/libgailutil.dll.a +0 -0
  99. data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
  100. data/vendor/local/lib/libgsf-1.dll.a +0 -0
  101. data/vendor/local/lib/libgsf-gnome-1.dll.a +0 -0
  102. data/vendor/local/lib/libgsf-win32-1.dll.a +0 -0
  103. data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
  104. data/vendor/local/lib/libpango-1.0.dll.a +0 -0
  105. data/vendor/local/lib/libpangocairo-1.0.dll.a +0 -0
  106. data/vendor/local/lib/libpangoft2-1.0.dll.a +0 -0
  107. data/vendor/local/lib/libpangowin32-1.0.dll.a +0 -0
  108. data/vendor/local/lib/libpixman-1.a +0 -0
  109. data/vendor/local/lib/pango-1.0.lib +0 -0
  110. data/vendor/local/lib/pangocairo-1.0.lib +0 -0
  111. data/vendor/local/lib/pangoft2-1.0.lib +0 -0
  112. data/vendor/local/lib/pangowin32-1.0.lib +0 -0
  113. data/vendor/local/lib/pkgconfig/cairo-fc.pc +1 -1
  114. data/vendor/local/lib/pkgconfig/cairo-ft.pc +1 -1
  115. data/vendor/local/lib/pkgconfig/cairo-gobject.pc +1 -1
  116. data/vendor/local/lib/pkgconfig/cairo-pdf.pc +1 -1
  117. data/vendor/local/lib/pkgconfig/cairo-png.pc +1 -1
  118. data/vendor/local/lib/pkgconfig/cairo-ps.pc +1 -1
  119. data/vendor/local/lib/pkgconfig/cairo-svg.pc +1 -1
  120. data/vendor/local/lib/pkgconfig/cairo-win32-font.pc +1 -1
  121. data/vendor/local/lib/pkgconfig/cairo-win32.pc +1 -1
  122. data/vendor/local/lib/pkgconfig/cairo.pc +1 -1
  123. data/vendor/local/lib/pkgconfig/gail.pc +1 -1
  124. data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
  125. data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
  126. data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
  127. data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
  128. data/vendor/local/lib/pkgconfig/libgsf-1.pc +11 -0
  129. data/vendor/local/lib/pkgconfig/libgsf-gnome-1.pc +11 -0
  130. data/vendor/local/lib/pkgconfig/libgsf-win32-1.pc +11 -0
  131. data/vendor/local/lib/pkgconfig/pango.pc +2 -2
  132. data/vendor/local/lib/pkgconfig/pangocairo.pc +2 -2
  133. data/vendor/local/lib/pkgconfig/pangoft2.pc +2 -2
  134. data/vendor/local/lib/pkgconfig/pangowin32.pc +2 -2
  135. data/vendor/local/lib/pkgconfig/pixman-1.pc +11 -0
  136. data/vendor/local/manifest/{cairo-dev_1.10.0-1_win32.mft → cairo-dev_1.10.0-2_win32.mft} +6 -4
  137. data/vendor/local/manifest/cairo_1.10.0-2_win32.mft +7 -0
  138. data/vendor/local/manifest/gtk+-bundle_2.22.0-20101016_win32.mft +2910 -0
  139. data/vendor/local/manifest/libgsf-dev_1.14.17-1_win32.mft +57 -0
  140. data/vendor/local/manifest/libgsf-gnome-dev_1.14.17-1_win32.mft +9 -0
  141. data/vendor/local/manifest/libgsf-gnome_1.14.17-1_win32.mft +3 -0
  142. data/vendor/local/manifest/libgsf_1.14.17-1_win32.mft +18 -0
  143. data/vendor/local/manifest/{pango-dev_1.28.1-2_win32.mft → pango-dev_1.28.3-1_win32.mft} +5 -5
  144. data/vendor/local/manifest/{pango_1.28.1-2_win32.mft → pango_1.28.3-1_win32.mft} +2 -2
  145. data/vendor/local/share/aclocal/pkg.m4 +155 -0
  146. data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING +33 -0
  147. data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING-LGPL-2.1 +510 -0
  148. data/vendor/local/share/doc/cairo_1.10.0-2_win32/COPYING-MPL-1.1 +470 -0
  149. data/vendor/local/share/doc/gtk+-bundle_2.22.0-20101016_win32/components.lst +28 -0
  150. data/vendor/local/share/doc/{pango-1.28.1 → pango-1.28.3}/COPYING +0 -0
  151. data/vendor/local/share/doc/{pango-dev-1.28.1 → pango-dev-1.28.3}/COPYING +0 -0
  152. data/vendor/local/share/gtk-doc/html/pango/PangoEngineLang.html +44 -50
  153. data/vendor/local/share/gtk-doc/html/pango/PangoEngineShape.html +45 -51
  154. data/vendor/local/share/gtk-doc/html/pango/PangoFcDecoder.html +44 -61
  155. data/vendor/local/share/gtk-doc/html/pango/PangoFcFont.html +89 -101
  156. data/vendor/local/share/gtk-doc/html/pango/PangoFcFontMap.html +173 -171
  157. data/vendor/local/share/gtk-doc/html/pango/PangoMarkupFormat.html +6 -27
  158. data/vendor/local/share/gtk-doc/html/pango/index-1.10.html +3 -24
  159. data/vendor/local/share/gtk-doc/html/pango/index-1.12.html +3 -24
  160. data/vendor/local/share/gtk-doc/html/pango/index-1.14.html +3 -24
  161. data/vendor/local/share/gtk-doc/html/pango/index-1.16.html +3 -24
  162. data/vendor/local/share/gtk-doc/html/pango/index-1.18.html +5 -26
  163. data/vendor/local/share/gtk-doc/html/pango/index-1.2.html +3 -24
  164. data/vendor/local/share/gtk-doc/html/pango/index-1.20.html +5 -26
  165. data/vendor/local/share/gtk-doc/html/pango/index-1.22.html +5 -26
  166. data/vendor/local/share/gtk-doc/html/pango/index-1.24.html +3 -24
  167. data/vendor/local/share/gtk-doc/html/pango/index-1.26.html +3 -24
  168. data/vendor/local/share/gtk-doc/html/pango/index-1.28.html +3 -24
  169. data/vendor/local/share/gtk-doc/html/pango/index-1.4.html +3 -24
  170. data/vendor/local/share/gtk-doc/html/pango/index-1.6.html +6 -27
  171. data/vendor/local/share/gtk-doc/html/pango/index-1.8.html +22 -43
  172. data/vendor/local/share/gtk-doc/html/pango/index-all.html +70 -91
  173. data/vendor/local/share/gtk-doc/html/pango/index-deprecated.html +3 -24
  174. data/vendor/local/share/gtk-doc/html/pango/index.html +5 -26
  175. data/vendor/local/share/gtk-doc/html/pango/index.sgml +31 -30
  176. data/vendor/local/share/gtk-doc/html/pango/lowlevel.html +6 -27
  177. data/vendor/local/share/gtk-doc/html/pango/pango-ATSUI-Fonts.html +20 -39
  178. data/vendor/local/share/gtk-doc/html/pango/pango-Bidirectional-Text.html +73 -88
  179. data/vendor/local/share/gtk-doc/html/pango/pango-Cairo-Rendering.html +405 -320
  180. data/vendor/local/share/gtk-doc/html/pango/pango-Coverage-Maps.html +85 -97
  181. data/vendor/local/share/gtk-doc/html/pango/pango-Engines.html +69 -84
  182. data/vendor/local/share/gtk-doc/html/pango/pango-Fonts.html +695 -645
  183. data/vendor/local/share/gtk-doc/html/pango/pango-FreeType-Fonts-and-Rendering.html +225 -228
  184. data/vendor/local/share/gtk-doc/html/pango/pango-Glyph-Storage.html +523 -494
  185. data/vendor/local/share/gtk-doc/html/pango/pango-Layout-Objects.html +819 -742
  186. data/vendor/local/share/gtk-doc/html/pango/pango-Miscellaneous-Utilities.html +203 -204
  187. data/vendor/local/share/gtk-doc/html/pango/pango-Modules.html +58 -75
  188. data/vendor/local/share/gtk-doc/html/pango/pango-OpenType-Font-Handling.html +422 -405
  189. data/vendor/local/share/gtk-doc/html/pango/pango-Scripts-and-Languages.html +144 -142
  190. data/vendor/local/share/gtk-doc/html/pango/pango-Tab-Stops.html +120 -130
  191. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Attributes.html +618 -576
  192. data/vendor/local/share/gtk-doc/html/pango/pango-Text-Processing.html +397 -384
  193. data/vendor/local/share/gtk-doc/html/pango/pango-Version-Checking.html +44 -58
  194. data/vendor/local/share/gtk-doc/html/pango/pango-Vertical-Text.html +73 -84
  195. data/vendor/local/share/gtk-doc/html/pango/pango-Win32-Fonts-and-Rendering.html +220 -217
  196. data/vendor/local/share/gtk-doc/html/pango/pango-X-Fonts-and-Rendering.html +303 -302
  197. data/vendor/local/share/gtk-doc/html/pango/pango-Xft-Fonts-and-Rendering.html +293 -292
  198. data/vendor/local/share/gtk-doc/html/pango/pango-hierarchy.html +5 -26
  199. data/vendor/local/share/gtk-doc/html/pango/pango-pango-renderer.html +1009 -0
  200. data/vendor/local/share/gtk-doc/html/pango/pango-querymodules.html +7 -28
  201. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp +68 -68
  202. data/vendor/local/share/gtk-doc/html/pango/pango.devhelp2 +72 -72
  203. data/vendor/local/share/gtk-doc/html/pango/pango.html +3 -24
  204. data/vendor/local/share/gtk-doc/html/pango/rendering.html +3 -24
  205. data/vendor/local/share/gtk-doc/html/pango/style.css +21 -13
  206. data/vendor/local/share/gtk-doc/html/pango/tools.html +3 -24
  207. data/vendor/local/share/locale/de/LC_MESSAGES/libgsf.mo +0 -0
  208. data/vendor/local/share/locale/en_GB/LC_MESSAGES/libgsf.mo +0 -0
  209. data/vendor/local/share/locale/es/LC_MESSAGES/libgsf.mo +0 -0
  210. data/vendor/local/share/locale/eu/LC_MESSAGES/libgsf.mo +0 -0
  211. data/vendor/local/share/locale/fr/LC_MESSAGES/libgsf.mo +0 -0
  212. data/vendor/local/share/locale/nb/LC_MESSAGES/libgsf.mo +0 -0
  213. data/vendor/local/share/locale/oc/LC_MESSAGES/libgsf.mo +0 -0
  214. data/vendor/local/share/locale/pa/LC_MESSAGES/libgsf.mo +0 -0
  215. data/vendor/local/share/locale/pt/LC_MESSAGES/libgsf.mo +0 -0
  216. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/libgsf.mo +0 -0
  217. data/vendor/local/share/locale/sl/LC_MESSAGES/libgsf.mo +0 -0
  218. data/vendor/local/share/locale/sv/LC_MESSAGES/libgsf.mo +0 -0
  219. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/libgsf.mo +0 -0
  220. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/libgsf.mo +0 -0
  221. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/libgsf.mo +0 -0
  222. data/vendor/local/share/man/man1/pango-querymodules.1 +2 -2
  223. data/vendor/local/share/man/man1/pango-view.1 +1 -1
  224. data/vendor/local/src/tml/packaging/cairo_1.10.0-2_win32.log +1263 -0
  225. data/vendor/local/src/tml/packaging/cairo_1.10.0-2_win32.sh +84 -0
  226. data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.log → gtk+_2.22.0-2_win32.log} +1835 -1832
  227. data/vendor/local/src/tml/packaging/{gtk+_2.22.0-1_win32.sh → gtk+_2.22.0-2_win32.sh} +26 -1
  228. data/vendor/local/src/tml/packaging/libgsf_1.14.17-1_win32.log +1616 -0
  229. data/vendor/local/src/tml/packaging/libgsf_1.14.17-1_win32.sh +73 -0
  230. data/vendor/local/src/tml/packaging/{pango_1.28.1-2_win32.log → pango_1.28.3-1_win32.log} +293 -413
  231. data/vendor/local/src/tml/packaging/pango_1.28.3-1_win32.sh +56 -0
  232. data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.log +291 -0
  233. data/vendor/local/src/tml/packaging/pixman_0.18.4-2_win32.sh +141 -0
  234. data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.log +215 -0
  235. data/vendor/local/src/tml/packaging/pkg-config_0.23-3_win32.sh +278 -0
  236. metadata +3053 -2947
  237. data/ext/rsvg2/Makefile +0 -155
  238. data/vendor/local/manifest/cairo_1.10.0-1_win32.mft +0 -5
  239. data/vendor/local/manifest/gtk+-dev_2.22.0-1_win32.mft +0 -947
  240. data/vendor/local/manifest/gtk+_2.22.0-1_win32.mft +0 -225
  241. data/vendor/local/share/gtk-doc/html/pango/PangoRenderer.html +0 -1002
  242. data/vendor/local/src/tml/packaging/pango_1.28.1-2_win32.sh +0 -579
@@ -0,0 +1,215 @@
1
+ +++ latest --arch=win32 glib
2
+ ++ GLIB=glib-2.20.3-1
3
+ +++ latest --arch=win32 proxy-libintl
4
+ ++ PROXY_LIBINTL=proxy-libintl-20080918
5
+ ++ sed -e 's/need_relink=yes/need_relink=no # no way --tml/'
6
+ ++ mv ltmain.temp ltmain.sh
7
+ ++ sed -e 's/-lglib-2.0 -liconv -lintl/-lglib-2.0/'
8
+ ++ mv configure.temp configure
9
+ ++ PKG_CONFIG_PATH=/devel/dist/win32/glib-2.20.3-1/lib/pkgconfig
10
+ ++ patch -p0
11
+ patching file `./ChangeLog'
12
+ patching file `./main.c'
13
+ patching file `./parse.c'
14
+ patching file `./pkg-config.1'
15
+ ++ CC='gcc -mtune=pentium3 -mthreads'
16
+ +++ /opt/local/bin/pkg-config.sh --cflags glib-2.0
17
+ ++ CPPFLAGS='-mms-bitfields -Ic:/devel/dist/win32/glib-2.20.3-1/include/glib-2.0 -Ic:/devel/dist/win32/glib-2.20.3-1/lib/glib-2.0/include -I/devel/dist/win32/proxy-libintl-20080918/include'
18
+ +++ /opt/local/bin/pkg-config.sh --libs glib-2.0
19
+ ++ LDFLAGS='-Lc:/devel/dist/win32/glib-2.20.3-1/lib -lglib-2.0 -lintl -L/devel/dist/win32/proxy-libintl-20080918/lib -Wl,--exclude-libs=libintl.a'
20
+ ++ CFLAGS=-O2
21
+ ++ ./configure --disable-static --prefix=c:/devel/target/ee2096576188f9b37bc66c6c2aa39813
22
+ checking for a BSD-compatible install... /opt/local/bin/install -c
23
+ checking whether build environment is sane... yes
24
+ checking for gawk... gawk
25
+ checking whether make sets $(MAKE)... yes
26
+ checking whether to enable maintainer-specific portions of Makefiles... no
27
+ checking build system type... i686-pc-mingw32
28
+ checking host system type... i686-pc-mingw32
29
+ checking for style of include used by make... GNU
30
+ checking for gcc... gcc -mtune=pentium3 -mthreads
31
+ checking for C compiler default output file name... a.exe
32
+ checking whether the C compiler works... yes
33
+ checking whether we are cross compiling... no
34
+ checking for suffix of executables... .exe
35
+ checking for suffix of object files... o
36
+ checking whether we are using the GNU C compiler... yes
37
+ checking whether gcc -mtune=pentium3 -mthreads accepts -g... yes
38
+ checking for gcc -mtune=pentium3 -mthreads option to accept ISO C89... none needed
39
+ checking dependency style of gcc -mtune=pentium3 -mthreads... gcc3
40
+ checking for a sed that does not truncate output... /bin/sed
41
+ checking for grep that handles long lines and -e... /opt/gnuwin32/bin/grep
42
+ checking for egrep... /opt/gnuwin32/bin/grep -E
43
+ checking for ld used by gcc -mtune=pentium3 -mthreads... c:/opt/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/bin/ld.exe
44
+ checking if the linker (c:/opt/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/bin/ld.exe) is GNU ld... yes
45
+ checking for c:/opt/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/bin/ld.exe option to reload object files... -r
46
+ checking for BSD-compatible nm... /opt/mingw/bin/nm
47
+ checking whether ln -s works... yes
48
+ checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
49
+ checking how to run the C preprocessor... gcc -mtune=pentium3 -mthreads -E
50
+ checking for ANSI C header files... yes
51
+ checking for sys/types.h... yes
52
+ checking for sys/stat.h... yes
53
+ checking for stdlib.h... yes
54
+ checking for string.h... yes
55
+ checking for memory.h... yes
56
+ checking for strings.h... yes
57
+ checking for inttypes.h... yes
58
+ checking for stdint.h... yes
59
+ checking for unistd.h... yes
60
+ checking dlfcn.h usability... no
61
+ checking dlfcn.h presence... no
62
+ checking for dlfcn.h... no
63
+ checking for g++... g++
64
+ checking whether we are using the GNU C++ compiler... yes
65
+ checking whether g++ accepts -g... yes
66
+ checking dependency style of g++... gcc3
67
+ checking how to run the C++ preprocessor... g++ -E
68
+ checking for g77... g77
69
+ checking whether we are using the GNU Fortran 77 compiler... yes
70
+ checking whether g77 accepts -g... yes
71
+ checking the maximum length of command line arguments... 8192
72
+ checking command to parse /opt/mingw/bin/nm output from gcc -mtune=pentium3 -mthreads object... ok
73
+ checking for objdir... .libs
74
+ checking for ar... ar
75
+ checking for ranlib... ranlib
76
+ checking for strip... strip
77
+ checking if gcc -mtune=pentium3 -mthreads supports -fno-rtti -fno-exceptions... no
78
+ checking for gcc -mtune=pentium3 -mthreads option to produce PIC... -DDLL_EXPORT
79
+ checking if gcc -mtune=pentium3 -mthreads PIC flag -DDLL_EXPORT works... yes
80
+ checking if gcc -mtune=pentium3 -mthreads static flag -static works... yes
81
+ checking if gcc -mtune=pentium3 -mthreads supports -c -o file.o... yes
82
+ checking whether the gcc -mtune=pentium3 -mthreads linker (c:/opt/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/bin/ld.exe) supports shared libraries... yes
83
+ checking whether -lc should be explicitly linked in... yes
84
+ checking dynamic linker characteristics... Win32 ld.exe
85
+ checking how to hardcode library paths into programs... immediate
86
+ checking whether stripping libraries is possible... yes
87
+ checking if libtool supports shared libraries... yes
88
+ checking whether to build shared libraries... yes
89
+ checking whether to build static libraries... no
90
+ configure: creating libtool
91
+ appending configuration tag "CXX" to libtool
92
+ checking for ld used by g++... c:/opt/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/bin/ld.exe
93
+ checking if the linker (c:/opt/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/bin/ld.exe) is GNU ld... yes
94
+ checking whether the g++ linker (c:/opt/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/bin/ld.exe) supports shared libraries... yes
95
+ checking for g++ option to produce PIC... -DDLL_EXPORT
96
+ checking if g++ PIC flag -DDLL_EXPORT works... yes
97
+ checking if g++ static flag -static works... yes
98
+ checking if g++ supports -c -o file.o... yes
99
+ checking whether the g++ linker (c:/opt/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/bin/ld.exe) supports shared libraries... yes
100
+ checking dynamic linker characteristics... Win32 ld.exe
101
+ checking how to hardcode library paths into programs... immediate
102
+ appending configuration tag "F77" to libtool
103
+ checking if libtool supports shared libraries... yes
104
+ checking whether to build shared libraries... yes
105
+ checking whether to build static libraries... no
106
+ checking for g77 option to produce PIC... -DDLL_EXPORT
107
+ checking if g77 PIC flag -DDLL_EXPORT works... yes
108
+ checking if g77 static flag -static works... yes
109
+ checking if g77 supports -c -o file.o... yes
110
+ checking whether the g77 linker (c:/opt/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/bin/ld.exe) supports shared libraries... yes
111
+ checking dynamic linker characteristics... Win32 ld.exe
112
+ checking how to hardcode library paths into programs... immediate
113
+ checking for gcc... (cached) gcc -mtune=pentium3 -mthreads
114
+ checking whether we are using the GNU C compiler... (cached) yes
115
+ checking whether gcc -mtune=pentium3 -mthreads accepts -g... (cached) yes
116
+ checking for gcc -mtune=pentium3 -mthreads option to accept ISO C89... (cached) none needed
117
+ checking dependency style of gcc -mtune=pentium3 -mthreads... (cached) gcc3
118
+ checking whether to list both direct and indirect dependencies... sh: line 316: ^x86: command not found
119
+ no
120
+ checking for Win32... yes
121
+ checking for working alloca.h... no
122
+ checking for alloca... yes
123
+ checking for setresuid... no
124
+ checking for setreuid... no
125
+ checking dirent.h usability... yes
126
+ checking dirent.h presence... yes
127
+ checking for dirent.h... yes
128
+ checking for unistd.h... (cached) yes
129
+ checking sys/wait.h usability... no
130
+ checking sys/wait.h presence... no
131
+ checking for sys/wait.h... no
132
+ configure: creating ./config.status
133
+ config.status: creating Makefile
134
+ config.status: creating check/Makefile
135
+ config.status: creating config.h
136
+ config.status: executing depfiles commands
137
+ ++ make -j3 install
138
+ Making install in check
139
+ make[1]: Entering directory `/devel/src/freedesktop/pkg-config/0.23-3_win32/check'
140
+ make[2]: Entering directory `/devel/src/freedesktop/pkg-config/0.23-3_win32/check'
141
+ make[2]: Nothing to be done for `install-exec-am'.
142
+ make[2]: Nothing to be done for `install-data-am'.
143
+ make[2]: Leaving directory `/devel/src/freedesktop/pkg-config/0.23-3_win32/check'
144
+ make[1]: Leaving directory `/devel/src/freedesktop/pkg-config/0.23-3_win32/check'
145
+ make[1]: Entering directory `/devel/src/freedesktop/pkg-config/0.23-3_win32'
146
+ if gcc -mtune=pentium3 -mthreads -DHAVE_CONFIG_H -I. -I. -I. -DPKG_CONFIG_PC_PATH="\"c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/pkgconfig:c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/share/pkgconfig\"" -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/include/glib-2.0 -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/glib-2.0/include -mms-bitfields -Ic:/devel/dist/win32/glib-2.20.3-1/include/glib-2.0 -Ic:/devel/dist/win32/glib-2.20.3-1/lib/glib-2.0/include -I/devel/dist/win32/proxy-libintl-20080918/include -O2 -MT pkg.o -MD -MP -MF ".deps/pkg.Tpo" \
147
+ -c -o pkg.o `test -f 'pkg.c' || echo './'`pkg.c; \
148
+ then mv -f ".deps/pkg.Tpo" ".deps/pkg.Po"; \
149
+ else rm -f ".deps/pkg.Tpo"; exit 1; \
150
+ fi
151
+ if gcc -mtune=pentium3 -mthreads -DHAVE_CONFIG_H -I. -I. -I. -DPKG_CONFIG_PC_PATH="\"c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/pkgconfig:c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/share/pkgconfig\"" -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/include/glib-2.0 -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/glib-2.0/include -mms-bitfields -Ic:/devel/dist/win32/glib-2.20.3-1/include/glib-2.0 -Ic:/devel/dist/win32/glib-2.20.3-1/lib/glib-2.0/include -I/devel/dist/win32/proxy-libintl-20080918/include -O2 -MT partial-glib.o -MD -MP -MF ".deps/partial-glib.Tpo" \
152
+ -c -o partial-glib.o `test -f 'partial-glib.c' || echo './'`partial-glib.c; \
153
+ then mv -f ".deps/partial-glib.Tpo" ".deps/partial-glib.Po"; \
154
+ else rm -f ".deps/partial-glib.Tpo"; exit 1; \
155
+ fi
156
+ if gcc -mtune=pentium3 -mthreads -DHAVE_CONFIG_H -I. -I. -I. -DPKG_CONFIG_PC_PATH="\"c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/pkgconfig:c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/share/pkgconfig\"" -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/include/glib-2.0 -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/glib-2.0/include -mms-bitfields -Ic:/devel/dist/win32/glib-2.20.3-1/include/glib-2.0 -Ic:/devel/dist/win32/glib-2.20.3-1/lib/glib-2.0/include -I/devel/dist/win32/proxy-libintl-20080918/include -O2 -MT parse.o -MD -MP -MF ".deps/parse.Tpo" \
157
+ -c -o parse.o `test -f 'parse.c' || echo './'`parse.c; \
158
+ then mv -f ".deps/parse.Tpo" ".deps/parse.Po"; \
159
+ else rm -f ".deps/parse.Tpo"; exit 1; \
160
+ fi
161
+ if gcc -mtune=pentium3 -mthreads -DHAVE_CONFIG_H -I. -I. -I. -DPKG_CONFIG_PC_PATH="\"c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/pkgconfig:c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/share/pkgconfig\"" -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/include/glib-2.0 -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/glib-2.0/include -mms-bitfields -Ic:/devel/dist/win32/glib-2.20.3-1/include/glib-2.0 -Ic:/devel/dist/win32/glib-2.20.3-1/lib/glib-2.0/include -I/devel/dist/win32/proxy-libintl-20080918/include -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" \
162
+ -c -o main.o `test -f 'main.c' || echo './'`main.c; \
163
+ then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
164
+ else rm -f ".deps/main.Tpo"; exit 1; \
165
+ fi
166
+ pkg.c: In function `scan_dir':
167
+ pkg.c:154: warning: assignment discards qualifiers from pointer target type
168
+ pkg.c: In function `verify_package':
169
+ pkg.c:872: warning: assignment discards qualifiers from pointer target type
170
+ pkg.c:878: warning: assignment discards qualifiers from pointer target type
171
+ if gcc -mtune=pentium3 -mthreads -DHAVE_CONFIG_H -I. -I. -I. -DPKG_CONFIG_PC_PATH="\"c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/pkgconfig:c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/share/pkgconfig\"" -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/include/glib-2.0 -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/glib-2.0/include -mms-bitfields -Ic:/devel/dist/win32/glib-2.20.3-1/include/glib-2.0 -Ic:/devel/dist/win32/glib-2.20.3-1/lib/glib-2.0/include -I/devel/dist/win32/proxy-libintl-20080918/include -O2 -MT findme.o -MD -MP -MF ".deps/findme.Tpo" \
172
+ -c -o findme.o `test -f 'findme.c' || echo './'`findme.c; \
173
+ then mv -f ".deps/findme.Tpo" ".deps/findme.Po"; \
174
+ else rm -f ".deps/findme.Tpo"; exit 1; \
175
+ fi
176
+ if gcc -mtune=pentium3 -mthreads -DHAVE_CONFIG_H -I. -I. -I. -DPKG_CONFIG_PC_PATH="\"c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/pkgconfig:c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/share/pkgconfig\"" -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/include/glib-2.0 -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/glib-2.0/include -mms-bitfields -Ic:/devel/dist/win32/glib-2.20.3-1/include/glib-2.0 -Ic:/devel/dist/win32/glib-2.20.3-1/lib/glib-2.0/include -I/devel/dist/win32/proxy-libintl-20080918/include -O2 -MT popt.o -MD -MP -MF ".deps/popt.Tpo" \
177
+ -c -o popt.o `test -f 'popt.c' || echo './'`popt.c; \
178
+ then mv -f ".deps/popt.Tpo" ".deps/popt.Po"; \
179
+ else rm -f ".deps/popt.Tpo"; exit 1; \
180
+ fi
181
+ if gcc -mtune=pentium3 -mthreads -DHAVE_CONFIG_H -I. -I. -I. -DPKG_CONFIG_PC_PATH="\"c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/pkgconfig:c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/share/pkgconfig\"" -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/include/glib-2.0 -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/glib-2.0/include -mms-bitfields -Ic:/devel/dist/win32/glib-2.20.3-1/include/glib-2.0 -Ic:/devel/dist/win32/glib-2.20.3-1/lib/glib-2.0/include -I/devel/dist/win32/proxy-libintl-20080918/include -O2 -MT poptconfig.o -MD -MP -MF ".deps/poptconfig.Tpo" \
182
+ -c -o poptconfig.o `test -f 'poptconfig.c' || echo './'`poptconfig.c; \
183
+ then mv -f ".deps/poptconfig.Tpo" ".deps/poptconfig.Po"; \
184
+ else rm -f ".deps/poptconfig.Tpo"; exit 1; \
185
+ fi
186
+ if gcc -mtune=pentium3 -mthreads -DHAVE_CONFIG_H -I. -I. -I. -DPKG_CONFIG_PC_PATH="\"c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/pkgconfig:c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/share/pkgconfig\"" -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/include/glib-2.0 -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/glib-2.0/include -mms-bitfields -Ic:/devel/dist/win32/glib-2.20.3-1/include/glib-2.0 -Ic:/devel/dist/win32/glib-2.20.3-1/lib/glib-2.0/include -I/devel/dist/win32/proxy-libintl-20080918/include -O2 -MT popthelp.o -MD -MP -MF ".deps/popthelp.Tpo" \
187
+ -c -o popthelp.o `test -f 'popthelp.c' || echo './'`popthelp.c; \
188
+ then mv -f ".deps/popthelp.Tpo" ".deps/popthelp.Po"; \
189
+ else rm -f ".deps/popthelp.Tpo"; exit 1; \
190
+ fi
191
+ if gcc -mtune=pentium3 -mthreads -DHAVE_CONFIG_H -I. -I. -I. -DPKG_CONFIG_PC_PATH="\"c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/pkgconfig:c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/share/pkgconfig\"" -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/include/glib-2.0 -Ic:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib/glib-2.0/include -mms-bitfields -Ic:/devel/dist/win32/glib-2.20.3-1/include/glib-2.0 -Ic:/devel/dist/win32/glib-2.20.3-1/lib/glib-2.0/include -I/devel/dist/win32/proxy-libintl-20080918/include -O2 -MT poptparse.o -MD -MP -MF ".deps/poptparse.Tpo" \
192
+ -c -o poptparse.o `test -f 'poptparse.c' || echo './'`poptparse.c; \
193
+ then mv -f ".deps/poptparse.Tpo" ".deps/poptparse.Po"; \
194
+ else rm -f ".deps/poptparse.Tpo"; exit 1; \
195
+ fi
196
+ /bin/sh ./libtool --mode=link gcc -mtune=pentium3 -mthreads -O2 -Lc:/devel/dist/win32/glib-2.20.3-1/lib -lglib-2.0 -lintl -L/devel/dist/win32/proxy-libintl-20080918/lib -Wl,--exclude-libs=libintl.a -o pkg-config.exe pkg.o partial-glib.o parse.o main.o findme.o popt.o poptconfig.o popthelp.o poptparse.o -Lc:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib -lglib-2.0
197
+ mkdir .libs
198
+ gcc -mtune=pentium3 -mthreads -O2 -Wl,--exclude-libs=libintl.a -o pkg-config.exe pkg.o partial-glib.o parse.o main.o findme.o popt.o poptconfig.o popthelp.o poptparse.o -Lc:/devel/dist/win32/glib-2.20.3-1/lib -lintl -L/devel/dist/win32/proxy-libintl-20080918/lib -Lc:/devel/target/ee2096576188f9b37bc66c6c2aa39813/lib -lglib-2.0
199
+ make[2]: Entering directory `/devel/src/freedesktop/pkg-config/0.23-3_win32'
200
+ /bin/sh ./mkinstalldirs c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/bin
201
+ /bin/sh ./mkinstalldirs c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/share/aclocal
202
+ /bin/sh ./mkinstalldirs c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/share/man/man1
203
+ /opt/local/bin/install -c -m 644 pkg.m4 c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/share/aclocal/pkg.m4
204
+ /bin/sh ./libtool --mode=install /opt/local/bin/install -c pkg-config.exe c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/bin/pkg-config.exe
205
+ /opt/local/bin/install -c -m 644 ./pkg-config.1 c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/share/man/man1/pkg-config.1
206
+ /opt/local/bin/install -c pkg-config.exe c:/devel/target/ee2096576188f9b37bc66c6c2aa39813/bin/pkg-config.exe
207
+ make[2]: Leaving directory `/devel/src/freedesktop/pkg-config/0.23-3_win32'
208
+ make[1]: Leaving directory `/devel/src/freedesktop/pkg-config/0.23-3_win32'
209
+ ++ rm -f /tmp/pkg-config_0.23-3_win32.zip /tmp/pkg-config-dev_0.23-3_win32.zip
210
+ ++ cd /devel/target/ee2096576188f9b37bc66c6c2aa39813
211
+ ++ zip /tmp/pkg-config_0.23-3_win32.zip bin/pkg-config.exe
212
+ adding: bin/pkg-config.exe (224 bytes security) (deflated 62%)
213
+ ++ zip /tmp/pkg-config-dev_0.23-3_win32.zip man/man1/pkg-config.1 share/aclocal/pkg.m4
214
+ adding: share/aclocal/pkg.m4 (224 bytes security) (deflated 60%)
215
+ zip warning: name not matched: man/man1/pkg-config.1
@@ -0,0 +1,278 @@
1
+ # This is a shell script that calls functions and scripts from
2
+ # tml@iki.fi's personal work environment. It is not expected to be
3
+ # usable unmodified by others, and is included only for reference.
4
+
5
+ MOD=pkg-config
6
+ VER=0.23
7
+ REV=3
8
+ ARCH=win32
9
+
10
+ THIS=${MOD}_${VER}-${REV}_${ARCH}
11
+
12
+ RUNZIP=${MOD}_${VER}-${REV}_${ARCH}.zip
13
+ DEVZIP=${MOD}-dev_${VER}-${REV}_${ARCH}.zip
14
+
15
+ HEX=`echo $THIS | md5sum | cut -d' ' -f1`
16
+ TARGET=c:/devel/target/$HEX
17
+
18
+ usedev
19
+
20
+ (
21
+
22
+ set -x
23
+
24
+ GLIB=`latest --arch=${ARCH} glib`
25
+ PROXY_LIBINTL=`latest --arch=${ARCH} proxy-libintl`
26
+
27
+ sed -e 's/need_relink=yes/need_relink=no # no way --tml/' <ltmain.sh >ltmain.temp && mv ltmain.temp ltmain.sh &&
28
+
29
+ sed -e 's/-lglib-2.0 -liconv -lintl/-lglib-2.0/' <configure >configure.temp && mv configure.temp configure &&
30
+
31
+ PKG_CONFIG_PATH=/devel/dist/$ARCH/$GLIB/lib/pkgconfig
32
+
33
+ patch -p0 <<'EOF'
34
+ diff -ru ../orig-0.23/ChangeLog ./ChangeLog
35
+ --- ../orig-0.23/ChangeLog 2008-01-17 00:49:33.000000000 +0200
36
+ +++ ./ChangeLog 2009-06-12 14:56:02.093008900 +0300
37
+ @@ -1,3 +1,31 @@
38
+ +2009-06-12 Tor Lillqvist <tml@iki.fi>
39
+ +
40
+ + * parse.c: If the value of a a variable other than the "prefix"
41
+ + one starts with the non-overridden value of "prefix", then replace
42
+ + that prefix, too, with the run-time one.
43
+ +
44
+ + * pkg-config.1: Corresponding update.
45
+ +
46
+ +2008-02-19 Tor Lillqvist <tml@novell.com>
47
+ +
48
+ + * main.c: Remove the possibility to have a default PKG_CONFIG_PATH
49
+ + in the Registry. It is much more flexible to just use environment
50
+ + variables. In general the Registry is not used in the ports of
51
+ + GTK+ or GNOME libraries and software to Windows.
52
+ +
53
+ + * parse.c (parse_line): On Windows, handle also .pc files found in
54
+ + a share/pkgconfig folder when automatically redefining a prefix
55
+ + variable for the package.
56
+ +
57
+ + * pkg-config.1: Corresponding changes.
58
+ +
59
+ +2008-02-18 Tor Lillqvist <tml@novell.com>
60
+ +
61
+ + * main.c: Fix some bitrot: On Windows, don't use the compile-time
62
+ + PKG_CONFIG_PC_PATH, but deduce a default one at run-time based on
63
+ + the location of the executable. This was originally what
64
+ + pkg-config did on Windows, but it had bit-rotted.
65
+ +
66
+ 2008-01-16 Tollef Fog Heen <tfheen@err.no>
67
+
68
+ * NEWS, configure.in: Release 0.23
69
+ diff -ru ../orig-0.23/main.c ./main.c
70
+ --- ../orig-0.23/main.c 2008-01-17 00:06:48.000000000 +0200
71
+ +++ ./main.c 2009-06-12 13:28:26.671133900 +0300
72
+ @@ -38,9 +38,13 @@
73
+
74
+ #ifdef G_OS_WIN32
75
+ /* No hardcoded paths in the binary, thanks */
76
+ -#undef PKGLIBDIR
77
+ -/* It's OK to leak this, as PKGLIBDIR is invoked only once */
78
+ -#define PKG_CONFIG_PATH g_strconcat (g_win32_get_package_installation_directory (PACKAGE, NULL), "\\lib\\pkgconfig", NULL)
79
+ +/* It's OK to leak this */
80
+ +#undef PKG_CONFIG_PC_PATH
81
+ +#define PKG_CONFIG_PC_PATH \
82
+ + g_strconcat (g_win32_get_package_installation_subdirectory (NULL, NULL, "lib/pkgconfig"), \
83
+ + ";", \
84
+ + g_win32_get_package_installation_subdirectory (NULL, NULL, "share/pkgconfig"), \
85
+ + NULL)
86
+ #endif
87
+
88
+ static int want_debug_spew = 0;
89
+ @@ -296,57 +300,6 @@
90
+ add_search_dirs(PKG_CONFIG_PC_PATH, G_SEARCHPATH_SEPARATOR_S);
91
+ }
92
+
93
+ -#ifdef G_OS_WIN32
94
+ - {
95
+ - /* Add search directories from the Registry */
96
+ -
97
+ - HKEY roots[] = { HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE };
98
+ - gchar *root_names[] = { "HKEY_CURRENT_USER", "HKEY_LOCAL_MACHINE" };
99
+ - HKEY key;
100
+ - int i;
101
+ - gulong max_value_name_len, max_value_len;
102
+ -
103
+ - for (i = 0; i < G_N_ELEMENTS (roots); i++)
104
+ - {
105
+ - key = NULL;
106
+ - if (RegOpenKeyEx (roots[i], "Software\\" PACKAGE "\\PKG_CONFIG_PATH", 0,
107
+ - KEY_QUERY_VALUE, &key) == ERROR_SUCCESS &&
108
+ - RegQueryInfoKey (key, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
109
+ - &max_value_name_len, &max_value_len,
110
+ - NULL, NULL) == ERROR_SUCCESS)
111
+ - {
112
+ - int index = 0;
113
+ - gchar *value_name = g_malloc (max_value_name_len + 1);
114
+ - gchar *value = g_malloc (max_value_len + 1);
115
+ -
116
+ - while (TRUE)
117
+ - {
118
+ - gulong type;
119
+ - gulong value_name_len = max_value_name_len + 1;
120
+ - gulong value_len = max_value_len + 1;
121
+ -
122
+ - if (RegEnumValue (key, index++, value_name, &value_name_len,
123
+ - NULL, &type,
124
+ - value, &value_len) != ERROR_SUCCESS)
125
+ - break;
126
+ -
127
+ - if (type != REG_SZ)
128
+ - continue;
129
+ -
130
+ - value_name[value_name_len] = '\0';
131
+ - value[value_len] = '\0';
132
+ - debug_spew ("Adding directory '%s' from %s\\Software\\"
133
+ - PACKAGE "\\PKG_CONFIG_PATH\\%s\n",
134
+ - value, root_names[i], value_name);
135
+ - add_search_dir (value);
136
+ - }
137
+ - }
138
+ - if (key != NULL)
139
+ - RegCloseKey (key);
140
+ - }
141
+ - }
142
+ -#endif
143
+ -
144
+ pcsysrootdir = getenv ("PKG_CONFIG_SYSROOT_DIR");
145
+ if (pcsysrootdir)
146
+ {
147
+ diff -ru ../orig-0.23/parse.c ./parse.c
148
+ --- ../orig-0.23/parse.c 2008-01-16 22:42:49.000000000 +0200
149
+ +++ ./parse.c 2009-06-12 14:52:58.296133900 +0300
150
+ @@ -897,6 +897,8 @@
151
+ }
152
+
153
+ #ifdef G_OS_WIN32
154
+ +static char *orig_prefix = NULL;
155
+ +
156
+ static int
157
+ pathnamecmp (const char *a,
158
+ const char *b)
159
+ @@ -1011,29 +1013,38 @@
160
+ gchar *prefix = pkg->pcfiledir;
161
+ const int prefix_len = strlen (prefix);
162
+ const char *const lib_pkgconfig = "\\lib\\pkgconfig";
163
+ + const char *const share_pkgconfig = "\\share\\pkgconfig";
164
+ const int lib_pkgconfig_len = strlen (lib_pkgconfig);
165
+ + const int share_pkgconfig_len = strlen (share_pkgconfig);
166
+
167
+ - if (strlen (prefix) > lib_pkgconfig_len &&
168
+ - pathnamecmp (prefix + prefix_len - lib_pkgconfig_len,
169
+ - lib_pkgconfig) == 0)
170
+ + if ((strlen (prefix) > lib_pkgconfig_len &&
171
+ + pathnamecmp (prefix + prefix_len - lib_pkgconfig_len, lib_pkgconfig) == 0) ||
172
+ + (strlen (prefix) > share_pkgconfig_len &&
173
+ + pathnamecmp (prefix + prefix_len - share_pkgconfig_len, share_pkgconfig) == 0))
174
+ {
175
+ - /* It ends in lib\pkgconfig. Good. */
176
+ + /* It ends in lib\pkgconfig or share\pkgconfig. Good. */
177
+
178
+ - gchar *p;
179
+ + gchar *q;
180
+
181
+ + orig_prefix = g_strdup (p);
182
+ +
183
+ prefix = g_strdup (prefix);
184
+ - prefix[prefix_len - lib_pkgconfig_len] = '\0';
185
+ + if (strlen (prefix) > lib_pkgconfig_len &&
186
+ + pathnamecmp (prefix + prefix_len - lib_pkgconfig_len, lib_pkgconfig) == 0)
187
+ + prefix[prefix_len - lib_pkgconfig_len] = '\0';
188
+ + else
189
+ + prefix[prefix_len - share_pkgconfig_len] = '\0';
190
+
191
+ /* Turn backslashes into slashes or
192
+ * poptParseArgvString() will eat them when ${prefix}
193
+ * has been expanded in parse_libs().
194
+ */
195
+ - p = prefix;
196
+ - while (*p)
197
+ + q = prefix;
198
+ + while (*q)
199
+ {
200
+ - if (*p == '\\')
201
+ - *p = '/';
202
+ - p++;
203
+ + if (*q == '\\')
204
+ + *q = '/';
205
+ + q++;
206
+ }
207
+ varname = g_strdup (tag);
208
+ debug_spew (" Variable declaration, '%s' overridden with '%s'\n",
209
+ @@ -1042,6 +1053,16 @@
210
+ goto cleanup;
211
+ }
212
+ }
213
+ + else if (!dont_define_prefix &&
214
+ + orig_prefix != NULL &&
215
+ + strncmp (p, orig_prefix, strlen (orig_prefix)) == 0 &&
216
+ + G_IS_DIR_SEPARATOR (p[strlen (orig_prefix)]))
217
+ + {
218
+ + char *oldstr = str;
219
+ +
220
+ + p = str = g_strconcat (g_hash_table_lookup (pkg->vars, prefix_variable), p + strlen (orig_prefix), NULL);
221
+ + g_free (oldstr);
222
+ + }
223
+ #endif
224
+
225
+ if (g_hash_table_lookup (pkg->vars, tag))
226
+ diff -ru ../orig-0.23/pkg-config.1 ./pkg-config.1
227
+ --- ../orig-0.23/pkg-config.1 2008-01-16 23:26:50.000000000 +0200
228
+ +++ ./pkg-config.1 2009-06-12 13:40:20.249258900 +0300
229
+ @@ -274,20 +274,14 @@
230
+
231
+ .SH WINDOWS SPECIALITIES
232
+ If a .pc file is found in a directory that matches the usual
233
+ -conventions (i.e., ends with \\lib\\pkgconfig), the prefix for that
234
+ -package is assumed to be the grandparent of the directory where the
235
+ -file was found, and the \fIprefix\fP variable is overridden for that
236
+ -file accordingly.
237
+ -
238
+ -In addition to the \fIPKG_CONFIG_PATH\fP environment variable, the
239
+ -Registry keys
240
+ -.DW
241
+ -\fIHKEY_CURRENT_USER\\Software\\pkgconfig\\PKG_CONFIG_PATH\fP and
242
+ -.EW
243
+ -\fIHKEY_LOCAL_MACHINE\\Software\\pkgconfig\\PKG_CONFIG_PATH\fP can be
244
+ -used to specify directories to search for .pc files. Each (string)
245
+ -value in these keys is treated as a directory where to look for .pc
246
+ -files.
247
+ +conventions (i.e., ends with \\lib\\pkgconfig or \\share\\pkgconfig),
248
+ +the prefix for that package is assumed to be the grandparent of the
249
+ +directory where the file was found, and the \fIprefix\fP variable is
250
+ +overridden for that file accordingly.
251
+ +
252
+ +If the value of a variable in a .pc file begins with the original,
253
+ +non-overridden, value of the \fIprefix\fP variable, then the overridden
254
+ +value of \fIprefix\fP is used instead.
255
+
256
+ .SH AUTOCONF MACROS
257
+
258
+ EOF
259
+
260
+ CC='gcc -mtune=pentium3 -mthreads' \
261
+ CPPFLAGS="`$PKG_CONFIG --cflags glib-2.0` \
262
+ -I/devel/dist/${ARCH}/${PROXY_LIBINTL}/include" \
263
+ LDFLAGS="`$PKG_CONFIG --libs glib-2.0` \
264
+ -L/devel/dist/${ARCH}/${PROXY_LIBINTL}/lib -Wl,--exclude-libs=libintl.a" \
265
+ CFLAGS=-O2 \
266
+ ./configure --disable-static --prefix=c:/devel/target/$HEX &&
267
+ make -j3 install &&
268
+
269
+ rm -f /tmp/$RUNZIP /tmp/$DEVZIP
270
+
271
+ cd /devel/target/$HEX &&
272
+ zip /tmp/$RUNZIP bin/pkg-config.exe &&
273
+ zip /tmp/$DEVZIP man/man1/pkg-config.1 share/aclocal/pkg.m4
274
+
275
+ ) 2>&1 | tee /devel/src/tml/packaging/$THIS.log
276
+
277
+ (cd /devel && zip /tmp/$DEVZIP src/tml/packaging/$THIS.{sh,log}) &&
278
+ manifestify /tmp/$RUNZIP /tmp/$DEVZIP