 +G_BEGIN_DECLS
 +
 +/* #defines don't like whitespacey bits */
-+#define GST_TYPE_KATE \
-+  (gst_kate_get_type())
-+#define GST_KATE(obj) \
-+  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_KATE,GstKate))
-+#define GST_KATE_CLASS(klass) \
-+  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_KATE,GstKateClass))
-+#define GST_IS_KATE(obj) \
-+  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_KATE))
-+#define GST_IS_KATE_CLASS(klass) \
-+  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_KATE))
-+
-+typedef struct _GstKate      GstKate;
-+typedef struct _GstKateClass GstKateClass;
-+
-+struct _GstKate
++#define GST_TYPE_KATE_DEC \
++  (gst_kate_dec_get_type())
++#define GST_KATE_DEC(obj) \
++  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_KATE_DEC,GstKateDec))
++#define GST_KATE_DEC_CLASS(klass) \
++  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_KATE,GstKateDecClass))
++#define GST_IS_KATE_DEC(obj) \
++  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_KATE_DEC))
++#define GST_IS_KATE_DEC_CLASS(klass) \
++  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_KATE_DEC))
++
++typedef struct _GstKateDec      GstKateDec;
++typedef struct _GstKateDecClass GstKateDecClass;
++
++struct _GstKateDec
 +{
 +  GstElement element;
 +

+ * initialize structure
+ */
+static void
+gst_kate_init (GstKate * dec,
+    GstKateClass * gclass)
+{
+  GST_DEBUG_OBJECT(dec, "gst_kate_init");
+
+  dec->sinkpad = gst_pad_new_from_static_template ( &sink_factory, "sink");
+  gst_pad_use_fixed_caps(dec->sinkpad);

+  kate_state k;
+
+  gboolean silent;
+  gboolean remove_markup;
+  gboolean initialized;
+};
+
+struct _GstKateDecClass 
+{
+  GstElementClass parent_class;
+};
+
+GType gst_kate_dec_get_type (void);
+
+G_END_DECLS
+
+#endif /* __GST_KATE_DEC_H__ */
--- /dev/null	2008-03-26 19:55:28.536647000 +0000
+++ gst-plugins-bad-0.10.6/ext/kate/Makefile.am	2008-03-30 18:03:22.000000000 +0100
@@ -0,0 +1,15 @@
+# plugindir is set in configure
+
+plugin_LTLIBRARIES = libgstkate.la
+
+# sources used to compile this plug-in
+libgstkate_la_SOURCES = gstkate.c gstkatedec.c
+
+# flags used to compile this plugin
+# add other _CFLAGS and _LIBS as needed
