gst-interfaces-0.9.pc is no more, update to new use

Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
gst-interfaces-0.9.pc is no more, update to new use
* testsuite/test_element.py:
Fix for queue modification
This commit is contained in:
Edward Hervey 2005-11-30 18:25:53 +00:00
parent e19930da1b
commit 84a8faf247
5 changed files with 12 additions and 17 deletions

View file

@ -1,3 +1,11 @@
2005-11-30 Edward Hervey <edward@fluendo.com>
* configure.ac:
* gst/Makefile.am:
gst-interfaces-0.9.pc is no more, update to new use
* testsuite/test_element.py:
Fix for queue modification
2005-11-30 Edward Hervey <edward@fluendo.com> 2005-11-30 Edward Hervey <edward@fluendo.com>
* gst/gst-types.defs: * gst/gst-types.defs:

2
common

@ -1 +1 @@
Subproject commit 8db4c613eb1aa57dc21d25a4b83b36e3cdedc5ca Subproject commit f9f5f063728688cf455a1512d492b632c43963d7

View file

@ -113,14 +113,6 @@ dnl PYGTK_CODEGEN="$PYTHON \$(top_srcdir)/codegen/codegen.py"
AC_SUBST(PYGTK_CODEGEN) AC_SUBST(PYGTK_CODEGEN)
AC_MSG_RESULT($PYGTK_CODEGEN) AC_MSG_RESULT($PYGTK_CODEGEN)
dnl Interfaces
AC_MSG_CHECKING(for GStreamer interfaces include dir)
PKG_CHECK_MODULES(GST_INTERFACES, gstreamer-plugins-base-$GST_MAJORMINOR,
HAVE_INTERFACES=yes,HAVE_INTERFACES=no)
AM_CONDITIONAL(BUILD_INTERFACES, test "x$HAVE_INTERFACES" = "xyes")
AC_SUBST(GST_INTERFACES_CFLAGS)
AC_SUBST(GST_INTERFACES_LIBS)
dnl decide on error flags dnl decide on error flags
dnl if we support -Wall, set it unconditionally dnl if we support -Wall, set it unconditionally
AS_COMPILER_FLAG(-Wall, AS_COMPILER_FLAG(-Wall,

View file

@ -11,11 +11,7 @@ pygst_PYTHON = __init__.py
pygstexecdir = $(pkgpyexecdir) pygstexecdir = $(pkgpyexecdir)
pygstexec_LTLIBRARIES = _gst.la $(interface_lib) pygstexec_LTLIBRARIES = _gst.la $(interface_lib)
if BUILD_INTERFACES
interface_lib = interfaces.la interface_lib = interfaces.la
else
interface_lib =
endif
defs_DATA = gst-types.defs \ defs_DATA = gst-types.defs \
gst-extrafuncs.defs \ gst-extrafuncs.defs \
@ -67,9 +63,9 @@ EXTRA_DIST += $(GST_DEFS) $(GST_OVERRIDES)
gst.c: $(GST_DEFS) $(GST_OVERRIDES) $(GEN_FILES) gst.c: $(GST_DEFS) $(GST_OVERRIDES) $(GEN_FILES)
# GStreamer interfaces bindings # GStreamer interfaces bindings
interfaces_la_CFLAGS = $(common_cflags) $(GST_INTERFACES_CFLAGS) interfaces_la_CFLAGS = $(common_cflags) $(GST_BASE_CFLAGS)
interfaces_la_LIBADD = $(common_libadd) $(GST_INTERFACES_LIBS) -lgstinterfaces-0.9 interfaces_la_LIBADD = $(common_libadd) -lgstinterfaces-0.9
interfaces_la_LDFLAGS = $(common_ldflags) -export-symbols-regex initinterface interfaces_la_LDFLAGS = $(common_ldflags) -export-symbols-regex initinterface $(GST_BASE_LIBS)
interfaces_la_SOURCES = interfacesmodule.c interfaces_la_SOURCES = interfacesmodule.c
nodist_interfaces_la_SOURCES = interfaces.c nodist_interfaces_la_SOURCES = interfaces.c
INTERFACES_OVERRIDES = interfaces.override xoverlay.override INTERFACES_OVERRIDES = interfaces.override xoverlay.override

View file

@ -204,7 +204,6 @@ class QueryTest(TestCase):
class QueueTest(TestCase): class QueueTest(TestCase):
def testConstruct(self): def testConstruct(self):
queue = gst.element_factory_make('queue') queue = gst.element_factory_make('queue')
assert isinstance(queue, gst.Queue)
assert queue.get_name() == 'queue0' assert queue.get_name() == 'queue0'
self.assertEquals(queue.__gstrefcount__, 1) self.assertEquals(queue.__gstrefcount__, 1)