Skip to contentSkip to conversation

package/lesstif: remove package

PATCH Applied Bernd Kuhls 2 participants 2 messages Oct 15, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 1e1fafa1f0f5069418e92f702c2a66db6408a634:

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/

---
 Config.in.legacy             |  6 ++++++
 package/Config.in            |  1 -
 package/lesstif/Config.in    | 11 ----------
 package/lesstif/lesstif.hash |  3 ---
 package/lesstif/lesstif.mk   | 42 ------------------------------------
 5 files changed, 6 insertions(+), 57 deletions(-)
 delete mode 100644 package/lesstif/Config.in
 delete mode 100644 package/lesstif/lesstif.hash
 delete mode 100644 package/lesstif/lesstif.mk
Config.in.legacy +6 -0
index f3558c0f3a..ced3bab9c7 100644
@@ -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
package/Config.in +0 -1
index e9906b066e..1ae92409c4 100644
@@ -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"
package/lesstif/Config.in deleted +0 -11
deleted file mode 100644
index 654ee6f1a0..0000000000
@@ -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/
package/lesstif/lesstif.hash deleted +0 -3
deleted file mode 100644
index 31a394dbbc..0000000000
@@ -1,3 +0,0 @@
-# Locally computed:
-sha256  eb4aa38858c29a4a3bcf605cfe7d91ca41f4522d78d770f69721e6e3a4ecf7e3  lesstif-0.95.2.tar.bz2
-sha256  94b03f1a60a7fd5007149530626a895a6ef5a8b9342abfd56860c5f3956f5d23  COPYING.LIB
package/lesstif/lesstif.mk deleted +0 -42

42 lines not on this page · raw message

Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 15 lines · Bernd Kuhls

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 1e1fafa1f0f5069418e92f702c2a66db6408a634:

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

Quoted 7 lines

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/

Applied to master, thanks.

Regards,
Arnout

Quoted 104 lines
---
  Config.in.legacy             |  6 ++++++
  package/Config.in            |  1 -
  package/lesstif/Config.in    | 11 ----------
  package/lesstif/lesstif.hash |  3 ---
  package/lesstif/lesstif.mk   | 42 ------------------------------------
  5 files changed, 6 insertions(+), 57 deletions(-)

delete mode 100644 package/lesstif/Config.in
delete mode 100644 package/lesstif/lesstif.hash
delete mode 100644 package/lesstif/lesstif.mk

Config.in.legacy +6 -0
index f3558c0f3a..ced3bab9c7 100644
@@ -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
package/Config.in +0 -1
index e9906b066e..1ae92409c4 100644
@@ -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"
package/lesstif/Config.in deleted +0 -11
deleted file mode 100644
index 654ee6f1a0..0000000000
@@ -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/
package/lesstif/lesstif.hash deleted +0 -3
deleted file mode 100644
index 31a394dbbc..0000000000
@@ -1,3 +0,0 @@
-# Locally computed:
-sha256  eb4aa38858c29a4a3bcf605cfe7d91ca41f4522d78d770f69721e6e3a4ecf7e3  lesstif-0.95.2.tar.bz2
-sha256  94b03f1a60a7fd5007149530626a895a6ef5a8b9342abfd56860c5f3956f5d23  COPYING.LIB
package/lesstif/lesstif.mk deleted +0 -32
deleted file mode 100644
index 378c594e3b..0000000000
@@ -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
-

package/lesstif/lesstif.mk line 42

Quoted 10 lines
package/lesstif/lesstif.mk deleted +0 -10
-# 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))

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot