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 108316 - [PATCH] - Script enum.pl produces wrong output
[PATCH] - Script enum.pl produces wrong output
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gstmm
git master
Other other
: Urgent normal
: 0.7.x
Assigned To: Thomas Vander Stichele
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-03-13 16:15 UTC by Martin Schulze
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
.diff to produce a valid gst_enums.defs from the output of script enums.pl (4.53 KB, patch)
2003-03-13 16:16 UTC, Martin Schulze
none Details | Review
Updated .diff for gstreamer-0.7 (11.50 KB, patch)
2003-04-02 20:10 UTC, Martin Schulze
none Details | Review

Description Martin Schulze 2003-03-13 16:15:02 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.)
Comment 1 Martin Schulze 2003-03-13 16:16:12 UTC
Created attachment 14995 [details] [review]
.diff to produce a valid gst_enums.defs from the output of script enums.pl
Comment 2 Martin Schulze 2003-04-02 20:10:35 UTC
Created attachment 15400 [details] [review]
Updated .diff for gstreamer-0.7
Comment 3 Martin Schulze 2003-05-12 18:45:01 UTC
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.
Comment 4 Benjamin Otte (Company) 2003-05-14 15:21:21 UTC
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.
Comment 5 Ronald Bultje 2003-06-09 15:05:45 UTC
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?
Comment 6 Martin Schulze 2003-06-11 08:00:29 UTC
Sorry, I somehow missed Benjamin's message. I'll close this bug now.