sabayon r1083 - trunk
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: sabayon r1083 - trunk
- Date: Wed, 11 Mar 2009 19:04:36 +0000 (UTC)
Author: federico
Date: Wed Mar 11 19:04:36 2009
New Revision: 1083
URL: http://svn.gnome.org/viewvc/sabayon?rev=1083&view=rev
Log:
Check for xdg.DesktopEntry at configure time
Signed-off-by: Federico Mena Quintero <federico novell com>
Modified:
trunk/ChangeLog
trunk/configure.ac
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Wed Mar 11 19:04:36 2009
@@ -28,6 +28,17 @@
# Detect if we can build Python bindings (need python and python headers)
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR([Can't locate python headers])])
+# Strictly speaking, xdg.DesktopEntry should be a run-time check. But
+# distros may not be aware that Sabayon *requires* xdg.DesktopEntry to run,
+# so we'll check for it at "compilation" time.
+AC_MSG_CHECKING(whether the xdg.DesktopEntry module for Python is available)
+if [ ! python -c "import xdg.DesktopEntry" ]
+then
+ AC_MSG_FAILURE([Please install the python-xdg or pyxdg package.])
+else
+ AC_MSG_RESULT(yes)
+fi
+
# Check for GDK/X11 and PyGObject
PKG_CHECK_MODULES(XLIB_MODULE, gdk-x11-2.0 pygobject-2.0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]