summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico Ferri <mescalinum@gentoo.org>2008-11-13 16:31:01 +0000
committerFederico Ferri <mescalinum@gentoo.org>2008-11-13 16:31:01 +0000
commit6530163c3824d4eccaff10f6fc89acc719e494de (patch)
tree9f55e818cf20f19c49571aa8a7b3ea888cd33ed2 /app-pda/synce-sync-engine
parentgetting synce-0.12 into tree. ebuild coming from synce overlay, reviewed and ... (diff)
downloadgentoo-2-6530163c3824d4eccaff10f6fc89acc719e494de.tar.gz
gentoo-2-6530163c3824d4eccaff10f6fc89acc719e494de.tar.bz2
gentoo-2-6530163c3824d4eccaff10f6fc89acc719e494de.zip
getting synce-0.12 into tree. ebuild coming from synce overlay, reviewed and tested.
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-pda/synce-sync-engine')
-rw-r--r--app-pda/synce-sync-engine/ChangeLog13
-rw-r--r--app-pda/synce-sync-engine/Manifest7
-rw-r--r--app-pda/synce-sync-engine/files/synce-sync-engine-0.11.1-typo.patch11
-rw-r--r--app-pda/synce-sync-engine/metadata.xml8
-rw-r--r--app-pda/synce-sync-engine/synce-sync-engine-0.11.1.ebuild66
-rw-r--r--app-pda/synce-sync-engine/synce-sync-engine-0.12.ebuild66
6 files changed, 171 insertions, 0 deletions
diff --git a/app-pda/synce-sync-engine/ChangeLog b/app-pda/synce-sync-engine/ChangeLog
new file mode 100644
index 000000000000..7ba0325d8afe
--- /dev/null
+++ b/app-pda/synce-sync-engine/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for app-pda/synce-sync-engine
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-sync-engine/ChangeLog,v 1.1 2008/11/13 16:31:01 mescalinum Exp $
+
+*synce-sync-engine-0.12 (13 Nov 2008)
+*synce-sync-engine-0.11.1 (13 Nov 2008)
+
+ 13 Nov 2008; Federico Ferri <mescalinum@gentoo.org>
+ +files/synce-sync-engine-0.11.1-typo.patch, +metadata.xml,
+ +synce-sync-engine-0.11.1.ebuild, +synce-sync-engine-0.12.ebuild:
+ getting synce-0.12 into tree. ebuild coming from synce overlay, reviewed
+ and tested.
+
diff --git a/app-pda/synce-sync-engine/Manifest b/app-pda/synce-sync-engine/Manifest
new file mode 100644
index 000000000000..9b24d7cc2279
--- /dev/null
+++ b/app-pda/synce-sync-engine/Manifest
@@ -0,0 +1,7 @@
+AUX synce-sync-engine-0.11.1-typo.patch 434 RMD160 032cca20c1b13ae3c6a4039405660944814b46b1 SHA1 0691337b7d1798b188a457108b3e4abd71f69502 SHA256 f06b29a7963cb033111f04db30976a5f5099b53bb116682f0c3fb983e732623b
+DIST sync-engine-0.11.1.tar.gz 152929 RMD160 adf2dfd97946c79784da2f1ba4badc67449729b7 SHA1 f4f5c348aeb226a0e1337fad724155ebb7a94dde SHA256 309d99e5ed7e43fb33a00d0b45f93ec5e8a2fbb492a07648bd51a3b807a63a62
+DIST sync-engine-0.12.tar.gz 155827 RMD160 7f2d778954e1baa33154503c8eac3a9c631e30e7 SHA1 c6ddee57c9cf7ee2927662bee533ab0a75ba1464 SHA256 037d228176d1469c8cdbb82fcd56cb1d021ac1d04b666e3cca46a0bd714c0191
+EBUILD synce-sync-engine-0.11.1.ebuild 1667 RMD160 f1715a3c9c9736860e477b960a1de75436497483 SHA1 bed1e58ea3c636f74d1d05836fac90433312da6f SHA256 7e0255628a22996162814281c14acd0713912336b1c1279ad0270cd94c9367bf
+EBUILD synce-sync-engine-0.12.ebuild 1970 RMD160 69796aad8c770f690c41e0a2fe6a660c616b3a78 SHA1 6efd3a525d1a24fe4554a1bec0e0d610675c5de1 SHA256 dd594034fc2d0362540c44b6bb40f6c5fd99c2b5837014a2d4d7c9b8d82e66c7
+MISC ChangeLog 478 RMD160 4ef1e7b5806a4f6c37e22bb50981f48541043fc0 SHA1 7b58ca8650a3b32efa0ee4c366155a4ad3d516e8 SHA256 d517fb82eeda15d9126e2c250ffaa33b0e4cb8840fffdbc46b9515f6ea066202
+MISC metadata.xml 222 RMD160 1ec31f18849e2b1b0ac6c14007f46e2c11568f10 SHA1 e764bd3a8334f61718ebd5e24a4b55659a7e4628 SHA256 5bd70f92715f4dee989024b6f8cb93a700770aacfe0805b1fcf5dbc2c12c0162
diff --git a/app-pda/synce-sync-engine/files/synce-sync-engine-0.11.1-typo.patch b/app-pda/synce-sync-engine/files/synce-sync-engine-0.11.1-typo.patch
new file mode 100644
index 000000000000..bf9aec17250a
--- /dev/null
+++ b/app-pda/synce-sync-engine/files/synce-sync-engine-0.11.1-typo.patch
@@ -0,0 +1,11 @@
+--- SyncEngine/kernel.py 2008-05-30 14:54:51.000000000 +0930
++++ SyncEngine/kernel.py.2 2008-05-30 15:01:23.000000000 +0930
+@@ -276,7 +276,7 @@
+ # if we suddenly need auth, first shut down all threads if they
+ # are running
+
+- if self.partnerships != None:
++ if self.PshipManager.GetCurrentPartnership() != None:
+ self.OnDisconnect()
+
+ if auth.Authorize(self.devicePath,self.device,self.config.config_Global):
diff --git a/app-pda/synce-sync-engine/metadata.xml b/app-pda/synce-sync-engine/metadata.xml
new file mode 100644
index 000000000000..5ae8e0285801
--- /dev/null
+++ b/app-pda/synce-sync-engine/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pda</herd>
+<longdescription>
+SynCE synchronization engine
+</longdescription>
+</pkgmetadata>
diff --git a/app-pda/synce-sync-engine/synce-sync-engine-0.11.1.ebuild b/app-pda/synce-sync-engine/synce-sync-engine-0.11.1.ebuild
new file mode 100644
index 000000000000..770879851ce3
--- /dev/null
+++ b/app-pda/synce-sync-engine/synce-sync-engine-0.11.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-sync-engine/synce-sync-engine-0.11.1.ebuild,v 1.1 2008/11/13 16:31:01 mescalinum Exp $
+
+inherit eutils distutils
+
+DESCRIPTION="SynCE - Synchronization engine"
+HOMEPAGE="http://sourceforge.net/projects/synce/"
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RDEPEND="dev-python/pygobject
+ dev-python/dbus-python
+ >=app-pda/libopensync-plugin-python-0.21
+ dev-libs/libxml2
+ dev-libs/libxslt
+ dev-python/pyxml
+ dev-python/setuptools
+ ~app-pda/synce-odccm-0.11.1
+ ~app-pda/synce-librra-0.11.1
+ ~app-pda/synce-librtfcomp-1.1"
+
+SRC_URI="mirror://sourceforge/synce/sync-engine-${PV}.tar.gz"
+S=${WORKDIR}/sync-engine-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-typo.patch"
+}
+
+src_compile() {
+ distutils_src_compile
+}
+
+src_install() {
+ DOCS="CHANGELOG COPYING"
+ distutils_src_install
+
+ insinto /usr/share/${PN}/
+ doins config/config.xml
+
+ insinto /usr/lib/opensync/python-plugins
+
+ # TODO - move this to separate ebuilds.
+ if has_version '>=app-pda/libopensync-0.30'; then
+ newins plugins/synce-opensync-plugin-3x.py synce-opensync-plugin.py
+ else
+ newins plugins/synce-opensync-plugin-2x.py synce-opensync-plugin.py
+ fi
+}
+
+pkg_postinst() {
+ ewarn "IMPORTANT - If you are upgrading from a version earlier than 19-12-2007"
+ ewarn "(earlier than 0.11), please delete the contents of your ~/.synce directory"
+ ewarn "including the partnerships subdirectory, but KEEP config.xml. Then recreate"
+ ewarn "your partnerships. Please see the CHANGELOG for more info"
+
+ einfo "Plase copy:"
+ einfo "/usr/share/${PN}/config.xml"
+ einfo "to"
+ einfo "~/.synce/ directory"
+ einfo "Change it to fit your needs"
+}
diff --git a/app-pda/synce-sync-engine/synce-sync-engine-0.12.ebuild b/app-pda/synce-sync-engine/synce-sync-engine-0.12.ebuild
new file mode 100644
index 000000000000..dfcb58a9af32
--- /dev/null
+++ b/app-pda/synce-sync-engine/synce-sync-engine-0.12.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/synce-sync-engine/synce-sync-engine-0.12.ebuild,v 1.1 2008/11/13 16:31:01 mescalinum Exp $
+
+inherit eutils distutils
+
+DESCRIPTION="SynCE - Synchronization engine"
+HOMEPAGE="http://sourceforge.net/projects/synce/"
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+DEPEND="dev-python/setuptools"
+RDEPEND="dev-python/pygobject
+ dev-python/dbus-python
+ >=app-pda/libopensync-plugin-python-0.22
+ dev-libs/libxml2
+ dev-libs/libxslt
+ dev-python/pyxml
+ ~app-pda/synce-librra-0.12
+ ~app-pda/synce-librtfcomp-1.1"
+
+SRC_URI="mirror://sourceforge/synce/sync-engine-${PV}.tar.gz"
+S=${WORKDIR}/sync-engine-${PV}
+
+src_compile() {
+ distutils_src_compile
+}
+
+src_install() {
+ DOCS="CHANGELOG COPYING"
+
+ insinto /usr/share/${PN}/
+ doins config/syncengine.conf.xml
+
+ insinto /usr/share/dbus-1/services/
+ doins config/org.synce.SyncEngine.service
+
+ distutils_src_install
+
+ # TODO - move this to separate ebuilds.
+ if has_version '>=app-pda/libopensync-0.30'; then
+ insinto /usr/lib/opensync-1.0/python-plugins
+ newins plugins/synce-opensync-plugin-3x.py synce-opensync-plugin.py
+ else
+ insinto /usr/lib/opensync/python-plugins
+ newins plugins/synce-opensync-plugin-2x.py synce-opensync-plugin.py
+ fi
+}
+
+pkg_postinst() {
+ ewarn ""
+ ewarn "IMPORTANT - If you are upgrading from a version earlier than 19-12-2007"
+ ewarn "(earlier than 0.11), please delete the contents of your ~/.synce directory"
+ ewarn "including the partnerships subdirectory, but KEEP config.xml. Then recreate"
+ ewarn "your partnerships. Please see the CHANGELOG for more info."
+ ewarn ""
+ ewarn "config.xml has been renamed to syncengine.conf.xml"
+ ewarn ""
+
+ einfo "A default configuration file has been installed into"
+ einfo "/usr/share/${PN}/syncengine.conf.xml The default search path for this file"
+ einfo "is /etc/ then ~/.synce/ You may customise it by copying it to either of"
+ einfo "those locations. Note you will have to manually migrate your old config.xml"
+}