diff options
author | kevlo <kevlo@FreeBSD.org> | 2010-11-01 14:15:35 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2010-11-01 14:15:35 +0800 |
commit | 400e6df29291e12d29b07cb558682b6f5cef3406 (patch) | |
tree | f061bc9539831db4857bd1ee9263083a57b5c868 /sysutils | |
parent | ea177c87603823daaf84868f0c08c36257015916 (diff) | |
download | freebsd-ports-gnome-400e6df29291e12d29b07cb558682b6f5cef3406.tar.gz freebsd-ports-gnome-400e6df29291e12d29b07cb558682b6f5cef3406.tar.zst freebsd-ports-gnome-400e6df29291e12d29b07cb558682b6f5cef3406.zip |
Update to 1.3.4
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/synergy/Makefile | 18 | ||||
-rw-r--r-- | sysutils/synergy/distinfo | 5 | ||||
-rw-r--r-- | sysutils/synergy/files/patch-lib__platform__CXWindowsClipboard.cpp | 52 | ||||
-rw-r--r-- | sysutils/synergy/files/patch-lib__platform__CXWindowsClipboard.h | 11 | ||||
-rw-r--r-- | sysutils/synergy/files/patch-lib__server__CClientProxy1_0.cpp | 28 | ||||
-rw-r--r-- | sysutils/synergy/files/patch-lib__server__CServer.cpp | 30 | ||||
-rw-r--r-- | sysutils/synergy/pkg-descr | 2 | ||||
-rw-r--r-- | sysutils/synergy/pkg-plist | 32 |
8 files changed, 6 insertions, 172 deletions
diff --git a/sysutils/synergy/Makefile b/sysutils/synergy/Makefile index ed78b138a703..012f4061e569 100644 --- a/sysutils/synergy/Makefile +++ b/sysutils/synergy/Makefile @@ -6,10 +6,10 @@ # PORTNAME= synergy -PORTVERSION= 1.3.1 -PORTREVISION= 8 +PORTVERSION= 1.3.4 CATEGORIES= sysutils -MASTER_SITES= SF/${PORTNAME}2/Sources/${PORTVERSION} +MASTER_SITES= http://synergy-plus.googlecode.com/files/ +DISTNAME= ${PORTNAME}-plus-${PORTVERSION} MAINTAINER= kevlo@FreeBSD.org COMMENT= Mouse and keyboard sharing utility @@ -19,22 +19,10 @@ USE_XORG= ice xtst x11 sm CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" -DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README - -CONFLICTS= synergy-plus-[0-9]* - post-patch: @${REINPLACE_CMD} -e 's|-Werror||' ${WRKSRC}/configure post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor - @cd ${WRKSRC}/doc && ${TAR} cf - *.html *.css images | \ - ${TAR} -C ${DOCSDIR} -xpf - -.endif ${MKDIR} ${PREFIX}/share/examples/synergy ${INSTALL_DATA} ${WRKSRC}/examples/synergy.conf ${PREFIX}/share/examples/synergy diff --git a/sysutils/synergy/distinfo b/sysutils/synergy/distinfo index f3ff5210d228..6e497f66dbba 100644 --- a/sysutils/synergy/distinfo +++ b/sysutils/synergy/distinfo @@ -1,3 +1,2 @@ -MD5 (synergy-1.3.1.tar.gz) = a6e09d6b71cb217f23069980060abf27 -SHA256 (synergy-1.3.1.tar.gz) = 4a15e26456498dda5f3aa7d688a4892e0c50394a2f01685136fbc954bacc9691 -SIZE (synergy-1.3.1.tar.gz) = 793172 +SHA256 (synergy-plus-1.3.4.tar.gz) = b3c3ae4cd5e907d2584b939793da3323836bcc1222c38910decce9ae68335272 +SIZE (synergy-plus-1.3.4.tar.gz) = 754640 diff --git a/sysutils/synergy/files/patch-lib__platform__CXWindowsClipboard.cpp b/sysutils/synergy/files/patch-lib__platform__CXWindowsClipboard.cpp deleted file mode 100644 index dd40e23c82d3..000000000000 --- a/sysutils/synergy/files/patch-lib__platform__CXWindowsClipboard.cpp +++ /dev/null @@ -1,52 +0,0 @@ ---- lib/platform/CXWindowsClipboard.cpp.orig 2006-04-02 09:47:03.000000000 +0800 -+++ lib/platform/CXWindowsClipboard.cpp 2008-10-06 15:52:39.000000000 +0800 -@@ -219,7 +219,7 @@ - if (reply->m_replied && reply->m_property == property) { - // if reply is complete then remove it and start the - // next one. -- pushReplies(index, replies, index2); -+ pushReplies(index->first, replies, index2); - return true; - } - } -@@ -928,17 +928,23 @@ - { - // send the first reply for each window if that reply hasn't - // been sent yet. -- for (CReplyMap::iterator index = m_replies.begin(); -- index != m_replies.end(); ++index) { -- assert(!index->second.empty()); -- if (!index->second.front()->m_replied) { -- pushReplies(index, index->second, index->second.begin()); -+ CReplyMap::iterator index = m_replies.begin(); -+ while (index != m_replies.end()) { -+ // increment index before calling pushReplies(...) as -+ // pushReplies(...) normally erases the member of the map, that -+ // index points to, invalidating index as iterator. -+ Window requestor = index->first; -+ CReplyList& replies = index->second; -+ index++; -+ assert(!replies.empty()); -+ if (!replies.front()->m_replied) { -+ pushReplies(requestor, replies, replies.begin()); - } - } - } - - void --CXWindowsClipboard::pushReplies(CReplyMap::iterator mapIndex, -+CXWindowsClipboard::pushReplies(Window requestor, - CReplyList& replies, CReplyList::iterator index) - { - CReply* reply = *index; -@@ -957,9 +963,8 @@ - // and stop watching the requestor for events. - if (replies.empty()) { - CXWindowsUtil::CErrorLock lock(m_display); -- Window requestor = mapIndex->first; - XSelectInput(m_display, requestor, m_eventMasks[requestor]); -- m_replies.erase(mapIndex); -+ m_replies.erase(requestor); - m_eventMasks.erase(requestor); - } - } diff --git a/sysutils/synergy/files/patch-lib__platform__CXWindowsClipboard.h b/sysutils/synergy/files/patch-lib__platform__CXWindowsClipboard.h deleted file mode 100644 index 322aa923345b..000000000000 --- a/sysutils/synergy/files/patch-lib__platform__CXWindowsClipboard.h +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/platform/CXWindowsClipboard.h.orig 2008-10-06 14:51:40.000000000 +0800 -+++ lib/platform/CXWindowsClipboard.h 2008-10-06 14:52:33.000000000 +0800 -@@ -265,7 +265,7 @@ - bool insertMultipleReply(Window, ::Time, Atom); - void insertReply(CReply*); - void pushReplies(); -- void pushReplies(CReplyMap::iterator, -+ void pushReplies(Window requestor, - CReplyList&, CReplyList::iterator); - bool sendReply(CReply*); - void clearReplies(); diff --git a/sysutils/synergy/files/patch-lib__server__CClientProxy1_0.cpp b/sysutils/synergy/files/patch-lib__server__CClientProxy1_0.cpp deleted file mode 100644 index 115b9fc5a485..000000000000 --- a/sysutils/synergy/files/patch-lib__server__CClientProxy1_0.cpp +++ /dev/null @@ -1,28 +0,0 @@ ---- ./lib/server/CClientProxy1_0.cpp.orig 2006-04-02 03:47:03.000000000 +0200 -+++ ./lib/server/CClientProxy1_0.cpp 2007-07-24 16:59:59.000000000 +0200 -@@ -401,7 +401,7 @@ - &x, &y, &w, &h, &dummy1, &mx, &my)) { - return false; - } -- LOG((CLOG_DEBUG "received client \"%s\" info shape=%d,%d %dx%d", getName().c_str(), x, y, w, h)); -+ LOG((CLOG_DEBUG "received client \"%s\" info shape=%d,%d %dx%d mouse=%d,%d", getName().c_str(), x, y, w, h, mx, my)); - - // validate - if (w <= 0 || h <= 0) { -@@ -413,8 +413,14 @@ - m_info.m_y = y; - m_info.m_w = w; - m_info.m_h = h; -- m_info.m_mx = mx; -- m_info.m_my = my; -+ -+ if(mx >= x && mx < x+w && my >= y && my < y+h) { -+ m_info.m_mx = mx; -+ m_info.m_my = my; -+ } else { -+ m_info.m_mx = x + w/2; -+ m_info.m_my = y + h/2; -+ } - - // acknowledge receipt - LOG((CLOG_DEBUG1 "send info ack to \"%s\"", getName().c_str())); diff --git a/sysutils/synergy/files/patch-lib__server__CServer.cpp b/sysutils/synergy/files/patch-lib__server__CServer.cpp deleted file mode 100644 index 34a27a5aa3d5..000000000000 --- a/sysutils/synergy/files/patch-lib__server__CServer.cpp +++ /dev/null @@ -1,30 +0,0 @@ ---- ./lib/server/CServer.cpp.orig 2006-04-02 03:47:04.000000000 +0200 -+++ ./lib/server/CServer.cpp 2007-07-24 16:59:59.000000000 +0200 -@@ -434,16 +434,23 @@ - SInt32 x, SInt32 y, bool forScreensaver) - { - assert(dst != NULL); -+ assert(m_active != NULL); -+ -+ LOG((CLOG_INFO "switch from \"%s\" to \"%s\" at %d,%d", getName(m_active).c_str(), getName(dst).c_str(), x, y)); -+ - #ifndef NDEBUG - { - SInt32 dx, dy, dw, dh; - dst->getShape(dx, dy, dw, dh); -- assert(x >= dx && y >= dy && x < dx + dw && y < dy + dh); -+ -+ if(!(x >= dx && y >= dy && x < dx + dw && y < dy + dh)) { -+ LOG((CLOG_ERR "debug check failed")); -+ LOG((CLOG_ERR "x=%d dx=%d dw=%d", x, dx, dw)); -+ LOG((CLOG_ERR "y=%d dy=%d dh=%d", y, dy, dh)); -+ assert(0); -+ } - } - #endif -- assert(m_active != NULL); -- -- LOG((CLOG_INFO "switch from \"%s\" to \"%s\" at %d,%d", getName(m_active).c_str(), getName(dst).c_str(), x, y)); - - // stop waiting to switch - stopSwitch(); diff --git a/sysutils/synergy/pkg-descr b/sysutils/synergy/pkg-descr index 3866d101432b..a5d40b47aeb5 100644 --- a/sysutils/synergy/pkg-descr +++ b/sysutils/synergy/pkg-descr @@ -4,4 +4,4 @@ own display, without special hardware. It's intended for users with multiple computers on their desk since each system uses its own display. -WWW: http://synergy2.sourceforge.net +WWW: http://synergy-foss.org/ diff --git a/sysutils/synergy/pkg-plist b/sysutils/synergy/pkg-plist index 81c7bfedb5c3..786ed5d652b1 100644 --- a/sysutils/synergy/pkg-plist +++ b/sysutils/synergy/pkg-plist @@ -2,35 +2,3 @@ bin/synergyc bin/synergys %%EXAMPLESDIR%%/synergy.conf @dirrm %%EXAMPLESDIR%% -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/COPYING -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/NEWS -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/about.html -%%PORTDOCS%%%%DOCSDIR%%/authors.html -%%PORTDOCS%%%%DOCSDIR%%/autostart.html -%%PORTDOCS%%%%DOCSDIR%%/banner.html -%%PORTDOCS%%%%DOCSDIR%%/border.html -%%PORTDOCS%%%%DOCSDIR%%/compiling.html -%%PORTDOCS%%%%DOCSDIR%%/configuration.html -%%PORTDOCS%%%%DOCSDIR%%/contact.html -%%PORTDOCS%%%%DOCSDIR%%/developer.html -%%PORTDOCS%%%%DOCSDIR%%/faq.html -%%PORTDOCS%%%%DOCSDIR%%/history.html -%%PORTDOCS%%%%DOCSDIR%%/home.html -%%PORTDOCS%%%%DOCSDIR%%/images/logo.gif -%%PORTDOCS%%%%DOCSDIR%%/images/warp.gif -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/license.html -%%PORTDOCS%%%%DOCSDIR%%/news.html -%%PORTDOCS%%%%DOCSDIR%%/roadmap.html -%%PORTDOCS%%%%DOCSDIR%%/running.html -%%PORTDOCS%%%%DOCSDIR%%/security.html -%%PORTDOCS%%%%DOCSDIR%%/synergy.css -%%PORTDOCS%%%%DOCSDIR%%/tips.html -%%PORTDOCS%%%%DOCSDIR%%/toc.html -%%PORTDOCS%%%%DOCSDIR%%/trouble.html -%%PORTDOCS%%@dirrm %%DOCSDIR%%/images -%%PORTDOCS%%@dirrm %%DOCSDIR%% |