[gst-devel] Building, shipping single plugin from -bad

Arnout Vandecappelle arnout at mind.be
Tue Oct 28 20:59:04 CET 2008


On Tuesday 28 October 2008 13:54:28 Eric Jonas wrote:
> 1. build only the dc1394 plugin from the newest version of -bad (or,
> optionally, CVS)
>
> 2. name the plugin something such that users won't confuse my
> frankenstein configuration for something supported by gstreamer, ubuntu,
> etc.
>
> 3. package and ship this as a .deb for ubuntu

 Messing with the --with-... configure options will also mess up your 
debianisation, so that's probably not the easiest way to go.

 I did the following in a similar situation.

1. Get a debianized gstreamer plugin skeleton from something small, e.g. one 
of Fluendo's packages or ffmpeg.  -good, -bad and -ugly have really complex 
debian/rules files which are pain to adapt.

2. Throw out everything from that package: gst/, ext/ and test/ subdirs.

3. Copy (and rename) in your plugin from -bad/gst or -bad/ext and copy the 
tests from -bad/test.

4. Update configure.ac and Makefile.am accordingly.  Also remove any unneeded 
dependencies from configure.ac and add the ones you do need.

You can test compilation of your new plugin package at this point.

5. Update the debian/ files.  You need to have a changelog, control and rules.

 That should be it!

 If you like I can send you a debian source tree with one small plugin.  It's 
2.5MB so I'm not going to put it on the list :-)

 Regards,
 Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  D206 D44B 5155 DF98 550D  3F2A 2213 88AA A1C7 C933




More information about the gstreamer-devel mailing list