2004-04-29 Mike Kestner <mkestner@ximian.com>

* gst/* : kill.  it's been spun out the the gst-sharp module.
	* sources/Makefile.am : remove gst source download target.
	* sources/gtk-sharp-sources.xml : remove gst nodes.

svn path=/trunk/gtk-sharp/; revision=26382
This commit is contained in:
Mike Kestner 2004-04-30 03:44:57 +00:00
parent e4c7f28e66
commit d790d0b646
11 changed files with 6 additions and 4612 deletions

View file

@ -1,3 +1,9 @@
2004-04-29 Mike Kestner <mkestner@ximian.com>
* gst/* : kill. it's been spun out the the gst-sharp module.
* sources/Makefile.am : remove gst source download target.
* sources/gtk-sharp-sources.xml : remove gst nodes.
2004-04-29 Mike Kestner <mkestner@ximian.com>
* configure.in : expand the AssemblyInfo.cs files.

View file

@ -1,7 +0,0 @@
*.dll
generated
generated-stamp
Makefile
Makefile.in
*-api.xml

View file

@ -1,35 +0,0 @@
//
// Application.cs - Gst initialization
//
// Author: Alp Toker <alp@atoker.com>
//
// 2002 (C) Copyright, Alp Toker
//
namespace Gst {
using System;
using System.Runtime.InteropServices;
public class Application {
[DllImport("gstreamer")]
static extern void gst_init (int argc, IntPtr argv);
public static void Init ()
{
gst_init (0, new IntPtr(0));
}
[DllImport("gstreamer")]
static extern void gst_init (ref int argc, ref String[] argv);
public static void Init (ref string[] args)
{
int argc = args.Length;
gst_init (ref argc, ref args);
}
}
}

View file

@ -1,10 +0,0 @@
//
// Element.custom
//
// This code is inserted after the automatically generated code.
//
public void SetProperty(string property_name, string value) {
GLib.Value val = new GLib.Value (value);
gst_element_set_property(Handle, property_name, val.Handle);
}

View file

@ -1,14 +0,0 @@
<?xml version="1.0"?>
<metadata>
<attr path="//object[@name='Statistics']/signal[@cname='update']" name="name">UpdateEvent</attr>
<attr path="//struct[@cname='GstEvent']/field[@type='GstEventType']" name="cname">event_type</attr>
<attr path="//struct[@cname='GstEvent']/field[@type='GstSeekType']" name="cname">seek_type</attr>
<!-- Autoplug class/object conflicts -->
<move-node path="//class[@cname='GstAutoplug_']/method">//object[@cname='GstAutoplug']</move-node>
<attr path="//class[@cname='GstAutoplug_']" name="hidden">1</attr>
<!-- Temporarily disabled -->
<attr path="//object[@cname='GstIndex']/property[@cname='resolver']" name="hidden">1</attr>
<attr path="//object[@cname='GstRealPad']/property[@cname='caps']" name="hidden">1</attr>
</metadata>

View file

@ -1,36 +0,0 @@
APIS= gst-api.xml
RUNTIME=@MONO@
MCS=mcs
ASSEMBLY=gst-sharp.dll
all: $(ASSEMBLY)
generated-stamp: $(APIS) ../generator/gapi_codegen.exe
$(RUNTIME) ../parser/gapi-fixup.exe --api=gst-api.xml --metadata=Gst.metadata && \
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(APIS) \
--outdir=generated --customdir=. --assembly-name=gst-sharp \
&& touch generated-stamp
$(ASSEMBLY): *.cs generated-stamp
$(MCS) --unsafe --target library \
-r glib-sharp.dll -o $(ASSEMBLY) --recurse '*.cs'
clean:
rm -f generated-stamp
rm -f $(ASSEMBLY)
rm -rf generated
prefix=@prefix@
DESTDIR=
apidir=$(DESTDIR)$(prefix)/share/gapi
libdir=$(DESTDIR)$(prefix)/lib
install: all
../mkinstalldirs $(libdir) && \
../mkinstalldirs $(apidir) && \
for i in $(APIS); do \
cp $$i $(apidir) || true; \
done && \
cp $(ASSEMBLY) $(libdir)

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,6 @@
EXTRA_DIST = \
README \
gtk-sharp-sources.xml \
gstreamer-parse.patch \
gtkhtml-font-style-enum.patch
@ -38,10 +37,6 @@ get-gtkhtml-code:
wget http://ftp.gnome.org/pub/GNOME/sources/gtkhtml/3.0/gtkhtml-3.0.8.tar.gz --output-document=- | tar -xz $(GTKHTML_SOURCEFILES)
patch -p0 < gtkhtml-font-style-enum.patch
get-gst-code:
wget http://ftp.gnome.org/pub/GNOME/sources/gstreamer/0.6/gstreamer-0.6.4.tar.gz --output-document=- | tar -xz
patch -p0 < gstreamer-parse.patch
get-source-code: get-gtkhtml-code get-gst-code
for i in $(DOWNLOADS); do \
wget $$i --output-document=- | tar -xz ; \

View file

@ -69,7 +69,6 @@ WHAT'S REQUIRED
libart_lgpl-2.3.10
libgda-1.0.0
libgnomedb-1.0.0
gstreamer-0.6.4
librsvg-2.2.5
(If you create a new binding, that is part of Gtk#, be sure to add it

View file

@ -1,19 +0,0 @@
Index: gstreamer-0.6.4/gst/gstatomic_impl.h
===================================================================
@@ -323,7 +323,7 @@
}
/***** MIPS *****/
-#elif defined(HAVE_CPU_MIPS) && defined(__GNUC__)
+#elif defined(HAVE_CPU_MIPS) && defined(__GNUC__) && 0
GST_INLINE_FUNC void gst_atomic_int_init (GstAtomicInt *aint, gint val) { aint->counter = val; }
GST_INLINE_FUNC void gst_atomic_int_destroy (GstAtomicInt *aint) { }
@@ -375,7 +375,6 @@
/***** S/390 *****/
#elif defined(HAVE_CPU_S390) && defined(__GNUC__)
-typedef struct { volatile int counter; } atomic_t __attribute__ ((aligned (4)));
GST_INLINE_FUNC void gst_atomic_int_init (GstAtomicInt *aint, gint val) { aint->counter = val; }
GST_INLINE_FUNC void gst_atomic_int_destroy (GstAtomicInt *aint) { }

View file

@ -104,17 +104,6 @@
</namespace>
</library>
</api>
<api filename="../gst/gst-api.raw">
<library name="gstreamer">
<namespace name="Gst">
<dir>gstreamer-0.6.4/gst</dir>
<dir>gstreamer-0.6.4/gst/autoplug</dir>
<dir>gstreamer-0.6.4/gst/elements</dir>
<dir>gstreamer-0.6.4/gst/registries</dir>
<dir>gstreamer-0.6.4/gst/schedulers</dir>
</namespace>
</library>
</api>
<api filename="../rsvg/rsvg-api.raw">
<library name="rsvg-2">
<namespace name="Rsvg">