[Pkg-telepathy-maintainers] It is a libfarstream packaging bug

Trek trek00 at inbox.ru
Fri Dec 6 08:43:34 UTC 2013


In the effort to reduce the pidgin dependencies, I wrote a patch to
dynamically load libfarstream only if it is installed. I never coded
with GObjects and so only during the testing to finish the patch I
realized that there is no need to modify the code. Only the package
dependencies should be reworked. In fact libpurple depends on
libfarstream (855kB), that depends on the gstreamer plugins (65,5MB),
but they are dynamically loaded only if installed[1] and they are needed
only to make voice and video calls with Gtalk (only voice with finch).

I patched the libfarsteram package and tested it with pidgin on a Gtalk
account. No crash or errors reported and the voice/video calls menu
entries are disabled but visible. The farstream transmitters plugins
are loaded dynamically too, so there is no need to install gssdp,
gupnp, nice and soup libraries if they are not used.

I also patched the pidgin package to remove the gconf dependency, as it
is needed only with Gnome (that installs it) to get the automatic
configuration[2] for audio, video and url-handlers. Also the finch
package uses gconf for audio configuration, while the libpurple package
uses gconf for the proxy one. Finally finch does not require
pidgin-data (25,7MB), but it is used only if installed for sounds,
translations and the /etc/purple/prefs.xml file (that should go instead
in the libpurple package).

The patch attached should fix the bug, reducing by 2/3 the disk space
requirements for pidgin (36,9MB / 10 packages instead of 102,4MB / 78
packages) and by 9/10 for finch (9,1MB / 8 packages instead of
100,3MB / 77 packages). The depends fields are replaced with recommends
or suggests for the optional packages, conforming to the policy manual
rule 7.2. No breakage is excepted because since the 0.7.17 version of
Apt, the recommended packages are installed by default.

There are other packages that depend on libfarstream and that may need
to add the gstreamer plugins in the dependency fields (like empathy and
gajim) according to the changes, but I will provide patches later.

All the patches applies on the wheezy version, but the jessie packages
are affected too.

ciao

References:
1. http://lists.freedesktop.org/archives/farstream-devel/2012-April/000015.html
2. https://developer.pidgin.im/ticket/11191

Patches:
1. nogst: to be applied to the wheezy debian packages i386
2. backend_module: not useful, but included as reference (ver. 2.10.7)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nogst.patch
Type: text/x-patch
Size: 5496 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-telepathy-maintainers/attachments/20131206/0d06f2ac/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: backend_module.patch
Type: text/x-patch
Size: 3923 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-telepathy-maintainers/attachments/20131206/0d06f2ac/attachment-0001.bin>


More information about the Pkg-telepathy-maintainers mailing list