All of lore.kernel.org
 help / color / mirror / Atom feed
* imx6q: image with both fb & x11 features
@ 2015-05-06 18:05 Prasant J
  2015-05-07 12:08 ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Prasant J @ 2015-05-06 18:05 UTC (permalink / raw)
  To: meta-freescale

Hi,

I want to build the latest fsl-community-bsp image
(fsl-L3.14.28_1.0.0). I can choose  to build any one backend (fb, x11,
wayland or directfb). The libraries of the other backends are removed
or not built.


Is it possible to build the image for framebuffer (fb) backend but
also include libraries of the x11 ? If yes, how can it be done?



Regards, Pj


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

* Re: imx6q: image with both fb & x11 features
  2015-05-06 18:05 imx6q: image with both fb & x11 features Prasant J
@ 2015-05-07 12:08 ` Otavio Salvador
  2015-05-07 13:57   ` Daiane Angolini
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2015-05-07 12:08 UTC (permalink / raw)
  To: Prasant J; +Cc: meta-freescale

On Wed, May 6, 2015 at 3:05 PM, Prasant J <pj0585@gmail.com> wrote:
> I want to build the latest fsl-community-bsp image
> (fsl-L3.14.28_1.0.0). I can choose  to build any one backend (fb, x11,
> wayland or directfb). The libraries of the other backends are removed
> or not built.
>
> Is it possible to build the image for framebuffer (fb) backend but
> also include libraries of the x11 ? If yes, how can it be done?

The way the Yocto Project is intended for use does not make this easy to do.

Generally speaking the backend relies in different library files and
we cannot have both enabled at same time.

You can easily have two different distros in same Yocto Project
platform and use two different build directories to generate a couple
of products based on a specific backend. We do it often at O.S.
Systems for different customers and the biggest benefit of this is
traceability and reproducibility of your products.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

* Re: imx6q: image with both fb & x11 features
  2015-05-07 12:08 ` Otavio Salvador
@ 2015-05-07 13:57   ` Daiane Angolini
  2015-05-08  5:28     ` Prasant J
  0 siblings, 1 reply; 5+ messages in thread
From: Daiane Angolini @ 2015-05-07 13:57 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

On Thu, May 7, 2015 at 9:08 AM, Otavio Salvador <otavio@ossystems.com.br> wrote:
> On Wed, May 6, 2015 at 3:05 PM, Prasant J <pj0585@gmail.com> wrote:
>> I want to build the latest fsl-community-bsp image
>> (fsl-L3.14.28_1.0.0). I can choose  to build any one backend (fb, x11,
>> wayland or directfb). The libraries of the other backends are removed
>> or not built.
>>
>> Is it possible to build the image for framebuffer (fb) backend but
>> also include libraries of the x11 ? If yes, how can it be done?
>
> The way the Yocto Project is intended for use does not make this easy to do.
>
> Generally speaking the backend relies in different library files and
> we cannot have both enabled at same time.
>
> You can easily have two different distros in same Yocto Project
> platform and use two different build directories to generate a couple
> of products based on a specific backend. We do it often at O.S.
> Systems for different customers and the biggest benefit of this is
> traceability and reproducibility of your products.
>

One important topic to add on top of Otavio's reply is that, sometimes
we want X11 library enabled but we also want to have a "direct
control" of frame buffer without using a X11 application (like sato,
for example)

Maybe you can describe a little bit more your need


Daiane

> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


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

* Re: imx6q: image with both fb & x11 features
  2015-05-07 13:57   ` Daiane Angolini
