Skip to contentSkip to conversation

package/mtdev2tuio: remove package

PATCH New Stephan Hoffmann 2 participants 2 messages May 18, 2020 – May 21, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 package/mtdev2tuio: remove package

mtdev2tuio breaks the builds every now and then and is not maintained upstream. It does not seem to be useful any more.

---
Changes v1 -> v2:
- Add missing Config.in.legacy entry

---
 Config.in.legacy                              |  7 +++
 DEVELOPERS                                    |  1 -
 package/Config.in                             |  1 -
 .../0001-Fix-build-with-musl-libc.patch       | 30 ----------
 ...dev2tuio.c-fix-build-with-musl-1.2.0.patch | 57 -------------------
 package/mtdev2tuio/Config.in                  | 13 -----
 package/mtdev2tuio/mtdev2tuio.hash            |  3 -
 package/mtdev2tuio/mtdev2tuio.mk              | 27 ---------
 8 files changed, 7 insertions(+), 132 deletions(-)
 delete mode 100644 package/mtdev2tuio/0001-Fix-build-with-musl-libc.patch
 delete mode 100644 package/mtdev2tuio/0002-mtdev2tuio.c-fix-build-with-musl-1.2.0.patch
 delete mode 100644 package/mtdev2tuio/Config.in
 delete mode 100644 package/mtdev2tuio/mtdev2tuio.hash
 delete mode 100644 package/mtdev2tuio/mtdev2tuio.mk
Config.in.legacy +7 -0
index 5605ba1fad..e5ab38783c 100644
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2020.05"
 
+config BR2_PACKAGE_MTDEV2TUIO
+	bool "mtdev2tuio package removed"
+	select BR2_LEGACY
+	help
+	  The mtdev2tuio package was removed as it breaks the builds
+	  every now and then and is not maintained upstream.
+
 config BR2_PACKAGE_EZXML
 	bool "ezxml package removed"
 	select BR2_LEGACY
DEVELOPERS +0 -1
index 0f1574c930..35098210fc 100644
@@ -2397,7 +2397,6 @@ N:	Stephan Hoffmann <[email protected]>
 F:	package/cache-calibrator/
 F:	package/gtest/
 F:	package/mtdev/
-F:	package/mtdev2tuio/
 
 N:	Steve Calfee <[email protected]>
 F:	package/python-pymysql/
package/Config.in +0 -1
index c245abbc42..c4e0a4d12c 100644
@@ -1877,7 +1877,6 @@ endif
 	source "package/mpfr/Config.in"
 	source "package/mpir/Config.in"
 	source "package/msgpack/Config.in"
-	source "package/mtdev2tuio/Config.in"
 	source "package/musl-compat-headers/Config.in"
 	source "package/musl-fts/Config.in"
 	source "package/openblas/Config.in"
package/mtdev2tuio/0001-Fix-build-with-musl-libc.patch deleted +0 -30
deleted file mode 100644
index 810b66c61b..0000000000
@@ -1,30 +0,0 @@
-From f974bb1f92603973711bea36a7869dfa8358aae0 Mon Sep 17 00:00:00 2001
-From: Bernd Kuhls <[email protected]>
-Date: Sun, 31 Jan 2016 09:04:46 +0100
-Subject: [PATCH 1/1] Fix build with musl libc
-
-Include missing header to prevent build error detected by buildroot:
-http://autobuild.buildroot.net/results/aee/aee411047265bf205f8990a3d0d2310decb5fd19/build-end.log
-
-Signed-off-by: Bernd Kuhls <[email protected]>
----
-Patch sent upstream: https://github.com/olivopaolo/mtdev2tuio/pull/2
-
- mtdev2tuio.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/mtdev2tuio.c b/mtdev2tuio.c
-index 3a9174f..f2c98d5 100644
---- a/mtdev2tuio.c
-+++ b/mtdev2tuio.c
-@@ -41,6 +41,7 @@
- #include <getopt.h>
- #include <signal.h>
- #include <sys/utsname.h>
-+#include <sys/file.h>
- 
- #define NSEC_PER_USEC   1000L
- #define NSEC_PER_SEC    1000000000L
--- 
-2.7.0.rc3
-
package/mtdev2tuio/0002-mtdev2tuio.c-fix-build-with-musl-1.2.0.patch deleted +0 -57

57 lines not on this page · raw message

package/mtdev2tuio/Config.in deleted +0 -13
deleted file mode 100644
index 3e88d21845..0000000000
@@ -1,13 +0,0 @@
-config BR2_PACKAGE_MTDEV2TUIO
-	bool "mtdev2tuio"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # liblo
-	select BR2_PACKAGE_LIBLO
-	select BR2_PACKAGE_MTDEV
-	help
-	  mtdev2tuio is a simple application for converting touch
-	  events captured from libmtdev to TUIO 1.1
-
-	  https://github.com/olivopaolo/mtdev2tuio
-
-comment "mtdev2tuio needs a toolchain w/ threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
package/mtdev2tuio/mtdev2tuio.hash deleted +0 -3
deleted file mode 100644
index 9932e9e180..0000000000
@@ -1,3 +0,0 @@
-# Locally calculated
-sha256  4a6aa319c44478dceaf01a24603690767e56c029a1f0380da0f31eac5a02e10f  mtdev2tuio-e1e7378d86abe751158e743586133022f32fa4d1.tar.gz
-sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  COPYING
package/mtdev2tuio/mtdev2tuio.mk deleted +0 -27
deleted file mode 100644
index e9085b007e..0000000000
@@ -1,27 +0,0 @@
-################################################################################
-#
-# mtdev2tuio
-#
-################################################################################
-
-MTDEV2TUIO_VERSION = e1e7378d86abe751158e743586133022f32fa4d1
-MTDEV2TUIO_SITE = $(call github,olivopaolo,mtdev2tuio,$(MTDEV2TUIO_VERSION))
-MTDEV2TUIO_DEPENDENCIES = mtdev liblo
-MTDEV2TUIO_LICENSE = GPL-3.0+
-MTDEV2TUIO_LICENSE_FILES = COPYING
-
-# mtdev2tuio Makefile misuses $(LD) as gcc, so we need to override LD
-# here. Liblo uses log(3), so we need to link with -lm
-define MTDEV2TUIO_BUILD_CMDS
-	$(TARGET_MAKE_ENV) $(MAKE) \
-		$(TARGET_CONFIGURE_OPTS) \
-		LD="$(TARGET_CC)" \
-		LIBS="-lmtdev -llo -lm" \
-		-C $(@D)
-endef
-
-define MTDEV2TUIO_INSTALL_TARGET_CMDS
-	$(INSTALL) -D -m 0755 $(@D)/mtdev2tuio $(TARGET_DIR)/usr/bin/mtdev2tuio
-endef
-
-$(eval $(generic-package))
Signature · 1 line
2.20.1
#1 lore raw

PATCH v2 1/2 package/mtdev2tuio: remove package

Quoted 8 lines · On Mon, 18 May 2020 11:47:55 +0200 Stephan Hoffmann <[email protected]> wrote:

mtdev2tuio breaks the builds every now and then and is not maintained upstream. It does not seem to be useful any more.

---
Changes v1 -> v2:
- Add missing Config.in.legacy entry

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com