/ogorman/finkinfo/gnome-python2-py23.patch

https://github.com/jrabbit/Fink-Experimental · Patch · 274 lines · 267 code · 7 blank · 0 comment · 0 complexity · b606d986889b6fd3cbcad2e9c3a1d95c MD5 · raw file

  1. diff -urN gnome-python-2.0.0.orig/bonobo/bonobo-arg.c gnome-python-2.0.0/bonobo/bonobo-arg.c
  2. --- gnome-python-2.0.0.orig/bonobo/bonobo-arg.c Tue Feb 11 00:32:24 2003
  3. +++ gnome-python-2.0.0/bonobo/bonobo-arg.c Tue Jan 27 22:58:43 2004
  4. @@ -1,5 +1,7 @@
  5. /* -*- Mode: C; c-basic-offset: 4 -*- */
  6. -
  7. +#define NO_IMPORT_PYGOBJECT 1
  8. +#define NO_IMPORT_PYGTK 1
  9. +#define NO_IMPORT_PYORBIT 1
  10. #include <pygobject.h>
  11. #include <pyorbit.h>
  12. #include <bonobo/bonobo-types.h>
  13. diff -urN gnome-python-2.0.0.orig/bonobo/bonobo.override gnome-python-2.0.0/bonobo/bonobo.override
  14. --- gnome-python-2.0.0.orig/bonobo/bonobo.override Tue Aug 12 22:58:35 2003
  15. +++ gnome-python-2.0.0/bonobo/bonobo.override Wed Jan 28 14:04:08 2004
  16. @@ -3,7 +3,6 @@
  17. headers
  18. #include <Python.h>
  19. -#define NO_IMPORT_PYGOBJECT
  20. #include <pygobject.h>
  21. #include <pyorbit.h>
  22. #include <libbonobo.h>
  23. diff -urN gnome-python-2.0.0.orig/bonobo/bonobomodule.c gnome-python-2.0.0/bonobo/bonobomodule.c
  24. --- gnome-python-2.0.0.orig/bonobo/bonobomodule.c Sun Aug 24 22:34:32 2003
  25. +++ gnome-python-2.0.0/bonobo/bonobomodule.c Tue Jan 27 22:58:30 2004
  26. @@ -1,4 +1,7 @@
  27. /* -*- Mode: C; c-basic-offset: 4 -*- */
  28. +#define NO_IMPORT_PYGOBJECT 1
  29. +#define NO_IMPORT_PYGTK 1
  30. +#define NO_IMPORT_PYORBIT 1
  31. #ifdef HAVE_CONFIG_H
  32. # include "config.h"
  33. #endif
  34. diff -urN gnome-python-2.0.0.orig/bonobo/bonoboui.override gnome-python-2.0.0/bonobo/bonoboui.override
  35. --- gnome-python-2.0.0.orig/bonobo/bonoboui.override Wed Jul 16 18:24:35 2003
  36. +++ gnome-python-2.0.0/bonobo/bonoboui.override Wed Jan 28 14:03:58 2004
  37. @@ -2,7 +2,6 @@
  38. %%
  39. headers
  40. #include <Python.h>
  41. -#define NO_IMPORT_PYGOBJECT
  42. #include <pygobject.h>
  43. #include <pyorbit.h>
  44. #include <bonobo.h>
  45. diff -urN gnome-python-2.0.0.orig/bonobo/bonobouimodule.c gnome-python-2.0.0/bonobo/bonobouimodule.c
  46. --- gnome-python-2.0.0.orig/bonobo/bonobouimodule.c Sun Aug 24 22:34:43 2003
  47. +++ gnome-python-2.0.0/bonobo/bonobouimodule.c Wed Jan 28 20:48:45 2004
  48. @@ -1,4 +1,7 @@
  49. /* -*- Mode: C; c-basic-offset: 4 -*- */
  50. +#define NO_IMPORT_PYGOBJECT 1
  51. +/* #define NO_IMPORT_PYGTK 1 */
  52. +#define NO_IMPORT_PYORBIT 1
  53. #ifdef HAVE_CONFIG_H
  54. # include "config.h"
  55. #endif
  56. diff -urN gnome-python-2.0.0.orig/configure gnome-python-2.0.0/configure
  57. --- gnome-python-2.0.0.orig/configure Mon Sep 1 19:55:41 2003
  58. +++ gnome-python-2.0.0/configure Tue Jan 27 22:12:03 2004
  59. @@ -6833,7 +6833,7 @@
  60. allow_undefined_flag='-undefined suppress'
  61. ;;
  62. *) # Darwin 1.3 on
  63. - test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
  64. + test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-undefined dynamic_lookup'
  65. ;;
  66. esac
  67. # FIXME: Relying on posixy $() will cause problems for
  68. diff -urN gnome-python-2.0.0.orig/gconf/gconf-fixes.c gnome-python-2.0.0/gconf/gconf-fixes.c
  69. --- gnome-python-2.0.0.orig/gconf/gconf-fixes.c Sat Jan 19 20:55:11 2002
  70. +++ gnome-python-2.0.0/gconf/gconf-fixes.c Tue Jan 27 22:46:00 2004
  71. @@ -18,7 +18,9 @@
  72. *
  73. * Author: Johan Dahlin <jdahlin@telia.com>
  74. */
  75. -
  76. +#define NO_IMPORT_PYGOBJECT 1
  77. +#define NO_IMPORT_PYGTK 1
  78. +#define NO_IMPORT_PYORBIT 1
  79. #include <gconf/gconf-client.h>
  80. #include <gconf/gconf-value.h>
  81. diff -urN gnome-python-2.0.0.orig/gconf/gconfmodule.c gnome-python-2.0.0/gconf/gconfmodule.c
  82. --- gnome-python-2.0.0.orig/gconf/gconfmodule.c Sun Aug 24 22:34:54 2003
  83. +++ gnome-python-2.0.0/gconf/gconfmodule.c Tue Jan 27 22:45:34 2004
  84. @@ -1,5 +1,7 @@
  85. /* -*- Mode: C; c-basic-offset: 4 -*- */
  86. -
  87. +#define NO_IMPORT_PYGOBJECT 1
  88. +#define NO_IMPORT_PYGTK 1
  89. +#define NO_IMPORT_PYORBIT 1
  90. #ifdef HAVE_CONFIG_H
  91. #include "config.h"
  92. #endif
  93. Binary files gnome-python-2.0.0.orig/gnome/__init__.pyc and gnome-python-2.0.0/gnome/__init__.pyc differ
  94. diff -urN gnome-python-2.0.0.orig/gnome/appletmodule.c gnome-python-2.0.0/gnome/appletmodule.c
  95. --- gnome-python-2.0.0.orig/gnome/appletmodule.c Sun Aug 24 22:35:13 2003
  96. +++ gnome-python-2.0.0/gnome/appletmodule.c Tue Jan 27 22:53:46 2004
  97. @@ -1,5 +1,7 @@
  98. /* -*- Mode: C; c-basic-offset: 4 -*- */
  99. -
  100. +#define NO_IMPORT_PYGOBJECT 1
  101. +#define NO_IMPORT_PYGTK 1
  102. +#define NO_IMPORT_PYORBIT 1
  103. #ifdef HAVE_CONFIG_H
  104. #include "config.h"
  105. #endif
  106. diff -urN gnome-python-2.0.0.orig/gnome/canvasmodule.c gnome-python-2.0.0/gnome/canvasmodule.c
  107. --- gnome-python-2.0.0.orig/gnome/canvasmodule.c Sun Aug 24 22:35:27 2003
  108. +++ gnome-python-2.0.0/gnome/canvasmodule.c Tue Jan 27 22:51:39 2004
  109. @@ -1,5 +1,7 @@
  110. /* -*- Mode: C; c-basic-offset: 4 -*- */
  111. -
  112. +#define NO_IMPORT_PYGOBJECT 1
  113. +#define NO_IMPORT_PYGTK 1
  114. +#define NO_IMPORT_PYORBIT 1
  115. #ifdef HAVE_CONFIG_H
  116. #include "config.h"
  117. #endif
  118. diff -urN gnome-python-2.0.0.orig/gnome/gnomemodule.c gnome-python-2.0.0/gnome/gnomemodule.c
  119. --- gnome-python-2.0.0.orig/gnome/gnomemodule.c Sun Aug 24 22:36:04 2003
  120. +++ gnome-python-2.0.0/gnome/gnomemodule.c Tue Jan 27 22:50:58 2004
  121. @@ -1,5 +1,7 @@
  122. /* -*- Mode: C; c-basic-offset: 4 -*- */
  123. -
  124. +#define NO_IMPORT_PYGOBJECT 1
  125. +#define NO_IMPORT_PYGTK 1
  126. +#define NO_IMPORT_PYORBIT 1
  127. #ifdef HAVE_CONFIG_H
  128. #include "config.h"
  129. #endif
  130. diff -urN gnome-python-2.0.0.orig/gnome/nautilusmodule.c gnome-python-2.0.0/gnome/nautilusmodule.c
  131. --- gnome-python-2.0.0.orig/gnome/nautilusmodule.c Sun Aug 24 22:36:14 2003
  132. +++ gnome-python-2.0.0/gnome/nautilusmodule.c Tue Jan 27 22:54:01 2004
  133. @@ -1,5 +1,7 @@
  134. /* -*- Mode: C; c-basic-offset: 4 -*- */
  135. -
  136. +#define NO_IMPORT_PYGOBJECT 1
  137. +#define NO_IMPORT_PYGTK 1
  138. +#define NO_IMPORT_PYORBIT 1
  139. #ifdef HAVE_CONFIG_H
  140. #include "config.h"
  141. #endif
  142. diff -urN gnome-python-2.0.0.orig/gnome/uimodule.c gnome-python-2.0.0/gnome/uimodule.c
  143. --- gnome-python-2.0.0.orig/gnome/uimodule.c Sun Aug 24 22:37:00 2003
  144. +++ gnome-python-2.0.0/gnome/uimodule.c Tue Jan 27 22:51:22 2004
  145. @@ -1,5 +1,7 @@
  146. /* -*- Mode: C; c-basic-offset: 4 -*- */
  147. -
  148. +#define NO_IMPORT_PYGOBJECT 1
  149. +#define NO_IMPORT_PYGTK 1
  150. +#define NO_IMPORT_PYORBIT 1
  151. #ifdef HAVE_CONFIG_H
  152. #include "config.h"
  153. #endif
  154. diff -urN gnome-python-2.0.0.orig/gnome/vfs-dir-handle.c gnome-python-2.0.0/gnome/vfs-dir-handle.c
  155. --- gnome-python-2.0.0.orig/gnome/vfs-dir-handle.c Thu Jun 5 23:32:22 2003
  156. +++ gnome-python-2.0.0/gnome/vfs-dir-handle.c Tue Jan 27 22:52:15 2004
  157. @@ -1,5 +1,7 @@
  158. /* -*- mode: C; c-basic-offset: 4 -*- */
  159. -
  160. +#define NO_IMPORT_PYGOBJECT 1
  161. +#define NO_IMPORT_PYGTK 1
  162. +#define NO_IMPORT_PYORBIT 1
  163. #include "pygnomevfs-private.h"
  164. PyObject *
  165. diff -urN gnome-python-2.0.0.orig/gnome/vfs-file-info.c gnome-python-2.0.0/gnome/vfs-file-info.c
  166. --- gnome-python-2.0.0.orig/gnome/vfs-file-info.c Thu Jun 5 23:32:22 2003
  167. +++ gnome-python-2.0.0/gnome/vfs-file-info.c Tue Jan 27 22:52:48 2004
  168. @@ -1,5 +1,7 @@
  169. /* -*- mode: C; c-basic-offset: 4 -*- */
  170. -
  171. +#define NO_IMPORT_PYGOBJECT 1
  172. +#define NO_IMPORT_PYGTK 1
  173. +#define NO_IMPORT_PYORBIT 1
  174. #include "pygnomevfs-private.h"
  175. PyObject *
  176. diff -urN gnome-python-2.0.0.orig/gnome/vfs-handle.c gnome-python-2.0.0/gnome/vfs-handle.c
  177. --- gnome-python-2.0.0.orig/gnome/vfs-handle.c Thu Jun 5 23:32:22 2003
  178. +++ gnome-python-2.0.0/gnome/vfs-handle.c Tue Jan 27 22:52:58 2004
  179. @@ -1,5 +1,7 @@
  180. /* -*- mode: C; c-basic-offset: 4 -*- */
  181. -
  182. +#define NO_IMPORT_PYGOBJECT 1
  183. +#define NO_IMPORT_PYGTK 1
  184. +#define NO_IMPORT_PYORBIT 1
  185. #include "pygnomevfs-private.h"
  186. PyObject *
  187. diff -urN gnome-python-2.0.0.orig/gnome/vfs-uri.c gnome-python-2.0.0/gnome/vfs-uri.c
  188. --- gnome-python-2.0.0.orig/gnome/vfs-uri.c Thu Jun 5 23:32:22 2003
  189. +++ gnome-python-2.0.0/gnome/vfs-uri.c Tue Jan 27 22:53:14 2004
  190. @@ -1,5 +1,7 @@
  191. /* -*- mode: C; c-basic-offset: 4 -*- */
  192. -
  193. +#define NO_IMPORT_PYGOBJECT 1
  194. +#define NO_IMPORT_PYGTK 1
  195. +#define NO_IMPORT_PYORBIT 1
  196. #include "pygnomevfs-private.h"
  197. PyObject *
  198. diff -urN gnome-python-2.0.0.orig/gnome/zvtmodule.c gnome-python-2.0.0/gnome/zvtmodule.c
  199. --- gnome-python-2.0.0.orig/gnome/zvtmodule.c Sun Aug 24 22:37:12 2003
  200. +++ gnome-python-2.0.0/gnome/zvtmodule.c Tue Jan 27 22:53:33 2004
  201. @@ -1,5 +1,7 @@
  202. /* -*- Mode: C; c-basic-offset: 4 -*- */
  203. -
  204. +#define NO_IMPORT_PYGOBJECT 1
  205. +#define NO_IMPORT_PYGTK 1
  206. +#define NO_IMPORT_PYORBIT 1
  207. #ifdef HAVE_CONFIG_H
  208. #include "config.h"
  209. #endif
  210. diff -urN gnome-python-2.0.0.orig/gnomeprint/art-gtype.c gnome-python-2.0.0/gnomeprint/art-gtype.c
  211. --- gnome-python-2.0.0.orig/gnomeprint/art-gtype.c Wed Jan 15 06:45:24 2003
  212. +++ gnome-python-2.0.0/gnomeprint/art-gtype.c Tue Jan 27 22:55:28 2004
  213. @@ -1,4 +1,7 @@
  214. /* -*- Mode: C; c-basic-offset: 4 -*- */
  215. +#define NO_IMPORT_PYGOBJECT 1
  216. +#define NO_IMPORT_PYGTK 1
  217. +#define NO_IMPORT_PYORBIT 1
  218. #include <string.h>
  219. #include "art-gtype.h"
  220. diff -urN gnome-python-2.0.0.orig/gnomeprint/printmodule.c gnome-python-2.0.0/gnomeprint/printmodule.c
  221. --- gnome-python-2.0.0.orig/gnomeprint/printmodule.c Sun Aug 24 22:36:29 2003
  222. +++ gnome-python-2.0.0/gnomeprint/printmodule.c Tue Jan 27 22:55:48 2004
  223. @@ -1,5 +1,7 @@
  224. /* -*- Mode: C; c-basic-offset: 4 -*- */
  225. -
  226. +#define NO_IMPORT_PYGOBJECT 1
  227. +#define NO_IMPORT_PYGTK 1
  228. +#define NO_IMPORT_PYORBIT 1
  229. #ifdef HAVE_CONFIG_H
  230. #include "config.h"
  231. #endif
  232. diff -urN gnome-python-2.0.0.orig/gnomeprint/printuimodule.c gnome-python-2.0.0/gnomeprint/printuimodule.c
  233. --- gnome-python-2.0.0.orig/gnomeprint/printuimodule.c Sun Aug 24 22:36:37 2003
  234. +++ gnome-python-2.0.0/gnomeprint/printuimodule.c Tue Jan 27 22:55:59 2004
  235. @@ -1,5 +1,7 @@
  236. /* -*- Mode: C; c-basic-offset: 4 -*- */
  237. -
  238. +#define NO_IMPORT_PYGOBJECT 1
  239. +#define NO_IMPORT_PYGTK 1
  240. +#define NO_IMPORT_PYORBIT 1
  241. #ifdef HAVE_CONFIG_H
  242. #include "config.h"
  243. #endif
  244. diff -urN gnome-python-2.0.0.orig/gtkhtml2/gtkhtml2module.c gnome-python-2.0.0/gtkhtml2/gtkhtml2module.c
  245. --- gnome-python-2.0.0.orig/gtkhtml2/gtkhtml2module.c Mon Sep 1 20:00:08 2003
  246. +++ gnome-python-2.0.0/gtkhtml2/gtkhtml2module.c Tue Jan 27 22:57:10 2004
  247. @@ -1,5 +1,7 @@
  248. /* -*- Mode: C; c-basic-offset: 4 -*- */
  249. -
  250. +#define NO_IMPORT_PYGOBJECT 1
  251. +#define NO_IMPORT_PYGTK 1
  252. +#define NO_IMPORT_PYORBIT 1
  253. #ifdef HAVE_CONFIG_H
  254. #include "config.h"
  255. #endif
  256. diff -urN gnome-python-2.0.0.orig/setup.py gnome-python-2.0.0/setup.py
  257. --- gnome-python-2.0.0.orig/setup.py Mon Sep 1 22:47:50 2003
  258. +++ gnome-python-2.0.0/setup.py Wed Jan 28 00:00:45 2004
  259. @@ -40,7 +40,7 @@
  260. LIBGNOME_REQUIRED_VERSION = '2.0.0'
  261. LIBGNOMEUI_REQUIRED_VERSION = '2.0.0'
  262. LIBGNOMECANVAS_REQUIRED_VERSION = '2.0.0'
  263. -LIBGNOMEVFS_REQUIRED_VERSION = '2.0.0'
  264. +LIBGNOMEVFS_REQUIRED_VERSION = '22.0.0'
  265. LIBZVT_REQUIRED_VERSION = '2.0.0'
  266. GCONF_REQUIRED_VERSION = '1.2.0'
  267. BONOBO_ACTIVATION_REQUIRED_VERSION = '1.0.0'