[yocto] PyQt without x11

2014-03-19 Thread Fabio Berton
I need to run PyQt on Qt Embedded system, without X11. I found a way using
xvfb, but I can't install xvfb on Yocto. I removed the --disable-xvfb from
EXTRA_OECONF on poky/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
but didn't work.
How do I install xvfb on my system? There other options to use PyQt on Qt
Embedded?
Thanks!
Fabio Berton
Engenharia de Computação - UFSM
Estagiário Chip Inside Tecnologia - ITSM

E-mail: fbber...@gmail.com
Gtalk: fbber...@gmail.com
Tel.:  (55) 9651-4405

Santa Maria - RS
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] PySide

2014-05-04 Thread Fabio Berton
Hi!
I need to run PySide and I can't compile any version of PySide. I'm using this 
meta-pyside https://github.com/svolpe/meta-pyside. Does anyone knows how I get 
PySide work on Yocto?

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] PySide

2014-05-04 Thread Fabio Berton
I get this error http://pastebin.com/S5hyDvBd

 On Sun, 04 May 2014 22:04:10 -0300 Khem Raj <raj.k...@gmail.com> 
wrote  


On Sun, May 4, 2014 at 6:53 AM, Fabio Berton <fa...@bertux.com> wrote: 
> I need to run PySide and I can't compile any version of PySide. I'm using 
> this meta-pyside https://github.com/svolpe/meta-pyside. Does anyone knows 
> how I get PySide work on Yocto? 
 
whats the error ? 


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] PySide

2014-05-04 Thread Fabio Berton
Installing shiboken on my machine the fix the error, but I get this 
http://pastebin.com/J5GrFvdp.
On line 169 the system didn't recognize a .so file.


 On Sun, 04 May 2014 23:26:49 -0300 Khem Raj<raj.k...@gmail.com> 
wrote  


On Sun, May 4, 2014 at 6:09 PM, Fabio Berton <fa...@bertux.com> wrote: 
> I get this error http://pastebin.com/S5hyDvBd 
 
/bin/sh: 1: shiboken: not found 
 
so as you are cross compiling here this package seems to be needed on 
build host. This seems to be provided by shiboken/pyside 
so you need to add a native package may be just adding 
 
BBCLASSEXTEND += "native" and adding DEPENDS += "pyside-native" to 
pysize recipe is enough but there might be more needed 
 
 
> 
>  On Sun, 04 May 2014 22:04:10 -0300 Khem Raj 
<raj.k...@gmail.com> wrote 
>  
> 
> On Sun, May 4, 2014 at 6:53 AM, Fabio Berton <fa...@bertux.com> 
wrote: 
>> I need to run PySide and I can't compile any version of PySide. I'm 
using 
>> this meta-pyside https://github.com/svolpe/meta-pyside. Does anyone 
knows 
>> how I get PySide work on Yocto? 
> 
> whats the error ? 
> 
> 


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] PySide

2014-05-04 Thread Fabio Berton
My image is a qt4e, so I inherit qt4e and other error appears, 
http://pastebin.com/aes6EakH

 On Mon, 05 May 2014 00:19:24 -0300 Khem Raj<raj.k...@gmail.com> 
wrote  


On Sun, May 4, 2014 at 8:12 PM, Fabio Berton <fa...@bertux.com> wrote: 
> Installing shiboken on my machine the fix the error, 
 
I know it will but this is a wrong fix. You should really create 
native recipe or at least report it as a bug to the relevant layer. 
 
 but I get this 
> http://pastebin.com/J5GrFvdp. 
> On line 169 the system didn't recognize a .so file. 
 
/mnt/workspace/yocto/tmp/sysroots/x86_64-linux/usr/lib/libQtTest.so: 
file not recognized: File format not recognized 
 
this is trying to link native/x86 library into your cross build you 
need to check if you are missing some dependencies. 
may be you should inherit one of qt4e or qt4x11 whichever is 
applicable to your image type. 


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Mesa do_compile fail

2014-05-09 Thread Fabio Berton

