Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269570 - [PATCH]net-im/empathy-2.26.1 libnotify hard dep
Summary: [PATCH]net-im/empathy-2.26.1 libnotify hard dep
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-12 16:52 UTC by Romain Perier (RETIRED)
Modified: 2009-05-15 16:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
the patch which solves the problem (empathy-2.26.1-optional-notify-support.patch,7.77 KB, patch)
2009-05-12 16:53 UTC, Romain Perier (RETIRED)
Details | Diff
empathy-2.26.1-configure-notify-option.patch (empathy-2.26.1-configure-notify-option.patch,770 bytes, patch)
2009-05-15 14:44 UTC, Romain Perier (RETIRED)
Details | Diff
empathy-2.26.1-client-notify-support.patch (empathy-2.26.1-client-notify-support.patch,7.91 KB, patch)
2009-05-15 14:44 UTC, Romain Perier (RETIRED)
Details | Diff
the new ebuild including patches, revision bumped (empathy-2.26.1-r1.ebuild,2.56 KB, text/plain)
2009-05-15 14:49 UTC, Romain Perier (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Romain Perier (RETIRED) gentoo-dev 2009-05-12 16:52:21 UTC
Hi,

libnotify is an hard dep for empathy, which can easily disabled by conditionnal compilation in sources, and an enable option in the configure script.
This support should be optional because it's not a critical dependency for the proper functioning of the program (like telepathy for example).

You'll find in attachment a patch which solves the problem.

mrpouet ;)

Reproducible: Always
Comment 1 Romain Perier (RETIRED) gentoo-dev 2009-05-12 16:53:01 UTC
Created attachment 191048 [details, diff]
the patch which solves the problem
Comment 2 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-05-14 11:48:21 UTC
Upstream bug? Won't be added unless we know upstream's stand on this.
Comment 3 Romain Perier (RETIRED) gentoo-dev 2009-05-15 14:44:17 UTC
Created attachment 191383 [details, diff]
empathy-2.26.1-configure-notify-option.patch
Comment 4 Romain Perier (RETIRED) gentoo-dev 2009-05-15 14:44:39 UTC
Created attachment 191385 [details, diff]
empathy-2.26.1-client-notify-support.patch
Comment 5 Romain Perier (RETIRED) gentoo-dev 2009-05-15 14:45:56 UTC
upstream opened see http://bugzilla.gnome.org/show_bug.cgi?id=582776, and my patch is now more "atomic", one feature per patch, news patches are attached.
Comment 6 Romain Perier (RETIRED) gentoo-dev 2009-05-15 14:49:07 UTC
Created attachment 191387 [details]
the new ebuild including patches, revision bumped
Comment 7 Mart Raudsepp gentoo-dev 2009-05-15 16:06:12 UTC
If upstream isn't doing it, we shouldn't either. We already have hard deps for libnotify and it's a small thing. If you want to globally not have notification messages, you can uninstall notification-daemon that catches the D-Bus messages and actually shows the popups or something.

I can sympathize with upstream, as in the current form it makes lots of places have hard to maintain ifdef's (when code changes around those areas - what variable definition needs to go inside the #ifdef block, which not, etc etc).

If the patch would be in a way that would factor it so that the #ifdef stuff is located in one place (like the kernel code tries to do for example, does function calls always, but if the support isn't compiled in the function called is empty and hopefully gets optimized out), then it might be more acceptable. However I don't see it necessary to do this, libnotify ain't a bad thing.