Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] directfb-examples: install rose.png for df_dok
@ 2013-07-23 15:33 James Hogan
  2013-07-27 13:47 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: James Hogan @ 2013-07-23 15:33 UTC (permalink / raw)
  To: buildroot

The directfb example program df_dok now requires rose.png to be
installed, otherwise it gives the following error:

(#) DirectFBError [dfb->CreateImageProvider( dfb, DATADIR"/rose.png", &provider )]: A general or unknown error occured

Therefore add rose.png to the list of data files if df_dok is enabled.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
---
 package/directfb-examples/directfb-examples.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/directfb-examples/directfb-examples.mk b/package/directfb-examples/directfb-examples.mk
index bcd3c1c..b093ea8 100644
--- a/package/directfb-examples/directfb-examples.mk
+++ b/package/directfb-examples/directfb-examples.mk
@@ -58,6 +58,7 @@ DIRECTFB_EXAMPLES_DATA_$(BR2_PACKAGE_DIRECTFB_EXAMPLES_DOK) += usr/share/directf
 DIRECTFB_EXAMPLES_DATA_$(BR2_PACKAGE_DIRECTFB_EXAMPLES_DOK) += usr/share/directfb-examples/intro.png
 DIRECTFB_EXAMPLES_DATA_$(BR2_PACKAGE_DIRECTFB_EXAMPLES_DOK) += usr/share/directfb-examples/fish.png
 DIRECTFB_EXAMPLES_DATA_$(BR2_PACKAGE_DIRECTFB_EXAMPLES_DOK) += usr/share/directfb-examples/swirl.png
+DIRECTFB_EXAMPLES_DATA_$(BR2_PACKAGE_DIRECTFB_EXAMPLES_DOK) += usr/share/directfb-examples/rose.png
 
 DIRECTFB_EXAMPLES_DATA_$(BR2_PACKAGE_DIRECTFB_EXAMPLES_DRIVERTEST) += usr/share/directfb-examples/pngtest.png
 DIRECTFB_EXAMPLES_DATA_$(BR2_PACKAGE_DIRECTFB_EXAMPLES_DRIVERTEST) += usr/share/directfb-examples/testmask.png
-- 
1.8.1.2

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

* [Buildroot] [PATCH] directfb-examples: install rose.png for df_dok
  2013-07-23 15:33 [Buildroot] [PATCH] directfb-examples: install rose.png for df_dok James Hogan
@ 2013-07-27 13:47 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2013-07-27 13:47 UTC (permalink / raw)
  To: buildroot

Dear James Hogan,

On Tue, 23 Jul 2013 16:33:58 +0100, James Hogan wrote:
> The directfb example program df_dok now requires rose.png to be
> installed, otherwise it gives the following error:
> 
> (#) DirectFBError [dfb->CreateImageProvider( dfb, DATADIR"/rose.png", &provider )]: A general or unknown error occured
> 
> Therefore add rose.png to the list of data files if df_dok is enabled.
> 
> Signed-off-by: James Hogan <james.hogan@imgtec.com>
> ---
>  package/directfb-examples/directfb-examples.mk | 1 +
>  1 file changed, 1 insertion(+)

Committed, thanks.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

end of thread, other threads:[~2013-07-27 13:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-23 15:33 [Buildroot] [PATCH] directfb-examples: install rose.png for df_dok James Hogan
2013-07-27 13:47 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox