GNOME Bugzilla – Bug 399746
naming conventions and makefile setup
Last modified: 2007-01-23 16:02:44 UTC
The Pluging Writer's Guide misses a section on naming. When someone needs to write a new plugin from scratch, it is ok to use the gst-template. But then the plugin name is not possibile to changed from "plugin". The file Makefile.am in ../gst-template/src says: # change libgstplugin.la to something more suitable plugin_LTLIBRARIES = libgstplugin.la if you change to plugin_LTLIBRARIES = libgstmyplugin.la make does not work any more, even after autogen/configure. So you are stuck with libgstplugin.la and could not change the binary library name.
Just reading and understanding better the Makefile.am ... # for the next set of variables, rename the prefix if you renamed the .la ;-)
Thanks for the bug report. Made it a bit more obvious what needs to be done now in CVS: 2007-01-23 Tim-Philipp Müller <tim at centricular dot net> * src/Makefile.am: Make clearer which Makefile variables need renaming if the plugin name is changes (#399746) (pretty it is not, but it's the content that counts, right?)