Hi!
I'm trying to make a qt4-x11 image and the mesa_9.1.6.bb failed on compile. The 
log is http://pastebin.com/0Zznjsux
I'm using host build Fedora 20 and dora branch from poky. I tried to use the 
mesa version 9.1.3 and the same error occurs.

Fabio Berton.

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] GNU/Octave

2017-04-05 Thread Fabio Berton
You can write a new recipe using 
https://github.com/openembedded/openembedded/tree/master/recipes/octave 
as a start point, and also see gentoo ebuild to check runtime depends or 
get some inspiration :)

https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-mathematics/octave/octave-4.2.1.ebuild

On 04/05/2017 10:38 AM, Trevor Woerner wrote:

On Wed, Apr 5, 2017 at 9:22 AM, Fabien Lahoudere
 wrote:

On Wed, 2017-04-05 at 14:45 +0200, Peter Balazovic wrote:

do you know is there recipe for GNU/Octave 
"https://www.gnu.org/software/octave/";?
Is it possible to get it running on Yocto/Linux machine?


In general, when looking for a recipe a good place to start is the layer index:
https://layers.openembedded.org

After that, google is the next place to try :-)


A quick google search return this :
https://github.com/openembedded/openembedded/tree/master/recipes/octave


That recipe comes for the "openembedded *classic*" repository, which
was abandoned years ago. So it might work, or it might needs lots of
tweaking to get it to work, or it might need to be rewritten.


--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [pyro][meta-oracle-java][PATCH 1/2] Fix binary paths when setting alternatives

2017-09-14 Thread Fabio Berton
From: Jan Kiszka 

Neither the JDK nor the JRE puts binaries under $JAVA_HOME/jre anymore.
Seen with Java 8, update 131.

Signed-off-by: Jan Kiszka 
Signed-off-by: Maxin B. John 
(cherry picked from commit 0a25dd797e4cac7b727cd38308a46698a95b21b9)
---
 recipes-devtools/oracle-java/oracle-jse-jdk.inc | 12 ++--
 recipes-devtools/oracle-java/oracle-jse.inc |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc 
b/recipes-devtools/oracle-java/oracle-jse-jdk.inc
index 9fd76e1..935ad9b 100644
--- a/recipes-devtools/oracle-java/oracle-jse-jdk.inc
+++ b/recipes-devtools/oracle-java/oracle-jse-jdk.inc
@@ -28,14 +28,14 @@ PROVIDES += "virtual/javac virtual/java-initial"
 
 pkg_postinst_${PN} () {
update-alternatives --install ${bindir}/jar   jar   ${JDK_HOME}/bin/jar 
100
-   update-alternatives --install ${bindir}/java  java  
${JDK_HOME}/jre/bin/java 100
-   update-alternatives --install ${bindir}/javac javac 
${JDK_HOME}/jre/bin/javac 100
+   update-alternatives --install ${bindir}/java  java  
${JDK_HOME}/bin/java 100
+   update-alternatives --install ${bindir}/javac javac 
${JDK_HOME}/bin/javac 100
update-alternatives --install ${bindir}/javah javah 
${JDK_HOME}/bin/javah 100
 }
 
 pkg_prerm_${PN} () {
-   update-alternatives --remove jar   ${JDK_HOME}/jre/bin/jar
-   update-alternatives --remove java  ${JDK_HOME}/jre/bin/java
-   update-alternatives --remove javac ${JDK_HOME}/jre/bin/javac
-   update-alternatives --remove javah ${JDK_HOME}/jre/bin/javah
+   update-alternatives --remove jar   ${JDK_HOME}/bin/jar
+   update-alternatives --remove java  ${JDK_HOME}/bin/java
+   update-alternatives --remove javac ${JDK_HOME}/bin/javac
+   update-alternatives --remove javah ${JDK_HOME}/bin/javah
 }
