GNOME Bugzilla – Bug 117930
unable to compile gst-editor
Last modified: 2004-12-22 21:47:04 UTC
trying to compile gst-editor tonight gave me the following: debug-ui.c: In function `debug_toggle_callback': debug-ui.c:31: warning: implicit declaration of function `gst_info_enable_category' debug-ui.c:32: warning: implicit declaration of function `gst_debug_enable_category' debug-ui.c:35: warning: implicit declaration of function `gst_info_disable_category' debug-ui.c:36: warning: implicit declaration of function `gst_debug_disable_category' debug-ui.c: In function `gst_debug_ui_new': debug-ui.c:66: `GST_CAT_MAX_CATEGORY' undeclared (first use in this function) debug-ui.c:66: (Each undeclared identifier is reported only once debug-ui.c:66: for each function it appears in.) debug-ui.c:67: warning: implicit declaration of function `gst_get_category_name'debug-ui.c:67: warning: comparison between pointer and integer debug-ui.c:68: warning: passing arg 1 of `gtk_check_button_new_with_label' makes pointer from integer without a cast make[4]: *** [libgstdebugui_la-debug-ui.lo] Error 1 make[4]: Leaving directory `/home/sxpert/gst/gst-editor/libs/gst/debug-ui' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/sxpert/gst/gst-editor/libs/gst' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/sxpert/gst/gst-editor/libs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/sxpert/gst/gst-editor' make: *** [all] Error 2
Created attachment 18723 [details] [review] Patch to compile gst-editor against 0.7 without breaking 0.6
Created attachment 18761 [details] [review] updated patch based on wingo's changes tonight.
it seems that GST_CAT_APPLICATION (set to cat 29) doesn't actually output anything in 0.6 when I enable it. I'll look at that tomorrow.
If I see it correctly, this patch provides some sort of "backwards compatibility" in gst-editor for GStreamer 0.6.x, i.e., it's not needed to compile against GStreamer HEAD. Any, any opinion here?
Created attachment 18925 [details] [review] updated patch which also changes gst-launch-gui
Wingo fixed gst-editor to compile against HEAD the other day, making it not compile against 0.6 This (updated again) patch makes it compile against both, and have a custom debug category for gst-editor debug messages.
wingo looked over the patch and said ok, so commited.