package/lesstif: remove package

lesstif received its last release in 2009, the homepage was last
updated in 2013: https://lesstif.sourceforge.net

The last update on the project trackers was in 2015:
https://sourceforge.net/projects/lesstif/support

Debian removed lesstif in 2013:
https://wiki.debian.org/lesstif2motifTransition

The package is causing build errors since the default version of gcc was
bumped to 14.x with buildroot commit 1e1fafa1f0:

CutPaste.c:1031:25: error: assignment to 'long int *' from incompatible
 pointer type 'char *' [-Wincompatible-pointer-types]

Instead of fixing an unmaintained package we remove it from buildroot,
no other package depends on it.

Fixes:
https://autobuild.buildroot.net/results/798/798ccab7b69754fb9b73b84e31d91bece8e7a2b4/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
Bernd Kuhls
2025-10-15 21:05:19 +02:00
committed by Arnout Vandecappelle
parent d16c812b7e
commit 98fe2238af
5 changed files with 6 additions and 57 deletions

View File

@@ -146,6 +146,12 @@ endif
comment "Legacy options removed in 2025.11"
config BR2_PACKAGE_LESSTIF
bool "lesstif has been removed"
select BR2_LEGACY
help
lesstif is unmaintained and has been removed
config BR2_KERNEL_HEADERS_6_16
bool "kernel headers version 6.16.x are no longer supported"
select BR2_LEGACY

View File

@@ -1740,7 +1740,6 @@ menu "Graphics"
source "package/lcms2/Config.in"
source "package/lensfun/Config.in"
source "package/leptonica/Config.in"
source "package/lesstif/Config.in"
source "package/libart/Config.in"
source "package/libavif/Config.in"
source "package/libdecor/Config.in"

View File

@@ -1,11 +0,0 @@
config BR2_PACKAGE_LESSTIF
bool "lesstif"
depends on BR2_USE_MMU # fork()
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXT
select BR2_PACKAGE_XLIB_LIBXEXT
select BR2_PACKAGE_FREETYPE
help
lesstif is the Hungry Programmers' version of OSF/Motif
http://lesstif.sourceforge.net/

View File

@@ -1,3 +0,0 @@
# Locally computed:
sha256 eb4aa38858c29a4a3bcf605cfe7d91ca41f4522d78d770f69721e6e3a4ecf7e3 lesstif-0.95.2.tar.bz2
sha256 94b03f1a60a7fd5007149530626a895a6ef5a8b9342abfd56860c5f3956f5d23 COPYING.LIB

View File

@@ -1,42 +0,0 @@
################################################################################
#
# lesstif
#
################################################################################
LESSTIF_VERSION = 0.95.2
LESSTIF_SOURCE = lesstif-$(LESSTIF_VERSION).tar.bz2
LESSTIF_SITE = http://downloads.sourceforge.net/project/lesstif/lesstif/$(LESSTIF_VERSION)
LESSTIF_INSTALL_STAGING = YES
LESSTIF_DEPENDENCIES = \
xlib_libXt \
xlib_libXext \
freetype
LESSTIF_LICENSE = LGPL-2.0+
LESSTIF_LICENSE_FILES = COPYING.LIB
LESSTIF_CONF_OPTS = \
--with-gnu-ld \
--with-freetype-config=$(STAGING_DIR)/usr/bin/freetype-config \
--enable-production=yes \
--enable-build-tests=no \
--no-recursion
# Reduces the buggy makefile to the smallest possible (and working) thing
define LESSTIF_NOMAN2HTML
echo "all:" > $(@D)/doc/Makefile
echo "" >> $(@D)/doc/Makefile
echo "install:" >> $(@D)/doc/Makefile
echo "" >> $(@D)/doc/Makefile
echo "clean:" >> $(@D)/doc/Makefile
endef
# Prevents to copy ac_find_motif.m4 on target, it would else
# be created at $(TARGET_DIR)/$(HOST_DIR)/share/aclocal/ac_find_motif.m4
define LESSTIF_FIXACLOCAL
sed -i -e "/install-data-am: install-aclocalDATA/d" $(@D)/scripts/autoconf/Makefile
endef
LESSTIF_POST_CONFIGURE_HOOKS += LESSTIF_NOMAN2HTML
LESSTIF_POST_CONFIGURE_HOOKS += LESSTIF_FIXACLOCAL
$(eval $(autotools-package))