MantisBT - NetSurf
View Issue Details
0001872NetSurfGTK-specificpublic2013-04-09 04:302015-11-01 12:08
Reporterojab 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionnot fixable 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Fixed in CI build #
Reported in CI build #
URL of problem page
Summary0001872: Build with glib>=2.30.0 is broken
DescriptionThreading support was overhauled in glib-2.30.0 and GStaticRecMutex, GThreadPriority, etc was deprecated. So build with glib>=2.30.0 fails with

 COMPILE: image/video.c
In file included from /usr/include/gstreamer-0.10/gst/gstelement.h:56:0,
                 from /usr/include/gstreamer-0.10/gst/gstbin.h:27,
                 from /usr/include/gstreamer-0.10/gst/gst.h:35,
                 from image/video.c:19:
/usr/include/gstreamer-0.10/gst/gstobject.h:283:3: error: unknown type name 'GStaticRecMutex'
In file included from /usr/include/gstreamer-0.10/gst/gstpad.h:35:0,
                 from /usr/include/gstreamer-0.10/gst/gstelement.h:57,
                 from /usr/include/gstreamer-0.10/gst/gstbin.h:27,
                 from /usr/include/gstreamer-0.10/gst/gst.h:35,
                 from image/video.c:19:
/usr/include/gstreamer-0.10/gst/gsttask.h:149:3: error: unknown type name 'GStaticRecMutex'
/usr/include/gstreamer-0.10/gst/gsttask.h:183:57: error: unknown type name 'GStaticRecMutex'
/usr/include/gstreamer-0.10/gst/gsttask.h:184:57: error: unknown type name 'GThreadPriority'
In file included from /usr/include/gstreamer-0.10/gst/gstelement.h:57:0,
                 from /usr/include/gstreamer-0.10/gst/gstbin.h:27,
                 from /usr/include/gstreamer-0.10/gst/gst.h:35,
                 from image/video.c:19:
/usr/include/gstreamer-0.10/gst/gstpad.h:671:3: error: unknown type name 'GStaticRecMutex'
In file included from /usr/include/gstreamer-0.10/gst/gstbin.h:27:0,
                 from /usr/include/gstreamer-0.10/gst/gst.h:35,
                 from image/video.c:19:
/usr/include/gstreamer-0.10/gst/gstelement.h:545:3: error: unknown type name 'GStaticRecMutex'
In file included from /usr/include/gstreamer-0.10/gst/gst.h:71:0,
                 from image/video.c:19:
/usr/include/gstreamer-0.10/gst/gsttrace.h:127:1: error: unknown type name 'GStaticMutex'
make: *** [build-Linux-gtk/image_video.o] Error 1
make: Leaving directory `/builddir/netsurf-2.9/netsurf-2.9'
Additional Informationojab added a note on Tue Apr 9 04:41:23 2013

And it doesn't help :/
Looks like gstreamer-0.10 cannot be used with GStaticRecMutex and friends anymore.

ojab added a note on Tue Apr 9 04:37:36 2013

AFAIU it can be fixed by adding -UDISABLE_GLIB_DEPRECATIONS to CFLAGS/CPPFLAGS when compiling gstreamer-0.10-related files (i. e. image/video.c)

Imported from sourceforge bug http://sourceforge.net/support/tracker.php?aid=3610354 on Tue Dec 10 17:34:13 2013

TagsNo tags attached.
Attached Files

Notes
(0001014)
Daniel Silverstone   
2015-11-01 12:08   
We removed images/video a while ago, any replacement is likely to use the new gstreamer API rather than this one.

Issue History
2013-12-10 17:41Vincent SandersNew Issue
2013-12-10 17:41Vincent SandersStatusnew => assigned
2013-12-10 17:41Vincent SandersAssigned To => Sourceforge Import placeholder
2013-12-17 14:42Vincent SandersAssigned ToSourceforge Import placeholder =>
2013-12-17 14:42Vincent SandersReproducibilityhave not tried => always
2013-12-17 14:42Vincent SandersStatusassigned => acknowledged
2013-12-17 14:42Vincent SandersResolutionno change required => open
2013-12-17 14:42Vincent SandersCategoryGeneral => GTK-specific
2013-12-17 14:42Vincent SandersDescription Updatedbug_revision_view_page.php?rev_id=252#r252
2013-12-17 14:42Vincent SandersAdditional Information Updatedbug_revision_view_page.php?rev_id=254#r254
2015-11-01 12:08Daniel SilverstoneNote Added: 0001014
2015-11-01 12:08Daniel SilverstoneStatusacknowledged => closed
2015-11-01 12:08Daniel SilverstoneResolutionopen => not fixable