summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2012-01-12 00:27:24 +0000
committerJeremy Olexa <darkside@gentoo.org>2012-01-12 00:27:24 +0000
commit9be2eef80b8e341bf6509827f46f5ec001069c76 (patch)
tree7b930937d6f40666d4cefd44629696298aebef1b /x11-misc/synergy
parentRevision bump. Add patch to fix compatibility with >=app-cdr/cdemud-1.4.0. Th... (diff)
downloadhistorical-9be2eef80b8e341bf6509827f46f5ec001069c76.tar.gz
historical-9be2eef80b8e341bf6509827f46f5ec001069c76.tar.bz2
historical-9be2eef80b8e341bf6509827f46f5ec001069c76.zip
Revbump to fix clipboard issue, bug 397549 by Patrick
Package-Manager: portage-2.1.10.41/cvs/Linux i686
Diffstat (limited to 'x11-misc/synergy')
-rw-r--r--x11-misc/synergy/ChangeLog9
-rw-r--r--x11-misc/synergy/Manifest6
-rw-r--r--x11-misc/synergy/files/synergy-1.4.5-clipboard-fix.patch727
-rw-r--r--x11-misc/synergy/synergy-1.4.5-r2.ebuild (renamed from x11-misc/synergy/synergy-1.4.5-r1.ebuild)5
-rw-r--r--x11-misc/synergy/synergy-1.4.5.ebuild72
5 files changed, 741 insertions, 78 deletions
diff --git a/x11-misc/synergy/ChangeLog b/x11-misc/synergy/ChangeLog
index ab9fc8eebe9b..18f0a9304f43 100644
--- a/x11-misc/synergy/ChangeLog
+++ b/x11-misc/synergy/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-misc/synergy
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/synergy/ChangeLog,v 1.73 2012/01/04 20:48:41 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/synergy/ChangeLog,v 1.74 2012/01/12 00:27:24 darkside Exp $
+
+*synergy-1.4.5-r2 (12 Jan 2012)
+
+ 12 Jan 2012; Jeremy Olexa <darkside@gentoo.org> -synergy-1.4.5.ebuild,
+ -synergy-1.4.5-r1.ebuild, +synergy-1.4.5-r2.ebuild,
+ +files/synergy-1.4.5-clipboard-fix.patch:
+ Revbump to fix clipboard issue, bug 397549 by Patrick
04 Jan 2012; Brent Baude <ranger@gentoo.org> synergy-1.3.6.ebuild:
Marking synergy-1.3.6 ppc for bug 391393
diff --git a/x11-misc/synergy/Manifest b/x11-misc/synergy/Manifest
index b21e9c37642f..b27dc91fbf4d 100644
--- a/x11-misc/synergy/Manifest
+++ b/x11-misc/synergy/Manifest
@@ -1,6 +1,7 @@
AUX synergy-1.3.1+gcc-4.3.patch 4463 RMD160 e7c4fb526ec0011a3a9b9974dc20956ccef03a22 SHA1 b3a179405bc5b98c2379e13c27a760b543f7a476 SHA256 0dfcdedce8de2cf1285a7af30652eba7234d95d769f762774975ea4d0f293375
AUX synergy-1.3.1-infinite-timeout-fix.patch 548 RMD160 59f2740e7da43d77ffb82704dab4c90a8c1e0821 SHA1 1fd4646f6b0000f44a7b6d12fe13ca6872c41143 SHA256 9038062a1e678ef858f161393332acdde9124beca45cedff9179582f33d20cca
AUX synergy-1.3.1-stuttered-delay-fix.patch 2144 RMD160 0b375058a69d7f74e5f0da45e16b26bb114eb38f SHA1 b4be9b68a7caae1aa5476139e10566c380a80169 SHA256 4ffbbaea726e507e024d550459fb0ab25a9da70cb90245400e86d035bbd9a1b9
+AUX synergy-1.4.5-clipboard-fix.patch 14164 RMD160 e192681e333c3c4b251cfb52c260c1f5946a8498 SHA1 3a02fb34f55dd04d5930e1fdb4f2f879f71067e9 SHA256 26ee4b97ca1098836c3af499084ba08bc2b47ed533a01040f1509483c0b155e7
AUX synergy-1.4.5-gtk3-fix.patch 6353 RMD160 72e1ea1fcb4c7f3f88e93a6b97963908e185dbe5 SHA1 a2e97371c55a42539549137bbe0070e47f794909 SHA256 795673183f1f8bb10aa8361613798e3e33dc229ce36295d4a642e875a849dda8
DIST synergy-1.3.1.tar.gz 793172 RMD160 5f5d7cb8fcfb57a6c8eae83fb53c704cb85c6c16 SHA1 03113ec8aadfecaeba8e369b083f4fb5b44f5c62 SHA256 4a15e26456498dda5f3aa7d688a4892e0c50394a2f01685136fbc954bacc9691
DIST synergy-1.3.6-Source.tar.gz 659025 RMD160 adcd5b7a2de7370a03b404c7827be58cb9f7467a SHA1 acbb8c62bc7f18cd4646c8b116c9acdeb2b405da SHA256 b136fcd2795837c5c56050c32ab32e7305a84fd4ac8f3dd6458d3abc18179162
@@ -9,7 +10,6 @@ DIST synergy-1.4.5-Source.tar.gz 3002836 RMD160 cf45a71590d5cf4cca225be7b25566de
EBUILD synergy-1.3.1.ebuild 1427 RMD160 5fd8e2b3c2e4adbfa10a79d9a608f8a41fa6d777 SHA1 987920d242b123b19cca0c637f2bd6eb8e5ff2a7 SHA256 3c6f65e2d4284ce44add8f33d224d7a44c3cf6c4f7783f0a73004bb8346a36fe
EBUILD synergy-1.3.6.ebuild 1092 RMD160 8aa7321f622fc62ca925190b252baca9fb91634e SHA1 e91ea619e76fc5c6bf291fd350185581be21fb84 SHA256 c86830579c553695e79884194c4d60cc8521d767cbc155f25b7b7deba2379b4c
EBUILD synergy-1.4.2.ebuild 1562 RMD160 e37a5e47cbe754d69de986c5cc272c4fdffb44ce SHA1 efa436ab8ec8b3a5a7a9e6c1314260540c6ce58e SHA256 9e41938d68c0aaf0f4148d7f8a3cca4f914ad38276698bb76a7ce6ecd37ec97b
-EBUILD synergy-1.4.5-r1.ebuild 1736 RMD160 0a8f834efdcb288246c6f85b18057369e0302f5c SHA1 401e5a793290ce966a9e8224e8da1ea5bd9c6576 SHA256 99a61f28e2bbdd3697c3335f7a73d46597e652af8395fb67362e70f3d41869a6
-EBUILD synergy-1.4.5.ebuild 1665 RMD160 0e6aefbde095b0c7e46ef317a4180307231bd802 SHA1 c377e89b7b77fd459e324757980830a92812788c SHA256 da002f139865d45b6ee9be9f544c35d991d8717aef8d5e9ea981719bc8c8366c
-MISC ChangeLog 9929 RMD160 7e43c44b1e4979b507ea7fd8205c59b9be71167e SHA1 76025c7eee775ecc82ddeb7a720cce6e7bcd957a SHA256 04f985b7a0d25d6d7463dc2790e93c8fe2cf645f502512eb69bcb258c970256e
+EBUILD synergy-1.4.5-r2.ebuild 1783 RMD160 5e83c96028f7d9504c661fb330dd0a60b010e4ff SHA1 b40dc62720fa1e70af190c59442bf49a3529d4ca SHA256 0f76decdb3ff9ef039ecc839fa8f8c89a328b54e088137dd52b8cadd7c75184e
+MISC ChangeLog 10192 RMD160 6b9682bbb46fb973c1c11531b83cac100ecc5d24 SHA1 29ea7e841ec46c9c21ab482c5ee3dbfaccd697f0 SHA256 d088d200b523cdcd80f815ee49658447b470bf2014e035e3961a50e139cb4dfc
MISC metadata.xml 235 RMD160 fc62e96fe011b16210ab733a4ad8ea9c126fad91 SHA1 28b4e1e1b7086feb881d1d301e47200bcdab3ec0 SHA256 c232364986971636acb82c929ed2cf63881ed3f51ce439d8c4a7a5af34397378
diff --git a/x11-misc/synergy/files/synergy-1.4.5-clipboard-fix.patch b/x11-misc/synergy/files/synergy-1.4.5-clipboard-fix.patch
new file mode 100644
index 000000000000..3681f248afac
--- /dev/null
+++ b/x11-misc/synergy/files/synergy-1.4.5-clipboard-fix.patch
@@ -0,0 +1,727 @@
+https://bugs.gentoo.org/show_bug.cgi?id=397549
+http://synergy-foss.org/tracker/issues/3066
+
+diff -urN synergy-1.4.5-Source.orig/src/lib/arch/CArch.cpp synergy-1.4.5-Source/src/lib/arch/CArch.cpp
+--- synergy-1.4.5-Source.orig/src/lib/arch/CArch.cpp 2011-05-08 20:08:58.000000000 -0400
++++ synergy-1.4.5-Source/src/lib/arch/CArch.cpp 2012-01-03 16:31:35.201750077 -0500
+@@ -130,6 +130,7 @@
+ m_log = new ARCH_LOG;
+ m_net = new ARCH_NETWORK;
+ m_sleep = new ARCH_SLEEP;
++ initArchString();
+ m_string = new ARCH_STRING;
+ m_time = new ARCH_TIME;
+ m_console = new ARCH_CONSOLE;
+diff -urN synergy-1.4.5-Source.orig/src/lib/arch/CArch.cpp.orig synergy-1.4.5-Source/src/lib/arch/CArch.cpp.orig
+--- synergy-1.4.5-Source.orig/src/lib/arch/CArch.cpp.orig 1969-12-31 19:00:00.000000000 -0500
++++ synergy-1.4.5-Source/src/lib/arch/CArch.cpp.orig 2011-05-08 20:08:58.000000000 -0400
+@@ -0,0 +1,681 @@
++/*
++ * synergy -- mouse and keyboard sharing utility
++ * Copyright (C) 2002 Chris Schoeneman, Nick Bolton, Sorin Sbarnea
++ *
++ * This package is free software; you can redistribute it and/or
++ * modify it under the terms of the GNU General Public License
++ * found in the file COPYING that should have accompanied this file.
++ *
++ * This package is distributed in the hope that it will be useful,
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++ * GNU General Public License for more details.
++ *
++ * You should have received a copy of the GNU General Public License
++ * along with this program. If not, see <http://www.gnu.org/licenses/>.
++ */
++
++#include "common.h"
++#include "CArch.h"
++#include "CLog.h"
++
++#undef ARCH_CONSOLE
++#undef ARCH_DAEMON
++#undef ARCH_FILE
++#undef ARCH_LOG
++#undef ARCH_MULTITHREAD
++#undef ARCH_NETWORK
++#undef ARCH_SLEEP
++#undef ARCH_STRING
++#undef ARCH_SYSTEM
++#undef ARCH_TASKBAR
++#undef ARCH_TIME
++
++// include appropriate architecture implementation
++#if SYSAPI_WIN32
++# include "CArchConsoleWindows.h"
++# include "CArchDaemonWindows.h"
++# include "CArchFileWindows.h"
++# include "CArchLogWindows.h"
++# include "CArchMiscWindows.h"
++# include "CArchMultithreadWindows.h"
++# include "CArchNetworkWinsock.h"
++# include "CArchSleepWindows.h"
++# include "CArchStringWindows.h"
++# include "CArchSystemWindows.h"
++# include "CArchTaskBarWindows.h"
++# include "CArchTimeWindows.h"
++# include "CArchAppUtilWindows.h"
++#elif SYSAPI_UNIX
++# include "CArchConsoleUnix.h"
++# include "CArchDaemonUnix.h"
++# include "CArchFileUnix.h"
++# include "CArchLogUnix.h"
++# if HAVE_PTHREAD
++# include "CArchMultithreadPosix.h"
++# endif
++# include "CArchNetworkBSD.h"
++# include "CArchSleepUnix.h"
++# include "CArchStringUnix.h"
++# include "CArchSystemUnix.h"
++# include "CArchTaskBarXWindows.h"
++# include "CArchTimeUnix.h"
++# include "CArchAppUtilUnix.h"
++#endif
++
++#if !defined(ARCH_CONSOLE)
++# error unsupported platform for console
++#endif
++
++#if !defined(ARCH_DAEMON)
++# error unsupported platform for daemon
++#endif
++
++#if !defined(ARCH_FILE)
++# error unsupported platform for file
++#endif
++
++#if !defined(ARCH_LOG)
++# error unsupported platform for logging
++#endif
++
++#if !defined(ARCH_MULTITHREAD)
++# error unsupported platform for multithreading
++#endif
++
++#if !defined(ARCH_NETWORK)
++# error unsupported platform for network
++#endif
++
++#if !defined(ARCH_SLEEP)
++# error unsupported platform for sleep
++#endif
++
++#if !defined(ARCH_STRING)
++# error unsupported platform for string
++#endif
++
++#if !defined(ARCH_SYSTEM)
++# error unsupported platform for system
++#endif
++
++#if !defined(ARCH_TASKBAR)
++# error unsupported platform for taskbar
++#endif
++
++#if !defined(ARCH_TIME)
++# error unsupported platform for time
++#endif
++
++#if !defined(ARCH_APPUTIL)
++# error unsupported platform for app util
++#endif
++
++//
++// CArch
++//
++
++CArch* CArch::s_instance = NULL;
++
++CArch::CArch()
++{
++ // only once instance of CArch
++ assert(s_instance == NULL);
++ s_instance = this;
++
++ // create architecture implementation objects
++ m_mt = new ARCH_MULTITHREAD;
++ m_system = new ARCH_SYSTEM;
++ m_file = new ARCH_FILE;
++ m_log = new ARCH_LOG;
++ m_net = new ARCH_NETWORK;
++ m_sleep = new ARCH_SLEEP;
++ m_string = new ARCH_STRING;
++ m_time = new ARCH_TIME;
++ m_console = new ARCH_CONSOLE;
++ m_daemon = new ARCH_DAEMON;
++ m_taskbar = new ARCH_TASKBAR;
++ m_appUtil = new ARCH_APPUTIL;
++
++#if SYSAPI_WIN32
++ CArchMiscWindows::init();
++#endif
++}
++
++CArch::~CArch()
++{
++ // clean up
++ delete m_taskbar;
++ delete m_daemon;
++ delete m_console;
++ delete m_time;
++ delete m_string;
++ delete m_sleep;
++ delete m_net;
++ delete m_log;
++ delete m_file;
++ delete m_system;
++ delete m_mt;
++ delete m_appUtil;
++
++ // no instance
++ s_instance = NULL;
++}
++
++CArch*
++CArch::getInstance()
++{
++ assert(s_instance != NULL);
++
++ return s_instance;
++}
++
++void
++CArch::openConsole(const char* title)
++{
++ m_console->openConsole(title);
++}
++
++void
++CArch::closeConsole()
++{
++ m_console->closeConsole();
++}
++
++void
++CArch::showConsole(bool showIfEmpty)
++{
++ m_console->showConsole(showIfEmpty);
++}
++
++void
++CArch::writeConsole(ELevel level, const char* str)
++{
++ m_console->writeConsole(level, str);
++}
++
++void
++CArch::installDaemon(const char* name,
++ const char* description,
++ const char* pathname,
++ const char* commandLine,
++ const char* dependencies,
++ bool allUsers)
++{
++ m_daemon->installDaemon(name, description, pathname,
++ commandLine, dependencies, allUsers);
++}
++
++void
++CArch::uninstallDaemon(const char* name, bool allUsers)
++{
++ m_daemon->uninstallDaemon(name, allUsers);
++}
++
++int
++CArch::daemonize(const char* name, DaemonFunc func)
++{
++ return m_daemon->daemonize(name, func);
++}
++
++bool
++CArch::canInstallDaemon(const char* name, bool allUsers)
++{
++ return m_daemon->canInstallDaemon(name, allUsers);
++}
++
++bool
++CArch::isDaemonInstalled(const char* name, bool allUsers)
++{
++ return m_daemon->isDaemonInstalled(name, allUsers);
++}
++
++const char*
++CArch::getBasename(const char* pathname)
++{
++ return m_file->getBasename(pathname);
++}
++
++std::string
++CArch::getUserDirectory()
++{
++ return m_file->getUserDirectory();
++}
++
++std::string
++CArch::getSystemDirectory()
++{
++ return m_file->getSystemDirectory();
++}
++
++std::string
++CArch::concatPath(const std::string& prefix, const std::string& suffix)
++{
++ return m_file->concatPath(prefix, suffix);
++}
++
++void
++CArch::openLog(const char* name)
++{
++ m_log->openLog(name);
++}
++
++void
++CArch::closeLog()
++{
++ m_log->closeLog();
++}
++
++void
++CArch::showLog(bool showIfEmpty)
++{
++ m_log->showLog(showIfEmpty);
++}
++
++void
++CArch::writeLog(ELevel level, const char* msg)
++{
++ m_log->writeLog(level, msg);
++}
++
++CArchCond
++CArch::newCondVar()
++{
++ return m_mt->newCondVar();
++}
++
++void
++CArch::closeCondVar(CArchCond cond)
++{
++ m_mt->closeCondVar(cond);
++}
++
++void
++CArch::signalCondVar(CArchCond cond)
++{
++ m_mt->signalCondVar(cond);
++}
++
++void
++CArch::broadcastCondVar(CArchCond cond)
++{
++ m_mt->broadcastCondVar(cond);
++}
++
++bool
++CArch::waitCondVar(CArchCond cond, CArchMutex mutex, double timeout)
++{
++ return m_mt->waitCondVar(cond, mutex, timeout);
++}
++
++CArchMutex
++CArch::newMutex()
++{
++ return m_mt->newMutex();
++}
++
++void
++CArch::closeMutex(CArchMutex mutex)
++{
++ m_mt->closeMutex(mutex);
++}
++
++void
++CArch::lockMutex(CArchMutex mutex)
++{
++ m_mt->lockMutex(mutex);
++}
++
++void
++CArch::unlockMutex(CArchMutex mutex)
++{
++ m_mt->unlockMutex(mutex);
++}
++
++CArchThread
++CArch::newThread(ThreadFunc func, void* data)
++{
++ return m_mt->newThread(func, data);
++}
++
++CArchThread
++CArch::newCurrentThread()
++{
++ return m_mt->newCurrentThread();
++}
++
++CArchThread
++CArch::copyThread(CArchThread thread)
++{
++ return m_mt->copyThread(thread);
++}
++
++void
++CArch::closeThread(CArchThread thread)
++{
++ m_mt->closeThread(thread);
++}
++
++void
++CArch::cancelThread(CArchThread thread)
++{
++ m_mt->cancelThread(thread);
++}
++
++void
++CArch::setPriorityOfThread(CArchThread thread, int n)
++{
++ m_mt->setPriorityOfThread(thread, n);
++}
++
++void
++CArch::testCancelThread()
++{
++ m_mt->testCancelThread();
++}
++
++bool
++CArch::wait(CArchThread thread, double timeout)
++{
++ return m_mt->wait(thread, timeout);
++}
++
++bool
++CArch::isSameThread(CArchThread thread1, CArchThread thread2)
++{
++ return m_mt->isSameThread(thread1, thread2);
++}
++
++bool
++CArch::isExitedThread(CArchThread thread)
++{
++ return m_mt->isExitedThread(thread);
++}
++
++void*
++CArch::getResultOfThread(CArchThread thread)
++{
++ return m_mt->getResultOfThread(thread);
++}
++
++IArchMultithread::ThreadID
++CArch::getIDOfThread(CArchThread thread)
++{
++ return m_mt->getIDOfThread(thread);
++}
++
++void
++CArch::setSignalHandler(ESignal signal, SignalFunc func, void* userData)
++{
++ m_mt->setSignalHandler(signal, func, userData);
++}
++
++void
++CArch::raiseSignal(ESignal signal)
++{
++ m_mt->raiseSignal(signal);
++}
++
++CArchSocket
++CArch::newSocket(EAddressFamily family, ESocketType type)
++{
++ return m_net->newSocket(family, type);
++}
++
++CArchSocket
++CArch::copySocket(CArchSocket s)
++{
++ return m_net->copySocket(s);
++}
++
++void
++CArch::closeSocket(CArchSocket s)
++{
++ m_net->closeSocket(s);
++}
++
++void
++CArch::closeSocketForRead(CArchSocket s)
++{
++ m_net->closeSocketForRead(s);
++}
++
++void
++CArch::closeSocketForWrite(CArchSocket s)
++{
++ m_net->closeSocketForWrite(s);
++}
++
++void
++CArch::bindSocket(CArchSocket s, CArchNetAddress addr)
++{
++ m_net->bindSocket(s, addr);
++}
++
++void
++CArch::listenOnSocket(CArchSocket s)
++{
++ m_net->listenOnSocket(s);
++}
++
++CArchSocket
++CArch::acceptSocket(CArchSocket s, CArchNetAddress* addr)
++{
++ return m_net->acceptSocket(s, addr);
++}
++
++bool
++CArch::connectSocket(CArchSocket s, CArchNetAddress name)
++{
++ return m_net->connectSocket(s, name);
++}
++
++int
++CArch::pollSocket(CPollEntry pe[], int num, double timeout)
++{
++ return m_net->pollSocket(pe, num, timeout);
++}
++
++void
++CArch::unblockPollSocket(CArchThread thread)
++{
++ m_net->unblockPollSocket(thread);
++}
++
++size_t
++CArch::readSocket(CArchSocket s, void* buf, size_t len)
++{
++ return m_net->readSocket(s, buf, len);
++}
++
++size_t
++CArch::writeSocket(CArchSocket s, const void* buf, size_t len)
++{
++ return m_net->writeSocket(s, buf, len);
++}
++
++void
++CArch::throwErrorOnSocket(CArchSocket s)
++{
++ m_net->throwErrorOnSocket(s);
++}
++
++bool
++CArch::setNoDelayOnSocket(CArchSocket s, bool noDelay)
++{
++ return m_net->setNoDelayOnSocket(s, noDelay);
++}
++
++bool
++CArch::setReuseAddrOnSocket(CArchSocket s, bool reuse)
++{
++ return m_net->setReuseAddrOnSocket(s, reuse);
++}
++
++std::string
++CArch::getHostName()
++{
++ return m_net->getHostName();
++}
++
++CArchNetAddress
++CArch::newAnyAddr(EAddressFamily family)
++{
++ return m_net->newAnyAddr(family);
++}
++
++CArchNetAddress
++CArch::copyAddr(CArchNetAddress addr)
++{
++ return m_net->copyAddr(addr);
++}
++
++CArchNetAddress
++CArch::nameToAddr(const std::string& name)
++{
++ return m_net->nameToAddr(name);
++}
++
++void
++CArch::closeAddr(CArchNetAddress addr)
++{
++ m_net->closeAddr(addr);
++}
++
++std::string
++CArch::addrToName(CArchNetAddress addr)
++{
++ return m_net->addrToName(addr);
++}
++
++std::string
++CArch::addrToString(CArchNetAddress addr)
++{
++ return m_net->addrToString(addr);
++}
++
++IArchNetwork::EAddressFamily
++CArch::getAddrFamily(CArchNetAddress addr)
++{
++ return m_net->getAddrFamily(addr);
++}
++
++void
++CArch::setAddrPort(CArchNetAddress addr, int port)
++{
++ m_net->setAddrPort(addr, port);
++}
++
++int
++CArch::getAddrPort(CArchNetAddress addr)
++{
++ return m_net->getAddrPort(addr);
++}
++
++bool
++CArch::isAnyAddr(CArchNetAddress addr)
++{
++ return m_net->isAnyAddr(addr);
++}
++
++bool
++CArch::isEqualAddr(CArchNetAddress a, CArchNetAddress b)
++{
++ return m_net->isEqualAddr(a, b);
++}
++
++void
++CArch::sleep(double timeout)
++{
++ m_sleep->sleep(timeout);
++}
++
++int
++CArch::vsnprintf(char* str, int size, const char* fmt, va_list ap)
++{
++ return m_string->vsnprintf(str, size, fmt, ap);
++}
++
++int
++CArch::convStringMBToWC(wchar_t* dst, const char* src, UInt32 n, bool* errors)
++{
++ return m_string->convStringMBToWC(dst, src, n, errors);
++}
++
++int
++CArch::convStringWCToMB(char* dst, const wchar_t* src, UInt32 n, bool* errors)
++{
++ return m_string->convStringWCToMB(dst, src, n, errors);
++}
++
++IArchString::EWideCharEncoding
++CArch::getWideCharEncoding()
++{
++ return m_string->getWideCharEncoding();
++}
++
++std::string
++CArch::getOSName() const
++{
++ return m_system->getOSName();
++}
++
++std::string
++CArch::getPlatformName() const
++{
++ return m_system->getPlatformName();
++}
++
++void
++CArch::addReceiver(IArchTaskBarReceiver* receiver)
++{
++ m_taskbar->addReceiver(receiver);
++}
++
++void
++CArch::removeReceiver(IArchTaskBarReceiver* receiver)
++{
++ m_taskbar->removeReceiver(receiver);
++}
++
++void
++CArch::updateReceiver(IArchTaskBarReceiver* receiver)
++{
++ m_taskbar->updateReceiver(receiver);
++}
++
++double
++CArch::time()
++{
++ return m_time->time();
++}
++
++bool
++CArch::parseArg(const int& argc, const char* const* argv, int& i)
++{
++ return m_appUtil->parseArg(argc, argv, i);
++}
++
++void
++CArch::adoptApp(CApp* app)
++{
++ m_appUtil->adoptApp(app);
++}
++
++CApp&
++CArch::app() const
++{
++ return m_appUtil->app();
++}
++
++int
++CArch::run(int argc, char** argv)
++{
++ return m_appUtil->run(argc, argv);
++}
++
++void
++CArch::beforeAppExit()
++{
++ m_appUtil->beforeAppExit();
++}
+diff -urN synergy-1.4.5-Source.orig/src/lib/arch/IArchString.cpp synergy-1.4.5-Source/src/lib/arch/IArchString.cpp
+--- synergy-1.4.5-Source.orig/src/lib/arch/IArchString.cpp 2011-10-10 20:57:37.000000000 -0400
++++ synergy-1.4.5-Source/src/lib/arch/IArchString.cpp 2012-01-03 16:31:35.201750077 -0500
+@@ -36,6 +36,13 @@
+ }
+ }
+
++void
++IArchString::initArchString()
++{
++ if (s_mutex == NULL)
++ s_mutex = ARCH->newMutex();
++}
++
+ int
+ IArchString::convStringWCToMB(char* dst,
+ const wchar_t* src, UInt32 n, bool* errors)
+diff -urN synergy-1.4.5-Source.orig/src/lib/arch/IArchString.h synergy-1.4.5-Source/src/lib/arch/IArchString.h
+--- synergy-1.4.5-Source.orig/src/lib/arch/IArchString.h 2011-10-10 09:26:28.000000000 -0400
++++ synergy-1.4.5-Source/src/lib/arch/IArchString.h 2012-01-03 16:31:35.202750078 -0500
+@@ -30,6 +30,7 @@
+ class IArchString : public IInterface {
+ public:
+ virtual ~IArchString();
++ void initArchString();
+
+ //! Wide character encodings
+ /*!
diff --git a/x11-misc/synergy/synergy-1.4.5-r1.ebuild b/x11-misc/synergy/synergy-1.4.5-r2.ebuild
index 1deee2d09c95..9763e1f1f310 100644
--- a/x11-misc/synergy/synergy-1.4.5-r1.ebuild
+++ b/x11-misc/synergy/synergy-1.4.5-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/synergy/synergy-1.4.5-r1.ebuild,v 1.1 2011/12/05 14:45:24 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/synergy/synergy-1.4.5-r2.ebuild,v 1.1 2012/01/12 00:27:24 darkside Exp $
EAPI=4
@@ -32,6 +32,7 @@ S=${WORKDIR}/${P}-Source
src_prepare() {
epatch "${FILESDIR}/${P}-gtk3-fix.patch"
+ epatch "${FILESDIR}/${P}-clipboard-fix.patch"
}
src_configure() {
diff --git a/x11-misc/synergy/synergy-1.4.5.ebuild b/x11-misc/synergy/synergy-1.4.5.ebuild
deleted file mode 100644
index 7533d85e5fdc..000000000000
--- a/x11-misc/synergy/synergy-1.4.5.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/synergy/synergy-1.4.5.ebuild,v 1.2 2011/11/22 16:38:20 darkside Exp $
-
-EAPI=4
-
-inherit cmake-utils qt4-r2
-
-DESCRIPTION="Lets you easily share a single mouse and keyboard between multiple computers."
-HOMEPAGE="http://synergy-foss.org/"
-SRC_URI="http://${PN}.googlecode.com/files/${P}-Source.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x86-solaris"
-IUSE="qt4"
-
-RDEPEND="x11-libs/libXtst
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXinerama
- qt4? ( x11-libs/qt-gui )
- qt4? ( !x11-misc/qsynergy )"
-DEPEND="${RDEPEND}
- x11-proto/xextproto
- x11-proto/xproto
- x11-proto/kbproto
- x11-proto/xineramaproto
- x11-libs/libXt"
-
-S=${WORKDIR}/${P}-Source
-
-src_configure() {
- # 1.4.4+ : http://synergy-foss.org/pm/issues/3016
- append-ldflags $(no-as-needed)
-
- cmake-utils_src_configure
-
- if use qt4 ; then
- cd src/gui
- qt4-r2_src_configure
- fi
-}
-
-src_compile() {
- cmake-utils_src_compile
-
- if use qt4 ; then
- cd src/gui
- qt4-r2_src_compile
- fi
-}
-
-src_install () {
- dobin bin/${PN}{c,s}
-
- if use qt4 ; then
- newbin bin/${PN} qsynergy
- # FIXME: convert the .ico file to a real png instead
- newicon src/gui/res/win/QSynergy.ico q${PN}.png
- make_desktop_entry q${PN} ${PN/s/S} q${PN} Utility;
- fi
-
- insinto /etc
- newins doc/synergy.conf.example synergy.conf
-
- mv doc/${PN}c.man doc/${PN}c.1 || die
- mv doc/${PN}s.man doc/${PN}s.1 || die
- doman doc/${PN}{c,s}.1
-
- dodoc README doc/synergy.conf.example*
-}