[epiphany] Revert "Remove unused libnotify dependency"
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Revert "Remove unused libnotify dependency"
- Date: Tue, 17 Jan 2017 02:26:02 +0000 (UTC)
commit 082750d1771665b6b3e92a9966815a52bc057e7e
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Mon Jan 16 20:25:37 2017 -0600
Revert "Remove unused libnotify dependency"
This reverts commit 458d1b66d3a853e13328e58fa9d3672e6ea8272c.
Clean build is failing, not sure why....
configure.ac | 1 +
src/Makefile.am | 4 ++++
src/ephy-main.c | 2 ++
3 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index fac0ebe..2ea25c2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,6 +109,7 @@ PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= $GTK_REQUIRED])
PKG_CHECK_MODULES([GTK_UNIX_PRINT], [gtk+-unix-print-3.0 >= $GTK_REQUIRED])
PKG_CHECK_MODULES([ICU_UC], [icu-uc >= 4.6])
PKG_CHECK_MODULES([JSON_GLIB], [json-glib-1.0 >= 1.2.0])
+PKG_CHECK_MODULES([LIBNOTIFY], [libnotify >= 0.5.1])
PKG_CHECK_MODULES([LIBSECRET], [libsecret-1 >= 0.14])
PKG_CHECK_MODULES([LIBSOUP], [libsoup-2.4 >= 2.48.0])
PKG_CHECK_MODULES([LIBXML], [libxml-2.0 >= 2.6.12])
diff --git a/src/Makefile.am b/src/Makefile.am
index 3787dbb..d860d82 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -109,6 +109,7 @@ libephymain_la_CPPFLAGS = \
$(GTK_CFLAGS) \
$(HOGWEED_CFLAGS) \
$(JSON_GLIB_CFLAGS) \
+ $(LIBNOTIFY_CFLAGS) \
$(LIBSECRET_CFLAGS) \
$(LIBSOUP_CFLAGS) \
$(LIBXML_CFLAGS) \
@@ -133,6 +134,7 @@ libephymain_la_LIBADD = \
$(GTK_LIBS) \
$(HOGWEED_LIBS) \
$(JSON_GLIB_LIBS) \
+ $(LIBNOTIFY_LIBS) \
$(LIBSECRET_LIBS) \
$(LIBSOUP_LIBS) \
$(LIBXML_LIBS) \
@@ -208,6 +210,7 @@ epiphany_CPPFLAGS = \
$(GTK_CFLAGS) \
$(HOGWEED_CFLAGS) \
$(JSON_GLIB_CFLAGS) \
+ $(LIBNOTIFY_CFLAGS) \
$(LIBXML_CFLAGS) \
$(NETTLE_CFLAGS) \
$(WEBKIT2GTK_CFLAGS)
@@ -219,6 +222,7 @@ epiphany_LDADD = \
$(GTK_LIBS) \
$(HOGWEED_LIBS) \
$(JSON_GLIB_LIBS) \
+ $(LIBNOTIFY_LIBS) \
$(LIBXML_LIBS) \
$(NETTLE_LIBS) \
$(WEBKIT2GTK_LIBS)
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 106f57c..2d5f843 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -206,6 +206,8 @@ main (int argc,
*/
LIBXML_TEST_VERSION;
+ notify_init (PACKAGE);
+
/* If we're given -remote arguments, translate them */
if (argc >= 2 && strcmp (argv[1], "-remote") == 0) {
const char *opening, *closing;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]