Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 301465

Summary: dev-python/pysyncml - syncml support for app-office/taskcoach
Product: Gentoo Linux Reporter: Josh Parsons <josh.parsons>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: CONFIRMED ---    
Severity: normal CC: accounts, rossi.f
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard: Was: app-office/taskcoach: syncml support is a pre-compiled shared object only compatible with python 2.5
Package list:
Runtime testing required: ---
Attachments: pysyncml-0.3.ebuild
pysyncml-0.3-setup.patch
funambol-client-sdk-7.1.6.ebuild

Description Josh Parsons 2010-01-19 00:57:26 UTC
taskcoach installs a shared object: 

/usr/lib/python2.6/site-packages/taskcoachlib/bin.in/linux/_pysyncml.so 

This shared object is linked opposite python 2.5, even on systems that do not have that version of python installed. This play havoc with revdep-rebuild, which sees that the object is missing a dependency and tries to recompile taskcoach every time.

Reproducible: Always

Steps to Reproduce:
1. emerge python:2.6
2. emerge -C python:2.5
3. emerge taskcoach
4. revdep-rebuild

Actual Results:  
taskcoach will be rebuilt at step four (and every further time revdep-rebuild is run).

Expected Results:  
no rebuild necessary

taskcoach ebuild contains the following:

        if ! use x86; then
                elog "Removing Funambol support, works only on x86."
                rm -fv taskcoachlib/bin.in/linux/*.so || die
        fi

I suggest that the funambol support be removed unconditionally, as it is useless except on x86 systems with an old version of python installed.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-01-22 18:01:02 UTC
OK, removed the object in 0.78.1 until there's a from-source ebuild to depend on.
Comment 2 Nils Stöckmann 2011-09-11 22:22:12 UTC
Hi!

As I'd like to use the syncML feature of taskcoach:

How about adding a use-flag controlled dependency to pysyncml?

It is availible both as precompiled binaries for different python versions as well as a source tarball from

https://pysyncml.forge.funambol.org/servlets/ProjectDocumentList?folderID=0&expandFolder=0&folderID=184

Regards

Nils
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-09-27 12:37:39 UTC
Reopening, but I don't know when I will have time to look into packaging pysyncml.
Comment 4 Fabio Rossi 2011-12-27 17:41:48 UTC
I managed to package pysyncml to add SyncML support to taskcoach. The point is that pysyncml is not updated against the latest Funambol C++ SDK (requires an old library, i.e. 7.6.1) and still needs fixes for python 3.x.

At the end it works and I was able to sync task with Memtoo service :-)
Comment 5 Fabio Rossi 2011-12-27 17:42:41 UTC
Created attachment 297103 [details]
pysyncml-0.3.ebuild
Comment 6 Fabio Rossi 2011-12-27 17:43:05 UTC
Created attachment 297105 [details, diff]
pysyncml-0.3-setup.patch
Comment 7 Fabio Rossi 2011-12-27 17:43:38 UTC
Created attachment 297107 [details]
funambol-client-sdk-7.1.6.ebuild