All of lore.kernel.org
 help / color / mirror / Atom feed
* unnecessary dependencies?
@ 2011-08-01  6:58 Steffen Sledz
  2011-08-01  7:12 ` Koen Kooi
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Steffen Sledz @ 2011-08-01  6:58 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

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

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: unnecessary dependencies?
  2011-08-01  6:58 unnecessary dependencies? Steffen Sledz
@ 2011-08-01  7:12 ` Koen Kooi
  2011-08-01  8:35 ` Frans Meulenbroeks
  2011-08-01  9:00 ` Phil Blundell
  2 siblings, 0 replies; 9+ messages in thread
From: Koen Kooi @ 2011-08-01  7:12 UTC (permalink / raw)
  To: openembedded-devel

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

Op 01-08-11 08:58, Steffen Sledz schreef:
> 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-----




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: unnecessary dependencies?
  2011-08-01  6:58 unnecessary dependencies? Steffen Sledz
  2011-08-01  7:12 ` Koen Kooi
@ 2011-08-01  8:35 ` Frans Meulenbroeks
  2011-08-01  9:19   ` Steffen Sledz
  2011-08-01  9:00 ` Phil Blundell
  2 siblings, 1 reply; 9+ messages in thread
From: Frans Meulenbroeks @ 2011-08-01  8:35 UTC (permalink / raw)
  To: openembedded-devel

2011/8/1 Steffen Sledz <sledz@dresearch-fe.de>

> 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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: unnecessary dependencies?
  2011-08-01  6:58 unnecessary dependencies? Steffen Sledz
  2011-08-01  7:12 ` Koen Kooi
  2011-08-01  8:35 ` Frans Meulenbroeks
@ 2011-08-01  9:00 ` Phil Blundell
  2011-08-01  9:21   ` Steffen Sledz
  2 siblings, 1 reply; 9+ messages in thread
From: Phil Blundell @ 2011-08-01  9:00 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

On Mon, 2011-08-01 at 08:58 +0200, Steffen Sledz wrote:
> 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.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: unnecessary dependencies?
  2011-08-01  8:35 ` Frans Meulenbroeks
@ 2011-08-01  9:19   ` Steffen Sledz
  2011-08-01  9:22     ` Phil Blundell
  0 siblings, 1 reply; 9+ messages in thread
From: Steffen Sledz @ 2011-08-01  9:19 UTC (permalink / raw)
  To: openembedded-devel

On 01.08.2011 10:35, Frans Meulenbroeks wrote:
> 2011/8/1 Steffen Sledz <sledz@dresearch-fe.de>
> 
>> 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).

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

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: unnecessary dependencies?
  2011-08-01  9:00 ` Phil Blundell
@ 2011-08-01  9:21   ` Steffen Sledz
  2011-08-01  9:28     ` Koen Kooi
  2011-08-01  9:29     ` Phil Blundell
  0 siblings, 2 replies; 9+ messages in thread
From: Steffen Sledz @ 2011-08-01  9:21 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Koen Kooi

On 01.08.2011 11:00, Phil Blundell wrote:
> On Mon, 2011-08-01 at 08:58 +0200, Steffen Sledz wrote:
>> 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.

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: unnecessary dependencies?
  2011-08-01  9:19   ` Steffen Sledz
@ 2011-08-01  9:22     ` Phil Blundell
  0 siblings, 0 replies; 9+ messages in thread
From: Phil Blundell @ 2011-08-01  9:22 UTC (permalink / raw)
  To: openembedded-devel

On Mon, 2011-08-01 at 11:19 +0200, Steffen Sledz wrote:
> 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.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: unnecessary dependencies?
  2011-08-01  9:21   ` Steffen Sledz
@ 2011-08-01  9:28     ` Koen Kooi
  2011-08-01  9:29     ` Phil Blundell
  1 sibling, 0 replies; 9+ messages in thread
From: Koen Kooi @ 2011-08-01  9:28 UTC (permalink / raw)
  To: openembedded-devel

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

Op 01-08-11 11:21, Steffen Sledz schreef:
> On 01.08.2011 11:00, Phil Blundell wrote:
>> On Mon, 2011-08-01 at 08:58 +0200, Steffen Sledz wrote:
>>> 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-----




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: unnecessary dependencies?
  2011-08-01  9:21   ` Steffen Sledz
  2011-08-01  9:28     ` Koen Kooi
@ 2011-08-01  9:29     ` Phil Blundell
  1 sibling, 0 replies; 9+ messages in thread
From: Phil Blundell @ 2011-08-01  9:29 UTC (permalink / raw)
  To: Steffen Sledz; +Cc: Koen Kooi, openembedded-devel

On Mon, 2011-08-01 at 11:21 +0200, Steffen Sledz wrote:
> On 01.08.2011 11:00, Phil Blundell wrote:
> > On Mon, 2011-08-01 at 08:58 +0200, Steffen Sledz wrote:
> >> 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.

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.





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-08-01  9:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-01  6:58 unnecessary dependencies? Steffen Sledz
2011-08-01  7:12 ` Koen Kooi
2011-08-01  8:35 ` Frans Meulenbroeks
2011-08-01  9:19   ` Steffen Sledz
2011-08-01  9:22     ` Phil Blundell
2011-08-01  9:00 ` Phil Blundell
2011-08-01  9:21   ` Steffen Sledz
2011-08-01  9:28     ` Koen Kooi
2011-08-01  9:29     ` Phil Blundell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.