Forráskód Böngészése

package/lite: remove package

As we're about to remove DirectFB due to it no longer being
maintained, we need to first remove Lite, a toolbox based on DirectFB.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Thomas Petazzoni 7 hónapja
szülő
commit
56bc9cb2b7

+ 0 - 3
.checkpackageignore

@@ -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

+ 7 - 0
Config.in.legacy

@@ -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

+ 0 - 1
package/Config.in

@@ -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"

+ 0 - 53
package/lite/0001-dfbspy-stat.patch

@@ -1,53 +0,0 @@
-From upstream git (git://git.directfb.org/git/directfb/libs/LiTE.git)
-
-From ffe0ce78327a63ddb1265328ea9b5b03acdca019 Mon Sep 17 00:00:00 2001
-From: Denis Oliver Kropp <dok@directfb.org>
-Date: Fri, 1 Apr 2011 20:20:26 +0200
-Subject: [PATCH] dfbspy: Build fix for dfbspy example.
-
----
- examples/dfbspy.c |   20 ++++++++++----------
- 1 files changed, 10 insertions(+), 10 deletions(-)
-
-diff --git a/examples/dfbspy.c b/examples/dfbspy.c
-index 5f36f0b..c7f9725 100644
---- a/examples/dfbspy.c
-+++ b/examples/dfbspy.c
-@@ -89,9 +89,9 @@ read_stat( FusionStat *stat, int world )
- 
- /**************************************************************************************************/
- 
--#define CALC(x)     stat.x = (int)(((s.x - last_stat.x) * 1000 / (float) diff) + 0.5f)
-+#define CALC(x)     stats.x = (int)(((s.x - last_stat.x) * 1000 / (float) diff) + 0.5f)
- 
--static FusionStat last_stat, stat;
-+static FusionStat last_stat, stats;
- static long long  last_millis;
- 
- static int
-@@ -145,14 +145,14 @@ static const struct {
-      void          (*update)( LiteLabel *label, void *ctx );
-      void           *ctx;
- } list[] = {
--     { "lease/purchase", update_number, &stat.lease_purchase },
--     { "cede",           update_number, &stat.cede },
--     { "attach",         update_number, &stat.attach },
--     { "detach",         update_number, &stat.detach },
--     { "ref up",         update_number, &stat.ref_up },
--     { "ref down",       update_number, &stat.ref_down },
--     { "prevail/swoop",  update_number, &stat.prevail_swoop },
--     { "dismiss",        update_number, &stat.dismiss }
-+     { "lease/purchase", update_number, &stats.lease_purchase },
-+     { "cede",           update_number, &stats.cede },
-+     { "attach",         update_number, &stats.attach },
-+     { "detach",         update_number, &stats.detach },
-+     { "ref up",         update_number, &stats.ref_up },
-+     { "ref down",       update_number, &stats.ref_down },
-+     { "prevail/swoop",  update_number, &stats.prevail_swoop },
-+     { "dismiss",        update_number, &stats.dismiss }
- };
- 
- #define NUM_LIST    (sizeof(list)/sizeof(list[0]))
--- 
-1.7.6.3
-

+ 0 - 11
package/lite/0002-no-tests.patch

@@ -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

+ 0 - 22
package/lite/0003-pkg-config.patch

@@ -1,22 +0,0 @@
-From 7982cccbb6ad58f3802bb266467290200d130a48 Mon Sep 17 00:00:00 2001
-From: Ville Syrjala <syrjala@sci.fi>
-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
-

+ 0 - 11
package/lite/Config.in

@@ -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

+ 0 - 3
package/lite/lite.hash

@@ -1,3 +0,0 @@
-# Locally calculated
-sha256  1b784cf595c3d5313e3705db210119f77d48826dbc7fcf6328af83a1270c2264  LiTE-0.8.10.tar.gz
-sha256  512d2d21b6b3384ba64781abb0208a1b87740bc31e2df48e2b206ddb7e4d5779  COPYING

+ 0 - 27
package/lite/lite.mk

@@ -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))