Change python dependency to 2.6.
This commit is contained in:
@@ -79,4 +79,4 @@ Start the program gtk-redshift instead of redshift, with the same
|
||||
arguments as you would pass to redshift. This will create an icon for
|
||||
Redshift in the system tray. The icon will allow you to toggle
|
||||
Redshift on and off. Thanks goes to the Tango Desktop Project for the
|
||||
icon. gtk-redshift requires at least Python 2.4 and PyGTK 2.12.
|
||||
icon. gtk-redshift requires at least Python 2.6 and PyGTK 2.12.
|
||||
|
||||
+2
-2
@@ -21,7 +21,7 @@ PKG_CHECK_MODULES([XCB_RANDR], [xcb-randr],
|
||||
[have_xcb_randr=yes], [have_xcb_randr=no])
|
||||
|
||||
# Check for Python
|
||||
AM_PATH_PYTHON([2.4], [have_python=yes], [have_python=no])
|
||||
AM_PATH_PYTHON([2.6], [have_python=yes], [have_python=no])
|
||||
|
||||
# Check RANDR method
|
||||
AC_MSG_CHECKING([whether to enable RANDR method])
|
||||
@@ -83,7 +83,7 @@ AS_IF([test "x$enable_gtk" != xno], [
|
||||
], [
|
||||
AC_MSG_RESULT([missing dependencies])
|
||||
AS_IF([test "x$enable_gtk" = xyes], [
|
||||
AC_MSG_ERROR([status icon script requires Python 2.4])
|
||||
AC_MSG_ERROR([status icon script requires Python 2.6])
|
||||
])
|
||||
enable_gtk=no
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user