diff --git a/recipes-devtools/oracle-java/oracle-jse.inc 
b/recipes-devtools/oracle-java/oracle-jse.inc
index 18ef411..f40ea5c 100644
--- a/recipes-devtools/oracle-java/oracle-jse.inc
+++ b/recipes-devtools/oracle-java/oracle-jse.inc
@@ -41,9 +41,9 @@ PROVIDES += "virtual/java"
 inherit update-alternatives
 
 pkg_postinst_${PN} () {
-   update-alternatives --install ${bindir}/java java 
${JDK_HOME}/jre/bin/java 75
+   update-alternatives --install ${bindir}/java java ${JDK_HOME}/bin/java 
75
 }
 
 pkg_prerm_${PN} () {
-   update-alternatives --remove java ${JDK_HOME}/jre/bin/java
+   update-alternatives --remove java ${JDK_HOME}/bin/java
 }
-- 
2.14.1

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [pyro][meta-oracle-java][PATCH 2/2] oracle-java: create directory before creating links

2017-09-14 Thread Fabio Berton
From: Jan Remmet 

if bindir directory doesn't exists the link is created wrongly:

file -b 
tmp/work/x86_64-linux/oracle-jse-jdk-x86-64-native/1.8.0-u131r0/image/home/yocto/build/tmp/sysroots/x86_64-linux/usr/bin
symbolic link to
`/home/yocto/build/tmp/sysroots/x86_64-linux/usr/lib/jvm/java-8-oracle/bin/javac'

tested on morty

Signed-off-by: Jan Remmet 
Signed-off-by: Maxin B. John 
(cherry picked from commit 731d3d2cf7e7d65954991e79b9918575e06081c8)
---
 recipes-devtools/oracle-java/oracle-jse-jdk.inc | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc 
b/recipes-devtools/oracle-java/oracle-jse-jdk.inc
index 935ad9b..a7210d9 100644
--- a/recipes-devtools/oracle-java/oracle-jse-jdk.inc
+++ b/recipes-devtools/oracle-java/oracle-jse-jdk.inc
@@ -12,11 +12,14 @@ JDK_JRE = "jdk"
 require oracle-jse.inc
 
 do_install_class-native() {
-   install -d -m 0755  ${D}${libdir_jvm}
+   install -d  ${D}${libdir_jvm}
cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME}
 
+   install -d  ${D}${bindir}
ln -sf ${JDK_HOME}/bin/java ${D}${bindir}
ln -sf ${JDK_HOME}/bin/javac${D}${bindir}
+
+   install -d  ${D}${JDK_HOME}/bin
ln -sf javah${D}${JDK_HOME}/bin/gjavah
ln -sf jar  ${D}${JDK_HOME}/bin/fastjar
 }
-- 
2.14.1

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [pyro][meta-oracle-java][PATCH 2/2] oracle-java: create directory before creating links

2017-09-15 Thread Fabio Berton
​Hi Vincent,

I didn't see this error, but I'll look this issue. Without these two
commits that I sent to pyro branch I can't build some Java applications
because the application can't find java and javac.

On Fri, Sep 15, 2017 at 4:30 AM, Vincent Prince  wrote:

> Hi Fabio,
>
> I have a non fatal-error on link creation on pyro:
>
> ERROR: oracle-jse-jdk-x86-64-native-1.8.0-u131r0 do_populate_sysroot:
> sstate found an absolute path symlink
> /home/build/tmp/work/x86_64-linux/oracle-jse-jdk-x86-64-
> native/1.8.0-u131r0/sysroot-destdir/home/build/tmp/work/
> x86_64-linux/oracle-jse-jdk-x86-64-native/1.8.0-u131r0/
> recipe-sysroot-native/usr/bin/java
> pointing at /home/build/tmp/work/x86_64-linux/oracle-jse-jdk-x86-64-
> native/1.8.0-u131r0/recipe-sysroot-native/usr/lib/jvm/
> java-8-oracle/bin/java.
> Please replace this with a relative link.
>
> I suspect that those lines are concerned:
> ln -sf ${JDK_HOME}/bin/java ${D}${bindir}
> ln -sf ${JDK_HOME}/bin/javac${D}${bindir}
>
> Am I wrong?
>
> Best Regards,
> Vincent
>
> 2017-09-14 22:21 GMT+02:00 Fabio Berton :
> > From: Jan Remmet 
> >
> > if bindir directory doesn't exists the link is created wrongly:
> >
> > file -b tmp/work/x86_64-linux/oracle-jse-jdk-x86-64-native/1.8.0-
> u131r0/image/home/yocto/build/tmp/sysroots/x86_64-linux/usr/bin
> > symbolic link to
> > `/home/yocto/build/tmp/sysroots/x86_64-linux/usr/lib/
> jvm/java-8-oracle/bin/javac'
> >
> > tested on morty
> >
> > Signed-off-by: Jan Remmet 
> > Signed-off-by: Maxin B. John 
> > (cherry picked from commit 731d3d2cf7e7d65954991e79b9918575e06081c8)
> > ---
> >  recipes-devtools/oracle-java/oracle-jse-jdk.inc | 5 -
> >  1 file changed, 4 insertions(+), 1 deletion(-)
> >
> > diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc
> b/recipes-devtools/oracle-java/oracle-jse-jdk.inc
> > index 935ad9b..a7210d9 100644
> > --- a/recipes-devtools/oracle-java/oracle-jse-jdk.inc
> > +++ b/recipes-devtools/oracle-java/oracle-jse-jdk.inc
> > @@ -12,11 +12,14 @@ JDK_JRE = "jdk"
> >  require oracle-jse.inc
> >
> >  do_install_class-native() {
> > -   install -d -m 0755  ${D}${libdir_jvm}
> > +   install -d  ${D}${libdir_jvm}
> > cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME}
> >
> > +   install -d  ${D}${bindir}
> > ln -sf ${JDK_HOME}/bin/java ${D}${bindir}
> > ln -sf ${JDK_HOME}/bin/javac${D}${bindir}
> > +
> > +   install -d  ${D}${JDK_HOME}/bin
> > ln -sf javah
> ${D}${JDK_HOME}/bin/gjavah
> > ln -sf jar
> ${D}${JDK_HOME}/bin/fastjar
> >  }
> > --
> > 2.14.1
> >
> > --
> > ___
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-mono][PATCH 1/2] mono-4xx: Add zlib to DEPENDS

