Commit Graph

27 Commits

Author SHA1 Message Date
Jerzy Grzegorek
2b06cc9e0c directfb-examples: indentation cleanup
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-12-20 13:54:31 +01:00
Thomas Petazzoni
6cac59f8a3 directfb-examples: bump to 1.7.0
This commit bumps the directfb-examples package to use the upstream
1.7.0 version.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-10 14:06:51 +02:00
Thomas Petazzoni
127aef0261 directfb-examples: do not install to staging
DirectFB examples are just examples, there is no reason to install
them to the staging directory.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-10 14:06:38 +02:00
Thomas Petazzoni
80404e8c4d directfb-examples: remove options for each example
For some historical reasons, the directfb-examples package has one
sub-option for each example, and the .mk files go through some great
lengths to install only the needed data files for each example.

This is a bit silly for several reasons:

 * In no other Buildroot package we do offer such a fine-grained
   selection of what the package installs;

 * directfb-examples are examples, they are therefore typically not
   meant to be used on a final production system, but more during
   development or for demonstration. Those are situations where size
   generally isn't that critical (all installed, the package takes 2.4
   MB on the rootfs);

 * Those options and the .mk file logic has to be updated whenever the
   package is bumped;

 * Users can always use a post-build script to keep only the examples
   they are interested in.

All the options are moved to Config.in.legacy. However, we could
debate on whether this is actually useful, since the main option
BR2_PACKAGE_DIRECTFB_EXAMPLES will now install a superset of whatever
was selected before through sub-options.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-09-10 14:03:46 +02:00
Gustavo Zacarias
56338071df directfb-examples: add hash file
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-28 22:37:14 +02:00
Peter Korsgaard
0278ba33bb directfb-examples: drop usr/bin path from sub options text
Nowhere else do we list the explicit path where binaries are installed to,
so drop it from here.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-27 00:15:59 +01:00
Peter Korsgaard
b1f83fefcb directfb-examples: drop explicit stripping when installing into target
Stripping is globally handled by target-finalize (if enabled), so drop it
from here.

Reported-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-27 00:13:44 +01:00
Peter Seiderer
b3d1a543f7 directfb-examples: explicitly add -lstdc++ for static build
Fixes [1] and [2]:
undefined reference to `___cxa_pure_virtual'
undefined reference to `___gxx_personality_v0'

[1] http://autobuild.buildroot.net/results/bd0/bd0f4b3e41bf6330f83e3d9b58d985cc63506a3b/
[2] http://autobuild.buildroot.net/results/584/584ace383204d97fcaad37742e2e035ca78a3d10/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-27 00:11:32 +01:00
Peter Korsgaard
298cd8eaa2 package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345)

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 14:52:56 +01:00
Thomas De Schampheleire
35eaed8d07 Config.in files: use if/endif instead of 'depends on' for main symbol
In the Config.in file of package foo, it often happens that there are other
symbols besides BR2_PACKAGE_FOO. Typically, these symbols only make sense
when foo itself is enabled. There are two ways to express this: with
    depends on BR2_PACKAGE_FOO
in each extra symbol, or with
    if BR2_PACKAGE_FOO
        ...
    endif
around the entire set of extra symbols.

The if/endif approach avoids the repetition of 'depends on' statements on
multiple symbols, so this is clearly preferred. But even when there is only
one extra symbol, if/endif is a more logical choice:
- it is future-proof for when extra symbols are added
- it allows to have just one strategy instead of two (less confusion)

This patch modifies the Config.in files accordingly.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-12-25 12:21:39 +01:00
Jerzy Grzegorek
cd2ff4f637 package: remove the empty trailing lines
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-09-13 11:10:23 +02:00
Jerzy Grzegorek
5a57148657 fix header package name
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-07-27 15:21:03 +02:00
James Hogan
a8b0a3f870 directfb-examples: install rose.png for df_dok
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-07-26 21:20:35 +02:00
Alexandre Belloni
8dfd59d114 Normalize separator size to 80
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 22:30:24 +02:00
Simon Dawson
8dee06013e various packages: fix license information
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-08 13:49:01 +02:00
Peter Korsgaard
37c6e51a15 directfb-examples: drop version number from bzero patch
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-28 21:52:12 +02:00
Carsten Schoenert
ea5bfcae5f directfb-examples: adding license information
Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-28 21:52:12 +02:00
Carsten Schoenert
7a6f192703 directfb-exambles: adding new examples to the menu
Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-28 21:52:11 +02:00
Carsten Schoenert
4311d719fd directfb-examples: bump to version 1.6.0
The previous version 1.2.0 isn't acting well with directfb 1.6.3 so
increasing the version to the latest available version on directfb.org.

Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-28 21:52:11 +02:00
Carsten Schoenert
9677b779e7 directfb-examples: correct indentation and expand help text
[Peter: drop trailing newline]
Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-28 21:52:11 +02:00
Thomas Petazzoni
0e4d25ff0f packages: remove all := signs
Finally get rid of all := used for variable definitions in packages,
as we suggest in our manual and during the review of new packages.

While I was at it, I also sometimes added a few missing new lines
between the header and the first variable definition.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-20 20:49:02 +01:00
Arnout Vandecappelle (Essensium/Mind)
e1502ebc0c all packages: rename XXXTARGETS to xxx-package
Also remove the redundant $(call ...).

This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:23:05 +02:00
Gustavo Zacarias
9ae23e3911 packages: remove redundant INSTALL_TARGET=YES declarations
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-11 22:30:33 +01:00
Thomas Petazzoni
300f9c9c9d package: remove useless arguments from AUTOTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:12:27 +02:00
Lionel Landwerlin
5a6f6bfe88 directfb-examples: rework target installation rule to match package infrastructure
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13 00:42:03 +01:00
Thomas Petazzoni
f1c00c93d4 directfb-examples fixes
* Do not install to the staging dir inside the target install target,
   since it has already been done in the staging install target.

 * Strip the binaries installed in the target.

 * Properly create the target installation stamp.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-12-26 23:28:15 +00:00
Daniel Laird
fcb9d45a07 package/directfb-examples: DirectFB examples package
Add the DirectFB examples package.

This patch adds the DirectFB examples package to Buildroot. It is
largely based on a patch written by Daniel Laird, and available at 
http://bugs.uclibc.org/view.php?id=4224. I only made a few adaptations 
to get it to work properly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2008-10-16 13:16:17 +00:00