[gst-devel] [RFC] Moving away from 'common'

René Stadler mail at renestadler.de
Thu Mar 12 00:43:37 CET 2009


Felipe Contreras wrote:
> Hi,
> 
> I'm tired of "Automatic update of common submodule". Of the last 10
> commits in gst-openmax only 2 have been real commits. This is high
> volume noise.
[...]
> So, just like gnome-common, and xorg-util, I'm suggesting we create a
> gst-util package that is installed just like any other package so we
> get rid of git submodules.
> 
> This move would probably be a bit big so it might make sense to do it
> step by step. Here's a little something to begin with:
> http://github.com/felipec/gst-util
> 
> Thoughts?
> 

Just thinking out loud here, what about a hybrid approach (since the core 
developers seem to be so against letting go of git submodule):

Maybe it's possible to add some stuff to the common module to make it 
installable, while keeping it as a submodule as well. Then nothing would 
change, gst core repos would keep their setup but in addition you could install 
gst-common itself to use it for out-of-tree modules as well.

autogen.sh now checks out the submodule, if this could be changed to:
   if common/ exists -> git submodule update (for developing common itself)
   else if $(gst-common --version) >= $REQUIRED_COMMON -> use system common
   else git submodule init && git submodule update

Just a thought. Would be nice to have because it would make everybody happy AFAICS.

-- 
Regards,
   René Stadler




More information about the gstreamer-devel mailing list