Commit 9878dc90 authored by Stephan Sundermann's avatar Stephan Sundermann
Browse files

Preparation to push 1.0 bindings

parent 8d970ba9
INSTALL
Makefile
Makefile.in
aclocal.m4
config.cache
config.guess
config.h
config.h.in
config.h-new
config.log
config.rpath
config.status*
config.sub
configure
libtool
ltconfig
ltmain.sh
missing
stamp-h
stamp-h.in
stamp.h
autom4te.cache
stamp-h1
autoregen.sh
compile
depcomp
install-sh
mkinstalldirs
gstreamer-sharp-0.10.pc
gstreamer-sharp-0.10-uninstalled.pc
.deps
.libs
*~
*.exe
*.mdb
*.pdb
*.dll
*.la
*.lo
*.o
*.swp
*.bak
*.orig
gstreamer-sharp-*.tar.gz*
gstreamer-sharp-*.tar.bz2*
Sebastian Dröge <sebastian.droege@collabora.co.uk>
Previous Authors:
Peter Johanson <peter@peterjohanson.com>
Aaron Bockover <aaron@abock.org>
Khaled Mohammed <khaled.mohammed@gmail.com>
This diff is collapsed.
This diff is collapsed.
AUTOMAKE_OPTIONS = dist-bzip2
SUBDIRS = source parser generator elementgen gstreamer-sharp doc tests samples
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gstreamer-sharp-0.10.pc
EXTRA_DIST = \
RELEASE \
gstreamer-sharp-0.10.pc.in \
gstreamer-sharp.snk
DISTCLEANFILES = gstreamer-sharp-0.10.pc
MAINTAINERCLEANFILES = \
compile \
INSTALL \
config.h.in \
aclocal.m4 \
ltmain.sh \
Makefile.in \
depcomp \
missing \
install-sh \
configure \
config.sub \
config.guess \
intltool-extract.in \
intltool-merge.in \
intltool-update.in \
mkinstalldirs
check: all
$(MAKE) -C tests run-test
This is GStreamer C# bindings 0.9.2 "One more step to completion"
* Update core/base bindings to 0.10.25
* Improve Gst.Buffer bindings and add ByteReader/BitReader bindings
* PbUtils bindings (missing codec installation, ...)
* Improved support for subclassing BaseTransform
* Various bugfixes
gstreamer-sharp are the C#/CLI bindings for GStreamer.
It's currently at a early state of development and the API
might still change slightly in incompatible ways until
the first stable release 0.10.0.
There are bindings for the complete GStreamer core and some
of the GStreamer libraries.
For building the bindings you need:
* Mono 2.4 or MS .NET 2.0 or higher
* GLib >= 2.18
* GStreamer and gst-plugins-base >= 0.10.24
* Optionally GTK# >= 2.12 and Mono.Cairo for the samples
* Optionally nunit >= 2.4 for the unit tests
Note that the Gst.GLib namespace contains complete GLib bindings
but only for convinience reasons. Once a new glib-sharp was released
with everything that is needed for gstreamer-sharp this namespace
will be removed and a dependency on glib-sharp will be added.
Release notes for GStreamer C# bindings 0.9.2 "One more step to completion"
The GStreamer team is proud to announce a new development release
of the GStreamer C# bindings for the GStreamer 0.10.x release series.
The GStreamer 0.10.x release series is a stable series targeted at end users.
Please note that at this time the GStreamer C# bindings
are not consindered API/ABI stable, and public interfaces
may still change from release to release. These changes
will most likely be small. Please read the README file
for more information on this.
Features of this release
* Update core/base bindings to 0.10.25
* Improve Gst.Buffer bindings and add ByteReader/BitReader bindings
* PbUtils bindings (missing codec installation, ...)
* Improved support for subclassing BaseTransform
* Various bugfixes
Bugs fixed in this release
* 595377 : Setting properties on gulong Element throws exception
* 596110 : add gstpbutils binding
* 602610 : MSVC Compatibility in glue/controlsource.c
Download
You can find source releases of gstreamer-sharp in the download directory:
http://gstreamer.freedesktop.org/src/gstreamer-sharp/
GStreamer Homepage
More details can be found on the project's website:
http://gstreamer.freedesktop.org/
Support and Bugs
We use GNOME's bugzilla for bug reports and feature requests:
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
Developers
GStreamer is stored in Git, hosted at git.freedesktop.org, and can be cloned from there.
Interested developers of the core library, plug-ins, and applications should
subscribe to the gstreamer-devel list. If there is sufficient interest we
will create more lists as necessary.
Applications
Contributors to this release
* Sebastian Dröge
 
