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 559722 - missing mention of implicit PACKAGE use in GST_PLUGIN_DEFINE
missing mention of implicit PACKAGE use in GST_PLUGIN_DEFINE
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: documentation
0.10.x
Other All
: Normal normal
: 0.10.23
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-11-07 10:41 UTC by Matthias Kretz
Modified: 2009-01-25 20:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Kretz 2008-11-07 10:41:27 UTC
GST_PLUGIN_DEFINE and GST_PLUGIN_DEFINE_STATIC both implicitly use the PACKAGE macro. This needs to be mentioned in the docs (and also what it is used for).
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2009-01-25 18:43:22 UTC
Good catch - I'll document it. Its used to add the package that defines the plugin to the registry metadata. I wonder if I should also add an #ifdef for it and use a static string "unknown" if its not defined. That would fix a build error, incase someone is not using autotools (which define PACKAGE).
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2009-01-25 20:16:13 UTC
commit f963f7f14d507b510b13bdd0995663781b551c0d
Author: Stefan Kost <ensonic@users.sf.net>
Date:   Sun Jan 25 22:11:32 2009 +0200

    Document that GST_PLUGIN_DEFINE macros use PACKAGE define. Fixes #559722.
    
    PACKAGE is defined by autofoo. If people use something different, they might want to define it themself.