cgit: Added cgit 0.7.3-c502865 - A CGI for git written in C
[opensde-package-nopast.git] / gnome14 / bonobo10 / bonobo-10.patch.disabled
blob39907506c9fe7f8d007cc151eb8c122af5056b64
1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../bonobo10/bonobo-10.patch.disabled
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 Clifford Wolf
8 # More information can be found in the files COPYING and README.
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 # --- SDE-COPYRIGHT-NOTE-END ---
18 --- ./bonobo/bonobo-property-bag-xml.c.orig     Fri Feb 23 02:40:44 2001
19 +++ ./bonobo/bonobo-property-bag-xml.c  Thu Jun 28 09:52:50 2001
20 @@ -12,8 +12,8 @@
21  #include <gtk/gtksignal.h>
22  #include <gtk/gtkmarshal.h>
23  #include <bonobo/bonobo-stream-client.h>
24 -#include <gnome-xml/tree.h>
25 -#include <gnome-xml/parser.h>
26 +#include <libxml/tree.h>
27 +#include <libxml/parser.h>
28  #include <bonobo/bonobo-property-bag.h>
29  #include <bonobo/bonobo-property-bag-xml.h>
30  #include <bonobo/bonobo-ui-node.h>
31 --- ./bonobo/bonobo-ui-component.c.orig Sat Feb 24 03:42:28 2001
32 +++ ./bonobo/bonobo-ui-component.c      Thu Jun 28 09:52:50 2001
33 @@ -12,8 +12,8 @@
34  #include <bonobo.h>
35  #include <bonobo/bonobo-ui-xml.h>
36  #include <bonobo/bonobo-ui-component.h>
37 -#include <gnome-xml/tree.h>
38 -#include <gnome-xml/parser.h>
39 +#include <libxml/tree.h>
40 +#include <libxml/parser.h>
42  #define PARENT_TYPE BONOBO_X_OBJECT_TYPE
44 --- ./bonobo/bonobo-ui-node.c.orig      Sat Feb 17 04:30:42 2001
45 +++ ./bonobo/bonobo-ui-node.c   Thu Jun 28 10:18:32 2001
46 @@ -11,9 +11,9 @@
47  #include "config.h"
48  #include <bonobo/bonobo-ui-node.h>
50 -#include <gnome-xml/parser.h>
51 -#include <gnome-xml/parserInternals.h>
52 -#include <gnome-xml/xmlmemory.h>
53 +#include <libxml/parser.h>
54 +#include <libxml/parserInternals.h>
55 +#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                 }
67                 for (l = node->xmlChildrenNode; l; l = next) {
68 @@ -569,7 +569,7 @@
69         case XML_ATTRIBUTE_NODE: {
70                 xmlAttr *attr = (xmlAttr *)node;
71                 attr->ns = NULL;
72 -               do_strip (attr->val);
73 +               do_strip (attr->children);
74                 break;
75         }
77 --- ./bonobo/bonobo-ui-util.c.orig      Fri Mar  9 06:41:48 2001
78 +++ ./bonobo/bonobo-ui-util.c   Thu Jun 28 09:52:50 2001
79 @@ -14,8 +14,8 @@
80  #include <bonobo/bonobo-ui-xml.h>
81  #include <bonobo/bonobo-ui-util.h>
83 -#include <gnome-xml/tree.h>
84 -#include <gnome-xml/parser.h>
85 +#include <libxml/tree.h>
86 +#include <libxml/parser.h>
88  static const char write_lut[16] = {
89         '0', '1', '2', '3', '4', '5', '6', '7',
90 @@ -1072,7 +1072,7 @@
91         for (prop = old_props; prop; prop = prop->next) {
92                 xmlChar *value;
94 -               value = xmlNodeListGetString (NULL, prop->val, 1);
95 +               value = xmlNodeListGetString (NULL, prop->children, 1);
97                 /* Find translatable properties */
98                 if (prop->name && prop->name [0] == '_') {
99 --- ./bonobo/bonobo-ui-xml.c.orig       Sat Feb 24 06:17:03 2001
100 +++ ./bonobo/bonobo-ui-xml.c    Thu Jun 28 09:52:51 2001
101 @@ -12,8 +12,8 @@
102  #include <gtk/gtksignal.h>
103  #include <bonobo/bonobo-ui-xml.h>
105 -#include <gnome-xml/tree.h>
106 -#include <gnome-xml/parser.h>
107 +#include <libxml/tree.h>
108 +#include <libxml/parser.h>
111  #undef UI_XML_DEBUG
112 --- ./bonobo/bonobo-win.c.orig  Wed Mar 14 21:20:44 2001
113 +++ ./bonobo/bonobo-win.c       Thu Jun 28 09:52:51 2001
114 @@ -20,8 +20,8 @@
115  #include <bonobo/bonobo-ui-sync-status.h>
116  #include <bonobo/bonobo-ui-sync-toolbar.h>
118 -#include <gnome-xml/tree.h>
119 -#include <gnome-xml/parser.h>
120 +#include <libxml/tree.h>
121 +#include <libxml/parser.h>
123  GtkWindowClass *bonobo_window_parent_class = NULL;
125 --- ./configure.orig    Thu Apr 12 23:37:29 2001
126 +++ ./configure Thu Jun 28 09:52:51 2001
127 @@ -5606,7 +5606,7 @@
129  echo $ac_n "checking for libXml >= 1.8.10""... $ac_c" 1>&6
130  echo "configure:5609: checking for libXml >= 1.8.10" >&5
131 -vers=`gnome-config --modversion xml | sed -e "s/xml-//" | \
132 +vers=`gnome-config --modversion xml2 | sed -e "s/xml2-//" | \
133                 awk 'BEGIN { FS = "."; } { printf "%d", $1 * 10000 + $2 * 100 + $3;}'`
134  if test "$vers" -ge 10810; then
135         echo "$ac_t""found" 1>&6
136 @@ -5951,11 +5951,11 @@
137  fi
139  BONOBO_LIBDIR='-L${libdir}'
140 -BONOBO_INCLUDEDIR="-I${includedir} `$GNOME_CONFIG --cflags gnomeui gdk_pixbuf print oaf xml`"
141 +BONOBO_INCLUDEDIR="-I${includedir} `$GNOME_CONFIG --cflags gnomeui gdk_pixbuf print oaf xml2`"
142  BONOBO_LIBS="-lbonobo `$GNOME_CONFIG --libs gnomeui gdk_pixbuf oaf`"
143 -BONOBOX_LIBS="$BONOBO_LIBS -lbonobox `$GNOME_CONFIG --libs xml`"
144 +BONOBOX_LIBS="$BONOBO_LIBS -lbonobox `$GNOME_CONFIG --libs xml2`"
145  BONOBOX_PRINT_LIBS="$BONOBOX_LIBS -lbonobo-print `$GNOME_CONFIG --libs print`"
146 -XML_LIBS="`$GNOME_CONFIG --libs xml`"
147 +XML_LIBS="`$GNOME_CONFIG --libs xml2`"