Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-office/rubrica/files: rubrica-2.1.6-libnotify-0.7.patch
Date: Sun, 30 Jan 2011 18:24:58
Message-Id: 20110130182449.3B44620057@flycatcher.gentoo.org
1 ssuominen 11/01/30 18:24:49
2
3 Added: rubrica-2.1.6-libnotify-0.7.patch
4 Log:
5 Fix building with x11-libs/libnotify >= 0.7. Remove useless .la files.
6
7 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 app-office/rubrica/files/rubrica-2.1.6-libnotify-0.7.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/rubrica/files/rubrica-2.1.6-libnotify-0.7.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-office/rubrica/files/rubrica-2.1.6-libnotify-0.7.patch?rev=1.1&content-type=text/plain
14
15 Index: rubrica-2.1.6-libnotify-0.7.patch
16 ===================================================================
17 --- src/app.c
18 +++ src/app.c
19 @@ -1338,8 +1338,15 @@
20 self->priv->statusbar = rubrica_statusbar_new();
21
22 self->priv->cutted = NULL;
23 - self->priv->notify = notify_notification_new("Rubrica Addressbook",
24 - NULL, "info", NULL);
25 +#ifdef NOTIFY_CHECK_VERSION
26 +#if NOTIFY_CHECK_VERSION (0, 7, 0)
27 + self->priv->notify = notify_notification_new("Rubrica Addressbook", NULL, "info");
28 +#else
29 + self->priv->notify = notify_notification_new("Rubrica Addressbook", NULL, "info", NULL);
30 +#endif
31 +#else
32 + self->priv->notify = notify_notification_new("Rubrica Addressbook", NULL, "info", NULL);
33 +#endif
34 self->priv->active_plugin = g_strdup("autodetect");
35 self->priv->manager = r_lib_get_manager();
36 self->priv->print_settings = NULL;