2016-04-18 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 recipes-mono/mono/mono-4.xx.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-mono/mono/mono-4.xx.inc b/recipes-mono/mono/mono-4.xx.inc
index 6075766..0225aaa 100644
--- a/recipes-mono/mono/mono-4.xx.inc
+++ b/recipes-mono/mono/mono-4.xx.inc
@@ -5,6 +5,8 @@ BUGTRACKER = "http://bugzilla.xamarin.com/";
 SECTION = "devel"
 LICENSE = "GPLv2"
 
+DEPENDS = "zlib"
+
 LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=80862f3fd0e11a5fa0318070c54461ce"
 
 SRC_URI = "http://download.mono-project.com/sources/mono/mono-${PV}.tar.bz2 \
-- 
2.1.4

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-mono][PATCH 2/2] mono: Add libikvm-native to FILES_${PN}-libs

2016-04-18 Thread Fabio Berton
Fix error:

ERROR: mono-4.3.2.467-r0 do_package_qa: QA Issue: -dev package contains
non-symlink .so: mono-dev path 'work/cortexa9hf-neon-linux-gnueabi/mono/
4.3.2.467-r0/packages-split/mono-dev/usr/lib/libikvm-native.so' [dev-elf]

Signed-off-by: Fabio Berton 
---
 recipes-mono/mono/mono-4.xx.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-mono/mono/mono-4.xx.inc b/recipes-mono/mono/mono-4.xx.inc
index 0225aaa..855c857 100644
--- a/recipes-mono/mono/mono-4.xx.inc
+++ b/recipes-mono/mono/mono-4.xx.inc
@@ -71,7 +71,7 @@ PACKAGES += "${PN}-lldb "
 PACKAGES += "${PN} "
 
 FILES_${PN}= "${sysconfdir}/* ${bindir}/* 
