After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 695127 - Add avahi dependency for gtk+
Add avahi dependency for gtk+
Status: RESOLVED OBSOLETE
Product: jhbuild
Classification: Infrastructure
Component: module sets
3.8.x
Other Linux
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2013-03-04 15:17 UTC by Marek Kašík
Modified: 2013-03-13 14:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add avahi dependency for gtk+ (2.31 KB, patch)
2013-03-04 15:17 UTC, Marek Kašík
none Details | Review
add avahi dependency for gtk+ - modified (3.91 KB, patch)
2013-03-04 17:32 UTC, Marek Kašík
none Details | Review

Description Marek Kašík 2013-03-04 15:17:52 UTC
Created attachment 237996 [details] [review]
add avahi dependency for gtk+

Gtk+ needs Avahi for listing printers advertised by CUPS over Avahi. For additional info see https://bugzilla.gnome.org/show_bug.cgi?id=688956.

Attached patch adds this dependency.
Comment 1 Frederic Peters 2013-03-04 16:07:03 UTC
This will create a circular dependency between avahi and gtk+, on given your chance jhbuild will pick one over the other when building modules; I'd suggest changing this dependency into a <suggest>, so the dependency resolution will know it's possible to build gtk+ without avahi support.

Also there's already a avahi module defined in gnome-suites-core-3.8.modules; you don't need to redefine it.
Comment 2 Marek Kašík 2013-03-04 17:32:13 UTC
Created attachment 238022 [details] [review]
add avahi dependency for gtk+ - modified

Hi,

(In reply to comment #1)
> This will create a circular dependency between avahi and gtk+, on given your
> chance jhbuild will pick one over the other when building modules; I'd suggest
> changing this dependency into a <suggest>, so the dependency resolution will
> know it's possible to build gtk+ without avahi support.

I see that Avahi has "--disable-gtk --disable-gtk3" flags among its autogenargs so I removed the gtk+ from avahi's dependencies. This should break the circular dependency (but I'm not skilled in JHBuild, please correct me if I'm wrong).


> Also there's already a avahi module defined in gnome-suites-core-3.8.modules;
> you don't need to redefine it.

I've removed the definition of Avahi from gnome-suites-core-3.8.modules because it includes gnome-suites-core-deps-3.8.modules.

Marek
Comment 3 Marek Kašík 2013-03-13 14:42:04 UTC
Hi,

I've changed those calls to Avahi API to calls to Avahi's DBus API. We don't need to add build dependency on Avahi to Gtk+ now.

Regards

Marek

For additional info see https://bugzilla.gnome.org/show_bug.cgi?id=695715 and https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-8&id=67c08d7c1de8d9fc6dcf8afc37f7c199d24029aa.