Bug 69435

Summary: examples should use TelepathyGLib, not telepathy-python
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: tp-farstreamAssignee: Olivier CrĂȘte <olivier.crete>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Simon McVittie 2013-09-16 18:44:22 UTC
19:42 < smcv> CDeLorme: for your information, 
http://cgit.freedesktop.org/telepathy/telepathy-farstream/tree/examples/python/callhandler.py is a trap - it uses telepathy-python, which is old and not very 
              good
19:42 < CDeLorme> smcv: only seeing "import telepathy*" not the glib library, 
                  does farstream use the older telepathy libraries?
19:42  * smcv opens a bug
Comment 1 Simon McVittie 2013-09-16 18:48:59 UTC
Also,

> pygst.require("0.10")

Also, callui.py should use Tp.AccountChannelRequest, or just be deleted: you can use examples/client/python/dialler.py from telepathy-glib instead.
Comment 2 Olivier CrĂȘte 2013-09-27 07:00:39 UTC
Here is a branch with old pygtk bindings replaced with pygi http://cgit.collabora.com/git/user/tester/telepathy-farstream.git/log/?h=pygi

Only tp-python needs to be replaced now
Comment 3 Guillaume Desmottes 2013-09-27 07:23:40 UTC
Looks good.
Comment 4 Simon McVittie 2014-01-13 11:57:28 UTC
(In reply to comment #2)

> Only tp-python needs to be replaced now

"Only"...

I think we'll probably drop these in the 1.0 branch, as per Olivier's comment <https://bugs.freedesktop.org/show_bug.cgi?id=73409#c12>:

> If the python examples no longer work and you don't intend to
> port them, then feel free to delete them.
Comment 5 GitLab Migration User 2019-12-03 19:16:37 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-farstream/issues/3.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.