Remove DirectFB
cover Remove DirectFB
Hello,
This patch series proposes to remove DirectFB entirely.
Indeed, directfb.org has been down for many years: we are directly using sources.buildroot.net as the source for directfb and directfb-examples since 2022. The linux-fusion source code is still fetched from directfb.org, and therefore causes autobuilder failures [1].
A new directfb2 project at https://github.com/directfb2/ aims at reviving DirectFB, and there has been an attempt in July 2024 [2] to package it in Buildroot, but the quality level of the submission was not very high, and despite a detailed review, the submitter never came back with a v2.
Therefore, it is time to drop support for DirectFB entirely. In any case, if DirectFB 2 is to be added at some point in the future, we would have to revisit all users of DirectFB in Buildroot to verify that they still work, so having a tree cleaned-up from DirectFB support is in fact helping to get DirectFB 2 support added in the future.
Best regards,
Thomas
[1] http://autobuild.buildroot.net/results/1b5b87883841b189bd9cd65853ca1e2fcd996365/
[2] https://lore.kernel.org/buildroot/[email protected]/
Thomas Petazzoni (12):
package/directfb-examples: remove package package/linux-fusion: remove package package/lite: remove package
package/links: drop directfb support package/gstreamer1/gst1-plugins-bad: drop directfb plugin package/qt5/qt5base: drop directfb graphics backend package/sdl: drop directfb support
package/sdl2: drop directfb support package/tekui: drop directfb support package/vulkan-loader: drop directfb support package/vulkan-tools: drop directfb support package/directfb: remove package
.checkpackageignore | 19 +-
Config.in.legacy | 58 +-
package/Config.in | 4 -
.../directfb-examples/0001-remove-bzero.patch | 17 -
package/directfb-examples/Config.in | 11 -
.../directfb-examples/directfb-examples.hash | 3 -
.../directfb-examples/directfb-examples.mk | 18 -
...01-fix-missing-davinci-voodoo-header.patch | 1726 -----------------
package/directfb/0002-imlib2-config.patch | 36 -
package/directfb/0003-setregion-lock.patch | 99 -
package/directfb/0004-use-gcc-link.patch | 35 -
.../0005-add-missing-idivine-header.patch | 65 -
...-fix-client-gfx_state-initialisation.patch | 39 -
...-__NR_futex-on-32bit-architectures-u.patch | 43 -
package/directfb/Config.in | 167 --
package/directfb/directfb.hash | 3 -
package/directfb/directfb.mk | 172 --
package/gstreamer1/gst1-plugins-bad/Config.in | 5 -
.../gst1-plugins-bad/gst1-plugins-bad.mk | 10 +-
package/links/Config.in | 6 +-
package/links/links.mk | 11 +-
.../0001-fix-for-linux-4-and-above.patch | 25 -
...-conversion-spec-and-value-in-printk.patch | 29 -
...n-Unknown-symbol-tasklist_lock-err-0.patch | 38 -
...0004-Port-one-one_udp.c-to-Linux-4.1.patch | 118 --
package/linux-fusion/40-fusion.rules | 1 -
package/linux-fusion/Config.in | 12 -
package/linux-fusion/linux-fusion.hash | 3 -
package/linux-fusion/linux-fusion.mk | 43 -
package/lite/0001-dfbspy-stat.patch | 53 -
package/lite/0002-no-tests.patch | 11 -
package/lite/0003-pkg-config.patch | 22 -
package/lite/Config.in | 11 -
package/lite/lite.hash | 3 -
package/lite/lite.mk | 27 -
package/qt5/qt5base/Config.in | 8 -
package/qt5/qt5base/qt5base.mk | 5 +-
...=> 0001-fix-compilation-with-libx11.patch} | 0
.../0001-use-correct-directfb-config.patch | 25 -
...11yuv.c-fix-possible-use-after-free.patch} | 0
package/sdl/Config.in | 4 -
package/sdl/sdl.mk | 12 +-
package/sdl2/Config.in | 7 -
package/sdl2/sdl2.mk | 9 +-
package/tekui/tekui.mk | 8 -
package/vulkan-loader/vulkan-loader.mk | 8 +-
package/vulkan-tools/vulkan-tools.mk | 10 +-
47 files changed, 73 insertions(+), 2966 deletions(-)
delete mode 100644 package/directfb-examples/0001-remove-bzero.patch
delete mode 100644 package/directfb-examples/Config.in
delete mode 100644 package/directfb-examples/directfb-examples.hash
delete mode 100644 package/directfb-examples/directfb-examples.mk
delete mode 100644 package/directfb/0001-fix-missing-davinci-voodoo-header.patch
delete mode 100644 package/directfb/0002-imlib2-config.patch
delete mode 100644 package/directfb/0003-setregion-lock.patch
delete mode 100644 package/directfb/0004-use-gcc-link.patch
delete mode 100644 package/directfb/0005-add-missing-idivine-header.patch
delete mode 100644 package/directfb/0006-fix-client-gfx_state-initialisation.patch
delete mode 100644 package/directfb/0007-libdirect-define-__NR_futex-on-32bit-architectures-u.patch
delete mode 100644 package/directfb/Config.in
delete mode 100644 package/directfb/directfb.hash
delete mode 100644 package/directfb/directfb.mk
delete mode 100644 package/linux-fusion/0001-fix-for-linux-4-and-above.patch
delete mode 100644 package/linux-fusion/0002-Fix-mismatched-conversion-spec-and-value-in-printk.patch
delete mode 100644 package/linux-fusion/0003-Fix-fusion-Unknown-symbol-tasklist_lock-err-0.patch
delete mode 100644 package/linux-fusion/0004-Port-one-one_udp.c-to-Linux-4.1.patch
delete mode 100644 package/linux-fusion/40-fusion.rules
delete mode 100644 package/linux-fusion/Config.in
delete mode 100644 package/linux-fusion/linux-fusion.hash
delete mode 100644 package/linux-fusion/linux-fusion.mk
delete mode 100644 package/lite/0001-dfbspy-stat.patch
delete mode 100644 package/lite/0002-no-tests.patch
delete mode 100644 package/lite/0003-pkg-config.patch
delete mode 100644 package/lite/Config.in
delete mode 100644 package/lite/lite.hash
delete mode 100644 package/lite/lite.mk
rename package/sdl/{0002-fix-compilation-with-libx11.patch => 0001-fix-compilation-with-libx11.patch} (100%)
delete mode 100644 package/sdl/0001-use-correct-directfb-config.patch
rename package/sdl/{0003-SDL_x11yuv.c-fix-possible-use-after-free.patch => 0002-SDL_x11yuv.c-fix-possible-use-after-free.patch} (100%)Signature · 6 lines
2.47.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/12 package/directfb-examples: remove package
directfb.org is dead so since commit 89ab2a5a3f4588891ab1e9e76feb8c3f69402d5c (from 2022), we are downloading from sources.buildroot.net.
Clearly DirectFB 1.x is no longer maintained. A DirectFB 2.x project is now at https://github.com/directfb2/, but despite an attempt in August 2024 [1], it still isn't packaged in Buildroot. Therefore it's time to drop directfb 1.x, which doesn't prevent in the future from adding directfb 2.x.
[1] https://lore.kernel.org/buildroot/[email protected]/
--- .checkpackageignore | 1 - Config.in.legacy | 7 +++++++ package/Config.in | 1 - .../directfb-examples/0001-remove-bzero.patch | 17 ----------------- package/directfb-examples/Config.in | 11 ----------- .../directfb-examples/directfb-examples.hash | 3 --- package/directfb-examples/directfb-examples.mk | 18 ------------------ 7 files changed, 7 insertions(+), 51 deletions(-) delete mode 100644 package/directfb-examples/0001-remove-bzero.patch delete mode 100644 package/directfb-examples/Config.in delete mode 100644 package/directfb-examples/directfb-examples.hash delete mode 100644 package/directfb-examples/directfb-examples.mk
.checkpackageignore +0 -1
@@ -399,7 +399,6 @@ package/dht/0001-cmake.patch lib_patch.Upstream package/dillo/0001-usr-local-include.patch lib_patch.Upstream package/dillo/0002-Fix-openssl-detection.patch lib_patch.Upstream package/dillo/0004-fix-build-with-gcc-10.patch lib_patch.Upstream -package/directfb-examples/0001-remove-bzero.patch lib_patch.Sob lib_patch.Upstream package/directfb/0001-fix-missing-davinci-voodoo-header.patch lib_patch.Upstream package/directfb/0002-imlib2-config.patch lib_patch.Upstream package/directfb/0003-setregion-lock.patch lib_patch.Upstream
Config.in.legacy +7 -0
@@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2025.02" +config BR2_PACKAGE_DIRECTFB_EXAMPLES + bool "directfb-examples has been removed" + select BR2_LEGACY + help + This package was no longer maintained upstream, so it was + dropped from Buildroot. + config BR2_PACKAGE_HIAWATHA bool "hiwatha has been removed" select BR2_LEGACY
package/Config.in +0 -1
@@ -345,7 +345,6 @@ comment "Graphic applications" comment "Graphic libraries" source "package/cegui/Config.in" source "package/directfb/Config.in" - source "package/directfb-examples/Config.in" source "package/efl/Config.in" source "package/fb-test-app/Config.in" source "package/fbdump/Config.in"
package/directfb-examples/0001-remove-bzero.patch deleted +0 -17
@@ -1,17 +0,0 @@ ---- - src/df_knuckles/matrix.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: directfb-examples-1.2.0/src/df_knuckles/matrix.c -=================================================================== ---- directfb-examples-1.2.0.orig/src/df_knuckles/matrix.c -+++ directfb-examples-1.2.0/src/df_knuckles/matrix.c -@@ -19,7 +19,7 @@ - static float Cosine[3600]; - static float Sine[3600]; - --#define M_CLEAR(m) bzero(m, MATRIX_SIZE) -+#define M_CLEAR(m) memset(m, 0, MATRIX_SIZE) - #define M_IDENTITY(m) memcpy(m, IdentityMatrix, MATRIX_SIZE) - - static void MultiplyMatrix(float *A, float *B)
package/directfb-examples/Config.in deleted +0 -11
@@ -1,11 +0,0 @@ -config BR2_PACKAGE_DIRECTFB_EXAMPLES - bool "directfb examples" - depends on BR2_PACKAGE_DIRECTFB - help - The DirectFB-examples package contains a set of simple - DirectFB applications that can be used to test and demonstrate - various DirectFB features. As of 4 October 2015, DirectFB's - website http://www.directfb.org/ is down. See alternative site - listed below. - - http://elinux.org/DirectFB
package/directfb-examples/directfb-examples.hash deleted +0 -3
@@ -1,3 +0,0 @@ -# Locally computed -sha256 9a2104cc4da8123c8371813551b66b943198979f745cbebc034bb5e10844122a DirectFB-examples-1.7.0.tar.gz -sha256 f91483684678e8aa8ccc4ee0ede3140b0494f8305e162695c7e6e3f83e54f236 COPYING
package/directfb-examples/directfb-examples.mk deleted +0 -18
@@ -1,18 +0,0 @@ -################################################################################ -# -# directfb-examples -# -################################################################################ - -DIRECTFB_EXAMPLES_VERSION = 1.7.0 -DIRECTFB_EXAMPLES_SITE = http://sources.buildroot.net/directfb-examples -DIRECTFB_EXAMPLES_SOURCE = DirectFB-examples-$(DIRECTFB_EXAMPLES_VERSION).tar.gz -DIRECTFB_EXAMPLES_LICENSE = MIT -DIRECTFB_EXAMPLES_LICENSE_FILES = COPYING -DIRECTFB_EXAMPLES_DEPENDENCIES = directfb - -ifeq ($(BR2_STATIC_LIBS),y) -DIRECTFB_EXAMPLES_CONF_OPTS += LIBS=-lstdc++ -endif - -$(eval $(autotools-package))
Signature · 6 lines
2.47.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/12 package/lite: remove package
In reply to Thomas Petazzoni via buildrootAs we're about to remove DirectFB due to it no longer being maintained, we need to first remove Lite, a toolbox based on DirectFB.
--- .checkpackageignore | 3 -- Config.in.legacy | 7 ++++ package/Config.in | 1 - package/lite/0001-dfbspy-stat.patch | 53 ----------------------------- package/lite/0002-no-tests.patch | 11 ------ package/lite/0003-pkg-config.patch | 22 ------------ package/lite/Config.in | 11 ------ package/lite/lite.hash | 3 -- package/lite/lite.mk | 27 --------------- 9 files changed, 7 insertions(+), 131 deletions(-) delete mode 100644 package/lite/0001-dfbspy-stat.patch delete mode 100644 package/lite/0002-no-tests.patch delete mode 100644 package/lite/0003-pkg-config.patch delete mode 100644 package/lite/Config.in delete mode 100644 package/lite/lite.hash delete mode 100644 package/lite/lite.mk
.checkpackageignore +0 -3
@@ -767,9 +767,6 @@ package/linuxptp/S66phc2sys Shellcheck lib_sysv.Indent package/lirc-tools/0001-plugins-devinput.c-fix-build-with-musl-1.2.0.patch lib_patch.Upstream package/lirc-tools/0002-configure-add-disable-doc-option.patch lib_patch.Upstream package/lirc-tools/S25lircd lib_sysv.Indent lib_sysv.Variables -package/lite/0001-dfbspy-stat.patch lib_patch.Sob lib_patch.Upstream -package/lite/0002-no-tests.patch lib_patch.Sob lib_patch.Upstream -package/lite/0003-pkg-config.patch lib_patch.Sob lib_patch.Upstream package/live555/0001-Add-a-pkg-config-file-for-the-shared-libraries.patch lib_patch.Upstream package/lldpd/S60lldpd Shellcheck lib_sysv.Indent lib_sysv.Variables package/llvm-project/clang/0001-lib-Driver-ToolChains-Gnu-Use-GCC_INSTALL_PREFIX-in-.patch lib_patch.Upstream
Config.in.legacy +7 -0
@@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2025.02" +config BR2_PACKAGE_LITE + bool "lite has been removed" + select BR2_LEGACY + help + This package was no longer maintained upstream, so it was + dropped from Buildroot. + config BR2_PACKAGE_LINUX_FUSION bool "linux-fusion has been removed" select BR2_LEGACY
package/Config.in +0 -1
@@ -356,7 +356,6 @@ comment "Graphic libraries" source "package/graphicsmagick/Config.in" source "package/imagemagick/Config.in" source "package/libglvnd/Config.in" - source "package/lite/Config.in" source "package/mesa3d/Config.in" source "package/mesa3d-headers/Config.in" source "package/ocrad/Config.in"
package/lite/0001-dfbspy-stat.patch deleted +0 -53
53 lines not on this page · raw message
package/lite/0002-no-tests.patch deleted +0 -11
@@ -1,11 +0,0 @@ ---- a/Makefile.in.orig 2008-07-07 13:07:12.000000000 +0200 -+++ b/Makefile.in 2008-07-07 13:07:05.000000000 +0200 -@@ -202,7 +202,7 @@ - target_vendor = @target_vendor@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ --SUBDIRS = data fonts lite leck examples tests -+SUBDIRS = data fonts lite leck examples - EXTRA_DIST = TODO lite.pc.in leck.pc.in - pkgconfigdir = $(libdir)/pkgconfig - pkgconfig_DATA = lite.pc leck.pc
package/lite/0003-pkg-config.patch deleted +0 -22
@@ -1,22 +0,0 @@ -From 7982cccbb6ad58f3802bb266467290200d130a48 Mon Sep 17 00:00:00 2001 -From: Ville Syrjala <[email protected]> -Date: Sat, 27 Nov 2010 01:14:25 +0200 -Subject: [PATCH] Too many '\' characters in the .pc file - ---- - lite.pc.in | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/lite.pc.in b/lite.pc.in -index 48eb969..3a21eaa 100644 ---- a/lite.pc.in -+++ b/lite.pc.in -@@ -9,4 +9,4 @@ Description: "LiTE" is a Toolkit Engine - Requires: directfb >= @DFB_REQUIRED_VERSION@ - Version: @VERSION@ - Libs: -L${libdir} -llite --Cflags: -I${includedir} -DLITEFONTDIR=\\\"@LITEFONTDIR@\\\" -+Cflags: -I${includedir} -DLITEFONTDIR=\"@LITEFONTDIR@\" --- -1.7.1 -
package/lite/Config.in deleted +0 -11
@@ -1,11 +0,0 @@ -config BR2_PACKAGE_LITE - bool "LiTE (toolbox engine)" - depends on BR2_PACKAGE_DIRECTFB - help - LiTE stands for LiTE is a Toolbox Engine. - Its role is to facilitate the functions of DirectFB so that a - toolbox could be written on top of DirectFB with less effort. - As such LiTE has abstractions for the underlying graphics and - event systems. - - See http://www.directfb.org/wiki/index.php/LiTE:Architecture
package/lite/lite.hash deleted +0 -3
@@ -1,3 +0,0 @@ -# Locally calculated -sha256 1b784cf595c3d5313e3705db210119f77d48826dbc7fcf6328af83a1270c2264 LiTE-0.8.10.tar.gz -sha256 512d2d21b6b3384ba64781abb0208a1b87740bc31e2df48e2b206ddb7e4d5779 COPYING
package/lite/lite.mk deleted +0 -27
@@ -1,27 +0,0 @@ -################################################################################ -# -# lite -# -################################################################################ - -LITE_VERSION = 0.8.10 -LITE_SOURCE = LiTE-$(LITE_VERSION).tar.gz -LITE_SITE = http://www.directfb.org/downloads/Libs -LITE_INSTALL_STAGING = YES -LITE_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install -LITE_CONF_ENV = DFB_CFLAGS=-I$(STAGING_DIR)/usr/include/directfb -LITE_DEPENDENCIES = directfb -LITE_LICENSE = LGPL-2.1+ -LITE_LICENSE_FILES = COPYING - -define LITE_FINALIZE_INSTALL - $(INSTALL) -d $(TARGET_DIR)/usr/share/LiTE/examples/ - $(INSTALL) -d $(TARGET_DIR)/usr/share/fonts/truetype/ - $(INSTALL) -m0644 $(@D)/data/*.png $(TARGET_DIR)/usr/share/LiTE/ - $(INSTALL) -m0644 $(@D)/examples/*.png $(TARGET_DIR)/usr/share/LiTE/examples/ - $(INSTALL) -m0644 $(@D)/fonts/*.ttf $(TARGET_DIR)/usr/share/fonts/truetype/ -endef - -LITE_POST_INSTALL_TARGET_HOOKS += LITE_FINALIZE_INSTALL - -$(eval $(autotools-package))
Signature · 6 lines
2.47.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 4/12 package/links: drop directfb support
In reply to Thomas Petazzoni via buildrootAs we're about to remove the DirectFB package, let's drop DirectFB support in links.
--- package/links/Config.in | 6 +++--- package/links/links.mk | 11 +---------- 2 files changed, 4 insertions(+), 13 deletions(-)
package/links/Config.in +3 -3
@@ -10,7 +10,7 @@ if BR2_PACKAGE_LINKS config BR2_PACKAGE_LINKS_GRAPHICS bool "use graphics" - depends on BR2_PACKAGE_GPM || BR2_PACKAGE_DIRECTFB || BR2_PACKAGE_XORG7 + depends on BR2_PACKAGE_GPM || BR2_PACKAGE_XORG7 select BR2_PACKAGE_XLIB_LIBXT if BR2_PACKAGE_XORG7 select BR2_PACKAGE_LIBPNG help
@@ -18,7 +18,7 @@ config BR2_PACKAGE_LINKS_GRAPHICS Framebuffer output requires GPM (console mouse). Otherwise links will be text-mode only. -comment "links graphics needs GPM, DirectFB or X11" - depends on !BR2_PACKAGE_GPM && !BR2_PACKAGE_DIRECTFB && !BR2_PACKAGE_XORG7 +comment "links graphics needs GPM or X11" + depends on !BR2_PACKAGE_GPM && !BR2_PACKAGE_XORG7 endif
package/links/links.mk +1 -10
@@ -11,6 +11,7 @@ LINKS_DEPENDENCIES = host-pkgconf LINKS_LICENSE = GPL-2.0+ LINKS_LICENSE_FILES = COPYING LINKS_CPE_ID_VENDOR = twibright +LINKS_CONF_OPTS = --without-directfb ifeq ($(BR2_PACKAGE_LINKS_GRAPHICS),y) LINKS_CONF_OPTS += --enable-graphics
@@ -24,16 +25,6 @@ LINKS_DEPENDENCIES += xlib_libXt else LINKS_CONF_OPTS += --without-x endif -ifeq ($(BR2_PACKAGE_DIRECTFB),y) -LINKS_CONF_ENV = ac_cv_path_DIRECTFB_CONFIG=$(STAGING_DIR)/usr/bin/directfb-config -ifeq ($(BR2_STATIC_LIBS),y) -LINKS_CONF_ENV += LIBS=-lstdc++ -endif -LINKS_CONF_OPTS += --with-directfb -LINKS_DEPENDENCIES += directfb -else -LINKS_CONF_OPTS += --without-directfb -endif ifeq ($(BR2_PACKAGE_JPEG),y) LINKS_CONF_OPTS += --with-libjpeg LINKS_DEPENDENCIES += jpeg
Signature · 6 lines
2.47.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/12 package/linux-fusion: remove package
In reply to Thomas Petazzoni via buildrootdirectfb.org is dead, and DirectFB is no longer maintained, so drop this package.
Note that we are removing BR2_PACKAGE_DIRECTFB_MULTI in this commit, without adding a Config.in.legacy entry, because a follow-up commit will remove BR2_PACKAGE_DIRECTFB entirely.
Fixes:
http://autobuild.buildroot.net/results/f8bc1d09f15362dc60656b517f36efb7ed5cbd1b/
--- .checkpackageignore | 4 - Config.in.legacy | 7 ++ package/Config.in | 1 - package/directfb/Config.in | 11 -- package/directfb/directfb.mk | 11 +- .../0001-fix-for-linux-4-and-above.patch | 25 ---- ...-conversion-spec-and-value-in-printk.patch | 29 ----- ...n-Unknown-symbol-tasklist_lock-err-0.patch | 38 ------ ...0004-Port-one-one_udp.c-to-Linux-4.1.patch | 118 ------------------ package/linux-fusion/40-fusion.rules | 1 - package/linux-fusion/Config.in | 12 -- package/linux-fusion/linux-fusion.hash | 3 - package/linux-fusion/linux-fusion.mk | 43 ------- 13 files changed, 10 insertions(+), 293 deletions(-) delete mode 100644 package/linux-fusion/0001-fix-for-linux-4-and-above.patch delete mode 100644 package/linux-fusion/0002-Fix-mismatched-conversion-spec-and-value-in-printk.patch delete mode 100644 package/linux-fusion/0003-Fix-fusion-Unknown-symbol-tasklist_lock-err-0.patch delete mode 100644 package/linux-fusion/0004-Port-one-one_udp.c-to-Linux-4.1.patch delete mode 100644 package/linux-fusion/40-fusion.rules delete mode 100644 package/linux-fusion/Config.in delete mode 100644 package/linux-fusion/linux-fusion.hash delete mode 100644 package/linux-fusion/linux-fusion.mk
.checkpackageignore +0 -4
@@ -760,10 +760,6 @@ package/lighttpd/S50lighttpd Shellcheck lib_sysv.EmptyLastLine lib_sysv.Indent l package/linknx/0001-configure-ac-tweak-CPPUNIT-conditional.patch lib_patch.Upstream package/linknx/0002-src-Makefile.am-fix-linking-with-log4cpp.patch lib_patch.Upstream package/linphone/0001-src-core-paths-paths.cpp-fix-powerpc-build.patch lib_patch.Upstream -package/linux-fusion/0001-fix-for-linux-4-and-above.patch lib_patch.Upstream -package/linux-fusion/0002-Fix-mismatched-conversion-spec-and-value-in-printk.patch lib_patch.Upstream -package/linux-fusion/0003-Fix-fusion-Unknown-symbol-tasklist_lock-err-0.patch lib_patch.Upstream -package/linux-fusion/0004-Port-one-one_udp.c-to-Linux-4.1.patch lib_patch.Upstream package/linux-zigbee/0001-test-serial-Remove-test-serial.patch lib_patch.Upstream package/linux-zigbee/0002-addrdb-coord-config-parse.y-add-missing-time.h-inclu.patch lib_patch.Upstream package/linuxptp/S65ptp4l Shellcheck lib_sysv.Indent
Config.in.legacy +7 -0
@@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2025.02" +config BR2_PACKAGE_LINUX_FUSION + bool "linux-fusion has been removed" + select BR2_LEGACY + help + This package was no longer maintained upstream, so it was + dropped from Buildroot. + config BR2_PACKAGE_DIRECTFB_EXAMPLES bool "directfb-examples has been removed" select BR2_LEGACY
package/Config.in +0 -1
@@ -356,7 +356,6 @@ comment "Graphic libraries" source "package/graphicsmagick/Config.in" source "package/imagemagick/Config.in" source "package/libglvnd/Config.in" - source "package/linux-fusion/Config.in" source "package/lite/Config.in" source "package/mesa3d/Config.in" source "package/mesa3d-headers/Config.in"
package/directfb/Config.in +0 -11
@@ -21,17 +21,6 @@ config BR2_PACKAGE_DIRECTFB if BR2_PACKAGE_DIRECTFB -config BR2_PACKAGE_DIRECTFB_MULTI - bool "directfb multi application" - depends on BR2_USE_MMU # madvise() - depends on BR2_LINUX_KERNEL - select BR2_PACKAGE_LINUX_FUSION - help - Enable use of multiple concurrent DirectFB applications - -comment "directfb multi application needs a Linux kernel to be built" - depends on !BR2_LINUX_KERNEL - config BR2_PACKAGE_DIRECTFB_DEBUG_SUPPORT bool "directfb debugging support" default y
package/directfb/directfb.mk +3 -8
@@ -23,7 +23,9 @@ DIRECTFB_CONF_OPTS = \ --disable-video4linux \ --disable-video4linux2 \ --without-tools \ - --disable-x11 + --disable-x11 \ + --disable-multi \ + --disable-multi-kernel ifeq ($(BR2_STATIC_LIBS),y) DIRECTFB_CONF_OPTS += --disable-dynload
@@ -33,13 +35,6 @@ DIRECTFB_CONFIG_SCRIPTS = directfb-config DIRECTFB_DEPENDENCIES = freetype zlib -ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y) -DIRECTFB_CONF_OPTS += --enable-multi --enable-multi-kernel -DIRECTFB_DEPENDENCIES += linux-fusion -else -DIRECTFB_CONF_OPTS += --disable-multi --disable-multi-kernel -endif - ifeq ($(BR2_PACKAGE_DIRECTFB_DEBUG_SUPPORT),y) DIRECTFB_CONF_OPTS += --enable-debug-support ifeq ($(BR2_PACKAGE_DIRECTFB_DEBUG),y)
package/linux-fusion/0001-fix-for-linux-4-and-above.patch deleted +0 -25
@@ -1,25 +0,0 @@ -Fix build for linux >= 4.x - -Instead of relying on testing for '3' as the linux kernel major version, -check that it is 2.x to include the proper Makefile, otherwise forcibly -include the .26 Makefile, that is good for 3.x and 4.x too. - -Signed-off-by: "Yann E. MORIN" <[email protected]> - -diff -durN linux-fusion-9.0.2.orig/Makefile linux-fusion-9.0.2/Makefile ---- linux-fusion-9.0.2.orig/Makefile 2013-07-15 11:58:03.000000000 +0200 -+++ linux-fusion-9.0.2/Makefile 2015-06-06 19:03:04.059842652 +0200 -@@ -62,10 +62,10 @@ - CPPFLAGS += -DHAVE_LINUX_CONFIG_H - endif - --ifeq ($(K_VERSION),3) -- KMAKEFILE = Makefile-2.6 --else -+ifeq ($(K_VERSION),2) - KMAKEFILE = Makefile-2.$(K_PATCHLEVEL) -+else -+ KMAKEFILE = Makefile-2.6 - endif - - check-version = $(shell expr \( $(K_VERSION) \* 65536 + $(K_PATCHLEVEL) \* 256 + $(K_SUBLEVEL) \) \>= \( $(1) \* 65536 + $(2) \* 256 + $(3) \))
package/linux-fusion/0002-Fix-mismatched-conversion-spec-and-value-in-printk.patch deleted +0 -29
@@ -1,29 +0,0 @@ -From debb9cafe9b7cc2b286399ecc8e3210480061c70 Mon Sep 17 00:00:00 2001 -From: Marc Gonzalez <[email protected]> -Date: Mon, 11 Jan 2016 15:42:16 +0100 -Subject: [PATCH] Fix mismatched conversion spec and value in printk - -linux/drivers/char/fusion/fusiondev.c:775:38: warning: -format '%ld' expects argument of type 'long int', but argument 7 has type 'int' - -Subtracting two pointers yields a ptrdiff_t value, and ptrdiff_t is not -necessarily an alias for long int. Cast the value to long int. - -Signed-off-by: Marc Gonzalez <[email protected]> ---- - linux/drivers/char/fusion/fusiondev.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/linux/drivers/char/fusion/fusiondev.c b/linux/drivers/char/fusion/fusiondev.c -index 7003407f7e1e..dfb5f8ecb81a 100644 ---- a/linux/drivers/char/fusion/fusiondev.c -+++ b/linux/drivers/char/fusion/fusiondev.c -@@ -775,7 +775,7 @@ call_ioctl(FusionDev * dev, Fusionee * fusionee, - printk( KERN_ERR "fusion: FUSION_CALL_EXECUTE3 with errorneous call (failed on previous ioctl call), " - "call id %d, flags 0x%08x, arg %d, length %u, serial %u, %ld\n", - execute3.call_id, execute3.flags, execute3.call_arg, execute3.length, execute3.ret_length, -- (execute3_bin - (FusionCallExecute3 *) arg) ); -+ (long int)(execute3_bin - (FusionCallExecute3 *) arg) ); - return -EIO; - } -
package/linux-fusion/0003-Fix-fusion-Unknown-symbol-tasklist_lock-err-0.patch deleted +0 -38
@@ -1,38 +0,0 @@ -From 9fcd5003c0363af140a06aba94e62c9e1ea0381e Mon Sep 17 00:00:00 2001 -From: Marc Gonzalez <[email protected]> -Date: Mon, 11 Jan 2016 16:45:30 +0100 -Subject: [PATCH] Fix fusion: Unknown symbol tasklist_lock (err 0) - -Commit 28f6569ab7d0 renamed TREE_PREEMPT_RCU to PREEMPT_RCU in 3.19 -As a result, the code incorrectly falls back to using tasklist_lock -(which was made private in 2.6.18) - -Always use rcu_read_lock on modern kernels. - -Signed-off-by: Marc Gonzalez <[email protected]> ---- - linux/drivers/char/fusion/fusionee.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/linux/drivers/char/fusion/fusionee.c b/linux/drivers/char/fusion/fusionee.c -index ef067f5bc831..70cd0a665f98 100644 ---- a/linux/drivers/char/fusion/fusionee.c -+++ b/linux/drivers/char/fusion/fusionee.c -@@ -925,7 +925,7 @@ fusionee_kill(FusionDev * dev, - if (f != fusionee && (!target || target == f->id)) { - struct task_struct *p; - --#if defined(CONFIG_TREE_RCU) || defined(CONFIG_TREE_PREEMPT_RCU) || defined(CONFIG_TINY_RCU) || defined(rcu_read_lock) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) - rcu_read_lock(); - #else - read_lock(&tasklist_lock); -@@ -946,7 +946,7 @@ fusionee_kill(FusionDev * dev, - } - } - --#if defined(CONFIG_TREE_RCU) || defined(CONFIG_TREE_PREEMPT_RCU) || defined(CONFIG_TINY_RCU) || defined(rcu_read_unlock) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) - rcu_read_unlock(); - #else - read_unlock(&tasklist_lock);
package/linux-fusion/0004-Port-one-one_udp.c-to-Linux-4.1.patch deleted +0 -118
118 lines not on this page · raw message
package/linux-fusion/40-fusion.rules deleted +0 -1
@@ -1 +0,0 @@ -KERNEL=="fusion[0-9]*", NAME="fusion/%n", GROUP="video", MODE="0660"
package/linux-fusion/Config.in deleted +0 -12
@@ -1,12 +0,0 @@ -comment "linux-fusion needs a Linux kernel to be built" - depends on !BR2_LINUX_KERNEL - -config BR2_PACKAGE_LINUX_FUSION - bool "linux-fusion communication layer for DirectFB multi" - depends on BR2_LINUX_KERNEL - select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra - help - DirectFB Communication Layer allowing multiple DirectFB - applications to run concurrently - - https://github.com/deniskropp/linux-fusion
package/linux-fusion/linux-fusion.hash deleted +0 -3
@@ -1,3 +0,0 @@ -# Locally computed -sha256 c3c71af364ef774c70d3f6fbc32d14bc786d915df633d6fe733e1fde84ad6e99 linux-fusion-9.0.3.tar.xz -sha256 51bc14bdef3a064383702e638515824986e5a746de236d46ee904ea15312a198 debian/copyright
package/linux-fusion/linux-fusion.mk deleted +0 -43
43 lines not on this page · raw message
Signature · 6 lines
2.47.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 5/12 package/gstreamer1/gst1-plugins-bad: drop directfb plugin
In reply to Thomas Petazzoni via buildrootAs we're about to remove the DirectFB package, let's drop the GStreamer DirectFB plugin.
--- Config.in.legacy | 7 +++++++ package/gstreamer1/gst1-plugins-bad/Config.in | 5 ----- .../gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 10 ++-------- 3 files changed, 9 insertions(+), 13 deletions(-)
Config.in.legacy +7 -0
@@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2025.02" +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB + bool "gstreamer directfb plugin removed" + select BR2_LEGACY + help + The directfb plugin from GStreamer is no longer supported, + as directfb is no longer packaged in Buildroot. + config BR2_PACKAGE_LITE bool "lite has been removed" select BR2_LEGACY
package/gstreamer1/gst1-plugins-bad/Config.in +0 -5
@@ -396,11 +396,6 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DECKLINK comment "decklink needs a toolchain w/ C++, dynamic library" depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB - bool "directfb" - default y - depends on BR2_PACKAGE_DIRECTFB - config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVB bool "dvb" # FEC_2_5 / QAM_4_NR definitions
package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk +2 -8
@@ -73,7 +73,8 @@ GST1_PLUGINS_BAD_CONF_OPTS += \ -Dmagicleap=disabled \ -Disac=disabled \ -Diqa=disabled \ - -Dopencv=disabled + -Dopencv=disabled \ + -Ddirectfb=disabled GST1_PLUGINS_BAD_DEPENDENCIES = gst1-plugins-base gstreamer1
@@ -547,13 +548,6 @@ else GST1_PLUGINS_BAD_CONF_OPTS += -Ddecklink=disabled endif -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Ddirectfb=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += directfb -else -GST1_PLUGINS_BAD_CONF_OPTS += -Ddirectfb=disabled -endif - ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVB),y) GST1_PLUGINS_BAD_CONF_OPTS += -Ddvb=enabled GST1_PLUGINS_BAD_DEPENDENCIES += dtv-scan-tables
Signature · 6 lines
2.47.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 7/12 package/sdl: drop directfb support
In reply to Thomas Petazzoni via buildrootAs we're about to remove the DirectFB package, let's drop DirectFB support in sdl.
---
.checkpackageignore | 5 ++--
Config.in.legacy | 7 ++++++
...=> 0001-fix-compilation-with-libx11.patch} | 0
.../0001-use-correct-directfb-config.patch | 25 -------------------
...11yuv.c-fix-possible-use-after-free.patch} | 0
package/sdl/Config.in | 4 ---
package/sdl/sdl.mk | 12 +++------
7 files changed, 12 insertions(+), 41 deletions(-)
rename package/sdl/{0002-fix-compilation-with-libx11.patch => 0001-fix-compilation-with-libx11.patch} (100%)
delete mode 100644 package/sdl/0001-use-correct-directfb-config.patch
rename package/sdl/{0003-SDL_x11yuv.c-fix-possible-use-after-free.patch => 0002-SDL_x11yuv.c-fix-possible-use-after-free.patch} (100%).checkpackageignore +2 -3
@@ -1112,9 +1112,8 @@ package/screen/0002-Change-binary-permission-flags-even-if-chown-fails.patch lib package/screen/0003-Support-overriding-SCREEN-to-get-a-non-versioned-bin.patch lib_patch.Upstream package/screen/0004-Renamed-sched.h-to-eventqueue.h.patch lib_patch.Upstream package/scrub/0001-configure-ac-make-sure-m4-macros-are-included-in-the-build.patch lib_patch.Upstream -package/sdl/0001-use-correct-directfb-config.patch lib_patch.Upstream -package/sdl/0002-fix-compilation-with-libx11.patch lib_patch.Upstream -package/sdl/0003-SDL_x11yuv.c-fix-possible-use-after-free.patch lib_patch.Upstream +package/sdl/0001-fix-compilation-with-libx11.patch lib_patch.Upstream +package/sdl/0002-SDL_x11yuv.c-fix-possible-use-after-free.patch lib_patch.Upstream package/sdl_mixer/0001-Add-Libs.private-field-to-pkg-config-file.patch lib_patch.Upstream package/sdl_mixer/0002-configure__set_macro_directory.patch lib_patch.Upstream package/sdl_mixer/0003-configure.ac-fix-static-linking-with-tremor.patch lib_patch.Upstream
Config.in.legacy +7 -0
@@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2025.02" +config BR2_PACKAGE_SDL_DIRECTFB + bool "sdl directfb support removed" + select BR2_LEGACY + help + The directfb support from SDL is no longer available, as + directfb is no longer packaged in Buildroot. + config BR2_PACKAGE_QT5BASE_DIRECTFB bool "qt5base directfb support removed" select BR2_LEGACY
package/sdl/0001-fix-compilation-with-libx11.patch renamed from package/sdl/0002-fix-compilation-with-libx11.patch +0 -0
package/sdl/0001-use-correct-directfb-config.patch deleted +0 -25
@@ -1,25 +0,0 @@ -[PATCH] configure.in: use correct directfb-config in version check - -The configure script has just checked for the correct directfb-config -script, so also use it for the version check instead of whatever -might be in the path. - -Signed-off-by: Peter Korsgaard <[email protected]> ---- - configure.in | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -Index: SDL-1.2.15/configure.in -=================================================================== ---- SDL-1.2.15.orig/configure.in -+++ SDL-1.2.15/configure.in -@@ -1276,7 +1276,7 @@ - else - set -- `echo $DIRECTFB_REQUIRED_VERSION | sed 's/\./ /g'` - NEED_VERSION=`expr $1 \* 10000 + $2 \* 100 + $3` -- set -- `directfb-config --version | sed 's/\./ /g'` -+ set -- `$DIRECTFBCONFIG --version | sed 's/\./ /g'` - HAVE_VERSION=`expr $1 \* 10000 + $2 \* 100 + $3` - if test $HAVE_VERSION -ge $NEED_VERSION; then - DIRECTFB_CFLAGS=`$DIRECTFBCONFIG --cflags` -
package/sdl/0002-SDL_x11yuv.c-fix-possible-use-after-free.patch renamed from package/sdl/0003-SDL_x11yuv.c-fix-possible-use-after-free.patch +0 -0
package/sdl/Config.in +0 -4
@@ -13,10 +13,6 @@ config BR2_PACKAGE_SDL_FBCON bool "SDL framebuffer console video driver" default y -config BR2_PACKAGE_SDL_DIRECTFB - bool "SDL DirectFB video driver" - depends on BR2_PACKAGE_DIRECTFB - config BR2_PACKAGE_SDL_X11 bool "SDL X11 video driver" depends on BR2_PACKAGE_XORG7
package/sdl/sdl.mk +3 -9
@@ -28,7 +28,9 @@ HOST_SDL_PRE_CONFIGURE_HOOKS += SDL_RUN_AUTOGEN SDL_DEPENDENCIES += host-automake host-autoconf host-libtool HOST_SDL_DEPENDENCIES += host-automake host-autoconf host-libtool -SDL_CONF_OPTS += --enable-video-qtopia=no +SDL_CONF_OPTS += \ + --enable-video-qtopia=no \ + --enable-video-directfb=no ifeq ($(BR2_PACKAGE_SDL_FBCON),y) SDL_CONF_OPTS += --enable-video-fbcon=yes
@@ -36,14 +38,6 @@ else SDL_CONF_OPTS += --enable-video-fbcon=no endif -ifeq ($(BR2_PACKAGE_SDL_DIRECTFB),y) -SDL_DEPENDENCIES += directfb -SDL_CONF_OPTS += --enable-video-directfb=yes -SDL_CONF_ENV = ac_cv_path_DIRECTFBCONFIG=$(STAGING_DIR)/usr/bin/directfb-config -else -SDL_CONF_OPTS += --enable-video-directfb=no -endif - ifeq ($(BR2_PACKAGE_SDL_X11),y) SDL_CONF_OPTS += --enable-video-x11=yes SDL_DEPENDENCIES += \
Signature · 6 lines
2.47.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 8/12 package/sdl2: drop directfb support
In reply to Thomas Petazzoni via buildrootAs we're about to remove the DirectFB package, let's drop DirectFB support in sdl2.
--- Config.in.legacy | 7 +++++++ package/sdl2/Config.in | 7 ------- package/sdl2/sdl2.mk | 9 +-------- 3 files changed, 8 insertions(+), 15 deletions(-)
Config.in.legacy +7 -0
@@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2025.02" +config BR2_PACKAGE_SDL2_DIRECTFB + bool "sdl2 directfb support removed" + select BR2_LEGACY + help + The directfb support from SDL2 is no longer available, as + directfb is no longer packaged in Buildroot. + config BR2_PACKAGE_SDL_DIRECTFB bool "sdl directfb support removed" select BR2_LEGACY
package/sdl2/Config.in +0 -7
@@ -11,13 +11,6 @@ config BR2_PACKAGE_SDL2 if BR2_PACKAGE_SDL2 -config BR2_PACKAGE_SDL2_DIRECTFB - bool "DirectFB video driver" - depends on BR2_PACKAGE_DIRECTFB - -comment "DirectFB video driver needs directfb" - depends on !BR2_PACKAGE_DIRECTFB - config BR2_PACKAGE_SDL2_X11 bool "X11 video driver" depends on BR2_PACKAGE_XORG7
package/sdl2/sdl2.mk +1 -8
@@ -27,6 +27,7 @@ SDL2_CONF_OPTS += \ --disable-video-dummy \ --disable-video-offscreen \ --disable-video-vulkan \ + --disable-video-directfb \ --disable-ime \ --disable-ibus \ --disable-fcitx \
@@ -77,14 +78,6 @@ else SDL2_CONF_OPTS += --disable-3dnow endif -ifeq ($(BR2_PACKAGE_SDL2_DIRECTFB),y) -SDL2_DEPENDENCIES += directfb -SDL2_CONF_OPTS += --enable-video-directfb -SDL2_CONF_ENV += ac_cv_path_DIRECTFBCONFIG=$(STAGING_DIR)/usr/bin/directfb-config -else -SDL2_CONF_OPTS += --disable-video-directfb -endif - ifeq ($(BR2_PACKAGE_SDL2_OPENGLES)$(BR2_PACKAGE_RPI_USERLAND),yy) SDL2_DEPENDENCIES += rpi-userland SDL2_CONF_OPTS += --enable-video-rpi
Signature · 6 lines
2.47.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 6/12 package/qt5/qt5base: drop directfb graphics backend
In reply to Thomas Petazzoni via buildrootAs we're about to remove the DirectFB package, let's drop the DirectFB graphics backend in Qt5.
--- Config.in.legacy | 7 +++++++ package/qt5/qt5base/Config.in | 8 -------- package/qt5/qt5base/qt5base.mk | 5 ++--- 3 files changed, 9 insertions(+), 11 deletions(-)
Config.in.legacy +7 -0
@@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2025.02" +config BR2_PACKAGE_QT5BASE_DIRECTFB + bool "qt5base directfb support removed" + select BR2_LEGACY + help + The directfb support from qt5base is no longer available, as + directfb is no longer packaged in Buildroot. + config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB bool "gstreamer directfb plugin removed" select BR2_LEGACY
package/qt5/qt5base/Config.in +0 -8
@@ -128,7 +128,6 @@ config BR2_PACKAGE_QT5BASE_GUI # At least one graphic backend must be enabled, so enable # linuxfb if nothing is enabled. select BR2_PACKAGE_QT5BASE_LINUXFB if \ - !BR2_PACKAGE_QT5BASE_DIRECTFB && \ !BR2_PACKAGE_QT5BASE_XCB && \ !BR2_PACKAGE_QT5BASE_EGLFS help
@@ -195,13 +194,6 @@ config BR2_PACKAGE_QT5BASE_VULKAN config BR2_PACKAGE_QT5BASE_LINUXFB bool "linuxfb support" -config BR2_PACKAGE_QT5BASE_DIRECTFB - bool "directfb support" - depends on BR2_PACKAGE_DIRECTFB - -comment "directfb backend available if directfb is enabled" - depends on !BR2_PACKAGE_DIRECTFB - config BR2_PACKAGE_QT5BASE_XCB bool "X.org XCB support" depends on BR2_PACKAGE_XORG7
package/qt5/qt5base/qt5base.mk +2 -3
@@ -40,7 +40,8 @@ QT5BASE_CONFIGURE_OPTS += \ -system-pcre \ -no-pch \ -shared \ - -no-feature-relocatable + -no-feature-relocatable \ + -no-directfb # starting from version 5.9.0, -optimize-debug is enabled by default # for debug builds and it overrides -O* with -Og which is not what we
@@ -173,8 +174,6 @@ QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_WIDGETS),-widgets,-no-widge # We have to use --enable-linuxfb, otherwise Qt thinks that -linuxfb # is to add a link against the "inuxfb" library. QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_LINUXFB),--enable-linuxfb,-no-linuxfb) -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_DIRECTFB),-directfb,-no-directfb) -QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_DIRECTFB),directfb) ifeq ($(BR2_PACKAGE_LIBXKBCOMMON),y) QT5BASE_CONFIGURE_OPTS += -xkbcommon
Signature · 6 lines
2.47.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 9/12 package/tekui: drop directfb support
In reply to Thomas Petazzoni via buildrootAs we're about to remove the DirectFB package, let's drop DirectFB support in tekui.
--- package/tekui/tekui.mk | 8 -------- 1 file changed, 8 deletions(-)
package/tekui/tekui.mk +0 -8
@@ -42,13 +42,6 @@ TEKUI_MAKE_OPTS += \ X11_DEFS="-D_XOPEN_SOURCE -DENABLE_XFT -DENABLE_XVID -I$(STAGING_DIR)/usr/include/freetype2 -I$(STAGING_DIR)/usr/include/fontconfig" \ DISPLAY_DRIVER=x11 else -ifeq ($(BR2_PACKAGE_DIRECTFB),y) -TEKUI_DEPENDENCIES += directfb -TEKUI_MAKE_OPTS += \ - DIRECTFB_LIBS="-lfreetype -ldirectfb -lpthread" \ - DIRECTFB_DEFS="-D_REENTRANT -I$(STAGING_DIR)/usr/include/directfb -I$(STAGING_DIR)/usr/include/freetype2" \ - DISPLAY_DRIVER=directfb -else TEKUI_MAKE_OPTS += \ FREETYPE_LIBS=-lfreetype \ FREETYPE_DEFS="-I$(STAGING_DIR)/usr/include/freetype2" \
@@ -56,7 +49,6 @@ TEKUI_MAKE_OPTS += \ RAWFB_SUB_DEFS="-DDEF_FONTDIR=\\\"$(TEKUI_FONTDIR)\\\"" \ DISPLAY_DRIVER=rawfb endif -endif define TEKUI_BUILD_CMDS $(TARGET_MAKE_ENV) $(TEKUI_MAKE) $(TEKUI_MAKE_OPTS) PREFIX="/usr" -C $(@D) all
Signature · 6 lines
2.47.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 10/12 package/vulkan-loader: drop directfb support
In reply to Thomas Petazzoni via buildrootAs we're about to remove the DirectFB package, let's drop DirectFB support in vulkan-loader.
--- package/vulkan-loader/vulkan-loader.mk | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
package/vulkan-loader/vulkan-loader.mk +1 -7
@@ -15,15 +15,9 @@ VULKAN_LOADER_DEPENDENCIES = host-pkgconf vulkan-headers VULKAN_LOADER_CONF_OPTS += \ -DASSEMBLER_WORKS=FALSE \ -DBUILD_WSI_SCREEN_QNX_SUPPORT=OFF \ + -DBUILD_WSI_DIRECTFB_SUPPORT=OFF \ -DLOADER_CODEGEN=OFF -ifeq ($(BR2_PACKAGE_DIRECTFB),y) -VULKAN_LOADER_DEPENDENCIES += directfb -VULKAN_LOADER_CONF_OPTS += -DBUILD_WSI_DIRECTFB_SUPPORT=ON -else -VULKAN_LOADER_CONF_OPTS += -DBUILD_WSI_DIRECTFB_SUPPORT=OFF -endif - ifeq ($(BR2_PACKAGE_LIBXCB),y) VULKAN_LOADER_DEPENDENCIES += libxcb VULKAN_LOADER_CONF_OPTS += -DBUILD_WSI_XCB_SUPPORT=ON
Signature · 6 lines
2.47.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 11/12 package/vulkan-tools: drop directfb support
In reply to Thomas Petazzoni via buildrootAs we're about to remove the DirectFB package, let's drop DirectFB support in vulkan-tools.
--- package/vulkan-tools/vulkan-tools.mk | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-)
package/vulkan-tools/vulkan-tools.mk +2 -8
@@ -17,14 +17,8 @@ VULKAN_TOOLS_CONF_OPTS += \ -DBUILD_CUBE=OFF \ -DBUILD_ICD=OFF \ -DBUILD_VULKANINFO=ON \ - -DINSTALL_ICD=OFF - -ifeq ($(BR2_PACKAGE_DIRECTFB),y) -VULKAN_TOOLS_DEPENDENCIES += directfb -VULKAN_TOOLS_CONF_OPTS += -DBUILD_WSI_DIRECTFB_SUPPORT=ON -else -VULKAN_TOOLS_CONF_OPTS += -DBUILD_WSI_DIRECTFB_SUPPORT=OFF -endif + -DINSTALL_ICD=OFF \ + -DBUILD_WSI_DIRECTFB_SUPPORT=OFF ifeq ($(BR2_PACKAGE_LIBXCB),y) VULKAN_TOOLS_DEPENDENCIES += libxcb
Signature · 6 lines
2.47.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 12/12 package/directfb: remove package
In reply to Thomas Petazzoni via buildrootdirectfb.org is dead so since commit 89ab2a5a3f4588891ab1e9e76feb8c3f69402d5c (from 2022), we are downloading from sources.buildroot.net.
Clearly DirectFB 1.x is no longer maintained. A DirectFB 2.x project is now at https://github.com/directfb2/, but despite an attempt in August 2024 [1], it still isn't packaged in Buildroot. Therefore it's time to drop directfb 1.x, which doesn't prevent in the future from adding directfb 2.x.
[1] https://lore.kernel.org/buildroot/[email protected]/
--- .checkpackageignore | 6 - Config.in.legacy | 9 +- package/Config.in | 1 - ...01-fix-missing-davinci-voodoo-header.patch | 1726 ----------------- package/directfb/0002-imlib2-config.patch | 36 - package/directfb/0003-setregion-lock.patch | 99 - package/directfb/0004-use-gcc-link.patch | 35 - .../0005-add-missing-idivine-header.patch | 65 - ...-fix-client-gfx_state-initialisation.patch | 39 - ...-__NR_futex-on-32bit-architectures-u.patch | 43 - package/directfb/Config.in | 156 -- package/directfb/directfb.hash | 3 - package/directfb/directfb.mk | 167 -- 13 files changed, 7 insertions(+), 2378 deletions(-) delete mode 100644 package/directfb/0001-fix-missing-davinci-voodoo-header.patch delete mode 100644 package/directfb/0002-imlib2-config.patch delete mode 100644 package/directfb/0003-setregion-lock.patch delete mode 100644 package/directfb/0004-use-gcc-link.patch delete mode 100644 package/directfb/0005-add-missing-idivine-header.patch delete mode 100644 package/directfb/0006-fix-client-gfx_state-initialisation.patch delete mode 100644 package/directfb/0007-libdirect-define-__NR_futex-on-32bit-architectures-u.patch delete mode 100644 package/directfb/Config.in delete mode 100644 package/directfb/directfb.hash delete mode 100644 package/directfb/directfb.mk
.checkpackageignore +0 -6
@@ -399,12 +399,6 @@ package/dht/0001-cmake.patch lib_patch.Upstream package/dillo/0001-usr-local-include.patch lib_patch.Upstream package/dillo/0002-Fix-openssl-detection.patch lib_patch.Upstream package/dillo/0004-fix-build-with-gcc-10.patch lib_patch.Upstream -package/directfb/0001-fix-missing-davinci-voodoo-header.patch lib_patch.Upstream -package/directfb/0002-imlib2-config.patch lib_patch.Upstream -package/directfb/0003-setregion-lock.patch lib_patch.Upstream -package/directfb/0004-use-gcc-link.patch lib_patch.Upstream -package/directfb/0005-add-missing-idivine-header.patch lib_patch.Upstream -package/directfb/0006-fix-client-gfx_state-initialisation.patch lib_patch.Upstream package/dmalloc/0001-configure-fix-build-on-mips.patch lib_patch.Upstream package/dmalloc/0003-configure-allow-overriding-some-tests.patch lib_patch.Upstream package/dmalloc/0004-Makefile-use-the-configure-detected-or-user-supplied.patch lib_patch.Upstream
Config.in.legacy +7 -2
@@ -146,6 +146,13 @@ endif comment "Legacy options removed in 2025.02" +config BR2_PACKAGE_DIRECTFB + bool "directfb has been removed" + select BR2_LEGACY + help + This package was no longer maintained upstream, so it was + dropped from Buildroot. + config BR2_PACKAGE_SDL2_DIRECTFB bool "sdl2 directfb support removed" select BR2_LEGACY
@@ -5822,7 +5829,6 @@ config BR2_PACKAGE_KOBS_NG config BR2_PACKAGE_SAWMAN bool "sawman package removed" select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_SAWMAN help This option has been removed because the sawman package no longer exists: it was merged inside DirectFB itself. This
@@ -5832,7 +5838,6 @@ config BR2_PACKAGE_SAWMAN config BR2_PACKAGE_DIVINE bool "divine package removed" select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_DIVINE help This option has been removed because the divine package no longer exists: it was merged inside DirectFB itself. This
package/Config.in +0 -1
@@ -344,7 +344,6 @@ comment "Graphic applications" comment "Graphic libraries" source "package/cegui/Config.in" - source "package/directfb/Config.in" source "package/efl/Config.in" source "package/fb-test-app/Config.in" source "package/fbdump/Config.in"
package/directfb/0001-fix-missing-davinci-voodoo-header.patch deleted +0 -1726
1,726 lines not on this page · raw message
package/directfb/0002-imlib2-config.patch deleted +0 -36
@@ -1,36 +0,0 @@ -From 8352c434e515f19dd1ba36256bfcc3ec9480838d Mon Sep 17 00:00:00 2001 -From: Peter Seiderer <[email protected]> -Date: Thu, 5 Mar 2015 22:38:52 +0100 -Subject: [PATCH] imlib2 config - -Call the imlib2-conf variable that are set by ac_cv_path_IMLIB2_CONFIG -with the absolute path because the imlib2-config file is not covered -by the PATH variable. -This is important for cross compiler that need to get the staging settings -instead of the host settings. - -Signed-off-by: Carsten Schoenert <[email protected]> -[ patch configure.in instead of configure to survive autoreconf ] -Signed-off-by: Peter Seiderer <[email protected]> ---- - configure.in | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/configure.in b/configure.in -index 38d7e78..fa5e87f 100644 ---- a/configure.in -+++ b/configure.in -@@ -1094,8 +1094,8 @@ if test "x$enable_imlib2" = "xyes"; then - AC_MSG_WARN([*** Imlib2 library not found, building without Imlib2 support ***]) - imlib2="no" - else -- IMLIB2_CFLAGS=`imlib2-config --cflags` -- IMLIB2_LIBS=`imlib2-config --libs` -+ IMLIB2_CFLAGS=`$IMLIB2_CONFIG --cflags` -+ IMLIB2_LIBS=`$IMLIB2_CONFIG --libs` - imlib2="yes" - fi - fi --- -2.1.4 -
package/directfb/0003-setregion-lock.patch deleted +0 -99
99 lines not on this page · raw message
package/directfb/0004-use-gcc-link.patch deleted +0 -35
@@ -1,35 +0,0 @@ -Add patch to use 'gcc' instead of 'ld' for linking - -The patch has been sent upstream but it has not been merged yet - -Signed-off-by: Markos Chandras <[email protected]> - -From 176ce06b40897a357fe76a558af517197325f188 Mon Sep 17 00:00:00 2001 -From: Markos Chandras <[email protected]> -Date: Wed, 28 Aug 2013 10:56:32 +0100 -Subject: [PATCH] rules/libobject.make: Use gcc for linking - -Invoking 'ld' directly may miss some necessary linker flags which -are usually passed by gcc. Therefore, use gcc for linking. - -Signed-off-by: Markos Chandras <[email protected]> ---- - rules/libobject.make | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/rules/libobject.make b/rules/libobject.make -index bc670da..2cba658 100644 ---- a/rules/libobject.make -+++ b/rules/libobject.make -@@ -3,7 +3,7 @@ - if test -d $<.tmp; then rmdir $<.tmp; fi - mkdir $<.tmp - (cd $<.tmp && $(AR) x ../../$<) -- $(LD) -o $@ -r $<.tmp/*.o -+ $(CC) -nostdlib -o $@ -r $<.tmp/*.o - rm -f $<.tmp/*.o && rmdir $<.tmp - - .PHONY: $(LTLIBRARIES:%.la=.libs/%.a) --- -1.8.3.2 -
package/directfb/0005-add-missing-idivine-header.patch deleted +0 -65
65 lines not on this page · raw message
package/directfb/0006-fix-client-gfx_state-initialisation.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From 8e53c0b9cedb62b82e2b7680d793d433b647ae20 Mon Sep 17 00:00:00 2001 -From: Andre McCurdy <[email protected]> -Date: Mon, 13 Jun 2016 13:32:44 -0700 -Subject: [PATCH] fix client->gfx_state initialisation - -Shortly before the DirectFB 1.7.7 release, an optimisation was added -to CoreGraphicsStateClient_Init() to avoid creating an extended -Graphics State object if it will not later be required: - - 4d422fb Client: Create extended Graphics State object when needed for later usage - -Unfortunately the client->gfx_state variable used to track the -extended Graphics State object is not initialised, which can lead to -crashes etc due to creation of the Graphics State object erroneously -being skipped. - -Upstream-Status: Pending - -Signed-off-by: Andre McCurdy <[email protected]> -Signed-off-by: Philippe Reynes <[email protected]> ---- - src/core/CoreGraphicsStateClient.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/core/CoreGraphicsStateClient.cpp b/src/core/CoreGraphicsStateClient.cpp -index 5d46f0e..5007755 100644 ---- a/src/core/CoreGraphicsStateClient.cpp -+++ b/src/core/CoreGraphicsStateClient.cpp -@@ -364,6 +364,7 @@ CoreGraphicsStateClient_Init( CoreGraphicsStateClient *client, - client->renderer = NULL; - client->requestor = NULL; - client->throttle = NULL; -+ client->gfx_state = NULL; - - if (dfb_config->task_manager) { - if (dfb_config->call_nodirect) { --- -1.9.1 -
package/directfb/0007-libdirect-define-__NR_futex-on-32bit-architectures-u.patch deleted +0 -43
43 lines not on this page · raw message
package/directfb/Config.in deleted +0 -156
156 lines not on this page · raw message
package/directfb/directfb.hash deleted +0 -3
@@ -1,3 +0,0 @@ -# Locally computed -sha256 b785c638dc31b8fe3a7c81be1475c89b2255ab3d67b777c747d3fbc52f8027a3 DirectFB-1.7.7.tar.gz -sha256 512d2d21b6b3384ba64781abb0208a1b87740bc31e2df48e2b206ddb7e4d5779 COPYING
package/directfb/directfb.mk deleted +0 -167
167 lines not on this page · raw message
Signature · 6 lines
2.47.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Julien Olivain
AppliedHi Thomas,
Quoted 3 lines · Thomas Petazzoni via buildroot
Hello,
This patch series proposes to remove DirectFB entirely.
I applied this series on master, thanks.
Quoted 19 lines
Indeed, directfb.org has been down for many years: we are directly using sources.buildroot.net as the source for directfb and directfb-examples since 2022. The linux-fusion source code is still fetched from directfb.org, and therefore causes autobuilder failures [1].
A new directfb2 project at https://github.com/directfb2/ aims at reviving DirectFB, and there has been an attempt in July 2024 [2] to package it in Buildroot, but the quality level of the submission was not very high, and despite a detailed review, the submitter never came back with a v2.
Therefore, it is time to drop support for DirectFB entirely. In any case, if DirectFB 2 is to be added at some point in the future, we would have to revisit all users of DirectFB in Buildroot to verify that they still work, so having a tree cleaned-up from DirectFB support is in fact helping to get DirectFB 2 support added in the future.
Quoted 6 lines
Best regards,
Thomas
[1] http://autobuild.buildroot.net/results/1b5b87883841b189bd9cd65853ca1e2fcd996365/
[2] https://lore.kernel.org/buildroot/[email protected]/
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot