Commit Graph

37 Commits

Author SHA1 Message Date
Cédric Marie
b488f356ed directfb: add an option for debugging support
DirectFB provides two options for debug:
* --enable-debug-support (default is yes)
* --enable-debug (default is no)
The first one provides the functions to print debug information. These
functions can be called inside DirectFB, or by an external DirectFB
driver in another package.
The second one enables verbose mode in DirectFB, using these functions.

Buildroot currently provides an option for the second one only. The
first one - which is necessary for the second one - is always enabled,
because this is the default value.

The new option (BR2_PACKAGE_DIRECTFB_DEBUG_SUPPORT) makes it possible
to disable debugging support (--disable-debug-support) in order to
build the library with no debug feature at all.

When debugging support is disabled, the target installation path of
drivers (/usr/lib/directfb-<version>) is suffixed with -pure. The
public library (/usr/lib/libdirectfb.so) remains unchanged.

Some external DirectFB drivers will install into
/usr/lib/directfb-<version>-pure in release mode. For that reason, it
is important that DirectFB can be configured to use this directory.

Signed-off-by: Cédric Marie <cedric.marie@openmailbox.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-06-21 09:38:04 +02:00
Thomas Petazzoni
665e13c85e Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS
Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed
from "prefer static libraries when possible" to "use only static
libraries". The former semantic didn't make much sense, since the user
had absolutely no control/idea of which package would use static
libraries, and which packages would not. Therefore, for quite some
time, we have been starting to enforce that BR2_PREFER_STATIC_LIB
should really build everything with static libraries.

As a consequence, this patch renames BR2_PREFER_STATIC_LIB to
BR2_STATIC_LIBS, and adjust the Config.in option accordingly.

This also helps preparing the addition of other options to select
shared, shared+static or just static.

Note that we have verified that this commit can be reproduced by
simply doing a global rename of BR2_PREFER_STATIC_LIB to
BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-12-11 22:48:13 +01:00
Jérôme Pouiller
80b9dfceaf directfb: disable multi application if no MMU
directfb-fusion uses the madvise() system call which is not available
on no-MMU targets.

It seems it might be possible to simply remove the call to madvise()
(there is only one call) if not available. However, it's probably not
worth the effort, and people working on no-MMU targets can submit a
patch doing that if they are interested.

