make gstreamer python work uninstalled again
authorThomas Vander Stichele <thomas@apestaart.org>
Thu, 4 Mar 2004 11:32:46 +0000 (11:32 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Thu, 4 Mar 2004 11:32:46 +0000 (11:32 +0000)
Original commit message from CVS:
make gstreamer python work uninstalled again

ChangeLog
Makefile.am
autogen.sh
configure.ac
examples/gst/lat.py
examples/gst/vorbisplay.py
examples/gstreamer/lat.py
examples/gstreamer/vorbisplay.py
gst/__init__.py
gst/gstmodule.c

index 934d7bd..018cebc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2004-03-04  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * Makefile.am:
+       * autogen.sh:
+       * configure.ac:
+       * gst/__init__.py:
+       * gst/gstmodule.c: (init_gst):
+          move gstreamer/ to gst/ by cvs surgery so we can work uninstalled
+          more changes to be able to run uninstalled
+
 2004-02-27  Johan Dahlin  <johan@gnome.org>
 
        * gstreamer/: All over the place, more rename work (gstreamer -> gst)
index 02d72ec..05d8fec 100644 (file)
@@ -7,7 +7,7 @@ endif
 INTERFACESDIR = gstinterfaces
 PLAYDIR = gstplay
 
-UNCONDDIRS = gstreamer pkgconfig examples testsuite
+UNCONDDIRS = gst pkgconfig examples testsuite
 SUBDIRS = \
        $(UNCONDDIRS) \
        $(INTERFACESDIR) \
index f0985f5..475c312 100755 (executable)
@@ -3,7 +3,7 @@
 
 DIE=0
 package=gst-python
-srcfile=gstreamer/gstmodule.c
+srcfile=gst/gstmodule.c
                                                                                 
 # a quick cvs co if necessary to alleviate the pain - may remove this
 # when developers get a clue ;)
index 60832fc..36f88db 100644 (file)
@@ -6,7 +6,7 @@ AC_CANONICAL_TARGET
 AS_VERSION(gst-python, GST_PYTHON_VERSION, 0, 1, 0, 1)
 AM_INIT_AUTOMAKE($PACKAGE,$VERSION)
 
-AC_CONFIG_SRCDIR([gstreamer/gstmodule.c])
+AC_CONFIG_SRCDIR([gst/gstmodule.c])
 AM_CONFIG_HEADER(config.h)
 
 dnl Add parameters for aclocal
@@ -45,9 +45,9 @@ GST_MAJORMINOR=0.7
 PKG_CHECK_MODULES(GST, gstreamer-$GST_MAJORMINOR >= $GST_REQ,
                   HAVE_GSTREAMER=yes,HAVE_GSTREAMER=no)
 
-dnl Give error and exit if we don't have gstreamer
+dnl Give error and exit if we don't have GStreamer
 if test "x$HAVE_GSTREAMER" = "xno"; then
-  AC_MSG_ERROR(you need gstreamer development packages installed !)
+  AC_MSG_ERROR(you need GStreamer development packages installed !)
 fi
 AC_SUBST(GST_MAJORMINOR)
 
@@ -144,7 +144,7 @@ changequote([,])dnl
 
 AC_OUTPUT([
   Makefile
-  gstreamer/Makefile
+  gst/Makefile
   gstinterfaces/Makefile
   gstplay/Makefile
   pkgconfig/Makefile
index 5dc6288..6e57306 100755 (executable)
@@ -144,7 +144,6 @@ tests = {
 
 def main():
    "A GStreamer latency tester"
-   #gst_debug_set_categories(-1)
    global iterations, print_del
 
    if len(sys.argv) < 3:
index 4b5960a..acb9dd0 100755 (executable)
@@ -99,7 +99,6 @@ def decoder_notified(sender, pspec):
                                      
 def main():
     "Basic example to play an Ogg Vorbis stream through OSS"
-    #gst_debug_set_categories(-1)
 
     if len(sys.argv) != 2:
         print 'usage: %s <Ogg Vorbis file>' % (sys.argv[0])
index 5dc6288..6e57306 100755 (executable)
@@ -144,7 +144,6 @@ tests = {
 
 def main():
    "A GStreamer latency tester"
-   #gst_debug_set_categories(-1)
    global iterations, print_del
 
    if len(sys.argv) < 3:
index 4b5960a..acb9dd0 100755 (executable)
@@ -99,7 +99,6 @@ def decoder_notified(sender, pspec):
                                      
 def main():
     "Basic example to play an Ogg Vorbis stream through OSS"
-    #gst_debug_set_categories(-1)
 
     if len(sys.argv) != 2:
         print 'usage: %s <Ogg Vorbis file>' % (sys.argv[0])
index 5ad3871..ac7907f 100644 (file)
@@ -36,7 +36,6 @@ sys.setdlopenflags(dl.RTLD_LAZY | dl.RTLD_GLOBAL)
 del devloc, sys, os
 
 from _gst import *
-del _gst
 
 def threads_init():
     import gtk
index 30508fa..2174477 100644 (file)
@@ -70,7 +70,7 @@ init_gst (void)
             g_free (argv);
         }
 
-       m = Py_InitModule ("gst._gst", pygst_functions);
+       m = Py_InitModule ("_gst", pygst_functions);
        d = PyModule_GetDict (m);
 
        pygst_register_classes (d);