[Bug 667357] New: configure.ac: wrong gtk2 dependency in git master breaks build on some platforms

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jan 5 05:47:14 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=667357
  GStreamer | gst-plugins-bad | git

           Summary: configure.ac: wrong gtk2 dependency in git master
                    breaks build on some platforms
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: trivial
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: hk at getslash.de
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=204687)
 View: https://bugzilla.gnome.org/attachment.cgi?id=204687
 Review: https://bugzilla.gnome.org/review?bug=667357&attachment=204687

increase gtk2 dependency from 2.14 to 2.24

gtk2 dependency in configure.ac is currently set to 
GTK2_REQ=2.14.0

which breaks building -bad on platforms with 2.14.0 < gtk2 < 2.24 as (at least)
tests/examples/camerabin2/camerabin2.c presupposes 2.24.0:


CC     gst_camera2-gst-camera2.o
gst-camera2.c: In function 'init_gtkwidgets_data':
gst-camera2.c:264:3: error: 'GtkComboBoxText' undeclared (first use in this
function)
gst-camera2.c:264:3: note: each undeclared identifier is reported only once for
each function it appears in
gst-camera2.c:264:20: error: 'combobox' undeclared (first use in this function)
cc1: warnings being treated as errors
gst-camera2.c:265:7: error: implicit declaration of function
'GTK_COMBO_BOX_TEXT'
gst-camera2.c:265:7: error: nested extern declaration of 'GTK_COMBO_BOX_TEXT'
gst-camera2.c:270:5: error: implicit declaration of function
'gtk_combo_box_text_append_text'
gst-camera2.c:270:5: error: nested extern declaration of
'gtk_combo_box_text_append_text'
make[4]: *** [gst_camera2-gst-camera2.o] Error 1
make[4]: Leaving directory
`/home/ralf/rpms/BUILD/gst-plugins-bad-0.10.22/tests/examples/camerabin2'


Also cf. the release notes on
http://mail.gnome.org/archives/gtk-devel-list/2011-January/msg00042.html:

The attached patch fixes the issue.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list