${libdir}/*.so*"
-FILES_${PN}-libs   = "${libdir}/libMono*.so"
+FILES_${PN}-libs   = "${libdir}/libMono*.so 
${libdir}/libikvm-native.so"
 FILES_${PN}-lldb= "${libdir}/mono/lldb/*"
 FILES_${PN}-libs-2.0= "${libdir}/mono/2.0/* 
${libdir}/mono/2.0-api/*"
 FILES_${PN}-libs-3.5= "${libdir}/mono/3.5/* 
${libdir}/mono/3.5-api/*"
-- 
2.1.4

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-mono][PATCH] mono-4.xx: Remove --disable-static from EXTRA_OECONF

2016-05-12 Thread Fabio Berton
As of commit OE-Core:773c9e18071d71454473dd81aff911104a2e9bc6
EXTRA_OECONF is appended with the option --disable-static on
DISABLE_STATIC variable and this cause the error:
 __
/
| mono_boehm-main.o: In function `main':
| x86_64-linux/mono-native/4.4.0.122-r0/mono-4.4.0/mono/mini/main.c:51:
| undefined reference to `mono_build_date'
| collect2: error: ld returned 1 exit status
| Makefile:1390: recipe for target 'mono-boehm' failed
\__

There's a bug with this issue open here:
https://bugzilla.xamarin.com/show_bug.cgi?id=33081

Signed-off-by: Fabio Berton 
---
 recipes-mono/mono/mono-4.xx.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-mono/mono/mono-4.xx.inc b/recipes-mono/mono/mono-4.xx.inc
index 855c857..6d7c023 100644
--- a/recipes-mono/mono/mono-4.xx.inc
+++ b/recipes-mono/mono/mono-4.xx.inc
@@ -34,6 +34,9 @@ inherit autotools-brokensep
 inherit pkgconfig
 inherit gettext
 
+# avoids build breaks when using no-static-libs.inc
+DISABLE_STATIC = ""
+
 EXTRA_OECONF += " mono_cv_uscore=no --with-sigaltstack=no --with-mcs-docs=no "
 
 do_configure_prepend() {
-- 
2.1.4

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-mono][PATCH] mono-4.xx: Remove --disable-static from EXTRA_OECONF

2016-06-27 Thread Fabio Berton
Any update on this?

Without this patch I can't build mono-4.4.0.148.

On Thu, May 12, 2016 at 11:10 AM, Fabio Berton <
fabio.ber...@ossystems.com.br> wrote:

> As of commit OE-Core:773c9e18071d71454473dd81aff911104a2e9bc6
> EXTRA_OECONF is appended with the option --disable-static on
> DISABLE_STATIC variable and this cause the error:
>  __
> /
> | mono_boehm-main.o: In function `main':
> | x86_64-linux/mono-native/4.4.0.122-r0/mono-4.4.0/mono/mini/main.c:51:
> | undefined reference to `mono_build_date'
> | collect2: error: ld returned 1 exit status
> | Makefile:1390: recipe for target 'mono-boehm' failed
> \__
>
> There's a bug with this issue open here:
> https://bugzilla.xamarin.com/show_bug.cgi?id=33081
>
> Signed-off-by: Fabio Berton 
> ---
>  recipes-mono/mono/mono-4.xx.inc | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/recipes-mono/mono/mono-4.xx.inc
> b/recipes-mono/mono/mono-4.xx.inc
> index 855c857..6d7c023 100644
> --- a/recipes-mono/mono/mono-4.xx.inc
> +++ b/recipes-mono/mono/mono-4.xx.inc
> @@ -34,6 +34,9 @@ inherit autotools-brokensep
>  inherit pkgconfig
>  inherit gettext
>
> +# avoids build breaks when using no-static-libs.inc
> +DISABLE_STATIC = ""
> +
>  EXTRA_OECONF += " mono_cv_uscore=no --with-sigaltstack=no
> --with-mcs-docs=no "
>
>  do_configure_prepend() {
> --
> 2.1.4
>
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto