diff options
author | Federico Ferri <mescalinum@gentoo.org> | 2008-11-13 16:34:09 +0000 |
---|---|---|
committer | Federico Ferri <mescalinum@gentoo.org> | 2008-11-13 16:34:09 +0000 |
commit | 6e249c9379c908add0e326039594fe60d0d30eb2 (patch) | |
tree | d00412ea05f6906ddb0f78cb9bd55f43633084ba /app-pda | |
parent | getting synce-0.12 into tree. ebuild coming from synce overlay, reviewed and ... (diff) | |
download | historical-6e249c9379c908add0e326039594fe60d0d30eb2.tar.gz historical-6e249c9379c908add0e326039594fe60d0d30eb2.tar.bz2 historical-6e249c9379c908add0e326039594fe60d0d30eb2.zip |
getting synce-0.12 into tree. ebuild coming from synce overlay, reviewed and tested.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'app-pda')
9 files changed, 233 insertions, 2 deletions
diff --git a/app-pda/libopensync-plugin-synce/ChangeLog b/app-pda/libopensync-plugin-synce/ChangeLog index a77bbf9c2592..5591d96ab58e 100644 --- a/app-pda/libopensync-plugin-synce/ChangeLog +++ b/app-pda/libopensync-plugin-synce/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-pda/libopensync-plugin-synce -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-synce/ChangeLog,v 1.3 2007/02/12 20:51:03 peper Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-synce/ChangeLog,v 1.4 2008/11/13 16:34:09 mescalinum Exp $ + +*libopensync-plugin-synce-0.22 (13 Nov 2008) + + 13 Nov 2008; Federico Ferri <mescalinum@gentoo.org> + +files/libopensync-plugin-synce-0.22-warning.patch, + +libopensync-plugin-synce-0.22.ebuild: + getting synce-0.12 into tree. ebuild coming from synce overlay, reviewed + and tested. 12 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> -libopensync-plugin-synce-0.19.ebuild: diff --git a/app-pda/libopensync-plugin-synce/files/libopensync-plugin-synce-0.22-warning.patch b/app-pda/libopensync-plugin-synce/files/libopensync-plugin-synce-0.22-warning.patch new file mode 100644 index 000000000000..66f0d0019be0 --- /dev/null +++ b/app-pda/libopensync-plugin-synce/files/libopensync-plugin-synce-0.22-warning.patch @@ -0,0 +1,18 @@ +--- libopensync-plugin-synce-0.22/src/Makefile.am 2007-03-27 05:14:24.000000000 -0700 ++++ libopensync-plugin-synce-0.22/src/Makefile.am.new 2008-06-02 22:23:21.000000000 -0700 +@@ -2,7 +2,7 @@ + configdir=@OPENSYNC_CONFIGDIR@ + formatsdir=@OPENSYNC_FORMATSDIR@ + +-AM_CFLAGS = -Wall -Werror @PACKAGE_CFLAGS@ ++AM_CFLAGS = @PACKAGE_CFLAGS@ + + EXTRA_DIST = synce-plugin + +@@ -23,5 +23,5 @@ + noinst_PROGRAMS = ft + + ft_SOURCES= synce_file.c synce_file.h +-ft_CFLAGS = -DTEST_FILE -Wall -Werror @PACKAGE_CFLAGS@ ++ft_CFLAGS = -DTEST_FILE @PACKAGE_CFLAGS@ + ft_LDADD = @PACKAGE_LIBS@ @LIBS@ -lrapi -lsynce -lrra diff --git a/app-pda/libopensync-plugin-synce/libopensync-plugin-synce-0.22.ebuild b/app-pda/libopensync-plugin-synce/libopensync-plugin-synce-0.22.ebuild new file mode 100644 index 000000000000..92828b82c6ba --- /dev/null +++ b/app-pda/libopensync-plugin-synce/libopensync-plugin-synce-0.22.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-synce/libopensync-plugin-synce-0.22.ebuild,v 1.1 2008/11/13 16:34:09 mescalinum Exp $ + +inherit autotools + +DESCRIPTION="OpenSync Synce Plugin" +HOMEPAGE="http://www.opensync.org/" +SRC_URI="http://www.opensync.org/download/releases/0.22/${P}.tar.bz2" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="LGPL-2.1" +IUSE="" + +DEPEND="=app-pda/libopensync-${PV}* + app-pda/synce-librra + dev-libs/libmimedir" + +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + + #patch wall werror + epatch "${FILESDIR}/${P}-warning.patch" + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README +} 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" +} |