Package: pidgin
Version: 2.4.1-1
Severity: minor
Tags: patch

Hi,
The finch binary package currently depends on libx11-6 which is a bit strange
for a console application. This is because of the plugins gntclipboard/gntgf and
their .so: /usr/lib/finch/gntclipboard.so and /usr/lib/finch/gntgf.so.
Finch works correctly even without libx11, so the solution would be to move that
dependency to Suggests:.

Find attached the patch that was uploaded to Ubuntu (fixing bug #195718 [1]),
which just adds the necessary dh_shlibdeps arguments in debian/rules and the
${shlibs:Suggests} substvar in debian/control.

Changelog:
  * Moved finch's libx11-6 dependency to Suggests:
     - debian/rules: added necessary arguments to dh_shlibdeps
     - debian/control: added Suggests: ${shlibs:Suggests}

[1] https://launchpad.net/bugs/195718

-- 
Adrien Cunin aka Adri2000
diff -u pidgin-2.4.0/debian/rules pidgin-2.4.0/debian/rules
--- pidgin-2.4.0/debian/rules
+++ pidgin-2.4.0/debian/rules
@@ -26,6 +26,7 @@
 
 # finch package
 DEB_DH_MAKESHLIBS_ARGS_finch := -V -X/usr/lib/finch
+DEB_DH_SHLIBDEPS_ARGS_finch := -X/usr/lib/finch/gntclipboard.so -X/usr/lib/finch/gntgf.so -- -dSuggests debian/finch/usr/lib/finch/gntclipboard.so debian/finch/usr/lib/finch/gntgf.so -dDepends
 
 # libpurple package
 DEB_DH_MAKESHLIBS_ARGS_libpurple0 := -V "libpurple0 (>= $(major).0)" -X/usr/lib/purple-2
diff -u pidgin-2.4.0/debian/control pidgin-2.4.0/debian/control
--- pidgin-2.4.0/debian/control
+++ pidgin-2.4.0/debian/control
@@ -102,6 +102,7 @@
 Recommends: gstreamer0.10-plugins-base, gstreamer0.10-plugins-good
 Replaces: gaim (<< 1:2.0.0+beta6-3), pidgin (<< 1:2.1.1-2), pidgin-data (<< 1:2.4.0-1)
 Conflicts: gaim (<< 1:2.0.0+beta6-3), pidgin (<< 1:2.1.1-2), pidgin-data (<< 1:2.4.0-1)
+Suggests: ${shlibs:Suggests}
 Description: text-based multi-protocol instant messaging client
  Finch is a text/console-based, modular instant messaging client capable of
  using AIM/ICQ, Yahoo!, MSN, IRC, Jabber, Napster, Zephyr, Gadu-Gadu, Bonjour,

Attachment: signature.asc
Description: Digital signature

Reply via email to