All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: "Cooper Jr., Franklin" <fcooper@ti.com>
Cc: "meta-arago@arago-project.org" <meta-arago@arago-project.org>
Subject: Re: [PATCH 2/4] packagegroup-arago-tisdk-*: Add back dual camera demo that supports Qt and 3.14
Date: Tue, 24 Feb 2015 15:53:02 -0500	[thread overview]
Message-ID: <20150224205302.GC4338@edge> (raw)
In-Reply-To: <B64B75BC-B319-4E9C-B1CA-C9F3E4560F37@ti.com>

In general, it's not advised to pull in library dependencies explicitly, when 
they can be resolved implicitly. Even when installing a package that depends 
on a library not currently installed, it will be pulled in and installed 
automatically as a dependency by opkg.

An exception can be made when the library is expected to be used by a 3rd 
party application or demo that has no recipe and is not installed as an IPK 
binary package... So, I'm fine with this case, I guess.

-- 
Denys


On Mon, Feb 23, 2015 at 04:25:47PM -0500, Cooper Jr., Franklin wrote:
> Devices like am57 should include those packages even though they aren't 
> supported by the dual camera demo.
> 
> And for am437 it's just to insure those libraries r included incase the demo 
> is unused for what ever reason in the future.
> 
> 
> > On Feb 23, 2015, at 3:17 PM, Dmytriyenko, Denys <denys@ti.com> wrote:
> > 
> >> On Fri, Feb 20, 2015 at 04:56:33PM -0600, Franklin S. Cooper Jr wrote:
> >> From: "Franklin S. Cooper Jr" <fcooper@ti.com>
> >> 
> >> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> >> ---
> >> .../packagegroup-arago-tisdk-addons.bb             |    6 +++---
> >> ...packagegroup-arago-tisdk-multimedia-sdk-host.bb |    7 +++++--
> >> .../packagegroup-arago-tisdk-multimedia.bb         |    6 +++---
> >> 3 files changed, 11 insertions(+), 8 deletions(-)
> >> 
> >> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
> >> index 6d98ba6..c6b07a9 100644
> >> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
> >> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
> >> @@ -1,6 +1,6 @@
> >> DESCRIPTION = "Task to install additional utilities/demos for SDKs"
> >> LICENSE = "MIT"
> >> -PR = "r19"
> >> +PR = "r20"
> >> 
> >> inherit packagegroup
> >> 
> >> @@ -39,8 +39,8 @@ UTILS_append_dra7xx = " canutils"
> >> UTILS_append_omap-a15 = " parted"
> >> 
> >> UTILS_append_ti33x = " switch-config"
> >> -UTILS_append_ti43x = " switch-config"
> >> -UTILS_append_omap-a15 = " switch-config"
> >> +UTILS_append_ti43x = " switch-config libdrm-omap"
> >> +UTILS_append_omap-a15 = " switch-config libdrm-omap"
> > 
> > Any particular reason to add libdrm dependency in this packagegroup? It should 
> > be taken care of by DEPENDS and RDEPENDS of the actual package - i.e. dual-cam
> > 
> > 
> >> RDEPENDS_${PN} = "\
> >>     ${UTILS} \
> >> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia-sdk-host.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia-sdk-host.bb
> >> index 94fd786..8f7c4fe 100644
> >> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia-sdk-host.bb
> >> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia-sdk-host.bb
> >> @@ -1,6 +1,6 @@
> >> DESCRIPTION = "Task to add multimedia related sources into the SDK"
> >> LICENSE = "MIT"
> >> -PR = "r6"
> >> +PR = "r7"
> >> 
> >> inherit packagegroup
> >> 
> >> @@ -16,7 +16,10 @@ MULTIMEDIA_append_am3517-evm = " \
> >>     av-examples-src \
> >> "
> >> 
> >> -MULTIMEDIA_append_ti43x = ""
> >> +MULTIMEDIA_append_ti43x = " \
> >> +    dual-camera-demo-src \
> >> +    image-gallery-src \
> >> +"
> >> 
> >> #Demo doesn't work on 3.14
> >> # ${@base_conditional('QT_PROVIDER', 'qt5', '', 'dual-camera-demo-src image-gallery-src', d)}
> >> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb
> >> index 81d5ee1..dd495f8 100644
> >> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb
> >> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia.bb
> >> @@ -1,6 +1,6 @@
> >> DESCRIPTION = "Task to add multimedia related packages"
> >> LICENSE = "MIT"
> >> -PR = "r10"
> >> +PR = "r11"
> >> 
> >> inherit packagegroup
> >> 
> >> @@ -17,10 +17,10 @@ MULTIMEDIA_append_ti33x = " \
> >> "
> >> 
> >> MULTIMEDIA_append_ti43x = " \
> >> +    dual-camera-demo \
> >> +    image-gallery \
> >>     amsdk-av-files \
> >> "
> >> -# demo doesn't work on 3.14
> >> -# ${@base_conditional('QT_PROVIDER', 'qt5', '', 'dual-camera-demo image-gallery', d)}
> >> 
> >> MULTIMEDIA_append_omap-a15 = " \
> >>     amsdk-av-files \
> >> -- 
> >> 1.7.9.5
> >> 
> >> _______________________________________________
> >> meta-arago mailing list
> >> meta-arago@arago-project.org
> >> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


  reply	other threads:[~2015-02-24 20:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-20 22:56 [PATCH 1/4] dual-camera-demo: Updated dual camera demo that supports DRM and Qt 4 / Qt 5 Franklin S. Cooper Jr
2015-02-20 22:56 ` [PATCH 2/4] packagegroup-arago-tisdk-*: Add back dual camera demo that supports Qt and 3.14 Franklin S. Cooper Jr
2015-02-23 21:17   ` Denys Dmytriyenko
2015-02-23 21:25     ` Cooper Jr., Franklin
2015-02-24 20:53       ` Denys Dmytriyenko [this message]
2015-02-20 22:56 ` [PATCH 3/4] ti-tisdk-makefile: Add back dual-camera demo Franklin S. Cooper Jr
2015-02-20 22:56 ` [PATCH 4/4] dual-camera-demo: Move Matrix files to the recipe instead of the git repository Franklin S. Cooper Jr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150224205302.GC4338@edge \
    --to=denys@ti.com \
    --cc=fcooper@ti.com \
    --cc=meta-arago@arago-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.