\ No newline at end of file
- Interfaces currently contain things that should only be called by implementors
- Check vmethods and write them by hand if there are parameters that should be hidden (Gst.Index!)
- Check ownership of callback parameters and vmethods
- Make sure callbacks are only GC'd when they can be (TagMergeFunc, TypeFind, ..)
- Make many functions of base classes protected
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
# Ripped off from GNOME macros version
DIE=0
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`autoconf' installed to compile Gst#."
echo "Download the appropriate package for your distribution,"
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
DIE=1
}
if [ -z "$LIBTOOL" ]; then
LIBTOOL=`which glibtool 2>/dev/null`
if [ ! -x "$LIBTOOL" ]; then
LIBTOOL=`which libtool`
fi
fi
(grep "^AM_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && {
($LIBTOOL --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`libtool' installed to compile Gst#."
echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
}
(automake --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`automake' installed to compile Gst#."
echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
NO_AUTOMAKE=yes
}
# if no automake, don't bother testing for aclocal
test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: Missing \`aclocal'. The version of \`automake'"
echo "installed doesn't appear recent enough."
echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
echo "(or a newer version if it is available)"
DIE=1
}
if test "$DIE" -eq 1; then
exit 1
fi
if test -z "$*"; then
echo "**Warning**: I am going to run \`configure' with no arguments."
echo "If you wish to pass any to it, please specify them on the"
echo \`$0\'" command line."
echo
fi
case $CC in
xlc )
am_opt=--include-deps;;
esac
if grep "^AM_PROG_LIBTOOL" configure.ac >/dev/null; then
if test -z "$NO_LIBTOOLIZE" ; then
echo "Running libtoolize..."
libtoolize --force --copy
fi
fi
echo "Running aclocal $ACLOCAL_FLAGS ..."
aclocal $ACLOCAL_FLAGS || {
echo
echo "**Error**: aclocal failed. This may mean that you have not"
echo "installed all of the packages you need, or you may need to"
echo "set ACLOCAL_FLAGS to include \"-I \$prefix/share/aclocal\""
echo "for the prefix where you installed the packages whose"
echo "macros were not found"
exit 1
}
if grep "^AM_CONFIG_HEADER" configure.ac >/dev/null; then
echo "Running autoheader..."
autoheader || { echo "**Error**: autoheader failed."; exit 1; }
fi
echo "Running automake --add-missing --foreign -Wno-portability $am_opt ..."
automake --add-missing --foreign $am_opt ||
{ echo "**Error**: automake failed."; exit 1; }
echo "Running autoconf ..."
autoconf || { echo "**Error**: autoconf failed."; exit 1; }
conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
if test x$NOCONFIGURE = x; then
echo Running $srcdir/configure $conf_flags "$@" ...
$srcdir/configure $conf_flags "$@" \
&& echo Now type \`make\' to compile $PKG_NAME || exit 1
else
echo Skipping configure process.
fi
AC_INIT(gstreamer-sharp, 0.9.2.1,
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer&component=gst-sharp,
gstreamer-sharp)
AC_CANONICAL_SYSTEM
AC_CONFIG_SRCDIR([README])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([-Wno-portability])
AM_MAINTAINER_MODE
AC_PROG_CC
AC_PROG_INSTALL
AC_HEADER_STDC
PACKAGE_VERSION=gstreamer-sharp-0.10
AC_SUBST(PACKAGE_VERSION)
API_VERSION=0.9.3.0
AC_SUBST(API_VERSION)
MONO_REQUIRED_VERSION=2.4
AC_SUBST(MONO_REQUIRED_VERSION)
PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false)
AM_PROG_LIBTOOL
if test "x$has_mono" = "xtrue"; then
GACUTIL_FLAGS='/package $(PACKAGE_VERSION) /gacdir $(prefix)/lib /root $(DESTDIR)/$(prefix)/lib'
GENERATED_SOURCES=generated/*.cs
AC_PATH_PROG(MONO, mono, no)
AC_PATH_PROG(CSC, gmcs, no)
if test `uname -s` = "Darwin"; then
LIB_PREFIX=
LIB_SUFFIX=.dylib
else
LIB_PREFIX=.so
LIB_SUFFIX=
fi
else
AC_PATH_PROG(CSC, csc.exe, no)
GACUTIL_FLAGS=
GENERATED_SOURCES=generated\\\\*.cs
if test x$CSC = "xno"; then
AC_MSG_ERROR([You need to install either mono or .Net])
else
RUNTIME=
LIB_PREFIX=
LIB_SUFFIX=.dll
fi
fi
AM_CONDITIONAL(USE_MONO_COMPILER, test "x$has_mono" = "xtrue")
AC_SUBST(MONO)
CS="C#"
if test "x$CSC" = "xno" ; then
AC_MSG_ERROR([No $CS compiler found])
fi
AC_PATH_PROG(GACUTIL, gacutil, no)
if test "x$GACUTIL" = "xno" ; then
AC_MSG_ERROR([No gacutil tool found])
fi
AC_SUBST(RUNTIME)
AC_SUBST(CSC)
AC_SUBST(GACUTIL)
AC_SUBST(GACUTIL_FLAGS)
AC_SUBST(LIB_PREFIX)
AC_SUBST(LIB_SUFFIX)
AC_SUBST(GENERATED_SOURCES)
MONODOC_REQUIRED_VERSION=1.1
AC_SUBST(MONODOC_REQUIRED_VERSION)
PKG_CHECK_MODULES(MONODOC_DEPENDENCY, monodoc >= $MONODOC_REQUIRED_VERSION, enable_monodoc=yes, enable_monodoc=no)
if test "x$enable_monodoc" = "xyes"; then
AC_PATH_PROG(MONODOCER, monodocer, no)
AC_PATH_PROG(MDASSEMBLER, mdassembler, no)
AC_PATH_PROG(MONODOCS2HTML, monodocs2html, no)
if test x$MONODOCER = xno -o x$MDASSEMBLER = xno -o x$MONODOCS2HTML = xno; then
enable_monodoc=no
fi
else
MONODOCER=
MDASSEMBLER=
MONODOCS2HTML=
fi
AC_SUBST(MONODOCER)
AC_SUBST(MDASSEMBLER)
AC_SUBST(MONODOCS2HTML)
## Versions of dependencies
#GLIBSHARP_REQUIRED_VERSION=2.12.9.90
#PKG_CHECK_MODULES(GLIBSHARP, glib-sharp-2.0 >= $GLIBSHARP_REQUIRED_VERSION)
#AC_SUBST(GLIBSHARP_LIBS)
GLIB_REQUIRED_VERSION=2.18.1
PKG_CHECK_MODULES(GLIB,
glib-2.0 >= $GLIB_REQUIRED_VERSION
gobject-2.0 >= $GLIB_REQUIRED_VERSION
)
AC_SUBST(GLIB_LIBS)
AC_SUBST(GLIB_CFLAGS)
GSTREAMER_REQUIRED_VERSION=0.10.26.1
GSTREAMER_PLUGINS_REQUIRED_VERSION=0.10.26.1
AC_SUBST(GSTREAMER_REQUIRED_VERSION)
AC_SUBST(GSTREAMER_PLUGINS_REQUIRED_VERSION)
PKG_CHECK_MODULES(GST,
gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION
gstreamer-base-0.10 >= $GSTREAMER_REQUIRED_VERSION
gstreamer-controller-0.10 >= $GSTREAMER_REQUIRED_VERSION
gstreamer-app-0.10 >= $GSTREAMER_REQUIRED_VERSION
gstreamer-audio-0.10 >= $GSTREAMER_REQUIRED_VERSION
gstreamer-cdda-0.10 >= $GSTREAMER_REQUIRED_VERSION
gstreamer-interfaces-0.10 >= $GSTREAMER_REQUIRED_VERSION
gstreamer-pbutils-0.10 >= $GSTREAMER_REQUIRED_VERSION
gstreamer-tag-0.10 >= $GSTREAMER_REQUIRED_VERSION
gstreamer-video-0.10 >= $GSTREAMER_REQUIRED_VERSION
)
AC_SUBST(GST_LIBS)
AC_SUBST(GST_CFLAGS)
# glib-sharp and gtk-sharp and mono-cairo are currently only needed for the samples
PKG_CHECK_MODULES(GLIB_SHARP, glib-sharp-2.0 >= 2.12, have_glibsharp=yes, have_glibsharp=no)
PKG_CHECK_MODULES(GTK_SHARP, gtk-sharp-2.0 >= 2.12, have_gtksharp=yes, have_gtksharp=no)
PKG_CHECK_MODULES(GTK_2_17_3, gtk+-2.0 >= 2.17.3, have_gtk_2_17_3=yes, have_gtk_2_17_3=no)
if test "x$have_gtk_2_17_3" = "xyes"; then
GTK_SHARP_LIBS="$GTK_SHARP_LIBS -define:HAVE_GTK_2_17_3"
fi
PKG_CHECK_MODULES(MONO_CAIRO, mono-cairo, have_monocairo=yes, have_monocairo=no)
AC_SUBST(GLIB_SHARP_LIBS)
AC_SUBST(GTK_SHARP_LIBS)
AC_SUBST(MONO_CAIRO_LIBS)
AM_CONDITIONAL(HAVE_GLIB_SHARP, test "x$have_glibsharp" = "xyes")
AM_CONDITIONAL(HAVE_GTK_SHARP, test "x$have_gtksharp" = "xyes")
AM_CONDITIONAL(HAVE_MONO_CAIRO, test "x$have_monocairo" = "xyes")
AM_CONDITIONAL(ENABLE_MONODOC, test "x$enable_monodoc" = "xyes")
WIN64DEFINES=
case "$host" in
x86_64-*-mingw*|x86_64-*-cygwin*)
WIN64DEFINES="-define:WIN64LONGS"
platform_win32=yes
AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32])
if test "x$cross_compiling" = "xno"; then
CC="gcc -mno-cygwin -g"
HOST_CC="gcc"
fi
;;
*-*-mingw*|*-*-cygwin*)
platform_win32=yes
AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32])
if test "x$cross_compiling" = "xno"; then
CC="gcc -mno-cygwin -g"
HOST_CC="gcc"
fi
;;
*)
platform_win32=no
;;
esac
AC_SUBST(WIN64DEFINES)
## Check for the gapi programs
#PKG_CHECK_MODULES(GAPI, gapi-2.0 >= $GLIBSHARP_REQUIRED_VERSION)
## NUnit tests
AC_PATH_PROG(NUNIT_TESTER, nunit-console, no)
if test "x$NUNIT_TESTER" = "xno" ; then
AC_MSG_WARN([Could not find nunit-console: unit tests cannot be executed])
fi
AC_SUBST(NUNIT_TESTER)
PKG_CHECK_MODULES(MONO_NUNIT, nunit >= 2.4,
do_tests="yes",
[ PKG_CHECK_MODULES(MONO_NUNIT, mono-nunit >= 2.4,
do_tests="yes", do_tests="no")
])
AC_SUBST(MONO_NUNIT_LIBS)
AM_CONDITIONAL(ENABLE_TESTS, test "x$do_tests" = "xyes")
if test "x$do_tests" = "xno"; then
AC_MSG_WARN([Could not find mono-nunit or nunit: tests will not be available])
fi
AC_CHECK_SIZEOF(off_t)
OFF_T_FLAGS="-define:OFF_T_$ac_cv_sizeof_off_t"
AC_SUBST(OFF_T_FLAGS)
AC_OUTPUT([
source/Makefile
parser/Makefile
elementgen/Makefile
generator/Makefile
gstreamer-sharp/Makefile
gstreamer-sharp/AssemblyInfo.cs
gstreamer-sharp/gstreamer-sharp.dll.config
gstreamer-sharp/coreplugins/Makefile
gstreamer-sharp/baseplugins/Makefile
gstreamer-sharp/goodplugins/Makefile
gstreamer-sharp/badplugins/Makefile
gstreamer-sharp/glue/Makefile
doc/Makefile
tests/Makefile
samples/Makefile
gstreamer-sharp-0.10.pc
gstreamer-sharp-0.10-uninstalled.pc
Makefile
])
echo "---"
echo "Configuration summary"
echo ""
echo " * Installation prefix = $prefix"
echo " * $CS compiler: $CSC"
echo " * Documentation: $enable_monodoc ($MONODOC)"
echo ""
echo "---"
gstreamer-sharp-docs.tree
gstreamer-sharp-docs.zip
*html*
en/ns-.xml
ASSEMBLIES = \
$(top_builddir)/gstreamer-sharp/gstreamer-sharp.dll
ASSEMBLIES_BUILD = $(foreach asm,$(ASSEMBLIES),$(addprefix -assembly:,$(asm)))
if ENABLE_MONODOC
SOURCESDIR=$(prefix)/lib/monodoc/sources
TARGETS=gstreamer-sharp-docs.zip gstreamer-sharp-docs.tree gstreamer-sharp-docs.source
else
SOURCESDIR=$(datadir)
TARGETS=
endif
monodocdir=$(SOURCESDIR)
monodoc_DATA=$(TARGETS)
gstreamer-sharp-docs.tree: gstreamer-sharp-docs.zip
gstreamer-sharp-docs.zip: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml
$(MDASSEMBLER) --ecma $(srcdir)/en -o gstreamer-sharp-docs
html: $(srcdir)/en/*/*.xml $(srcdir)/en/*.xml
$(MONODOCS2HTML) -source:$(srcdir)/en -dest:html
update: $(ASSEMBLIES)
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$(top_builddir)/gstreamer-sharp/glue/.libs \
$(MONODOCER) $(ASSEMBLIES_BUILD) -path:en -updateto:en -delete
CLEANFILES = gstreamer-sharp-docs.zip gstreamer-sharp-docs.tree
MAINTAINERCLEANFILES = Makefile.in
EXTRA_DIST = gstreamer-sharp-docs.source
dist-hook:
mkdir -p $(distdir)/en
cp $(srcdir)/en/*.xml $(distdir)/en/
mkdir -p $(distdir)/en/Gst/
cp $(srcdir)/en/Gst/*.xml $(distdir)/en/Gst/
distclean-local:
rm -rf html
<Type Name="AppSink" FullName="Gst.App.AppSink">
<TypeSignature Language="C#" Value="public class AppSink : Gst.Base.BaseSink" />
<AssemblyInfo>
<AssemblyName>gstreamer-sharp</AssemblyName>
<AssemblyVersion>0.9.0.0</AssemblyVersion>
<AssemblyVersion>0.9.1.0</AssemblyVersion>
<AssemblyVersion>0.9.2.0</AssemblyVersion>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Gst.Base.BaseSink</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public AppSink ();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.0.0</AssemblyVersion>
<AssemblyVersion>0.9.1.0</AssemblyVersion>
<AssemblyVersion>0.9.2.0</AssemblyVersion>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public AppSink (IntPtr raw);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.0.0</AssemblyVersion>
<AssemblyVersion>0.9.1.0</AssemblyVersion>
<AssemblyVersion>0.9.2.0</AssemblyVersion>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="raw" Type="System.IntPtr" />
</Parameters>
<Docs>
<param name="raw">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public AppSink (string name);" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>0.9.0.0</AssemblyVersion>
<AssemblyVersion>0.9.1.0</AssemblyVersion>
<AssemblyVersion>0.9.2.0</AssemblyVersion>
<AssemblyVersion>0.9.3.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="name" Type="System.String" />
</Parameters>
<Docs>
<param name="name">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Caps">
<MemberSignature Language="C#" Value="public Gst.Caps Caps { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>