0

I'm using bitbake to compile rygel for yocto from the meta-openembedded layer, with the plugins mpris and gst-launch.

As per the PACKAGECONFIG docs, I created a bbappend file and added the following:

EXTRA_OECONF = "--disable-introspection \
                --disable-tracker-plugin \
                --with-media-engine=gstreamer \
                --enable-mpris-plugin \
                --enable-gst-launch-plugin"

PR = "r1"

It compiles and installs, but has no plugins.

The append shows up when I run bitbake-layers show-appends, so at least bitbake is finding it. After running bitbake the directory tmp/work/core2-64-poky-linux/rygel/0.26.1-r1/image/usr/lib/rygel-2.6/plugins/ is populated. Then when I run the image /usr/lib/rygel-2.6/ contains an engines dir and nothing else.

Any idea where I'm going wrong?

Charles C.
  • 3,725
  • 4
  • 28
  • 50
snazzybucket
  • 181
  • 2
  • 8

3 Answers3

0

I don't think your read all the way down to "If you want to change an existing PACKAGECONFIG block, you can do so one of two ways:".

From a bbappend, just do

PACKAGECONFIG_append = " mpris gst-launch"

Ross Burton
  • 3,516
  • 13
  • 12
  • OOoooh I though that was for if you want to create new PACKAGECONFIG options, and that EXTRA_OECONF was for invoking those options. Either way, I tried with that PACKAGECONFIG_append and the plugins directory is still empty. – snazzybucket Feb 29 '16 at 17:44
  • Did you include the leading whitespace? What git branches? – Ross Burton Mar 01 '16 at 21:12
  • Leading white space yes. Branch is jethro, if I understand your question correctly. – snazzybucket Mar 02 '16 at 21:16
0

In the recipe do_install, they remove some of the engines and plugins files. This might be the reason you do not see them in your image.

do_install_append() {
       # Remove .la files for loadable modules
       rm -f ${D}/${libdir}/rygel-${LIBV}/engines/*.la
       rm -f ${D}/${libdir}/rygel-${LIBV}/plugins/*.la
}
Charles C.
  • 3,725
  • 4
  • 28
  • 50
  • After running bitbake, there are no *.la files in the plugins dir, but there are the following: `ls tmp/work/core2-64-poky-linux/rygel/0.26.1-r2/image/usr/lib/rygel-2.6/plugins external.plugin librygel-gst-launch.so librygel-mpris.so media-export.plugin playbin.plugin gst-launch.plugin librygel-media-export.so librygel-playbin.so mediathek.plugin ruih.plugin librygel-external.so librygel-mediathek.so librygel-ruih.so mpris.plugin` Maybe I just need to write a do_install_append to copy them over... – snazzybucket Mar 01 '16 at 12:45
  • Oh, I think you're installing the rygel package but not any of the package plugins. Check the feeds, you'll see every plugin goes into a separate package. – Ross Burton Mar 02 '16 at 22:33
0

your compiling plugins successfully and not able to see in board(rootfs)? if yes please add below line in your .bbappend file. '

FILES_${PN} += "${libdir}/*"
this will add all your compiled plugins to your rootfs image.

yoctotutor.com
  • 5,145
  • 4
  • 26
  • 36