[gst-devel] plugins versioning info
wrobell
wrobell at ite.pl
Tue Jan 15 01:38:04 CET 2002
In my opinion, as in other projects (ecasound, xmms), plugins should have
no versioning info. What does it mean. When plugins are built then following
files are created (visual consequences):
lib<plugin>.so
lib<plugin>.la
lib<plugin>.so.0.0.0
lib<plugin>.so.0
When versioning info is disabled there should be only two files:
lib<plugin>.so
lib<plugin>.la
The solution is pretty simple.
In every plugin Makefile.am file we could add something like
(for example in ext/lame/Makefile.am):
libgstlame_la_LDFLAGS = @GST_PLUGIN_LDFLAGS@
and in configure.ac of gst-plugins at line 243 let's add:
GST_PLUGIN_LDFLAGS='-module -avoid-version'
AC_SUBST(GST_PLUGIN_LDFLAGS)
We can add -export-symbols-regex option to GST_PLUGINS_LDFLAGS
just for case (as in xmms project) to minimize exported symbols
(is this really needed?), i.e.:
GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex "regexsymbol-gst.3f"'
I do not know how this regex should look like
and I have no time to check every plugin
so if there is somebody who could comment on it...
wrobell <wrobell at ite.pl>
More information about the gstreamer-devel
mailing list