mirror of the now-defunct rocklinux.org
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.

235 lines
8.0 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/jsaw/gnomesword/glib-h-fix.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. diff -urN gnomesword-2.1.1/src/backend/config.cc gnomesword-2.1.1-jsaw/src/backend/config.cc
  20. --- gnomesword-2.1.1/src/backend/config.cc 2004-05-15 17:02:56.000000000 +0200
  21. +++ gnomesword-2.1.1-jsaw/src/backend/config.cc 2004-08-09 03:52:23.906843024 +0200
  22. @@ -43,7 +43,7 @@
  23. #include <stdio.h>
  24. #include <sys/stat.h>
  25. -#include <glib-2.0/glib.h>
  26. +#include <glib.h>
  27. #include "config.hh"
  28. #include "sword_main.hh"
  29. diff -urN gnomesword-2.1.1/src/backend/config.hh gnomesword-2.1.1-jsaw/src/backend/config.hh
  30. --- gnomesword-2.1.1/src/backend/config.hh 2004-03-18 21:45:40.000000000 +0100
  31. +++ gnomesword-2.1.1-jsaw/src/backend/config.hh 2004-08-09 03:52:23.908842720 +0200
  32. @@ -25,7 +25,7 @@
  33. #ifdef __cplusplus
  34. extern "C" {
  35. #endif
  36. -#include <glib-2.0/glib.h>
  37. +#include <glib.h>
  38. //#include "main/sword.h"
  39. int backend_open_config_file(char *file);
  40. diff -urN gnomesword-2.1.1/src/backend/module_manager.cc gnomesword-2.1.1-jsaw/src/backend/module_manager.cc
  41. --- gnomesword-2.1.1/src/backend/module_manager.cc 2004-05-15 16:53:00.000000000 +0200
  42. +++ gnomesword-2.1.1-jsaw/src/backend/module_manager.cc 2004-08-09 03:52:23.914841808 +0200
  43. @@ -31,7 +31,7 @@
  44. #endif
  45. #ifdef USE_GNOME2
  46. -#include <glib-2.0/glib.h>
  47. +#include <glib.h>
  48. #include <gnome.h>
  49. #else
  50. #include <glib-1.2/glib.h>
  51. diff -urN gnomesword-2.1.1/src/backend/sword.cpp gnomesword-2.1.1-jsaw/src/backend/sword.cpp
  52. --- gnomesword-2.1.1/src/backend/sword.cpp 2004-07-14 16:31:50.000000000 +0200
  53. +++ gnomesword-2.1.1-jsaw/src/backend/sword.cpp 2004-08-09 03:52:23.917841352 +0200
  54. @@ -31,7 +31,7 @@
  55. #endif
  56. -#include <glib-2.0/glib.h>
  57. +#include <glib.h>
  58. #include <gnome.h>
  59. #include <swmgr.h>
  60. #include <markupfiltmgr.h>
  61. diff -urN gnomesword-2.1.1/src/main/bibletext.c gnomesword-2.1.1-jsaw/src/main/bibletext.c
  62. --- gnomesword-2.1.1/src/main/bibletext.c 2004-05-15 16:40:42.000000000 +0200
  63. +++ gnomesword-2.1.1-jsaw/src/main/bibletext.c 2004-08-09 03:52:23.920840896 +0200
  64. @@ -24,7 +24,7 @@
  65. #endif
  66. #ifdef USE_GNOME2
  67. -#include <glib-2.0/glib.h>
  68. +#include <glib.h>
  69. #else
  70. #include <glib-1.2/glib.h>
  71. #endif
  72. diff -urN gnomesword-2.1.1/src/main/commentary.cc gnomesword-2.1.1-jsaw/src/main/commentary.cc
  73. --- gnomesword-2.1.1/src/main/commentary.cc 2004-04-21 22:57:50.000000000 +0200
  74. +++ gnomesword-2.1.1-jsaw/src/main/commentary.cc 2004-08-09 03:52:23.923840440 +0200
  75. @@ -27,7 +27,7 @@
  76. #include <swmodule.h>
  77. #include <swconfig.h>
  78. -#include <glib-2.0/glib.h>
  79. +#include <glib.h>
  80. #include "main/commentary.h"
  81. #include "main/settings.h"
  82. diff -urN gnomesword-2.1.1/src/main/configs.c gnomesword-2.1.1-jsaw/src/main/configs.c
  83. --- gnomesword-2.1.1/src/main/configs.c 2003-09-03 19:52:54.000000000 +0200
  84. +++ gnomesword-2.1.1-jsaw/src/main/configs.c 2004-08-09 03:52:23.928839680 +0200
  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 gnomesword-2.1.1/src/main/configs.h gnomesword-2.1.1-jsaw/src/main/configs.h
  94. --- gnomesword-2.1.1/src/main/configs.h 2004-03-18 21:45:41.000000000 +0100
  95. +++ gnomesword-2.1.1-jsaw/src/main/configs.h 2004-08-09 03:52:23.930839376 +0200
  96. @@ -25,7 +25,7 @@
  97. #ifdef __cplusplus
  98. extern "C" {
  99. #endif
  100. -#include <glib-2.0/glib.h>
  101. +#include <glib.h>
  102. typedef struct _mod_font MOD_FONT;
  103. struct _mod_font {
  104. diff -urN gnomesword-2.1.1/src/main/dictlex.c gnomesword-2.1.1-jsaw/src/main/dictlex.c
  105. --- gnomesword-2.1.1/src/main/dictlex.c 2004-04-21 22:57:50.000000000 +0200
  106. +++ gnomesword-2.1.1-jsaw/src/main/dictlex.c 2004-08-09 03:52:23.932839072 +0200
  107. @@ -24,7 +24,7 @@
  108. #endif
  109. #ifdef USE_GNOME2
  110. -#include <glib-2.0/glib.h>
  111. +#include <glib.h>
  112. #else
  113. #include <glib-1.2/glib.h>
  114. #endif
  115. diff -urN gnomesword-2.1.1/src/main/lists.cc gnomesword-2.1.1-jsaw/src/main/lists.cc
  116. --- gnomesword-2.1.1/src/main/lists.cc 2004-05-15 16:53:00.000000000 +0200
  117. +++ gnomesword-2.1.1-jsaw/src/main/lists.cc 2004-08-09 03:52:23.936838464 +0200
  118. @@ -24,7 +24,7 @@
  119. #endif
  120. #include <gnome.h>
  121. -#include <glib-2.0/glib.h>
  122. +#include <glib.h>
  123. #include <gal/widgets/e-unicode.h>
  124. #include <string.h>
  125. diff -urN gnomesword-2.1.1/src/main/lists.h gnomesword-2.1.1-jsaw/src/main/lists.h
  126. --- gnomesword-2.1.1/src/main/lists.h 2004-03-18 21:45:41.000000000 +0100
  127. +++ gnomesword-2.1.1-jsaw/src/main/lists.h 2004-08-09 03:52:23.938838160 +0200
  128. @@ -27,7 +27,7 @@
  129. {
  130. #endif
  131. -#include <glib-2.0/glib.h>
  132. +#include <glib.h>
  133. typedef struct _module_lists MOD_LISTS;
  134. struct _module_lists {
  135. diff -urN gnomesword-2.1.1/src/main/mod_mgr.c gnomesword-2.1.1-jsaw/src/main/mod_mgr.c
  136. --- gnomesword-2.1.1/src/main/mod_mgr.c 2004-05-14 22:27:44.000000000 +0200
  137. +++ gnomesword-2.1.1-jsaw/src/main/mod_mgr.c 2004-08-09 03:52:23.942837552 +0200
  138. @@ -24,7 +24,7 @@
  139. #endif
  140. #ifdef USE_GNOME2
  141. -#include <glib-2.0/glib.h>
  142. +#include <glib.h>
  143. #include <gnome.h>
  144. #else
  145. #include <glib-1.2/glib.h>
  146. diff -urN gnomesword-2.1.1/src/main/percomm.c gnomesword-2.1.1-jsaw/src/main/percomm.c
  147. --- gnomesword-2.1.1/src/main/percomm.c 2004-04-21 22:57:56.000000000 +0200
  148. +++ gnomesword-2.1.1-jsaw/src/main/percomm.c 2004-08-09 03:52:23.945837096 +0200
  149. @@ -25,7 +25,7 @@
  150. #ifdef USE_GNOME2
  151. -#include <glib-2.0/glib.h>
  152. +#include <glib.h>
  153. #else
  154. #include <glib-1.2/glib.h>
  155. #endif
  156. diff -urN gnomesword-2.1.1/src/main/search_dialog.h gnomesword-2.1.1-jsaw/src/main/search_dialog.h
  157. --- gnomesword-2.1.1/src/main/search_dialog.h 2004-05-13 21:48:27.000000000 +0200
  158. +++ gnomesword-2.1.1-jsaw/src/main/search_dialog.h 2004-08-09 03:52:23.947836792 +0200
  159. @@ -26,7 +26,7 @@
  160. extern "C" {
  161. #endif
  162. -#include <glib-2.0/glib.h>
  163. +#include <glib.h>
  164. void main_dialog_search_percent_update(char percent, void *userData);
  165. void main_range_text_changed(GtkEditable * editable);
  166. diff -urN gnomesword-2.1.1/src/main/search_sidebar.h gnomesword-2.1.1-jsaw/src/main/search_sidebar.h
  167. --- gnomesword-2.1.1/src/main/search_sidebar.h 2004-04-21 22:58:01.000000000 +0200
  168. +++ gnomesword-2.1.1-jsaw/src/main/search_sidebar.h 2004-08-09 03:52:23.949836488 +0200
  169. @@ -26,7 +26,7 @@
  170. extern "C" {
  171. #endif
  172. -#include <glib-2.0/glib.h>
  173. +#include <glib.h>
  174. void main_sidebar_search_percent_update(char percent, void *userData);
  175. void main_do_sidebar_search(gpointer user_data);
  176. diff -urN gnomesword-2.1.1/src/main/settings.c gnomesword-2.1.1-jsaw/src/main/settings.c
  177. --- gnomesword-2.1.1/src/main/settings.c 2004-05-18 02:24:17.000000000 +0200
  178. +++ gnomesword-2.1.1-jsaw/src/main/settings.c 2004-08-09 03:52:23.955835576 +0200
  179. @@ -25,7 +25,7 @@
  180. #endif
  181. #ifdef USE_GNOME2
  182. -#include <glib-2.0/glib.h>
  183. +#include <glib.h>
  184. #else
  185. #include <glib-1.2/glib.h>
  186. #endif
  187. diff -urN gnomesword-2.1.1/src/main/spell_pspell.c gnomesword-2.1.1-jsaw/src/main/spell_pspell.c
  188. --- gnomesword-2.1.1/src/main/spell_pspell.c 2003-12-08 16:43:55.000000000 +0100
  189. +++ gnomesword-2.1.1-jsaw/src/main/spell_pspell.c 2004-08-09 03:52:23.958835120 +0200
  190. @@ -26,7 +26,7 @@
  191. #ifdef USE_PSPELL
  192. #ifdef USE_GNOME2
  193. -#include <glib-2.0/glib.h>
  194. +#include <glib.h>
  195. #else
  196. #include <glib-1.2/glib.h>
  197. #endif
  198. diff -urN gnomesword-2.1.1/src/main/xml.c gnomesword-2.1.1-jsaw/src/main/xml.c
  199. --- gnomesword-2.1.1/src/main/xml.c 2004-05-13 17:30:33.000000000 +0200
  200. +++ gnomesword-2.1.1-jsaw/src/main/xml.c 2004-08-09 03:52:23.968833600 +0200
  201. @@ -24,7 +24,7 @@
  202. #endif
  203. -#include <glib-2.0/glib.h>
  204. +#include <glib.h>
  205. #include <libxml/parser.h>