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 316155 - MinGW compilation: glib-mkenums root path subtitution problem
MinGW compilation: glib-mkenums root path subtitution problem
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Windows
: Normal normal
: 0.9.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 316073
 
 
Reported: 2005-09-13 08:18 UTC by Michal Benes
Modified: 2005-10-03 11:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix for GStreamer core (1.43 KB, patch)
2005-09-14 08:14 UTC, Michal Benes
none Details | Review
Fix for plugins base (788 bytes, patch)
2005-09-14 08:14 UTC, Michal Benes
none Details | Review
Fix for plugins good (788 bytes, patch)
2005-09-14 08:15 UTC, Michal Benes
none Details | Review
Fix for ffmpeg plugins (764 bytes, patch)
2005-09-14 08:18 UTC, Michal Benes
none Details | Review

Description Michal Benes 2005-09-13 08:18:35 UTC
glib-mkenums is called with command line parameter
--fprod "/* enumerations from \"@filename@\" */\n"
this is problem in MSYS/MinGW since leading slash is substitued by Windows path
of MSYS root. Hence, the resulting parameter passed to glib-mkenums is something
like
--fprod "c:/msys/1.0/* enumerations from \"@filename@\" */\n"

Would it be possigble to change this paraeter to
--fprod "\n/* enumerations from \"@filename@\" */\n"
?

The same problem appears also in all the other GStreamer modules.
Comment 1 David Schleef 2005-09-13 18:01:49 UTC
whatever works is fine.
Comment 2 Michal Benes 2005-09-14 08:14:18 UTC
Created attachment 52209 [details] [review]
Fix for GStreamer core
Comment 3 Michal Benes 2005-09-14 08:14:53 UTC
Created attachment 52210 [details] [review]
Fix for plugins base
Comment 4 Michal Benes 2005-09-14 08:15:33 UTC
Created attachment 52211 [details] [review]
Fix for plugins good
Comment 5 Michal Benes 2005-09-14 08:18:51 UTC
Created attachment 52212 [details] [review]
Fix for ffmpeg plugins
Comment 6 Michal Benes 2005-09-14 08:20:42 UTC
The patches above should fix core, plugins-base, plugins-good and ffmpeg. I did
not tried -bad and -ugly but it seems they do not contain string fprod.
Comment 7 Michael Smith 2005-09-14 15:17:32 UTC
Committed the core patch - it includes a change to common, which is a seperate
cvs module (auto-checked-out in every other module), so the other patches aren't
neccesary.