Re: [OE-core] [oe][yocto][bitbake] Fetching source using different protocols

2020-05-12 Thread Dawod
Thank you all, your answers were so helpful,
My problem had been solved.
The reason behind my question was a temporary connections error for some
machines in the lab so I needed some way to cover this problem  as fast as
possible to keep my Yocto recipes away from this problem.

Thank you very much.

On Mon, May 11, 2020 at 8:37 PM Mark Hatle 
wrote:

>
>
> On 5/11/20 4:17 AM, Quentin Schulz wrote:
> > Hi Mohamed,
> >
> > On Mon, May 11, 2020 at 11:03:26AM +0200, Dawod wrote:
> >> Hello,
> >>
> >> I need to fetch a git repo using 2 different protocols ( ssh & https )
> >> So that when I run bitbake, It will fetch using ssh protocol first and
> if
> >> it fails to fetch, It will try to fetch using https protocol.
> >>
> >
> > Why? What's the exact use case?
> >
> >> can I do some thing like that or I will have to change it manually every
> >> time ?
> >>
> >
> > Maybe you could play with PREMIRROS? (I've never explicitly used that
> > variable though):
> >
> https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-PREMIRRORS
>
> This is what I would suggest.  Have the recipe itself set the fallback URI
> as
> the main URL.
>
>
> SRC_URI = "git://example.com/my/repository/uri;proto=https"
>
> PREMIRRORS_prepend = "git://example.com/my/repository/uri;proto=https
> git://example.com/my/otherrepo/uri;proto=ssh \n"
>
> (the \n is literally '\' and 'n')
>
> The above should, when it sees the SRC_URI, try the ssh protocol first..
> if that
> doesn't work it will fall back to SRC_URI.
>
> --Mark
>
> > I guess the asterisk parts could be removed and the path to more or less
> your
> > source could be used (ssh first, to http path in your SRC_URI)?
> >
> > That's a shot in the dark for me but something to test I'd say :)
> >
> > Quentin
> >
> >
> > 
> >
>


-- 

Mohamed Dawod
Computer Engineer
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#138157): 
https://lists.openembedded.org/g/openembedded-core/message/138157
Mute This Topic: https://lists.openembedded.org/mt/74131887/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [oe][yocto][bitbake] Fetching source using different protocols

2020-05-11 Thread Dawod
Hello,

I need to fetch a git repo using 2 different protocols ( ssh & https )
So that when I run bitbake, It will fetch using ssh protocol first and if
it fails to fetch, It will try to fetch using https protocol.

can I do some thing like that or I will have to change it manually every
time ?

Thank you,
-- 

Mohamed Dawod
Computer Engineer
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#138110): 
https://lists.openembedded.org/g/openembedded-core/message/138110
Mute This Topic: https://lists.openembedded.org/mt/74131887/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[OE-core] [openembedded][qtwayland][weston]: Small text in text fields QML and keyboard problem

2018-09-20 Thread Mohamed Dawod
Hello everyone,

I built an image with wayland weston and removed x11,
I added meta-qt5 layer to run qt5 apps,
I could run qt5 apps but there is two problems:
1- text font is too small in text fields and app title bar
2- keyboard not response! I can not type any thing.
Keyboard is working well with the image and the terminal
but not working with qt5 apps.

can anyone help me to solve this problem ?
Thanks,
Regards,


-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [openembedded][patchwork]: new patch

2018-09-17 Thread Mohamed Dawod
Hello everyone,

Last week, I asked about how to hide the Mouse cursor in "wayland" because
I need it to be like a mobile interface.

No one answered me and later I found that it is not possible or there is no
thing ready made to do that.
so, I spent three days reading "wayland" and "weston" source code trying to
solve this problem and finally I succeeded in hiding the mouse cursor .
I wrote patch file for "bitbake" to use it.

Now, I want to sumit this patch file to patchwork
<https://patchwork.openembedded.org/> as my first open source contribution.
How to do this basically ?

Thank you,
Regards,

-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] Fwd: [openembedded][Qt5]: typing problem.

