From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/synergy/files/synergy-1.3.1+gcc-4.3.patch | 161 ++++++++++++++++++++++ recipes/synergy/synergy_1.2.7.bb | 15 ++ recipes/synergy/synergy_1.3.1.bb | 16 +++ 3 files changed, 192 insertions(+) create mode 100644 recipes/synergy/files/synergy-1.3.1+gcc-4.3.patch create mode 100644 recipes/synergy/synergy_1.2.7.bb create mode 100644 recipes/synergy/synergy_1.3.1.bb (limited to 'recipes/synergy') diff --git a/recipes/synergy/files/synergy-1.3.1+gcc-4.3.patch b/recipes/synergy/files/synergy-1.3.1+gcc-4.3.patch new file mode 100644 index 0000000000..c13a179cf7 --- /dev/null +++ b/recipes/synergy/files/synergy-1.3.1+gcc-4.3.patch @@ -0,0 +1,161 @@ +Index: synergy-1.3.1/lib/arch/CArchDaemonUnix.cpp +=================================================================== +--- synergy-1.3.1.orig/lib/arch/CArchDaemonUnix.cpp ++++ synergy-1.3.1/lib/arch/CArchDaemonUnix.cpp +@@ -20,6 +20,8 @@ + #include + #include + ++#include ++ + // + // CArchDaemonUnix + // +Index: synergy-1.3.1/lib/arch/CMultibyte.cpp +=================================================================== +--- synergy-1.3.1.orig/lib/arch/CMultibyte.cpp ++++ synergy-1.3.1/lib/arch/CMultibyte.cpp +@@ -19,14 +19,12 @@ + #include "CArch.h" + #include + #include ++#include + #if HAVE_LOCALE_H + # include + #endif + #if HAVE_WCHAR_H || defined(_MSC_VER) + # include +-#elif __APPLE__ +- // wtf? Darwin puts mbtowc() et al. in stdlib +-# include + #else + // platform apparently has no wchar_t support. provide dummy + // implementations. hopefully at least the C++ compiler has +Index: synergy-1.3.1/lib/base/CStringUtil.cpp +=================================================================== +--- synergy-1.3.1.orig/lib/base/CStringUtil.cpp ++++ synergy-1.3.1/lib/base/CStringUtil.cpp +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + #include + + // +Index: synergy-1.3.1/lib/client/CClient.cpp +=================================================================== +--- synergy-1.3.1.orig/lib/client/CClient.cpp ++++ synergy-1.3.1/lib/client/CClient.cpp +@@ -27,6 +27,9 @@ + #include "IEventQueue.h" + #include "TMethodEventJob.h" + ++#include ++#include ++ + // + // CClient + // +Index: synergy-1.3.1/lib/client/CServerProxy.cpp +=================================================================== +--- synergy-1.3.1.orig/lib/client/CServerProxy.cpp ++++ synergy-1.3.1/lib/client/CServerProxy.cpp +@@ -24,6 +24,7 @@ + #include "TMethodEventJob.h" + #include "XBase.h" + #include ++#include + + // + // CServerProxy +Index: synergy-1.3.1/lib/net/CTCPSocket.cpp +=================================================================== +--- synergy-1.3.1.orig/lib/net/CTCPSocket.cpp ++++ synergy-1.3.1/lib/net/CTCPSocket.cpp +@@ -24,6 +24,7 @@ + #include "CArch.h" + #include "XArch.h" + #include ++#include + + // + // CTCPSocket +Index: synergy-1.3.1/lib/platform/CXWindowsScreen.cpp +=================================================================== +--- synergy-1.3.1.orig/lib/platform/CXWindowsScreen.cpp ++++ synergy-1.3.1/lib/platform/CXWindowsScreen.cpp +@@ -27,6 +27,7 @@ + #include "IEventQueue.h" + #include "TMethodEventJob.h" + #include ++#include + #if X_DISPLAY_MISSING + # error X11 is required to build synergy + #else +Index: synergy-1.3.1/lib/server/CClientProxy1_3.cpp +=================================================================== +--- synergy-1.3.1.orig/lib/server/CClientProxy1_3.cpp ++++ synergy-1.3.1/lib/server/CClientProxy1_3.cpp +@@ -18,6 +18,8 @@ + #include "IEventQueue.h" + #include "TMethodEventJob.h" + ++#include ++ + // + // CClientProxy1_3 + // +Index: synergy-1.3.1/lib/server/CServer.cpp +=================================================================== +--- synergy-1.3.1.orig/lib/server/CServer.cpp ++++ synergy-1.3.1/lib/server/CServer.cpp +@@ -28,7 +28,8 @@ + #include "CLog.h" + #include "TMethodEventJob.h" + #include "CArch.h" +-#include ++#include ++#include + + // + // CServer +Index: synergy-1.3.1/lib/synergy/CPacketStreamFilter.cpp +=================================================================== +--- synergy-1.3.1.orig/lib/synergy/CPacketStreamFilter.cpp ++++ synergy-1.3.1/lib/synergy/CPacketStreamFilter.cpp +@@ -16,6 +16,7 @@ + #include "IEventQueue.h" + #include "CLock.h" + #include "TMethodEventJob.h" ++#include + + // + // CPacketStreamFilter +Index: synergy-1.3.1/lib/synergy/IKeyState.cpp +=================================================================== +--- synergy-1.3.1.orig/lib/synergy/IKeyState.cpp ++++ synergy-1.3.1/lib/synergy/IKeyState.cpp +@@ -13,7 +13,8 @@ + */ + + #include "IKeyState.h" +-#include ++#include ++#include + + // + // IKeyState +Index: synergy-1.3.1/lib/synergy/IPrimaryScreen.cpp +=================================================================== +--- synergy-1.3.1.orig/lib/synergy/IPrimaryScreen.cpp ++++ synergy-1.3.1/lib/synergy/IPrimaryScreen.cpp +@@ -14,6 +14,8 @@ + + #include "IPrimaryScreen.h" + ++#include ++ + // + // IPrimaryScreen + // diff --git a/recipes/synergy/synergy_1.2.7.bb b/recipes/synergy/synergy_1.2.7.bb new file mode 100644 index 0000000000..2aa7152425 --- /dev/null +++ b/recipes/synergy/synergy_1.2.7.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Synergy - control multiple computers with one keyboard and mouse" +HOMEPAGE = "http://synergy2.sourceforge.net/" +LICENSE = "GPLv2" +SECTION = "x11/utils" +# NOTE: This depends on full x11, not diet-x11 +DEPENDS = "libx11 libxtst" +PR = "r2" + +SRC_URI = "${SOURCEFORGE_MIRROR}/synergy2/synergy-${PV}.tar.gz" + +do_configure_prepend() { + grep -l -- -Werror "${S}/"* | xargs sed -i 's:-Werror::' +} + +inherit autotools diff --git a/recipes/synergy/synergy_1.3.1.bb b/recipes/synergy/synergy_1.3.1.bb new file mode 100644 index 0000000000..d46cb47203 --- /dev/null +++ b/recipes/synergy/synergy_1.3.1.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "Synergy - control multiple computers with one keyboard and mouse" +HOMEPAGE = "http://synergy2.sourceforge.net/" +LICENSE = "GPLv2" +SECTION = "x11/utils" +# NOTE: This depends on full x11, not diet-x11 +DEPENDS = "libx11 libxtst" +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/synergy2/synergy-${PV}.tar.gz \ + file://synergy-1.3.1+gcc-4.3.patch;patch=1" + +do_configure_prepend() { + grep -l -- -Werror "${S}/"* | xargs sed -i 's:-Werror::' +} + +inherit autotools -- cgit 1.2.3-korg