[Thomas: tweak commit log.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-09-23 20:23:02 +02:00
Jérôme Pouiller
daf4820c85 directfb: allow SVG support
DirectFB SVG support rely on Cairo and Cairo depends on DirectFB.

Since Cairo DirectFB backend is marked as experimental, this patch choose to
disable this backend when DirectFB SVG support is enable.

In add, this patch may solve some tricky situations between DirectFB and Cairo
(see http://sysmic.org/~jezz/results/c2f11fc0) and improve build reproducibility.

[Peter: propagate atomics dependency, needs libsvg-cairo, add cairo includes]
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-13 09:22:27 +02:00
Thomas Petazzoni
056d25098f imlib2: uses dlopen(), not available in static cases
According to the imlib2 people, if you don't support dlopen(), you
have a "crap box":

image.h:16:4: warning: #warning "your crap box doesn't define RTLD_LOCAL !?"

So, let's disable imlib2 when doing static linking.

Fixes:

  http://autobuild.buildroot.net/results/b5e/b5ee859409cd626b769e8a159026e60ec6f29180/

[Peter: fix imlib2 comment as pointed out by Thomas]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-04-29 23:09:00 +02:00
Thomas De Schampheleire
8da745f04a Config.in files: unification of comments about dependency on Linux kernel
This patch lines up the comments of packages that need a Linux kernel to be
built by buildroot, to the format:
    foo needs a Linux kernel to be built

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-15 16:24:36 +01:00
Thomas De Schampheleire
f826e851c8 tslib: needs dynamic library for dlopen
Fixes
http://autobuild.buildroot.net/results/1242cbea015e5a24a6621d1bd5569d2a1a819bb4/

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-10-22 16:24:52 +02:00
Thomas De Schampheleire
66bb10b7b0 Config.in files: unify comments of toolchain option dependencies
This patch lines up the comments in Config.in files that clarify which
toolchain options the package depends on.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-10-14 22:45:57 +02:00
Markos Chandras
8837887727 directfb: add optional imlib2 support
[Peter: drop default y]
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 00:10:31 +02:00
Peter Korsgaard
de33240fe6 directfb: 1.6.x needs C++ support in toolchain
Fixes http://autobuild.buildroot.net/results/b36f5492401a8bba8ed04614decfbf4152464740/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-29 15:16:00 +02:00
Carsten Schoenert
9bff3c6525 directfb: fixing typo in variables
Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-28 21:44:25 +02:00
Carsten Schoenert
6d1a1431d0 directfb: expanding the help strings
Adding a helper string for the PXA3xx and graphics driver from Marvell
and the EP9x graphics driver from Cirrus Logic.

Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-04-28 21:44:25 +02:00
Peter Korsgaard
ade0a8a856 directfb: needs threads support
Fixes http://autobuild.buildroot.net/results/237aaf7b036a98867de1df47d39d01ec4137efd3

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-23 22:01:38 +01:00
Peter Korsgaard
1abaa98d92 Revert "directfb: add support for davinci gfx driver"
This reverts commit df39ffe7f4.

It's broken and Arnout no longer has the hardware to fix/test.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-15 21:58:18 +02:00
Arnout Vandecappelle
df39ffe7f4 directfb: add support for davinci gfx driver
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-05-01 22:02:14 +02:00
Thomas Petazzoni
8c1e029a3d Add support for DirectFB EP9x driver
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-08 15:44:22 +01:00
Thomas Petazzoni
2fc19d0e19 linux-fusion: many fixes
This commit fixes several issues with linux-fusion so that it builds
properly with the current Buildroot:

 * Following the rework of the Linux kernel build process in
   Buildroot, a few adaptations were needed: depend on
   BR2_LINUX_KERNEL instead of !BR2_KERNEL_none, use
   $(LINUX26_VERSION_PROBED) to get the real kernel version, etc.

 * Add a LINUX_FUSION_BUILD_CMDS that actually does the build of
   linux-fusion.

 * Define SYSROOT for linux-fusion to TARGET_DIR so that at target
   installation, kernel modules are installed in $(TARGET_DIR)

 * Replace the staging installation by a simple one-liner that only
   installs the linux fusion header, needed for DirectFB to use the
   fusion kernel module

 * Fix the uninstallation macros. They have been misunderstood as
   hooks, while their are in fact normal macros.

 * Add a patch to fix a build failure in linux-fusion itself (missing
   <linux/sched.h> include in fusiondev.c)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-07-16 23:42:32 +02:00
Thomas Petazzoni
6040190e92 linux-fusion: add dependency on !BR2_KERNEL_none
linux-fusion is composed of a kernel module, and linux-fusion.mk uses
several variable definitions that only exist when Buildroot compiles a
kernel.

We also add the same dependency to BR2_PACKAGE_DIRECTFB_MULTI, which
relies on linux-fusion.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-10 23:41:51 +02:00
Lionel Landwerlin
58633266d5 directfb: added directfb tests installation option
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-03 09:26:37 +02:00
Lionel Landwerlin
74d7fab112 directfb: some cleanup in config file
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-28 17:11:07 +01:00
Lionel Landwerlin
1041563b1a directfb: Fix ps2mouse driver availability
Closes #553.

The ps2mouse driver is miss named because it's not only a driver for
ps2 mice, but also usb mice. So it's not only limited to PC architecture
(x86 & x86-64).

Signed-off-by: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-06 22:23:20 +01:00
Ormund Williams
1f09b42f50 Add i830 graphics driver to DirectFB
Signed-off-by: Ormund Williams <ormundw@panix.com>[A
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-24 12:20:40 +02:00
Sven Neumann
7b66a9435b directfb: update to 1.4.2, add option for pxa3xx driver
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 21:19:07 +02:00
Sven Neumann
7ad7a89244 directfb: remove unnecessary dependency on libungif
The GIF image provider in DirectFB is self-contained and doesn't
need libungif.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
2009-08-07 19:03:42 +02:00
Sven Neumann
dfc4deffd4 directfb: allow to enable debug and trace support
This change adds two new options, BR2_PACKAGE_DIRECTFB_DEBUG
to enable lots of debugging output from DirectFB and
BR2_PACKAGE_DIRECTFB_TRACE to enable support for call traces
in case of a crash.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
2009-08-07 19:03:34 +02:00
Thomas Petazzoni
6beeb755fa xorg: use BR2_PACKAGE_XORG instead of BR2_PACKAGE_XSERVER_none
The BR2_PACKAGE_XSERVER_none option has gone, so use BR2_PACKAGE_XORG7
instead. It is more logical to test if BR2_PACKAGE_XORG7 is set to
know if an X.org server is available, than testing if
BR2_PACKAGE_XSERVER_none is set to know if an X.org server is *not*
available.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-24 23:26:47 +02:00
Peter Korsgaard
3a966abb62 qtopia4/directfb: remove default n
N is default, so no need to explicitly state it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-08 16:05:41 +02:00
Sven Neumann
b26520ba90 directfb: bump version
Closes #379

update DirectFB to version 1.4.0

A new stable version of DirectFB has been released upstream,
http://directfb.org/index.php?path=Main%2FNews&entry=2009-06-04-1.niels

Attached patch updates the DirectFB package and introduces a BR2
configuration option for the RGB16 dithering feature that is new in
DirectFB 1.4.0.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-23 13:47:14 +02:00
Peter Korsgaard
cfca28f0a5 directfb: add option for linuxinput input driver 2009-03-11 15:01:56 +00:00
Ulf Samuelsson
c075c6888d Change name form DIRECTFB_MAJOR to DIRECTFB_VERSION_MAJOR, make patches version dependent 2009-01-11 20:35:34 +00:00
Peter Korsgaard
9ca9f93339 package/: remove more 'default n' (see r22874) 2008-11-02 20:21:59 +00:00
Thiago A. Corrêa
1498c1baf7 Fix whitespace damage 2008-10-09 18:36:18 +00:00
Thiago A. Corrêa
4c448c4c7f Fix dependencies in directfb config options 2008-10-09 05:06:42 +00:00
Thiago A. Corrêa
8a12bab608 widen options to configure directfb, patch by Micha Nelissen <micha@neli.hopto.org> 2008-10-07 20:29:27 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Ulf Samuelsson
fee06da798 Bump version of DirectFB to 1.0.0 and add dependency on TSLIB 2007-08-12 18:21:27 +00:00
Eric Andersen
dfba3cfed9 http://bugs.uclibc.org/view.php?id=189 2005-04-26 06:26:14 +00:00