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.

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