@ 2015-05-08  5:28     ` Prasant J
  2015-05-08 11:28       ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Prasant J @ 2015-05-08  5:28 UTC (permalink / raw)
  To: Daiane Angolini; +Cc: meta-freescale, Otavio Salvador

On Thu, May 7, 2015 at 7:27 PM, Daiane Angolini <daiane.list@gmail.com> wrote:
> On Thu, May 7, 2015 at 9:08 AM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>> On Wed, May 6, 2015 at 3:05 PM, Prasant J <pj0585@gmail.com> wrote:
>>>
>>> Is it possible to build the image for framebuffer (fb) backend but
>>> also include libraries of the x11 ? If yes, how can it be done?
>>
>> The way the Yocto Project is intended for use does not make this easy to do.
>>
>> Generally speaking the backend relies in different library files and
>> we cannot have both enabled at same time.
>>
>> You can easily have two different distros in same Yocto Project
>> platform and use two different build directories to generate a couple
>> of products based on a specific backend. We do it often at O.S.
>> Systems for different customers and the biggest benefit of this is
>> traceability and reproducibility of your products.
>>

@Otavio: Thanks for the response.
I also do that. But I would like to pack X11 libraries in the image
that is framebuffer.

>
> One important topic to add on top of Otavio's reply is that, sometimes
> we want X11 library enabled but we also want to have a "direct
> control" of frame buffer without using a X11 application (like sato,
> for example)
>
> Maybe you can describe a little bit more your need
>
>

@Daiane:  Bang on!!
I'm creating custom rpm packages/patches so that our clients can patch
their systems.
When I build my custom JVM rpm package, (because of a auto requirement
processing of RPM it creates dependencies on X11 libraries: libX11,
libXext, libXrender, etc.)
When I try to install the package rpm complains of missing dependencies.

I could disable the AutoReq of rpm but we don't want to do that. What
if some java functions actually make use of X11 libraries even when
one is not using X, some kind of utility function (I'm not an expert
at Java, I'm speculating this). This is just one example. So as a
policy we do not want to disable AutoReq of our rpm packages.

So, I would like to pack the X11 libraries (and its dependencies) in
my framebuffer image. Thats my use case.

Does it sound reasonable?
Is it possible to build such an image?

Any inputs will be of help..



Regards, Pj


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

* Re: imx6q: image with both fb & x11 features
  2015-05-08  5:28     ` Prasant J
@ 2015-05-08 11:28       ` Otavio Salvador
  0 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2015-05-08 11:28 UTC (permalink / raw)
  To: Prasant J; +Cc: meta-freescale

On Fri, May 8, 2015 at 2:28 AM, Prasant J <pj0585@gmail.com> wrote:
> On Thu, May 7, 2015 at 7:27 PM, Daiane Angolini <daiane.list@gmail.com> wrote:
>> On Thu, May 7, 2015 at 9:08 AM, Otavio Salvador <otavio@ossystems.com.br> wrote:
>>> On Wed, May 6, 2015 at 3:05 PM, Prasant J <pj0585@gmail.com> wrote:
>>>>
>>>> Is it possible to build the image for framebuffer (fb) backend but
>>>> also include libraries of the x11 ? If yes, how can it be done?
>>>
>>> The way the Yocto Project is intended for use does not make this easy to do.
>>>
>>> Generally speaking the backend relies in different library files and
>>> we cannot have both enabled at same time.
>>>
>>> You can easily have two different distros in same Yocto Project
>>> platform and use two different build directories to generate a couple
>>> of products based on a specific backend. We do it often at O.S.
>>> Systems for different customers and the biggest benefit of this is
>>> traceability and reproducibility of your products.
>>>
>
> @Otavio: Thanks for the response.
> I also do that. But I would like to pack X11 libraries in the image
> that is framebuffer.
>
>>
>> One important topic to add on top of Otavio's reply is that, sometimes
>> we want X11 library enabled but we also want to have a "direct
>> control" of frame buffer without using a X11 application (like sato,
>> for example)
>>
>> Maybe you can describe a little bit more your need
>>
>>
>
> @Daiane:  Bang on!!
> I'm creating custom rpm packages/patches so that our clients can patch
> their systems.
> When I build my custom JVM rpm package, (because of a auto requirement
> processing of RPM it creates dependencies on X11 libraries: libX11,
> libXext, libXrender, etc.)
> When I try to install the package rpm complains of missing dependencies.
>
> I could disable the AutoReq of rpm but we don't want to do that. What
> if some java functions actually make use of X11 libraries even when
> one is not using X, some kind of utility function (I'm not an expert
> at Java, I'm speculating this). This is just one example. So as a
> policy we do not want to disable AutoReq of our rpm packages.
>
> So, I would like to pack the X11 libraries (and its dependencies) in
> my framebuffer image. Thats my use case.
>
> Does it sound reasonable?

No as X11 libraries will need DISPLAY to work so it would fail.

> Is it possible to build such an image?

Currently not.

This Java issue we are working for one customer. We are initially
working with Oracle VM and later will work on OpenJDK. No ETA yet to
finish this as this is being worked on right now.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


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

end of thread, other threads:[~2015-05-08 11:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-06 18:05 imx6q: image with both fb & x11 features Prasant J
2015-05-07 12:08 ` Otavio Salvador
2015-05-07 13:57   ` Daiane Angolini
2015-05-08  5:28     ` Prasant J
2015-05-08 11:28       ` Otavio Salvador

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.