Commit ade405ce authored by Johan Dahlin's avatar Johan Dahlin

gstreamer/gstreamer.py: Backwards compatibility module

Original commit message from CVS:
2004-02-23  Johan Dahlin  <johan@gnome.org>

* gstreamer/gstreamer.py: Backwards compatibility module

* gstreamer/gstreamermodule.c:
* gstreamer/Makefile.am: Rename the module to gst
parent eb8a787e
2004-02-23 Johan Dahlin <johan@gnome.org>
* gstreamer/gstreamer.py: Backwards compatibility module
* gstreamer/gstreamermodule.c:
* gstreamer/Makefile.am: Rename the module to gst
2004-02-18 David I. Lehn <dlehn@users.sourceforge.net>
* gstreamer/0.7.defs:
......
common @ 0945c85c
Subproject commit d821172609916bc61bbbca7f8d2e6cf0ca1ab47a
Subproject commit 0945c85c4c9139e2e5b8e04d0fc841b8aa1e6e9b
......@@ -3,10 +3,17 @@ MODULE = gstreamer
INCLUDES = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS)
PYGTK_DEFSDIR = @PYGTK_DEFSDIR@
pygstreamerdir = $(pythondir)/$(MODULE)
pygstreamer_PYTHON = __init__.py
pkgpythondir = $(pythondir)/gst
pkgpyexecdir = $(pyexecdir)/gst
pygstreamerexecdir = $(pyexecdir)/$(MODULE)
pygstdir = $(pkgpythondir)
pygst_PYTHON = __init__.py
# Backwards comptibility
pygstreamerdir = $(pythondir)
pygstreamer_PYTHON = gstreamer.py
pygstexecdir = $(pkgpyexecdir)
GST_OVERRIDES = common.override \
0.6.override \
......@@ -27,15 +34,15 @@ if GST_0_7
VERSOURCES = 0.7.c 0.7.h
endif
pyexec_LTLIBRARIES = _gstreamermodule.la
_gstreamermodule_la_SOURCES = \
pygstexec_LTLIBRARIES = _gstmodule.la
_gstmodule_la_SOURCES = \
gstreamermodule.c \
common.c common.h \
$(VERSOURCES)
_gstreamermodule_la_CFLAGS = $(GST_CFLAGS) -fno-strict-aliasing
_gstreamermodule_la_LIBADD = $(GST_LIBS)
_gstreamermodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex init_gstreamer
nodist__gstreamermodule_la_SOURCES = gstreamer.c
_gstmodule_la_CFLAGS = $(GST_CFLAGS) -fno-strict-aliasing
_gstmodule_la_LIBADD = $(GST_LIBS)
_gstmodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex init_gst
nodist__gstmodule_la_SOURCES = gstreamer.c
CLEANFILES = $(MODULE).c h2def.defs $(MODULE).defs $(MODULE).override
EXTRA_DIST = $(GST_OVERRIDES) $(GST_DEFS) $(GST_CODE) arg-types.py
......
......@@ -35,7 +35,7 @@ if os.path.exists(devloc):
sys.setdlopenflags(dl.RTLD_LAZY | dl.RTLD_GLOBAL)
del devloc, sys, os
from _gstreamer import *
from _gst import *
#from gtk import threads_init, threads_enter, threads_leave
......
......@@ -34,7 +34,7 @@ void pygstreamer_add_constants(PyObject *module, const gchar *strip_prefix);
extern PyMethodDef pygstreamer_functions[];
DL_EXPORT(void)
init_gstreamer (void)
init_gst (void)
{
PyObject *m, *d;
PyObject *av;
......@@ -70,7 +70,7 @@ init_gstreamer (void)
g_free (argv);
}
m = Py_InitModule ("_gstreamer", pygstreamer_functions);
m = Py_InitModule ("gst._gst", pygstreamer_functions);
d = PyModule_GetDict (m);
pygstreamer_register_classes (d);
......
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
#
# Author: David I. Lehn <dlehn@users.sourceforge.net>
#
from gst import *
......@@ -34,7 +34,7 @@ void pygstreamer_add_constants(PyObject *module, const gchar *strip_prefix);
extern PyMethodDef pygstreamer_functions[];
DL_EXPORT(void)
init_gstreamer (void)
init_gst (void)
{
PyObject *m, *d;
PyObject *av;
......@@ -70,7 +70,7 @@ init_gstreamer (void)
g_free (argv);
}
m = Py_InitModule ("_gstreamer", pygstreamer_functions);
m = Py_InitModule ("gst._gst", pygstreamer_functions);
d = PyModule_GetDict (m);
pygstreamer_register_classes (d);
......
......@@ -3,10 +3,17 @@ MODULE = gstreamer
INCLUDES = $(PYTHON_INCLUDES) $(PYGTK_CFLAGS)
PYGTK_DEFSDIR = @PYGTK_DEFSDIR@
pygstreamerdir = $(pythondir)/$(MODULE)
pygstreamer_PYTHON = __init__.py
pkgpythondir = $(pythondir)/gst
pkgpyexecdir = $(pyexecdir)/gst
pygstreamerexecdir = $(pyexecdir)/$(MODULE)
pygstdir = $(pkgpythondir)
pygst_PYTHON = __init__.py
# Backwards comptibility
pygstreamerdir = $(pythondir)
pygstreamer_PYTHON = gstreamer.py
pygstexecdir = $(pkgpyexecdir)
GST_OVERRIDES = common.override \
0.6.override \
......@@ -27,15 +34,15 @@ if GST_0_7
VERSOURCES = 0.7.c 0.7.h
endif
pyexec_LTLIBRARIES = _gstreamermodule.la
_gstreamermodule_la_SOURCES = \
pygstexec_LTLIBRARIES = _gstmodule.la
_gstmodule_la_SOURCES = \
gstreamermodule.c \
common.c common.h \
$(VERSOURCES)
_gstreamermodule_la_CFLAGS = $(GST_CFLAGS) -fno-strict-aliasing
_gstreamermodule_la_LIBADD = $(GST_LIBS)
_gstreamermodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex init_gstreamer
nodist__gstreamermodule_la_SOURCES = gstreamer.c
_gstmodule_la_CFLAGS = $(GST_CFLAGS) -fno-strict-aliasing
_gstmodule_la_LIBADD = $(GST_LIBS)
_gstmodule_la_LDFLAGS = -module -avoid-version -export-symbols-regex init_gst
nodist__gstmodule_la_SOURCES = gstreamer.c
CLEANFILES = $(MODULE).c h2def.defs $(MODULE).defs $(MODULE).override
EXTRA_DIST = $(GST_OVERRIDES) $(GST_DEFS) $(GST_CODE) arg-types.py
......
......@@ -35,7 +35,7 @@ if os.path.exists(devloc):
sys.setdlopenflags(dl.RTLD_LAZY | dl.RTLD_GLOBAL)
del devloc, sys, os
from _gstreamer import *
from _gst import *
#from gtk import threads_init, threads_enter, threads_leave
......
......@@ -34,7 +34,7 @@ void pygstreamer_add_constants(PyObject *module, const gchar *strip_prefix);
extern PyMethodDef pygstreamer_functions[];
DL_EXPORT(void)
init_gstreamer (void)
init_gst (void)
{
PyObject *m, *d;
PyObject *av;
......@@ -70,7 +70,7 @@ init_gstreamer (void)
g_free (argv);
}
m = Py_InitModule ("_gstreamer", pygstreamer_functions);
m = Py_InitModule ("gst._gst", pygstreamer_functions);
d = PyModule_GetDict (m);
pygstreamer_register_classes (d);
......
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
#
# Author: David I. Lehn <dlehn@users.sourceforge.net>
#
from gst import *
......@@ -34,7 +34,7 @@ void pygstreamer_add_constants(PyObject *module, const gchar *strip_prefix);
extern PyMethodDef pygstreamer_functions[];
DL_EXPORT(void)
init_gstreamer (void)
init_gst (void)
{
PyObject *m, *d;
PyObject *av;
......@@ -70,7 +70,7 @@ init_gstreamer (void)
g_free (argv);
}
m = Py_InitModule ("_gstreamer", pygstreamer_functions);
m = Py_InitModule ("gst._gst", pygstreamer_functions);
d = PyModule_GetDict (m);
pygstreamer_register_classes (d);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment