Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
From 4dd7cad8c95484a882eaa2aeaa74595a3dd93a07 Mon Sep 17 00:00:00 2001
|
||||
From: Stephan Hoffmann <sho@relinux.de>
|
||||
Date: Sun, 2 Dec 2012 13:36:41 +0100
|
||||
Subject: [PATCH] TuioServer.cpp: add missing include
|
||||
|
||||
If usleep() is used the header <unistd.h> has to be included
|
||||
|
||||
Signed-off-by: Stephan Hoffmann <sho@relinux.de>
|
||||
---
|
||||
src/3rdparty/tuio/TuioServer.cpp | 2 ++
|
||||
1 files changed, 2 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/src/3rdparty/tuio/TuioServer.cpp b/src/3rdparty/tuio/TuioServer.cpp
|
||||
index f17bef9..851144c 100644
|
||||
--- a/src/3rdparty/tuio/TuioServer.cpp
|
||||
+++ b/src/3rdparty/tuio/TuioServer.cpp
|
||||
@@ -25,6 +25,8 @@ using namespace TUIO;
|
||||
using namespace osc;
|
||||
|
||||
#ifndef WIN32
|
||||
+#include <unistd.h>
|
||||
+
|
||||
static void* ThreadFunc( void* obj )
|
||||
#else
|
||||
static DWORD WINAPI ThreadFunc( LPVOID obj )
|
||||
--
|
||||
1.7.0.4
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
[PATCH] don't append _d to library name when Qt is built with debug support
|
||||
|
||||
qtuio appends _d to the library name when Qt was built with debug support,
|
||||
breaking linking step for examples and staging/target install.
|
||||
|
||||
There's no real advantage to the _d suffix, so simply fix it by removing
|
||||
the logic appending _d.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
||||
---
|
||||
src/qTUIO.pro | 5 -----
|
||||
1 file changed, 5 deletions(-)
|
||||
|
||||
Index: qtuio-abe4973ff6/src/qTUIO.pro
|
||||
===================================================================
|
||||
--- qtuio-abe4973ff6.orig/src/qTUIO.pro
|
||||
+++ qtuio-abe4973ff6/src/qTUIO.pro
|
||||
@@ -16,11 +16,6 @@
|
||||
win32:LIBS += ws2_32.lib \
|
||||
winmm.lib
|
||||
|
||||
-# Changes the name of the target, when is debug mode
|
||||
-CONFIG( debug, debug|release ) {
|
||||
- TARGET = $${TARGET}_d
|
||||
- BUILD_NAME = debug
|
||||
-}
|
||||
CONFIG( release, debug|release ):BUILD_NAME = release
|
||||
|
||||
# Temporary folders for the auxiliar files
|
||||
22
deprecated/firmware/buildroot/package/qtuio/Config.in
Normal file
22
deprecated/firmware/buildroot/package/qtuio/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_QTUIO
|
||||
bool "qtuio"
|
||||
depends on BR2_PACKAGE_QT
|
||||
depends on BR2_PACKAGE_QT_GUI_MODULE
|
||||
help
|
||||
Implementation of an interface connecting TUIO messages
|
||||
and QT events
|
||||
|
||||
https://github.com/x29a/qTUIO
|
||||
|
||||
if BR2_PACKAGE_QTUIO
|
||||
|
||||
config BR2_QTUIO_EXAMPLES
|
||||
bool "qtuio examples"
|
||||
help
|
||||
Build and install qtuio examples
|
||||
|
||||
endif
|
||||
|
||||
comment "qtuio depends on QT gui module"
|
||||
depends on BR2_PACKAGE_QT
|
||||
depends on !BR2_PACKAGE_QT_GUI_MODULE
|
||||
72
deprecated/firmware/buildroot/package/qtuio/qtuio.mk
Normal file
72
deprecated/firmware/buildroot/package/qtuio/qtuio.mk
Normal file
@@ -0,0 +1,72 @@
|
||||
################################################################################
|
||||
#
|
||||
# qtuio
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QTUIO_VERSION = abe4973ff60654aad9df7037c4ca15c45f811d24
|
||||
QTUIO_SITE = $(call github,x29a,qTUIO,$(QTUIO_VERSION))
|
||||
QTUIO_INSTALL_STAGING = YES
|
||||
QTUIO_DEPENDENCIES = qt
|
||||
|
||||
QTUIO_LICENSE = GPLv3+
|
||||
QTUIO_LICENSE_FILES = COPYING
|
||||
|
||||
# The pong example needs QtOpenGL support, which might become available
|
||||
# some time in the future. Then add pong to the list of examples.
|
||||
QTUIO_EXAMPLES = dials fingerpaint knobs pinchzoom
|
||||
|
||||
ifeq ($(BR2_QTUIO_EXAMPLES),y)
|
||||
define QTUIO_CONFIGURE_EXAMPLES
|
||||
for example in $(QTUIO_EXAMPLES) ; do \
|
||||
(cd $(@D)/examples/$${example} && $(TARGET_MAKE_ENV) $(QT_QMAKE)) || exit 1; \
|
||||
done
|
||||
endef
|
||||
endif
|
||||
|
||||
define QTUIO_CONFIGURE_CMDS
|
||||
cd $(@D)/src && $(TARGET_MAKE_ENV) $(QT_QMAKE)
|
||||
$(QTUIO_CONFIGURE_EXAMPLES)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_QTUIO_EXAMPLES),y)
|
||||
define QTUIO_BUILD_EXAMPLES
|
||||
for example in $(QTUIO_EXAMPLES) ; do \
|
||||
$(MAKE) -C $(@D)/examples/$${example} || exit 1; \
|
||||
done
|
||||
endef
|
||||
endif
|
||||
|
||||
define QTUIO_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src
|
||||
$(QTUIO_BUILD_EXAMPLES)
|
||||
endef
|
||||
|
||||
# Unfortunately, there is no working "install" target available
|
||||
ifeq ($(BR2_QTUIO_EXAMPLES),y)
|
||||
define QTUIO_INSTALL_EXAMPLES
|
||||
for example in $(QTUIO_EXAMPLES) ; do \
|
||||
$(INSTALL) -D -m 0755 $(@D)/examples/$${example}/$${example} $(TARGET_DIR)/usr/share/qtuio/$${example} || exit 1 ; \
|
||||
done
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT_STATIC),y)
|
||||
QTUIO_LIBRARY = libqTUIO.a
|
||||
else
|
||||
QTUIO_LIBRARY = libqTUIO.so*
|
||||
define QTUIO_INSTALL_TARGET_LIBRARY
|
||||
cp -dpf $(@D)/lib/$(QTUIO_LIBRARY) $(TARGET_DIR)/usr/lib
|
||||
endef
|
||||
endif
|
||||
|
||||
define QTUIO_INSTALL_TARGET_CMDS
|
||||
$(QTUIO_INSTALL_TARGET_LIBRARY)
|
||||
$(QTUIO_INSTALL_EXAMPLES)
|
||||
endef
|
||||
|
||||
define QTUIO_INSTALL_STAGING_CMDS
|
||||
cp -dpf $(@D)/lib/$(QTUIO_LIBRARY) $(STAGING_DIR)/usr/lib
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user