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.

155 lines
5.1 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 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. --- ./bonobo/bonobo-property-bag-xml.c.orig Fri Feb 23 02:40:44 2001
  23. +++ ./bonobo/bonobo-property-bag-xml.c Thu Jun 28 09:52:50 2001
  24. @@ -12,8 +12,8 @@
  25. #include <gtk/gtksignal.h>
  26. #include <gtk/gtkmarshal.h>
  27. #include <bonobo/bonobo-stream-client.h>
  28. -#include <gnome-xml/tree.h>
  29. -#include <gnome-xml/parser.h>
  30. +#include <libxml/tree.h>
  31. +#include <libxml/parser.h>
  32. #include <bonobo/bonobo-property-bag.h>
  33. #include <bonobo/bonobo-property-bag-xml.h>
  34. #include <bonobo/bonobo-ui-node.h>
  35. --- ./bonobo/bonobo-ui-component.c.orig Sat Feb 24 03:42:28 2001
  36. +++ ./bonobo/bonobo-ui-component.c Thu Jun 28 09:52:50 2001
  37. @@ -12,8 +12,8 @@
  38. #include <bonobo.h>
  39. #include <bonobo/bonobo-ui-xml.h>
  40. #include <bonobo/bonobo-ui-component.h>
  41. -#include <gnome-xml/tree.h>
  42. -#include <gnome-xml/parser.h>
  43. +#include <libxml/tree.h>
  44. +#include <libxml/parser.h>
  45. #define PARENT_TYPE BONOBO_X_OBJECT_TYPE
  46. --- ./bonobo/bonobo-ui-node.c.orig Sat Feb 17 04:30:42 2001
  47. +++ ./bonobo/bonobo-ui-node.c Thu Jun 28 10:18:32 2001
  48. @@ -11,9 +11,9 @@
  49. #include "config.h"
  50. #include <bonobo/bonobo-ui-node.h>
  51. -#include <gnome-xml/parser.h>
  52. -#include <gnome-xml/parserInternals.h>
  53. -#include <gnome-xml/xmlmemory.h>
  54. +#include <libxml/parser.h>
  55. +#include <libxml/parserInternals.h>
  56. +#include <libxml/xmlmemory.h>
  57. /* Having this struct here makes debugging nicer. */
  58. struct _BonoboUINode {
  59. @@ -556,7 +556,7 @@
  60. for (a = node->properties; a; a = nexta) {
  61. nexta = a->next;
  62. a->ns = NULL;
  63. - do_strip (a->val);
  64. + do_strip (a->children);
  65. }
  66. for (l = node->xmlChildrenNode; l; l = next) {
  67. @@ -569,7 +569,7 @@
  68. case XML_ATTRIBUTE_NODE: {
  69. xmlAttr *attr = (xmlAttr *)node;
  70. attr->ns = NULL;
  71. - do_strip (attr->val);
  72. + do_strip (attr->children);
  73. break;
  74. }
  75. --- ./bonobo/bonobo-ui-util.c.orig Fri Mar 9 06:41:48 2001
  76. +++ ./bonobo/bonobo-ui-util.c Thu Jun 28 09:52:50 2001
  77. @@ -14,8 +14,8 @@
  78. #include <bonobo/bonobo-ui-xml.h>
  79. #include <bonobo/bonobo-ui-util.h>
  80. -#include <gnome-xml/tree.h>
  81. -#include <gnome-xml/parser.h>
  82. +#include <libxml/tree.h>
  83. +#include <libxml/parser.h>
  84. static const char write_lut[16] = {
  85. '0', '1', '2', '3', '4', '5', '6', '7',
  86. @@ -1072,7 +1072,7 @@
  87. for (prop = old_props; prop; prop = prop->next) {
  88. xmlChar *value;
  89. - value = xmlNodeListGetString (NULL, prop->val, 1);
  90. + value = xmlNodeListGetString (NULL, prop->children, 1);
  91. /* Find translatable properties */
  92. if (prop->name && prop->name [0] == '_') {
  93. --- ./bonobo/bonobo-ui-xml.c.orig Sat Feb 24 06:17:03 2001
  94. +++ ./bonobo/bonobo-ui-xml.c Thu Jun 28 09:52:51 2001
  95. @@ -12,8 +12,8 @@
  96. #include <gtk/gtksignal.h>
  97. #include <bonobo/bonobo-ui-xml.h>
  98. -#include <gnome-xml/tree.h>
  99. -#include <gnome-xml/parser.h>
  100. +#include <libxml/tree.h>
  101. +#include <libxml/parser.h>
  102. #undef UI_XML_DEBUG
  103. --- ./bonobo/bonobo-win.c.orig Wed Mar 14 21:20:44 2001
  104. +++ ./bonobo/bonobo-win.c Thu Jun 28 09:52:51 2001
  105. @@ -20,8 +20,8 @@
  106. #include <bonobo/bonobo-ui-sync-status.h>
  107. #include <bonobo/bonobo-ui-sync-toolbar.h>
  108. -#include <gnome-xml/tree.h>
  109. -#include <gnome-xml/parser.h>
  110. +#include <libxml/tree.h>
  111. +#include <libxml/parser.h>
  112. GtkWindowClass *bonobo_window_parent_class = NULL;
  113. --- ./configure.orig Thu Apr 12 23:37:29 2001
  114. +++ ./configure Thu Jun 28 09:52:51 2001
  115. @@ -5606,7 +5606,7 @@
  116. echo $ac_n "checking for libXml >= 1.8.10""... $ac_c" 1>&6
  117. echo "configure:5609: checking for libXml >= 1.8.10" >&5
  118. -vers=`gnome-config --modversion xml | sed -e "s/xml-//" | \
  119. +vers=`gnome-config --modversion xml2 | sed -e "s/xml2-//" | \
  120. awk 'BEGIN { FS = "."; } { printf "%d", $1 * 10000 + $2 * 100 + $3;}'`
  121. if test "$vers" -ge 10810; then
  122. echo "$ac_t""found" 1>&6
  123. @@ -5951,11 +5951,11 @@
  124. fi
  125. BONOBO_LIBDIR='-L${libdir}'
  126. -BONOBO_INCLUDEDIR="-I${includedir} `$GNOME_CONFIG --cflags gnomeui gdk_pixbuf print oaf xml`"
  127. +BONOBO_INCLUDEDIR="-I${includedir} `$GNOME_CONFIG --cflags gnomeui gdk_pixbuf print oaf xml2`"
  128. BONOBO_LIBS="-lbonobo `$GNOME_CONFIG --libs gnomeui gdk_pixbuf oaf`"
  129. -BONOBOX_LIBS="$BONOBO_LIBS -lbonobox `$GNOME_CONFIG --libs xml`"
  130. +BONOBOX_LIBS="$BONOBO_LIBS -lbonobox `$GNOME_CONFIG --libs xml2`"
  131. BONOBOX_PRINT_LIBS="$BONOBOX_LIBS -lbonobo-print `$GNOME_CONFIG --libs print`"
  132. -XML_LIBS="`$GNOME_CONFIG --libs xml`"
  133. +XML_LIBS="`$GNOME_CONFIG --libs xml2`"