GNOME Bugzilla – Bug 108316
[PATCH] - Script enum.pl produces wrong output
Last modified: 2004-12-22 21:47:04 UTC
We use the script "enum.pl" that comes with gtkmmproc to produce "gst_enums.defs". However, the script "enum.pl" produces wrong output for the numerous [...]Flags enums. This is because is that it doesn't evaluate the [...]_FLAG_LAST in entries like: typedef enum { GST_BIN_FLAG_MANAGER = GST_ELEMENT_FLAG_LAST, [...] } GstBinFlags; The attached file is a patch against the output of the script "enum.pl" for gstreamer-0.6 to produce a valid "gst_enums.defs" file. (The patched "gst_enums.defs" file is already in CVS. However, I don't want to loose the diff". Martin.)
Created attachment 14995 [details] [review] .diff to produce a valid gst_enums.defs from the output of script enums.pl
Created attachment 15400 [details] [review] Updated .diff for gstreamer-0.7
Sorry, Thomas, this is not a real bug. I opened this report for my own convinience during hacking gstmm. I will store my patch somewhere in CVS and close this bug if anybody feels disturbed by it. Otherwise please reassign it to me.
I'd like it to be somewhere else as I use the whole buglist quite often and would prefer it to be as small as possible. This is just personal taste however.
if we just close this, isn't it possible to retrieve this patch by searching through bugzilla then? I mean, we don't need to keep this patch open just for archiving purposes, right?
Sorry, I somehow missed Benjamin's message. I'll close this bug now.