2018-09-15 Thread Mohamed Dawod
-- Forwarded message -
From: Mohamed Dawod 
Date: Sat, Sep 15, 2018 at 10:51 AM
Subject: [openembedded][Qt5]: typing problem.
To: , <
openembedded-de...@lists.openembedded.org>


HI everyone,
I am trying to build custom image supporting wayland weston instead of x11
and support qt5 apps.
I successfully built it but when I try to type any thing in the text box in
the qt5 app.
no thing happen !!
also the initial text in text boxes appears very small!!
I added "fontconfig" and "frretype" to the PACAGECONFIG variabl in
qtbase_git.bb recipe..

How to solve this problem ?

Thank you in advance,
Regards,

-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University


-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [openembedded][Qt5]: typing problem.

2018-09-15 Thread Mohamed Dawod
HI everyone,
I am trying to build custom image supporting wayland weston instead of x11
and support qt5 apps.
I successfully built it but when I try to type any thing in the text box in
the qt5 app.
no thing happen !!
also the initial text in text boxes appears very small!!
I added "fontconfig" and "frretype" to the PACAGECONFIG variabl in
qtbase_git.bb recipe..

How to solve this problem ?

Thank you in advance,
Regards,

-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [openembedded][linux][wayland]

2018-09-13 Thread Mohamed Dawod
Hello everyone,

I built custom image for intel-corei7 processor supporting wayland weston
instead of x11.

I need to hide the mouse pointer from the desktop .
I want to make it as mobiles, so I can use touch screen to click any where
but there is no mouse pointer,

Can any one help ?
Any suggestions?

Thank you in advance,
Regards,


-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [openembedded][wayland][weston]

2018-09-11 Thread Mohamed Dawod
Hi,
I need to change the screen resolution of weston in my new custom image.
I used weston.ini file and installed it to the image in the path
"/etc/xdg/weston"
and i also installed the file to this path "/home/root/.config"

This way worked well with Jethro release of openembedded
but with sumo release it didn't work at all !!!

Thanks in advance,
-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] Fwd: [oe] [openembedded][wayland][weston]: How to configure screen resolution

2018-09-11 Thread Mohamed Dawod
-- Forwarded message -
From: Mohamed Dawod 
Date: Mon, Sep 10, 2018 at 1:15 PM
Subject: Re: [oe] [openembedded][wayland][weston]: How to configure screen
resolution
To: 



I typed the following weston.ini and weston-init.bbappend file but no thing
change 


This is my weston.ini file :
===
[core]
idle-time=0

[shell]
locking=false

[screensaver]
path=""

[output]
name=HDMI1
transform=0
mode=1920x1080

and this is my weston-init.bbappend file :
===
DESCRIPTION = "Installation of weston.ini config file"
LICENSE = "CLOSED"

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI_append = " file://weston.ini"

do_install_append() {
WESTON_INI_CONFIG=${sysconfdir}/xdg/weston
#WESTON_INI_CONFIG=/root/.conf
#WESTON_INI_CONFIG=/.config
#WESTON_INI_CONFIG=/run/user/root/weston
install -d ${D}${WESTON_INI_CONFIG}
install -m 0644 ${WORKDIR}/weston.ini ${D}${WESTON_INI_CONFIG}
}

PACKAGES += "${PN}-ini"
FILES_${PN}-ini = "${sysconfdir}/xdg"
---

Thank you for your help,








On Mon, Sep 10, 2018 at 10:30 AM Leon Anavi  wrote:

> Hi Mohamed,
>
>
> On 9.09.2018 14:10, Mohamed Dawod wrote:
> > Hello,
> >
> > I want to know how to change the screen resolution using weston.ini file
> ?
>
> You can set the resolution size width and height in pixels with property
> mode in the output section of weston.ini. For example:
>
> [output]
> mode=1680x1050
>
> Please have a look at weston documentation for details.
>
>
> > How to generate this file and use it for my image?
>
> You can update or provide your version of weston.ini through a bbappend
> file.
>
> Best regards,
> Leon
>
> >
> > Thanks,
> >
>
> --
> Leon Anavi
> Software Engineer
> konsulko.com
>
>
>

-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University


