Skip to contentSkip to conversation

pyro: Fix opencv build

PATCH In review Anselmo L. S. Melo 4 participants 5 messages Oct 19, 2017 – Jan 12, 2018

lore
Share & tools
lore
#0 lore raw

cover pyro: Fix opencv build

git cherry-pick 0abf5af3ffd3d13c009a8ffcd5a6f045c36be837 from meta-oe master branch.

Ismo Puustinen (1):
opencv: fix runtime dependencies.

 meta-oe/recipes-support/opencv/opencv_3.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.14.2
#1 lore raw

PATCH 1/1 opencv: fix runtime dependencies.

From: Ismo Puustinen <[email protected]>

The newly split "libopencv-ts" package is empty (and thus not created), because all ts files are installed in the development package. So, do not add a runtime dependency to libopencv-ts.

---
 meta-oe/recipes-support/opencv/opencv_3.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/opencv/opencv_3.2.bb +1 -1
index 535c761fa..fc62e9975 100644
@@ -126,7 +126,7 @@ python populate_packages_prepend () {
 
     metapkg =  pn
     d.setVar('ALLOW_EMPTY_' + metapkg, "1")
-    blacklist = [ metapkg ]
+    blacklist = [ metapkg, "libopencv-ts" ]
     metapkg_rdepends = [ ]
     for pkg in packages[1:]:
         if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.endswith('-doc') and not pkg.endswith('-locale') and not pkg.endswith('-staticdev'):
Signature · 1 line
2.14.2
#4 lore raw
In reply to Anselmo L. S. Melo
Quoted 5 lines · Anselmo L. S. Melo

git cherry-pick 0abf5af3ffd3d13c009a8ffcd5a6f045c36be837 from meta-oe master branch.

Ismo Puustinen (1):
opencv: fix runtime dependencies.

thanks. its in my stagging now.
- armin

Quoted 4 lines
 meta-oe/recipes-support/opencv/opencv_3.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#2 lore raw

Re: [meta-oe][PATCH 1/1] opencv: fix runtime dependencies.

In reply to Anselmo L. S. Melo

Follow the README and put [pyro] in the subject.

I've noticed this only because this doesn't apply to master where 3.2 version was removed 3 months ago with:
commit 31fceb560c0b81cff3aa439e3f43fd7a04dc477f

Author:     Ismo Puustinen <[email protected]>
AuthorDate: Thu Aug 10 12:58:18 2017 +0300
Commit:     Martin Jansa <[email protected]>
CommitDate: Sun Aug 13 13:21:02 2017 +0200

opencv: update to version 3.3.

and this commit is already in master.

Quoted 33 lines · Anselmo L. S. Melo

From: Ismo Puustinen <[email protected]>

The newly split "libopencv-ts" package is empty (and thus not created), because all ts files are installed in the development package. So, do not add a runtime dependency to libopencv-ts.

---
 meta-oe/recipes-support/opencv/opencv_3.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/opencv/opencv_3.2.bb +1 -1
index 535c761fa..fc62e9975 100644
@@ -126,7 +126,7 @@ python populate_packages_prepend () {
 
     metapkg =  pn
     d.setVar('ALLOW_EMPTY_' + metapkg, "1")
-    blacklist = [ metapkg ]
+    blacklist = [ metapkg, "libopencv-ts" ]
     metapkg_rdepends = [ ]
     for pkg in packages[1:]:
         if not pkg in blacklist and not pkg in metapkg_rdepends and not

pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.endswith('-doc') and not pkg.endswith('-locale') and not pkg.endswith('-staticdev'):
--
2.14.2

#3 lore raw

Re: [meta-oe][PATCH 1/1] opencv: fix runtime dependencies.

Hi,

this single commit (0abf5af3ffd3d13c009a8ffcd5a6f045c36be837) has been in "pyro-next" branch for a long time. Can this be picked to "pyro" branch?

Quoted 50 lines · Martin Jansa

Follow the README and put [pyro] in the subject.

I've noticed this only because this doesn't apply to master where 3.2 version was removed 3 months ago with:
commit 31fceb560c0b81cff3aa439e3f43fd7a04dc477f

Author:     Ismo Puustinen <[email protected]>
AuthorDate: Thu Aug 10 12:58:18 2017 +0300
Commit:     Martin Jansa <[email protected]>
CommitDate: Sun Aug 13 13:21:02 2017 +0200

opencv: update to version 3.3.

and this commit is already in master.

Quoted 33 lines · Anselmo L. S. Melo

From: Ismo Puustinen <[email protected]>

The newly split "libopencv-ts" package is empty (and thus not created), because all ts files are installed in the development package. So, do not add a runtime dependency to libopencv-ts.

---
  meta-oe/recipes-support/opencv/opencv_3.2.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/opencv/opencv_3.2.bb +1 -1
index 535c761fa..fc62e9975 100644
@@ -126,7 +126,7 @@ python populate_packages_prepend () {
 
      metapkg =  pn
      d.setVar('ALLOW_EMPTY_' + metapkg, "1")
-    blacklist = [ metapkg ]
+    blacklist = [ metapkg, "libopencv-ts" ]
      metapkg_rdepends = [ ]
      for pkg in packages[1:]:
          if not pkg in blacklist and not pkg in metapkg_rdepends and not

pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.endswith('-doc') and not pkg.endswith('-locale') and not pkg.endswith('-staticdev'):
--
2.14.2