Hi,

Attached are some preliminary ebuilds for 0.11 for your perusal and
inclusion!  They're not all here, just some main (IMHO) ones:

synce-librapi2-0.11.ebuild
synce-gnome-0.11.ebuild
synce-libsynce-0.11.ebuild
synce-librra-0.11.ebuild
synce-sync-engine-0.11.ebuild
synce-gnomevfs-0.11.ebuild
synce-odccm-0.11.ebuild

the others I may get to soon...

Some questions arose though, they're not all gentoo specific:

general:
      * do various packages still have the dependency on check?  I
        couldn't find check.h or libcheck anywhere in the source for
        librapi2 for example.
      * (gentoo) should librapi2, libsynce, etc go into app-pda or
        dev-libs?  It's been in app-pda in the past, but maybe dev-libs
        is more appropriate?
      * (gentoo) why are packages prefixed with synce- (synce-librapi,
        synce-libsynce)?  Why not just the packaged name as per the
        sourceforge download?

odccm
      * why is there a dbus dependency in 0.10.0-r1 but not in 9999?

librra
      * (Gentoo) how do I handle the name change from rra to librra?
        For now I've just ! synce-rra in DEPEND.

thanks,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

To every Ph.D. there is an equal and opposite Ph.D.
                -- B. Duggan
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="SynCE - RAPI communication library"
HOMEPAGE="http://sourceforge.net/projects/synce/";
LICENSE="MIT"

SLOT="0"
KEYWORDS="~*"
IUSE=""
DEPEND="dev-lang/python
                dev-python/pyrex
                >=dev-libs/check-0.8.2
                >=app-pda/synce-libsynce-0.11"

SRC_URI="mirror://sourceforge/synce/librapi2-${PV}.tar.gz"
S="${WORKDIR}/librapi2-${PV}"

src_compile() {
        econf || die
        emake || die
}

src_install() {
        make DESTDIR=${D} install || die
        dodoc BUGS README README.contributing README.design TODO ChangeLog
}
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="SynCE - Utility for entering password for password-protected 
devices"
HOMEPAGE="http://sourceforge.net/projects/synce/";
LICENSE="MIT"

SLOT="0"
KEYWORDS="~*"
IUSE=""
DEPEND=">=app-pda/synce-odccm-0.11
                dev-python/dbus-python"

SRC_URI="mirror://sourceforge/synce/${P}.tar.gz"

src_compile() {
        einfo "nothing to compile"
}

src_install() {
        mkdir -p ${D}/usr/bin || die
        chmod 755 ${S}/synce-gnome || die
        cp ${S}/synce-gnome ${D}/usr/bin/synce-gnome || die
}
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="SynCE - common library"
HOMEPAGE="http://sourceforge.net/projects/synce/";
LICENSE="MIT"

SLOT="0"
KEYWORDS="~*"
IUSE=""
DEPEND=">=dev-libs/check-0.8.3.1"

SRC_URI="mirror://sourceforge/synce/libsynce-${PV}.tar.gz"
S="${WORKDIR}/libsynce-${PV}"

src_compile() {
        econf --enable-desktop-integration || die
        emake || die
}

src_install() {
        make DESTDIR=${D} install || die
        dodoc README TODO ChangeLog
}
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="SynCE - RRA protocol library"
HOMEPAGE="http://sourceforge.net/projects/synce/";
LICENSE="MIT"

SLOT="0"
KEYWORDS="~*"
IUSE=""
DEPEND="dev-lang/python
                dev-python/pyrex
                dev-libs/libmimedir
      !app-pda/synce-rra
                >=app-pda/synce-libsynce-0.11
                >=app-pda/synce-librapi2-0.11"


SRC_URI="mirror://sourceforge/synce/librra-${PV}.tar.gz"
S="${WORKDIR}/librra-${PV}"

src_compile() {
        econf || die
        emake || die
}

src_install() {
        make DESTDIR=${D} install || die
   dodoc ChangeLog README TODO
}
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils distutils

DESCRIPTION="SynCE - Synchronization engine"
HOMEPAGE="http://sourceforge.net/projects/synce/";
LICENSE="MIT"

SLOT="0"
KEYWORDS="~*"
IUSE=""
DEPEND="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
                >=app-pda/synce-librra-0.11
                >=app-pda/synce-librtfcomp-1.1
                >=app-pda/synce-pywbxml-0.1"

SRC_URI="mirror://sourceforge/synce/sync-engine-${PV}.tar.gz"
S=${WORKDIR}/sync-engine-${PV}

src_compile() {
        distutils_src_compile
}

src_install() {
        distutils_src_install

        insinto /usr/share/${PN}/
        doins config.xml 
        
        insinto /usr/lib/opensync/python-plugins
        newins opensync-plugin.py synce.py

   dodoc CHANGELOG COPYING
}

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"
}
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="SynCE - Gnome VFS extensions"
HOMEPAGE="http://sourceforge.net/projects/synce/";
LICENSE="MIT"

SLOT="0"
KEYWORDS="~*"
IUSE=""
DEPEND=">=gnome-base/gnome-vfs-2.0
                >=app-pda/synce-libsynce-0.11
                >=app-pda/synce-librapi2-0.11"

SRC_URI="mirror://sourceforge/synce/${P}.tar.gz"

src_compile() {
        econf || die
        emake || die
}

src_install() {
        make DESTDIR=${D} install || die
        dodoc AUTHORS ChangeLog LICENSE NEWS README TODO
}
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="SynCE - odccm connection manager"
HOMEPAGE="http://sourceforge.net/projects/synce/";
LICENSE="MIT"

SLOT="0"
KEYWORDS="~*"
IUSE=""
DEPEND=">=net-libs/gnet-2.0.0
                !app-pda/synce-dccm
                !app-pda/synce-vdccm
                >=app-pda/synce-libsynce-0.11
                >=app-pda/synce-librapi2-0.11"

SRC_URI="mirror://sourceforge/synce/odccm-${PV}.tar.gz"
S="${WORKDIR}/odccm-${PV}"

src_compile() {
        econf || die 
        emake || die
}

src_install() {
        make DESTDIR=${D} install || die

        mkdir -p ${D}/etc/dbus-1/system.d/ || die
        cp src/odccm.conf ${D}/etc/dbus-1/system.d/ || die

        mkdir -p ${D}/etc/init.d || die
        cp ${FILESDIR}/init.odccm ${D}/etc/init.d/odccm || die

        dodoc AUTHORS COPYING INSTALL NEWS README ChangeLog
}
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to