-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [openembedded][wayland][weston]: How to configure screen resolution

2018-09-09 Thread Mohamed Dawod
Hello,

I want to know how to change the screen resolution using weston.ini file ?
How to generate this file and use it for my image?

Thanks,

-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [openembedded][qt5] : Text is hidden in Qt5 apps

2018-09-04 Thread Mohamed Dawod
Hi,
I built custom image based on wayland instead of x11
it support Qt5 apps.
I built simple Qt5 app and tried to build it for the custom image to run it
there.
the application is work but the text is hidden !
The same for the test app "Qt5_Cinematicexperience"
No text at all for all films.

Thanks,


-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [openembedded][qt5] : Text is hidden in Qt5 apps

2018-09-03 Thread Mohamed Dawod
Hi,
I built custom image based on wayland instead of x11
it support Qt5 apps.
I built simple Qt5 app and tried to build it for the custom image to run it
there.
the application is work but the text is hidden !
The same for the test app "Qt5_Cinematicexperience"
No text at all for all films.

Thanks,


-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [openembedded][qt5] : Text is hidden in Qt5 apps

2018-09-03 Thread Mohamed Dawod
Hi,
I built custom image based on wayland instead of x11
it support Qt5 apps.
I built simple Qt5 app and tried to build it for the custom image to run it
there.
the application is work but the text is hidden !
The same for the test app "Qt5_Cinematicexperience"
No text at all for all films.

Thanks,
-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [oe][qt5]: running qt5 apps on wayland image

2018-08-16 Thread Mohamed Dawod
can I run qt5 apps on image supporting wayland without x11?
I removed x11 from image distro variable
and I use wayland weston instead.
can i run qt5 apps in this case ?
Thanks,

-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] running Qt5 applications with wayland

2018-08-16 Thread Mohamed Dawod
Hi,
I need to know the modifications needed to run Qt5 apps on wayland custom
image instead of x11.
I removed x11 and run wayland weston instead.
when i try to run Qt-cinemaexperience as a test I face the following error
:
---
This application failed to start because it couldnt find or load the
Qt pltform plugin "xcb".

so, do i need to modify PACKAGECONFIG in qtbase_git.bb to be able to run
qt5 apps on wayland weston ?

Thanks,
-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] running qt5 apps on wayland image without x11

2018-08-16 Thread Mohamed Dawod
these two lines were typed in local.conf file already

On Thu, Aug 16, 2018 at 4:13 AM Denys Dmytriyenko  wrote:

> On Wed, Aug 15, 2018 at 05:20:01PM +0200, Mohamed Dawod wrote:
> > Hi,
> >
> > I am trying to run qt5 application "Qt5-cinematicexperience" on my custom
> > image
> > I faced the following error :
> > --
> > This application failed to start because it couldnt find or load the
> > Qt pltform plugin "xcb".
> > Available platform plugins are : eglfs, minimal, minimalegl, offscreen.
> > --
> > I removed x11 from the image and added wayland & weston instead.
> > I found that "xcb" is one of the features that should be added to
> > PACKAGESCONFIG in case of using x11.
> > so the Error is logical but how I makes qt5 app work with wayland ?
>
> DISTRO_FEATURES_remove = "x11"
> DISTRO_FEATURES_append = " wayland"
>
>
> >
> > Thank you,
> > --
> >
> > Mohamed Dawod
> > Computer Engineering Department
> > Faculty of Engineering
> > Cairo University
>
> > --
> > ___
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>

-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] running qt5 apps on wayland image without x11

2018-08-15 Thread Mohamed Dawod
Hi,

I am trying to run qt5 application "Qt5-cinematicexperience" on my custom
image
I faced the following error :
--
This application failed to start because it couldnt find or load the
Qt pltform plugin "xcb".
Available platform plugins are : eglfs, minimal, minimalegl, offscreen.
--
I removed x11 from the image and added wayland & weston instead.
I found that "xcb" is one of the features that should be added to
PACKAGESCONFIG in case of using x11.
so the Error is logical but how I makes qt5 app work with wayland ?

Thank you,
-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe][meta-qt5] : QT5 Packages

