Opened 3 years ago

Last modified 17 months ago

#16992 new patch

Port libpurple Python scripts to pydbus and Python 2+3

Reported by: lew21 Owned by:
Milestone: Patches Needing Review Component: libpurple
Version: 2.10.12 Keywords:
Cc:

Description

All the scripts are currently using the "dbus-python" package. dbus-python is essentialy dead, has a incorrect API ("For compatibility reasons, its API involves a lot of type-guessing (despite "explicit is better than implicit" and "resist the temptation to guess").") and is based on unmantained libdbus-glib library.

pydbus is a modern, pythonic D-Bus library built on top of PyGI and GDBus: https://github.com/LEW21/pydbus

Also, most of the scripts aren't currently supporting Python 3. This patch makes them support both Python versions at the same time.

Attachments (1)

libpurple-pydbus.patch (10.8 KB) - added by lew21 3 years ago.

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by lew21

comment:1 Changed 3 years ago by Robby

  • Milestone set to Patches Needing Review

comment:2 Changed 17 months ago by strangeways

Applied the patch to the current version of the 2.x branch : https://bitbucket.org/strangeways/main/branch/trac-16992 .

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!