OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

295 lines
9.5 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../gnomesword/glib-h-fix.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2004 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- T2-COPYRIGHT-NOTE-END ---
  17. diff -urN gnomesword2-2.0.0/src/backend/config.cc gnomesword2-2.0.0-my/src/backend/config.cc
  18. --- gnomesword2-2.0.0/src/backend/config.cc 2003-12-24 20:10:38.000000000 +0100
  19. +++ gnomesword2-2.0.0-my/src/backend/config.cc 2004-01-09 04:21:54.000000000 +0100
  20. @@ -44,7 +44,7 @@
  21. #include <sys/stat.h>
  22. #ifdef USE_GNOME2
  23. -#include <glib-2.0/glib.h>
  24. +#include <glib.h>
  25. #else
  26. #include <glib-1.2/glib.h>
  27. #endif
  28. diff -urN gnomesword2-2.0.0/src/backend/key.cc gnomesword2-2.0.0-my/src/backend/key.cc
  29. --- gnomesword2-2.0.0/src/backend/key.cc 2003-12-24 20:10:38.000000000 +0100
  30. +++ gnomesword2-2.0.0-my/src/backend/key.cc 2004-01-09 04:21:54.000000000 +0100
  31. @@ -32,7 +32,7 @@
  32. #include <swmodule.h>
  33. #ifdef USE_GNOME2
  34. -#include <glib-2.0/glib.h>
  35. +#include <glib.h>
  36. #else
  37. #include <glib-1.2/glib.h>
  38. #endif
  39. diff -urN gnomesword2-2.0.0/src/backend/sword.cpp gnomesword2-2.0.0-my/src/backend/sword.cpp
  40. --- gnomesword2-2.0.0/src/backend/sword.cpp 2003-12-24 20:10:38.000000000 +0100
  41. +++ gnomesword2-2.0.0-my/src/backend/sword.cpp 2004-01-09 04:21:54.000000000 +0100
  42. @@ -31,7 +31,7 @@
  43. #endif
  44. #ifdef USE_GNOME2
  45. -#include <glib-2.0/glib.h>
  46. +#include <glib.h>
  47. #else
  48. #include <glib-1.2/glib.h>
  49. #endif
  50. diff -urN gnomesword2-2.0.0/src/gnome2/toolbar_nav.c gnomesword2-2.0.0-my/src/gnome2/toolbar_nav.c
  51. --- gnomesword2-2.0.0/src/gnome2/toolbar_nav.c 2003-12-24 20:10:38.000000000 +0100
  52. +++ gnomesword2-2.0.0-my/src/gnome2/toolbar_nav.c 2004-01-09 04:21:55.000000000 +0100
  53. @@ -24,7 +24,7 @@
  54. #endif
  55. #include <gnome.h>
  56. -#include <gal-2.0/gal/widgets/e-unicode.h>
  57. +#include <gal/widgets/e-unicode.h>
  58. #include "gui/toolbar_nav.h"
  59. #include "gui/shortcutbar_main.h"
  60. diff -urN gnomesword2-2.0.0/src/main/bibletext.c gnomesword2-2.0.0-my/src/main/bibletext.c
  61. --- gnomesword2-2.0.0/src/main/bibletext.c 2003-12-24 20:10:38.000000000 +0100
  62. +++ gnomesword2-2.0.0-my/src/main/bibletext.c 2004-01-09 04:21:54.000000000 +0100
  63. @@ -24,7 +24,7 @@
  64. #endif
  65. #ifdef USE_GNOME2
  66. -#include <glib-2.0/glib.h>
  67. +#include <glib.h>
  68. #else
  69. #include <glib-1.2/glib.h>
  70. #endif
  71. diff -urN gnomesword2-2.0.0/src/main/commentary.c gnomesword2-2.0.0-my/src/main/commentary.c
  72. --- gnomesword2-2.0.0/src/main/commentary.c 2003-12-24 20:10:38.000000000 +0100
  73. +++ gnomesword2-2.0.0-my/src/main/commentary.c 2004-01-09 04:21:54.000000000 +0100
  74. @@ -24,7 +24,7 @@
  75. #endif
  76. #ifdef USE_GNOME2
  77. -#include <glib-2.0/glib.h>
  78. +#include <glib.h>
  79. #else
  80. #include <glib-1.2/glib.h>
  81. #endif
  82. diff -urN gnomesword2-2.0.0/src/main/configs.c gnomesword2-2.0.0-my/src/main/configs.c
  83. --- gnomesword2-2.0.0/src/main/configs.c 2003-12-24 20:10:38.000000000 +0100
  84. +++ gnomesword2-2.0.0-my/src/main/configs.c 2004-01-09 04:21:54.000000000 +0100
  85. @@ -24,7 +24,7 @@
  86. #endif
  87. #ifdef USE_GNOME2
  88. -#include <glib-2.0/glib.h>
  89. +#include <glib.h>
  90. #else
  91. #include <glib-1.2/glib.h>
  92. #endif
  93. diff -urN gnomesword2-2.0.0/src/main/configs.h gnomesword2-2.0.0-my/src/main/configs.h
  94. --- gnomesword2-2.0.0/src/main/configs.h 2003-12-24 20:10:38.000000000 +0100
  95. +++ gnomesword2-2.0.0-my/src/main/configs.h 2004-01-09 04:21:54.000000000 +0100
  96. @@ -26,7 +26,7 @@
  97. extern "C" {
  98. #endif
  99. #ifdef USE_GNOME2
  100. -#include <glib-2.0/glib.h>
  101. +#include <glib.h>
  102. #else
  103. #include <glib-1.2/glib.h>
  104. #endif
  105. diff -urN gnomesword2-2.0.0/src/main/dictlex.c gnomesword2-2.0.0-my/src/main/dictlex.c
  106. --- gnomesword2-2.0.0/src/main/dictlex.c 2003-12-24 20:10:38.000000000 +0100
  107. +++ gnomesword2-2.0.0-my/src/main/dictlex.c 2004-01-09 04:21:54.000000000 +0100
  108. @@ -24,7 +24,7 @@
  109. #endif
  110. #ifdef USE_GNOME2
  111. -#include <glib-2.0/glib.h>
  112. +#include <glib.h>
  113. #else
  114. #include <glib-1.2/glib.h>
  115. #endif
  116. diff -urN gnomesword2-2.0.0/src/main/gbs.c gnomesword2-2.0.0-my/src/main/gbs.c
  117. --- gnomesword2-2.0.0/src/main/gbs.c 2003-12-24 20:10:38.000000000 +0100
  118. +++ gnomesword2-2.0.0-my/src/main/gbs.c 2004-01-09 04:21:54.000000000 +0100
  119. @@ -28,7 +28,7 @@
  120. #endif
  121. #ifdef USE_GNOME2
  122. -#include <glib-2.0/glib.h>
  123. +#include <glib.h>
  124. #else
  125. #include <glib-1.2/glib.h>
  126. #endif
  127. diff -urN gnomesword2-2.0.0/src/main/key.c gnomesword2-2.0.0-my/src/main/key.c
  128. --- gnomesword2-2.0.0/src/main/key.c 2003-12-24 20:10:38.000000000 +0100
  129. +++ gnomesword2-2.0.0-my/src/main/key.c 2004-01-09 04:21:54.000000000 +0100
  130. @@ -23,7 +23,7 @@
  131. #include <config.h>
  132. #endif
  133. #ifdef USE_GNOME2
  134. -#include <glib-2.0/glib.h>
  135. +#include <glib.h>
  136. #else
  137. #include <glib-1.2/glib.h>
  138. #endif
  139. diff -urN gnomesword2-2.0.0/src/main/lists.c gnomesword2-2.0.0-my/src/main/lists.c
  140. --- gnomesword2-2.0.0/src/main/lists.c 2003-12-24 20:10:38.000000000 +0100
  141. +++ gnomesword2-2.0.0-my/src/main/lists.c 2004-01-09 04:21:54.000000000 +0100
  142. @@ -24,8 +24,8 @@
  143. #endif
  144. #ifdef USE_GNOME2
  145. -#include <glib-2.0/glib.h>
  146. -#include <gal-2.0/gal/widgets/e-unicode.h>
  147. +#include <glib.h>
  148. +#include <gal/widgets/e-unicode.h>
  149. #else
  150. #include <glib-1.2/glib.h>
  151. #endif
  152. diff -urN gnomesword2-2.0.0/src/main/lists.h gnomesword2-2.0.0-my/src/main/lists.h
  153. --- gnomesword2-2.0.0/src/main/lists.h 2003-12-24 20:10:38.000000000 +0100
  154. +++ gnomesword2-2.0.0-my/src/main/lists.h 2004-01-09 04:21:54.000000000 +0100
  155. @@ -27,7 +27,7 @@
  156. {
  157. #endif
  158. #ifdef USE_GNOME2
  159. -#include <glib-2.0/glib.h>
  160. +#include <glib.h>
  161. #else
  162. #include <glib-1.2/glib.h>
  163. #endif
  164. diff -urN gnomesword2-2.0.0/src/main/module.c gnomesword2-2.0.0-my/src/main/module.c
  165. --- gnomesword2-2.0.0/src/main/module.c 2003-12-24 20:10:38.000000000 +0100
  166. +++ gnomesword2-2.0.0-my/src/main/module.c 2004-01-09 04:21:54.000000000 +0100
  167. @@ -26,7 +26,7 @@
  168. #ifdef USE_GNOME2
  169. -#include <glib-2.0/glib.h>
  170. +#include <glib.h>
  171. #else
  172. #include <glib-1.2/glib.h>
  173. #endif
  174. diff -urN gnomesword2-2.0.0/src/main/percomm.c gnomesword2-2.0.0-my/src/main/percomm.c
  175. --- gnomesword2-2.0.0/src/main/percomm.c 2003-12-24 20:10:38.000000000 +0100
  176. +++ gnomesword2-2.0.0-my/src/main/percomm.c 2004-01-09 04:21:54.000000000 +0100
  177. @@ -25,7 +25,7 @@
  178. #ifdef USE_GNOME2
  179. -#include <glib-2.0/glib.h>
  180. +#include <glib.h>
  181. #else
  182. #include <glib-1.2/glib.h>
  183. #endif
  184. diff -urN gnomesword2-2.0.0/src/main/search.c gnomesword2-2.0.0-my/src/main/search.c
  185. --- gnomesword2-2.0.0/src/main/search.c 2003-12-24 20:10:38.000000000 +0100
  186. +++ gnomesword2-2.0.0-my/src/main/search.c 2004-01-09 04:21:54.000000000 +0100
  187. @@ -24,7 +24,7 @@
  188. #endif
  189. #ifdef USE_GNOME2
  190. -#include <glib-2.0/glib.h>
  191. +#include <glib.h>
  192. #else
  193. #include <glib-1.2/glib.h>
  194. #endif
  195. diff -urN gnomesword2-2.0.0/src/main/search.h gnomesword2-2.0.0-my/src/main/search.h
  196. --- gnomesword2-2.0.0/src/main/search.h 2003-12-24 20:10:38.000000000 +0100
  197. +++ gnomesword2-2.0.0-my/src/main/search.h 2004-01-09 04:21:54.000000000 +0100
  198. @@ -27,7 +27,7 @@
  199. #endif
  200. #ifdef USE_GNOME2
  201. -#include <glib-2.0/glib.h>
  202. +#include <glib.h>
  203. #else
  204. #include <glib-1.2/glib.h>
  205. #endif
  206. diff -urN gnomesword2-2.0.0/src/main/settings.c gnomesword2-2.0.0-my/src/main/settings.c
  207. --- gnomesword2-2.0.0/src/main/settings.c 2003-12-24 20:10:38.000000000 +0100
  208. +++ gnomesword2-2.0.0-my/src/main/settings.c 2004-01-09 04:21:54.000000000 +0100
  209. @@ -25,7 +25,7 @@
  210. #endif
  211. #ifdef USE_GNOME2
  212. -#include <glib-2.0/glib.h>
  213. +#include <glib.h>
  214. #else
  215. #include <glib-1.2/glib.h>
  216. #endif
  217. diff -urN gnomesword2-2.0.0/src/main/shortcutbar.c gnomesword2-2.0.0-my/src/main/shortcutbar.c
  218. --- gnomesword2-2.0.0/src/main/shortcutbar.c 2003-12-24 20:10:38.000000000 +0100
  219. +++ gnomesword2-2.0.0-my/src/main/shortcutbar.c 2004-01-09 04:21:54.000000000 +0100
  220. @@ -24,7 +24,7 @@
  221. #endif
  222. #ifdef USE_GNOME2
  223. -#include <glib-2.0/glib.h>
  224. +#include <glib.h>
  225. #else
  226. #include <glib-1.2/glib.h>
  227. #endif
  228. diff -urN gnomesword2-2.0.0/src/main/shortcutbar.h gnomesword2-2.0.0-my/src/main/shortcutbar.h
  229. --- gnomesword2-2.0.0/src/main/shortcutbar.h 2003-12-24 20:10:38.000000000 +0100
  230. +++ gnomesword2-2.0.0-my/src/main/shortcutbar.h 2004-01-09 04:21:54.000000000 +0100
  231. @@ -27,7 +27,7 @@
  232. #endif
  233. #ifdef USE_GNOME2
  234. -#include <glib-2.0/glib.h>
  235. +#include <glib.h>
  236. #else
  237. #include <glib-1.2/glib.h>
  238. #endif
  239. diff -urN gnomesword2-2.0.0/src/main/spell_pspell.c gnomesword2-2.0.0-my/src/main/spell_pspell.c
  240. --- gnomesword2-2.0.0/src/main/spell_pspell.c 2003-12-24 20:10:38.000000000 +0100
  241. +++ gnomesword2-2.0.0-my/src/main/spell_pspell.c 2004-01-09 04:21:54.000000000 +0100
  242. @@ -26,7 +26,7 @@
  243. #ifdef USE_PSPELL
  244. #ifdef USE_GNOME2
  245. -#include <glib-2.0/glib.h>
  246. +#include <glib.h>
  247. #else
  248. #include <glib-1.2/glib.h>
  249. #endif
  250. diff -urN gnomesword2-2.0.0/src/main/sword.c gnomesword2-2.0.0-my/src/main/sword.c
  251. --- gnomesword2-2.0.0/src/main/sword.c 2003-12-24 20:10:38.000000000 +0100
  252. +++ gnomesword2-2.0.0-my/src/main/sword.c 2004-01-09 04:21:54.000000000 +0100
  253. @@ -24,7 +24,7 @@
  254. #endif
  255. #ifdef USE_GNOME2
  256. -#include <glib-2.0/glib.h>
  257. +#include <glib.h>
  258. #else
  259. #include <glib-1.2/glib.h>
  260. #endif
  261. diff -urN gnomesword2-2.0.0/src/main/xml.c gnomesword2-2.0.0-my/src/main/xml.c
  262. --- gnomesword2-2.0.0/src/main/xml.c 2003-12-24 20:10:38.000000000 +0100
  263. +++ gnomesword2-2.0.0-my/src/main/xml.c 2004-01-09 04:21:54.000000000 +0100
  264. @@ -24,7 +24,7 @@
  265. #endif
  266. #ifdef USE_GNOME2
  267. -#include <glib-2.0/glib.h>
  268. +#include <glib.h>
  269. #else
  270. #include <glib-1.2/glib.h>
  271. #endif