2018-08-15 Thread Mohamed Dawod
Thank you,
It works but there is problem because of i am using wayland instead of x11
in my custom image
I removed w11 from IMAGE_FEATURES
and I added wayland and weston instead.

I think that meta-qt5 has recipes or modules to handle this case, so why it
couldn't call them automatically ?

On Wed, Aug 15, 2018 at 2:45 PM Alexander Kanavin 
wrote:

> 2018-08-15 14:38 GMT+02:00 Mohamed Dawod :
> > I am trying to add Qt5 to my custom image.
> > I edited bblayer.conf file and created.
> > Now I want to know what is th packages which i need to append to
> > IMAGE_INSTALL variable ?
> > I found many many packages and modules. I can not add them all, because
> this
> > will expand my image size.
> > I need to know how to select the most important modules for my image ?
>
> Presumably you need qt5 in order to run some application. Add that
> application to IMAGE_INSTALL, and it will pull in all necessary qt5
> dependencies automatically.
>
> Alex
>


-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [oe][meta-qt5] : QT5 Packages

2018-08-15 Thread Mohamed Dawod
Hi,
I am trying to add Qt5 to my custom image.
I edited bblayer.conf file and created.
Now I want to know what is th packages which i need to append to
IMAGE_INSTALL variable ?
I found many many packages and modules. I can not add them all, because
this will expand my image size.
I need to know how to select the most important modules for my image ?

Thank you,
-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [oe][meta-qt5]: required packages to run qt5 qml applications

2018-08-15 Thread Mohamed Dawod
I added the meta-qt5 layer to bblayers.conf file
and i added some of packages to IMAGE_INSTALL variable
but I think that I don't need all of this packages.
I just need from this list some packages which let me can run qt qml
applications.
so, how can I know which packages can be useful for me ?

Thanks,

On Tue, Aug 14, 2018 at 6:23 PM Khem Raj  wrote:

> you need to add meta-qt5 to your bblayers.conf and then
> something like below might be helpful. You have to check for
> renames or removals though.
>
> IMAGE_INSTALL_append = "\
>qtbase-fonts \
>qtbase-plugins \
>qtbase-tools \
>qtbase-examples \
>qtdeclarative \
>qtdeclarative-plugins \
>qtdeclarative-tools \
>qtdeclarative-examples \
>qtdeclarative-qmlplugins \
>qtmultimedia \
>qtmultimedia-plugins \
>qtmultimedia-examples \
>qtmultimedia-qmlplugins \
>qtsvg \
>qtsvg-plugins \
>qtsensors \
>qtimageformats-plugins \
>qtsystems \
>qtsystems-tools \
>qtsystems-examples \
>qtsystems-qmlplugins \
>qtscript \
>qt3d \
>qt3d-examples \
>qt3d-qmlplugins \
>qt3d-tools \
>qtwebkit \
>qtwebkit-examples \
>qtwebkit-qmlplugins \
>qtgraphicaleffects-qmlplugins \
>qtconnectivity-qmlplugins \
>qtlocation-plugins \
>qtlocation-qmlplugins \
>cinematicexperience \
> "
> On Tue, Aug 14, 2018 at 7:41 AM Mohamed Dawod  wrote:
> >
> > Hi,
> > I need to know what is the minimum packages which I need to add to
> > IMAGE_INSTALL_append variable in local.conf file
> > to be able to run qt5 qml applications in custom image on Minnowboard
> Turbot that support wayland without x11. ?
> >
> > Thank you,
> >
> >
> > --
> >
> > Mohamed Dawod
> > Computer Engineering Department
> > Faculty of Engineering
> > Cairo University
> > --
> > ___
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
>


-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [oe][meta-qt5]: required packages to run qt5 qml applications

2018-08-14 Thread Mohamed Dawod
Hi,
I need to know what is the minimum packages which I need to add to
IMAGE_INSTALL_append variable in local.conf file
to be able to run qt5 qml applications in custom image on Minnowboard
Turbot that support wayland without x11. ?

Thank you,


-- 

Mohamed Dawod
Computer Engineering Department
Faculty of Engineering
Cairo University
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core