[california/wip/740088-invite] xdg-utils package requirement



commit f7adcc0933ae82ad3533fdda66c031fa296d6c03
Author: Jim Nelson <jim yorba org>
Date:   Thu Nov 20 12:24:14 2014 -0800

    xdg-utils package requirement

 configure.ac   |    4 ++++
 debian/control |    3 ++-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4b1223d..2d9c27d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,6 +64,10 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <langinfo.h>]],
 AC_MSG_RESULT($california_ok)
 AM_CONDITIONAL(HAVE__NL_TIME_FIRST_WEEKDAY, test "$california_ok" = "yes")
 
+# xdg-utils (specifically, xdg-email)
+AC_CHECK_PROG([XDG_EMAIL], [xdg-email], [yes], [no])
+AS_IF([test "x$XDG_EMAIL" != xyes], [AC_MSG_ERROR([xdg-email required. Please install xdg-utils package.])])
+
 #
 # configure switches
 #
diff --git a/debian/control b/debian/control
index e4fd93f..6d700dc 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,8 @@ Build-Depends: debhelper (>= 8),
  libgoa-1.0-dev (>= 3.8.3),
  gnome-common,
  libgirepository1.0-dev,
- yelp-tools
+ yelp-tools,
+ xdg-utils
 Standards-Version: 3.8.3
 Homepage: https://wiki.gnome.org/Apps/California
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]