[arch-commits] Commit in synergy/repos (3 files)

Jan de Groot jgc at archlinux.org
Sun Oct 12 10:10:22 EDT 2008


    Date: Sunday, October 12, 2008 @ 10:10:21
  Author: jgc
Revision: 15072

Merged revisions 356,4522,13887,15071 via svnmerge from 
svn+ssh://svn.archlinux.org/home/svn-packages/synergy/trunk

........
  r356 | aaron | 2008-04-19 00:56:27 +0200 (Sat, 19 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r4522 | ronald | 2008-07-07 23:49:55 +0200 (Mon, 07 Jul 2008) | 1 line
  
  fix license
........
  r13887 | allan | 2008-09-29 08:32:11 +0200 (Mon, 29 Sep 2008) | 1 line
  
  correct sourceforge url
........
  r15071 | jgc | 2008-10-12 16:09:45 +0200 (Sun, 12 Oct 2008) | 2 lines
  
  upgpkg: synergy 1.3.1-2
      Fix dependencies, make it build with gcc 4.3
........

Added:
  synergy/repos/extra-i686/gcc43.patch
    (from rev 15071, synergy/trunk/gcc43.patch)
Modified:
  synergy/repos/extra-i686/	(properties)
  synergy/repos/extra-i686/PKGBUILD

-------------+
 PKGBUILD    |   22 +++++----
 gcc43.patch |  133 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 146 insertions(+), 9 deletions(-)


Property changes on: synergy/repos/extra-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /synergy/trunk:1
   + /synergy/trunk:1-15071

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2008-10-12 14:09:45 UTC (rev 15071)
+++ extra-i686/PKGBUILD	2008-10-12 14:10:21 UTC (rev 15072)
@@ -3,19 +3,23 @@
 
 pkgname=synergy
 pkgver=1.3.1
-pkgrel=1
+pkgrel=2
 pkgdesc="share a single mouse and keyboard between multiple pcs"
-depends=(gcc libxtst libsm libxinerama)
+arch=('i686' 'x86_64')
+depends=(gcc-libs libxtst libsm libxinerama)
 backup=(etc/synergy.conf)
 url="http://synergy2.sourceforge.net/"
-source=(http://easynews.dl.sourceforge.net/sourceforge/synergy2/$pkgname-$pkgver.tar.gz)
+source=(http://downloads.sourceforge.net/sourceforge/synergy2/$pkgname-$pkgver.tar.gz
+	gcc43.patch)
+license=('GPL2')
 md5sums=('a6e09d6b71cb217f23069980060abf27')
 
 build() {
-	cd $startdir/src/$pkgname-$pkgver
-	./configure --prefix=/usr --sysconfdir=/etc
-	make || return 1
-	make prefix=$startdir/pkg/usr install
-	mkdir $startdir/pkg/etc
-	install -m644 examples/synergy.conf $startdir/pkg/etc/synergy.conf
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i "${srcdir}/gcc43.patch" || return 1
+  ./configure --prefix=/usr --sysconfdir=/etc || return 1
+  make || return 1
+  make DESTDIR="${pkgdir}" install || return 1
+  install -m755 -d "${pkgdir}/etc"
+  install -m644 examples/synergy.conf "${pkgdir}/etc/" || return 1
 }

Copied: synergy/repos/extra-i686/gcc43.patch (from rev 15071, synergy/trunk/gcc43.patch)
===================================================================
--- extra-i686/gcc43.patch	                        (rev 0)
+++ extra-i686/gcc43.patch	2008-10-12 14:10:21 UTC (rev 15072)
@@ -0,0 +1,133 @@
+diff -ru synergy-1.3.1/lib/arch/CArchDaemonUnix.cpp synergy-1.3.1.patched/lib/arch/CArchDaemonUnix.cpp
+--- synergy-1.3.1/lib/arch/CArchDaemonUnix.cpp	2005-04-24 05:02:12.000000000 +0200
++++ synergy-1.3.1.patched/lib/arch/CArchDaemonUnix.cpp	2008-10-12 15:57:32.000000000 +0200
+@@ -19,6 +19,7 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <errno.h>
++#include <cstdlib>
+ 
+ //
+ // CArchDaemonUnix
+diff -ru synergy-1.3.1/lib/arch/CMultibyte.cpp synergy-1.3.1.patched/lib/arch/CMultibyte.cpp
+--- synergy-1.3.1/lib/arch/CMultibyte.cpp	2005-11-30 05:33:24.000000000 +0100
++++ synergy-1.3.1.patched/lib/arch/CMultibyte.cpp	2008-10-12 15:58:33.000000000 +0200
+@@ -22,6 +22,7 @@
+ #if HAVE_LOCALE_H
+ #	include <locale.h>
+ #endif
++#include <cstdlib>
+ #if HAVE_WCHAR_H || defined(_MSC_VER)
+ #	include <wchar.h>
+ #elif __APPLE__
+diff -ru synergy-1.3.1/lib/base/CStringUtil.cpp synergy-1.3.1.patched/lib/base/CStringUtil.cpp
+--- synergy-1.3.1/lib/base/CStringUtil.cpp	2005-12-14 18:25:20.000000000 +0100
++++ synergy-1.3.1.patched/lib/base/CStringUtil.cpp	2008-10-12 15:59:04.000000000 +0200
+@@ -20,6 +20,7 @@
+ #include <cstdio>
+ #include <cstdlib>
+ #include <algorithm>
++#include <cstring>
+ 
+ //
+ // CStringUtil
+diff -ru synergy-1.3.1/lib/client/CClient.cpp synergy-1.3.1.patched/lib/client/CClient.cpp
+--- synergy-1.3.1/lib/client/CClient.cpp	2006-03-09 05:07:17.000000000 +0100
++++ synergy-1.3.1.patched/lib/client/CClient.cpp	2008-10-12 16:03:32.000000000 +0200
+@@ -26,6 +26,8 @@
+ #include "CLog.h"
+ #include "IEventQueue.h"
+ #include "TMethodEventJob.h"
++#include <cstring>
++#include <cstdlib>
+ 
+ //
+ // CClient
+diff -ru synergy-1.3.1/lib/client/CServerProxy.cpp synergy-1.3.1.patched/lib/client/CServerProxy.cpp
+--- synergy-1.3.1/lib/client/CServerProxy.cpp	2006-04-02 03:47:03.000000000 +0200
++++ synergy-1.3.1.patched/lib/client/CServerProxy.cpp	2008-10-12 16:03:59.000000000 +0200
+@@ -24,6 +24,7 @@
+ #include "TMethodEventJob.h"
+ #include "XBase.h"
+ #include <memory>
++#include <cstring>
+ 
+ //
+ // CServerProxy
+diff -ru synergy-1.3.1/lib/net/CTCPSocket.cpp synergy-1.3.1.patched/lib/net/CTCPSocket.cpp
+--- synergy-1.3.1/lib/net/CTCPSocket.cpp	2006-04-02 03:47:03.000000000 +0200
++++ synergy-1.3.1.patched/lib/net/CTCPSocket.cpp	2008-10-12 15:59:43.000000000 +0200
+@@ -24,6 +24,7 @@
+ #include "CArch.h"
+ #include "XArch.h"
+ #include <string.h>
++#include <cstdlib>
+ 
+ //
+ // CTCPSocket
+diff -ru synergy-1.3.1/lib/platform/CXWindowsScreen.cpp synergy-1.3.1.patched/lib/platform/CXWindowsScreen.cpp
+--- synergy-1.3.1/lib/platform/CXWindowsScreen.cpp	2006-04-02 21:16:39.000000000 +0200
++++ synergy-1.3.1.patched/lib/platform/CXWindowsScreen.cpp	2008-10-12 16:02:25.000000000 +0200
+@@ -27,6 +27,7 @@
+ #include "IEventQueue.h"
+ #include "TMethodEventJob.h"
+ #include <cstring>
++#include <cstdlib>
+ #if X_DISPLAY_MISSING
+ #	error X11 is required to build synergy
+ #else
+diff -ru synergy-1.3.1/lib/server/CClientProxy1_3.cpp synergy-1.3.1.patched/lib/server/CClientProxy1_3.cpp
+--- synergy-1.3.1/lib/server/CClientProxy1_3.cpp	2006-02-12 20:53:43.000000000 +0100
++++ synergy-1.3.1.patched/lib/server/CClientProxy1_3.cpp	2008-10-12 16:04:53.000000000 +0200
+@@ -17,6 +17,7 @@
+ #include "CLog.h"
+ #include "IEventQueue.h"
+ #include "TMethodEventJob.h"
++#include <cstring>
+ 
+ //
+ // CClientProxy1_3
+diff -ru synergy-1.3.1/lib/server/CServer.cpp synergy-1.3.1.patched/lib/server/CServer.cpp
+--- synergy-1.3.1/lib/server/CServer.cpp	2006-04-02 03:47:04.000000000 +0200
++++ synergy-1.3.1.patched/lib/server/CServer.cpp	2008-10-12 16:05:27.000000000 +0200
+@@ -29,6 +29,7 @@
+ #include "TMethodEventJob.h"
+ #include "CArch.h"
+ #include <string.h>
++#include <cstdlib>
+ 
+ //
+ // CServer
+diff -ru synergy-1.3.1/lib/synergy/CPacketStreamFilter.cpp synergy-1.3.1.patched/lib/synergy/CPacketStreamFilter.cpp
+--- synergy-1.3.1/lib/synergy/CPacketStreamFilter.cpp	2005-04-24 05:02:16.000000000 +0200
++++ synergy-1.3.1.patched/lib/synergy/CPacketStreamFilter.cpp	2008-10-12 16:00:41.000000000 +0200
+@@ -16,6 +16,7 @@
+ #include "IEventQueue.h"
+ #include "CLock.h"
+ #include "TMethodEventJob.h"
++#include <cstring>
+ 
+ //
+ // CPacketStreamFilter
+diff -ru synergy-1.3.1/lib/synergy/IKeyState.cpp synergy-1.3.1.patched/lib/synergy/IKeyState.cpp
+--- synergy-1.3.1/lib/synergy/IKeyState.cpp	2006-03-22 06:40:27.000000000 +0100
++++ synergy-1.3.1.patched/lib/synergy/IKeyState.cpp	2008-10-12 16:01:04.000000000 +0200
+@@ -14,6 +14,7 @@
+ 
+ #include "IKeyState.h"
+ #include <string.h>
++#include <cstdlib>
+ 
+ //
+ // IKeyState
+diff -ru synergy-1.3.1/lib/synergy/IPrimaryScreen.cpp synergy-1.3.1.patched/lib/synergy/IPrimaryScreen.cpp
+--- synergy-1.3.1/lib/synergy/IPrimaryScreen.cpp	2006-03-22 06:40:27.000000000 +0100
++++ synergy-1.3.1.patched/lib/synergy/IPrimaryScreen.cpp	2008-10-12 16:01:20.000000000 +0200
+@@ -13,6 +13,7 @@
+  */
+ 
+ #include "IPrimaryScreen.h"
++#include <cstdlib>
+ 
+ //
+ // IPrimaryScreen




More information about the arch-commits mailing list