All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] opencv: Configure freetype via PACKAGECONFIG
@ 2017-01-27 15:21 Ricardo Ribalda Delgado
  2017-01-27 20:07 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Ribalda Delgado @ 2017-01-27 15:21 UTC (permalink / raw)
  To: Khem Raj, Martin Jansa, openembeded-devel

Since: http://errors.yoctoproject.org/Errors/Details/117456/ opencv
freetype module fails to build.

This patch disables that module by default via PACKAGECONFIG until we
find out a better way to do it.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
---
 meta-oe/recipes-support/opencv/opencv_3.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/opencv/opencv_3.2.bb b/meta-oe/recipes-support/opencv/opencv_3.2.bb
index f18aa796f9aa..f47347ab4455 100644
--- a/meta-oe/recipes-support/opencv/opencv_3.2.bb
+++ b/meta-oe/recipes-support/opencv/opencv_3.2.bb
@@ -61,6 +61,7 @@ PACKAGECONFIG[amdblas] = "-DWITH_OPENCLAMDBLAS=ON,-DWITH_OPENCLAMDBLAS=OFF,libcl
 PACKAGECONFIG[amdfft] = "-DWITH_OPENCLAMDFFT=ON,-DWITH_OPENCLAMDFFT=OFF,libclamdfft,"
 PACKAGECONFIG[dnn] = "-DBUILD_opencv_dnn=ON -DUPDATE_PROTO_FILES=ON -DBUILD_PROTOBUF=OFF,-DBUILD_opencv_dnn=OFF,lapack protobuf protobuf-native,"
 PACKAGECONFIG[eigen] = "-DWITH_EIGEN=ON,-DWITH_EIGEN=OFF,libeigen gflags glog,"
+PACKAGECONFIG[freetype] = "-DBUILD_opencv_freetype=ON,-DBUILD_opencv_freetype=OFF,freetype,"
 PACKAGECONFIG[gphoto2] = "-DWITH_GPHOTO2=ON,-DWITH_GPHOTO2=OFF,libgphoto2,"
 PACKAGECONFIG[gstreamer] = "-DWITH_GSTREAMER=ON,-DWITH_GSTREAMER=OFF,gstreamer1.0 gstreamer1.0-plugins-base,"
 PACKAGECONFIG[gtk] = "-DWITH_GTK=ON,-DWITH_GTK=OFF,gtk+3,"
-- 
2.11.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] opencv: Configure freetype via PACKAGECONFIG
  2017-01-27 15:21 [PATCH] opencv: Configure freetype via PACKAGECONFIG Ricardo Ribalda Delgado
@ 2017-01-27 20:07 ` Khem Raj
  2017-01-30  1:15   ` Ricardo Ribalda Delgado
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2017-01-27 20:07 UTC (permalink / raw)
  To: Ricardo Ribalda Delgado, Martin Jansa, openembeded-devel



On 1/27/17 7:21 AM, Ricardo Ribalda Delgado wrote:
> Since: http://errors.yoctoproject.org/Errors/Details/117456/ opencv
> freetype module fails to build.
> 

I wonder if we need to export RANLIB in configure
along with CC and CXX

> This patch disables that module by default via PACKAGECONFIG until we
> find out a better way to do it.
> 
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
> ---
>  meta-oe/recipes-support/opencv/opencv_3.2.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta-oe/recipes-support/opencv/opencv_3.2.bb b/meta-oe/recipes-support/opencv/opencv_3.2.bb
> index f18aa796f9aa..f47347ab4455 100644
> --- a/meta-oe/recipes-support/opencv/opencv_3.2.bb
> +++ b/meta-oe/recipes-support/opencv/opencv_3.2.bb
> @@ -61,6 +61,7 @@ PACKAGECONFIG[amdblas] = "-DWITH_OPENCLAMDBLAS=ON,-DWITH_OPENCLAMDBLAS=OFF,libcl
>  PACKAGECONFIG[amdfft] = "-DWITH_OPENCLAMDFFT=ON,-DWITH_OPENCLAMDFFT=OFF,libclamdfft,"
>  PACKAGECONFIG[dnn] = "-DBUILD_opencv_dnn=ON -DUPDATE_PROTO_FILES=ON -DBUILD_PROTOBUF=OFF,-DBUILD_opencv_dnn=OFF,lapack protobuf protobuf-native,"
>  PACKAGECONFIG[eigen] = "-DWITH_EIGEN=ON,-DWITH_EIGEN=OFF,libeigen gflags glog,"
> +PACKAGECONFIG[freetype] = "-DBUILD_opencv_freetype=ON,-DBUILD_opencv_freetype=OFF,freetype,"
>  PACKAGECONFIG[gphoto2] = "-DWITH_GPHOTO2=ON,-DWITH_GPHOTO2=OFF,libgphoto2,"
>  PACKAGECONFIG[gstreamer] = "-DWITH_GSTREAMER=ON,-DWITH_GSTREAMER=OFF,gstreamer1.0 gstreamer1.0-plugins-base,"
>  PACKAGECONFIG[gtk] = "-DWITH_GTK=ON,-DWITH_GTK=OFF,gtk+3,"
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] opencv: Configure freetype via PACKAGECONFIG
  2017-01-27 20:07 ` Khem Raj
@ 2017-01-30  1:15   ` Ricardo Ribalda Delgado
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Ribalda Delgado @ 2017-01-30  1:15 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

Hi Raj


On Fri, Jan 27, 2017 at 9:07 PM, Khem Raj <raj.khem@gmail.com> wrote:
>
>
> On 1/27/17 7:21 AM, Ricardo Ribalda Delgado wrote:
>> Since: http://errors.yoctoproject.org/Errors/Details/117456/ opencv
>> freetype module fails to build.
>>
>
> I wonder if we need to export RANLIB in configure
> along with CC and CXX

I would definitely like to try that out, but I am out of the office
until the 15th. If you do not want to wait for me, you are more than
welcome to send a patch. If I keep sending patched during our holidays
my wife will have a valid excuse to escape with the barman :)

Regards!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-30  1:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-27 15:21 [PATCH] opencv: Configure freetype via PACKAGECONFIG Ricardo Ribalda Delgado
2017-01-27 20:07 ` Khem Raj
2017-01-30  1:15   ` Ricardo Ribalda Delgado

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.