Skip to contentSkip to conversation

unnecessary dependencies?

DISCUSSION Steffen Sledz 4 participants 9 messages Aug 1, 2011

lore
Share & tools
lore
#0 lore raw

We are working on an application which requires libgssdp.

libgssdp requires libsoup, libsoup inherits gnome, gnome inherits gtk-icon-cache, gtk-icon-cache rdepends hicolor-icon-theme. So this icon theme (probably a lot more gnome stuff) unnecessarily allocates place in our image (we do not have a GUI). :(

Are these deps really necessary?

Regards,
Steffen

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 01-08-11 08:58, Steffen Sledz schreef:

Quoted 5 lines

We are working on an application which requires libgssdp.

libgssdp requires libsoup, libsoup inherits gnome, gnome inherits gtk-icon-cache, gtk-icon-cache rdepends hicolor-icon-theme. So this icon theme (probably a lot more gnome stuff) unnecessarily allocates place in our image (we do not have a GUI). :(

Are these deps really necessary?

They are if the icon-cache postinsts are added. It looks like the unconditional RDEPENDS_${PN} should be moved inside the do_populate_packages_append code. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFONlHDMkyGM64RGpERAldJAKCnYKZpYRp6nQFWNwqsC/P0B0riNACeIqqu uaCdpPvgVTqMf18n2ObHkJk=
=p6Xj
-----END PGP SIGNATURE-----

#2 lore raw
In reply to Steffen Sledz

2011/8/1 Steffen Sledz <[email protected]>

Quoted 10 lines

We are working on an application which requires libgssdp.

libgssdp requires libsoup, libsoup inherits gnome, gnome inherits gtk-icon-cache, gtk-icon-cache rdepends hicolor-icon-theme. So this icon theme (probably a lot more gnome stuff) unnecessarily allocates place in our image (we do not have a GUI). :(

Are these deps really necessary?

I know this does not answer your question, but if you do not have a GUI maybe libgssdp is not the best choice for your project.
You could consider another upnp library (e.g. libupnp).

And ofc a workaround could be to simply nuke all nonneeded junk at image creation time.

Enjoy!
Frans.

#3 lore raw
Quoted 9 lines · Frans Meulenbroeks

2011/8/1 Steffen Sledz <[email protected]>

Quoted 7 lines

We are working on an application which requires libgssdp.

libgssdp requires libsoup, libsoup inherits gnome, gnome inherits gtk-icon-cache, gtk-icon-cache rdepends hicolor-icon-theme. So this icon theme (probably a lot more gnome stuff) unnecessarily allocates place in our image (we do not have a GUI). :(

Quoted 6 lines
Quoted 3 lines

Are these deps really necessary?

I know this does not answer your question, but if you do not have a GUI maybe libgssdp is not the best choice for your project.
You could consider another upnp library (e.g. libupnp).

libupnp supports UPnP 1.0 only and in addition we need SSDP only (not full UPnP).

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
#4 lore raw
Quoted 1 line · Steffen Sledz

libupnp supports UPnP 1.0 only and in addition we need SSDP only (not full UPnP).

If you only need SSDP then you might be better off just writing it yourself. It's a pretty small protocol.

p.

#5 lore raw
In reply to Steffen Sledz
Quoted 5 lines · Steffen Sledz

We are working on an application which requires libgssdp.

libgssdp requires libsoup, libsoup inherits gnome, gnome inherits gtk-icon-cache, gtk-icon-cache rdepends hicolor-icon-theme. So this icon theme (probably a lot more gnome stuff) unnecessarily allocates place in our image (we do not have a GUI). :(

Are these deps really necessary?

It sounds as though libsoup possibly shouldn't be inheriting gnome. Can you figure out whether gtk-icon-cache is actually doing anything useful in this case?

p.

#6 lore raw
Quoted 10 lines · Phil Blundell
Quoted 5 lines · Steffen Sledz

We are working on an application which requires libgssdp.

libgssdp requires libsoup, libsoup inherits gnome, gnome inherits gtk-icon-cache, gtk-icon-cache rdepends hicolor-icon-theme. So this icon theme (probably a lot more gnome stuff) unnecessarily allocates place in our image (we do not have a GUI). :(

Are these deps really necessary?

It sounds as though libsoup possibly shouldn't be inheriting gnome. Can you figure out whether gtk-icon-cache is actually doing anything useful in this case?

"libsoup is an HTTP client/server library" only. I can't really see any need for GUI componenets.

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
#7 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 01-08-11 11:21, Steffen Sledz schreef:

Quoted 11 lines · Phil Blundell
Quoted 8 lines · Steffen Sledz
Quoted 5 lines

We are working on an application which requires libgssdp.

libgssdp requires libsoup, libsoup inherits gnome, gnome inherits gtk-icon-cache, gtk-icon-cache rdepends hicolor-icon-theme. So this icon theme (probably a lot more gnome stuff) unnecessarily allocates place in our image (we do not have a GUI). :(

Are these deps really necessary?

It sounds as though libsoup possibly shouldn't be inheriting gnome. Can you figure out whether gtk-icon-cache is actually doing anything useful in this case?

"libsoup is an HTTP client/server library" only. I can't really see any need for GUI componenets.

And if you look at the source, you'll see it links against libgnome-keyring, libgconf and and other GNOME, but non-GUI components. Libsoup is heavy, we all know that. So please send a patch for gtk-icon-cache to only conditionally add the RDEPENDS as I said earlier in this thread. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFONnGnMkyGM64RGpERAjPPAJ4wZYUAnfB4vyy8GF28FrkTvseHhgCfbhw4 iTv4QcQI2EnqO/pLou5itmk=
=rvYI
-----END PGP SIGNATURE-----

#8 lore raw
In reply to Steffen Sledz
Quoted 6 lines · Steffen Sledz
Quoted 5 lines · Phil Blundell
Quoted 4 lines · Steffen Sledz

We are working on an application which requires libgssdp.

libgssdp requires libsoup, libsoup inherits gnome, gnome inherits gtk-icon-cache, gtk-icon-cache rdepends hicolor-icon-theme. So this icon theme (probably a lot more gnome stuff) unnecessarily allocates place in our image (we do not have a GUI). :(

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Are these deps really necessary?

It sounds as though libsoup possibly shouldn't be inheriting gnome. Can you figure out whether gtk-icon-cache is actually doing anything useful in this case?

"libsoup is an HTTP client/server library" only. I can't really see any need for GUI componenets.

Indeed, though the description alone probably isn't a strong basis on which to make that decision. Does it actually install any icons? If no, it doesn't need gtk-icon-cache.

p.