* [PATCH 0/1] Fix for gst-plugins-package.inc
@ 2015-02-21 3:01 Peter Kjellerstedt
2015-02-21 3:01 ` [PATCH 1/1] gst-plugins-package.inc: Avoid dependency on ${PN} from ${PN}-<plugin> Peter Kjellerstedt
0 siblings, 1 reply; 2+ messages in thread
From: Peter Kjellerstedt @ 2015-02-21 3:01 UTC (permalink / raw)
To: openembedded-core
This fixes a problem that was introduced in Poky
34221ef141e9a8b4e9d3e0687563d691bcd9f225 whereby installing any
GStreamer plugin would install all plugins from the same recipe...
//Peter
The following changes since commit 5db6a27f4847e51c6434a968f81d3ceffcc54952:
bitbake: toaster: importlayer Remove description input field (2015-02-20 12:58:20 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib pkj/gst-plugins-package
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pkj/gst-plugins-package
Peter Kjellerstedt (1):
gst-plugins-package.inc: Avoid dependency on ${PN} from ${PN}-<plugin>
meta/recipes-multimedia/gstreamer/gst-plugins-package.inc | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
--
2.1.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] gst-plugins-package.inc: Avoid dependency on ${PN} from ${PN}-<plugin>
2015-02-21 3:01 [PATCH 0/1] Fix for gst-plugins-package.inc Peter Kjellerstedt
@ 2015-02-21 3:01 ` Peter Kjellerstedt
0 siblings, 0 replies; 2+ messages in thread
From: Peter Kjellerstedt @ 2015-02-21 3:01 UTC (permalink / raw)
To: openembedded-core
A recent change to this file added a runtime dependency from ${PN} on
${PN}-meta since users tend to believe that installing the main
package will bring in all of the individual plugin packages, which
previously was not the case. However, since all plugin packages had a
dependency on the main package, this caused all plugin packages to be
pulled in whenever one plugin package was installed...
Since the main package is now guaranteed to be empty, there is no
reason for the plugin packages to depend on it any more.
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
meta/recipes-multimedia/gstreamer/gst-plugins-package.inc | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
index bc33b0e..cb1be06 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc
@@ -7,7 +7,7 @@ python split_gstreamer10_packages () {
glibdir = d.getVar('libdir', True)
do_split_packages(d, glibdir, '^lib(.*)\.so\.*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True)
- do_split_packages(d, gst_libdir, 'libgst(.*)\.so$', d.expand('${PN}-%s'), 'GStreamer plugin for %s', postinst=postinst, extra_depends=d.expand('${PN}'))
+ do_split_packages(d, gst_libdir, 'libgst(.*)\.so$', d.expand('${PN}-%s'), 'GStreamer plugin for %s', postinst=postinst, extra_depends='')
do_split_packages(d, gst_libdir, 'libgst(.*)\.la$', d.expand('${PN}-%s-dev'), 'GStreamer plugin for %s (development files)', extra_depends=d.expand('${PN}-dev'))
do_split_packages(d, gst_libdir, 'libgst(.*)\.a$', d.expand('${PN}-%s-staticdev'), 'GStreamer plugin for %s (static development files)', extra_depends=d.expand('${PN}-staticdev'))
}
@@ -40,8 +40,7 @@ python set_metapkg_rdepends () {
d.setVar('DESCRIPTION_' + metapkg, pn + ' meta package')
}
-# metapkg has runtime dependency on PN
-# each plugin depends on PN, plugin-dev on PN-dev, plugin-staticdev on PN-staticdev
+# each plugin-dev depends on PN-dev, plugin-staticdev on PN-staticdev
# so we need them even when empty (like in gst-plugins-good case)
ALLOW_EMPTY_${PN} = "1"
ALLOW_EMPTY_${PN}-dev = "1"
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-21 3:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-21 3:01 [PATCH 0/1] Fix for gst-plugins-package.inc Peter Kjellerstedt
2015-02-21 3:01 ` [PATCH 1/1] gst-plugins-package.inc: Avoid dependency on ${PN} from ${PN}-<plugin> Peter Kjellerstedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox