All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2] gerbil: Visualization and analysis tool for hyperspectral images
@ 2015-10-22 14:22 Ricardo Ribalda Delgado
  2015-10-26 13:28 ` Martin Jansa
  2015-11-02 14:03 ` Martin Jansa
  0 siblings, 2 replies; 4+ messages in thread
From: Ricardo Ribalda Delgado @ 2015-10-22 14:22 UTC (permalink / raw)
  To: openembedded-devel, Martin Jansa

New recipe

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
---
v2:

v1 failed to link, it was missing the glu library.

I have not been able to replicate the build error :S

But after some static analysis it seems that:

glu should have been automatically added with the cmake
variable OPENGL_LIBRARIES, set in FindOpeGL.cmake

But if glu is not present, then it is not added....

Sorry for the inconvenience!



 meta-oe/recipes-graphics/gerbil/gerbil_git.bb | 30 +++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-graphics/gerbil/gerbil_git.bb

diff --git a/meta-oe/recipes-graphics/gerbil/gerbil_git.bb b/meta-oe/recipes-graphics/gerbil/gerbil_git.bb
new file mode 100644
index 000000000000..bfcd7c7ce803
--- /dev/null
+++ b/meta-oe/recipes-graphics/gerbil/gerbil_git.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = "Generic framework for visualization and analysis of multispectral and hyperspectral data that strives to both bring new innovations in analysis capabilities and be of use in a wide range of hyperspectral data applications"
+HOMEPAGE = "http://gerbilvis.org/"
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
+DEPENDS = "boost qt4-x11-free tbb opencv libglu virtual/libgl"
+SRCREV = "670e06da516ed51dbae75e41e043900256bdabba"
+
+SRC_URI = "git://github.com/gerbilvis/gerbil.git"
+
+S = "${WORKDIR}/git"
+
+inherit distutils-base cmake qt4x11
+
+export EXTRA_OECMAKE = "\
+                        -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
+                        -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
+                        -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
+                        "
+
+do_configure() {
+        # Ensure we get the cmake configure and not qmake
+        cmake_do_configure
+}
+do_install() {
+        install -d ${D}${bindir}
+        install -m 755 bin/gerbil ${D}${bindir}/
+        install -m 755 bin/qgerbil ${D}${bindir}/
+}
+
+RDEPENDS_${PN} += "qt4-x11-free"
-- 
2.6.1



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

* Re: [meta-oe][PATCH v2] gerbil: Visualization and analysis tool for hyperspectral images
  2015-10-22 14:22 [meta-oe][PATCH v2] gerbil: Visualization and analysis tool for hyperspectral images Ricardo Ribalda Delgado
@ 2015-10-26 13:28 ` Martin Jansa
  2015-11-02 14:03 ` Martin Jansa
  1 sibling, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2015-10-26 13:28 UTC (permalink / raw)
  To: Ricardo Ribalda Delgado; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2433 bytes --]

On Thu, Oct 22, 2015 at 04:22:13PM +0200, Ricardo Ribalda Delgado wrote:
> New recipe
> 
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
> ---
> v2:
> 
> v1 failed to link, it was missing the glu library.
> 
> I have not been able to replicate the build error :S
> 
> But after some static analysis it seems that:
> 
> glu should have been automatically added with the cmake
> variable OPENGL_LIBRARIES, set in FindOpeGL.cmake
> 
> But if glu is not present, then it is not added....
> 
> Sorry for the inconvenience!

Unfortunately it still fails:
http://errors.yoctoproject.org/Errors/Details/21026/

> 
> 
> 
>  meta-oe/recipes-graphics/gerbil/gerbil_git.bb | 30 +++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
>  create mode 100644 meta-oe/recipes-graphics/gerbil/gerbil_git.bb
> 
> diff --git a/meta-oe/recipes-graphics/gerbil/gerbil_git.bb b/meta-oe/recipes-graphics/gerbil/gerbil_git.bb
> new file mode 100644
> index 000000000000..bfcd7c7ce803
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/gerbil/gerbil_git.bb
> @@ -0,0 +1,30 @@
> +DESCRIPTION = "Generic framework for visualization and analysis of multispectral and hyperspectral data that strives to both bring new innovations in analysis capabilities and be of use in a wide range of hyperspectral data applications"
> +HOMEPAGE = "http://gerbilvis.org/"
> +LICENSE = "GPLv3"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
> +DEPENDS = "boost qt4-x11-free tbb opencv libglu virtual/libgl"
> +SRCREV = "670e06da516ed51dbae75e41e043900256bdabba"
> +
> +SRC_URI = "git://github.com/gerbilvis/gerbil.git"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit distutils-base cmake qt4x11
> +
> +export EXTRA_OECMAKE = "\
> +                        -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
> +                        -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
> +                        -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
> +                        "
> +
> +do_configure() {
> +        # Ensure we get the cmake configure and not qmake
> +        cmake_do_configure
> +}
> +do_install() {
> +        install -d ${D}${bindir}
> +        install -m 755 bin/gerbil ${D}${bindir}/
> +        install -m 755 bin/qgerbil ${D}${bindir}/
> +}
> +
> +RDEPENDS_${PN} += "qt4-x11-free"
> -- 
> 2.6.1
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [meta-oe][PATCH v2] gerbil: Visualization and analysis tool for hyperspectral images
  2015-10-22 14:22 [meta-oe][PATCH v2] gerbil: Visualization and analysis tool for hyperspectral images Ricardo Ribalda Delgado
  2015-10-26 13:28 ` Martin Jansa
@ 2015-11-02 14:03 ` Martin Jansa
  2015-11-02 14:35   ` Ricardo Ribalda Delgado
  1 sibling, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2015-11-02 14:03 UTC (permalink / raw)
  To: Ricardo Ribalda Delgado; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2428 bytes --]

On Thu, Oct 22, 2015 at 04:22:13PM +0200, Ricardo Ribalda Delgado wrote:
> New recipe

Still fails for qemuarm:
http://errors.yoctoproject.org/Errors/Details/21264/

> 
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
> ---
> v2:
> 
> v1 failed to link, it was missing the glu library.
> 
> I have not been able to replicate the build error :S
> 
> But after some static analysis it seems that:
> 
> glu should have been automatically added with the cmake
> variable OPENGL_LIBRARIES, set in FindOpeGL.cmake
> 
> But if glu is not present, then it is not added....
> 
> Sorry for the inconvenience!
> 
> 
> 
>  meta-oe/recipes-graphics/gerbil/gerbil_git.bb | 30 +++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
>  create mode 100644 meta-oe/recipes-graphics/gerbil/gerbil_git.bb
> 
> diff --git a/meta-oe/recipes-graphics/gerbil/gerbil_git.bb b/meta-oe/recipes-graphics/gerbil/gerbil_git.bb
> new file mode 100644
> index 000000000000..bfcd7c7ce803
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/gerbil/gerbil_git.bb
> @@ -0,0 +1,30 @@
> +DESCRIPTION = "Generic framework for visualization and analysis of multispectral and hyperspectral data that strives to both bring new innovations in analysis capabilities and be of use in a wide range of hyperspectral data applications"
> +HOMEPAGE = "http://gerbilvis.org/"
> +LICENSE = "GPLv3"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
> +DEPENDS = "boost qt4-x11-free tbb opencv libglu virtual/libgl"
> +SRCREV = "670e06da516ed51dbae75e41e043900256bdabba"
> +
> +SRC_URI = "git://github.com/gerbilvis/gerbil.git"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit distutils-base cmake qt4x11
> +
> +export EXTRA_OECMAKE = "\
> +                        -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
> +                        -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
> +                        -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
> +                        "
> +
> +do_configure() {
> +        # Ensure we get the cmake configure and not qmake
> +        cmake_do_configure
> +}
> +do_install() {
> +        install -d ${D}${bindir}
> +        install -m 755 bin/gerbil ${D}${bindir}/
> +        install -m 755 bin/qgerbil ${D}${bindir}/
> +}
> +
> +RDEPENDS_${PN} += "qt4-x11-free"
> -- 
> 2.6.1
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

* Re: [meta-oe][PATCH v2] gerbil: Visualization and analysis tool for hyperspectral images
  2015-11-02 14:03 ` Martin Jansa
@ 2015-11-02 14:35   ` Ricardo Ribalda Delgado
  0 siblings, 0 replies; 4+ messages in thread
From: Ricardo Ribalda Delgado @ 2015-11-02 14:35 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembeded-devel

Hello

I want to cry :( It runtime depends on the sse instruction set.


Would you accept something like this on the recipe?

COMPATIBLE_MACHINE = "(-)"
COMPATIBLE_MACHINE_x86 = "(.*)"
COMPATIBLE_MACHINE_x86-64 = "(.*)"


Thanks and Regards!



On Mon, Nov 2, 2015 at 3:03 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Thu, Oct 22, 2015 at 04:22:13PM +0200, Ricardo Ribalda Delgado wrote:
>> New recipe
>
> Still fails for qemuarm:
> http://errors.yoctoproject.org/Errors/Details/21264/
>
>>
>> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
>> ---
>> v2:
>>
>> v1 failed to link, it was missing the glu library.
>>
>> I have not been able to replicate the build error :S
>>
>> But after some static analysis it seems that:
>>
>> glu should have been automatically added with the cmake
>> variable OPENGL_LIBRARIES, set in FindOpeGL.cmake
>>
>> But if glu is not present, then it is not added....
>>
>> Sorry for the inconvenience!
>>
>>
>>
>>  meta-oe/recipes-graphics/gerbil/gerbil_git.bb | 30 +++++++++++++++++++++++++++
>>  1 file changed, 30 insertions(+)
>>  create mode 100644 meta-oe/recipes-graphics/gerbil/gerbil_git.bb
>>
>> diff --git a/meta-oe/recipes-graphics/gerbil/gerbil_git.bb b/meta-oe/recipes-graphics/gerbil/gerbil_git.bb
>> new file mode 100644
>> index 000000000000..bfcd7c7ce803
>> --- /dev/null
>> +++ b/meta-oe/recipes-graphics/gerbil/gerbil_git.bb
>> @@ -0,0 +1,30 @@
>> +DESCRIPTION = "Generic framework for visualization and analysis of multispectral and hyperspectral data that strives to both bring new innovations in analysis capabilities and be of use in a wide range of hyperspectral data applications"
>> +HOMEPAGE = "http://gerbilvis.org/"
>> +LICENSE = "GPLv3"
>> +LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504"
>> +DEPENDS = "boost qt4-x11-free tbb opencv libglu virtual/libgl"
>> +SRCREV = "670e06da516ed51dbae75e41e043900256bdabba"
>> +
>> +SRC_URI = "git://github.com/gerbilvis/gerbil.git"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +inherit distutils-base cmake qt4x11
>> +
>> +export EXTRA_OECMAKE = "\
>> +                        -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
>> +                        -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
>> +                        -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
>> +                        "
>> +
>> +do_configure() {
>> +        # Ensure we get the cmake configure and not qmake
>> +        cmake_do_configure
>> +}
>> +do_install() {
>> +        install -d ${D}${bindir}
>> +        install -m 755 bin/gerbil ${D}${bindir}/
>> +        install -m 755 bin/qgerbil ${D}${bindir}/
>> +}
>> +
>> +RDEPENDS_${PN} += "qt4-x11-free"
>> --
>> 2.6.1
>>
>
> --
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



-- 
Ricardo Ribalda


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

end of thread, other threads:[~2015-11-02 14:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-22 14:22 [meta-oe][PATCH v2] gerbil: Visualization and analysis tool for hyperspectral images Ricardo Ribalda Delgado
2015-10-26 13:28 ` Martin Jansa
2015-11-02 14:03 ` Martin Jansa
2015-11-02 14:35   ` 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.