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.

150 lines
4.9 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../bonobo10/bonobo-10.patch.disabled
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 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. --- ./bonobo/bonobo-property-bag-xml.c.orig Fri Feb 23 02:40:44 2001
  18. +++ ./bonobo/bonobo-property-bag-xml.c Thu Jun 28 09:52:50 2001
  19. @@ -12,8 +12,8 @@
  20. #include <gtk/gtksignal.h>
  21. #include <gtk/gtkmarshal.h>
  22. #include <bonobo/bonobo-stream-client.h>
  23. -#include <gnome-xml/tree.h>
  24. -#include <gnome-xml/parser.h>
  25. +#include <libxml/tree.h>
  26. +#include <libxml/parser.h>
  27. #include <bonobo/bonobo-property-bag.h>
  28. #include <bonobo/bonobo-property-bag-xml.h>
  29. #include <bonobo/bonobo-ui-node.h>
  30. --- ./bonobo/bonobo-ui-component.c.orig Sat Feb 24 03:42:28 2001
  31. +++ ./bonobo/bonobo-ui-component.c Thu Jun 28 09:52:50 2001
  32. @@ -12,8 +12,8 @@
  33. #include <bonobo.h>
  34. #include <bonobo/bonobo-ui-xml.h>
  35. #include <bonobo/bonobo-ui-component.h>
  36. -#include <gnome-xml/tree.h>
  37. -#include <gnome-xml/parser.h>
  38. +#include <libxml/tree.h>
  39. +#include <libxml/parser.h>
  40. #define PARENT_TYPE BONOBO_X_OBJECT_TYPE
  41. --- ./bonobo/bonobo-ui-node.c.orig Sat Feb 17 04:30:42 2001
  42. +++ ./bonobo/bonobo-ui-node.c Thu Jun 28 10:18:32 2001
  43. @@ -11,9 +11,9 @@
  44. #include "config.h"
  45. #include <bonobo/bonobo-ui-node.h>
  46. -#include <gnome-xml/parser.h>
  47. -#include <gnome-xml/parserInternals.h>
  48. -#include <gnome-xml/xmlmemory.h>
  49. +#include <libxml/parser.h>
  50. +#include <libxml/parserInternals.h>
  51. +#include <libxml/xmlmemory.h>
  52. /* Having this struct here makes debugging nicer. */
  53. struct _BonoboUINode {
  54. @@ -556,7 +556,7 @@
  55. for (a = node->properties; a; a = nexta) {
  56. nexta = a->next;
  57. a->ns = NULL;
  58. - do_strip (a->val);
  59. + do_strip (a->children);
  60. }
  61. for (l = node->xmlChildrenNode; l; l = next) {
  62. @@ -569,7 +569,7 @@
  63. case XML_ATTRIBUTE_NODE: {
  64. xmlAttr *attr = (xmlAttr *)node;
  65. attr->ns = NULL;
  66. - do_strip (attr->val);
  67. + do_strip (attr->children);
  68. break;
  69. }
  70. --- ./bonobo/bonobo-ui-util.c.orig Fri Mar 9 06:41:48 2001
  71. +++ ./bonobo/bonobo-ui-util.c Thu Jun 28 09:52:50 2001
  72. @@ -14,8 +14,8 @@
  73. #include <bonobo/bonobo-ui-xml.h>
  74. #include <bonobo/bonobo-ui-util.h>
  75. -#include <gnome-xml/tree.h>
  76. -#include <gnome-xml/parser.h>
  77. +#include <libxml/tree.h>
  78. +#include <libxml/parser.h>
  79. static const char write_lut[16] = {
  80. '0', '1', '2', '3', '4', '5', '6', '7',
  81. @@ -1072,7 +1072,7 @@
  82. for (prop = old_props; prop; prop = prop->next) {
  83. xmlChar *value;
  84. - value = xmlNodeListGetString (NULL, prop->val, 1);
  85. + value = xmlNodeListGetString (NULL, prop->children, 1);
  86. /* Find translatable properties */
  87. if (prop->name && prop->name [0] == '_') {
  88. --- ./bonobo/bonobo-ui-xml.c.orig Sat Feb 24 06:17:03 2001
  89. +++ ./bonobo/bonobo-ui-xml.c Thu Jun 28 09:52:51 2001
  90. @@ -12,8 +12,8 @@
  91. #include <gtk/gtksignal.h>
  92. #include <bonobo/bonobo-ui-xml.h>
  93. -#include <gnome-xml/tree.h>
  94. -#include <gnome-xml/parser.h>
  95. +#include <libxml/tree.h>
  96. +#include <libxml/parser.h>
  97. #undef UI_XML_DEBUG
  98. --- ./bonobo/bonobo-win.c.orig Wed Mar 14 21:20:44 2001
  99. +++ ./bonobo/bonobo-win.c Thu Jun 28 09:52:51 2001
  100. @@ -20,8 +20,8 @@
  101. #include <bonobo/bonobo-ui-sync-status.h>
  102. #include <bonobo/bonobo-ui-sync-toolbar.h>
  103. -#include <gnome-xml/tree.h>
  104. -#include <gnome-xml/parser.h>
  105. +#include <libxml/tree.h>
  106. +#include <libxml/parser.h>
  107. GtkWindowClass *bonobo_window_parent_class = NULL;
  108. --- ./configure.orig Thu Apr 12 23:37:29 2001
  109. +++ ./configure Thu Jun 28 09:52:51 2001
  110. @@ -5606,7 +5606,7 @@
  111. echo $ac_n "checking for libXml >= 1.8.10""... $ac_c" 1>&6
  112. echo "configure:5609: checking for libXml >= 1.8.10" >&5
  113. -vers=`gnome-config --modversion xml | sed -e "s/xml-//" | \
  114. +vers=`gnome-config --modversion xml2 | sed -e "s/xml2-//" | \
  115. awk 'BEGIN { FS = "."; } { printf "%d", $1 * 10000 + $2 * 100 + $3;}'`
  116. if test "$vers" -ge 10810; then
  117. echo "$ac_t""found" 1>&6
  118. @@ -5951,11 +5951,11 @@
  119. fi
  120. BONOBO_LIBDIR='-L${libdir}'
  121. -BONOBO_INCLUDEDIR="-I${includedir} `$GNOME_CONFIG --cflags gnomeui gdk_pixbuf print oaf xml`"
  122. +BONOBO_INCLUDEDIR="-I${includedir} `$GNOME_CONFIG --cflags gnomeui gdk_pixbuf print oaf xml2`"
  123. BONOBO_LIBS="-lbonobo `$GNOME_CONFIG --libs gnomeui gdk_pixbuf oaf`"
  124. -BONOBOX_LIBS="$BONOBO_LIBS -lbonobox `$GNOME_CONFIG --libs xml`"
  125. +BONOBOX_LIBS="$BONOBO_LIBS -lbonobox `$GNOME_CONFIG --libs xml2`"
  126. BONOBOX_PRINT_LIBS="$BONOBOX_LIBS -lbonobo-print `$GNOME_CONFIG --libs print`"
  127. -XML_LIBS="`$GNOME_CONFIG --libs xml`"
  128. +XML_LIBS="`$GNOME_CONFIG --libs xml2`"