From 57afd85c003190daf853089a45acd03ffad8e63d Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Sun, 13 Jun 2010 23:53:36 +0200 Subject: Add missing file to Makefile.am. Fix detection of GUI dependencies in configure.ac. --- configure.ac | 12 ++++++++---- po/cs.po | 2 +- po/da.po | 2 +- po/de.po | 2 +- po/es.po | 2 +- po/fi.po | 2 +- po/it.po | 2 +- po/pt_BR.po | 2 +- po/redshift.pot | 4 ++-- po/ru.po | 2 +- src/Makefile.am | 2 +- 11 files changed, 19 insertions(+), 15 deletions(-) diff --git a/configure.ac b/configure.ac index 06f148f..a608e9a 100644 --- a/configure.ac +++ b/configure.ac @@ -141,22 +141,26 @@ AC_ARG_ENABLE([gui], [AC_HELP_STRING([--enable-gui], [enable_gui=$enableval],[enable_gui=maybe]) # Statusicon GUI -AS_IF([test "x$enable_gui" = xstatusicon -o "x$enable_gui" = maybe], [ - AS_IF([test $have_python != yes], [ +AS_IF([test "x$enable_gui" = xstatusicon -o "x$enable_gui" = xmaybe], [ + AS_IF([test "x$have_python" != xyes], [ AS_IF([test "x$enable_gui" = xstatusicon], [ AC_MSG_ERROR([status icon script requires Python 2.6]) ]) enable_gui=maybe + ], [ + enable_gui=statusicon ]) ]) # Appindicator GUI -AS_IF([test "x$enable_gui" = xappindicator -o "x$enable_gui" = maybe], [ - AS_IF([test $have_python != yes], [ +AS_IF([test "x$enable_gui" = xappindicator -o "x$enable_gui" = xmaybe], [ + AS_IF([test "x$have_python" != xyes], [ AS_IF([test "x$enable_gui" = xappindicator], [ AC_MSG_ERROR([application indicator script requires Python 2.6]) ]) enable_gui=maybe + ], [ + enable_gui=appindicator ]) ]) diff --git a/po/cs.po b/po/cs.po index e94a104..b04f49f 100644 --- a/po/cs.po +++ b/po/cs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: redshift\n" "Report-Msgid-Bugs-To: https://bugs.launchpad.net/redshift\n" -"POT-Creation-Date: 2010-06-13 21:58+0200\n" +"POT-Creation-Date: 2010-06-13 22:39+0200\n" "PO-Revision-Date: 2010-06-02 14:15+0000\n" "Last-Translator: clever_fox \n" "Language-Team: Czech \n" diff --git a/po/da.po b/po/da.po index 2dd0bec..6c37800 100644 --- a/po/da.po +++ b/po/da.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: redshift\n" "Report-Msgid-Bugs-To: https://bugs.launchpad.net/redshift\n" -"POT-Creation-Date: 2010-06-13 21:58+0200\n" +"POT-Creation-Date: 2010-06-13 22:39+0200\n" "PO-Revision-Date: 2010-06-10 18:39+0000\n" "Last-Translator: Jon Lund Steffensen \n" "Language-Team: Danish \n" diff --git a/po/de.po b/po/de.po index a8a0d5e..3c1a2d8 100644 --- a/po/de.po +++ b/po/de.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: redshift\n" "Report-Msgid-Bugs-To: https://bugs.launchpad.net/redshift\n" -"POT-Creation-Date: 2010-06-13 21:58+0200\n" +"POT-Creation-Date: 2010-06-13 22:39+0200\n" "PO-Revision-Date: 2010-06-12 21:07+0000\n" "Last-Translator: Jan-Christoph Borchardt \n" "Language-Team: German \n" diff --git a/po/es.po b/po/es.po index 3931456..92926ca 100644 --- a/po/es.po +++ b/po/es.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: redshift\n" "Report-Msgid-Bugs-To: https://bugs.launchpad.net/redshift\n" -"POT-Creation-Date: 2010-06-13 21:58+0200\n" +"POT-Creation-Date: 2010-06-13 22:39+0200\n" "PO-Revision-Date: 2010-05-27 22:10+0000\n" "Last-Translator: Fernando Ossandon \n" "Language-Team: Spanish \n" diff --git a/po/fi.po b/po/fi.po index 0bdedb4..b880029 100644 --- a/po/fi.po +++ b/po/fi.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: redshift\n" "Report-Msgid-Bugs-To: https://bugs.launchpad.net/redshift\n" -"POT-Creation-Date: 2010-06-13 21:58+0200\n" +"POT-Creation-Date: 2010-06-13 22:39+0200\n" "PO-Revision-Date: 2010-05-26 15:37+0000\n" "Last-Translator: Ilari Oras \n" "Language-Team: Finnish \n" diff --git a/po/it.po b/po/it.po index 32db3e6..c492e2e 100644 --- a/po/it.po +++ b/po/it.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: redshift\n" "Report-Msgid-Bugs-To: https://bugs.launchpad.net/redshift\n" -"POT-Creation-Date: 2010-06-13 21:58+0200\n" +"POT-Creation-Date: 2010-06-13 22:39+0200\n" "PO-Revision-Date: 2010-06-11 08:29+0000\n" "Last-Translator: Andrea Amoroso \n" "Language-Team: Italian \n" diff --git a/po/pt_BR.po b/po/pt_BR.po index 2c62be9..e176013 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: redshift\n" "Report-Msgid-Bugs-To: https://bugs.launchpad.net/redshift\n" -"POT-Creation-Date: 2010-06-13 21:58+0200\n" +"POT-Creation-Date: 2010-06-13 22:39+0200\n" "PO-Revision-Date: 2010-06-03 08:12+0000\n" "Last-Translator: Gustavo Guidorizzi \n" "Language-Team: Brazilian Portuguese \n" diff --git a/po/redshift.pot b/po/redshift.pot index 505d425..c05be96 100644 --- a/po/redshift.pot +++ b/po/redshift.pot @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: redshift 1.3\n" +"Project-Id-Version: redshift 1.4\n" "Report-Msgid-Bugs-To: https://bugs.launchpad.net/redshift\n" -"POT-Creation-Date: 2010-06-13 21:58+0200\n" +"POT-Creation-Date: 2010-06-13 22:39+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/po/ru.po b/po/ru.po index ac4a351..61cfb5c 100644 --- a/po/ru.po +++ b/po/ru.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: redshift\n" "Report-Msgid-Bugs-To: https://bugs.launchpad.net/redshift\n" -"POT-Creation-Date: 2010-06-13 21:58+0200\n" +"POT-Creation-Date: 2010-06-13 22:39+0200\n" "PO-Revision-Date: 2010-06-10 12:48+0000\n" "Last-Translator: Gregory Petrosyan \n" "Language-Team: Russian \n" diff --git a/src/Makefile.am b/src/Makefile.am index c07aea3..3d872ed 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -9,7 +9,7 @@ INCLUDES = -DLOCALEDIR=\"$(localedir)\" bin_PROGRAMS = redshift redshift_SOURCES = \ - redshift.c \ + redshift.c redshift.h \ colorramp.c colorramp.h \ solar.c solar.h \ systemtime.c systemtime.h \ -- cgit v1.2.3-70-g09d2