Commit Graph

17 Commits

Author SHA1 Message Date
Ricardo Simoes a4cad069d2 directfb: Fix C++17 build warning
DirectFB explicitly supports usage of C++. With C++17 and later the below
warning is given:

lib/direct/util.h:223:19:
warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  223 |      register int ret = 0;
      |                   ^~~

To address that, this commit brings in the patch proposed by PR which
removes the usage of the register keyword:

https://github.com/deniskropp/DirectFB/pull/25

Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-26 07:36:10 -07:00
Ricardo Simoes 3f825482d3 directfb: Add zlib PACKAGECONFIG
zlib was always enabled in DEPENDS and EXTRA_OEMAKE. Now it is
a PACKAGECONFIG which is enabled by default.

Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-26 07:36:10 -07:00
Ricardo Simoes ebc0a3f2e2 directfb: Add freetype PACKAGECONFIG
freetype was always enabled in DEPENDS and EXTRA_OEMAKE. Now it is
a PACKAGECONFIG which is enabled by default.

Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-26 07:36:10 -07:00
Ricardo Simoes 4553cbc127 directfb: Order PACKAGECONFIG alphabetically
Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-26 07:36:09 -07:00
Khem Raj 35cf63e5f3 directfb: Fix build with musl+GCC14
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:43 -07:00
Khem Raj 77dc06c317 directfb: Fix build with musl >= 1.2.5
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-25 18:52:53 -07:00
Khem Raj e1eb39b36a directfb-examples: Fix pthread_t assignment type
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:35 -07:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj 57e7a27620 directfb: Fix build on riscv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-15 12:35:26 -08:00
Khem Raj 4c77cf827c directfb: Disable dtor-typedef warning with clang11
Fixes build
src/core/Renderer.cpp:2021:21: error: destructor cannot be declared using a typedef 'DirectFB::Renderer::Throttle' (aka 'DirectFB::Throttle') of the class name [-Wdtor-typedef]
Renderer::Throttle::~Throttle()
                    ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-17 17:52:09 -07:00
Khem Raj 310047ec9f directfb: Fix build for 32bit arches with 64bit time_t
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-01 11:24:26 -08:00
Ben Guan 864eb0024f directfb: fix tslib version check in configure.in
The patch makes sure that the old as well as the new tslib pkg-config
metadata file naming style is handled correctly.

tslib 0.0 to 1.0 created only a tslib-<VERSION>.pc pkg-config metadata
file.

With tslib 1.1 the tslib-<VERSION>.pc phase out was started.
Additionally, the pkg-config metadata file tslib.pc was added.

Since tslib 1.6 the tslib-<VERSION>.pc metadata file is deprecated.
Now, there is only a tslib.pc.

Signed-off-by: Ben Guan <ben.guan@cn.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-19 16:09:28 -07:00
Trevor Woerner 72800d19f9 directfb: add more PACKAGECONFIGs
Allow the following features to be enabled by the user during configuration:
mesa, x11.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-21 18:37:27 -07:00
Khem Raj dad0c620d9 directfb: Disable vdpau x11 spport
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-26 08:24:53 +01:00
Martin Jansa 291946d250 directfb: add PACKAGECONFIG for inputdrivers
* move tslib dependency to PACKAGECONFIG and don't add it explicitly
  through LDFLAGS, because it breaks the build now when tslib was removed
  from oe-core:
configure:4543: checking whether the C compiler works
configure:4565: x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/OE/build/shr-core/tmp-glibc/sysroots/qemux86-64 -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/OE/build/shr-core/tmp-glibc/work/core2-64-oe-linux/directfb/1.7.7-r0=/usr/src/debug/directfb/1.7.7-r0 -fdebug-prefix-map=/OE/build/shr-core/tmp-glibc/sysroots/x86_64-linux= -fdebug-prefix-map=/OE/build/shr-core/tmp-glibc/sysroots/qemux86-64=  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -lts -lm conftest.c  >&5
/OE/build/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/6.2.0/ld: cannot find -lts
collect2: error: ld returned 1 exit status
configure:4569: $? = 1
configure:4607: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define DIRECTFB_VERSION "1.7.7"
| #define DIRECTFB_VERSION_VENDOR ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:4612: error: in `/OE/build/shr-core/tmp-glibc/work/core2-64-oe-linux/directfb/1.7.7-r0/build':
configure:4614: error: C compiler cannot create executables
See `config.log' for more details

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-05 13:30:55 +02:00
Maxin B. John 273be2ecc2 directfb: move recipe to meta-oe
directfb.org has been down for about a year now. Since there
are active users for this recipe, it makes sense to move this
from oe-core to meta-oe.

Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-07-29 11:00:53 +02:00