After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 401051 - Fails to build with gst-plugins-base < 0.10.11
Fails to build with gst-plugins-base < 0.10.11
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other Linux
: Normal blocker
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-26 16:25 UTC by Loïc Minier
Modified: 2007-01-30 14:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Loïc Minier 2007-01-26 16:25:00 UTC
Hi,

The pre-release of gst-python fails to build with:
./interfaces.override:37:45: error: 
gst/interfaces/videoorientation.h: No such file or directory

This seems to be a file added with gst-plugins-base 0.10.11.

Bye,
Comment 1 Edward Hervey 2007-01-29 11:18:52 UTC
Thanks for reporting the issue. It's now fixed and a pre-release is coming out now.

2007-01-29  Edward Hervey  <edward@fluendo.com>

        * configure.ac:
        Check for availability of video-orientation interface
        * gst/gst.override:
        don't forget to increment the refcount of Py_None before returning it.
        * gst/interfaces.override:
        If video-orientation interface isn't available, don't include the
        header.
        Fixes #401051

Comment 2 Michael Smith 2007-01-29 11:51:19 UTC
This doesn't seem to fix it.

If you don't have the header, not including it is not sufficient, you ALSO need to not use the things that the header defines.

I get (building against in older gstreamer):

interfaces.c: In function '_wrap_gst_video_orientation_set_hflip':
interfaces.c:2853: warning: implicit declaration of function 'gst_video_orientation_set_hflip'
interfaces.c:2853: warning: implicit declaration of function 'GST_VIDEO_ORIENTATION'
interfaces.c: In function '_wrap_gst_video_orientation_set_vflip':
interfaces.c:2868: warning: implicit declaration of function 'gst_video_orientation_set_vflip'
interfaces.c: In function '_wrap_gst_video_orientation_set_hcenter':
interfaces.c:2883: warning: implicit declaration of function 'gst_video_orientation_set_hcenter'
interfaces.c: In function '_wrap_gst_video_orientation_set_vcenter':
interfaces.c:2898: warning: implicit declaration of function 'gst_video_orientation_set_vcenter'
interfaces.c: In function 'pyinterfaces_register_classes':
interfaces.c:3043: error: 'GST_TYPE_VIDEO_ORIENTATION' undeclared (first use in this function)
interfaces.c:3043: error: (Each undeclared identifier is reported only once
interfaces.c:3043: error: for each function it appears in.)
make[3]: *** [interfaces_la-interfaces.lo] Error 1

Comment 3 Edward Hervey 2007-01-30 14:11:20 UTC
fixed for good, confirmed by Mike