Package: libsoup2.4-1
Version: 2.38.1-2
Severity: wishlist
libsoup actually depends on glib-networking for the SSL/TLS support and,
probably, the automatic proxy configuration. The installed size of
libsoup is 522KB, where glib-networking depends on 8 other packages
with a total installed size of 2183KB.
glib-networking contains three GIOModules, that are shared modules
explicitly linked by libglib with a dlopen, only if they are available.
So they not treated like shared libraries where programs fail to start
if not available.
Also, for the SSL support, libsoup fails nicely if the relative
GIOModule is absent, suggesting the user to install glib-networking:
https://mail.gnome.org/archives/commits-list/2011-February/msg00703.html
Reducing dependencies is particularly useful for embedded systems, like
the GPE Palmtop Environment, where gpe-calendar depends on libsoup.
I patched the control file of libsoup to actually not depends on
glib-networking and all run fine. I tested it with gpe-calendar and it
runs with http urls. If https urls are used it returns the error
suggesting to install glib-networking. In this way I saved 2.2MB and
installed 4.1MB.
This patch should also resolve another bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665468
Ciao
--- libsoup2.4-1/DEBIAN/control 2012-04-17 22:01:54.000000000 +0200
+++ libsoup2.4-1-noglibnet/DEBIAN/control 2013-01-09 05:48:03.546230713 +0100
@@ -5,7 +5,8 @@
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintain...@lists.alioth.debian.org>
Installed-Size: 510
Pre-Depends: multiarch-support
-Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.31.8), libxml2 (>= 2.7.4), zlib1g (>= 1:1.1.4), glib-networking (>= 2.32.0)
+Depends: libc6 (>= 2.4), libglib2.0-0 (>= 2.31.8), libxml2 (>= 2.7.4), zlib1g (>= 1:1.1.4)
+Recommends: glib-networking (>= 2.32.0)
Section: libs
Priority: optional
Multi-Arch: same
@@ -30,3 +31,6 @@
* Basic client-side SOAP and XML-RPC support
.
This package contains the shared library.
+ .
+ glib-networking is required for the SSL support and the automatic proxy
+ detection.